import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Response body for the Identity API GET method. */ export type V3GetIdentityResponse = { /** * If true, the identity is currently active. */ active?: boolean | undefined; /** * The carrier associated with this identity/mobile number. */ carrier?: string | undefined; /** * 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. */ clientCustomerId?: string | undefined; /** * The country code associated with the customer/identity. This will be in the ISO 3166-1 A-2 format. */ countryCode?: string | undefined; /** * The time that this identity was created, in seconds since the Unix epoch. */ createdAt?: number | undefined; /** * The time that this identity was created, in ISO 8601 format. */ creationString?: 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; /** * The type of line associated with this identity/mobile number. */ lineType?: string | undefined; /** * The number of the mobile phone. Refer to the Prove Pre-Fill with Mobile Auth and Prove Identity with Mobile Auth documentation for situations * * @remarks * where this field is not required. US and Canada phone numbers can be passed in with or without a leading `+1`. International phone numbers * require a leading `+` followed by the country code. Acceptable characters are: alphanumeric with symbols '+'. */ phoneNumber: string; /** * A unique Prove-generated identifier for the enrolled identity. This is a UUID that can be used to reference the identity in future requests. */ proveId?: string | undefined; }; /** @internal */ export declare const V3GetIdentityResponse$inboundSchema: z.ZodType; /** @internal */ export type V3GetIdentityResponse$Outbound = { active?: boolean | undefined; carrier?: string | undefined; clientCustomerId?: string | undefined; countryCode?: string | undefined; createdAt?: number | undefined; creationString?: string | undefined; deviceId?: string | undefined; lineType?: string | undefined; phoneNumber: string; proveId?: string | undefined; }; /** @internal */ export declare const V3GetIdentityResponse$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 V3GetIdentityResponse$ { /** @deprecated use `V3GetIdentityResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `V3GetIdentityResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `V3GetIdentityResponse$Outbound` instead. */ type Outbound = V3GetIdentityResponse$Outbound; } export declare function v3GetIdentityResponseToJSON(v3GetIdentityResponse: V3GetIdentityResponse): string; export declare function v3GetIdentityResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=v3getidentityresponse.d.ts.map