import { ApiResponse } from './api-response.interface';

export interface BankAccount {
  id: number;
  tenant_code: string;
  titular: string;
  entidad: string;
  alias: string;
  cvu: string;
}

export interface Tenant {
  id: number;
  codigo: string;
  nombre: string;
  dominio: string;
  primary_color: string;
  secondary_color: string;
  danger_color: string;
  success_color: string;
  header_bg_color: string;
  footer_bg_color: string;
  header_logo: string;
  footer_logo: string;
  selected_bank_account_id?: number | null;
  selected_bank_account?: BankAccount | null;
}

export type TenantBootstrapResponse = ApiResponse<Tenant>;

