@wix/auto_sdk_identity_authentication 1.0.69 → 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.
@@ -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, CaptchaFlow, CaptchaFlowWithLiterals, CaptchaIdentityType, CaptchaIdentityTypeWithLiterals, CaptchaKind, CaptchaKindWithLiterals, CaptchaOutcome, CaptchaOutcomeWithLiterals, 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,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AddressTag: () => AddressTag,
24
+ CaptchaFlow: () => CaptchaFlow,
25
+ CaptchaIdentityType: () => CaptchaIdentityType,
26
+ CaptchaKind: () => CaptchaKind,
27
+ CaptchaOutcome: () => CaptchaOutcome,
24
28
  DeliveryMethod: () => DeliveryMethod,
25
29
  EmailTag: () => EmailTag,
26
30
  FactorStatus: () => FactorStatus,
@@ -34,6 +38,7 @@ __export(index_exports, {
34
38
  StatusName: () => StatusName,
35
39
  TenantType: () => TenantType,
36
40
  V1Reason: () => V1Reason,
41
+ WebhookIdentityType: () => WebhookIdentityType,
37
42
  changePassword: () => changePassword4,
38
43
  loginV2: () => loginV24,
39
44
  logout: () => logout4,
@@ -382,6 +387,30 @@ var TRANSFORM_PATHS_02 = [{ path: "profile.addresses.address" }];
382
387
  var TRANSFORM_PATHS_12 = [
383
388
  { path: "identity.identityProfile.addresses.address" }
384
389
  ];
390
+ var CaptchaFlow = /* @__PURE__ */ ((CaptchaFlow2) => {
391
+ CaptchaFlow2["REGISTER"] = "REGISTER";
392
+ CaptchaFlow2["LOGIN"] = "LOGIN";
393
+ return CaptchaFlow2;
394
+ })(CaptchaFlow || {});
395
+ var CaptchaIdentityType = /* @__PURE__ */ ((CaptchaIdentityType2) => {
396
+ CaptchaIdentityType2["USER"] = "USER";
397
+ CaptchaIdentityType2["MEMBER"] = "MEMBER";
398
+ return CaptchaIdentityType2;
399
+ })(CaptchaIdentityType || {});
400
+ var CaptchaOutcome = /* @__PURE__ */ ((CaptchaOutcome2) => {
401
+ CaptchaOutcome2["PASSED"] = "PASSED";
402
+ CaptchaOutcome2["LOW_SCORE"] = "LOW_SCORE";
403
+ CaptchaOutcome2["INVALID_TOKEN"] = "INVALID_TOKEN";
404
+ CaptchaOutcome2["MISSING_TOKEN"] = "MISSING_TOKEN";
405
+ CaptchaOutcome2["VISIBLE_REQUIRED"] = "VISIBLE_REQUIRED";
406
+ return CaptchaOutcome2;
407
+ })(CaptchaOutcome || {});
408
+ var CaptchaKind = /* @__PURE__ */ ((CaptchaKind2) => {
409
+ CaptchaKind2["INVISIBLE"] = "INVISIBLE";
410
+ CaptchaKind2["VISIBLE"] = "VISIBLE";
411
+ CaptchaKind2["CLIENT_SITE_KEY"] = "CLIENT_SITE_KEY";
412
+ return CaptchaKind2;
413
+ })(CaptchaKind || {});
385
414
  var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
386
415
  PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
387
416
  PrivacyStatus2["PUBLIC"] = "PUBLIC";
@@ -492,6 +521,14 @@ var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
492
521
  DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
493
522
  return DeliveryMethod2;
494
523
  })(DeliveryMethod || {});
524
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
525
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
526
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
527
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
528
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
529
+ WebhookIdentityType2["APP"] = "APP";
530
+ return WebhookIdentityType2;
531
+ })(WebhookIdentityType || {});
495
532
  async function registerV22(loginId, options) {
496
533
  const { httpClient, sideEffects } = arguments[2];
497
534
  const payload = (0, import_transform_paths2.transformPaths)(
@@ -771,6 +808,10 @@ var logout4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(logout3
771
808
  // Annotate the CommonJS export names for ESM import in node:
772
809
  0 && (module.exports = {
773
810
  AddressTag,
811
+ CaptchaFlow,
812
+ CaptchaIdentityType,
813
+ CaptchaKind,
814
+ CaptchaOutcome,
774
815
  DeliveryMethod,
775
816
  EmailTag,
776
817
  FactorStatus,
@@ -784,6 +825,7 @@ var logout4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(logout3
784
825
  StatusName,
785
826
  TenantType,
786
827
  V1Reason,
828
+ WebhookIdentityType,
787
829
  changePassword,
788
830
  loginV2,
789
831
  logout,