import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * An Identity associated with the given phone number. */ export type LookupIdentityItem = { /** * 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 Prove-generated unique ID for a specific identity. */ proveId?: string | undefined; }; /** @internal */ export declare const LookupIdentityItem$inboundSchema: z.ZodType; /** @internal */ export type LookupIdentityItem$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 LookupIdentityItem$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 LookupIdentityItem$ { /** @deprecated use `LookupIdentityItem$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LookupIdentityItem$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LookupIdentityItem$Outbound` instead. */ type Outbound = LookupIdentityItem$Outbound; } export declare function lookupIdentityItemToJSON(lookupIdentityItem: LookupIdentityItem): string; export declare function lookupIdentityItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=lookupidentityitem.d.ts.map