import { AddressDataType } from './AddressData.type'; import { UfgDataType } from './UfgData.type'; export interface PersonalDataType { name?: string; surname?: string; pesel?: string; birthDate?: string; phone?: string; email?: string; ufgData?: UfgDataType; gender?: CoreGenderType; nationality?: string; documentNumber?: number; typeOfDocument?: string; ownerLicenseYear_SKY?: number; maritalStatus?: string; yoboldestChildUnder26_SKY?: number; childrenUnder26_SKY?: boolean; fraudScore?: 'ALLOW' | 'DENY'; publicID?: string; accountNumber?: number; } export interface PersonalDataWithAddressType extends PersonalDataType { mainAddress?: AddressDataType; correspondenceAddress?: AddressDataType; } export type CoreGenderType = 'M' | 'F';