@wix/auto_sdk_identity_authentication 1.0.12 → 1.0.13

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.
Files changed (121) hide show
  1. package/build/cjs/{src/iam-authentication-v1-authentication-authentication.types.d.ts → iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.ts} +170 -94
  2. package/build/cjs/index.d.ts +71 -1
  3. package/build/cjs/index.js +856 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +635 -1
  6. package/build/cjs/meta.js +515 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/{internal/cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts → es/iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.mts} +170 -94
  9. package/build/es/index.d.mts +71 -0
  10. package/build/es/index.mjs +816 -0
  11. package/build/es/index.mjs.map +1 -0
  12. package/build/es/meta.d.mts +635 -0
  13. package/build/es/meta.mjs +485 -0
  14. package/build/es/meta.mjs.map +1 -0
  15. package/build/internal/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → cjs/iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.ts} +170 -94
  16. package/build/internal/cjs/index.d.ts +71 -1
  17. package/build/internal/cjs/index.js +856 -15
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +635 -1
  20. package/build/internal/cjs/meta.js +515 -15
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → internal/es/iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.mts} +170 -94
  23. package/build/internal/es/index.d.mts +71 -0
  24. package/build/internal/es/index.mjs +816 -0
  25. package/build/internal/es/index.mjs.map +1 -0
  26. package/build/internal/es/meta.d.mts +635 -0
  27. package/build/internal/es/meta.mjs +485 -0
  28. package/build/internal/es/meta.mjs.map +1 -0
  29. package/package.json +9 -8
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  34. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -27
  35. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  36. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  37. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -376
  38. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  39. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  40. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
  41. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  42. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  43. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -62
  44. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  45. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -131
  46. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  47. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
  48. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -468
  49. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
  50. package/build/es/index.d.ts +0 -1
  51. package/build/es/index.js +0 -2
  52. package/build/es/index.js.map +0 -1
  53. package/build/es/index.typings.d.ts +0 -1
  54. package/build/es/index.typings.js +0 -2
  55. package/build/es/index.typings.js.map +0 -1
  56. package/build/es/meta.d.ts +0 -1
  57. package/build/es/meta.js +0 -2
  58. package/build/es/meta.js.map +0 -1
  59. package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  60. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
  61. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  62. package/build/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  63. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -366
  64. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  65. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  66. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
  67. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  68. package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  69. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
  70. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  71. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -128
  72. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  73. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
  74. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -435
  75. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
  76. package/build/internal/cjs/index.typings.d.ts +0 -1
  77. package/build/internal/cjs/index.typings.js +0 -18
  78. package/build/internal/cjs/index.typings.js.map +0 -1
  79. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  80. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -27
  81. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  82. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  83. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -376
  84. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  85. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  86. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
  87. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  88. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  89. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -62
  90. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  91. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -131
  92. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  93. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
  94. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -468
  95. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
  96. package/build/internal/es/index.d.ts +0 -1
  97. package/build/internal/es/index.js +0 -2
  98. package/build/internal/es/index.js.map +0 -1
  99. package/build/internal/es/index.typings.d.ts +0 -1
  100. package/build/internal/es/index.typings.js +0 -2
  101. package/build/internal/es/index.typings.js.map +0 -1
  102. package/build/internal/es/meta.d.ts +0 -1
  103. package/build/internal/es/meta.js +0 -2
  104. package/build/internal/es/meta.js.map +0 -1
  105. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  106. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
  107. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  108. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  109. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -366
  110. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  111. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  112. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
  113. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  114. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  115. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
  116. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  117. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -128
  118. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  119. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
  120. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -435
  121. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
@@ -1 +1,71 @@
1
- export * from './src/iam-authentication-v1-authentication-authentication.context.js';
1
+ import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { L as LoginId, R as RegisterV2Options, S as StateMachineResponse, a as LoginV2Options, b as LoginCallbackOptions, c as RawHttpResponse, d as SignOnOptions, e as SignOnResponse, f as LogoutOptions, F as FactorTypeWithLiterals, V as VerifyOptions } from './iam-authentication-v1-authentication-authentication.universal-D-41C26U.js';
3
+ export { x as Address, A as AddressTag, w as AddressWrapper, n as Authentication, a7 as AuthenticationExtensionInputs, a8 as AuthenticationExtensionInputsLargeBlobOperationOneOf, K as AuthenticatorConnection, ao as CallVerifyData, y as CaptchaToken, z as CaptchaTokenTokenOneOf, aa as ChangePasswordRequest, ab as ChangePasswordResponse, G as Connection, H as ConnectionTypeOneOf, C as CustomField, X as CustomValue, Y as CustomValueValueOneOf, O as Email, E as EmailTag, ap as ExternalEmailVerifyData, W as Factor, m as FactorStatus, k as FactorType, ad as HeadersEntry, D as Identity, I as IdentityProfile, J as IdpConnection, Z as ListValue, ah as LoginCallbackRequest, p as LoginIdTypeOneOf, a9 as LoginV2Request, ac as LoginWithIdpConnectionRequest, ai as LoginWithIdpConnectionTokenParamsRequest, ak as LogoutRequest, _ as MapValue, N as Metadata, a1 as MfaChallengeData, M as MfaReason, af as PathParametersEntry, v as Phone, g as PhoneTag, P as PrivacyStatus, a6 as PublicKeyCredentialDescriptor, a4 as PushChallengeData, ar as PushVerifyData, ag as QueryParametersEntry, ae as RawHttpRequest, j as Reason, o as RegisterV2Request, $ as RequireMfaData, u as SecondaryEmail, aj as SignOnRequest, an as SmsVerifyData, B as StateMachineResponseStateDataOneOf, h as StateType, l as Status, i as StatusName, Q as StatusV2, T as TenantType, aq as TotpVerifyData, U as UserVerificationRequirement, q as V1CustomValue, r as V1CustomValueValueOneOf, a0 as V1Factor, s as V1ListValue, t as V1MapValue, a2 as VerificationChallenge, a3 as VerificationChallengeFactorChallengeDataOneOf, at as VerifyOptionsFactorDataOneOf, al as VerifyRequest, am as VerifyRequestFactorDataOneOf, a5 as WebAuthnChallengeData, as as WebAuthnVerifyData } from './iam-authentication-v1-authentication-authentication.universal-D-41C26U.js';
4
+
5
+ declare function registerV2$1(httpClient: HttpClient): RegisterV2Signature;
6
+ interface RegisterV2Signature {
7
+ /**
8
+ * Registers a new member.
9
+ *
10
+ * Typically, after a successful registration, you generate and use member tokens for the
11
+ * registered member so that subsequent API calls are called as part of a member session.
12
+ * Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
13
+ *
14
+ * If the email used to register the member already exists as a contact email, the registering
15
+ * member need to verify the email address using a code that is sent to the address.
16
+ * @param - Identifier of the registering member.
17
+ */
18
+ (loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse>;
19
+ }
20
+ declare function loginV2$1(httpClient: HttpClient): LoginV2Signature;
21
+ interface LoginV2Signature {
22
+ /**
23
+ * Logs in an existing member.
24
+ *
25
+ * Typically, after a successful login, you generate and use member tokens for the
26
+ * logged-in member so that subsequent API calls are called as part of a member session.
27
+ * Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
28
+ * @param - Identifier of identity logging in.
29
+ */
30
+ (loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse>;
31
+ }
32
+ declare function changePassword$1(httpClient: HttpClient): ChangePasswordSignature;
33
+ interface ChangePasswordSignature {
34
+ /**
35
+ * Changes the password of a logged in user.
36
+ * @param - The new password to set for the logged in user
37
+ */
38
+ (newPassword: string): Promise<void>;
39
+ }
40
+ declare function loginCallback$1(httpClient: HttpClient): LoginCallbackSignature;
41
+ interface LoginCallbackSignature {
42
+ /** */
43
+ (options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse>;
44
+ }
45
+ declare function signOn$1(httpClient: HttpClient): SignOnSignature;
46
+ interface SignOnSignature {
47
+ /** @param - the identifier of the identity */
48
+ (loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse>;
49
+ }
50
+ declare function logout$1(httpClient: HttpClient): LogoutSignature;
51
+ interface LogoutSignature {
52
+ /**
53
+ * Logs out a member.
54
+ */
55
+ (options?: LogoutOptions | undefined): Promise<RawHttpResponse>;
56
+ }
57
+ declare function verify$1(httpClient: HttpClient): VerifySignature;
58
+ interface VerifySignature {
59
+ /** */
60
+ (factorType: FactorTypeWithLiterals, options?: VerifyOptions | undefined): Promise<StateMachineResponse>;
61
+ }
62
+
63
+ declare const registerV2: MaybeContext<BuildRESTFunction<typeof registerV2$1> & typeof registerV2$1>;
64
+ declare const loginV2: MaybeContext<BuildRESTFunction<typeof loginV2$1> & typeof loginV2$1>;
65
+ declare const changePassword: MaybeContext<BuildRESTFunction<typeof changePassword$1> & typeof changePassword$1>;
66
+ declare const loginCallback: MaybeContext<BuildRESTFunction<typeof loginCallback$1> & typeof loginCallback$1>;
67
+ declare const signOn: MaybeContext<BuildRESTFunction<typeof signOn$1> & typeof signOn$1>;
68
+ declare const logout: MaybeContext<BuildRESTFunction<typeof logout$1> & typeof logout$1>;
69
+ declare const verify: MaybeContext<BuildRESTFunction<typeof verify$1> & typeof verify$1>;
70
+
71
+ export { LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse, RegisterV2Options, SignOnOptions, SignOnResponse, StateMachineResponse, VerifyOptions, changePassword, loginCallback, loginV2, logout, registerV2, signOn, verify };