export type CreateRealUserType = {
  gender: string;
  fatherName: string;
  nationality: string;
  address: string;
  postalCode: string;
  cityId: string;
};

export type CreateLegalUserType = {
  economicCode: string;
  companyRegisteredName: string;
  registrationId: string;
  nationalId: string;
  number: string;
  postalCode: string;
  address: string;
  cityId: string;
};

export type ProvinesItemType = {
  id: string;
  name: string;
};

export type FinancialDataType = {
  user: {
    id: string;
    createdAt: string;
    updatedAt: string;
    email: string | null;
    phone: string;
    userName: string | null;
    firstName: string;
    lastName: string;
    birthDate: string;
    nationalCode: string;
    profilePic: string;
    emailVerified: boolean;
    userAddress: string;
    postalCode: string;
    realUser: CreateRealUserType | null;
    legalUser: CreateLegalUserType | null;
    address: {
      address: string;
      postalCode: string;
      city: {
        id: number;
        name: string;
        province: {
          id: number;
          name: string;
        };
      };
    } | null;
  };
};
