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"; /** * **Field Dependencies:** * * @remarks * * An SSN or ITIN is required when `check_types` is `DATABASE` * * Required if `check_types` is `DATABASE`. * * Otherwise, must be empty. */ export declare enum IdentityIdentificationType { TypeUnspecified = "TYPE_UNSPECIFIED", Ssn = "SSN", Passport = "PASSPORT", DriversLicense = "DRIVERS_LICENSE", Itin = "ITIN", IdCard = "ID_CARD" } /** * **Field Dependencies:** * * @remarks * * An SSN or ITIN is required when `check_types` is `DATABASE` * * Required if `check_types` is `DATABASE`. * * Otherwise, must be empty. */ export type IdentityIdentificationTypeOpen = OpenEnum; /** * stores various identification types */ export type IdentityIdentification = { /** * Administrative area that issued the identification */ administrativeArea?: string | undefined; /** * **Field Dependencies:** * * @remarks * * A US identification `region_code` is required when the `check_types` is `DATABASE` * * Required if `check_types` is `DATABASE`. * * Otherwise, must be empty. */ regionCode?: string | undefined; /** * **Field Dependencies:** * * @remarks * * An SSN or ITIN is required when `check_types` is `DATABASE` * * Required if `check_types` is `DATABASE`. * * Otherwise, must be empty. */ type?: IdentityIdentificationTypeOpen | undefined; /** * **Field Dependencies:** * * @remarks * * An identification value is required when the `check_types` is `DATABASE` * * Required if `check_types` is `DATABASE`. * * Otherwise, must be empty. */ value?: string | undefined; }; /** @internal */ export declare const IdentityIdentificationType$inboundSchema: z.ZodType; /** @internal */ export declare const IdentityIdentificationType$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 IdentityIdentificationType$ { /** @deprecated use `IdentityIdentificationType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IdentityIdentificationType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const IdentityIdentification$inboundSchema: z.ZodType; /** @internal */ export type IdentityIdentification$Outbound = { administrative_area?: string | undefined; region_code?: string | undefined; type?: string | undefined; value?: string | undefined; }; /** @internal */ export declare const IdentityIdentification$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 IdentityIdentification$ { /** @deprecated use `IdentityIdentification$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IdentityIdentification$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IdentityIdentification$Outbound` instead. */ type Outbound = IdentityIdentification$Outbound; } export declare function identityIdentificationToJSON(identityIdentification: IdentityIdentification): string; export declare function identityIdentificationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=identityidentification.d.ts.map