import { Applicant } from '../Applicant'; import { ICloneable } from '../general'; import { AddressPayload, Address } from './Address'; import { Consent, ConsentPayload } from './Consent'; import { CustomAttributeRecord, CustomAttributesPayload } from './CustomAttribute'; import { Date, DateOfBirthPayload } from './Date'; import { Document, DocumentClass, DocumentPayload } from './Document'; import { EmailAddress, EmailAddressPayload } from './EmailAddress'; import { ExternalReference, ExternalReferencePayload } from './ExternalReference'; import { AlternateName, AlternateNamePayload, Name, NamePayload } from './Name'; import { PhoneNumber, PhoneNumberPayload } from './PhoneNumber'; import { Document as F1Document } from '../Document'; export declare enum Gender { MALE = "MALE", FEMALE = "FEMALE", NON_BINARY = "NON_BINARY", OTHER = "OTHER", UNSPECIFIED = "UNSPECIFIED" } export interface IndividualConstructor { entityId?: string; externalReferences?: ExternalReference[]; name?: Name; alternateNames?: AlternateName[]; dateOfBirth?: Date; alternateDatesOfBirth?: Date[]; gender?: { gender?: Gender; }; customAttributes?: CustomAttributeRecord; phoneNumbers?: PhoneNumber[]; addresses?: Address[]; emailAddresses?: EmailAddress[]; consents?: Consent[]; placeOfBirth?: Address; nationality?: string; documents?: { [K in DocumentClass]?: Document[]; }; createdAt?: string; } export interface IndividualPayload { entityId?: string; externalReferences?: ExternalReferencePayload[]; name?: NamePayload; alternateNames?: AlternateNamePayload[]; dateOfBirth?: DateOfBirthPayload; alternateDatesOfBirth?: DateOfBirthPayload[]; gender?: { gender?: Gender; }; customAttributes?: CustomAttributesPayload; phoneNumbers?: PhoneNumberPayload[]; addresses?: AddressPayload[]; emailAddresses?: EmailAddressPayload[]; consents?: ConsentPayload[]; placeOfBirth?: AddressPayload; nationality?: string; documents?: { [K in DocumentClass]?: DocumentPayload[]; }; createdAt?: string; } export declare class Individual implements ICloneable { entityId?: string; externalReferences?: ExternalReference[]; name?: Name; alternateNames?: AlternateName[]; dateOfBirth?: Date; alternateDatesOfBirth?: Date[]; gender?: { gender?: Gender; }; customAttributes?: CustomAttributeRecord; phoneNumbers?: PhoneNumber[]; addresses?: Address[]; emailAddresses?: EmailAddress[]; consents?: Consent[]; placeOfBirth?: Address; nationality?: string; documents?: { [K in DocumentClass]?: Document[]; }; createdAt?: string; constructor(); constructor(data: IndividualConstructor); get customerReference(): string | null; set customerReference(reference: string); clone(): Individual; toApplicant(): Applicant; toJSON(): IndividualPayload; static fromJSON(payload: IndividualPayload): Individual; static fromApplicant(applicant: Applicant, documents: F1Document[], previousIndividual?: Individual): Individual; static default(): Individual; } //# sourceMappingURL=Individual.d.ts.map