{"version":3,"sources":["../../src/iam-verification-v1-start-response-verification.universal.ts","../../src/iam-verification-v1-start-response-verification.http.ts","../../src/iam-verification-v1-start-response-verification.public.ts","../../src/iam-verification-v1-start-response-verification.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixIamVerificationV1StartResponse from './iam-verification-v1-start-response-verification.http.js';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\nconst TRANSFORM_PATHS_0 = [\n  { path: 'identity.identityProfile.addresses.address' },\n];\n\nexport interface StartResponse {\n  /** the identifier of the verification process */\n  verificationId?: string;\n}\n\nexport interface StartRequest {\n  /**\n   * ID of the identity whose email address should be verified. The verification code is sent to this identity's\n   * email. Currently required — the request fails if it is omitted.\n   * @format GUID\n   */\n  identityId?: string | null;\n  /** Delivery channel for the verification code. Currently only `EMAIL` is supported. */\n  target?: TargetWithLiterals;\n}\n\n/** The delivery channel used to send the verification code. */\nexport enum Target {\n  /** Send the verification code to the identity's email address. */\n  EMAIL = 'EMAIL',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'EMAIL';\n\nexport interface VerifyRequest {\n  /**\n   * the code to verify\n   * @minLength 6\n   * @maxLength 6\n   */\n  code?: string;\n  /** the identifier of the verification process */\n  verificationId?: string;\n}\n\nexport interface VerifyResponse {}\n\nexport interface VerifyDuringAuthenticationRequest {\n  /**\n   * The code to verify.\n   * @minLength 6\n   * @maxLength 6\n   */\n  code: string;\n  /** A state token representing the `REQUIRE_EMAIL_VERIFICATION` state. */\n  stateToken: string;\n}\n\nexport interface StateMachineResponse\n  extends StateMachineResponseStateDataOneOf {\n  /** @internal */\n  requireMfaData?: RequireMfaData;\n  /**\n   * User needs to solve an MFA challenge, such as providing the code that sent to them by SMS.\n   * @internal\n   */\n  mfaChallengeData?: MfaChallengeData;\n  /**\n   * Identity must prove a first factor before the IdP connection is merged.\n   * @internal\n   */\n  requireFirstFactorData?: RequireFirstFactorData;\n  /** Current state of the login or registration process. */\n  state?: StateTypeWithLiterals;\n  /** Session token. If `state` is not `SUCCESS`, this field is undefined. */\n  sessionToken?: string | null;\n  /** Token that represents the current state of the login or registration process. */\n  stateToken?: string | null;\n  /** Identity of the current member. */\n  identity?: Identity;\n  /** Additional data relevant to the login or registration process. */\n  additionalData?: Record<string, CustomValue>;\n}\n\n/** @oneof */\nexport interface StateMachineResponseStateDataOneOf {\n  /** @internal */\n  requireMfaData?: RequireMfaData;\n  /**\n   * User needs to solve an MFA challenge, such as providing the code that sent to them by SMS.\n   * @internal\n   */\n  mfaChallengeData?: MfaChallengeData;\n  /**\n   * Identity must prove a first factor before the IdP connection is merged.\n   * @internal\n   */\n  requireFirstFactorData?: RequireFirstFactorData;\n}\n\nexport enum StateType {\n  /** Initial unknown state. */\n  UNKNOWN_STATE = 'UNKNOWN_STATE',\n  /** Login completed successfully. */\n  SUCCESS = 'SUCCESS',\n  /** Member needs the owner to approve their registration. */\n  REQUIRE_OWNER_APPROVAL = 'REQUIRE_OWNER_APPROVAL',\n  /** Member needs to verify their email. */\n  REQUIRE_EMAIL_VERIFICATION = 'REQUIRE_EMAIL_VERIFICATION',\n  /** The `status` is not one that prevents the member logging in, meaning it's not `OFFLINE`, `BLOCKED`, or `DELETED`. */\n  STATUS_CHECK = 'STATUS_CHECK',\n  /**\n   * Multi-factor authentication is required to complete login.\n   * @internal\n   */\n  REQUIRE_MFA = 'REQUIRE_MFA',\n  /**\n   * Indicates that the member needs to verify themselves using the selected verication factor type.\n   * @internal\n   */\n  MFA_CHALLENGE = 'MFA_CHALLENGE',\n  /**\n   * User needs to provide the first factor authentication (e.g., password, webAuthN).\n   * @internal\n   */\n  REQUIRE_FIRST_FACTOR = 'REQUIRE_FIRST_FACTOR',\n  /** Member must submit the profile-completion form to continue registration. */\n  REQUIRE_PROFILE_COMPLETION = 'REQUIRE_PROFILE_COMPLETION',\n  /**\n   * Registering identity must prove their sign-up factor (e.g. an emailed code) before the identity is created.\n   * @internal\n   */\n  REQUIRE_REGISTER_CHALLENGE = 'REQUIRE_REGISTER_CHALLENGE',\n  /**\n   * Identity logging in must enter the code sent to their email before the login continues.\n   * @internal\n   */\n  REQUIRE_LOGIN_CHALLENGE = 'REQUIRE_LOGIN_CHALLENGE',\n}\n\n/** @enumType */\nexport type StateTypeWithLiterals =\n  | StateType\n  | 'UNKNOWN_STATE'\n  | 'SUCCESS'\n  | 'REQUIRE_OWNER_APPROVAL'\n  | 'REQUIRE_EMAIL_VERIFICATION'\n  | 'STATUS_CHECK'\n  | 'REQUIRE_PROFILE_COMPLETION';\n\nexport interface Identity {\n  /**\n   * Identity ID.\n   * @format GUID\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the identity is updated.\n   * To prevent conflicting changes,\n   * the current revision must be passed when updating the identity.\n   *\n   * Ignored when creating an identity.\n   */\n  revision?: string | null;\n  /**\n   * Date and time the identity was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the identity was updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /** The identity configured connections to authenticate with. */\n  connections?: Connection[];\n  /** Identity profile. */\n  identityProfile?: IdentityProfile;\n  /**\n   * Additional information about the identity that can impact user access.\n   * This data cannot be set.\n   */\n  metadata?: Metadata;\n  /** Identity email address. */\n  email?: Email;\n  /** Identity's current status. */\n  status?: StatusV2;\n  /**\n   * Custom attributes.\n   * @internal\n   */\n  customAttributes?: Record<string, any> | null;\n  /**\n   * Identity verification factors.\n   * @maxSize 10\n   * @readonly\n   */\n  factors?: Factor[];\n}\n\nexport interface Connection extends ConnectionTypeOneOf {\n  /** IDP connection. */\n  idpConnection?: IdpConnection;\n  /** Authenticator connection. */\n  authenticatorConnection?: AuthenticatorConnection;\n}\n\n/** @oneof */\nexport interface ConnectionTypeOneOf {\n  /** IDP connection. */\n  idpConnection?: IdpConnection;\n  /** Authenticator connection. */\n  authenticatorConnection?: AuthenticatorConnection;\n}\n\nexport interface IdpConnection {\n  /**\n   * IDP connection ID.\n   * @format GUID\n   */\n  idpConnectionId?: string;\n  /** IDP user ID. */\n  idpUserId?: string;\n}\n\nexport interface AuthenticatorConnection {\n  /**\n   * Authenticator connection ID.\n   * @format GUID\n   */\n  authenticatorConnectionId?: string;\n  /** Whether re-enrollment is required. */\n  reEnrollmentRequired?: boolean;\n}\n\nexport interface IdentityProfile {\n  /** Member's first name. */\n  firstName?: string | null;\n  /** Member's last name. */\n  lastName?: string | null;\n  /** Member's display nickname. */\n  nickname?: string | null;\n  /** URL to member's profile picture. */\n  picture?: string | null;\n  /**\n   * Deprecated. Use `secondaryEmails` instead.\n   * @deprecated Deprecated. Use `secondaryEmails` instead.\n   * @replacedBy secondary_emails\n   * @targetRemovalDate 2023-11-01\n   */\n  emails?: string[];\n  /**\n   * Deprecated. Use `phonesV2` instead.\n   * @deprecated Deprecated. Use `phonesV2` instead.\n   * @replacedBy phones_v2\n   * @targetRemovalDate 2023-11-01\n   */\n  phones?: string[];\n  /**\n   * Labels associated with the member.\n   * @maxSize 2000\n   */\n  labels?: string[];\n  /**\n   * Member's preferred language code.\n   * @format LANGUAGE\n   */\n  language?: string | null;\n  /** Member's profile visibility setting. */\n  privacyStatus?: PrivacyStatusWithLiterals;\n  /**\n   * Any number of custom fields. [Custom fields](https://support.wix.com/en/article/adding-custom-fields-to-contacts)\n   * are used to store additional information about your site or app's contacts.\n   */\n  customFields?: CustomField[];\n  /** Additional email addresses for the member. */\n  secondaryEmails?: SecondaryEmail[];\n  /** Phone numbers associated with the member. */\n  phonesV2?: Phone[];\n  /** Physical addresses for the member. */\n  addresses?: AddressWrapper[];\n  /**\n   * Company name.\n   * @maxLength 1000\n   */\n  company?: string | null;\n  /**\n   * Position within company.\n   * @maxLength 1000\n   */\n  position?: string | null;\n  /**\n   * Member's birth date in `YYYY-MM-DD` format.\n   * @format LOCAL_DATE\n   */\n  birthdate?: string | null;\n  /**\n   * URL-friendly slug for the member's profile.\n   * @maxLength 255\n   */\n  slug?: string | null;\n  /** Whether the member consents to receive marketing communications. */\n  subscription?: boolean | null;\n  /**\n   * Tax ID or VAT number for personal or corporate use.\n   * @maxLength 1000\n   */\n  vatId?: string | null;\n}\n\nexport enum PrivacyStatus {\n  /** No privacy status defined. */\n  UNDEFINED = 'UNDEFINED',\n  /** Profile details are visible to other members. */\n  PUBLIC = 'PUBLIC',\n  /** Profile details are hidden from other members. */\n  PRIVATE = 'PRIVATE',\n}\n\n/** @enumType */\nexport type PrivacyStatusWithLiterals =\n  | PrivacyStatus\n  | 'UNDEFINED'\n  | 'PUBLIC'\n  | 'PRIVATE';\n\nexport interface CustomField {\n  /**\n   * Custom field name matching an extended field key (without `custom.` prefix).\n   *\n   * Must match a key from [`List Extended Fields`](https://dev.wix.com/docs/rest/api-reference/contacts/extended-fields/list-extended-fields).\n   */\n  name?: string;\n  /** Value for the custom field. */\n  value?: V1CustomValue;\n}\n\nexport interface V1CustomValue extends V1CustomValueValueOneOf {\n  /** Text value. */\n  strValue?: string;\n  /** Numeric value. */\n  numValue?: number;\n  /** Date/time value. */\n  dateValue?: Date | null;\n  /** List of values. */\n  listValue?: V1ListValue;\n  /** Key-value pairs. */\n  mapValue?: V1MapValue;\n  /** Bool value */\n  boolValue?: boolean;\n}\n\n/** @oneof */\nexport interface V1CustomValueValueOneOf {\n  /** Text value. */\n  strValue?: string;\n  /** Numeric value. */\n  numValue?: number;\n  /** Date/time value. */\n  dateValue?: Date | null;\n  /** List of values. */\n  listValue?: V1ListValue;\n  /** Key-value pairs. */\n  mapValue?: V1MapValue;\n  /** Bool value */\n  boolValue?: boolean;\n}\n\nexport interface V1ListValue {\n  /** List of custom values. */\n  value?: V1CustomValue[];\n}\n\nexport interface V1MapValue {\n  /** Map of custom field values. */\n  value?: Record<string, V1CustomValue>;\n}\n\nexport interface SecondaryEmail {\n  /**\n   * Secondary email address.\n   * @format EMAIL\n   */\n  email?: string;\n  /** Email tag. */\n  tag?: EmailTagWithLiterals;\n}\n\nexport enum EmailTag {\n  UNTAGGED = 'UNTAGGED',\n  MAIN = 'MAIN',\n  HOME = 'HOME',\n  WORK = 'WORK',\n}\n\n/** @enumType */\nexport type EmailTagWithLiterals =\n  | EmailTag\n  | 'UNTAGGED'\n  | 'MAIN'\n  | 'HOME'\n  | 'WORK';\n\nexport interface Phone {\n  /**\n   * Country code for the phone number.\n   * @format COUNTRY\n   */\n  countryCode?: string | null;\n  /**\n   * Phone number without country code.\n   * @format PHONE\n   */\n  phone?: string;\n  /** Phone tag. */\n  tag?: PhoneTagWithLiterals;\n}\n\nexport enum PhoneTag {\n  UNTAGGED = 'UNTAGGED',\n  MAIN = 'MAIN',\n  HOME = 'HOME',\n  MOBILE = 'MOBILE',\n  WORK = 'WORK',\n  FAX = 'FAX',\n}\n\n/** @enumType */\nexport type PhoneTagWithLiterals =\n  | PhoneTag\n  | 'UNTAGGED'\n  | 'MAIN'\n  | 'HOME'\n  | 'MOBILE'\n  | 'WORK'\n  | 'FAX';\n\nexport interface AddressWrapper {\n  /** Physical address details. */\n  address?: Address;\n  /** Address tag. */\n  tag?: AddressTagWithLiterals;\n}\n\n/** Physical address */\nexport interface Address {\n  /**\n   * Country code.\n   * @format COUNTRY\n   */\n  country?: string | null;\n  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */\n  subdivision?: string | null;\n  /** City name. */\n  city?: string | null;\n  /** Zip/postal code. */\n  postalCode?: string | null;\n  /** Main address line, usually street and number as free text. */\n  addressLine1?: string | null;\n  /** Free text providing more detailed address info. Usually contains apartment, suite, and floor. */\n  addressLine2?: string | null;\n  /**\n   * A string containing the full address of this location.\n   * @internal\n   */\n  formatted?: string | null;\n}\n\nexport enum AddressTag {\n  UNTAGGED = 'UNTAGGED',\n  HOME = 'HOME',\n  WORK = 'WORK',\n  BILLING = 'BILLING',\n  SHIPPING = 'SHIPPING',\n}\n\n/** @enumType */\nexport type AddressTagWithLiterals =\n  | AddressTag\n  | 'UNTAGGED'\n  | 'HOME'\n  | 'WORK'\n  | 'BILLING'\n  | 'SHIPPING';\n\nexport interface Metadata {\n  /**\n   * General tags. For example, `\"isOwner\"`.\n   * @internal\n   * @readonly\n   */\n  tags?: string[];\n}\n\nexport interface Email {\n  /**\n   * Email address.\n   * @format EMAIL\n   */\n  address?: string;\n  /** Whether the email address is verified. */\n  isVerified?: boolean;\n}\n\nexport interface StatusV2 {\n  /** Descriptive name of the identity status. */\n  name?: StatusNameWithLiterals;\n  /** Reasons for the current identity status. */\n  reasons?: ReasonWithLiterals[];\n}\n\nexport enum StatusName {\n  /** Unknown status. This value isn't used. */\n  UNKNOWN_STATUS = 'UNKNOWN_STATUS',\n  /** Identity is pending verification, owner approval, or both. */\n  PENDING = 'PENDING',\n  /** Identity is active and can log in. */\n  ACTIVE = 'ACTIVE',\n  /** Identity is deleted. This identity can't log in. */\n  DELETED = 'DELETED',\n  /** Identity is blocked. This identity can't log in. */\n  BLOCKED = 'BLOCKED',\n  /** Identity is offline. This identity can't log in. */\n  OFFLINE = 'OFFLINE',\n}\n\n/** @enumType */\nexport type StatusNameWithLiterals =\n  | StatusName\n  | 'UNKNOWN_STATUS'\n  | 'PENDING'\n  | 'ACTIVE'\n  | 'DELETED'\n  | 'BLOCKED'\n  | 'OFFLINE';\n\nexport enum Reason {\n  /** Unknown reason. This value isn't used. */\n  UNKNOWN_REASON = 'UNKNOWN_REASON',\n  /** The identity is waiting for admin approval. After the approval, the identity has an `ACTIVE` status. */\n  PENDING_ADMIN_APPROVAL_REQUIRED = 'PENDING_ADMIN_APPROVAL_REQUIRED',\n  /** The identity has to verify the email. After the verification, the identity has an `ACTIVE` status. */\n  PENDING_EMAIL_VERIFICATION_REQUIRED = 'PENDING_EMAIL_VERIFICATION_REQUIRED',\n  /** The identity must complete the site's profile-completion form. Other pending requirements may remain after completion. */\n  PENDING_PROFILE_COMPLETION_REQUIRED = 'PENDING_PROFILE_COMPLETION_REQUIRED',\n}\n\n/** @enumType */\nexport type ReasonWithLiterals =\n  | Reason\n  | 'UNKNOWN_REASON'\n  | 'PENDING_ADMIN_APPROVAL_REQUIRED'\n  | 'PENDING_EMAIL_VERIFICATION_REQUIRED'\n  | 'PENDING_PROFILE_COMPLETION_REQUIRED';\n\nexport interface Factor {\n  /**\n   * Factor ID.\n   * @format GUID\n   */\n  factorId?: string;\n  /** Factor type. */\n  type?: FactorTypeWithLiterals;\n  /** Factor status. */\n  status?: StatusWithLiterals;\n}\n\nexport enum FactorType {\n  /** Requires a password. */\n  PASSWORD = 'PASSWORD',\n  /** Requires a code sent via SMS. */\n  SMS = 'SMS',\n  /** Requires a code sent by phone call. */\n  CALL = 'CALL',\n  /** Requires a code sent by email. */\n  EMAIL = 'EMAIL',\n  /** Requires authentication via an authenticator app. */\n  TOTP = 'TOTP',\n  /** Requires authentication via a push notification. */\n  PUSH = 'PUSH',\n  /** Requires authentication via WebAuthn/passkey. */\n  WEBAUTHN = 'WEBAUTHN',\n  /** Requires a recovery code. */\n  RECOVERY_CODE = 'RECOVERY_CODE',\n}\n\n/** @enumType */\nexport type FactorTypeWithLiterals =\n  | FactorType\n  | 'PASSWORD'\n  | 'SMS'\n  | 'CALL'\n  | 'EMAIL'\n  | 'TOTP'\n  | 'PUSH'\n  | 'WEBAUTHN'\n  | 'RECOVERY_CODE';\n\nexport enum Status {\n  /** Factor requires activation. */\n  INACTIVE = 'INACTIVE',\n  /** Factor is active and can be used for authentication. */\n  ACTIVE = 'ACTIVE',\n  /** Factor is blocked and cannot be used for authentication. The user should reenroll the factor. */\n  REQUIRE_REENROLL = 'REQUIRE_REENROLL',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'INACTIVE'\n  | 'ACTIVE'\n  | 'REQUIRE_REENROLL';\n\nexport interface CustomValue extends CustomValueValueOneOf {\n  /** String value. */\n  strValue?: string;\n  /** Number value. */\n  numValue?: number;\n  /** Date value. */\n  dateValue?: Date | null;\n  /** List value. */\n  listValue?: ListValue;\n  /** Map value. */\n  mapValue?: MapValue;\n}\n\n/** @oneof */\nexport interface CustomValueValueOneOf {\n  /** String value. */\n  strValue?: string;\n  /** Number value. */\n  numValue?: number;\n  /** Date value. */\n  dateValue?: Date | null;\n  /** List value. */\n  listValue?: ListValue;\n  /** Map value. */\n  mapValue?: MapValue;\n}\n\nexport interface ListValue {\n  /** Custom value. */\n  value?: CustomValue[];\n}\n\nexport interface MapValue {\n  /** Mapped custom value. */\n  value?: Record<string, CustomValue>;\n}\n\nexport interface RequireMfaData {\n  /**\n   * The factors available for the user to perform the required MFA.\n   * @maxSize 100\n   */\n  availableFactors?: V1Factor[];\n  /** The reason the user is required to perform MFA. */\n  reason?: MfaReasonWithLiterals;\n}\n\nexport interface V1Factor {\n  /** Type of verification factor. */\n  factorType?: FactorTypeWithLiterals;\n  /** Availability status for second factor */\n  factorStatus?: FactorStatusWithLiterals;\n}\n\nexport enum FactorStatus {\n  ENABLED = 'ENABLED',\n  REQUIRE_ACTIVATION = 'REQUIRE_ACTIVATION',\n  REQUIRE_REENROLL = 'REQUIRE_REENROLL',\n  ENABLED_BY_RULE = 'ENABLED_BY_RULE',\n  DISABLED_BY_RULE = 'DISABLED_BY_RULE',\n}\n\n/** @enumType */\nexport type FactorStatusWithLiterals =\n  | FactorStatus\n  | 'ENABLED'\n  | 'REQUIRE_ACTIVATION'\n  | 'REQUIRE_REENROLL'\n  | 'ENABLED_BY_RULE'\n  | 'DISABLED_BY_RULE';\n\nexport enum MfaReason {\n  /** Mfa is required due to user settings */\n  USER_SETTINGS = 'USER_SETTINGS',\n  /** Mfa is required due to high risk login */\n  HIGH_RISK_LOGIN = 'HIGH_RISK_LOGIN',\n}\n\n/** @enumType */\nexport type MfaReasonWithLiterals =\n  | MfaReason\n  | 'USER_SETTINGS'\n  | 'HIGH_RISK_LOGIN';\n\nexport interface MfaChallengeData {\n  /** Type of verifation factor. */\n  factorType?: FactorTypeWithLiterals;\n  verificationChallengeData?: VerificationChallenge;\n  /**\n   * Factors types the user can choose from to verify themselves.\n   * @maxSize 100\n   */\n  availableFactors?: V1Factor[];\n  /** The reason the user is required for verification. */\n  reason?: MfaReasonWithLiterals;\n}\n\nexport interface VerificationChallenge\n  extends VerificationChallengeFactorChallengeDataOneOf {\n  pushData?: PushChallengeData;\n  webauthnData?: WebAuthnChallengeData;\n  /** @maxLength 200 */\n  hint?: string | null;\n}\n\n/** @oneof */\nexport interface VerificationChallengeFactorChallengeDataOneOf {\n  pushData?: PushChallengeData;\n  webauthnData?: WebAuthnChallengeData;\n}\n\nexport interface PushChallengeData {\n  /**\n   * This should be tied to a specific push notification.\n   * It will be sent in subsequent requests to verify the factor.\n   * @maxLength 36\n   */\n  transactionId?: string;\n}\n\nexport interface WebAuthnChallengeData {\n  /**\n   * A unique identifier for this challenge that will be used to correlate\n   * the authentication response with this challenge.\n   * This should be a cryptographically random GUID to prevent guessing attacks.\n   * @format GUID\n   */\n  challengeId?: string;\n  /**\n   * A PublicKeyCredentialRequestOptions JSON as defined in the WebAuthn spec (https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialrequestoptions).\n   * @maxLength 40000\n   */\n  publicKeyCredentialRequestOptionsJson?: string;\n}\n\nexport interface RequireFirstFactorData {\n  /**\n   * Organization the identity is under.\n   * @format GUID\n   */\n  organizationId?: string;\n}\n\n/** @docsIgnore */\nexport type VerifyDuringAuthenticationApplicationErrors = {\n  code?: 'VERIFICATION_FAILED';\n  description?: string;\n  data?: Record<string, any>;\n};\n\n/**\n * Starts an email verification process by sending a verification code to the identity's email address.\n * The code is sent to the email associated with the provided `identityId`, and the returned `verificationId`\n * identifies the verification process.\n *\n * Email verification is required when the registering member is already listed as a contact, or when it\n * is required by the site's member settings.\n *\n * During registration or authentication, the member then completes verification by calling\n * `VerifyDuringAuthentication` with the `state_token` of the `REQUIRE_EMAIL_VERIFICATION` state — not the\n * `verificationId` returned here, which `VerifyDuringAuthentication` does not accept.\n * @public\n * @permissionId IAM.START\n * @fqn wix.iam.verification.v1.VerificationService.Start\n */\nexport async function start(\n  options?: StartOptions\n): Promise<NonNullablePaths<StartResponse, `verificationId`, 0>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    identityId: options?.identityId,\n    target: options?.target,\n  });\n\n  const reqOpts = ambassadorWixIamVerificationV1StartResponse.start(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          identityId: '$[0].identityId',\n          target: '$[0].target',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface StartOptions {\n  /**\n   * ID of the identity whose email address should be verified. The verification code is sent to this identity's\n   * email. Currently required — the request fails if it is omitted.\n   * @format GUID\n   */\n  identityId?: string | null;\n  /** Delivery channel for the verification code. Currently only `EMAIL` is supported. */\n  target?: TargetWithLiterals;\n}\n\n/**\n * Continues the registration process when a member is required to verify an email address\n * using a verification code received by email.\n *\n * Email verification is required when the registering member is already listed as a contact.\n *\n * Typically, after a successful verification, you generate and use member tokens for the\n * registered member so that subsequent API calls are called as part of a member session.\n * @param code - The code to verify.\n * @public\n * @requiredField code\n * @requiredField options\n * @requiredField options.stateToken\n * @fqn wix.iam.verification.v1.VerificationService.VerifyDuringAuthentication\n */\nexport async function verifyDuringAuthentication(\n  code: string,\n  options: NonNullablePaths<VerifyDuringAuthenticationOptions, `stateToken`, 0>\n): Promise<\n  NonNullablePaths<\n    StateMachineResponse,\n    | `state`\n    | `identity.connections`\n    | `identity.connections.${number}.idpConnection.idpConnectionId`\n    | `identity.connections.${number}.idpConnection.idpUserId`\n    | `identity.connections.${number}.authenticatorConnection.authenticatorConnectionId`\n    | `identity.connections.${number}.authenticatorConnection.reEnrollmentRequired`\n    | `identity.identityProfile.emails`\n    | `identity.identityProfile.phones`\n    | `identity.identityProfile.labels`\n    | `identity.identityProfile.privacyStatus`\n    | `identity.identityProfile.customFields`\n    | `identity.identityProfile.customFields.${number}.name`\n    | `identity.identityProfile.customFields.${number}.value.strValue`\n    | `identity.identityProfile.customFields.${number}.value.numValue`\n    | `identity.identityProfile.customFields.${number}.value.boolValue`\n    | `identity.identityProfile.secondaryEmails`\n    | `identity.identityProfile.secondaryEmails.${number}.email`\n    | `identity.identityProfile.secondaryEmails.${number}.tag`\n    | `identity.identityProfile.phonesV2`\n    | `identity.identityProfile.phonesV2.${number}.phone`\n    | `identity.identityProfile.phonesV2.${number}.tag`\n    | `identity.identityProfile.addresses`\n    | `identity.identityProfile.addresses.${number}.tag`\n    | `identity.email.address`\n    | `identity.email.isVerified`\n    | `identity.status.name`\n    | `identity.status.reasons`\n    | `identity.factors`\n    | `identity.factors.${number}.factorId`\n    | `identity.factors.${number}.type`\n    | `identity.factors.${number}.status`,\n    5\n  > & {\n    __applicationErrorsType?: VerifyDuringAuthenticationApplicationErrors;\n  }\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    code: code,\n    stateToken: options?.stateToken,\n  });\n\n  const reqOpts =\n    ambassadorWixIamVerificationV1StartResponse.verifyDuringAuthentication(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTAddressToSDKAddress,\n          paths: TRANSFORM_PATHS_0,\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          code: '$[0]',\n          stateToken: '$[1].stateToken',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['code', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface VerifyDuringAuthenticationOptions {\n  /** A state token representing the `REQUIRE_EMAIL_VERIFICATION` state. */\n  stateToken: string;\n}\n","import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n  { path: 'identity.createdDate' },\n  { path: 'identity.updatedDate' },\n  { path: 'identity.identityProfile.customFields.value.dateValue' },\n  { path: 'additionalData.*.dateValue' },\n];\nconst TRANSFORM_PATHS_1 = [\n  { path: 'identity.identityProfile.customFields.value.numValue' },\n  { path: 'additionalData.*.numValue' },\n];\n\nfunction resolveWixIamVerificationV1VerificationServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www.wixapis.com': [\n      {\n        srcPath: '/_api/iam/verification',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/iam/verification',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/iam/verification',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/iam/verification/v1/auth/resend',\n        destPath: '/v1/auth/resend',\n      },\n      {\n        srcPath: '/iam/verification/v1/Start',\n        destPath: '/v1/Start',\n      },\n      {\n        srcPath: '/iam/verification/v1/auth/verify',\n        destPath: '/v1/auth/verify',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_identity_verification';\n\n/**\n * Starts an email verification process by sending a verification code to the identity's email address.\n * The code is sent to the email associated with the provided `identityId`, and the returned `verificationId`\n * identifies the verification process.\n *\n * Email verification is required when the registering member is already listed as a contact, or when it\n * is required by the site's member settings.\n *\n * During registration or authentication, the member then completes verification by calling\n * `VerifyDuringAuthentication` with the `state_token` of the `REQUIRE_EMAIL_VERIFICATION` state — not the\n * `verificationId` returned here, which `VerifyDuringAuthentication` does not accept.\n */\nexport function start(payload: object): RequestOptionsFactory<any> {\n  function __start({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.iam.verification.v1.start_response',\n      method: 'POST' as any,\n      methodFqn: 'wix.iam.verification.v1.VerificationService.Start',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixIamVerificationV1VerificationServiceUrl({\n        protoPath: '/v1/start',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __start;\n}\n\n/**\n * Continues the registration process when a member is required to verify an email address\n * using a verification code received by email.\n *\n * Email verification is required when the registering member is already listed as a contact.\n *\n * Typically, after a successful verification, you generate and use member tokens for the\n * registered member so that subsequent API calls are called as part of a member session.\n */\nexport function verifyDuringAuthentication(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __verifyDuringAuthentication({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.iam.verification.v1.start_response',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.iam.verification.v1.VerificationService.VerifyDuringAuthentication',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixIamVerificationV1VerificationServiceUrl({\n        protoPath: '/v1/auth/verify',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __verifyDuringAuthentication;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  StartOptions,\n  StartResponse,\n  StateMachineResponse,\n  VerifyDuringAuthenticationApplicationErrors,\n  VerifyDuringAuthenticationOptions,\n  start as universalStart,\n  verifyDuringAuthentication as universalVerifyDuringAuthentication,\n} from './iam-verification-v1-start-response-verification.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/identity' };\n\nexport function start(httpClient: HttpClient): StartSignature {\n  return (options?: StartOptions) =>\n    universalStart(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface StartSignature {\n  /**\n   * Starts an email verification process by sending a verification code to the identity's email address.\n   * The code is sent to the email associated with the provided `identityId`, and the returned `verificationId`\n   * identifies the verification process.\n   *\n   * Email verification is required when the registering member is already listed as a contact, or when it\n   * is required by the site's member settings.\n   *\n   * During registration or authentication, the member then completes verification by calling\n   * `VerifyDuringAuthentication` with the `state_token` of the `REQUIRE_EMAIL_VERIFICATION` state — not the\n   * `verificationId` returned here, which `VerifyDuringAuthentication` does not accept.\n   */\n  (options?: StartOptions): Promise<\n    NonNullablePaths<StartResponse, `verificationId`, 0>\n  >;\n}\n\nexport function verifyDuringAuthentication(\n  httpClient: HttpClient\n): VerifyDuringAuthenticationSignature {\n  return (\n    code: string,\n    options: NonNullablePaths<\n      VerifyDuringAuthenticationOptions,\n      `stateToken`,\n      0\n    >\n  ) =>\n    universalVerifyDuringAuthentication(\n      code,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface VerifyDuringAuthenticationSignature {\n  /**\n   * Continues the registration process when a member is required to verify an email address\n   * using a verification code received by email.\n   *\n   * Email verification is required when the registering member is already listed as a contact.\n   *\n   * Typically, after a successful verification, you generate and use member tokens for the\n   * registered member so that subsequent API calls are called as part of a member session.\n   * @param - The code to verify.\n   */\n  (\n    code: string,\n    options: NonNullablePaths<\n      VerifyDuringAuthenticationOptions,\n      `stateToken`,\n      0\n    >\n  ): Promise<\n    NonNullablePaths<\n      StateMachineResponse,\n      | `state`\n      | `identity.connections`\n      | `identity.connections.${number}.idpConnection.idpConnectionId`\n      | `identity.connections.${number}.idpConnection.idpUserId`\n      | `identity.connections.${number}.authenticatorConnection.authenticatorConnectionId`\n      | `identity.connections.${number}.authenticatorConnection.reEnrollmentRequired`\n      | `identity.identityProfile.emails`\n      | `identity.identityProfile.phones`\n      | `identity.identityProfile.labels`\n      | `identity.identityProfile.privacyStatus`\n      | `identity.identityProfile.customFields`\n      | `identity.identityProfile.customFields.${number}.name`\n      | `identity.identityProfile.customFields.${number}.value.strValue`\n      | `identity.identityProfile.customFields.${number}.value.numValue`\n      | `identity.identityProfile.customFields.${number}.value.boolValue`\n      | `identity.identityProfile.secondaryEmails`\n      | `identity.identityProfile.secondaryEmails.${number}.email`\n      | `identity.identityProfile.secondaryEmails.${number}.tag`\n      | `identity.identityProfile.phonesV2`\n      | `identity.identityProfile.phonesV2.${number}.phone`\n      | `identity.identityProfile.phonesV2.${number}.tag`\n      | `identity.identityProfile.addresses`\n      | `identity.identityProfile.addresses.${number}.tag`\n      | `identity.email.address`\n      | `identity.email.isVerified`\n      | `identity.status.name`\n      | `identity.status.reasons`\n      | `identity.factors`\n      | `identity.factors.${number}.factorId`\n      | `identity.factors.${number}.type`\n      | `identity.factors.${number}.status`,\n      5\n    > & {\n      __applicationErrorsType?: VerifyDuringAuthenticationApplicationErrors;\n    }\n  >;\n}\n\nexport {\n  Address,\n  AddressTag,\n  AddressWrapper,\n  AuthenticatorConnection,\n  Connection,\n  ConnectionTypeOneOf,\n  CustomField,\n  CustomValue,\n  CustomValueValueOneOf,\n  Email,\n  EmailTag,\n  Factor,\n  FactorStatus,\n  FactorType,\n  Identity,\n  IdentityProfile,\n  IdpConnection,\n  ListValue,\n  MapValue,\n  Metadata,\n  MfaChallengeData,\n  MfaReason,\n  Phone,\n  PhoneTag,\n  PrivacyStatus,\n  PushChallengeData,\n  Reason,\n  RequireFirstFactorData,\n  RequireMfaData,\n  SecondaryEmail,\n  StartOptions,\n  StartRequest,\n  StartResponse,\n  StateMachineResponse,\n  StateMachineResponseStateDataOneOf,\n  StateType,\n  Status,\n  StatusName,\n  StatusV2,\n  Target,\n  V1CustomValue,\n  V1CustomValueValueOneOf,\n  V1Factor,\n  V1ListValue,\n  V1MapValue,\n  VerificationChallenge,\n  VerificationChallengeFactorChallengeDataOneOf,\n  VerifyDuringAuthenticationOptions,\n  VerifyDuringAuthenticationRequest,\n  VerifyRequest,\n  VerifyResponse,\n  WebAuthnChallengeData,\n} from './iam-verification-v1-start-response-verification.universal.js';\n","import {\n  start as publicStart,\n  verifyDuringAuthentication as publicVerifyDuringAuthentication,\n} from './iam-verification-v1-start-response-verification.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const start: MaybeContext<\n  BuildRESTFunction<typeof publicStart> & typeof publicStart\n> = /*#__PURE__*/ createRESTModule(publicStart);\nexport const verifyDuringAuthentication: MaybeContext<\n  BuildRESTFunction<typeof publicVerifyDuringAuthentication> &\n    typeof publicVerifyDuringAuthentication\n> = /*#__PURE__*/ createRESTModule(publicVerifyDuringAuthentication);\n\nexport {\n  Target,\n  StateType,\n  PrivacyStatus,\n  EmailTag,\n  PhoneTag,\n  AddressTag,\n  StatusName,\n  Reason,\n  FactorType,\n  Status,\n  FactorStatus,\n  MfaReason,\n} from './iam-verification-v1-start-response-verification.universal.js';\nexport {\n  StartResponse,\n  StartRequest,\n  VerifyRequest,\n  VerifyResponse,\n  VerifyDuringAuthenticationRequest,\n  StateMachineResponse,\n  StateMachineResponseStateDataOneOf,\n  Identity,\n  Connection,\n  ConnectionTypeOneOf,\n  IdpConnection,\n  AuthenticatorConnection,\n  IdentityProfile,\n  CustomField,\n  V1CustomValue,\n  V1CustomValueValueOneOf,\n  V1ListValue,\n  V1MapValue,\n  SecondaryEmail,\n  Phone,\n  AddressWrapper,\n  Address,\n  Metadata,\n  Email,\n  StatusV2,\n  Factor,\n  CustomValue,\n  CustomValueValueOneOf,\n  ListValue,\n  MapValue,\n  RequireMfaData,\n  V1Factor,\n  MfaChallengeData,\n  VerificationChallenge,\n  VerificationChallengeFactorChallengeDataOneOf,\n  PushChallengeData,\n  WebAuthnChallengeData,\n  RequireFirstFactorData,\n  StartOptions,\n  VerifyDuringAuthenticationOptions,\n} from './iam-verification-v1-start-response-verification.universal.js';\nexport {\n  TargetWithLiterals,\n  StateTypeWithLiterals,\n  PrivacyStatusWithLiterals,\n  EmailTagWithLiterals,\n  PhoneTagWithLiterals,\n  AddressTagWithLiterals,\n  StatusNameWithLiterals,\n  ReasonWithLiterals,\n  FactorTypeWithLiterals,\n  StatusWithLiterals,\n  FactorStatusWithLiterals,\n  MfaReasonWithLiterals,\n  VerifyDuringAuthenticationApplicationErrors,\n} from './iam-verification-v1-start-response-verification.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACJP,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,uBAAuB;AAAA,EAC/B,EAAE,MAAM,uBAAuB;AAAA,EAC/B,EAAE,MAAM,wDAAwD;AAAA,EAChE,EAAE,MAAM,6BAA6B;AACvC;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,uDAAuD;AAAA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AA,EACF,SAAS,KAAU;AACjB,UAAM,mBAAmB;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B;AAAA,UACxB,MAAM;AAAA,UACN,YAAY;AAAA,QACd;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,QAAQ,SAAS;AAAA,IACpB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;;;AE95BO,SAASe,OAAM,YAAwC;AAC5D,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAoBO,SAASC,4BACd,YACqC;AACrC,SAAO,CACL,MACA,YAMAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;ACrDA,SAAS,wBAAwB;AAG1B,IAAMC,SAEK,iCAAiBA,MAAW;AACvC,IAAMC,8BAGK,iCAAiBA,2BAAgC;","names":["payload","transformPaths","TRANSFORM_PATHS_0","Target","StateType","PrivacyStatus","EmailTag","PhoneTag","AddressTag","StatusName","Reason","FactorType","Status","FactorStatus","MfaReason","start","verifyDuringAuthentication","start","verifyDuringAuthentication","start","verifyDuringAuthentication"]}