@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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { LoginId, RegisterV2Options, StateMachineResponse, RegisterV2ApplicationErrors, RegisterV2ValidationErrors, ValidateEmailResponse, LoginV2Options, LoginV2ApplicationErrors, LoginV2ValidationErrors, SignOnOptions, SignOnResponse, LogoutOptions, RawHttpResponse } from './index.typings.js';
3
- export { Address, AddressTag, AddressTagWithLiterals, AddressWrapper, Authentication, AuthenticatorConnection, CallVerifyData, CaptchaToken, CaptchaTokenTokenOneOf, ChangePasswordRequest, ChangePasswordResponse, ConnectIdpRequest, Connection, ConnectionTypeOneOf, CustomField, CustomValue, CustomValueValueOneOf, DeliveryMethod, DeliveryMethodWithLiterals, Email, EmailTag, EmailTagWithLiterals, EmailValidationFailure, ExternalEmailVerifyData, Factor, FactorStatus, FactorStatusWithLiterals, FactorType, FactorTypeWithLiterals, GetWebauthnChallengeRequest, GetWebauthnChallengeResponse, HeadersEntry, Identity, IdentityProfile, IdpConnection, ListValue, LoginCallbackRequest, LoginIdTypeOneOf, LoginV2Request, LoginWithIdpConnectionRedirectRequest, LoginWithIdpConnectionRequest, LoginWithIdpConnectionTokenParamsRequest, LogoutRequest, MapValue, Metadata, MfaChallengeData, MfaReason, MfaReasonWithLiterals, PathParametersEntry, Phone, PhoneTag, PhoneTagWithLiterals, PrivacyStatus, PrivacyStatusWithLiterals, PushChallengeData, PushVerifyData, QueryParametersEntry, RawHttpRequest, Reason, ReasonWithLiterals, RecaptchaForClientSiteKey, RecoveryCodeVerifyData, RegisterV2Request, RequireMfaData, SecondaryEmail, SignOnRequest, SmsVerifyData, StateMachineResponseStateDataOneOf, StateType, StateTypeWithLiterals, Status, StatusName, StatusNameWithLiterals, StatusV2, StatusWithLiterals, TenantType, TenantTypeWithLiterals, TotpVerifyData, V1CustomValue, V1CustomValueValueOneOf, V1Factor, V1ListValue, V1MapValue, V1Reason, V1ReasonWithLiterals, ValidateEmailRequest, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, VerifyRequest, VerifyRequestFactorDataOneOf, WebAuthnChallengeData, WebAuthnVerifyData } from './index.typings.js';
3
+ export { AccountInfo, Address, AddressTag, AddressTagWithLiterals, AddressWrapper, Authentication, AuthenticatorConnection, CallVerifyData, CaptchaDecisionReason, CaptchaDecisionReasonWithLiterals, CaptchaFlow, CaptchaFlowWithLiterals, CaptchaIdentityType, CaptchaIdentityTypeWithLiterals, CaptchaKind, CaptchaKindWithLiterals, CaptchaOutcome, CaptchaOutcomeWithLiterals, CaptchaResult, CaptchaResultWithLiterals, CaptchaToken, CaptchaTokenTokenOneOf, CaptchaVerification, ChangePasswordRequest, ChangePasswordResponse, ConnectIdpRequest, Connection, ConnectionTypeOneOf, CustomField, CustomValue, CustomValueValueOneOf, DeliveryMethod, DeliveryMethodWithLiterals, Email, EmailTag, EmailTagWithLiterals, EmailValidationFailure, ExternalEmailVerifyData, Factor, FactorStatus, FactorStatusWithLiterals, FactorType, FactorTypeWithLiterals, GetWebauthnChallengeRequest, GetWebauthnChallengeResponse, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, Identity, IdentityProfile, IdpConnection, ListValue, LoginCallbackRequest, LoginIdTypeOneOf, LoginV2Request, LoginWithIdpConnectionRedirectRequest, LoginWithIdpConnectionRequest, LoginWithIdpConnectionTokenParamsRequest, LogoutRequest, MapValue, MessageEnvelope, Metadata, MfaChallengeData, MfaReason, MfaReasonWithLiterals, PathParametersEntry, Phone, PhoneTag, PhoneTagWithLiterals, PrivacyStatus, PrivacyStatusWithLiterals, PushChallengeData, PushVerifyData, QueryParametersEntry, RawHttpRequest, Reason, ReasonWithLiterals, RecaptchaForClientSiteKey, RecoveryCodeVerifyData, RegisterV2Request, RequireMfaData, SecondaryEmail, SignOnRequest, SmsVerifyData, StateMachineResponseStateDataOneOf, StateType, StateTypeWithLiterals, Status, StatusName, StatusNameWithLiterals, StatusV2, StatusWithLiterals, TenantType, TenantTypeWithLiterals, TotpVerifyData, V1CustomValue, V1CustomValueValueOneOf, V1Factor, V1ListValue, V1MapValue, V1Reason, V1ReasonWithLiterals, ValidateEmailRequest, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, VerifyRequest, VerifyRequestFactorDataOneOf, WebAuthnChallengeData, WebAuthnVerifyData, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function registerV2$1(httpClient: HttpClient): RegisterV2Signature;
6
6
  interface RegisterV2Signature {
@@ -21,6 +21,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AddressTag: () => AddressTag,
24
+ CaptchaDecisionReason: () => CaptchaDecisionReason,
25
+ CaptchaFlow: () => CaptchaFlow,
26
+ CaptchaIdentityType: () => CaptchaIdentityType,
27
+ CaptchaKind: () => CaptchaKind,
28
+ CaptchaOutcome: () => CaptchaOutcome,
29
+ CaptchaResult: () => CaptchaResult,
24
30
  DeliveryMethod: () => DeliveryMethod,
25
31
  EmailTag: () => EmailTag,
26
32
  FactorStatus: () => FactorStatus,
@@ -34,6 +40,7 @@ __export(index_exports, {
34
40
  StatusName: () => StatusName,
35
41
  TenantType: () => TenantType,
36
42
  V1Reason: () => V1Reason,
43
+ WebhookIdentityType: () => WebhookIdentityType,
37
44
  changePassword: () => changePassword4,
38
45
  loginV2: () => loginV24,
39
46
  logout: () => logout4,
@@ -382,6 +389,43 @@ var TRANSFORM_PATHS_02 = [{ path: "profile.addresses.address" }];
382
389
  var TRANSFORM_PATHS_12 = [
383
390
  { path: "identity.identityProfile.addresses.address" }
384
391
  ];
392
+ var CaptchaFlow = /* @__PURE__ */ ((CaptchaFlow2) => {
393
+ CaptchaFlow2["REGISTER"] = "REGISTER";
394
+ CaptchaFlow2["LOGIN"] = "LOGIN";
395
+ return CaptchaFlow2;
396
+ })(CaptchaFlow || {});
397
+ var CaptchaIdentityType = /* @__PURE__ */ ((CaptchaIdentityType2) => {
398
+ CaptchaIdentityType2["USER"] = "USER";
399
+ CaptchaIdentityType2["MEMBER"] = "MEMBER";
400
+ return CaptchaIdentityType2;
401
+ })(CaptchaIdentityType || {});
402
+ var CaptchaOutcome = /* @__PURE__ */ ((CaptchaOutcome2) => {
403
+ CaptchaOutcome2["PASSED"] = "PASSED";
404
+ CaptchaOutcome2["LOW_SCORE"] = "LOW_SCORE";
405
+ CaptchaOutcome2["INVALID_TOKEN"] = "INVALID_TOKEN";
406
+ CaptchaOutcome2["MISSING_TOKEN"] = "MISSING_TOKEN";
407
+ CaptchaOutcome2["VISIBLE_REQUIRED"] = "VISIBLE_REQUIRED";
408
+ return CaptchaOutcome2;
409
+ })(CaptchaOutcome || {});
410
+ var CaptchaKind = /* @__PURE__ */ ((CaptchaKind2) => {
411
+ CaptchaKind2["INVISIBLE"] = "INVISIBLE";
412
+ CaptchaKind2["VISIBLE"] = "VISIBLE";
413
+ CaptchaKind2["CLIENT_SITE_KEY"] = "CLIENT_SITE_KEY";
414
+ return CaptchaKind2;
415
+ })(CaptchaKind || {});
416
+ var CaptchaResult = /* @__PURE__ */ ((CaptchaResult2) => {
417
+ CaptchaResult2["VERIFICATION_PASSED"] = "VERIFICATION_PASSED";
418
+ CaptchaResult2["VERIFICATION_REJECTED"] = "VERIFICATION_REJECTED";
419
+ CaptchaResult2["CHALLENGE_REQUIRED"] = "CHALLENGE_REQUIRED";
420
+ return CaptchaResult2;
421
+ })(CaptchaResult || {});
422
+ var CaptchaDecisionReason = /* @__PURE__ */ ((CaptchaDecisionReason2) => {
423
+ CaptchaDecisionReason2["SCORE_BELOW_THRESHOLD"] = "SCORE_BELOW_THRESHOLD";
424
+ CaptchaDecisionReason2["TOKEN_INVALID"] = "TOKEN_INVALID";
425
+ CaptchaDecisionReason2["TOKEN_MISSING"] = "TOKEN_MISSING";
426
+ CaptchaDecisionReason2["PERIMETERX_REJECTED"] = "PERIMETERX_REJECTED";
427
+ return CaptchaDecisionReason2;
428
+ })(CaptchaDecisionReason || {});
385
429
  var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
386
430
  PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
387
431
  PrivacyStatus2["PUBLIC"] = "PUBLIC";
@@ -492,6 +536,14 @@ var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
492
536
  DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
493
537
  return DeliveryMethod2;
494
538
  })(DeliveryMethod || {});
539
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
540
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
541
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
542
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
543
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
544
+ WebhookIdentityType2["APP"] = "APP";
545
+ return WebhookIdentityType2;
546
+ })(WebhookIdentityType || {});
495
547
  async function registerV22(loginId, options) {
496
548
  const { httpClient, sideEffects } = arguments[2];
497
549
  const payload = (0, import_transform_paths2.transformPaths)(
@@ -771,6 +823,12 @@ var logout4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(logout3
771
823
  // Annotate the CommonJS export names for ESM import in node:
772
824
  0 && (module.exports = {
773
825
  AddressTag,
826
+ CaptchaDecisionReason,
827
+ CaptchaFlow,
828
+ CaptchaIdentityType,
829
+ CaptchaKind,
830
+ CaptchaOutcome,
831
+ CaptchaResult,
774
832
  DeliveryMethod,
775
833
  EmailTag,
776
834
  FactorStatus,
@@ -784,6 +842,7 @@ var logout4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(logout3
784
842
  StatusName,
785
843
  TenantType,
786
844
  V1Reason,
845
+ WebhookIdentityType,
787
846
  changePassword,
788
847
  loginV2,
789
848
  logout,