@wix/auto_sdk_identity_authentication 1.0.69 → 1.0.71

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,102 @@ 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
+ /**
22
+ * Legacy combined outcome. Use result and decision_reason instead.
23
+ * @deprecated Legacy combined outcome. Use result and decision_reason instead.
24
+ * @replacedBy result
25
+ * @targetRemovalDate 2027-04-18
26
+ */
27
+ outcome?: CaptchaOutcomeWithLiterals;
28
+ captchaKind?: CaptchaKindWithLiterals;
29
+ /**
30
+ * How far the assessment landed from the minimum it was judged against, positive for a pass. A
31
+ * margin rather than a raw score because that minimum differs by surface and OS, so raw scores are
32
+ * not comparable across channels.
33
+ *
34
+ * Absent when no score decided the outcome - an inauthentic token, no token at all, or a
35
+ * PerimeterX escalation where reCAPTCHA itself passed.
36
+ * @min -1
37
+ * @max 1
38
+ */
39
+ minScoreMargin?: number | null;
40
+ /**
41
+ * Google's reasons for the score: AUTOMATION, UNEXPECTED_ENVIRONMENT, TOO_MUCH_TRAFFIC, ...
42
+ * @maxLength 100
43
+ * @maxSize 100
44
+ */
45
+ reasons?: string[];
46
+ /** What happened after verification, independently of why. */
47
+ result?: CaptchaResultWithLiterals;
48
+ /** The deciding cause of rejection or escalation. Unspecified for a pass. */
49
+ decisionReason?: CaptchaDecisionReasonWithLiterals;
50
+ }
51
+ declare enum CaptchaFlow {
52
+ REGISTER = "REGISTER",
53
+ /** Not published yet. */
54
+ LOGIN = "LOGIN"
55
+ }
56
+ /** @enumType */
57
+ type CaptchaFlowWithLiterals = CaptchaFlow | 'REGISTER' | 'LOGIN';
58
+ declare enum CaptchaIdentityType {
59
+ USER = "USER",
60
+ /** Not published yet. */
61
+ MEMBER = "MEMBER"
62
+ }
63
+ /** @enumType */
64
+ type CaptchaIdentityTypeWithLiterals = CaptchaIdentityType | 'USER' | 'MEMBER';
65
+ declare enum CaptchaOutcome {
66
+ PASSED = "PASSED",
67
+ LOW_SCORE = "LOW_SCORE",
68
+ /** Rejected as inauthentic, which is independent of the score. */
69
+ INVALID_TOKEN = "INVALID_TOKEN",
70
+ MISSING_TOKEN = "MISSING_TOKEN",
71
+ /**
72
+ * Escalated to a visible challenge. PerimeterX can cause this while reCAPTCHA itself passed, so it
73
+ * does not on its own mean the captcha scored badly - `reasons` distinguishes them.
74
+ */
75
+ VISIBLE_REQUIRED = "VISIBLE_REQUIRED"
76
+ }
77
+ /** @enumType */
78
+ type CaptchaOutcomeWithLiterals = CaptchaOutcome | 'PASSED' | 'LOW_SCORE' | 'INVALID_TOKEN' | 'MISSING_TOKEN' | 'VISIBLE_REQUIRED';
79
+ declare enum CaptchaKind {
80
+ INVISIBLE = "INVISIBLE",
81
+ VISIBLE = "VISIBLE",
82
+ /** Verified against a site key the client registered itself (branded and headless apps). */
83
+ CLIENT_SITE_KEY = "CLIENT_SITE_KEY"
84
+ }
85
+ /** @enumType */
86
+ type CaptchaKindWithLiterals = CaptchaKind | 'INVISIBLE' | 'VISIBLE' | 'CLIENT_SITE_KEY';
87
+ declare enum CaptchaResult {
88
+ VERIFICATION_PASSED = "VERIFICATION_PASSED",
89
+ VERIFICATION_REJECTED = "VERIFICATION_REJECTED",
90
+ CHALLENGE_REQUIRED = "CHALLENGE_REQUIRED"
91
+ }
92
+ /** @enumType */
93
+ type CaptchaResultWithLiterals = CaptchaResult | 'VERIFICATION_PASSED' | 'VERIFICATION_REJECTED' | 'CHALLENGE_REQUIRED';
94
+ declare enum CaptchaDecisionReason {
95
+ SCORE_BELOW_THRESHOLD = "SCORE_BELOW_THRESHOLD",
96
+ TOKEN_INVALID = "TOKEN_INVALID",
97
+ TOKEN_MISSING = "TOKEN_MISSING",
98
+ PERIMETERX_REJECTED = "PERIMETERX_REJECTED"
99
+ }
100
+ /** @enumType */
101
+ type CaptchaDecisionReasonWithLiterals = CaptchaDecisionReason | 'SCORE_BELOW_THRESHOLD' | 'TOKEN_INVALID' | 'TOKEN_MISSING' | 'PERIMETERX_REJECTED';
6
102
  interface RegisterV2Request {
7
103
  /** Identifier of the registering member. */
8
104
  loginId: LoginId;
@@ -1018,6 +1114,97 @@ interface GetWebauthnChallengeResponse {
1018
1114
  /** The challenge that will be used for a WebAuthn authentication ceremony. */
1019
1115
  webauthn?: WebAuthnChallengeData;
1020
1116
  }
1117
+ interface MessageEnvelope {
1118
+ /**
1119
+ * App instance ID.
1120
+ * @format GUID
1121
+ */
1122
+ instanceId?: string | null;
1123
+ /**
1124
+ * Event type.
1125
+ * @maxLength 150
1126
+ */
1127
+ eventType?: string;
1128
+ /** The identification type and identity data. */
1129
+ identity?: IdentificationData;
1130
+ /** Stringify payload. */
1131
+ data?: string;
1132
+ /** Details related to the account */
1133
+ accountInfo?: AccountInfo;
1134
+ }
1135
+ interface IdentificationData extends 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
+ /** @readonly */
1157
+ identityType?: WebhookIdentityTypeWithLiterals;
1158
+ }
1159
+ /** @oneof */
1160
+ interface IdentificationDataIdOneOf {
1161
+ /**
1162
+ * ID of a site visitor that has not logged in to the site.
1163
+ * @format GUID
1164
+ */
1165
+ anonymousVisitorId?: string;
1166
+ /**
1167
+ * ID of a site visitor that has logged in to the site.
1168
+ * @format GUID
1169
+ */
1170
+ memberId?: string;
1171
+ /**
1172
+ * ID of a Wix user (site owner, contributor, etc.).
1173
+ * @format GUID
1174
+ */
1175
+ wixUserId?: string;
1176
+ /**
1177
+ * ID of an app.
1178
+ * @format GUID
1179
+ */
1180
+ appId?: string;
1181
+ }
1182
+ declare enum WebhookIdentityType {
1183
+ UNKNOWN = "UNKNOWN",
1184
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1185
+ MEMBER = "MEMBER",
1186
+ WIX_USER = "WIX_USER",
1187
+ APP = "APP"
1188
+ }
1189
+ /** @enumType */
1190
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1191
+ interface AccountInfo {
1192
+ /**
1193
+ * ID of the Wix account associated with the event.
1194
+ * @format GUID
1195
+ */
1196
+ accountId?: string | null;
1197
+ /**
1198
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
1199
+ * @format GUID
1200
+ */
1201
+ parentAccountId?: string | null;
1202
+ /**
1203
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
1204
+ * @format GUID
1205
+ */
1206
+ siteId?: string | null;
1207
+ }
1021
1208
  /** @docsIgnore */
1022
1209
  type RegisterV2ApplicationErrors = {
1023
1210
  code?: 'UNIMPLEMENTED_FEATURE';
@@ -1150,4 +1337,4 @@ declare function changePassword(): __PublicMethodMetaInfo<'POST', {}, ChangePass
1150
1337
  declare function signOn(): __PublicMethodMetaInfo<'POST', {}, SignOnRequest$1, SignOnRequest, SignOnResponse$1, SignOnResponse>;
1151
1338
  declare function logout(): __PublicMethodMetaInfo<'GET', {}, LogoutRequest$1, LogoutRequest, RawHttpResponse$1, RawHttpResponse>;
1152
1339
 
1153
- 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 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 };
1340
+ 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, CaptchaDecisionReason as CaptchaDecisionReasonOriginal, type CaptchaDecisionReasonWithLiterals as CaptchaDecisionReasonWithLiteralsOriginal, 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, CaptchaResult as CaptchaResultOriginal, type CaptchaResultWithLiterals as CaptchaResultWithLiteralsOriginal, 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/es/meta.mjs CHANGED
@@ -326,6 +326,43 @@ function logout(payload) {
326
326
  }
327
327
 
328
328
  // src/iam-authentication-v1-authentication-authentication.types.ts
329
+ var CaptchaFlow = /* @__PURE__ */ ((CaptchaFlow2) => {
330
+ CaptchaFlow2["REGISTER"] = "REGISTER";
331
+ CaptchaFlow2["LOGIN"] = "LOGIN";
332
+ return CaptchaFlow2;
333
+ })(CaptchaFlow || {});
334
+ var CaptchaIdentityType = /* @__PURE__ */ ((CaptchaIdentityType2) => {
335
+ CaptchaIdentityType2["USER"] = "USER";
336
+ CaptchaIdentityType2["MEMBER"] = "MEMBER";
337
+ return CaptchaIdentityType2;
338
+ })(CaptchaIdentityType || {});
339
+ var CaptchaOutcome = /* @__PURE__ */ ((CaptchaOutcome2) => {
340
+ CaptchaOutcome2["PASSED"] = "PASSED";
341
+ CaptchaOutcome2["LOW_SCORE"] = "LOW_SCORE";
342
+ CaptchaOutcome2["INVALID_TOKEN"] = "INVALID_TOKEN";
343
+ CaptchaOutcome2["MISSING_TOKEN"] = "MISSING_TOKEN";
344
+ CaptchaOutcome2["VISIBLE_REQUIRED"] = "VISIBLE_REQUIRED";
345
+ return CaptchaOutcome2;
346
+ })(CaptchaOutcome || {});
347
+ var CaptchaKind = /* @__PURE__ */ ((CaptchaKind2) => {
348
+ CaptchaKind2["INVISIBLE"] = "INVISIBLE";
349
+ CaptchaKind2["VISIBLE"] = "VISIBLE";
350
+ CaptchaKind2["CLIENT_SITE_KEY"] = "CLIENT_SITE_KEY";
351
+ return CaptchaKind2;
352
+ })(CaptchaKind || {});
353
+ var CaptchaResult = /* @__PURE__ */ ((CaptchaResult2) => {
354
+ CaptchaResult2["VERIFICATION_PASSED"] = "VERIFICATION_PASSED";
355
+ CaptchaResult2["VERIFICATION_REJECTED"] = "VERIFICATION_REJECTED";
356
+ CaptchaResult2["CHALLENGE_REQUIRED"] = "CHALLENGE_REQUIRED";
357
+ return CaptchaResult2;
358
+ })(CaptchaResult || {});
359
+ var CaptchaDecisionReason = /* @__PURE__ */ ((CaptchaDecisionReason2) => {
360
+ CaptchaDecisionReason2["SCORE_BELOW_THRESHOLD"] = "SCORE_BELOW_THRESHOLD";
361
+ CaptchaDecisionReason2["TOKEN_INVALID"] = "TOKEN_INVALID";
362
+ CaptchaDecisionReason2["TOKEN_MISSING"] = "TOKEN_MISSING";
363
+ CaptchaDecisionReason2["PERIMETERX_REJECTED"] = "PERIMETERX_REJECTED";
364
+ return CaptchaDecisionReason2;
365
+ })(CaptchaDecisionReason || {});
329
366
  var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
330
367
  PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
331
368
  PrivacyStatus2["PUBLIC"] = "PUBLIC";
@@ -436,6 +473,14 @@ var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
436
473
  DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
437
474
  return DeliveryMethod2;
438
475
  })(DeliveryMethod || {});
476
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
477
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
478
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
479
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
480
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
481
+ WebhookIdentityType2["APP"] = "APP";
482
+ return WebhookIdentityType2;
483
+ })(WebhookIdentityType || {});
439
484
 
440
485
  // src/iam-authentication-v1-authentication-authentication.meta.ts
441
486
  function registerV22() {
@@ -548,6 +593,12 @@ function logout2() {
548
593
  }
549
594
  export {
550
595
  AddressTag as AddressTagOriginal,
596
+ CaptchaDecisionReason as CaptchaDecisionReasonOriginal,
597
+ CaptchaFlow as CaptchaFlowOriginal,
598
+ CaptchaIdentityType as CaptchaIdentityTypeOriginal,
599
+ CaptchaKind as CaptchaKindOriginal,
600
+ CaptchaOutcome as CaptchaOutcomeOriginal,
601
+ CaptchaResult as CaptchaResultOriginal,
551
602
  DeliveryMethod as DeliveryMethodOriginal,
552
603
  EmailTag as EmailTagOriginal,
553
604
  FactorStatus as FactorStatusOriginal,
@@ -561,6 +612,7 @@ export {
561
612
  Status as StatusOriginal,
562
613
  TenantType as TenantTypeOriginal,
563
614
  V1Reason as V1ReasonOriginal,
615
+ WebhookIdentityType as WebhookIdentityTypeOriginal,
564
616
  changePassword2 as changePassword,
565
617
  loginV22 as loginV2,
566
618
  logout2 as logout,