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