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"; /** * Whether or not the customer birth date was verified */ export declare enum BirthDateVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the customer birth date was verified */ export type BirthDateVerifiedOpen = OpenEnum; /** * Whether or not the document authenticity is verified or not Will be NOT_IN_SCOPE if the check being done is not documentary */ export declare enum DocumentAuthenticityVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the document authenticity is verified or not Will be NOT_IN_SCOPE if the check being done is not documentary */ export type DocumentAuthenticityVerifiedOpen = OpenEnum; /** * Whether or not the document expiry was verified This is only in scope for document verification checks If document is expired this will be set to EXPIRED */ export declare enum DocumentExpiryStatus { ExpirationStateUnspecified = "EXPIRATION_STATE_UNSPECIFIED", Unexpired = "UNEXPIRED", Expired = "EXPIRED", NotApplicable = "NOT_APPLICABLE" } /** * Whether or not the document expiry was verified This is only in scope for document verification checks If document is expired this will be set to EXPIRED */ export type DocumentExpiryStatusOpen = OpenEnum; /** * Whether or not the customer email was verified */ export declare enum EmailVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the customer email was verified */ export type EmailVerifiedOpen = OpenEnum; /** * Whether or not the customer identification number was verified */ export declare enum IdentificationNumberVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the customer identification number was verified */ export type IdentificationNumberVerifiedOpen = OpenEnum; /** * Whether or not the identity has been reported as deceased This is determined by parsing the vendor response for deceased indicators from the SSA Death Master File Equifax-specific indicators: reason codes "90" (SSN Death Indicator) or "SQ" (SSN reported as deceased) null/unset = not checked or unable to determine, false = checked and not deceased, true = deceased */ export declare enum IdentityReportedDeceased { DeceasedUnspecified = "DECEASED_UNSPECIFIED", Deceased = "DECEASED", NotDeceased = "NOT_DECEASED", Unknown = "UNKNOWN" } /** * Whether or not the identity has been reported as deceased This is determined by parsing the vendor response for deceased indicators from the SSA Death Master File Equifax-specific indicators: reason codes "90" (SSN Death Indicator) or "SQ" (SSN reported as deceased) null/unset = not checked or unable to determine, false = checked and not deceased, true = deceased */ export type IdentityReportedDeceasedOpen = OpenEnum; export declare enum IdentityVerificationTypes { IdentityVerificationTypeUnspecified = "IDENTITY_VERIFICATION_TYPE_UNSPECIFIED", Database = "DATABASE", Documentary = "DOCUMENTARY", Selfie = "SELFIE" } export type IdentityVerificationTypesOpen = OpenEnum; /** * Whether or not the customer legal address was verified */ export declare enum LegalAddressVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the customer legal address was verified */ export type LegalAddressVerifiedOpen = OpenEnum; /** * Presents verified results e.g. if name or birth date have been verified */ export declare enum NameVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Presents verified results e.g. if name or birth date have been verified */ export type NameVerifiedOpen = OpenEnum; /** * Whether or not the customer phone number was verified */ export declare enum PhoneNumberVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the customer phone number was verified */ export type PhoneNumberVerifiedOpen = OpenEnum; /** * Whether or not the customer photo identification was verified Will be NOT_IN_SCOPE if the check being done is not selfie */ export declare enum SelfieVerified { VerificationStateUnspecified = "VERIFICATION_STATE_UNSPECIFIED", NotInScope = "NOT_IN_SCOPE", Verified = "VERIFIED", Unverified = "UNVERIFIED", Inconclusive = "INCONCLUSIVE" } /** * Whether or not the customer photo identification was verified Will be NOT_IN_SCOPE if the check being done is not selfie */ export type SelfieVerifiedOpen = OpenEnum; /** * Result from a customer identification check */ export type CustomerIdentificationResult = { /** * Whether or not the customer birth date was verified */ birthDateVerified?: BirthDateVerifiedOpen | undefined; /** * Whether or not the result is completed Must be true to be linked to an Investigation or used to Create/Update an LegalNaturalPerson */ completed?: boolean | undefined; /** * Whether or not the document authenticity is verified or not Will be NOT_IN_SCOPE if the check being done is not documentary */ documentAuthenticityVerified?: DocumentAuthenticityVerifiedOpen | undefined; /** * Whether or not the document expiry was verified This is only in scope for document verification checks If document is expired this will be set to EXPIRED */ documentExpiryStatus?: DocumentExpiryStatusOpen | undefined; /** * One or more ULIDs from the documents api of the image(s) of the document that relates to the identification check for a DOCUMENTARY check, these will be the images provided in the session */ documentVerificationIds?: Array | undefined; /** * The URI to complete documentary session Will be populated if the CheckType is DOCUMENTARY */ documentarySessionUri?: string | undefined; /** * Whether or not the customer email was verified */ emailVerified?: EmailVerifiedOpen | undefined; /** * Whether or not the result is expired An expired result will cause all `VerificationState`'s to be `UNVERIFIED`, the `ExpirationState` will be `EXPIRED` Will always be `false` for synchronous checks such as `DATABASE` Will be `true` when an asynchronous check such as `DOCUMENTARY` hasn't been completed within the timeframe If `true` the `completed` field will be `false` since a check was never completed */ expired?: boolean | undefined; /** * The name of the external vendor */ externalVendor?: string | undefined; /** * The id relating to the external vendor */ externalVendorId?: string | undefined; /** * Whether or not the customer identification number was verified */ identificationNumberVerified?: IdentificationNumberVerifiedOpen | undefined; /** * Whether or not the identity has been reported as deceased This is determined by parsing the vendor response for deceased indicators from the SSA Death Master File Equifax-specific indicators: reason codes "90" (SSN Death Indicator) or "SQ" (SSN reported as deceased) null/unset = not checked or unable to determine, false = checked and not deceased, true = deceased */ identityReportedDeceased?: IdentityReportedDeceasedOpen | undefined; /** * Describes the type(s) of Identity Verification that was performed */ identityVerificationTypes?: Array | undefined; /** * Whether or not the customer legal address was verified */ legalAddressVerified?: LegalAddressVerifiedOpen | undefined; /** * Presents verified results e.g. if name or birth date have been verified */ nameVerified?: NameVerifiedOpen | undefined; /** * Whether or not the customer phone number was verified */ phoneNumberVerified?: PhoneNumberVerifiedOpen | undefined; /** * Raw vendor result will return full json response from vendor if view is set to FULL */ rawVendorResult?: string | undefined; /** * Whether or not the customer photo identification was verified Will be NOT_IN_SCOPE if the check being done is not selfie */ selfieVerified?: SelfieVerifiedOpen | undefined; }; /** @internal */ export declare const BirthDateVerified$inboundSchema: z.ZodType; /** @internal */ export declare const BirthDateVerified$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 BirthDateVerified$ { /** @deprecated use `BirthDateVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BirthDateVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const DocumentAuthenticityVerified$inboundSchema: z.ZodType; /** @internal */ export declare const DocumentAuthenticityVerified$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 DocumentAuthenticityVerified$ { /** @deprecated use `DocumentAuthenticityVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DocumentAuthenticityVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const DocumentExpiryStatus$inboundSchema: z.ZodType; /** @internal */ export declare const DocumentExpiryStatus$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 DocumentExpiryStatus$ { /** @deprecated use `DocumentExpiryStatus$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DocumentExpiryStatus$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const EmailVerified$inboundSchema: z.ZodType; /** @internal */ export declare const EmailVerified$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 EmailVerified$ { /** @deprecated use `EmailVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmailVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const IdentificationNumberVerified$inboundSchema: z.ZodType; /** @internal */ export declare const IdentificationNumberVerified$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 IdentificationNumberVerified$ { /** @deprecated use `IdentificationNumberVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IdentificationNumberVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const IdentityReportedDeceased$inboundSchema: z.ZodType; /** @internal */ export declare const IdentityReportedDeceased$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 IdentityReportedDeceased$ { /** @deprecated use `IdentityReportedDeceased$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IdentityReportedDeceased$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const IdentityVerificationTypes$inboundSchema: z.ZodType; /** @internal */ export declare const IdentityVerificationTypes$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 IdentityVerificationTypes$ { /** @deprecated use `IdentityVerificationTypes$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IdentityVerificationTypes$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const LegalAddressVerified$inboundSchema: z.ZodType; /** @internal */ export declare const LegalAddressVerified$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 LegalAddressVerified$ { /** @deprecated use `LegalAddressVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LegalAddressVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const NameVerified$inboundSchema: z.ZodType; /** @internal */ export declare const NameVerified$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 NameVerified$ { /** @deprecated use `NameVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `NameVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const PhoneNumberVerified$inboundSchema: z.ZodType; /** @internal */ export declare const PhoneNumberVerified$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 PhoneNumberVerified$ { /** @deprecated use `PhoneNumberVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PhoneNumberVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const SelfieVerified$inboundSchema: z.ZodType; /** @internal */ export declare const SelfieVerified$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 SelfieVerified$ { /** @deprecated use `SelfieVerified$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SelfieVerified$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const CustomerIdentificationResult$inboundSchema: z.ZodType; /** @internal */ export type CustomerIdentificationResult$Outbound = { birth_date_verified?: string | undefined; completed?: boolean | undefined; document_authenticity_verified?: string | undefined; document_expiry_status?: string | undefined; document_verification_ids?: Array | undefined; documentary_session_uri?: string | undefined; email_verified?: string | undefined; expired?: boolean | undefined; external_vendor?: string | undefined; external_vendor_id?: string | undefined; identification_number_verified?: string | undefined; identity_reported_deceased?: string | undefined; identity_verification_types?: Array | undefined; legal_address_verified?: string | undefined; name_verified?: string | undefined; phone_number_verified?: string | undefined; raw_vendor_result?: string | undefined; selfie_verified?: string | undefined; }; /** @internal */ export declare const CustomerIdentificationResult$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 CustomerIdentificationResult$ { /** @deprecated use `CustomerIdentificationResult$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CustomerIdentificationResult$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CustomerIdentificationResult$Outbound` instead. */ type Outbound = CustomerIdentificationResult$Outbound; } export declare function customerIdentificationResultToJSON(customerIdentificationResult: CustomerIdentificationResult): string; export declare function customerIdentificationResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customeridentificationresult.d.ts.map