@wix/auto_sdk_identity_authentication 1.0.8 → 1.0.10

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 (134) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  11. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +27 -0
  12. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  13. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  14. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +376 -0
  15. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  16. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  17. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +161 -0
  18. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  19. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  20. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +62 -0
  21. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  22. package/build/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts → cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  23. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +131 -0
  24. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  25. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  26. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +468 -0
  27. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  39. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +11 -0
  40. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  41. package/build/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  42. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +366 -0
  43. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  44. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  45. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js +128 -0
  46. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  47. package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  48. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +39 -0
  49. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  50. package/build/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts → es/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  51. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +128 -0
  52. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  53. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  54. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +435 -0
  55. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  66. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +27 -0
  67. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  68. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  69. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +376 -0
  70. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  71. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  72. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +161 -0
  73. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  74. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  75. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +62 -0
  76. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  77. package/build/internal/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts → cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  78. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +131 -0
  79. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  80. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  81. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +468 -0
  82. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  93. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +11 -0
  94. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  95. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  96. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +366 -0
  97. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  98. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  99. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js +128 -0
  100. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  101. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  102. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +39 -0
  103. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  104. package/build/internal/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts → es/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  105. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +128 -0
  106. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  107. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  108. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +435 -0
  109. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  110. package/package.json +13 -14
  111. package/build/index.d.mts +0 -71
  112. package/build/index.d.ts +0 -71
  113. package/build/index.js +0 -859
  114. package/build/index.js.map +0 -1
  115. package/build/index.mjs +0 -816
  116. package/build/index.mjs.map +0 -1
  117. package/build/internal/index.d.mts +0 -71
  118. package/build/internal/index.d.ts +0 -71
  119. package/build/internal/index.js +0 -859
  120. package/build/internal/index.js.map +0 -1
  121. package/build/internal/index.mjs +0 -816
  122. package/build/internal/index.mjs.map +0 -1
  123. package/build/internal/meta.d.mts +0 -600
  124. package/build/internal/meta.d.ts +0 -600
  125. package/build/internal/meta.js +0 -518
  126. package/build/internal/meta.js.map +0 -1
  127. package/build/internal/meta.mjs +0 -485
  128. package/build/internal/meta.mjs.map +0 -1
  129. package/build/meta.d.mts +0 -600
  130. package/build/meta.d.ts +0 -600
  131. package/build/meta.js +0 -518
  132. package/build/meta.js.map +0 -1
  133. package/build/meta.mjs +0 -485
  134. package/build/meta.mjs.map +0 -1
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = void 0;
27
+ const ambassadorWixIamAuthenticationV1Authentication = __importStar(require("./iam-authentication-v1-authentication-authentication.http.js"));
28
+ function registerV2() {
29
+ const payload = {};
30
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.registerV2(payload);
31
+ const getUrl = (context) => {
32
+ const { url } = getRequestOptions(context);
33
+ return url;
34
+ };
35
+ return {
36
+ getUrl,
37
+ httpMethod: 'POST',
38
+ path: '/v2/register',
39
+ pathParams: {},
40
+ __requestType: null,
41
+ __originalRequestType: null,
42
+ __responseType: null,
43
+ __originalResponseType: null,
44
+ };
45
+ }
46
+ exports.registerV2 = registerV2;
47
+ function loginV2() {
48
+ const payload = {};
49
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.loginV2(payload);
50
+ const getUrl = (context) => {
51
+ const { url } = getRequestOptions(context);
52
+ return url;
53
+ };
54
+ return {
55
+ getUrl,
56
+ httpMethod: 'POST',
57
+ path: '/v2/login',
58
+ pathParams: {},
59
+ __requestType: null,
60
+ __originalRequestType: null,
61
+ __responseType: null,
62
+ __originalResponseType: null,
63
+ };
64
+ }
65
+ exports.loginV2 = loginV2;
66
+ function changePassword() {
67
+ const payload = {};
68
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.changePassword(payload);
69
+ const getUrl = (context) => {
70
+ const { url } = getRequestOptions(context);
71
+ return url;
72
+ };
73
+ return {
74
+ getUrl,
75
+ httpMethod: 'POST',
76
+ path: '/v2/change-password',
77
+ pathParams: {},
78
+ __requestType: null,
79
+ __originalRequestType: null,
80
+ __responseType: null,
81
+ __originalResponseType: null,
82
+ };
83
+ }
84
+ exports.changePassword = changePassword;
85
+ function loginCallback() {
86
+ const payload = {};
87
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.loginCallback(payload);
88
+ const getUrl = (context) => {
89
+ const { url } = getRequestOptions(context);
90
+ return url;
91
+ };
92
+ return {
93
+ getUrl,
94
+ httpMethod: 'GET',
95
+ path: '/v1/callback',
96
+ pathParams: {},
97
+ __requestType: null,
98
+ __originalRequestType: null,
99
+ __responseType: null,
100
+ __originalResponseType: null,
101
+ };
102
+ }
103
+ exports.loginCallback = loginCallback;
104
+ function signOn() {
105
+ const payload = {};
106
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.signOn(payload);
107
+ const getUrl = (context) => {
108
+ const { url } = getRequestOptions(context);
109
+ return url;
110
+ };
111
+ return {
112
+ getUrl,
113
+ httpMethod: 'POST',
114
+ path: '/v2/sign-on',
115
+ pathParams: {},
116
+ __requestType: null,
117
+ __originalRequestType: null,
118
+ __responseType: null,
119
+ __originalResponseType: null,
120
+ };
121
+ }
122
+ exports.signOn = signOn;
123
+ function logout() {
124
+ const payload = {};
125
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.logout(payload);
126
+ const getUrl = (context) => {
127
+ const { url } = getRequestOptions(context);
128
+ return url;
129
+ };
130
+ return {
131
+ getUrl,
132
+ httpMethod: 'GET',
133
+ path: '/v1/logout',
134
+ pathParams: {},
135
+ __requestType: null,
136
+ __originalRequestType: null,
137
+ __responseType: null,
138
+ __originalResponseType: null,
139
+ };
140
+ }
141
+ exports.logout = logout;
142
+ function verify() {
143
+ const payload = { factorType: ':factorType' };
144
+ const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.verify(payload);
145
+ const getUrl = (context) => {
146
+ const { url } = getRequestOptions(context);
147
+ return url;
148
+ };
149
+ return {
150
+ getUrl,
151
+ httpMethod: 'POST',
152
+ path: '/v2/{factorType}/verify',
153
+ pathParams: { factorType: 'factorType' },
154
+ __requestType: null,
155
+ __originalRequestType: null,
156
+ __responseType: null,
157
+ __originalResponseType: null,
158
+ };
159
+ }
160
+ exports.verify = verify;
161
+ //# sourceMappingURL=iam-authentication-v1-authentication-authentication.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iam-authentication-v1-authentication-authentication.meta.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8IAAgI;AAsBhI,SAAgB,UAAU;IAQxB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,gCA4BC;AAED,SAAgB,OAAO;IAQrB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAElE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,WAAW;QACjB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qB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CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE;QACxC,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,wBA4BC"}
@@ -0,0 +1,63 @@
1
+ import { HttpClient } from '@wix/sdk-types';
2
+ import { FactorType, LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse, RegisterV2Options, SignOnOptions, SignOnResponse, StateMachineResponse, VerifyOptions } from './iam-authentication-v1-authentication-authentication.universal.js';
3
+ export declare const __metadata: {
4
+ PACKAGE_NAME: string;
5
+ };
6
+ export declare function registerV2(httpClient: HttpClient): RegisterV2Signature;
7
+ interface RegisterV2Signature {
8
+ /**
9
+ * Registers a new member.
10
+ *
11
+ * Typically, after a successful registration, you generate and use member tokens for the
12
+ * registered member so that subsequent API calls are called as part of a member session.
13
+ * 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).
14
+ *
15
+ * If the email used to register the member already exists as a contact email, the registering
16
+ * member need to verify the email address using a code that is sent to the address.
17
+ * @param - Identifier of the registering member.
18
+ */
19
+ (loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse>;
20
+ }
21
+ export declare function loginV2(httpClient: HttpClient): LoginV2Signature;
22
+ interface LoginV2Signature {
23
+ /**
24
+ * Logs in an existing member.
25
+ *
26
+ * Typically, after a successful login, you generate and use member tokens for the
27
+ * logged-in member so that subsequent API calls are called as part of a member session.
28
+ * 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).
29
+ * @param - Identifier of identity logging in.
30
+ */
31
+ (loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse>;
32
+ }
33
+ export declare function changePassword(httpClient: HttpClient): ChangePasswordSignature;
34
+ interface ChangePasswordSignature {
35
+ /**
36
+ * Changes the password of a logged in user.
37
+ * @param - The new password to set for the logged in user
38
+ */
39
+ (newPassword: string): Promise<void>;
40
+ }
41
+ export declare function loginCallback(httpClient: HttpClient): LoginCallbackSignature;
42
+ interface LoginCallbackSignature {
43
+ /** */
44
+ (options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse>;
45
+ }
46
+ export declare function signOn(httpClient: HttpClient): SignOnSignature;
47
+ interface SignOnSignature {
48
+ /** @param - the identifier of the identity */
49
+ (loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse>;
50
+ }
51
+ export declare function logout(httpClient: HttpClient): LogoutSignature;
52
+ interface LogoutSignature {
53
+ /**
54
+ * Logs out a member.
55
+ */
56
+ (options?: LogoutOptions | undefined): Promise<RawHttpResponse>;
57
+ }
58
+ export declare function verify(httpClient: HttpClient): VerifySignature;
59
+ interface VerifySignature {
60
+ /** */
61
+ (factorType: FactorType, options?: VerifyOptions | undefined): Promise<StateMachineResponse>;
62
+ }
63
+ export { Address, AddressTag, AddressWrapper, Authentication, AuthenticationExtensionInputs, AuthenticationExtensionInputsLargeBlobOperationOneOf, AuthenticatorConnection, CallVerifyData, CaptchaToken, CaptchaTokenTokenOneOf, ChangePasswordRequest, ChangePasswordResponse, Connection, ConnectionTypeOneOf, CustomField, CustomValue, CustomValueValueOneOf, Email, EmailTag, ExternalEmailVerifyData, Factor, FactorStatus, FactorType, HeadersEntry, Identity, IdentityProfile, IdpConnection, ListValue, LoginCallbackOptions, LoginCallbackRequest, LoginId, LoginIdTypeOneOf, LoginV2Options, LoginV2Request, LoginWithIdpConnectionRequest, LoginWithIdpConnectionTokenParamsRequest, LogoutOptions, LogoutRequest, MapValue, Metadata, MfaChallengeData, MfaReason, PathParametersEntry, Phone, PhoneTag, PrivacyStatus, PublicKeyCredentialDescriptor, PushChallengeData, PushVerifyData, QueryParametersEntry, RawHttpRequest, RawHttpResponse, Reason, RegisterV2Options, RegisterV2Request, RequireMfaData, SecondaryEmail, SignOnOptions, SignOnRequest, SignOnResponse, SmsVerifyData, StateMachineResponse, StateMachineResponseStateDataOneOf, StateType, Status, StatusName, StatusV2, TenantType, TotpVerifyData, UserVerificationRequirement, V1CustomValue, V1CustomValueValueOneOf, V1Factor, V1ListValue, V1MapValue, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, VerifyOptions, VerifyOptionsFactorDataOneOf, VerifyRequest, VerifyRequestFactorDataOneOf, WebAuthnChallengeData, WebAuthnVerifyData, } from './iam-authentication-v1-authentication-authentication.universal.js';
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserVerificationRequirement = exports.TenantType = exports.StatusName = exports.Status = exports.StateType = exports.Reason = exports.PrivacyStatus = exports.PhoneTag = exports.MfaReason = exports.FactorType = exports.FactorStatus = exports.EmailTag = exports.AddressTag = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = exports.__metadata = void 0;
4
+ const iam_authentication_v1_authentication_authentication_universal_js_1 = require("./iam-authentication-v1-authentication-authentication.universal.js");
5
+ exports.__metadata = { PACKAGE_NAME: '@wix/identity' };
6
+ function registerV2(httpClient) {
7
+ return (loginId, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.registerV2)(loginId, options,
8
+ // @ts-ignore
9
+ { httpClient });
10
+ }
11
+ exports.registerV2 = registerV2;
12
+ function loginV2(httpClient) {
13
+ return (loginId, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.loginV2)(loginId, options,
14
+ // @ts-ignore
15
+ { httpClient });
16
+ }
17
+ exports.loginV2 = loginV2;
18
+ function changePassword(httpClient) {
19
+ return (newPassword) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.changePassword)(newPassword,
20
+ // @ts-ignore
21
+ { httpClient });
22
+ }
23
+ exports.changePassword = changePassword;
24
+ function loginCallback(httpClient) {
25
+ return (options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.loginCallback)(options,
26
+ // @ts-ignore
27
+ { httpClient });
28
+ }
29
+ exports.loginCallback = loginCallback;
30
+ function signOn(httpClient) {
31
+ return (loginId, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.signOn)(loginId, options,
32
+ // @ts-ignore
33
+ { httpClient });
34
+ }
35
+ exports.signOn = signOn;
36
+ function logout(httpClient) {
37
+ return (options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.logout)(options,
38
+ // @ts-ignore
39
+ { httpClient });
40
+ }
41
+ exports.logout = logout;
42
+ function verify(httpClient) {
43
+ return (factorType, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.verify)(factorType, options,
44
+ // @ts-ignore
45
+ { httpClient });
46
+ }
47
+ exports.verify = verify;
48
+ var iam_authentication_v1_authentication_authentication_universal_js_2 = require("./iam-authentication-v1-authentication-authentication.universal.js");
49
+ Object.defineProperty(exports, "AddressTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.AddressTag; } });
50
+ Object.defineProperty(exports, "EmailTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.EmailTag; } });
51
+ Object.defineProperty(exports, "FactorStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.FactorStatus; } });
52
+ Object.defineProperty(exports, "FactorType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.FactorType; } });
53
+ Object.defineProperty(exports, "MfaReason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.MfaReason; } });
54
+ Object.defineProperty(exports, "PhoneTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.PhoneTag; } });
55
+ Object.defineProperty(exports, "PrivacyStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.PrivacyStatus; } });
56
+ Object.defineProperty(exports, "Reason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.Reason; } });
57
+ Object.defineProperty(exports, "StateType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.StateType; } });
58
+ Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.Status; } });
59
+ Object.defineProperty(exports, "StatusName", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.StatusName; } });
60
+ Object.defineProperty(exports, "TenantType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.TenantType; } });
61
+ Object.defineProperty(exports, "UserVerificationRequirement", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.UserVerificationRequirement; } });
62
+ //# sourceMappingURL=iam-authentication-v1-authentication-authentication.public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iam-authentication-v1-authentication-authentication.public.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.public.ts"],"names":[],"mappings":";;;AACA,yJAmB4E;AAE/D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAAgB,EAAE,OAA2B,EAAE,EAAE,CACvD,IAAA,6EAAmB,EACjB,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gCAQC;AAoBD,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,OAAgB,EAAE,OAAwB,EAAE,EAAE,CACpD,IAAA,0EAAgB,EACd,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf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