import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Business, Business$Outbound } from "./business.js"; import { Identity, Identity$Outbound } from "./identity.js"; export type Signals = {}; export type V3VerifyResponse = { /** * Additional Identities found as part of the verification flow. */ additionalIdentities?: Array | undefined; /** * AddressMatchScore is the fuzzy address match score (0–100) produced during validate flow. * * @remarks * Absent when no address was provided in the request. * Only present for verificationType=validate. */ addressMatchScore?: number | undefined; /** * Businesses is used for business prefill. */ businesses?: Array | undefined; /** * The input ClientCustomerID. */ clientCustomerId?: string | undefined; /** * The input ClientHumanID. */ clientHumanId?: string | undefined; /** * The input ClientRequestID. */ clientRequestId?: string | undefined; /** * The unique ID that Prove generates for the flow. */ correlationId: string; /** * Policy evaluation outputs from Luna. May include authentication, identification, and risk categories. Omitted from the response when evaluation.includeEvaluation is not enabled. */ evaluation?: { [k: string]: any; } | undefined; identity?: Identity | undefined; /** * IsEnrolled indicates whether the identity was successfully enrolled into Identity Manager. */ isEnrolled?: boolean | undefined; /** * NameMatchScore is the fuzzy name match score (0–100) produced during validate flow. * * @remarks * Absent when name scoring was not performed. * Only present for verificationType=validate. */ nameMatchScore?: number | undefined; /** * The input phone number. */ phoneNumber: string; /** * PreviousCorrelationID is the correlationId from the prefill response that preceded this * * @remarks * validate request. Set to an empty string when no preceding prefill was cached. * Only present for verificationType=validate. */ previousCorrelationId?: string | undefined; /** * A Prove-generated identifier for the consumer. */ proveId?: string | undefined; /** * A persistent ID that uniquely identifies a telephone subscriber. */ provePhoneAlias?: string | undefined; /** * Signals */ signals?: Array<{ [k: string]: Signals; }> | undefined; /** * The result of verification. This can be "true" or "false". * * @remarks * Omitted from the response when blank. */ success?: string | undefined; /** * ValidationStatus indicates whether all configured thresholds passed. * * @remarks * Only present for verificationType=validate. */ validationStatus?: boolean | undefined; }; /** @internal */ export declare const Signals$inboundSchema: z.ZodType; /** @internal */ export type Signals$Outbound = {}; /** @internal */ export declare const Signals$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 Signals$ { /** @deprecated use `Signals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Signals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Signals$Outbound` instead. */ type Outbound = Signals$Outbound; } export declare function signalsToJSON(signals: Signals): string; export declare function signalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const V3VerifyResponse$inboundSchema: z.ZodType; /** @internal */ export type V3VerifyResponse$Outbound = { additionalIdentities?: Array | undefined; addressMatchScore?: number | undefined; businesses?: Array | undefined; clientCustomerId?: string | undefined; clientHumanId?: string | undefined; clientRequestId?: string | undefined; correlationId: string; evaluation?: { [k: string]: any; } | undefined; identity?: Identity$Outbound | undefined; isEnrolled?: boolean | undefined; nameMatchScore?: number | undefined; phoneNumber: string; previousCorrelationId?: string | undefined; proveId?: string | undefined; provePhoneAlias?: string | undefined; signals?: Array<{ [k: string]: Signals$Outbound; }> | undefined; success?: string | undefined; validationStatus?: boolean | undefined; }; /** @internal */ export declare const V3VerifyResponse$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 V3VerifyResponse$ { /** @deprecated use `V3VerifyResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `V3VerifyResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `V3VerifyResponse$Outbound` instead. */ type Outbound = V3VerifyResponse$Outbound; } export declare function v3VerifyResponseToJSON(v3VerifyResponse: V3VerifyResponse): string; export declare function v3VerifyResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=v3verifyresponse.d.ts.map