import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The identification type for a person, one of: * * @remarks * - `ID_TYPE_UNSPECIFIED` - Default/Null value. * - `SSN` - SSN tax type. * - `ITIN` - ITIN tax type. * - `FTIN` - FTIN (foreign tax id) type. * - `NATIONAL_ID` - National id type. * - `PASSPORT` - Passport id type. * - `DRIVING_LICENSE` - Drivers license id type. * - `STATE_ID_CARD` - State ID card. * - `NATIONAL_ID_CARD` - National ID card. * - `PERMANENT_RESIDENT_VISA` - Permanent resident visa. * - `MILITARY_ID_CARD` - Military ID card. */ export declare enum PersonIdentificationType { IdTypeUnspecified = "ID_TYPE_UNSPECIFIED", Ssn = "SSN", Itin = "ITIN", Ftin = "FTIN", NationalId = "NATIONAL_ID", Passport = "PASSPORT", DrivingLicense = "DRIVING_LICENSE", StateIdCard = "STATE_ID_CARD", NationalIdCard = "NATIONAL_ID_CARD", PermanentResidentVisa = "PERMANENT_RESIDENT_VISA", MilitaryIdCard = "MILITARY_ID_CARD" } /** * The identification type for a person, one of: * * @remarks * - `ID_TYPE_UNSPECIFIED` - Default/Null value. * - `SSN` - SSN tax type. * - `ITIN` - ITIN tax type. * - `FTIN` - FTIN (foreign tax id) type. * - `NATIONAL_ID` - National id type. * - `PASSPORT` - Passport id type. * - `DRIVING_LICENSE` - Drivers license id type. * - `STATE_ID_CARD` - State ID card. * - `NATIONAL_ID_CARD` - National ID card. * - `PERMANENT_RESIDENT_VISA` - Permanent resident visa. * - `MILITARY_ID_CARD` - Military ID card. */ export type PersonIdentificationTypeOpen = OpenEnum; /** * stores various identification types */ export type PersonIdentification = { /** * Administrative area that issued the identification For example, this can be a state, a province, an oblast, or a prefecture. */ administrativeArea?: string | undefined; /** * One or more UUIDs from the documents api of the image(s) of the document that relates to the identification for the person investigation. */ documentReferenceIds?: Array | undefined; /** * Country that issued identification Two character region code, complies with https://cldr.unicode.org/index */ regionCode?: string | undefined; /** * The identification type for a person, one of: * * @remarks * - `ID_TYPE_UNSPECIFIED` - Default/Null value. * - `SSN` - SSN tax type. * - `ITIN` - ITIN tax type. * - `FTIN` - FTIN (foreign tax id) type. * - `NATIONAL_ID` - National id type. * - `PASSPORT` - Passport id type. * - `DRIVING_LICENSE` - Drivers license id type. * - `STATE_ID_CARD` - State ID card. * - `NATIONAL_ID_CARD` - National ID card. * - `PERMANENT_RESIDENT_VISA` - Permanent resident visa. * - `MILITARY_ID_CARD` - Military ID card. */ type?: PersonIdentificationTypeOpen | undefined; /** * Tax id value */ value?: string | undefined; }; /** @internal */ export declare const PersonIdentificationType$inboundSchema: z.ZodType; /** @internal */ export declare const PersonIdentificationType$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PersonIdentificationType$ { /** @deprecated use `PersonIdentificationType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PersonIdentificationType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const PersonIdentification$inboundSchema: z.ZodType; /** @internal */ export type PersonIdentification$Outbound = { administrative_area?: string | undefined; document_reference_ids?: Array | undefined; region_code?: string | undefined; type?: string | undefined; value?: string | undefined; }; /** @internal */ export declare const PersonIdentification$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PersonIdentification$ { /** @deprecated use `PersonIdentification$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PersonIdentification$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PersonIdentification$Outbound` instead. */ type Outbound = PersonIdentification$Outbound; } export declare function personIdentificationToJSON(personIdentification: PersonIdentification): string; export declare function personIdentificationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=personidentification.d.ts.map