import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AccountVerificationStatus } from "./accountverificationstatus.js"; import { Document, Document$Outbound } from "./document.js"; import { VerificationStatus } from "./verificationstatus.js"; import { VerificationStatusDetail } from "./verificationstatusdetail.js"; /** * Describes identity verification status and relevant identity verification documents. */ export type Verification = { /** * Possible states an account verification can be in. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ verificationStatus?: AccountVerificationStatus | undefined; /** * Possible states an account verification can be in. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ status: VerificationStatus; /** * Additional detail for a verification status. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ details?: VerificationStatusDetail | undefined; documents?: Array | undefined; }; /** @internal */ export declare const Verification$inboundSchema: z.ZodType; /** @internal */ export type Verification$Outbound = { verificationStatus?: string | undefined; status: string; details?: string | undefined; documents?: Array | undefined; }; /** @internal */ export declare const Verification$outboundSchema: z.ZodType; export declare function verificationToJSON(verification: Verification): string; export declare function verificationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=verification.d.ts.map