@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
@@ -0,0 +1,485 @@
1
+ // src/iam-authentication-v1-authentication-authentication.http.ts
2
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
4
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
5
+ import { transformRESTBytesToSDKBytes } from "@wix/sdk-runtime/transformations/bytes";
6
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
7
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
8
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
9
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
10
+ function resolveWixIamAuthenticationV1AuthenticationServiceUrl(opts) {
11
+ const domainToMappings = {
12
+ _: [
13
+ {
14
+ srcPath: "/_api/iam/authentication",
15
+ destPath: ""
16
+ }
17
+ ],
18
+ "users._base_domain_": [
19
+ {
20
+ srcPath: "/iam/wix/google",
21
+ destPath: "/v1/sso/callback/root/0e6a50f5-b523-4e29-990d-f37fa2ffdd69"
22
+ },
23
+ {
24
+ srcPath: "/authentication",
25
+ destPath: ""
26
+ }
27
+ ],
28
+ "www.wixapis.com": [
29
+ {
30
+ srcPath: "/_api/iam/authentication",
31
+ destPath: ""
32
+ },
33
+ {
34
+ srcPath: "/iam/authentication",
35
+ destPath: ""
36
+ }
37
+ ],
38
+ "bo._base_domain_": [
39
+ {
40
+ srcPath: "/_api/iam/authentication",
41
+ destPath: ""
42
+ }
43
+ ],
44
+ "wixbo.ai": [
45
+ {
46
+ srcPath: "/_api/iam/authentication",
47
+ destPath: ""
48
+ }
49
+ ],
50
+ "wix-bo.com": [
51
+ {
52
+ srcPath: "/_api/iam/authentication",
53
+ destPath: ""
54
+ }
55
+ ],
56
+ "dev._base_domain_": [
57
+ {
58
+ srcPath: "/_api/iam/authentication",
59
+ destPath: ""
60
+ }
61
+ ],
62
+ "manage._base_domain_": [
63
+ {
64
+ srcPath: "/_api/authentication",
65
+ destPath: ""
66
+ }
67
+ ],
68
+ "www._base_domain_": [
69
+ {
70
+ srcPath: "/_api/iam/authentication",
71
+ destPath: ""
72
+ }
73
+ ]
74
+ };
75
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
76
+ }
77
+ var PACKAGE_NAME = "@wix/auto_sdk_identity_authentication";
78
+ function registerV2(payload) {
79
+ function __registerV2({ host }) {
80
+ const serializedData = transformPaths(payload, [
81
+ {
82
+ transformFn: transformSDKFloatToRESTFloat,
83
+ paths: [{ path: "profile.customFields.value.numValue" }]
84
+ },
85
+ {
86
+ transformFn: transformSDKTimestampToRESTTimestamp,
87
+ paths: [{ path: "profile.customFields.value.dateValue" }]
88
+ }
89
+ ]);
90
+ const metadata = {
91
+ entityFqdn: "wix.iam.authentication.v1.authentication",
92
+ method: "POST",
93
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.RegisterV2",
94
+ packageName: PACKAGE_NAME,
95
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
96
+ protoPath: "/v2/register",
97
+ data: serializedData,
98
+ host
99
+ }),
100
+ data: serializedData,
101
+ transformResponse: (payload2) => transformPaths(payload2, [
102
+ {
103
+ transformFn: transformRESTBytesToSDKBytes,
104
+ paths: [
105
+ {
106
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.challenge"
107
+ },
108
+ {
109
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id"
110
+ },
111
+ {
112
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite"
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ transformFn: transformRESTTimestampToSDKTimestamp,
118
+ paths: [
119
+ { path: "identity.createdDate" },
120
+ { path: "identity.updatedDate" },
121
+ { path: "identity.identityProfile.customFields.value.dateValue" },
122
+ { path: "additionalData.*.dateValue" }
123
+ ]
124
+ },
125
+ {
126
+ transformFn: transformRESTFloatToSDKFloat,
127
+ paths: [
128
+ { path: "identity.identityProfile.customFields.value.numValue" },
129
+ { path: "additionalData.*.numValue" }
130
+ ]
131
+ }
132
+ ])
133
+ };
134
+ return metadata;
135
+ }
136
+ return __registerV2;
137
+ }
138
+ function loginV2(payload) {
139
+ function __loginV2({ host }) {
140
+ const metadata = {
141
+ entityFqdn: "wix.iam.authentication.v1.authentication",
142
+ method: "POST",
143
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.LoginV2",
144
+ packageName: PACKAGE_NAME,
145
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
146
+ protoPath: "/v2/login",
147
+ data: payload,
148
+ host
149
+ }),
150
+ data: payload,
151
+ transformResponse: (payload2) => transformPaths(payload2, [
152
+ {
153
+ transformFn: transformRESTBytesToSDKBytes,
154
+ paths: [
155
+ {
156
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.challenge"
157
+ },
158
+ {
159
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id"
160
+ },
161
+ {
162
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ transformFn: transformRESTTimestampToSDKTimestamp,
168
+ paths: [
169
+ { path: "identity.createdDate" },
170
+ { path: "identity.updatedDate" },
171
+ { path: "identity.identityProfile.customFields.value.dateValue" },
172
+ { path: "additionalData.*.dateValue" }
173
+ ]
174
+ },
175
+ {
176
+ transformFn: transformRESTFloatToSDKFloat,
177
+ paths: [
178
+ { path: "identity.identityProfile.customFields.value.numValue" },
179
+ { path: "additionalData.*.numValue" }
180
+ ]
181
+ }
182
+ ])
183
+ };
184
+ return metadata;
185
+ }
186
+ return __loginV2;
187
+ }
188
+ function changePassword(payload) {
189
+ function __changePassword({ host }) {
190
+ const metadata = {
191
+ entityFqdn: "wix.iam.authentication.v1.authentication",
192
+ method: "POST",
193
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.ChangePassword",
194
+ packageName: PACKAGE_NAME,
195
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
196
+ protoPath: "/v2/change-password",
197
+ data: payload,
198
+ host
199
+ }),
200
+ data: payload
201
+ };
202
+ return metadata;
203
+ }
204
+ return __changePassword;
205
+ }
206
+ function loginCallback(payload) {
207
+ function __loginCallback({ host }) {
208
+ const metadata = {
209
+ entityFqdn: "wix.iam.authentication.v1.authentication",
210
+ method: "GET",
211
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.LoginCallback",
212
+ packageName: PACKAGE_NAME,
213
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
214
+ protoPath: "/v1/callback",
215
+ data: payload,
216
+ host
217
+ }),
218
+ params: toURLSearchParams(payload),
219
+ transformResponse: (payload2) => transformPaths(payload2, [
220
+ {
221
+ transformFn: transformRESTBytesToSDKBytes,
222
+ paths: [{ path: "body" }]
223
+ }
224
+ ])
225
+ };
226
+ return metadata;
227
+ }
228
+ return __loginCallback;
229
+ }
230
+ function signOn(payload) {
231
+ function __signOn({ host }) {
232
+ const serializedData = transformPaths(payload, [
233
+ {
234
+ transformFn: transformSDKFloatToRESTFloat,
235
+ paths: [{ path: "profile.customFields.value.numValue" }]
236
+ },
237
+ {
238
+ transformFn: transformSDKTimestampToRESTTimestamp,
239
+ paths: [{ path: "profile.customFields.value.dateValue" }]
240
+ }
241
+ ]);
242
+ const metadata = {
243
+ entityFqdn: "wix.iam.authentication.v1.authentication",
244
+ method: "POST",
245
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.SignOn",
246
+ packageName: PACKAGE_NAME,
247
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
248
+ protoPath: "/v2/sign-on",
249
+ data: serializedData,
250
+ host
251
+ }),
252
+ data: serializedData,
253
+ transformResponse: (payload2) => transformPaths(payload2, [
254
+ {
255
+ transformFn: transformRESTTimestampToSDKTimestamp,
256
+ paths: [
257
+ { path: "identity.createdDate" },
258
+ { path: "identity.updatedDate" },
259
+ { path: "identity.identityProfile.customFields.value.dateValue" }
260
+ ]
261
+ },
262
+ {
263
+ transformFn: transformRESTFloatToSDKFloat,
264
+ paths: [
265
+ { path: "identity.identityProfile.customFields.value.numValue" }
266
+ ]
267
+ }
268
+ ])
269
+ };
270
+ return metadata;
271
+ }
272
+ return __signOn;
273
+ }
274
+ function logout(payload) {
275
+ function __logout({ host }) {
276
+ const metadata = {
277
+ entityFqdn: "wix.iam.authentication.v1.authentication",
278
+ method: "GET",
279
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.Logout",
280
+ packageName: PACKAGE_NAME,
281
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
282
+ protoPath: "/v1/logout",
283
+ data: payload,
284
+ host
285
+ }),
286
+ params: toURLSearchParams(payload),
287
+ transformResponse: (payload2) => transformPaths(payload2, [
288
+ {
289
+ transformFn: transformRESTBytesToSDKBytes,
290
+ paths: [{ path: "body" }]
291
+ }
292
+ ])
293
+ };
294
+ return metadata;
295
+ }
296
+ return __logout;
297
+ }
298
+ function verify(payload) {
299
+ function __verify({ host }) {
300
+ const metadata = {
301
+ entityFqdn: "wix.iam.authentication.v1.authentication",
302
+ method: "POST",
303
+ methodFqn: "wix.iam.authentication.v1.AuthenticationService.Verify",
304
+ packageName: PACKAGE_NAME,
305
+ url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
306
+ protoPath: "/v2/{factorType}/verify",
307
+ data: payload,
308
+ host
309
+ }),
310
+ data: payload,
311
+ transformResponse: (payload2) => transformPaths(payload2, [
312
+ {
313
+ transformFn: transformRESTBytesToSDKBytes,
314
+ paths: [
315
+ {
316
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.challenge"
317
+ },
318
+ {
319
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id"
320
+ },
321
+ {
322
+ path: "mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite"
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ transformFn: transformRESTTimestampToSDKTimestamp,
328
+ paths: [
329
+ { path: "identity.createdDate" },
330
+ { path: "identity.updatedDate" },
331
+ { path: "identity.identityProfile.customFields.value.dateValue" },
332
+ { path: "additionalData.*.dateValue" }
333
+ ]
334
+ },
335
+ {
336
+ transformFn: transformRESTFloatToSDKFloat,
337
+ paths: [
338
+ { path: "identity.identityProfile.customFields.value.numValue" },
339
+ { path: "additionalData.*.numValue" }
340
+ ]
341
+ }
342
+ ])
343
+ };
344
+ return metadata;
345
+ }
346
+ return __verify;
347
+ }
348
+
349
+ // src/iam-authentication-v1-authentication-authentication.meta.ts
350
+ function registerV22() {
351
+ const payload = {};
352
+ const getRequestOptions = registerV2(payload);
353
+ const getUrl = (context) => {
354
+ const { url } = getRequestOptions(context);
355
+ return url;
356
+ };
357
+ return {
358
+ getUrl,
359
+ httpMethod: "POST",
360
+ path: "/v2/register",
361
+ pathParams: {},
362
+ __requestType: null,
363
+ __originalRequestType: null,
364
+ __responseType: null,
365
+ __originalResponseType: null
366
+ };
367
+ }
368
+ function loginV22() {
369
+ const payload = {};
370
+ const getRequestOptions = loginV2(payload);
371
+ const getUrl = (context) => {
372
+ const { url } = getRequestOptions(context);
373
+ return url;
374
+ };
375
+ return {
376
+ getUrl,
377
+ httpMethod: "POST",
378
+ path: "/v2/login",
379
+ pathParams: {},
380
+ __requestType: null,
381
+ __originalRequestType: null,
382
+ __responseType: null,
383
+ __originalResponseType: null
384
+ };
385
+ }
386
+ function changePassword2() {
387
+ const payload = {};
388
+ const getRequestOptions = changePassword(payload);
389
+ const getUrl = (context) => {
390
+ const { url } = getRequestOptions(context);
391
+ return url;
392
+ };
393
+ return {
394
+ getUrl,
395
+ httpMethod: "POST",
396
+ path: "/v2/change-password",
397
+ pathParams: {},
398
+ __requestType: null,
399
+ __originalRequestType: null,
400
+ __responseType: null,
401
+ __originalResponseType: null
402
+ };
403
+ }
404
+ function loginCallback2() {
405
+ const payload = {};
406
+ const getRequestOptions = loginCallback(payload);
407
+ const getUrl = (context) => {
408
+ const { url } = getRequestOptions(context);
409
+ return url;
410
+ };
411
+ return {
412
+ getUrl,
413
+ httpMethod: "GET",
414
+ path: "/v1/callback",
415
+ pathParams: {},
416
+ __requestType: null,
417
+ __originalRequestType: null,
418
+ __responseType: null,
419
+ __originalResponseType: null
420
+ };
421
+ }
422
+ function signOn2() {
423
+ const payload = {};
424
+ const getRequestOptions = signOn(payload);
425
+ const getUrl = (context) => {
426
+ const { url } = getRequestOptions(context);
427
+ return url;
428
+ };
429
+ return {
430
+ getUrl,
431
+ httpMethod: "POST",
432
+ path: "/v2/sign-on",
433
+ pathParams: {},
434
+ __requestType: null,
435
+ __originalRequestType: null,
436
+ __responseType: null,
437
+ __originalResponseType: null
438
+ };
439
+ }
440
+ function logout2() {
441
+ const payload = {};
442
+ const getRequestOptions = logout(payload);
443
+ const getUrl = (context) => {
444
+ const { url } = getRequestOptions(context);
445
+ return url;
446
+ };
447
+ return {
448
+ getUrl,
449
+ httpMethod: "GET",
450
+ path: "/v1/logout",
451
+ pathParams: {},
452
+ __requestType: null,
453
+ __originalRequestType: null,
454
+ __responseType: null,
455
+ __originalResponseType: null
456
+ };
457
+ }
458
+ function verify2() {
459
+ const payload = { factorType: ":factorType" };
460
+ const getRequestOptions = verify(payload);
461
+ const getUrl = (context) => {
462
+ const { url } = getRequestOptions(context);
463
+ return url;
464
+ };
465
+ return {
466
+ getUrl,
467
+ httpMethod: "POST",
468
+ path: "/v2/{factorType}/verify",
469
+ pathParams: { factorType: "factorType" },
470
+ __requestType: null,
471
+ __originalRequestType: null,
472
+ __responseType: null,
473
+ __originalResponseType: null
474
+ };
475
+ }
476
+ export {
477
+ changePassword2 as changePassword,
478
+ loginCallback2 as loginCallback,
479
+ loginV22 as loginV2,
480
+ logout2 as logout,
481
+ registerV22 as registerV2,
482
+ signOn2 as signOn,
483
+ verify2 as verify
484
+ };
485
+ //# sourceMappingURL=meta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/iam-authentication-v1-authentication-authentication.http.ts","../../../src/iam-authentication-v1-authentication-authentication.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTBytesToSDKBytes } from '@wix/sdk-runtime/transformations/bytes';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixIamAuthenticationV1AuthenticationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n ],\n 'users._base_domain_': [\n {\n srcPath: '/iam/wix/google',\n destPath: '/v1/sso/callback/root/0e6a50f5-b523-4e29-990d-f37fa2ffdd69',\n },\n {\n srcPath: '/authentication',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n {\n srcPath: '/iam/authentication',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/authentication',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/iam/authentication',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_identity_authentication';\n\n/**\n * Registers a new member.\n *\n * Typically, after a successful registration, you generate and use member tokens for the\n * registered member so that subsequent API calls are called as part of a member session.\n * 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).\n *\n * If the email used to register the member already exists as a contact email, the registering\n * member need to verify the email address using a code that is sent to the address.\n */\nexport function registerV2(payload: object): RequestOptionsFactory<any> {\n function __registerV2({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'profile.customFields.value.numValue' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'profile.customFields.value.dateValue' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'POST' as any,\n methodFqn: 'wix.iam.authentication.v1.AuthenticationService.RegisterV2',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v2/register',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.challenge',\n },\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id',\n },\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'identity.createdDate' },\n { path: 'identity.updatedDate' },\n { path: 'identity.identityProfile.customFields.value.dateValue' },\n { path: 'additionalData.*.dateValue' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'identity.identityProfile.customFields.value.numValue' },\n { path: 'additionalData.*.numValue' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __registerV2;\n}\n\n/**\n * Logs in an existing member.\n *\n * Typically, after a successful login, you generate and use member tokens for the\n * logged-in member so that subsequent API calls are called as part of a member session.\n * 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).\n */\nexport function loginV2(payload: object): RequestOptionsFactory<any> {\n function __loginV2({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'POST' as any,\n methodFqn: 'wix.iam.authentication.v1.AuthenticationService.LoginV2',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v2/login',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.challenge',\n },\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id',\n },\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'identity.createdDate' },\n { path: 'identity.updatedDate' },\n { path: 'identity.identityProfile.customFields.value.dateValue' },\n { path: 'additionalData.*.dateValue' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'identity.identityProfile.customFields.value.numValue' },\n { path: 'additionalData.*.numValue' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __loginV2;\n}\n\n/** Changes the password of a logged in user. */\nexport function changePassword(payload: object): RequestOptionsFactory<any> {\n function __changePassword({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'POST' as any,\n methodFqn:\n 'wix.iam.authentication.v1.AuthenticationService.ChangePassword',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v2/change-password',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __changePassword;\n}\n\nexport function loginCallback(payload: object): RequestOptionsFactory<any> {\n function __loginCallback({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'GET' as any,\n methodFqn:\n 'wix.iam.authentication.v1.AuthenticationService.LoginCallback',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v1/callback',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'body' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __loginCallback;\n}\n\nexport function signOn(payload: object): RequestOptionsFactory<any> {\n function __signOn({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'profile.customFields.value.numValue' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'profile.customFields.value.dateValue' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'POST' as any,\n methodFqn: 'wix.iam.authentication.v1.AuthenticationService.SignOn',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v2/sign-on',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'identity.createdDate' },\n { path: 'identity.updatedDate' },\n { path: 'identity.identityProfile.customFields.value.dateValue' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'identity.identityProfile.customFields.value.numValue' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __signOn;\n}\n\n/** Logs out a member. */\nexport function logout(payload: object): RequestOptionsFactory<any> {\n function __logout({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'GET' as any,\n methodFqn: 'wix.iam.authentication.v1.AuthenticationService.Logout',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v1/logout',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'body' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __logout;\n}\n\nexport function verify(payload: object): RequestOptionsFactory<any> {\n function __verify({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.iam.authentication.v1.authentication',\n method: 'POST' as any,\n methodFqn: 'wix.iam.authentication.v1.AuthenticationService.Verify',\n packageName: PACKAGE_NAME,\n url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({\n protoPath: '/v2/{factorType}/verify',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.challenge',\n },\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id',\n },\n {\n path: 'mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'identity.createdDate' },\n { path: 'identity.updatedDate' },\n { path: 'identity.identityProfile.customFields.value.dateValue' },\n { path: 'additionalData.*.dateValue' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'identity.identityProfile.customFields.value.numValue' },\n { path: 'additionalData.*.numValue' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __verify;\n}\n","import * as ambassadorWixIamAuthenticationV1Authentication from './iam-authentication-v1-authentication-authentication.http.js';\nimport * as ambassadorWixIamAuthenticationV1AuthenticationTypes from './iam-authentication-v1-authentication-authentication.types.js';\nimport * as ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes from './iam-authentication-v1-authentication-authentication.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function registerV2(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RegisterV2Request,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.RegisterV2Request,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.registerV2(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/register',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function loginV2(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginV2Request,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginV2Request,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.loginV2(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/login',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function changePassword(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.ChangePasswordRequest,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.ChangePasswordRequest,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.ChangePasswordResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.ChangePasswordResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.changePassword(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/change-password',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function loginCallback(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginCallbackRequest,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginCallbackRequest,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.loginCallback(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/callback',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function signOn(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnRequest,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnRequest,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.signOn(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/sign-on',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function logout(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LogoutRequest,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.LogoutRequest,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.logout(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/logout',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function verify(): __PublicMethodMetaInfo<\n 'POST',\n { factorType: string },\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.VerifyRequest,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.VerifyRequest,\n ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse,\n ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse\n> {\n const payload = { factorType: ':factorType' } as any;\n\n const getRequestOptions =\n ambassadorWixIamAuthenticationV1Authentication.verify(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/{factorType}/verify',\n pathParams: { factorType: 'factorType' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,sDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,uBAAuB;AAAA,MACrB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,oBAAoB;AA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EjB,QAAM,oBAC2C,OAAO,OAAO;AAE/D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,UAOd;AACA,QAAM,UAAU,EAAE,YAAY,cAAc;AAE5C,QAAM,oBAC2C,OAAO,OAAO;AAE/D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,YAAY,aAAa;AAAA,IACvC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","registerV2","loginV2","changePassword","loginCallback","signOn","logout","verify"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_identity_authentication",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -8,18 +8,18 @@
8
8
  "keywords": [],
9
9
  "sideEffects": false,
10
10
  "main": "./build/cjs/index.js",
11
- "types": "./build/es/index.d.ts",
11
+ "types": "./build/cjs/index.d.ts",
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./build/es/index.js",
14
+ "import": "./build/es/index.mjs",
15
15
  "require": "./build/cjs/index.js",
16
- "types": "./build/es/index.d.ts"
16
+ "types": "./build/es/index.d.mts"
17
17
  },
18
18
  "./package.json": "./package.json",
19
19
  "./meta": {
20
- "import": "./build/es/meta.js",
20
+ "import": "./build/es/meta.mjs",
21
21
  "require": "./build/cjs/meta.js",
22
- "types": "./build/es/meta.d.ts"
22
+ "types": "./build/es/meta.d.mts"
23
23
  }
24
24
  },
25
25
  "files": [
@@ -32,10 +32,11 @@
32
32
  "@wix/sdk-types": "^1.13.28"
33
33
  },
34
34
  "devDependencies": {
35
+ "tsup": "^8.4.0",
35
36
  "typescript": "^5.3.2"
36
37
  },
37
38
  "scripts": {
38
- "build": "tsc -b tsconfig.json tsconfig.esm.json tsconfig.internal.json tsconfig.internal.esm.json",
39
+ "build": "tsup",
39
40
  "test": ":"
40
41
  },
41
42
  "wix": {
@@ -48,5 +49,5 @@
48
49
  "fqdn": "wix.iam.authentication.v1.authentication"
49
50
  }
50
51
  },
51
- "falconPackageHash": "ed7754a52206e9599c347ac1323867b24d1460285f8975178bf5b524"
52
+ "falconPackageHash": "d533d45342c532bc61d7a11fb500fcb63ff48c62d4db2f2fe6176889"
52
53
  }
@@ -1 +0,0 @@
1
- export * from './src/iam-authentication-v1-authentication-authentication.universal.js';
@@ -1,18 +0,0 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/iam-authentication-v1-authentication-authentication.universal.js"), exports);
18
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yGAAuF"}
@@ -1,11 +0,0 @@
1
- import { registerV2 as publicRegisterV2, loginV2 as publicLoginV2, changePassword as publicChangePassword, loginCallback as publicLoginCallback, signOn as publicSignOn, logout as publicLogout, verify as publicVerify } from './iam-authentication-v1-authentication-authentication.public.js';
2
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
- export declare const registerV2: MaybeContext<BuildRESTFunction<typeof publicRegisterV2> & typeof publicRegisterV2>;
4
- export declare const loginV2: MaybeContext<BuildRESTFunction<typeof publicLoginV2> & typeof publicLoginV2>;
5
- export declare const changePassword: MaybeContext<BuildRESTFunction<typeof publicChangePassword> & typeof publicChangePassword>;
6
- export declare const loginCallback: MaybeContext<BuildRESTFunction<typeof publicLoginCallback> & typeof publicLoginCallback>;
7
- export declare const signOn: MaybeContext<BuildRESTFunction<typeof publicSignOn> & typeof publicSignOn>;
8
- export declare const logout: MaybeContext<BuildRESTFunction<typeof publicLogout> & typeof publicLogout>;
9
- export declare const verify: MaybeContext<BuildRESTFunction<typeof publicVerify> & typeof publicVerify>;
10
- export { PrivacyStatus, EmailTag, PhoneTag, AddressTag, StateType, StatusName, Reason, FactorType, Status, FactorStatus, MfaReason, UserVerificationRequirement, TenantType, } from './iam-authentication-v1-authentication-authentication.universal.js';
11
- export { Authentication, RegisterV2Request, LoginId, LoginIdTypeOneOf, IdentityProfile, CustomField, V1CustomValue, V1CustomValueValueOneOf, V1ListValue, V1MapValue, SecondaryEmail, Phone, AddressWrapper, Address, CaptchaToken, CaptchaTokenTokenOneOf, StateMachineResponse, StateMachineResponseStateDataOneOf, Identity, Connection, ConnectionTypeOneOf, IdpConnection, AuthenticatorConnection, Metadata, Email, StatusV2, Factor, CustomValue, CustomValueValueOneOf, ListValue, MapValue, RequireMfaData, V1Factor, MfaChallengeData, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, PushChallengeData, WebAuthnChallengeData, PublicKeyCredentialDescriptor, AuthenticationExtensionInputs, AuthenticationExtensionInputsLargeBlobOperationOneOf, LoginV2Request, ChangePasswordRequest, ChangePasswordResponse, LoginWithIdpConnectionRequest, RawHttpResponse, HeadersEntry, RawHttpRequest, PathParametersEntry, QueryParametersEntry, LoginCallbackRequest, LoginWithIdpConnectionTokenParamsRequest, SignOnRequest, SignOnResponse, LogoutRequest, VerifyRequest, VerifyRequestFactorDataOneOf, SmsVerifyData, CallVerifyData, ExternalEmailVerifyData, TotpVerifyData, PushVerifyData, WebAuthnVerifyData, RegisterV2Options, LoginV2Options, LoginCallbackOptions, SignOnOptions, LogoutOptions, VerifyOptions, VerifyOptionsFactorDataOneOf, } from './iam-authentication-v1-authentication-authentication.universal.js';
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TenantType = exports.UserVerificationRequirement = exports.MfaReason = exports.FactorStatus = exports.Status = exports.FactorType = exports.Reason = exports.StatusName = exports.StateType = exports.AddressTag = exports.PhoneTag = exports.EmailTag = exports.PrivacyStatus = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = void 0;
4
- const iam_authentication_v1_authentication_authentication_public_js_1 = require("./iam-authentication-v1-authentication-authentication.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- exports.registerV2 = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.registerV2);
7
- exports.loginV2 = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.loginV2);
8
- exports.changePassword = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.changePassword);
9
- exports.loginCallback = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.loginCallback);
10
- exports.signOn = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.signOn);
11
- exports.logout = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.logout);
12
- exports.verify = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.verify);
13
- var iam_authentication_v1_authentication_authentication_universal_js_1 = require("./iam-authentication-v1-authentication-authentication.universal.js");
14
- Object.defineProperty(exports, "PrivacyStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.PrivacyStatus; } });
15
- Object.defineProperty(exports, "EmailTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.EmailTag; } });
16
- Object.defineProperty(exports, "PhoneTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.PhoneTag; } });
17
- Object.defineProperty(exports, "AddressTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.AddressTag; } });
18
- Object.defineProperty(exports, "StateType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.StateType; } });
19
- Object.defineProperty(exports, "StatusName", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.StatusName; } });
20
- Object.defineProperty(exports, "Reason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.Reason; } });
21
- Object.defineProperty(exports, "FactorType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.FactorType; } });
22
- Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.Status; } });
23
- Object.defineProperty(exports, "FactorStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.FactorStatus; } });
24
- Object.defineProperty(exports, "MfaReason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.MfaReason; } });
25
- Object.defineProperty(exports, "UserVerificationRequirement", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.UserVerificationRequirement; } });
26
- Object.defineProperty(exports, "TenantType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.TenantType; } });
27
- //# sourceMappingURL=iam-authentication-v1-authentication-authentication.context.js.map