import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { IdentityAttribute, IdentityAttribute$Outbound } from "./identityattribute.js"; /** * Request body for the V3 Enroll Identity API. */ export type V3EnrollIdentityRequest = { /** * A client-generated unique ID for a specific customer. This can be used by clients to link calls related to the same customer, across different requests or sessions. The format of this ID is defined by the client - Prove recommends using a GUID, but any format can be accepted. Do not include personally identifiable information (PII) in this field. */ clientCustomerId?: string | undefined; /** * An optional client-generated unique ID our Enterprise customer inputs for that consumer across business lines. If the Enterprise customer has been able to identify a consumer across business lines and has a unique identifier for the consumer, they would input this value to Prove. The format of this ID is defined by the client - Prove recommends using a GUID, but any format can be accepted. Do not include personally identifiable information (PII) in this field. */ clientHumanId?: string | undefined; /** * A client-generated unique ID for a specific session. This can be used to identify specific requests. The format of this ID is defined by the client - Prove recommends using a GUID, but any format can be accepted. Do not include Personally Identifiable Information (PII) in this field. */ clientRequestId?: string | undefined; /** * A string that is the unique identifier for the Prove Key on the device. Only applicable if you are leveraging Prove Unify. */ deviceId?: string | undefined; /** * Attributes is a list of objects contains attribute Type and Value. */ identityAttributes?: Array | undefined; /** * The number of the consumer being enrolled. US and Canada phone numbers can be passed in with or without a leading `+1`. * * @remarks * International phone numbers require a leading `+` followed by the country code. Acceptable characters are: alphanumeric with symbols '+'. */ phoneNumber: string; }; /** @internal */ export declare const V3EnrollIdentityRequest$inboundSchema: z.ZodType; /** @internal */ export type V3EnrollIdentityRequest$Outbound = { clientCustomerId?: string | undefined; clientHumanId?: string | undefined; clientRequestId?: string | undefined; deviceId?: string | undefined; identityAttributes?: Array | undefined; phoneNumber: string; }; /** @internal */ export declare const V3EnrollIdentityRequest$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 V3EnrollIdentityRequest$ { /** @deprecated use `V3EnrollIdentityRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `V3EnrollIdentityRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `V3EnrollIdentityRequest$Outbound` instead. */ type Outbound = V3EnrollIdentityRequest$Outbound; } export declare function v3EnrollIdentityRequestToJSON(v3EnrollIdentityRequest: V3EnrollIdentityRequest): string; export declare function v3EnrollIdentityRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=v3enrollidentityrequest.d.ts.map