@wix/auto_sdk_identity_authentication 1.0.57 → 1.0.58
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.
- package/build/cjs/schemas.js +799 -772
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/schemas.mjs +799 -772
- package/build/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
- package/build/internal/cjs/index.js +0 -785
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -729
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -616
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.js +0 -1277
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -742
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -686
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -570
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.mjs +0 -1229
- package/build/internal/es/schemas.mjs.map +0 -1
|
@@ -1,570 +0,0 @@
|
|
|
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
|
-
srcPath: "/_api/iam/authentication/v1/sso/callback",
|
|
29
|
-
destPath: "/v1/sso/callback"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
srcPath: "/_api/iam/authentication",
|
|
33
|
-
destPath: ""
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
srcPath: "/_api/iam/authentication/v1/sso/login-with-token-params-redirect/",
|
|
37
|
-
destPath: "/v1/sso/login-with-token-params-redirect"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"www.wixapis.com": [
|
|
41
|
-
{
|
|
42
|
-
srcPath: "/_api/iam/authentication",
|
|
43
|
-
destPath: ""
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
srcPath: "/iam/authentication",
|
|
47
|
-
destPath: ""
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"bo._base_domain_": [
|
|
51
|
-
{
|
|
52
|
-
srcPath: "/_api/iam/authentication",
|
|
53
|
-
destPath: ""
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"wixbo.ai": [
|
|
57
|
-
{
|
|
58
|
-
srcPath: "/_api/iam/authentication",
|
|
59
|
-
destPath: ""
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"wix-bo.com": [
|
|
63
|
-
{
|
|
64
|
-
srcPath: "/_api/iam/authentication",
|
|
65
|
-
destPath: ""
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"dev._base_domain_": [
|
|
69
|
-
{
|
|
70
|
-
srcPath: "/_api/iam/authentication",
|
|
71
|
-
destPath: ""
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"manage._base_domain_": [
|
|
75
|
-
{
|
|
76
|
-
srcPath: "/_api/authentication",
|
|
77
|
-
destPath: ""
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
srcPath: "/_api/iam/authentication",
|
|
81
|
-
destPath: ""
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"www._base_domain_": [
|
|
85
|
-
{
|
|
86
|
-
srcPath: "/_api/iam/authentication",
|
|
87
|
-
destPath: ""
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"*.dev.wix-code.com": [
|
|
91
|
-
{
|
|
92
|
-
srcPath: "/iam/authentication/v2/sign-on",
|
|
93
|
-
destPath: "/v2/sign-on"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
srcPath: "/iam/authentication/v1/logout",
|
|
97
|
-
destPath: "/v1/logout"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
srcPath: "/iam/authentication/v2/change-password",
|
|
101
|
-
destPath: "/v2/change-password"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
srcPath: "/iam/authentication/v2/verify",
|
|
105
|
-
destPath: "/v2/verify"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
srcPath: "/iam/authentication/v2/login",
|
|
109
|
-
destPath: "/v2/login"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
srcPath: "/iam/authentication/v2/register",
|
|
113
|
-
destPath: "/v2/register"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
srcPath: "/iam/authentication/v2",
|
|
117
|
-
destPath: "/v2"
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
};
|
|
121
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
122
|
-
}
|
|
123
|
-
var PACKAGE_NAME = "@wix/auto_sdk_identity_authentication";
|
|
124
|
-
function registerV2(payload) {
|
|
125
|
-
function __registerV2({ host }) {
|
|
126
|
-
const serializedData = transformPaths(payload, [
|
|
127
|
-
{
|
|
128
|
-
transformFn: transformSDKFloatToRESTFloat,
|
|
129
|
-
paths: [{ path: "profile.customFields.value.numValue" }]
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
133
|
-
paths: [{ path: "profile.customFields.value.dateValue" }]
|
|
134
|
-
}
|
|
135
|
-
]);
|
|
136
|
-
const metadata = {
|
|
137
|
-
entityFqdn: "wix.iam.authentication.v1.authentication",
|
|
138
|
-
method: "POST",
|
|
139
|
-
methodFqn: "wix.iam.authentication.v1.AuthenticationService.RegisterV2",
|
|
140
|
-
packageName: PACKAGE_NAME,
|
|
141
|
-
migrationOptions: {
|
|
142
|
-
optInTransformResponse: true
|
|
143
|
-
},
|
|
144
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
145
|
-
protoPath: "/v2/register",
|
|
146
|
-
data: serializedData,
|
|
147
|
-
host
|
|
148
|
-
}),
|
|
149
|
-
data: serializedData,
|
|
150
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
151
|
-
{
|
|
152
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
153
|
-
paths: [
|
|
154
|
-
{ path: "identity.createdDate" },
|
|
155
|
-
{ path: "identity.updatedDate" },
|
|
156
|
-
{ path: "identity.identityProfile.customFields.value.dateValue" },
|
|
157
|
-
{ path: "additionalData.*.dateValue" }
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
162
|
-
paths: [
|
|
163
|
-
{ path: "identity.identityProfile.customFields.value.numValue" },
|
|
164
|
-
{ path: "additionalData.*.numValue" }
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
])
|
|
168
|
-
};
|
|
169
|
-
return metadata;
|
|
170
|
-
}
|
|
171
|
-
return __registerV2;
|
|
172
|
-
}
|
|
173
|
-
function validateEmail(payload) {
|
|
174
|
-
function __validateEmail({ host }) {
|
|
175
|
-
const metadata = {
|
|
176
|
-
entityFqdn: "wix.iam.authentication.v1.authentication",
|
|
177
|
-
method: "POST",
|
|
178
|
-
methodFqn: "wix.iam.authentication.v1.AuthenticationService.ValidateEmail",
|
|
179
|
-
packageName: PACKAGE_NAME,
|
|
180
|
-
migrationOptions: {
|
|
181
|
-
optInTransformResponse: true
|
|
182
|
-
},
|
|
183
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
184
|
-
protoPath: "/v2/validate-email",
|
|
185
|
-
data: payload,
|
|
186
|
-
host
|
|
187
|
-
}),
|
|
188
|
-
data: payload
|
|
189
|
-
};
|
|
190
|
-
return metadata;
|
|
191
|
-
}
|
|
192
|
-
return __validateEmail;
|
|
193
|
-
}
|
|
194
|
-
function loginV2(payload) {
|
|
195
|
-
function __loginV2({ host }) {
|
|
196
|
-
const metadata = {
|
|
197
|
-
entityFqdn: "wix.iam.authentication.v1.authentication",
|
|
198
|
-
method: "POST",
|
|
199
|
-
methodFqn: "wix.iam.authentication.v1.AuthenticationService.LoginV2",
|
|
200
|
-
packageName: PACKAGE_NAME,
|
|
201
|
-
migrationOptions: {
|
|
202
|
-
optInTransformResponse: true
|
|
203
|
-
},
|
|
204
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
205
|
-
protoPath: "/v2/login",
|
|
206
|
-
data: payload,
|
|
207
|
-
host
|
|
208
|
-
}),
|
|
209
|
-
data: payload,
|
|
210
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
211
|
-
{
|
|
212
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
213
|
-
paths: [
|
|
214
|
-
{ path: "identity.createdDate" },
|
|
215
|
-
{ path: "identity.updatedDate" },
|
|
216
|
-
{ path: "identity.identityProfile.customFields.value.dateValue" },
|
|
217
|
-
{ path: "additionalData.*.dateValue" }
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
222
|
-
paths: [
|
|
223
|
-
{ path: "identity.identityProfile.customFields.value.numValue" },
|
|
224
|
-
{ path: "additionalData.*.numValue" }
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
])
|
|
228
|
-
};
|
|
229
|
-
return metadata;
|
|
230
|
-
}
|
|
231
|
-
return __loginV2;
|
|
232
|
-
}
|
|
233
|
-
function changePassword(payload) {
|
|
234
|
-
function __changePassword({ host }) {
|
|
235
|
-
const metadata = {
|
|
236
|
-
entityFqdn: "wix.iam.authentication.v1.authentication",
|
|
237
|
-
method: "POST",
|
|
238
|
-
methodFqn: "wix.iam.authentication.v1.AuthenticationService.ChangePassword",
|
|
239
|
-
packageName: PACKAGE_NAME,
|
|
240
|
-
migrationOptions: {
|
|
241
|
-
optInTransformResponse: true
|
|
242
|
-
},
|
|
243
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
244
|
-
protoPath: "/v2/change-password",
|
|
245
|
-
data: payload,
|
|
246
|
-
host
|
|
247
|
-
}),
|
|
248
|
-
data: payload
|
|
249
|
-
};
|
|
250
|
-
return metadata;
|
|
251
|
-
}
|
|
252
|
-
return __changePassword;
|
|
253
|
-
}
|
|
254
|
-
function signOn(payload) {
|
|
255
|
-
function __signOn({ host }) {
|
|
256
|
-
const serializedData = transformPaths(payload, [
|
|
257
|
-
{
|
|
258
|
-
transformFn: transformSDKFloatToRESTFloat,
|
|
259
|
-
paths: [{ path: "profile.customFields.value.numValue" }]
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
263
|
-
paths: [{ path: "profile.customFields.value.dateValue" }]
|
|
264
|
-
}
|
|
265
|
-
]);
|
|
266
|
-
const metadata = {
|
|
267
|
-
entityFqdn: "wix.iam.authentication.v1.authentication",
|
|
268
|
-
method: "POST",
|
|
269
|
-
methodFqn: "wix.iam.authentication.v1.AuthenticationService.SignOn",
|
|
270
|
-
packageName: PACKAGE_NAME,
|
|
271
|
-
migrationOptions: {
|
|
272
|
-
optInTransformResponse: true
|
|
273
|
-
},
|
|
274
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
275
|
-
protoPath: "/v2/sign-on",
|
|
276
|
-
data: serializedData,
|
|
277
|
-
host
|
|
278
|
-
}),
|
|
279
|
-
data: serializedData,
|
|
280
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
281
|
-
{
|
|
282
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
283
|
-
paths: [
|
|
284
|
-
{ path: "identity.createdDate" },
|
|
285
|
-
{ path: "identity.updatedDate" },
|
|
286
|
-
{ path: "identity.identityProfile.customFields.value.dateValue" }
|
|
287
|
-
]
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
291
|
-
paths: [
|
|
292
|
-
{ path: "identity.identityProfile.customFields.value.numValue" }
|
|
293
|
-
]
|
|
294
|
-
}
|
|
295
|
-
])
|
|
296
|
-
};
|
|
297
|
-
return metadata;
|
|
298
|
-
}
|
|
299
|
-
return __signOn;
|
|
300
|
-
}
|
|
301
|
-
function logout(payload) {
|
|
302
|
-
function __logout({ host }) {
|
|
303
|
-
const metadata = {
|
|
304
|
-
entityFqdn: "wix.iam.authentication.v1.authentication",
|
|
305
|
-
method: "GET",
|
|
306
|
-
methodFqn: "wix.iam.authentication.v1.AuthenticationService.Logout",
|
|
307
|
-
packageName: PACKAGE_NAME,
|
|
308
|
-
migrationOptions: {
|
|
309
|
-
optInTransformResponse: true
|
|
310
|
-
},
|
|
311
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
312
|
-
protoPath: "/v1/logout",
|
|
313
|
-
data: payload,
|
|
314
|
-
host
|
|
315
|
-
}),
|
|
316
|
-
params: toURLSearchParams(payload),
|
|
317
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
318
|
-
{
|
|
319
|
-
transformFn: transformRESTBytesToSDKBytes,
|
|
320
|
-
paths: [{ path: "body" }]
|
|
321
|
-
}
|
|
322
|
-
])
|
|
323
|
-
};
|
|
324
|
-
return metadata;
|
|
325
|
-
}
|
|
326
|
-
return __logout;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
// src/iam-authentication-v1-authentication-authentication.types.ts
|
|
330
|
-
var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
|
|
331
|
-
PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
|
|
332
|
-
PrivacyStatus2["PUBLIC"] = "PUBLIC";
|
|
333
|
-
PrivacyStatus2["PRIVATE"] = "PRIVATE";
|
|
334
|
-
return PrivacyStatus2;
|
|
335
|
-
})(PrivacyStatus || {});
|
|
336
|
-
var EmailTag = /* @__PURE__ */ ((EmailTag2) => {
|
|
337
|
-
EmailTag2["UNTAGGED"] = "UNTAGGED";
|
|
338
|
-
EmailTag2["MAIN"] = "MAIN";
|
|
339
|
-
EmailTag2["HOME"] = "HOME";
|
|
340
|
-
EmailTag2["WORK"] = "WORK";
|
|
341
|
-
return EmailTag2;
|
|
342
|
-
})(EmailTag || {});
|
|
343
|
-
var PhoneTag = /* @__PURE__ */ ((PhoneTag2) => {
|
|
344
|
-
PhoneTag2["UNTAGGED"] = "UNTAGGED";
|
|
345
|
-
PhoneTag2["MAIN"] = "MAIN";
|
|
346
|
-
PhoneTag2["HOME"] = "HOME";
|
|
347
|
-
PhoneTag2["MOBILE"] = "MOBILE";
|
|
348
|
-
PhoneTag2["WORK"] = "WORK";
|
|
349
|
-
PhoneTag2["FAX"] = "FAX";
|
|
350
|
-
return PhoneTag2;
|
|
351
|
-
})(PhoneTag || {});
|
|
352
|
-
var AddressTag = /* @__PURE__ */ ((AddressTag2) => {
|
|
353
|
-
AddressTag2["UNTAGGED"] = "UNTAGGED";
|
|
354
|
-
AddressTag2["HOME"] = "HOME";
|
|
355
|
-
AddressTag2["WORK"] = "WORK";
|
|
356
|
-
AddressTag2["BILLING"] = "BILLING";
|
|
357
|
-
AddressTag2["SHIPPING"] = "SHIPPING";
|
|
358
|
-
return AddressTag2;
|
|
359
|
-
})(AddressTag || {});
|
|
360
|
-
var StateType = /* @__PURE__ */ ((StateType2) => {
|
|
361
|
-
StateType2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
362
|
-
StateType2["SUCCESS"] = "SUCCESS";
|
|
363
|
-
StateType2["REQUIRE_OWNER_APPROVAL"] = "REQUIRE_OWNER_APPROVAL";
|
|
364
|
-
StateType2["REQUIRE_EMAIL_VERIFICATION"] = "REQUIRE_EMAIL_VERIFICATION";
|
|
365
|
-
StateType2["STATUS_CHECK"] = "STATUS_CHECK";
|
|
366
|
-
StateType2["REQUIRE_MFA"] = "REQUIRE_MFA";
|
|
367
|
-
StateType2["MFA_CHALLENGE"] = "MFA_CHALLENGE";
|
|
368
|
-
StateType2["REQUIRE_FIRST_FACTOR"] = "REQUIRE_FIRST_FACTOR";
|
|
369
|
-
StateType2["REQUIRE_MISSING_FIELDS"] = "REQUIRE_MISSING_FIELDS";
|
|
370
|
-
return StateType2;
|
|
371
|
-
})(StateType || {});
|
|
372
|
-
var StatusName = /* @__PURE__ */ ((StatusName2) => {
|
|
373
|
-
StatusName2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
374
|
-
StatusName2["PENDING"] = "PENDING";
|
|
375
|
-
StatusName2["ACTIVE"] = "ACTIVE";
|
|
376
|
-
StatusName2["DELETED"] = "DELETED";
|
|
377
|
-
StatusName2["BLOCKED"] = "BLOCKED";
|
|
378
|
-
StatusName2["OFFLINE"] = "OFFLINE";
|
|
379
|
-
return StatusName2;
|
|
380
|
-
})(StatusName || {});
|
|
381
|
-
var V1Reason = /* @__PURE__ */ ((V1Reason2) => {
|
|
382
|
-
V1Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
383
|
-
V1Reason2["PENDING_ADMIN_APPROVAL_REQUIRED"] = "PENDING_ADMIN_APPROVAL_REQUIRED";
|
|
384
|
-
V1Reason2["PENDING_EMAIL_VERIFICATION_REQUIRED"] = "PENDING_EMAIL_VERIFICATION_REQUIRED";
|
|
385
|
-
V1Reason2["PENDING_REQUIRED_FIELDS_MISSING"] = "PENDING_REQUIRED_FIELDS_MISSING";
|
|
386
|
-
return V1Reason2;
|
|
387
|
-
})(V1Reason || {});
|
|
388
|
-
var FactorType = /* @__PURE__ */ ((FactorType2) => {
|
|
389
|
-
FactorType2["PASSWORD"] = "PASSWORD";
|
|
390
|
-
FactorType2["SMS"] = "SMS";
|
|
391
|
-
FactorType2["CALL"] = "CALL";
|
|
392
|
-
FactorType2["EMAIL"] = "EMAIL";
|
|
393
|
-
FactorType2["TOTP"] = "TOTP";
|
|
394
|
-
FactorType2["PUSH"] = "PUSH";
|
|
395
|
-
FactorType2["WEBAUTHN"] = "WEBAUTHN";
|
|
396
|
-
FactorType2["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
397
|
-
return FactorType2;
|
|
398
|
-
})(FactorType || {});
|
|
399
|
-
var Status = /* @__PURE__ */ ((Status2) => {
|
|
400
|
-
Status2["INACTIVE"] = "INACTIVE";
|
|
401
|
-
Status2["ACTIVE"] = "ACTIVE";
|
|
402
|
-
Status2["REQUIRE_REENROLL"] = "REQUIRE_REENROLL";
|
|
403
|
-
return Status2;
|
|
404
|
-
})(Status || {});
|
|
405
|
-
var FactorStatus = /* @__PURE__ */ ((FactorStatus2) => {
|
|
406
|
-
FactorStatus2["ENABLED"] = "ENABLED";
|
|
407
|
-
FactorStatus2["REQUIRE_ACTIVATION"] = "REQUIRE_ACTIVATION";
|
|
408
|
-
FactorStatus2["REQUIRE_REENROLL"] = "REQUIRE_REENROLL";
|
|
409
|
-
FactorStatus2["ENABLED_BY_RULE"] = "ENABLED_BY_RULE";
|
|
410
|
-
FactorStatus2["DISABLED_BY_RULE"] = "DISABLED_BY_RULE";
|
|
411
|
-
return FactorStatus2;
|
|
412
|
-
})(FactorStatus || {});
|
|
413
|
-
var MfaReason = /* @__PURE__ */ ((MfaReason2) => {
|
|
414
|
-
MfaReason2["USER_SETTINGS"] = "USER_SETTINGS";
|
|
415
|
-
MfaReason2["HIGH_RISK_LOGIN"] = "HIGH_RISK_LOGIN";
|
|
416
|
-
return MfaReason2;
|
|
417
|
-
})(MfaReason || {});
|
|
418
|
-
var Reason = /* @__PURE__ */ ((Reason2) => {
|
|
419
|
-
Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
420
|
-
Reason2["EMAIL_ADDRESS_BOUNCED"] = "EMAIL_ADDRESS_BOUNCED";
|
|
421
|
-
Reason2["EMAIL_DOMAIN_MISSING_DNS_RECORDS"] = "EMAIL_DOMAIN_MISSING_DNS_RECORDS";
|
|
422
|
-
Reason2["EMAIL_DOMAIN_FORMAT_INVALID"] = "EMAIL_DOMAIN_FORMAT_INVALID";
|
|
423
|
-
Reason2["EMAIL_DOMAIN_PERMANENTLY_BLACKLISTED"] = "EMAIL_DOMAIN_PERMANENTLY_BLACKLISTED";
|
|
424
|
-
return Reason2;
|
|
425
|
-
})(Reason || {});
|
|
426
|
-
var TenantType = /* @__PURE__ */ ((TenantType2) => {
|
|
427
|
-
TenantType2["UNKNOWN_TENANT_TYPE"] = "UNKNOWN_TENANT_TYPE";
|
|
428
|
-
TenantType2["ACCOUNT"] = "ACCOUNT";
|
|
429
|
-
TenantType2["SITE"] = "SITE";
|
|
430
|
-
TenantType2["ROOT"] = "ROOT";
|
|
431
|
-
return TenantType2;
|
|
432
|
-
})(TenantType || {});
|
|
433
|
-
var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
|
|
434
|
-
DeliveryMethod2["SMS"] = "SMS";
|
|
435
|
-
DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
|
|
436
|
-
return DeliveryMethod2;
|
|
437
|
-
})(DeliveryMethod || {});
|
|
438
|
-
|
|
439
|
-
// src/iam-authentication-v1-authentication-authentication.meta.ts
|
|
440
|
-
function registerV22() {
|
|
441
|
-
const payload = {};
|
|
442
|
-
const getRequestOptions = registerV2(payload);
|
|
443
|
-
const getUrl = (context) => {
|
|
444
|
-
const { url } = getRequestOptions(context);
|
|
445
|
-
return url;
|
|
446
|
-
};
|
|
447
|
-
return {
|
|
448
|
-
getUrl,
|
|
449
|
-
httpMethod: "POST",
|
|
450
|
-
path: "/v2/register",
|
|
451
|
-
pathParams: {},
|
|
452
|
-
__requestType: null,
|
|
453
|
-
__originalRequestType: null,
|
|
454
|
-
__responseType: null,
|
|
455
|
-
__originalResponseType: null
|
|
456
|
-
};
|
|
457
|
-
}
|
|
458
|
-
function validateEmail2() {
|
|
459
|
-
const payload = {};
|
|
460
|
-
const getRequestOptions = validateEmail(payload);
|
|
461
|
-
const getUrl = (context) => {
|
|
462
|
-
const { url } = getRequestOptions(context);
|
|
463
|
-
return url;
|
|
464
|
-
};
|
|
465
|
-
return {
|
|
466
|
-
getUrl,
|
|
467
|
-
httpMethod: "POST",
|
|
468
|
-
path: "/v2/validate-email",
|
|
469
|
-
pathParams: {},
|
|
470
|
-
__requestType: null,
|
|
471
|
-
__originalRequestType: null,
|
|
472
|
-
__responseType: null,
|
|
473
|
-
__originalResponseType: null
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
function loginV22() {
|
|
477
|
-
const payload = {};
|
|
478
|
-
const getRequestOptions = loginV2(payload);
|
|
479
|
-
const getUrl = (context) => {
|
|
480
|
-
const { url } = getRequestOptions(context);
|
|
481
|
-
return url;
|
|
482
|
-
};
|
|
483
|
-
return {
|
|
484
|
-
getUrl,
|
|
485
|
-
httpMethod: "POST",
|
|
486
|
-
path: "/v2/login",
|
|
487
|
-
pathParams: {},
|
|
488
|
-
__requestType: null,
|
|
489
|
-
__originalRequestType: null,
|
|
490
|
-
__responseType: null,
|
|
491
|
-
__originalResponseType: null
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
function changePassword2() {
|
|
495
|
-
const payload = {};
|
|
496
|
-
const getRequestOptions = changePassword(payload);
|
|
497
|
-
const getUrl = (context) => {
|
|
498
|
-
const { url } = getRequestOptions(context);
|
|
499
|
-
return url;
|
|
500
|
-
};
|
|
501
|
-
return {
|
|
502
|
-
getUrl,
|
|
503
|
-
httpMethod: "POST",
|
|
504
|
-
path: "/v2/change-password",
|
|
505
|
-
pathParams: {},
|
|
506
|
-
__requestType: null,
|
|
507
|
-
__originalRequestType: null,
|
|
508
|
-
__responseType: null,
|
|
509
|
-
__originalResponseType: null
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
function signOn2() {
|
|
513
|
-
const payload = {};
|
|
514
|
-
const getRequestOptions = signOn(payload);
|
|
515
|
-
const getUrl = (context) => {
|
|
516
|
-
const { url } = getRequestOptions(context);
|
|
517
|
-
return url;
|
|
518
|
-
};
|
|
519
|
-
return {
|
|
520
|
-
getUrl,
|
|
521
|
-
httpMethod: "POST",
|
|
522
|
-
path: "/v2/sign-on",
|
|
523
|
-
pathParams: {},
|
|
524
|
-
__requestType: null,
|
|
525
|
-
__originalRequestType: null,
|
|
526
|
-
__responseType: null,
|
|
527
|
-
__originalResponseType: null
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
function logout2() {
|
|
531
|
-
const payload = {};
|
|
532
|
-
const getRequestOptions = logout(payload);
|
|
533
|
-
const getUrl = (context) => {
|
|
534
|
-
const { url } = getRequestOptions(context);
|
|
535
|
-
return url;
|
|
536
|
-
};
|
|
537
|
-
return {
|
|
538
|
-
getUrl,
|
|
539
|
-
httpMethod: "GET",
|
|
540
|
-
path: "/v1/logout",
|
|
541
|
-
pathParams: {},
|
|
542
|
-
__requestType: null,
|
|
543
|
-
__originalRequestType: null,
|
|
544
|
-
__responseType: null,
|
|
545
|
-
__originalResponseType: null
|
|
546
|
-
};
|
|
547
|
-
}
|
|
548
|
-
export {
|
|
549
|
-
AddressTag as AddressTagOriginal,
|
|
550
|
-
DeliveryMethod as DeliveryMethodOriginal,
|
|
551
|
-
EmailTag as EmailTagOriginal,
|
|
552
|
-
FactorStatus as FactorStatusOriginal,
|
|
553
|
-
FactorType as FactorTypeOriginal,
|
|
554
|
-
MfaReason as MfaReasonOriginal,
|
|
555
|
-
PhoneTag as PhoneTagOriginal,
|
|
556
|
-
PrivacyStatus as PrivacyStatusOriginal,
|
|
557
|
-
Reason as ReasonOriginal,
|
|
558
|
-
StateType as StateTypeOriginal,
|
|
559
|
-
StatusName as StatusNameOriginal,
|
|
560
|
-
Status as StatusOriginal,
|
|
561
|
-
TenantType as TenantTypeOriginal,
|
|
562
|
-
V1Reason as V1ReasonOriginal,
|
|
563
|
-
changePassword2 as changePassword,
|
|
564
|
-
loginV22 as loginV2,
|
|
565
|
-
logout2 as logout,
|
|
566
|
-
registerV22 as registerV2,
|
|
567
|
-
signOn2 as signOn,
|
|
568
|
-
validateEmail2 as validateEmail
|
|
569
|
-
};
|
|
570
|
-
//# sourceMappingURL=meta.mjs.map
|