@wix/auto_sdk_identity_authentication 1.0.68 → 1.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,77 @@ import '@wix/sdk-types';
3
3
 
4
4
  interface Authentication {
5
5
  }
6
+ /**
7
+ * Published for a passed check as well as a rejected one, so a consumer can tell a rejection rate
8
+ * from a rejection count.
9
+ *
10
+ * The caller's IP, geo and user agent are deliberately not fields: they travel as call-scope aspects
11
+ * in the message headers, which only reach a single-record subscription - a batch handler runs on an
12
+ * orphan CallScope and loses them.
13
+ */
14
+ interface CaptchaVerification {
15
+ /** @format GUID */
16
+ eventId?: string;
17
+ /** When the check happened, not when this was published. */
18
+ eventTime?: Date | null;
19
+ flow?: CaptchaFlowWithLiterals;
20
+ identityType?: CaptchaIdentityTypeWithLiterals;
21
+ outcome?: CaptchaOutcomeWithLiterals;
22
+ captchaKind?: CaptchaKindWithLiterals;
23
+ /**
24
+ * How far the assessment landed from the minimum it was judged against, positive for a pass. A
25
+ * margin rather than a raw score because that minimum differs by surface and OS, so raw scores are
26
+ * not comparable across channels.
27
+ *
28
+ * Absent when no score decided the outcome - an inauthentic token, no token at all, or a
29
+ * PerimeterX escalation where reCAPTCHA itself passed.
30
+ * @min -1
31
+ * @max 1
32
+ */
33
+ minScoreMargin?: number | null;
34
+ /**
35
+ * Google's reasons for the score: AUTOMATION, UNEXPECTED_ENVIRONMENT, TOO_MUCH_TRAFFIC, ...
36
+ * @maxLength 100
37
+ * @maxSize 100
38
+ */
39
+ reasons?: string[];
40
+ }
41
+ declare enum CaptchaFlow {
42
+ REGISTER = "REGISTER",
43
+ /** Not published yet. */
44
+ LOGIN = "LOGIN"
45
+ }
46
+ /** @enumType */
47
+ type CaptchaFlowWithLiterals = CaptchaFlow | 'REGISTER' | 'LOGIN';
48
+ declare enum CaptchaIdentityType {
49
+ USER = "USER",
50
+ /** Not published yet. */
51
+ MEMBER = "MEMBER"
52
+ }
53
+ /** @enumType */
54
+ type CaptchaIdentityTypeWithLiterals = CaptchaIdentityType | 'USER' | 'MEMBER';
55
+ declare enum CaptchaOutcome {
56
+ PASSED = "PASSED",
57
+ LOW_SCORE = "LOW_SCORE",
58
+ /** Rejected as inauthentic, which is independent of the score. */
59
+ INVALID_TOKEN = "INVALID_TOKEN",
60
+ MISSING_TOKEN = "MISSING_TOKEN",
61
+ /**
62
+ * Escalated to a visible challenge. PerimeterX can cause this while reCAPTCHA itself passed, so it
63
+ * does not on its own mean the captcha scored badly - `reasons` distinguishes them.
64
+ */
65
+ VISIBLE_REQUIRED = "VISIBLE_REQUIRED"
66
+ }
67
+ /** @enumType */
68
+ type CaptchaOutcomeWithLiterals = CaptchaOutcome | 'PASSED' | 'LOW_SCORE' | 'INVALID_TOKEN' | 'MISSING_TOKEN' | 'VISIBLE_REQUIRED';
69
+ declare enum CaptchaKind {
70
+ INVISIBLE = "INVISIBLE",
71
+ VISIBLE = "VISIBLE",
72
+ /** Verified against a site key the client registered itself (branded and headless apps). */
73
+ CLIENT_SITE_KEY = "CLIENT_SITE_KEY"
74
+ }
75
+ /** @enumType */
76
+ type CaptchaKindWithLiterals = CaptchaKind | 'INVISIBLE' | 'VISIBLE' | 'CLIENT_SITE_KEY';
6
77
  interface RegisterV2Request {
7
78
  /** Identifier of the registering member. */
8
79
  loginId: LoginId;
@@ -916,8 +987,6 @@ interface VerifyRequest extends VerifyRequestFactorDataOneOf {
916
987
  webauthnData?: WebAuthnVerifyData;
917
988
  /** RecoveryCode response from a one-time code. */
918
989
  recoveryCodeData?: RecoveryCodeVerifyData;
919
- /** Password for first factor verification. */
920
- passwordData?: PasswordVerifyData;
921
990
  /**
922
991
  * State token from the initial authentication response.
923
992
  *
@@ -955,8 +1024,6 @@ interface VerifyRequestFactorDataOneOf {
955
1024
  webauthnData?: WebAuthnVerifyData;
956
1025
  /** RecoveryCode response from a one-time code. */
957
1026
  recoveryCodeData?: RecoveryCodeVerifyData;
958
- /** Password for first factor verification. */
959
- passwordData?: PasswordVerifyData;
960
1027
  }
961
1028
  interface SmsVerifyData {
962
1029
  /**
@@ -1010,13 +1077,6 @@ interface RecoveryCodeVerifyData {
1010
1077
  */
1011
1078
  code?: string | null;
1012
1079
  }
1013
- interface PasswordVerifyData {
1014
- /**
1015
- * @minLength 1
1016
- * @maxLength 100
1017
- */
1018
- password?: string;
1019
- }
1020
1080
  interface GetWebauthnChallengeRequest {
1021
1081
  /**
1022
1082
  * Identifier of the member requesting the WebAuthn challenge.
@@ -1029,6 +1089,97 @@ interface GetWebauthnChallengeResponse {
1029
1089
  /** The challenge that will be used for a WebAuthn authentication ceremony. */
1030
1090
  webauthn?: WebAuthnChallengeData;
1031
1091
  }
1092
+ interface MessageEnvelope {
1093
+ /**
1094
+ * App instance ID.
1095
+ * @format GUID
1096
+ */
1097
+ instanceId?: string | null;
1098
+ /**
1099
+ * Event type.
1100
+ * @maxLength 150
1101
+ */
1102
+ eventType?: string;
1103
+ /** The identification type and identity data. */
1104
+ identity?: IdentificationData;
1105
+ /** Stringify payload. */
1106
+ data?: string;
1107
+ /** Details related to the account */
1108
+ accountInfo?: AccountInfo;
1109
+ }
1110
+ interface IdentificationData extends IdentificationDataIdOneOf {
1111
+ /**
1112
+ * ID of a site visitor that has not logged in to the site.
1113
+ * @format GUID
1114
+ */
1115
+ anonymousVisitorId?: string;
1116
+ /**
1117
+ * ID of a site visitor that has logged in to the site.
1118
+ * @format GUID
1119
+ */
1120
+ memberId?: string;
1121
+ /**
1122
+ * ID of a Wix user (site owner, contributor, etc.).
1123
+ * @format GUID
1124
+ */
1125
+ wixUserId?: string;
1126
+ /**
1127
+ * ID of an app.
1128
+ * @format GUID
1129
+ */
1130
+ appId?: string;
1131
+ /** @readonly */
1132
+ identityType?: WebhookIdentityTypeWithLiterals;
1133
+ }
1134
+ /** @oneof */
1135
+ interface IdentificationDataIdOneOf {
1136
+ /**
1137
+ * ID of a site visitor that has not logged in to the site.
1138
+ * @format GUID
1139
+ */
1140
+ anonymousVisitorId?: string;
1141
+ /**
1142
+ * ID of a site visitor that has logged in to the site.
1143
+ * @format GUID
1144
+ */
1145
+ memberId?: string;
1146
+ /**
1147
+ * ID of a Wix user (site owner, contributor, etc.).
1148
+ * @format GUID
1149
+ */
1150
+ wixUserId?: string;
1151
+ /**
1152
+ * ID of an app.
1153
+ * @format GUID
1154
+ */
1155
+ appId?: string;
1156
+ }
1157
+ declare enum WebhookIdentityType {
1158
+ UNKNOWN = "UNKNOWN",
1159
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1160
+ MEMBER = "MEMBER",
1161
+ WIX_USER = "WIX_USER",
1162
+ APP = "APP"
1163
+ }
1164
+ /** @enumType */
1165
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1166
+ interface AccountInfo {
1167
+ /**
1168
+ * ID of the Wix account associated with the event.
1169
+ * @format GUID
1170
+ */
1171
+ accountId?: string | null;
1172
+ /**
1173
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
1174
+ * @format GUID
1175
+ */
1176
+ parentAccountId?: string | null;
1177
+ /**
1178
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
1179
+ * @format GUID
1180
+ */
1181
+ siteId?: string | null;
1182
+ }
1032
1183
  /** @docsIgnore */
1033
1184
  type RegisterV2ApplicationErrors = {
1034
1185
  code?: 'UNIMPLEMENTED_FEATURE';
@@ -1161,4 +1312,4 @@ declare function changePassword(): __PublicMethodMetaInfo<'POST', {}, ChangePass
1161
1312
  declare function signOn(): __PublicMethodMetaInfo<'POST', {}, SignOnRequest$1, SignOnRequest, SignOnResponse$1, SignOnResponse>;
1162
1313
  declare function logout(): __PublicMethodMetaInfo<'GET', {}, LogoutRequest$1, LogoutRequest, RawHttpResponse$1, RawHttpResponse>;
1163
1314
 
1164
- export { type Address as AddressOriginal, AddressTag as AddressTagOriginal, type AddressTagWithLiterals as AddressTagWithLiteralsOriginal, type AddressWrapper as AddressWrapperOriginal, type Authentication as AuthenticationOriginal, type AuthenticatorConnection as AuthenticatorConnectionOriginal, type CallVerifyData as CallVerifyDataOriginal, type CaptchaToken as CaptchaTokenOriginal, type CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOfOriginal, type ChangePasswordRequest as ChangePasswordRequestOriginal, type ChangePasswordResponse as ChangePasswordResponseOriginal, type ConnectIdpRequest as ConnectIdpRequestOriginal, type Connection as ConnectionOriginal, type ConnectionTypeOneOf as ConnectionTypeOneOfOriginal, type CustomField as CustomFieldOriginal, type CustomValue as CustomValueOriginal, type CustomValueValueOneOf as CustomValueValueOneOfOriginal, DeliveryMethod as DeliveryMethodOriginal, type DeliveryMethodWithLiterals as DeliveryMethodWithLiteralsOriginal, type Email as EmailOriginal, EmailTag as EmailTagOriginal, type EmailTagWithLiterals as EmailTagWithLiteralsOriginal, type EmailValidationFailure as EmailValidationFailureOriginal, type ExternalEmailVerifyData as ExternalEmailVerifyDataOriginal, type Factor as FactorOriginal, FactorStatus as FactorStatusOriginal, type FactorStatusWithLiterals as FactorStatusWithLiteralsOriginal, FactorType as FactorTypeOriginal, type FactorTypeWithLiterals as FactorTypeWithLiteralsOriginal, type GetWebauthnChallengeRequest as GetWebauthnChallengeRequestOriginal, type GetWebauthnChallengeResponse as GetWebauthnChallengeResponseOriginal, type HeadersEntry as HeadersEntryOriginal, type Identity as IdentityOriginal, type IdentityProfile as IdentityProfileOriginal, type IdpConnection as IdpConnectionOriginal, type ListValue as ListValueOriginal, type LoginCallbackRequest as LoginCallbackRequestOriginal, type LoginId as LoginIdOriginal, type LoginIdTypeOneOf as LoginIdTypeOneOfOriginal, type LoginV2ApplicationErrors as LoginV2ApplicationErrorsOriginal, type LoginV2Request as LoginV2RequestOriginal, type LoginV2ValidationErrors as LoginV2ValidationErrorsOriginal, type LoginWithIdpConnectionRedirectRequest as LoginWithIdpConnectionRedirectRequestOriginal, type LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequestOriginal, type LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequestOriginal, type LogoutRequest as LogoutRequestOriginal, type MapValue as MapValueOriginal, type Metadata as MetadataOriginal, type MfaChallengeData as MfaChallengeDataOriginal, MfaReason as MfaReasonOriginal, type MfaReasonWithLiterals as MfaReasonWithLiteralsOriginal, type PasswordVerifyData as PasswordVerifyDataOriginal, type PathParametersEntry as PathParametersEntryOriginal, type Phone as PhoneOriginal, PhoneTag as PhoneTagOriginal, type PhoneTagWithLiterals as PhoneTagWithLiteralsOriginal, PrivacyStatus as PrivacyStatusOriginal, type PrivacyStatusWithLiterals as PrivacyStatusWithLiteralsOriginal, type PushChallengeData as PushChallengeDataOriginal, type PushVerifyData as PushVerifyDataOriginal, type QueryParametersEntry as QueryParametersEntryOriginal, type RawHttpRequest as RawHttpRequestOriginal, type RawHttpResponse as RawHttpResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RecaptchaForClientSiteKey as RecaptchaForClientSiteKeyOriginal, type RecoveryCodeVerifyData as RecoveryCodeVerifyDataOriginal, type RegisterV2ApplicationErrors as RegisterV2ApplicationErrorsOriginal, type RegisterV2Request as RegisterV2RequestOriginal, type RegisterV2ValidationErrors as RegisterV2ValidationErrorsOriginal, type RequireMfaData as RequireMfaDataOriginal, type SecondaryEmail as SecondaryEmailOriginal, type SignOnRequest as SignOnRequestOriginal, type SignOnResponse as SignOnResponseOriginal, type SmsVerifyData as SmsVerifyDataOriginal, type StateMachineResponse as StateMachineResponseOriginal, type StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOfOriginal, StateType as StateTypeOriginal, type StateTypeWithLiterals as StateTypeWithLiteralsOriginal, StatusName as StatusNameOriginal, type StatusNameWithLiterals as StatusNameWithLiteralsOriginal, Status as StatusOriginal, type StatusV2 as StatusV2Original, type StatusWithLiterals as StatusWithLiteralsOriginal, TenantType as TenantTypeOriginal, type TenantTypeWithLiterals as TenantTypeWithLiteralsOriginal, type TotpVerifyData as TotpVerifyDataOriginal, type V1CustomValue as V1CustomValueOriginal, type V1CustomValueValueOneOf as V1CustomValueValueOneOfOriginal, type V1Factor as V1FactorOriginal, type V1ListValue as V1ListValueOriginal, type V1MapValue as V1MapValueOriginal, V1Reason as V1ReasonOriginal, type V1ReasonWithLiterals as V1ReasonWithLiteralsOriginal, type ValidateEmailRequest as ValidateEmailRequestOriginal, type ValidateEmailResponse as ValidateEmailResponseOriginal, type VerificationChallengeFactorChallengeDataOneOf as VerificationChallengeFactorChallengeDataOneOfOriginal, type VerificationChallenge as VerificationChallengeOriginal, type VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOfOriginal, type VerifyRequest as VerifyRequestOriginal, type WebAuthnChallengeData as WebAuthnChallengeDataOriginal, type WebAuthnVerifyData as WebAuthnVerifyDataOriginal, type __PublicMethodMetaInfo, changePassword, loginV2, logout, registerV2, signOn, validateEmail };
1315
+ export { type AccountInfo as AccountInfoOriginal, type Address as AddressOriginal, AddressTag as AddressTagOriginal, type AddressTagWithLiterals as AddressTagWithLiteralsOriginal, type AddressWrapper as AddressWrapperOriginal, type Authentication as AuthenticationOriginal, type AuthenticatorConnection as AuthenticatorConnectionOriginal, type CallVerifyData as CallVerifyDataOriginal, CaptchaFlow as CaptchaFlowOriginal, type CaptchaFlowWithLiterals as CaptchaFlowWithLiteralsOriginal, CaptchaIdentityType as CaptchaIdentityTypeOriginal, type CaptchaIdentityTypeWithLiterals as CaptchaIdentityTypeWithLiteralsOriginal, CaptchaKind as CaptchaKindOriginal, type CaptchaKindWithLiterals as CaptchaKindWithLiteralsOriginal, CaptchaOutcome as CaptchaOutcomeOriginal, type CaptchaOutcomeWithLiterals as CaptchaOutcomeWithLiteralsOriginal, type CaptchaToken as CaptchaTokenOriginal, type CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOfOriginal, type CaptchaVerification as CaptchaVerificationOriginal, type ChangePasswordRequest as ChangePasswordRequestOriginal, type ChangePasswordResponse as ChangePasswordResponseOriginal, type ConnectIdpRequest as ConnectIdpRequestOriginal, type Connection as ConnectionOriginal, type ConnectionTypeOneOf as ConnectionTypeOneOfOriginal, type CustomField as CustomFieldOriginal, type CustomValue as CustomValueOriginal, type CustomValueValueOneOf as CustomValueValueOneOfOriginal, DeliveryMethod as DeliveryMethodOriginal, type DeliveryMethodWithLiterals as DeliveryMethodWithLiteralsOriginal, type Email as EmailOriginal, EmailTag as EmailTagOriginal, type EmailTagWithLiterals as EmailTagWithLiteralsOriginal, type EmailValidationFailure as EmailValidationFailureOriginal, type ExternalEmailVerifyData as ExternalEmailVerifyDataOriginal, type Factor as FactorOriginal, FactorStatus as FactorStatusOriginal, type FactorStatusWithLiterals as FactorStatusWithLiteralsOriginal, FactorType as FactorTypeOriginal, type FactorTypeWithLiterals as FactorTypeWithLiteralsOriginal, type GetWebauthnChallengeRequest as GetWebauthnChallengeRequestOriginal, type GetWebauthnChallengeResponse as GetWebauthnChallengeResponseOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Identity as IdentityOriginal, type IdentityProfile as IdentityProfileOriginal, type IdpConnection as IdpConnectionOriginal, type ListValue as ListValueOriginal, type LoginCallbackRequest as LoginCallbackRequestOriginal, type LoginId as LoginIdOriginal, type LoginIdTypeOneOf as LoginIdTypeOneOfOriginal, type LoginV2ApplicationErrors as LoginV2ApplicationErrorsOriginal, type LoginV2Request as LoginV2RequestOriginal, type LoginV2ValidationErrors as LoginV2ValidationErrorsOriginal, type LoginWithIdpConnectionRedirectRequest as LoginWithIdpConnectionRedirectRequestOriginal, type LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequestOriginal, type LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequestOriginal, type LogoutRequest as LogoutRequestOriginal, type MapValue as MapValueOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type MfaChallengeData as MfaChallengeDataOriginal, MfaReason as MfaReasonOriginal, type MfaReasonWithLiterals as MfaReasonWithLiteralsOriginal, type PathParametersEntry as PathParametersEntryOriginal, type Phone as PhoneOriginal, PhoneTag as PhoneTagOriginal, type PhoneTagWithLiterals as PhoneTagWithLiteralsOriginal, PrivacyStatus as PrivacyStatusOriginal, type PrivacyStatusWithLiterals as PrivacyStatusWithLiteralsOriginal, type PushChallengeData as PushChallengeDataOriginal, type PushVerifyData as PushVerifyDataOriginal, type QueryParametersEntry as QueryParametersEntryOriginal, type RawHttpRequest as RawHttpRequestOriginal, type RawHttpResponse as RawHttpResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RecaptchaForClientSiteKey as RecaptchaForClientSiteKeyOriginal, type RecoveryCodeVerifyData as RecoveryCodeVerifyDataOriginal, type RegisterV2ApplicationErrors as RegisterV2ApplicationErrorsOriginal, type RegisterV2Request as RegisterV2RequestOriginal, type RegisterV2ValidationErrors as RegisterV2ValidationErrorsOriginal, type RequireMfaData as RequireMfaDataOriginal, type SecondaryEmail as SecondaryEmailOriginal, type SignOnRequest as SignOnRequestOriginal, type SignOnResponse as SignOnResponseOriginal, type SmsVerifyData as SmsVerifyDataOriginal, type StateMachineResponse as StateMachineResponseOriginal, type StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOfOriginal, StateType as StateTypeOriginal, type StateTypeWithLiterals as StateTypeWithLiteralsOriginal, StatusName as StatusNameOriginal, type StatusNameWithLiterals as StatusNameWithLiteralsOriginal, Status as StatusOriginal, type StatusV2 as StatusV2Original, type StatusWithLiterals as StatusWithLiteralsOriginal, TenantType as TenantTypeOriginal, type TenantTypeWithLiterals as TenantTypeWithLiteralsOriginal, type TotpVerifyData as TotpVerifyDataOriginal, type V1CustomValue as V1CustomValueOriginal, type V1CustomValueValueOneOf as V1CustomValueValueOneOfOriginal, type V1Factor as V1FactorOriginal, type V1ListValue as V1ListValueOriginal, type V1MapValue as V1MapValueOriginal, V1Reason as V1ReasonOriginal, type V1ReasonWithLiterals as V1ReasonWithLiteralsOriginal, type ValidateEmailRequest as ValidateEmailRequestOriginal, type ValidateEmailResponse as ValidateEmailResponseOriginal, type VerificationChallengeFactorChallengeDataOneOf as VerificationChallengeFactorChallengeDataOneOfOriginal, type VerificationChallenge as VerificationChallengeOriginal, type VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOfOriginal, type VerifyRequest as VerifyRequestOriginal, type WebAuthnChallengeData as WebAuthnChallengeDataOriginal, type WebAuthnVerifyData as WebAuthnVerifyDataOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, changePassword, loginV2, logout, registerV2, signOn, validateEmail };
package/build/cjs/meta.js CHANGED
@@ -21,6 +21,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
23
  AddressTagOriginal: () => AddressTag,
24
+ CaptchaFlowOriginal: () => CaptchaFlow,
25
+ CaptchaIdentityTypeOriginal: () => CaptchaIdentityType,
26
+ CaptchaKindOriginal: () => CaptchaKind,
27
+ CaptchaOutcomeOriginal: () => CaptchaOutcome,
24
28
  DeliveryMethodOriginal: () => DeliveryMethod,
25
29
  EmailTagOriginal: () => EmailTag,
26
30
  FactorStatusOriginal: () => FactorStatus,
@@ -34,6 +38,7 @@ __export(meta_exports, {
34
38
  StatusOriginal: () => Status,
35
39
  TenantTypeOriginal: () => TenantType,
36
40
  V1ReasonOriginal: () => V1Reason,
41
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
37
42
  changePassword: () => changePassword2,
38
43
  loginV2: () => loginV22,
39
44
  logout: () => logout2,
@@ -371,6 +376,30 @@ function logout(payload) {
371
376
  }
372
377
 
373
378
  // src/iam-authentication-v1-authentication-authentication.types.ts
379
+ var CaptchaFlow = /* @__PURE__ */ ((CaptchaFlow2) => {
380
+ CaptchaFlow2["REGISTER"] = "REGISTER";
381
+ CaptchaFlow2["LOGIN"] = "LOGIN";
382
+ return CaptchaFlow2;
383
+ })(CaptchaFlow || {});
384
+ var CaptchaIdentityType = /* @__PURE__ */ ((CaptchaIdentityType2) => {
385
+ CaptchaIdentityType2["USER"] = "USER";
386
+ CaptchaIdentityType2["MEMBER"] = "MEMBER";
387
+ return CaptchaIdentityType2;
388
+ })(CaptchaIdentityType || {});
389
+ var CaptchaOutcome = /* @__PURE__ */ ((CaptchaOutcome2) => {
390
+ CaptchaOutcome2["PASSED"] = "PASSED";
391
+ CaptchaOutcome2["LOW_SCORE"] = "LOW_SCORE";
392
+ CaptchaOutcome2["INVALID_TOKEN"] = "INVALID_TOKEN";
393
+ CaptchaOutcome2["MISSING_TOKEN"] = "MISSING_TOKEN";
394
+ CaptchaOutcome2["VISIBLE_REQUIRED"] = "VISIBLE_REQUIRED";
395
+ return CaptchaOutcome2;
396
+ })(CaptchaOutcome || {});
397
+ var CaptchaKind = /* @__PURE__ */ ((CaptchaKind2) => {
398
+ CaptchaKind2["INVISIBLE"] = "INVISIBLE";
399
+ CaptchaKind2["VISIBLE"] = "VISIBLE";
400
+ CaptchaKind2["CLIENT_SITE_KEY"] = "CLIENT_SITE_KEY";
401
+ return CaptchaKind2;
402
+ })(CaptchaKind || {});
374
403
  var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
375
404
  PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
376
405
  PrivacyStatus2["PUBLIC"] = "PUBLIC";
@@ -481,6 +510,14 @@ var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
481
510
  DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
482
511
  return DeliveryMethod2;
483
512
  })(DeliveryMethod || {});
513
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
514
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
515
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
516
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
517
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
518
+ WebhookIdentityType2["APP"] = "APP";
519
+ return WebhookIdentityType2;
520
+ })(WebhookIdentityType || {});
484
521
 
485
522
  // src/iam-authentication-v1-authentication-authentication.meta.ts
486
523
  function registerV22() {
@@ -594,6 +631,10 @@ function logout2() {
594
631
  // Annotate the CommonJS export names for ESM import in node:
595
632
  0 && (module.exports = {
596
633
  AddressTagOriginal,
634
+ CaptchaFlowOriginal,
635
+ CaptchaIdentityTypeOriginal,
636
+ CaptchaKindOriginal,
637
+ CaptchaOutcomeOriginal,
597
638
  DeliveryMethodOriginal,
598
639
  EmailTagOriginal,
599
640
  FactorStatusOriginal,
@@ -607,6 +648,7 @@ function logout2() {
607
648
  StatusOriginal,
608
649
  TenantTypeOriginal,
609
650
  V1ReasonOriginal,
651
+ WebhookIdentityTypeOriginal,
610
652
  changePassword,
611
653
  loginV2,
612
654
  logout,