@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/cjs/meta.js CHANGED
@@ -21,6 +21,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
23
  AddressTagOriginal: () => AddressTag,
24
+ CaptchaDecisionReasonOriginal: () => CaptchaDecisionReason,
25
+ CaptchaFlowOriginal: () => CaptchaFlow,
26
+ CaptchaIdentityTypeOriginal: () => CaptchaIdentityType,
27
+ CaptchaKindOriginal: () => CaptchaKind,
28
+ CaptchaOutcomeOriginal: () => CaptchaOutcome,
29
+ CaptchaResultOriginal: () => CaptchaResult,
24
30
  DeliveryMethodOriginal: () => DeliveryMethod,
25
31
  EmailTagOriginal: () => EmailTag,
26
32
  FactorStatusOriginal: () => FactorStatus,
@@ -34,6 +40,7 @@ __export(meta_exports, {
34
40
  StatusOriginal: () => Status,
35
41
  TenantTypeOriginal: () => TenantType,
36
42
  V1ReasonOriginal: () => V1Reason,
43
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
37
44
  changePassword: () => changePassword2,
38
45
  loginV2: () => loginV22,
39
46
  logout: () => logout2,
@@ -371,6 +378,43 @@ function logout(payload) {
371
378
  }
372
379
 
373
380
  // src/iam-authentication-v1-authentication-authentication.types.ts
381
+ var CaptchaFlow = /* @__PURE__ */ ((CaptchaFlow2) => {
382
+ CaptchaFlow2["REGISTER"] = "REGISTER";
383
+ CaptchaFlow2["LOGIN"] = "LOGIN";
384
+ return CaptchaFlow2;
385
+ })(CaptchaFlow || {});
386
+ var CaptchaIdentityType = /* @__PURE__ */ ((CaptchaIdentityType2) => {
387
+ CaptchaIdentityType2["USER"] = "USER";
388
+ CaptchaIdentityType2["MEMBER"] = "MEMBER";
389
+ return CaptchaIdentityType2;
390
+ })(CaptchaIdentityType || {});
391
+ var CaptchaOutcome = /* @__PURE__ */ ((CaptchaOutcome2) => {
392
+ CaptchaOutcome2["PASSED"] = "PASSED";
393
+ CaptchaOutcome2["LOW_SCORE"] = "LOW_SCORE";
394
+ CaptchaOutcome2["INVALID_TOKEN"] = "INVALID_TOKEN";
395
+ CaptchaOutcome2["MISSING_TOKEN"] = "MISSING_TOKEN";
396
+ CaptchaOutcome2["VISIBLE_REQUIRED"] = "VISIBLE_REQUIRED";
397
+ return CaptchaOutcome2;
398
+ })(CaptchaOutcome || {});
399
+ var CaptchaKind = /* @__PURE__ */ ((CaptchaKind2) => {
400
+ CaptchaKind2["INVISIBLE"] = "INVISIBLE";
401
+ CaptchaKind2["VISIBLE"] = "VISIBLE";
402
+ CaptchaKind2["CLIENT_SITE_KEY"] = "CLIENT_SITE_KEY";
403
+ return CaptchaKind2;
404
+ })(CaptchaKind || {});
405
+ var CaptchaResult = /* @__PURE__ */ ((CaptchaResult2) => {
406
+ CaptchaResult2["VERIFICATION_PASSED"] = "VERIFICATION_PASSED";
407
+ CaptchaResult2["VERIFICATION_REJECTED"] = "VERIFICATION_REJECTED";
408
+ CaptchaResult2["CHALLENGE_REQUIRED"] = "CHALLENGE_REQUIRED";
409
+ return CaptchaResult2;
410
+ })(CaptchaResult || {});
411
+ var CaptchaDecisionReason = /* @__PURE__ */ ((CaptchaDecisionReason2) => {
412
+ CaptchaDecisionReason2["SCORE_BELOW_THRESHOLD"] = "SCORE_BELOW_THRESHOLD";
413
+ CaptchaDecisionReason2["TOKEN_INVALID"] = "TOKEN_INVALID";
414
+ CaptchaDecisionReason2["TOKEN_MISSING"] = "TOKEN_MISSING";
415
+ CaptchaDecisionReason2["PERIMETERX_REJECTED"] = "PERIMETERX_REJECTED";
416
+ return CaptchaDecisionReason2;
417
+ })(CaptchaDecisionReason || {});
374
418
  var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
375
419
  PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
376
420
  PrivacyStatus2["PUBLIC"] = "PUBLIC";
@@ -481,6 +525,14 @@ var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
481
525
  DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
482
526
  return DeliveryMethod2;
483
527
  })(DeliveryMethod || {});
528
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
529
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
530
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
531
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
532
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
533
+ WebhookIdentityType2["APP"] = "APP";
534
+ return WebhookIdentityType2;
535
+ })(WebhookIdentityType || {});
484
536
 
485
537
  // src/iam-authentication-v1-authentication-authentication.meta.ts
486
538
  function registerV22() {
@@ -594,6 +646,12 @@ function logout2() {
594
646
  // Annotate the CommonJS export names for ESM import in node:
595
647
  0 && (module.exports = {
596
648
  AddressTagOriginal,
649
+ CaptchaDecisionReasonOriginal,
650
+ CaptchaFlowOriginal,
651
+ CaptchaIdentityTypeOriginal,
652
+ CaptchaKindOriginal,
653
+ CaptchaOutcomeOriginal,
654
+ CaptchaResultOriginal,
597
655
  DeliveryMethodOriginal,
598
656
  EmailTagOriginal,
599
657
  FactorStatusOriginal,
@@ -607,6 +665,7 @@ function logout2() {
607
665
  StatusOriginal,
608
666
  TenantTypeOriginal,
609
667
  V1ReasonOriginal,
668
+ WebhookIdentityTypeOriginal,
610
669
  changePassword,
611
670
  loginV2,
612
671
  logout,