export interface ETradeAddressInfo {
  Region: string;
  Zone: string;
  Woreda: string;
  Kebele: string;
  HouseNo: string;
  MobilePhone: string;
  RegularPhone: string;
}

export interface ETradeAssociateInfo {
  Position: string | null;
  ManagerName: string;
  ManagerNameEng: string;
  Photo: string | null;
  MobilePhone: string | null;
  RegularPhone: string | null;
}

export interface ETradeBusinessInfo {
  MainGuid: string;
  OwnerTIN: string;
  DateRegistered: string;
  TradeName: string;
  LicenceNumber: string;
  Status: number;
  StatusDescription: string;
  Capital: number;
  AssociateShortInfos: ETradeAssociateInfo[];
  AddressInfo: ETradeAddressInfo;
  RenewedTo: string;
  RenewedToDateString: string;
  RenewalDate: string;
  RenewedFrom: string;
  CancellationDate: string | null;
}

export interface ETradeCompanyInfo {
  Tin: string;
  LegalCondtion: string;
  RegNo: string;
  RegDate: string;
  BusinessName: string;
  BusinessNameAmh: string;
  PaidUpCapital: number;
  AssociateShortInfos: ETradeAssociateInfo[];
  Businesses: Array<{
    MainGuid: string;
    OwnerTIN: string;
    DateRegistered: string;
    TradeNameAmh: string;
    TradesName: string;
    LicenceNumber: string;
    RenewalDate: string;
    RenewedFrom: string;
    RenewedTo: string;
    BusinessLicensingGroupMain: string | null;
    SubGroups: string | null;
  }>;
}

export interface CompanyRegistrationData {
  licenceNumber: string;
  statusDescription: string;
  dateRegistered: string;
  renewedFrom: string;
  renewalDate: string;
  renewedTo: string;
  region: string;
  zone: string;
  woreda: string;
  kebele: string;
  houseNo: string;
  mobilePhone: string;
  regularPhone: string;
  managerName: string;
  managerEmail?: string;
  managerPhone: string;
}
