@authhero/adapter-interfaces 4.2.1 → 4.4.0
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/LICENSE +1 -1
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +184 -6
- package/dist/adapter-interfaces.mjs +358 -311
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/ScimConfigurations.d.ts +7 -0
- package/dist/types/adapters/ScimExternalIds.d.ts +7 -0
- package/dist/types/adapters/ScimTokens.d.ts +9 -0
- package/dist/types/adapters/UserRoles.d.ts +13 -0
- package/dist/types/adapters/index.d.ts +16 -0
- package/dist/types/types/AuditEvent.d.ts +3 -0
- package/dist/types/types/Connection.d.ts +4 -4
- package/dist/types/types/Forms.d.ts +16 -0
- package/dist/types/types/PromptSetting.d.ts +1 -0
- package/dist/types/types/ScimConfiguration.d.ts +30 -0
- package/dist/types/types/ScimExternalId.d.ts +21 -0
- package/dist/types/types/ScimToken.d.ts +19 -0
- package/dist/types/types/User.d.ts +3 -0
- package/dist/types/types/auth0/UserResponse.d.ts +1 -0
- package/dist/types/types/codeHookApiShapes.d.ts +37 -0
- package/dist/types/types/index.d.ts +4 -0
- package/package.json +2 -1
|
@@ -121,7 +121,8 @@ var t = e.object({
|
|
|
121
121
|
body: e.unknown().optional(),
|
|
122
122
|
ip: e.string(),
|
|
123
123
|
user_agent: e.string().optional(),
|
|
124
|
-
correlation_id: e.string().optional()
|
|
124
|
+
correlation_id: e.string().optional(),
|
|
125
|
+
redirect_uri: e.string().optional()
|
|
125
126
|
}), fe = e.object({
|
|
126
127
|
status_code: e.number(),
|
|
127
128
|
body: e.unknown().optional()
|
|
@@ -168,14 +169,14 @@ var t = e.object({
|
|
|
168
169
|
"UPDATE_USER",
|
|
169
170
|
"SEND_REQUEST",
|
|
170
171
|
"SEND_EMAIL"
|
|
171
|
-
]), ye = e.enum(["VERIFY_EMAIL"]),
|
|
172
|
+
]), ye = e.enum(["VERIFY_EMAIL"]), be = e.object({
|
|
172
173
|
require_mx_record: e.boolean().optional(),
|
|
173
174
|
block_aliases: e.boolean().optional(),
|
|
174
175
|
block_free_emails: e.boolean().optional(),
|
|
175
176
|
block_disposable_emails: e.boolean().optional(),
|
|
176
177
|
blocklist: e.array(e.string()).optional(),
|
|
177
178
|
allowlist: e.array(e.string()).optional()
|
|
178
|
-
}),
|
|
179
|
+
}), xe = e.object({
|
|
179
180
|
id: e.string(),
|
|
180
181
|
alias: e.string().max(100).optional(),
|
|
181
182
|
type: e.literal("AUTH0"),
|
|
@@ -187,7 +188,7 @@ var t = e.object({
|
|
|
187
188
|
user_id: e.string(),
|
|
188
189
|
changes: e.record(e.string(), e.any())
|
|
189
190
|
})
|
|
190
|
-
}),
|
|
191
|
+
}), Se = e.object({
|
|
191
192
|
id: e.string(),
|
|
192
193
|
alias: e.string().max(100).optional(),
|
|
193
194
|
type: e.literal("EMAIL"),
|
|
@@ -196,13 +197,13 @@ var t = e.object({
|
|
|
196
197
|
mask_output: e.boolean().optional(),
|
|
197
198
|
params: e.object({
|
|
198
199
|
email: e.string(),
|
|
199
|
-
rules:
|
|
200
|
+
rules: be.optional()
|
|
200
201
|
})
|
|
201
|
-
}),
|
|
202
|
+
}), Ce = e.enum([
|
|
202
203
|
"change-email",
|
|
203
204
|
"account",
|
|
204
205
|
"custom"
|
|
205
|
-
]),
|
|
206
|
+
]), we = e.object({
|
|
206
207
|
id: e.string(),
|
|
207
208
|
alias: e.string().max(100).optional(),
|
|
208
209
|
type: e.literal("REDIRECT"),
|
|
@@ -210,32 +211,32 @@ var t = e.object({
|
|
|
210
211
|
allow_failure: e.boolean().optional(),
|
|
211
212
|
mask_output: e.boolean().optional(),
|
|
212
213
|
params: e.object({
|
|
213
|
-
target:
|
|
214
|
+
target: Ce.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
|
|
214
215
|
custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
|
|
215
216
|
})
|
|
216
|
-
}),
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
]),
|
|
217
|
+
}), Te = e.union([
|
|
218
|
+
xe,
|
|
219
|
+
Se,
|
|
220
|
+
we
|
|
221
|
+
]), Ee = e.object({
|
|
221
222
|
name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
|
|
222
|
-
actions: e.array(
|
|
223
|
-
}),
|
|
223
|
+
actions: e.array(Te).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
|
|
224
|
+
}), De = Ee.extend(t.shape).extend({ id: e.string().openapi({
|
|
224
225
|
description: "Unique identifier for the flow",
|
|
225
226
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
226
|
-
}) }),
|
|
227
|
+
}) }), Oe = e.object({
|
|
227
228
|
page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
|
|
228
229
|
per_page: e.string().min(1).optional().default("50").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page. Defaults to 50." }),
|
|
229
230
|
include_totals: e.string().optional().default("false").transform((e) => e === "true").openapi({ description: "If the total number of items should be included in the response" }),
|
|
230
231
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
|
|
231
232
|
q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
|
|
232
|
-
}),
|
|
233
|
+
}), ke = e.object({
|
|
233
234
|
start: e.number(),
|
|
234
235
|
limit: e.number(),
|
|
235
236
|
length: e.number(),
|
|
236
237
|
total: e.number().optional(),
|
|
237
238
|
next: e.string().optional()
|
|
238
|
-
}),
|
|
239
|
+
}), u = e.object({
|
|
239
240
|
email: e.string().optional(),
|
|
240
241
|
email_verified: e.boolean().optional(),
|
|
241
242
|
name: e.string().optional(),
|
|
@@ -244,7 +245,7 @@ var t = e.object({
|
|
|
244
245
|
phone_number: e.string().optional(),
|
|
245
246
|
phone_verified: e.boolean().optional(),
|
|
246
247
|
family_name: e.string().optional()
|
|
247
|
-
}).catchall(e.any()),
|
|
248
|
+
}).catchall(e.any()), d = e.object({
|
|
248
249
|
connection: e.string(),
|
|
249
250
|
user_id: e.string(),
|
|
250
251
|
provider: e.string(),
|
|
@@ -257,15 +258,15 @@ var t = e.object({
|
|
|
257
258
|
access_token: e.string().optional(),
|
|
258
259
|
access_token_secret: e.string().optional(),
|
|
259
260
|
refresh_token: e.string().optional(),
|
|
260
|
-
profileData:
|
|
261
|
-
}),
|
|
261
|
+
profileData: u.optional()
|
|
262
|
+
}), f = e.object({
|
|
262
263
|
formatted: e.string().optional(),
|
|
263
264
|
street_address: e.string().optional(),
|
|
264
265
|
locality: e.string().optional(),
|
|
265
266
|
region: e.string().optional(),
|
|
266
267
|
postal_code: e.string().optional(),
|
|
267
268
|
country: e.string().optional()
|
|
268
|
-
}).optional(),
|
|
269
|
+
}).optional(), p = e.object({
|
|
269
270
|
email: e.string().transform((e) => e.toLowerCase()).optional(),
|
|
270
271
|
username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
|
|
271
272
|
phone_number: e.string().optional(),
|
|
@@ -288,8 +289,8 @@ var t = e.object({
|
|
|
288
289
|
gender: e.string().optional(),
|
|
289
290
|
birthdate: e.string().optional(),
|
|
290
291
|
zoneinfo: e.string().optional(),
|
|
291
|
-
address:
|
|
292
|
-
}),
|
|
292
|
+
address: f
|
|
293
|
+
}), m = p.extend({
|
|
293
294
|
email_verified: e.boolean().default(!1),
|
|
294
295
|
verify_email: e.boolean().optional(),
|
|
295
296
|
last_ip: e.string().optional(),
|
|
@@ -298,34 +299,35 @@ var t = e.object({
|
|
|
298
299
|
provider: e.string().optional(),
|
|
299
300
|
connection: e.string(),
|
|
300
301
|
is_social: e.boolean().optional(),
|
|
302
|
+
blocked: e.boolean().optional(),
|
|
301
303
|
registration_completed_at: e.string().optional(),
|
|
302
304
|
password: e.object({
|
|
303
305
|
hash: e.string(),
|
|
304
306
|
algorithm: e.string()
|
|
305
307
|
}).optional()
|
|
306
|
-
}),
|
|
308
|
+
}), h = m.omit({ password: !0 }).extend(t.shape).extend({
|
|
307
309
|
user_id: e.string(),
|
|
308
310
|
provider: e.string(),
|
|
309
311
|
is_social: e.boolean(),
|
|
310
312
|
email: e.string().optional(),
|
|
311
313
|
login_count: e.number().default(0),
|
|
312
|
-
identities: e.array(
|
|
313
|
-
}),
|
|
314
|
+
identities: e.array(d).optional()
|
|
315
|
+
}), Ae = h.omit({ registration_completed_at: !0 }), je = p.extend({
|
|
314
316
|
login_count: e.number(),
|
|
315
317
|
multifactor: e.array(e.string()).optional(),
|
|
316
318
|
last_ip: e.string().optional(),
|
|
317
319
|
last_login: e.string().optional(),
|
|
318
320
|
user_id: e.string()
|
|
319
|
-
}).catchall(e.any()),
|
|
321
|
+
}).catchall(e.any()), Me = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ne = (e = 21) => {
|
|
320
322
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
321
|
-
for (; e--;) t +=
|
|
323
|
+
for (; e--;) t += Me[n[e] & 63];
|
|
322
324
|
return t;
|
|
323
|
-
},
|
|
325
|
+
}, g = e.object({
|
|
324
326
|
client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
|
|
325
327
|
name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
|
|
326
328
|
description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
|
|
327
329
|
global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
|
|
328
|
-
client_secret: e.string().default(() =>
|
|
330
|
+
client_secret: e.string().default(() => Ne()).optional().openapi({ description: "Client secret (which you must not make public)." }),
|
|
329
331
|
app_type: e.enum([
|
|
330
332
|
"native",
|
|
331
333
|
"spa",
|
|
@@ -438,10 +440,10 @@ var t = e.object({
|
|
|
438
440
|
]).optional().openapi({ description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token." }),
|
|
439
441
|
registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability." }),
|
|
440
442
|
user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({ description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies." })
|
|
441
|
-
}),
|
|
443
|
+
}), Pe = e.object({
|
|
442
444
|
created_at: e.string(),
|
|
443
445
|
updated_at: e.string()
|
|
444
|
-
}).extend(
|
|
446
|
+
}).extend(g.shape).extend({ client_id: e.string() }), _ = e.object({
|
|
445
447
|
client_id: e.string().min(1).openapi({ description: "ID of the client." }),
|
|
446
448
|
audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
|
|
447
449
|
scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
|
|
@@ -454,38 +456,38 @@ var t = e.object({
|
|
|
454
456
|
is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
|
|
455
457
|
subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
|
|
456
458
|
authorization_details_types: e.array(e.string()).optional().openapi({ description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." })
|
|
457
|
-
}),
|
|
459
|
+
}), v = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(_.shape).extend({
|
|
458
460
|
created_at: e.string().optional(),
|
|
459
461
|
updated_at: e.string().optional()
|
|
460
|
-
}),
|
|
462
|
+
}), Fe = e.array(v), y = e.enum(["iat", "rat"]), b = e.object({
|
|
461
463
|
id: e.string(),
|
|
462
464
|
token_hash: e.string(),
|
|
463
|
-
type:
|
|
465
|
+
type: y,
|
|
464
466
|
client_id: e.string().optional(),
|
|
465
467
|
sub: e.string().optional(),
|
|
466
468
|
constraints: e.record(e.string(), e.unknown()).optional(),
|
|
467
469
|
single_use: e.boolean().default(!1),
|
|
468
470
|
expires_at: e.string().optional()
|
|
469
|
-
}),
|
|
471
|
+
}), Ie = e.object({
|
|
470
472
|
created_at: e.string(),
|
|
471
473
|
used_at: e.string().optional(),
|
|
472
474
|
revoked_at: e.string().optional()
|
|
473
|
-
}).extend(
|
|
475
|
+
}).extend(b.shape), x = e.object({
|
|
474
476
|
x: e.number(),
|
|
475
477
|
y: e.number()
|
|
476
|
-
}),
|
|
478
|
+
}), S = /* @__PURE__ */ function(e) {
|
|
477
479
|
return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
|
|
478
|
-
}({}),
|
|
480
|
+
}({}), C = /* @__PURE__ */ function(e) {
|
|
479
481
|
return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
|
|
480
|
-
}({}),
|
|
482
|
+
}({}), w = e.object({
|
|
481
483
|
id: e.string(),
|
|
482
|
-
category: e.nativeEnum(
|
|
483
|
-
type: e.nativeEnum(
|
|
484
|
-
}),
|
|
484
|
+
category: e.nativeEnum(C),
|
|
485
|
+
type: e.nativeEnum(S)
|
|
486
|
+
}), T = w.extend({
|
|
485
487
|
category: e.literal("BLOCK"),
|
|
486
488
|
type: e.literal("RICH_TEXT"),
|
|
487
489
|
config: e.object({ content: e.string() }).passthrough()
|
|
488
|
-
}),
|
|
490
|
+
}), E = w.extend({
|
|
489
491
|
category: e.literal("BLOCK"),
|
|
490
492
|
type: e.union([
|
|
491
493
|
e.literal("NEXT_BUTTON"),
|
|
@@ -493,13 +495,13 @@ var t = e.object({
|
|
|
493
495
|
e.literal("SUBMIT_BUTTON")
|
|
494
496
|
]),
|
|
495
497
|
config: e.object({ text: e.string() }).passthrough()
|
|
496
|
-
}),
|
|
498
|
+
}), D = w.extend({
|
|
497
499
|
category: e.literal("FIELD"),
|
|
498
500
|
type: e.literal("LEGAL"),
|
|
499
501
|
required: e.boolean().optional(),
|
|
500
502
|
sensitive: e.boolean().optional(),
|
|
501
503
|
config: e.object({ text: e.string() }).passthrough()
|
|
502
|
-
}),
|
|
504
|
+
}), O = w.extend({
|
|
503
505
|
category: e.literal("FIELD"),
|
|
504
506
|
type: e.union([
|
|
505
507
|
e.literal("TEXT"),
|
|
@@ -519,40 +521,40 @@ var t = e.object({
|
|
|
519
521
|
label: e.string().optional(),
|
|
520
522
|
placeholder: e.string().optional()
|
|
521
523
|
}).passthrough()
|
|
522
|
-
}),
|
|
524
|
+
}), k = e.object({
|
|
523
525
|
id: e.string(),
|
|
524
526
|
category: e.string(),
|
|
525
527
|
type: e.string()
|
|
526
|
-
}).passthrough(),
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
]),
|
|
528
|
+
}).passthrough(), A = e.union([
|
|
529
|
+
T,
|
|
530
|
+
E,
|
|
531
|
+
D,
|
|
532
|
+
O,
|
|
533
|
+
k
|
|
534
|
+
]), Le = /* @__PURE__ */ function(e) {
|
|
533
535
|
return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
|
|
534
|
-
}({}),
|
|
536
|
+
}({}), j = e.object({
|
|
535
537
|
id: e.string(),
|
|
536
538
|
type: e.literal("STEP"),
|
|
537
|
-
coordinates:
|
|
539
|
+
coordinates: x,
|
|
538
540
|
alias: e.string().optional(),
|
|
539
541
|
config: e.object({
|
|
540
|
-
components: e.array(
|
|
542
|
+
components: e.array(A),
|
|
541
543
|
next_node: e.string()
|
|
542
544
|
}).passthrough()
|
|
543
|
-
}),
|
|
545
|
+
}), M = e.object({
|
|
544
546
|
id: e.string(),
|
|
545
547
|
type: e.literal("FLOW"),
|
|
546
|
-
coordinates:
|
|
548
|
+
coordinates: x,
|
|
547
549
|
alias: e.string().optional(),
|
|
548
550
|
config: e.object({
|
|
549
551
|
flow_id: e.string(),
|
|
550
552
|
next_node: e.string()
|
|
551
553
|
})
|
|
552
|
-
}),
|
|
554
|
+
}), N = e.object({
|
|
553
555
|
id: e.string(),
|
|
554
556
|
type: e.literal("ACTION"),
|
|
555
|
-
coordinates:
|
|
557
|
+
coordinates: x,
|
|
556
558
|
alias: e.string().optional(),
|
|
557
559
|
config: e.object({
|
|
558
560
|
action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
|
|
@@ -564,56 +566,56 @@ var t = e.object({
|
|
|
564
566
|
custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
|
|
565
567
|
next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
|
|
566
568
|
}).passthrough()
|
|
567
|
-
}),
|
|
569
|
+
}), P = e.object({
|
|
568
570
|
id: e.string(),
|
|
569
571
|
type: e.string(),
|
|
570
|
-
coordinates:
|
|
571
|
-
}).passthrough(),
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
]),
|
|
572
|
+
coordinates: x
|
|
573
|
+
}).passthrough(), F = e.union([
|
|
574
|
+
j,
|
|
575
|
+
M,
|
|
576
|
+
N,
|
|
577
|
+
P
|
|
578
|
+
]), Re = e.object({
|
|
577
579
|
next_node: e.string(),
|
|
578
|
-
coordinates:
|
|
579
|
-
}).passthrough(),
|
|
580
|
+
coordinates: x
|
|
581
|
+
}).passthrough(), ze = e.object({
|
|
580
582
|
resume_flow: e.boolean().optional(),
|
|
581
|
-
coordinates:
|
|
582
|
-
}).passthrough(),
|
|
583
|
+
coordinates: x
|
|
584
|
+
}).passthrough(), Be = e.object({
|
|
583
585
|
id: e.string(),
|
|
584
586
|
name: e.string(),
|
|
585
587
|
languages: e.object({ primary: e.string() }).passthrough(),
|
|
586
|
-
nodes: e.array(
|
|
587
|
-
start:
|
|
588
|
-
ending:
|
|
588
|
+
nodes: e.array(F),
|
|
589
|
+
start: Re,
|
|
590
|
+
ending: ze,
|
|
589
591
|
created_at: e.string(),
|
|
590
592
|
updated_at: e.string(),
|
|
591
593
|
links: e.object({
|
|
592
594
|
sdkSrc: e.string().optional(),
|
|
593
595
|
sdk_src: e.string().optional()
|
|
594
596
|
}).passthrough()
|
|
595
|
-
}).passthrough(),
|
|
597
|
+
}).passthrough(), Ve = Be.omit({
|
|
596
598
|
id: !0,
|
|
597
599
|
created_at: !0,
|
|
598
600
|
updated_at: !0
|
|
599
|
-
}),
|
|
601
|
+
}), I = /* @__PURE__ */ function(e) {
|
|
600
602
|
return e.TOKEN = "token", e.ID_TOKEN = "id_token", e.TOKEN_ID_TOKEN = "id_token token", e.CODE = "code", e.CODE_ID_TOKEN = "code id_token", e.CODE_TOKEN = "code token", e.CODE_ID_TOKEN_TOKEN = "code id_token token", e;
|
|
601
|
-
}({}),
|
|
603
|
+
}({}), L = /* @__PURE__ */ function(e) {
|
|
602
604
|
return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
|
|
603
|
-
}({}),
|
|
605
|
+
}({}), He = /* @__PURE__ */ function(e) {
|
|
604
606
|
return e.S256 = "S256", e.Plain = "plain", e;
|
|
605
|
-
}({}),
|
|
607
|
+
}({}), Ue = e.union([e.null(), e.object({
|
|
606
608
|
essential: e.boolean().optional(),
|
|
607
609
|
value: e.unknown().optional(),
|
|
608
610
|
values: e.array(e.unknown()).optional()
|
|
609
|
-
})]).nullable(),
|
|
610
|
-
userinfo: e.record(e.string(),
|
|
611
|
-
id_token: e.record(e.string(),
|
|
612
|
-
}),
|
|
611
|
+
})]).nullable(), We = e.object({
|
|
612
|
+
userinfo: e.record(e.string(), Ue).optional(),
|
|
613
|
+
id_token: e.record(e.string(), Ue).optional()
|
|
614
|
+
}), Ge = e.object({
|
|
613
615
|
client_id: e.string(),
|
|
614
616
|
act_as: e.string().optional(),
|
|
615
|
-
response_type: e.nativeEnum(
|
|
616
|
-
response_mode: e.nativeEnum(
|
|
617
|
+
response_type: e.nativeEnum(I).optional(),
|
|
618
|
+
response_mode: e.nativeEnum(L).optional(),
|
|
617
619
|
redirect_uri: e.string().optional(),
|
|
618
620
|
audience: e.string().optional(),
|
|
619
621
|
organization: e.string().optional(),
|
|
@@ -621,15 +623,15 @@ var t = e.object({
|
|
|
621
623
|
nonce: e.string().optional(),
|
|
622
624
|
scope: e.string().optional(),
|
|
623
625
|
prompt: e.string().optional(),
|
|
624
|
-
code_challenge_method: e.nativeEnum(
|
|
626
|
+
code_challenge_method: e.nativeEnum(He).optional(),
|
|
625
627
|
code_challenge: e.string().optional(),
|
|
626
628
|
username: e.string().optional(),
|
|
627
629
|
ui_locales: e.string().optional(),
|
|
628
630
|
max_age: e.number().optional(),
|
|
629
631
|
acr_values: e.string().optional(),
|
|
630
|
-
claims:
|
|
632
|
+
claims: We.optional(),
|
|
631
633
|
vendor_id: e.string().optional()
|
|
632
|
-
}),
|
|
634
|
+
}), Ke = e.object({
|
|
633
635
|
colors: e.object({
|
|
634
636
|
primary: e.string(),
|
|
635
637
|
page_background: e.union([e.string(), e.object({
|
|
@@ -648,7 +650,7 @@ var t = e.object({
|
|
|
648
650
|
"light",
|
|
649
651
|
"auto"
|
|
650
652
|
]).optional()
|
|
651
|
-
}),
|
|
653
|
+
}), qe = e.enum([
|
|
652
654
|
"password_reset",
|
|
653
655
|
"email_verification",
|
|
654
656
|
"otp",
|
|
@@ -656,11 +658,11 @@ var t = e.object({
|
|
|
656
658
|
"authorization_code",
|
|
657
659
|
"oauth2_state",
|
|
658
660
|
"ticket"
|
|
659
|
-
]),
|
|
661
|
+
]), Je = e.object({
|
|
660
662
|
code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
|
|
661
663
|
login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
|
|
662
664
|
connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
|
|
663
|
-
code_type:
|
|
665
|
+
code_type: qe,
|
|
664
666
|
code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
|
|
665
667
|
code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
|
|
666
668
|
code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
|
|
@@ -671,7 +673,7 @@ var t = e.object({
|
|
|
671
673
|
expires_at: e.string(),
|
|
672
674
|
used_at: e.string().optional(),
|
|
673
675
|
user_id: e.string().optional()
|
|
674
|
-
}),
|
|
676
|
+
}), Ye = Je.extend({ created_at: e.string() }), Xe = e.object({
|
|
675
677
|
kid: e.string().optional(),
|
|
676
678
|
team_id: e.string().optional(),
|
|
677
679
|
realms: e.string().optional(),
|
|
@@ -787,35 +789,35 @@ var t = e.object({
|
|
|
787
789
|
"never_on_login"
|
|
788
790
|
]).optional()
|
|
789
791
|
});
|
|
790
|
-
function
|
|
792
|
+
function R(e) {
|
|
791
793
|
if (e !== null) {
|
|
792
|
-
if (Array.isArray(e)) return e.filter((e) => e !== null).map(
|
|
794
|
+
if (Array.isArray(e)) return e.filter((e) => e !== null).map(R);
|
|
793
795
|
if (e && typeof e == "object") {
|
|
794
796
|
let t = {};
|
|
795
|
-
for (let [n, r] of Object.entries(e)) r !== null && (t[n] =
|
|
797
|
+
for (let [n, r] of Object.entries(e)) r !== null && (t[n] = R(r));
|
|
796
798
|
return t;
|
|
797
799
|
}
|
|
798
800
|
return e;
|
|
799
801
|
}
|
|
800
802
|
}
|
|
801
|
-
var
|
|
803
|
+
var Ze = e.object({
|
|
802
804
|
id: e.string().optional(),
|
|
803
805
|
name: e.string(),
|
|
804
806
|
display_name: e.string().optional(),
|
|
805
807
|
strategy: e.string(),
|
|
806
|
-
options: e.preprocess((e) => e === null ? {} :
|
|
808
|
+
options: e.preprocess((e) => e === null ? {} : R(e), Xe).default({}),
|
|
807
809
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
808
|
-
response_type: e.
|
|
809
|
-
response_mode: e.
|
|
810
|
+
response_type: e.nativeEnum(I).optional(),
|
|
811
|
+
response_mode: e.nativeEnum(L).optional(),
|
|
810
812
|
is_domain_connection: e.boolean().optional(),
|
|
811
813
|
show_as_button: e.boolean().optional(),
|
|
812
814
|
metadata: e.record(e.string(), e.any()).optional(),
|
|
813
815
|
is_system: e.boolean().optional()
|
|
814
|
-
}),
|
|
816
|
+
}), Qe = e.object({
|
|
815
817
|
id: e.string(),
|
|
816
818
|
created_at: e.string().transform((e) => e === null ? "" : e),
|
|
817
819
|
updated_at: e.string().transform((e) => e === null ? "" : e)
|
|
818
|
-
}).extend(
|
|
820
|
+
}).extend(Ze.shape), z = e.object({
|
|
819
821
|
domain: e.string(),
|
|
820
822
|
custom_domain_id: e.string().optional(),
|
|
821
823
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -829,7 +831,7 @@ var Xe = e.object({
|
|
|
829
831
|
"null"
|
|
830
832
|
]).optional(),
|
|
831
833
|
domain_metadata: e.record(e.string(), e.string().max(255)).optional()
|
|
832
|
-
}),
|
|
834
|
+
}), $e = e.discriminatedUnion("name", [e.object({
|
|
833
835
|
name: e.literal("txt"),
|
|
834
836
|
record: e.string(),
|
|
835
837
|
domain: e.string()
|
|
@@ -837,7 +839,7 @@ var Xe = e.object({
|
|
|
837
839
|
name: e.literal("http"),
|
|
838
840
|
http_body: e.string(),
|
|
839
841
|
http_url: e.string()
|
|
840
|
-
})]),
|
|
842
|
+
})]), et = z.extend({
|
|
841
843
|
custom_domain_id: e.string(),
|
|
842
844
|
primary: e.boolean(),
|
|
843
845
|
status: e.enum([
|
|
@@ -847,26 +849,26 @@ var Xe = e.object({
|
|
|
847
849
|
"ready"
|
|
848
850
|
]),
|
|
849
851
|
origin_domain_name: e.string().optional(),
|
|
850
|
-
verification: e.object({ methods: e.array(
|
|
852
|
+
verification: e.object({ methods: e.array($e) }).optional(),
|
|
851
853
|
tls_policy: e.string().optional()
|
|
852
|
-
}),
|
|
854
|
+
}), tt = z.pick({
|
|
853
855
|
tls_policy: !0,
|
|
854
856
|
custom_client_ip_header: !0,
|
|
855
857
|
domain_metadata: !0
|
|
856
|
-
}).strict(),
|
|
858
|
+
}).strict(), nt = et.extend({ tenant_id: e.string() }), rt = e.object({
|
|
857
859
|
certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
|
|
858
860
|
private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
|
|
859
|
-
}),
|
|
861
|
+
}), B = e.object({
|
|
860
862
|
id: e.string(),
|
|
861
863
|
order: e.number().optional(),
|
|
862
864
|
visible: e.boolean().optional().default(!0)
|
|
863
|
-
}),
|
|
865
|
+
}), V = B.extend({ category: e.literal("BLOCK").optional() }), it = V.extend({
|
|
864
866
|
type: e.literal("DIVIDER"),
|
|
865
867
|
config: e.object({ text: e.string().optional() }).optional()
|
|
866
|
-
}),
|
|
868
|
+
}), at = V.extend({
|
|
867
869
|
type: e.literal("HTML"),
|
|
868
870
|
config: e.object({ content: e.string().optional() }).optional()
|
|
869
|
-
}),
|
|
871
|
+
}), ot = V.extend({
|
|
870
872
|
type: e.literal("IMAGE"),
|
|
871
873
|
config: e.object({
|
|
872
874
|
src: e.string().optional(),
|
|
@@ -874,43 +876,43 @@ var Xe = e.object({
|
|
|
874
876
|
width: e.number().optional(),
|
|
875
877
|
height: e.number().optional()
|
|
876
878
|
}).optional()
|
|
877
|
-
}),
|
|
879
|
+
}), st = V.extend({
|
|
878
880
|
type: e.literal("JUMP_BUTTON"),
|
|
879
881
|
config: e.object({
|
|
880
882
|
text: e.string().optional(),
|
|
881
883
|
target_step: e.string().optional()
|
|
882
884
|
})
|
|
883
|
-
}),
|
|
885
|
+
}), ct = V.extend({
|
|
884
886
|
type: e.literal("RESEND_BUTTON"),
|
|
885
887
|
config: e.object({
|
|
886
888
|
text: e.string().optional(),
|
|
887
889
|
resend_action: e.string().optional()
|
|
888
890
|
})
|
|
889
|
-
}),
|
|
891
|
+
}), lt = V.extend({
|
|
890
892
|
type: e.literal("NEXT_BUTTON"),
|
|
891
893
|
config: e.object({ text: e.string().optional() })
|
|
892
|
-
}),
|
|
894
|
+
}), ut = V.extend({
|
|
893
895
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
894
896
|
config: e.object({ text: e.string().optional() })
|
|
895
|
-
}),
|
|
897
|
+
}), dt = V.extend({
|
|
896
898
|
type: e.literal("RICH_TEXT"),
|
|
897
899
|
config: e.object({ content: e.string().optional() }).optional()
|
|
898
|
-
}),
|
|
900
|
+
}), H = B.extend({
|
|
899
901
|
category: e.literal("WIDGET").optional(),
|
|
900
902
|
label: e.string().min(1).optional(),
|
|
901
903
|
hint: e.string().min(1).max(500).optional(),
|
|
902
904
|
required: e.boolean().optional(),
|
|
903
905
|
sensitive: e.boolean().optional()
|
|
904
|
-
}),
|
|
906
|
+
}), ft = H.extend({
|
|
905
907
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
906
908
|
config: e.object({ credential_type: e.string().optional() })
|
|
907
|
-
}),
|
|
909
|
+
}), pt = H.extend({
|
|
908
910
|
type: e.literal("GMAPS_ADDRESS"),
|
|
909
911
|
config: e.object({ api_key: e.string().optional() })
|
|
910
|
-
}),
|
|
912
|
+
}), mt = H.extend({
|
|
911
913
|
type: e.literal("RECAPTCHA"),
|
|
912
914
|
config: e.object({ site_key: e.string().optional() })
|
|
913
|
-
}),
|
|
915
|
+
}), U = B.extend({
|
|
914
916
|
category: e.literal("FIELD").optional(),
|
|
915
917
|
label: e.string().min(1).optional(),
|
|
916
918
|
hint: e.string().min(1).max(500).optional(),
|
|
@@ -926,10 +928,10 @@ var Xe = e.object({
|
|
|
926
928
|
})).optional(),
|
|
927
929
|
required: e.boolean().optional(),
|
|
928
930
|
sensitive: e.boolean().optional()
|
|
929
|
-
}),
|
|
931
|
+
}), ht = U.extend({
|
|
930
932
|
type: e.literal("BOOLEAN"),
|
|
931
933
|
config: e.object({ default_value: e.boolean().optional() }).optional()
|
|
932
|
-
}),
|
|
934
|
+
}), gt = U.extend({
|
|
933
935
|
type: e.literal("CARDS"),
|
|
934
936
|
config: e.object({
|
|
935
937
|
options: e.array(e.object({
|
|
@@ -940,7 +942,7 @@ var Xe = e.object({
|
|
|
940
942
|
})).optional(),
|
|
941
943
|
multi_select: e.boolean().optional()
|
|
942
944
|
}).optional()
|
|
943
|
-
}),
|
|
945
|
+
}), _t = U.extend({
|
|
944
946
|
type: e.literal("CHOICE"),
|
|
945
947
|
config: e.object({
|
|
946
948
|
options: e.array(e.object({
|
|
@@ -951,7 +953,7 @@ var Xe = e.object({
|
|
|
951
953
|
multiple: e.boolean().optional(),
|
|
952
954
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
953
955
|
}).optional()
|
|
954
|
-
}),
|
|
956
|
+
}), vt = U.extend({
|
|
955
957
|
type: e.literal("CODE"),
|
|
956
958
|
config: e.object({
|
|
957
959
|
length: e.number().int().positive().max(100).optional(),
|
|
@@ -968,7 +970,7 @@ var Xe = e.object({
|
|
|
968
970
|
message: "default_value is longer than the configured length",
|
|
969
971
|
path: ["default_value"]
|
|
970
972
|
}).optional()
|
|
971
|
-
}),
|
|
973
|
+
}), yt = U.extend({
|
|
972
974
|
type: e.literal("CUSTOM"),
|
|
973
975
|
config: e.object({
|
|
974
976
|
component: e.string().optional(),
|
|
@@ -976,7 +978,7 @@ var Xe = e.object({
|
|
|
976
978
|
schema: e.record(e.string(), e.any()).optional(),
|
|
977
979
|
code: e.string().optional()
|
|
978
980
|
})
|
|
979
|
-
}),
|
|
981
|
+
}), bt = U.extend({
|
|
980
982
|
type: e.literal("DATE"),
|
|
981
983
|
config: e.object({
|
|
982
984
|
format: e.string().optional(),
|
|
@@ -984,7 +986,7 @@ var Xe = e.object({
|
|
|
984
986
|
max: e.string().optional(),
|
|
985
987
|
default_value: e.string().optional()
|
|
986
988
|
}).optional()
|
|
987
|
-
}),
|
|
989
|
+
}), xt = U.extend({
|
|
988
990
|
type: e.literal("DROPDOWN"),
|
|
989
991
|
config: e.object({
|
|
990
992
|
options: e.array(e.object({
|
|
@@ -996,26 +998,26 @@ var Xe = e.object({
|
|
|
996
998
|
multiple: e.boolean().optional(),
|
|
997
999
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
998
1000
|
}).optional()
|
|
999
|
-
}),
|
|
1001
|
+
}), St = U.extend({
|
|
1000
1002
|
type: e.literal("EMAIL"),
|
|
1001
1003
|
config: e.object({
|
|
1002
1004
|
placeholder: e.string().optional(),
|
|
1003
1005
|
default_value: e.string().optional()
|
|
1004
1006
|
}).optional()
|
|
1005
|
-
}),
|
|
1007
|
+
}), Ct = U.extend({
|
|
1006
1008
|
type: e.literal("FILE"),
|
|
1007
1009
|
config: e.object({
|
|
1008
1010
|
accept: e.string().optional(),
|
|
1009
1011
|
max_size: e.number().optional(),
|
|
1010
1012
|
multiple: e.boolean().optional()
|
|
1011
1013
|
}).optional()
|
|
1012
|
-
}),
|
|
1014
|
+
}), wt = U.extend({
|
|
1013
1015
|
type: e.literal("LEGAL"),
|
|
1014
1016
|
config: e.object({
|
|
1015
1017
|
text: e.string(),
|
|
1016
1018
|
html: e.boolean().optional()
|
|
1017
1019
|
}).optional()
|
|
1018
|
-
}),
|
|
1020
|
+
}), Tt = U.extend({
|
|
1019
1021
|
type: e.literal("NUMBER"),
|
|
1020
1022
|
config: e.object({
|
|
1021
1023
|
placeholder: e.string().optional(),
|
|
@@ -1024,7 +1026,7 @@ var Xe = e.object({
|
|
|
1024
1026
|
step: e.number().optional(),
|
|
1025
1027
|
default_value: e.string().optional()
|
|
1026
1028
|
}).optional()
|
|
1027
|
-
}),
|
|
1029
|
+
}), Et = U.extend({
|
|
1028
1030
|
type: e.literal("PASSWORD"),
|
|
1029
1031
|
config: e.object({
|
|
1030
1032
|
placeholder: e.string().optional(),
|
|
@@ -1033,13 +1035,13 @@ var Xe = e.object({
|
|
|
1033
1035
|
forgot_password_link: e.string().optional(),
|
|
1034
1036
|
default_value: e.string().optional()
|
|
1035
1037
|
}).optional()
|
|
1036
|
-
}),
|
|
1038
|
+
}), Dt = U.extend({
|
|
1037
1039
|
type: e.literal("PAYMENT"),
|
|
1038
1040
|
config: e.object({
|
|
1039
1041
|
provider: e.string().optional(),
|
|
1040
1042
|
currency: e.string().optional()
|
|
1041
1043
|
}).optional()
|
|
1042
|
-
}),
|
|
1044
|
+
}), Ot = U.extend({
|
|
1043
1045
|
type: e.literal("SOCIAL"),
|
|
1044
1046
|
config: e.object({
|
|
1045
1047
|
providers: e.array(e.string()).optional(),
|
|
@@ -1048,10 +1050,12 @@ var Xe = e.object({
|
|
|
1048
1050
|
strategy: e.string().optional(),
|
|
1049
1051
|
display_name: e.string().optional(),
|
|
1050
1052
|
icon_url: e.string().optional(),
|
|
1051
|
-
href: e.string().optional()
|
|
1053
|
+
href: e.string().optional(),
|
|
1054
|
+
last_used: e.boolean().optional(),
|
|
1055
|
+
last_used_label: e.string().optional()
|
|
1052
1056
|
})).optional()
|
|
1053
1057
|
}).optional()
|
|
1054
|
-
}),
|
|
1058
|
+
}), kt = U.extend({
|
|
1055
1059
|
type: e.literal("TEL"),
|
|
1056
1060
|
config: e.object({
|
|
1057
1061
|
placeholder: e.string().optional(),
|
|
@@ -1059,7 +1063,7 @@ var Xe = e.object({
|
|
|
1059
1063
|
default_value: e.string().optional(),
|
|
1060
1064
|
allow_email: e.boolean().optional()
|
|
1061
1065
|
}).optional()
|
|
1062
|
-
}),
|
|
1066
|
+
}), At = U.extend({
|
|
1063
1067
|
type: e.literal("TEXT"),
|
|
1064
1068
|
config: e.object({
|
|
1065
1069
|
placeholder: e.string().optional(),
|
|
@@ -1067,38 +1071,37 @@ var Xe = e.object({
|
|
|
1067
1071
|
max_length: e.number().optional(),
|
|
1068
1072
|
default_value: e.string().optional()
|
|
1069
1073
|
}).optional()
|
|
1070
|
-
}),
|
|
1074
|
+
}), jt = U.extend({
|
|
1071
1075
|
type: e.literal("COUNTRY"),
|
|
1072
1076
|
config: e.object({
|
|
1073
1077
|
placeholder: e.string().optional(),
|
|
1074
1078
|
default_value: e.string().optional()
|
|
1075
1079
|
}).optional()
|
|
1076
|
-
}),
|
|
1080
|
+
}), Mt = U.extend({
|
|
1077
1081
|
type: e.literal("URL"),
|
|
1078
1082
|
config: e.object({
|
|
1079
1083
|
placeholder: e.string().optional(),
|
|
1080
1084
|
default_value: e.string().optional()
|
|
1081
1085
|
}).optional()
|
|
1082
|
-
}),
|
|
1083
|
-
rt,
|
|
1086
|
+
}), Nt = e.discriminatedUnion("type", [
|
|
1084
1087
|
it,
|
|
1085
1088
|
at,
|
|
1086
1089
|
ot,
|
|
1087
1090
|
st,
|
|
1088
1091
|
ct,
|
|
1089
1092
|
lt,
|
|
1090
|
-
ut
|
|
1091
|
-
|
|
1092
|
-
dt,
|
|
1093
|
-
ft,
|
|
1094
|
-
pt
|
|
1093
|
+
ut,
|
|
1094
|
+
dt
|
|
1095
1095
|
]), Pt = e.discriminatedUnion("type", [
|
|
1096
|
-
|
|
1096
|
+
ft,
|
|
1097
|
+
pt,
|
|
1098
|
+
mt
|
|
1099
|
+
]), Ft = e.discriminatedUnion("type", [
|
|
1097
1100
|
ht,
|
|
1098
1101
|
gt,
|
|
1099
1102
|
_t,
|
|
1100
|
-
At,
|
|
1101
1103
|
vt,
|
|
1104
|
+
jt,
|
|
1102
1105
|
yt,
|
|
1103
1106
|
bt,
|
|
1104
1107
|
xt,
|
|
@@ -1110,12 +1113,13 @@ var Xe = e.object({
|
|
|
1110
1113
|
Dt,
|
|
1111
1114
|
Ot,
|
|
1112
1115
|
kt,
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
+
At,
|
|
1117
|
+
Mt
|
|
1118
|
+
]), W = e.union([
|
|
1116
1119
|
Nt,
|
|
1117
|
-
Pt
|
|
1118
|
-
|
|
1120
|
+
Pt,
|
|
1121
|
+
Ft
|
|
1122
|
+
]), It = new Set([
|
|
1119
1123
|
"BOOLEAN",
|
|
1120
1124
|
"CARDS",
|
|
1121
1125
|
"CHOICE",
|
|
@@ -1130,7 +1134,7 @@ var Xe = e.object({
|
|
|
1130
1134
|
"TEL",
|
|
1131
1135
|
"TEXT",
|
|
1132
1136
|
"URL"
|
|
1133
|
-
]),
|
|
1137
|
+
]), Lt = e.object({
|
|
1134
1138
|
id: e.string(),
|
|
1135
1139
|
type: e.literal("submit"),
|
|
1136
1140
|
label: e.string(),
|
|
@@ -1139,22 +1143,22 @@ var Xe = e.object({
|
|
|
1139
1143
|
order: e.number().optional(),
|
|
1140
1144
|
visible: e.boolean().optional().default(!0),
|
|
1141
1145
|
customizations: e.record(e.string(), e.any()).optional()
|
|
1142
|
-
}),
|
|
1146
|
+
}), G = e.object({
|
|
1143
1147
|
x: e.number(),
|
|
1144
1148
|
y: e.number()
|
|
1145
|
-
}),
|
|
1149
|
+
}), Rt = e.object({
|
|
1146
1150
|
id: e.string(),
|
|
1147
1151
|
type: e.literal("FLOW"),
|
|
1148
|
-
coordinates:
|
|
1152
|
+
coordinates: G,
|
|
1149
1153
|
alias: e.string().min(1).max(150).optional(),
|
|
1150
1154
|
config: e.object({
|
|
1151
1155
|
flow_id: e.string().max(30),
|
|
1152
1156
|
next_node: e.string().optional()
|
|
1153
1157
|
})
|
|
1154
|
-
}),
|
|
1158
|
+
}), zt = e.object({
|
|
1155
1159
|
id: e.string(),
|
|
1156
1160
|
type: e.literal("ROUTER"),
|
|
1157
|
-
coordinates:
|
|
1161
|
+
coordinates: G,
|
|
1158
1162
|
alias: e.string().min(1).max(150),
|
|
1159
1163
|
config: e.object({
|
|
1160
1164
|
rules: e.array(e.object({
|
|
@@ -1165,20 +1169,20 @@ var Xe = e.object({
|
|
|
1165
1169
|
})),
|
|
1166
1170
|
fallback: e.string()
|
|
1167
1171
|
})
|
|
1168
|
-
}),
|
|
1172
|
+
}), Bt = e.object({
|
|
1169
1173
|
id: e.string(),
|
|
1170
1174
|
type: e.literal("STEP"),
|
|
1171
|
-
coordinates:
|
|
1175
|
+
coordinates: G,
|
|
1172
1176
|
alias: e.string().min(1).max(150).optional(),
|
|
1173
1177
|
config: e.object({
|
|
1174
|
-
components: e.array(
|
|
1178
|
+
components: e.array(W),
|
|
1175
1179
|
next_node: e.string().optional()
|
|
1176
1180
|
})
|
|
1177
|
-
}),
|
|
1178
|
-
Lt,
|
|
1181
|
+
}), Vt = e.discriminatedUnion("type", [
|
|
1179
1182
|
Rt,
|
|
1180
|
-
zt
|
|
1181
|
-
|
|
1183
|
+
zt,
|
|
1184
|
+
Bt
|
|
1185
|
+
]), Ht = e.object({
|
|
1182
1186
|
name: e.string().openapi({ description: "The name of the form" }),
|
|
1183
1187
|
messages: e.object({
|
|
1184
1188
|
errors: e.record(e.string(), e.any()).optional(),
|
|
@@ -1189,14 +1193,14 @@ var Xe = e.object({
|
|
|
1189
1193
|
default: e.string().optional()
|
|
1190
1194
|
}).optional(),
|
|
1191
1195
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1192
|
-
nodes: e.array(
|
|
1196
|
+
nodes: e.array(Vt).optional(),
|
|
1193
1197
|
start: e.object({
|
|
1194
1198
|
hidden_fields: e.array(e.object({
|
|
1195
1199
|
key: e.string(),
|
|
1196
1200
|
value: e.string()
|
|
1197
1201
|
})).optional(),
|
|
1198
1202
|
next_node: e.string().optional(),
|
|
1199
|
-
coordinates:
|
|
1203
|
+
coordinates: G.optional()
|
|
1200
1204
|
}).optional(),
|
|
1201
1205
|
ending: e.object({
|
|
1202
1206
|
redirection: e.object({
|
|
@@ -1204,7 +1208,7 @@ var Xe = e.object({
|
|
|
1204
1208
|
target: e.string().optional()
|
|
1205
1209
|
}).optional(),
|
|
1206
1210
|
after_submit: e.object({ flow_id: e.string().optional() }).optional(),
|
|
1207
|
-
coordinates:
|
|
1211
|
+
coordinates: G.optional(),
|
|
1208
1212
|
resume_flow: e.boolean().optional()
|
|
1209
1213
|
}).optional(),
|
|
1210
1214
|
style: e.object({ css: e.string().optional() }).optional(),
|
|
@@ -1212,7 +1216,7 @@ var Xe = e.object({
|
|
|
1212
1216
|
sdkSrc: e.string().optional(),
|
|
1213
1217
|
sdk_src: e.string().optional()
|
|
1214
1218
|
}).optional()
|
|
1215
|
-
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }),
|
|
1219
|
+
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), Ut = t.extend(Ht.shape).extend({ id: e.string() }), Wt = e.object({
|
|
1216
1220
|
id: e.number().optional(),
|
|
1217
1221
|
text: e.string(),
|
|
1218
1222
|
type: e.enum([
|
|
@@ -1221,34 +1225,34 @@ var Xe = e.object({
|
|
|
1221
1225
|
"success",
|
|
1222
1226
|
"warning"
|
|
1223
1227
|
])
|
|
1224
|
-
}),
|
|
1228
|
+
}), Gt = e.object({
|
|
1225
1229
|
id: e.string().optional(),
|
|
1226
1230
|
text: e.string(),
|
|
1227
1231
|
href: e.string(),
|
|
1228
1232
|
linkText: e.string().optional()
|
|
1229
|
-
}),
|
|
1233
|
+
}), Kt = e.object({
|
|
1230
1234
|
name: e.string().optional(),
|
|
1231
1235
|
action: e.string(),
|
|
1232
1236
|
method: e.enum(["POST", "GET"]),
|
|
1233
1237
|
title: e.string().optional(),
|
|
1234
1238
|
description: e.string().optional(),
|
|
1235
|
-
components: e.array(
|
|
1236
|
-
messages: e.array(
|
|
1237
|
-
links: e.array(
|
|
1239
|
+
components: e.array(W),
|
|
1240
|
+
messages: e.array(Wt).optional(),
|
|
1241
|
+
links: e.array(Gt).optional(),
|
|
1238
1242
|
footer: e.string().optional()
|
|
1239
1243
|
});
|
|
1240
|
-
function
|
|
1244
|
+
function qt(e) {
|
|
1241
1245
|
return e.category === "BLOCK";
|
|
1242
1246
|
}
|
|
1243
|
-
function
|
|
1247
|
+
function Jt(e) {
|
|
1244
1248
|
return e.category === "WIDGET";
|
|
1245
1249
|
}
|
|
1246
|
-
function
|
|
1250
|
+
function Yt(e) {
|
|
1247
1251
|
return e.category === "FIELD";
|
|
1248
1252
|
}
|
|
1249
1253
|
//#endregion
|
|
1250
1254
|
//#region src/types/Hook.ts
|
|
1251
|
-
var
|
|
1255
|
+
var Xt = e.enum([
|
|
1252
1256
|
"pre-user-registration",
|
|
1253
1257
|
"post-user-registration",
|
|
1254
1258
|
"post-user-login",
|
|
@@ -1256,28 +1260,28 @@ var Yt = e.enum([
|
|
|
1256
1260
|
"validate-registration-username",
|
|
1257
1261
|
"pre-user-deletion",
|
|
1258
1262
|
"post-user-deletion"
|
|
1259
|
-
]),
|
|
1263
|
+
]), Zt = e.enum([
|
|
1260
1264
|
"pre-user-registration",
|
|
1261
1265
|
"post-user-registration",
|
|
1262
1266
|
"post-user-login",
|
|
1263
1267
|
"validate-registration-username",
|
|
1264
1268
|
"pre-user-deletion",
|
|
1265
1269
|
"post-user-deletion"
|
|
1266
|
-
]),
|
|
1270
|
+
]), Qt = e.enum([
|
|
1267
1271
|
"post-user-login",
|
|
1268
1272
|
"post-user-registration",
|
|
1269
1273
|
"post-user-update",
|
|
1270
1274
|
"credentials-exchange"
|
|
1271
|
-
]),
|
|
1275
|
+
]), $t = e.enum([
|
|
1272
1276
|
"post-user-login",
|
|
1273
1277
|
"credentials-exchange",
|
|
1274
1278
|
"pre-user-registration",
|
|
1275
1279
|
"post-user-registration"
|
|
1276
|
-
]),
|
|
1280
|
+
]), K = e.enum([
|
|
1277
1281
|
"ensure-username",
|
|
1278
1282
|
"set-preferred-username",
|
|
1279
1283
|
"account-linking"
|
|
1280
|
-
]),
|
|
1284
|
+
]), en = {
|
|
1281
1285
|
"ensure-username": {
|
|
1282
1286
|
name: "Ensure Username",
|
|
1283
1287
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1297,73 +1301,73 @@ var Yt = e.enum([
|
|
|
1297
1301
|
"post-user-update"
|
|
1298
1302
|
]
|
|
1299
1303
|
}
|
|
1300
|
-
},
|
|
1304
|
+
}, q = {
|
|
1301
1305
|
enabled: e.boolean().default(!1),
|
|
1302
1306
|
synchronous: e.boolean().default(!1),
|
|
1303
1307
|
priority: e.number().optional(),
|
|
1304
1308
|
hook_id: e.string().optional(),
|
|
1305
1309
|
metadata: e.record(e.string(), e.unknown()).optional()
|
|
1306
|
-
},
|
|
1307
|
-
...
|
|
1308
|
-
trigger_id: Yt,
|
|
1309
|
-
url: e.string()
|
|
1310
|
-
}), tn = e.object({
|
|
1311
|
-
...J,
|
|
1310
|
+
}, tn = e.object({
|
|
1311
|
+
...q,
|
|
1312
1312
|
trigger_id: Xt,
|
|
1313
|
-
|
|
1313
|
+
url: e.string()
|
|
1314
1314
|
}), nn = e.object({
|
|
1315
|
-
...
|
|
1315
|
+
...q,
|
|
1316
1316
|
trigger_id: Zt,
|
|
1317
|
-
|
|
1317
|
+
form_id: e.string()
|
|
1318
1318
|
}), rn = e.object({
|
|
1319
|
-
...
|
|
1319
|
+
...q,
|
|
1320
1320
|
trigger_id: Qt,
|
|
1321
|
+
template_id: K
|
|
1322
|
+
}), an = e.object({
|
|
1323
|
+
...q,
|
|
1324
|
+
trigger_id: $t,
|
|
1321
1325
|
code_id: e.string()
|
|
1322
|
-
}),
|
|
1323
|
-
en,
|
|
1326
|
+
}), on = e.union([
|
|
1324
1327
|
tn,
|
|
1325
1328
|
nn,
|
|
1326
|
-
rn
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
}).extend(t.shape).extend({
|
|
1331
|
-
hook_id: e.string(),
|
|
1332
|
-
url: e.string()
|
|
1333
|
-
}), sn = e.object({
|
|
1334
|
-
...J,
|
|
1329
|
+
rn,
|
|
1330
|
+
an
|
|
1331
|
+
]), sn = e.object({
|
|
1332
|
+
...q,
|
|
1335
1333
|
trigger_id: Xt
|
|
1336
1334
|
}).extend(t.shape).extend({
|
|
1337
1335
|
hook_id: e.string(),
|
|
1338
|
-
|
|
1336
|
+
url: e.string()
|
|
1339
1337
|
}), cn = e.object({
|
|
1340
|
-
...
|
|
1338
|
+
...q,
|
|
1341
1339
|
trigger_id: Zt
|
|
1342
1340
|
}).extend(t.shape).extend({
|
|
1343
1341
|
hook_id: e.string(),
|
|
1344
|
-
|
|
1342
|
+
form_id: e.string()
|
|
1345
1343
|
}), ln = e.object({
|
|
1346
|
-
...
|
|
1344
|
+
...q,
|
|
1347
1345
|
trigger_id: Qt
|
|
1346
|
+
}).extend(t.shape).extend({
|
|
1347
|
+
hook_id: e.string(),
|
|
1348
|
+
template_id: K
|
|
1349
|
+
}), un = e.object({
|
|
1350
|
+
...q,
|
|
1351
|
+
trigger_id: $t
|
|
1348
1352
|
}).extend(t.shape).extend({
|
|
1349
1353
|
hook_id: e.string(),
|
|
1350
1354
|
code_id: e.string()
|
|
1351
|
-
}),
|
|
1352
|
-
on,
|
|
1355
|
+
}), dn = e.union([
|
|
1353
1356
|
sn,
|
|
1354
1357
|
cn,
|
|
1355
|
-
ln
|
|
1356
|
-
|
|
1358
|
+
ln,
|
|
1359
|
+
un
|
|
1360
|
+
]), fn = e.object({
|
|
1357
1361
|
code: e.string().max(1e5),
|
|
1358
1362
|
secrets: e.record(e.string(), e.string()).optional()
|
|
1359
|
-
}),
|
|
1363
|
+
}), pn = fn.extend({
|
|
1360
1364
|
id: e.string(),
|
|
1361
1365
|
tenant_id: e.string()
|
|
1362
|
-
}).extend(t.shape),
|
|
1366
|
+
}).extend(t.shape), mn = e.object({ name: e.string().optional() }), hn = e.object({ email: e.string().optional() }), gn = e.object({
|
|
1363
1367
|
id: e.string().optional(),
|
|
1364
1368
|
organization_id: e.string().max(50),
|
|
1365
|
-
inviter:
|
|
1366
|
-
invitee:
|
|
1369
|
+
inviter: mn,
|
|
1370
|
+
invitee: hn,
|
|
1367
1371
|
invitation_url: e.string().url(),
|
|
1368
1372
|
client_id: e.string(),
|
|
1369
1373
|
connection_id: e.string().optional(),
|
|
@@ -1372,13 +1376,13 @@ var Yt = e.enum([
|
|
|
1372
1376
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1373
1377
|
roles: e.array(e.string()).default([]).optional(),
|
|
1374
1378
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1375
|
-
}),
|
|
1379
|
+
}), _n = e.object({
|
|
1376
1380
|
id: e.string(),
|
|
1377
1381
|
organization_id: e.string().max(50),
|
|
1378
1382
|
created_at: e.string().datetime(),
|
|
1379
1383
|
expires_at: e.string().datetime(),
|
|
1380
1384
|
ticket_id: e.string().optional()
|
|
1381
|
-
}).extend(
|
|
1385
|
+
}).extend(gn.omit({ id: !0 }).shape), vn = e.object({
|
|
1382
1386
|
alg: e.enum([
|
|
1383
1387
|
"RS256",
|
|
1384
1388
|
"RS384",
|
|
@@ -1419,7 +1423,7 @@ var Yt = e.enum([
|
|
|
1419
1423
|
path: [r],
|
|
1420
1424
|
message: `EC JWK is missing required member '${r}'`
|
|
1421
1425
|
});
|
|
1422
|
-
}),
|
|
1426
|
+
}), yn = e.object({ keys: e.array(vn) }), bn = e.object({
|
|
1423
1427
|
issuer: e.string(),
|
|
1424
1428
|
authorization_endpoint: e.string(),
|
|
1425
1429
|
token_endpoint: e.string(),
|
|
@@ -1445,15 +1449,15 @@ var Yt = e.enum([
|
|
|
1445
1449
|
client_id_metadata_document_supported: e.boolean().optional(),
|
|
1446
1450
|
backchannel_logout_supported: e.boolean().optional(),
|
|
1447
1451
|
backchannel_logout_session_supported: e.boolean().optional()
|
|
1448
|
-
}),
|
|
1452
|
+
}), J = /* @__PURE__ */ function(e) {
|
|
1449
1453
|
return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
|
|
1450
|
-
}({}), xn = e.nativeEnum(
|
|
1454
|
+
}({}), xn = e.nativeEnum(J), Sn = e.object({
|
|
1451
1455
|
strategy: e.string(),
|
|
1452
1456
|
strategy_type: e.string()
|
|
1453
1457
|
}), Cn = e.object({
|
|
1454
1458
|
csrf_token: e.string(),
|
|
1455
1459
|
auth0Client: e.string().optional(),
|
|
1456
|
-
authParams:
|
|
1460
|
+
authParams: Ge,
|
|
1457
1461
|
expires_at: e.string(),
|
|
1458
1462
|
deleted_at: e.string().optional(),
|
|
1459
1463
|
ip: e.string().optional(),
|
|
@@ -2310,6 +2314,7 @@ var gr = e.object({
|
|
|
2310
2314
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2311
2315
|
identifier_first: e.boolean().default(!0),
|
|
2312
2316
|
password_first: e.boolean().default(!1),
|
|
2317
|
+
show_last_used_connection: e.boolean().default(!1),
|
|
2313
2318
|
webauthn_platform_first_factor: e.boolean()
|
|
2314
2319
|
}), wr = e.object({
|
|
2315
2320
|
hosts: e.array(e.string()).optional(),
|
|
@@ -2335,12 +2340,35 @@ var gr = e.object({
|
|
|
2335
2340
|
id: !0,
|
|
2336
2341
|
custom_domain_id: !0
|
|
2337
2342
|
}), Or = e.object({
|
|
2343
|
+
scim: e.string(),
|
|
2344
|
+
auth0: e.string()
|
|
2345
|
+
}), kr = e.object({
|
|
2346
|
+
connection_id: e.string(),
|
|
2347
|
+
user_id_attribute: e.string().default("externalId"),
|
|
2348
|
+
mapping: e.array(Or).default([])
|
|
2349
|
+
}), Ar = e.object({
|
|
2350
|
+
created_at: e.string(),
|
|
2351
|
+
updated_at: e.string()
|
|
2352
|
+
}).extend(kr.shape), jr = e.object({
|
|
2353
|
+
token_id: e.string(),
|
|
2354
|
+
connection_id: e.string(),
|
|
2355
|
+
token_hash: e.string(),
|
|
2356
|
+
scopes: e.array(e.string()).default([]),
|
|
2357
|
+
valid_until: e.string().optional()
|
|
2358
|
+
}), Mr = e.object({
|
|
2359
|
+
created_at: e.string(),
|
|
2360
|
+
last_used_at: e.string().optional()
|
|
2361
|
+
}).extend(jr.shape), Nr = e.object({
|
|
2362
|
+
connection_id: e.string(),
|
|
2363
|
+
external_id: e.string(),
|
|
2364
|
+
user_id: e.string()
|
|
2365
|
+
}), Pr = e.object({ created_at: e.string() }).extend(Nr.shape), Fr = e.object({
|
|
2338
2366
|
name: e.string(),
|
|
2339
2367
|
enabled: e.boolean().optional().default(!0),
|
|
2340
2368
|
default_from_address: e.string().optional(),
|
|
2341
2369
|
credentials: e.record(e.string(), e.unknown()),
|
|
2342
2370
|
settings: e.object({}).optional()
|
|
2343
|
-
}),
|
|
2371
|
+
}), Ir = e.enum([
|
|
2344
2372
|
"verify_email",
|
|
2345
2373
|
"verify_email_by_code",
|
|
2346
2374
|
"reset_email",
|
|
@@ -2353,8 +2381,8 @@ var gr = e.object({
|
|
|
2353
2381
|
"change_password",
|
|
2354
2382
|
"password_reset",
|
|
2355
2383
|
"user_invitation"
|
|
2356
|
-
]),
|
|
2357
|
-
template:
|
|
2384
|
+
]), Lr = e.object({
|
|
2385
|
+
template: Ir,
|
|
2358
2386
|
body: e.string(),
|
|
2359
2387
|
from: e.string(),
|
|
2360
2388
|
subject: e.string(),
|
|
@@ -2363,7 +2391,7 @@ var gr = e.object({
|
|
|
2363
2391
|
urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
|
|
2364
2392
|
includeEmailInRedirect: e.boolean().default(!1),
|
|
2365
2393
|
enabled: e.boolean().default(!0)
|
|
2366
|
-
}),
|
|
2394
|
+
}), Rr = e.object({
|
|
2367
2395
|
id: e.string(),
|
|
2368
2396
|
login_id: e.string(),
|
|
2369
2397
|
user_id: e.string(),
|
|
@@ -2382,19 +2410,19 @@ var gr = e.object({
|
|
|
2382
2410
|
family_id: e.string().optional(),
|
|
2383
2411
|
rotated_to: e.string().optional(),
|
|
2384
2412
|
rotated_at: e.string().optional()
|
|
2385
|
-
}),
|
|
2413
|
+
}), zr = Rr.extend({
|
|
2386
2414
|
created_at: e.string(),
|
|
2387
2415
|
revoked_at: e.string().optional()
|
|
2388
|
-
}),
|
|
2416
|
+
}), Br = e.object({
|
|
2389
2417
|
to: e.string(),
|
|
2390
2418
|
message: e.string()
|
|
2391
|
-
}),
|
|
2419
|
+
}), Vr = e.object({
|
|
2392
2420
|
name: e.string(),
|
|
2393
2421
|
options: e.object({})
|
|
2394
|
-
}),
|
|
2422
|
+
}), Hr = e.object({
|
|
2395
2423
|
value: e.string(),
|
|
2396
2424
|
description: e.string().optional()
|
|
2397
|
-
}),
|
|
2425
|
+
}), Ur = e.object({
|
|
2398
2426
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2399
2427
|
enforce_policies: e.boolean().optional(),
|
|
2400
2428
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2402,11 +2430,11 @@ var gr = e.object({
|
|
|
2402
2430
|
persist_client_authorization: e.boolean().optional(),
|
|
2403
2431
|
enable_introspection_endpoint: e.boolean().optional(),
|
|
2404
2432
|
mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
|
|
2405
|
-
}),
|
|
2433
|
+
}), Wr = e.object({
|
|
2406
2434
|
id: e.string().optional(),
|
|
2407
2435
|
name: e.string(),
|
|
2408
2436
|
identifier: e.string(),
|
|
2409
|
-
scopes: e.array(
|
|
2437
|
+
scopes: e.array(Hr).optional(),
|
|
2410
2438
|
signing_alg: e.string().optional(),
|
|
2411
2439
|
signing_secret: e.string().optional(),
|
|
2412
2440
|
token_lifetime: e.number().default(86400),
|
|
@@ -2414,37 +2442,37 @@ var gr = e.object({
|
|
|
2414
2442
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2415
2443
|
allow_offline_access: e.boolean().optional(),
|
|
2416
2444
|
verificationKey: e.string().optional(),
|
|
2417
|
-
options:
|
|
2445
|
+
options: Ur.optional(),
|
|
2418
2446
|
is_system: e.boolean().optional(),
|
|
2419
2447
|
metadata: e.record(e.string(), e.any()).optional()
|
|
2420
|
-
}),
|
|
2448
|
+
}), Gr = Wr.extend({
|
|
2421
2449
|
created_at: e.string().optional(),
|
|
2422
2450
|
updated_at: e.string().optional()
|
|
2423
|
-
}),
|
|
2451
|
+
}), Kr = e.array(Gr), qr = e.object({
|
|
2424
2452
|
role_id: e.string(),
|
|
2425
2453
|
resource_server_identifier: e.string(),
|
|
2426
2454
|
permission_name: e.string()
|
|
2427
|
-
}),
|
|
2455
|
+
}), Jr = qr.extend({ created_at: e.string() }), Yr = e.array(Jr), Xr = e.object({
|
|
2428
2456
|
user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
|
|
2429
2457
|
clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
|
|
2430
2458
|
audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
|
|
2431
2459
|
scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
|
|
2432
|
-
}),
|
|
2460
|
+
}), Zr = Xr.extend({ id: e.string() }), Qr = e.object({
|
|
2433
2461
|
user_id: e.string(),
|
|
2434
2462
|
last_login: e.string().optional(),
|
|
2435
2463
|
last_ip: e.string().optional(),
|
|
2436
2464
|
login_count: e.number().default(0),
|
|
2437
2465
|
failed_logins: e.array(e.string()).optional(),
|
|
2438
2466
|
last_password_reset: e.string().optional()
|
|
2439
|
-
}),
|
|
2467
|
+
}), $r = e.object({
|
|
2440
2468
|
user_id: e.string(),
|
|
2441
2469
|
resource_server_identifier: e.string(),
|
|
2442
2470
|
permission_name: e.string(),
|
|
2443
2471
|
organization_id: e.string().optional()
|
|
2444
|
-
}),
|
|
2472
|
+
}), ei = $r.extend({
|
|
2445
2473
|
tenant_id: e.string(),
|
|
2446
2474
|
created_at: e.string().optional()
|
|
2447
|
-
}),
|
|
2475
|
+
}), ti = e.array(ei), ni = e.object({
|
|
2448
2476
|
user_id: e.string(),
|
|
2449
2477
|
resource_server_identifier: e.string(),
|
|
2450
2478
|
resource_server_name: e.string(),
|
|
@@ -2452,65 +2480,65 @@ var gr = e.object({
|
|
|
2452
2480
|
description: e.string().nullable().optional(),
|
|
2453
2481
|
created_at: e.string().optional(),
|
|
2454
2482
|
organization_id: e.string().optional()
|
|
2455
|
-
}),
|
|
2483
|
+
}), ri = e.array(ni), ii = e.object({
|
|
2456
2484
|
user_id: e.string(),
|
|
2457
2485
|
role_id: e.string(),
|
|
2458
2486
|
organization_id: e.string().optional()
|
|
2459
|
-
}),
|
|
2487
|
+
}), ai = ii.extend({
|
|
2460
2488
|
tenant_id: e.string(),
|
|
2461
2489
|
created_at: e.string().optional()
|
|
2462
|
-
}),
|
|
2490
|
+
}), oi = e.array(ai), si = e.object({
|
|
2463
2491
|
id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
|
|
2464
2492
|
name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
|
|
2465
2493
|
description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
|
|
2466
2494
|
is_system: e.boolean().optional(),
|
|
2467
2495
|
metadata: e.record(e.string(), e.any()).optional().openapi({ description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios." })
|
|
2468
|
-
}),
|
|
2496
|
+
}), ci = si.extend({
|
|
2469
2497
|
id: e.string().openapi({ description: "The unique identifier of the role" }),
|
|
2470
2498
|
created_at: e.string().optional(),
|
|
2471
2499
|
updated_at: e.string().optional()
|
|
2472
|
-
}),
|
|
2500
|
+
}), li = e.array(ci), ui = e.object({
|
|
2473
2501
|
logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
|
|
2474
2502
|
colors: e.object({
|
|
2475
2503
|
primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
|
|
2476
2504
|
page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
|
|
2477
2505
|
}).optional()
|
|
2478
|
-
}).optional(),
|
|
2506
|
+
}).optional(), di = e.object({
|
|
2479
2507
|
connection_id: e.string().openapi({ description: "ID of the connection" }),
|
|
2480
2508
|
assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
|
|
2481
2509
|
show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
|
|
2482
2510
|
is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
|
|
2483
|
-
}),
|
|
2511
|
+
}), fi = e.object({ client_credentials: e.object({
|
|
2484
2512
|
enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
|
|
2485
2513
|
per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
|
|
2486
2514
|
per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
|
|
2487
|
-
}).optional() }).optional(),
|
|
2515
|
+
}).optional() }).optional(), pi = e.object({
|
|
2488
2516
|
id: e.string().optional(),
|
|
2489
2517
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, { message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores" }).openapi({ description: "The name of the organization. Must be lowercase and can only contain letters, numbers, hyphens, and underscores." }),
|
|
2490
2518
|
display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
|
|
2491
|
-
branding:
|
|
2519
|
+
branding: ui,
|
|
2492
2520
|
metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
|
|
2493
|
-
enabled_connections: e.array(
|
|
2494
|
-
token_quota:
|
|
2495
|
-
}),
|
|
2521
|
+
enabled_connections: e.array(di).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
|
|
2522
|
+
token_quota: fi
|
|
2523
|
+
}), mi = pi.extend(t.shape).extend({
|
|
2496
2524
|
id: e.string(),
|
|
2497
2525
|
name: e.string().min(1).openapi({ description: "The name of the organization" })
|
|
2498
|
-
}),
|
|
2526
|
+
}), hi = e.object({
|
|
2499
2527
|
connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
|
|
2500
2528
|
assign_membership_on_login: e.boolean().optional().default(!1),
|
|
2501
2529
|
show_as_button: e.boolean().optional().default(!0),
|
|
2502
2530
|
is_signup_enabled: e.boolean().optional().default(!0)
|
|
2503
|
-
}),
|
|
2531
|
+
}), gi = hi.extend({
|
|
2504
2532
|
connection: e.object({
|
|
2505
2533
|
name: e.string().optional(),
|
|
2506
2534
|
strategy: e.string().optional()
|
|
2507
2535
|
}).optional(),
|
|
2508
2536
|
created_at: e.string().optional(),
|
|
2509
2537
|
updated_at: e.string().optional()
|
|
2510
|
-
}),
|
|
2538
|
+
}), _i = e.array(gi), vi = e.object({
|
|
2511
2539
|
user_id: e.string().openapi({ description: "ID of the user" }),
|
|
2512
2540
|
organization_id: e.string().openapi({ description: "ID of the organization" })
|
|
2513
|
-
}),
|
|
2541
|
+
}), yi = vi.extend(t.shape).extend({ id: e.string() }), bi = e.object({
|
|
2514
2542
|
idle_session_lifetime: e.number().default(72),
|
|
2515
2543
|
session_lifetime: e.number().default(168),
|
|
2516
2544
|
session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
|
|
@@ -2589,7 +2617,7 @@ var gr = e.object({
|
|
|
2589
2617
|
}).optional(),
|
|
2590
2618
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2591
2619
|
}).optional()
|
|
2592
|
-
}),
|
|
2620
|
+
}), xi = e.object({
|
|
2593
2621
|
date: e.string().openapi({
|
|
2594
2622
|
description: "Date these events occurred in ISO 8601 format",
|
|
2595
2623
|
example: "2025-12-19"
|
|
@@ -2614,10 +2642,10 @@ var gr = e.object({
|
|
|
2614
2642
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2615
2643
|
example: "2025-12-19T00:00:00.000Z"
|
|
2616
2644
|
})
|
|
2617
|
-
}),
|
|
2645
|
+
}), Si = e.number().openapi({
|
|
2618
2646
|
description: "Number of active users in the last 30 days",
|
|
2619
2647
|
example: 1234
|
|
2620
|
-
}),
|
|
2648
|
+
}), Ci = e.enum([
|
|
2621
2649
|
"active-users",
|
|
2622
2650
|
"logins",
|
|
2623
2651
|
"signups",
|
|
@@ -2629,46 +2657,46 @@ var gr = e.object({
|
|
|
2629
2657
|
"mfa",
|
|
2630
2658
|
"email-verifications",
|
|
2631
2659
|
"codes-sent"
|
|
2632
|
-
]),
|
|
2660
|
+
]), wi = e.enum([
|
|
2633
2661
|
"hour",
|
|
2634
2662
|
"day",
|
|
2635
2663
|
"week",
|
|
2636
2664
|
"month"
|
|
2637
|
-
]),
|
|
2665
|
+
]), Ti = e.enum([
|
|
2638
2666
|
"time",
|
|
2639
2667
|
"connection",
|
|
2640
2668
|
"client_id",
|
|
2641
2669
|
"user_type",
|
|
2642
2670
|
"event"
|
|
2643
|
-
]),
|
|
2671
|
+
]), Ei = e.enum([
|
|
2644
2672
|
"password",
|
|
2645
2673
|
"social",
|
|
2646
2674
|
"passwordless",
|
|
2647
2675
|
"enterprise"
|
|
2648
|
-
]),
|
|
2676
|
+
]), Di = e.object({
|
|
2649
2677
|
name: e.string(),
|
|
2650
2678
|
type: e.string()
|
|
2651
|
-
}),
|
|
2679
|
+
}), Oi = e.object({
|
|
2652
2680
|
elapsed: e.number(),
|
|
2653
2681
|
rows_read: e.number().optional(),
|
|
2654
2682
|
bytes_read: e.number().optional()
|
|
2655
|
-
}),
|
|
2656
|
-
meta: e.array(
|
|
2683
|
+
}), ki = e.object({
|
|
2684
|
+
meta: e.array(Di),
|
|
2657
2685
|
data: e.array(e.record(e.string(), e.any())),
|
|
2658
2686
|
rows: e.number(),
|
|
2659
2687
|
rows_before_limit_at_least: e.number().optional(),
|
|
2660
|
-
statistics:
|
|
2661
|
-
}),
|
|
2688
|
+
statistics: Oi.optional()
|
|
2689
|
+
}), Ai = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), ji = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2662
2690
|
type: "object",
|
|
2663
2691
|
additionalProperties: {
|
|
2664
2692
|
type: "object",
|
|
2665
2693
|
additionalProperties: { type: "string" }
|
|
2666
2694
|
}
|
|
2667
|
-
}),
|
|
2668
|
-
prompt:
|
|
2695
|
+
}), Mi = e.object({
|
|
2696
|
+
prompt: Ai,
|
|
2669
2697
|
language: e.string(),
|
|
2670
|
-
custom_text:
|
|
2671
|
-
}),
|
|
2698
|
+
custom_text: ji
|
|
2699
|
+
}), Ni = {
|
|
2672
2700
|
EMAIL: "email",
|
|
2673
2701
|
SMS: "sms",
|
|
2674
2702
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2684,17 +2712,17 @@ var gr = e.object({
|
|
|
2684
2712
|
WAAD: "waad",
|
|
2685
2713
|
ADFS: "adfs",
|
|
2686
2714
|
OKTA: "okta"
|
|
2687
|
-
},
|
|
2715
|
+
}, Pi = {
|
|
2688
2716
|
DATABASE: "database",
|
|
2689
2717
|
SOCIAL: "social",
|
|
2690
2718
|
PASSWORDLESS: "passwordless"
|
|
2691
|
-
},
|
|
2692
|
-
function
|
|
2693
|
-
return e === "auth0" || e ===
|
|
2719
|
+
}, Fi = "auth0";
|
|
2720
|
+
function Ii(e) {
|
|
2721
|
+
return e === "auth0" || e === Ni.USERNAME_PASSWORD || e === "auth2";
|
|
2694
2722
|
}
|
|
2695
2723
|
//#endregion
|
|
2696
2724
|
//#region src/types/AuthenticationMethod.ts
|
|
2697
|
-
var
|
|
2725
|
+
var Li = e.enum([
|
|
2698
2726
|
"phone",
|
|
2699
2727
|
"totp",
|
|
2700
2728
|
"email",
|
|
@@ -2702,9 +2730,9 @@ var Ai = e.enum([
|
|
|
2702
2730
|
"webauthn-roaming",
|
|
2703
2731
|
"webauthn-platform",
|
|
2704
2732
|
"passkey"
|
|
2705
|
-
]),
|
|
2733
|
+
]), Ri = e.object({
|
|
2706
2734
|
user_id: e.string(),
|
|
2707
|
-
type:
|
|
2735
|
+
type: Li,
|
|
2708
2736
|
phone_number: e.string().optional(),
|
|
2709
2737
|
totp_secret: e.string().optional(),
|
|
2710
2738
|
credential_id: e.string().optional(),
|
|
@@ -2715,7 +2743,7 @@ var Ai = e.enum([
|
|
|
2715
2743
|
friendly_name: e.string().optional(),
|
|
2716
2744
|
confirmed: e.boolean().default(!1)
|
|
2717
2745
|
});
|
|
2718
|
-
function
|
|
2746
|
+
function zi(t, n) {
|
|
2719
2747
|
t.type === "phone" && !t.phone_number && n.addIssue({
|
|
2720
2748
|
code: e.ZodIssueCode.custom,
|
|
2721
2749
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2738,18 +2766,37 @@ function Mi(t, n) {
|
|
|
2738
2766
|
path: ["public_key"]
|
|
2739
2767
|
}));
|
|
2740
2768
|
}
|
|
2741
|
-
var
|
|
2769
|
+
var Bi = Ri.superRefine(zi), Vi = Ri.extend({
|
|
2742
2770
|
id: e.string(),
|
|
2743
2771
|
created_at: e.string(),
|
|
2744
2772
|
updated_at: e.string()
|
|
2745
|
-
}).superRefine(
|
|
2773
|
+
}).superRefine(zi), Hi = e.object({
|
|
2746
2774
|
id: e.string().optional(),
|
|
2747
2775
|
created_at: e.string().datetime({ offset: !0 }).optional(),
|
|
2748
2776
|
updated_at: e.string().datetime({ offset: !0 }).optional()
|
|
2749
|
-
})
|
|
2777
|
+
}), Ui = {
|
|
2778
|
+
"post-user-login": {
|
|
2779
|
+
accessToken: ["setCustomClaim"],
|
|
2780
|
+
idToken: ["setCustomClaim"],
|
|
2781
|
+
access: ["deny"],
|
|
2782
|
+
prompt: ["render"],
|
|
2783
|
+
redirect: ["sendUserTo"],
|
|
2784
|
+
user: ["setLinkedTo"]
|
|
2785
|
+
},
|
|
2786
|
+
"credentials-exchange": {
|
|
2787
|
+
accessToken: ["setCustomClaim"],
|
|
2788
|
+
idToken: ["setCustomClaim"],
|
|
2789
|
+
access: ["deny"]
|
|
2790
|
+
},
|
|
2791
|
+
"pre-user-registration": {
|
|
2792
|
+
user: ["setUserMetadata", "setLinkedTo"],
|
|
2793
|
+
access: ["deny"]
|
|
2794
|
+
},
|
|
2795
|
+
"post-user-registration": {}
|
|
2796
|
+
};
|
|
2750
2797
|
//#endregion
|
|
2751
2798
|
//#region src/utils/user-id.ts
|
|
2752
|
-
function
|
|
2799
|
+
function Wi(e) {
|
|
2753
2800
|
let [t, n] = e.split("|");
|
|
2754
2801
|
if (!t || !n) throw Error(`Invalid user_id: ${e}`);
|
|
2755
2802
|
return {
|
|
@@ -2759,7 +2806,7 @@ function Ii(e) {
|
|
|
2759
2806
|
}
|
|
2760
2807
|
//#endregion
|
|
2761
2808
|
//#region src/utils/passthrough.ts
|
|
2762
|
-
function
|
|
2809
|
+
function Gi(e) {
|
|
2763
2810
|
let { primary: t, secondaries: n, syncMethods: r = [
|
|
2764
2811
|
"create",
|
|
2765
2812
|
"rawCreate",
|
|
@@ -2793,12 +2840,12 @@ function Li(e) {
|
|
|
2793
2840
|
} : i.bind(e) : i;
|
|
2794
2841
|
} });
|
|
2795
2842
|
}
|
|
2796
|
-
function
|
|
2843
|
+
function Ki(e) {
|
|
2797
2844
|
return e;
|
|
2798
2845
|
}
|
|
2799
2846
|
//#endregion
|
|
2800
2847
|
//#region src/utils/connection-attributes.ts
|
|
2801
|
-
function
|
|
2848
|
+
function qi(e) {
|
|
2802
2849
|
let t = e?.options;
|
|
2803
2850
|
if (!t) return {
|
|
2804
2851
|
usernameIdentifierActive: !1,
|
|
@@ -2821,35 +2868,35 @@ function zi(e) {
|
|
|
2821
2868
|
}
|
|
2822
2869
|
//#endregion
|
|
2823
2870
|
//#region src/utils/guards.ts
|
|
2824
|
-
function
|
|
2871
|
+
function Ji(e) {
|
|
2825
2872
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2826
2873
|
}
|
|
2827
2874
|
//#endregion
|
|
2828
2875
|
//#region src/utils/base64url.ts
|
|
2829
|
-
function
|
|
2876
|
+
function Yi(e) {
|
|
2830
2877
|
let t = "";
|
|
2831
2878
|
for (let n of e) t += String.fromCharCode(n);
|
|
2832
2879
|
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
2833
2880
|
}
|
|
2834
|
-
function
|
|
2881
|
+
function Xi(e) {
|
|
2835
2882
|
let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
|
|
2836
2883
|
for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
|
|
2837
2884
|
return r;
|
|
2838
2885
|
}
|
|
2839
|
-
function
|
|
2840
|
-
return
|
|
2886
|
+
function Zi(e) {
|
|
2887
|
+
return Yi(new TextEncoder().encode(e));
|
|
2841
2888
|
}
|
|
2842
|
-
function
|
|
2843
|
-
return new TextDecoder().decode(
|
|
2889
|
+
function Qi(e) {
|
|
2890
|
+
return new TextDecoder().decode(Xi(e));
|
|
2844
2891
|
}
|
|
2845
2892
|
//#endregion
|
|
2846
2893
|
//#region src/utils/base64.ts
|
|
2847
|
-
function
|
|
2894
|
+
function $i(e) {
|
|
2848
2895
|
let t = "";
|
|
2849
2896
|
for (let n of e) t += String.fromCharCode(n);
|
|
2850
2897
|
return btoa(t);
|
|
2851
2898
|
}
|
|
2852
|
-
function
|
|
2899
|
+
function ea(e) {
|
|
2853
2900
|
let t = atob(e), n = new Uint8Array(t.length);
|
|
2854
2901
|
for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
|
|
2855
2902
|
return n;
|
|
@@ -2857,12 +2904,12 @@ function Ki(e) {
|
|
|
2857
2904
|
//#endregion
|
|
2858
2905
|
//#region src/utils/base32.ts
|
|
2859
2906
|
var $ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
|
|
2860
|
-
function
|
|
2907
|
+
function ta(e) {
|
|
2861
2908
|
let t = "", n = 0, r = 0;
|
|
2862
2909
|
for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += $[n >> r & 31];
|
|
2863
2910
|
return r > 0 && (t += $[n << 5 - r & 31]), t;
|
|
2864
2911
|
}
|
|
2865
|
-
function
|
|
2912
|
+
function na(e) {
|
|
2866
2913
|
let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
|
|
2867
2914
|
if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
|
|
2868
2915
|
let r = [], i = 0, a = 0;
|
|
@@ -2876,19 +2923,19 @@ function Ji(e) {
|
|
|
2876
2923
|
}
|
|
2877
2924
|
//#endregion
|
|
2878
2925
|
//#region src/utils/hex.ts
|
|
2879
|
-
function
|
|
2926
|
+
function ra(e) {
|
|
2880
2927
|
let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
|
|
2881
2928
|
for (let e of t) n += e.toString(16).padStart(2, "0");
|
|
2882
2929
|
return n;
|
|
2883
2930
|
}
|
|
2884
2931
|
//#endregion
|
|
2885
2932
|
//#region src/utils/cursor.ts
|
|
2886
|
-
function
|
|
2887
|
-
return
|
|
2933
|
+
function ia(e) {
|
|
2934
|
+
return Zi(JSON.stringify(e));
|
|
2888
2935
|
}
|
|
2889
|
-
function
|
|
2936
|
+
function aa(e) {
|
|
2890
2937
|
try {
|
|
2891
|
-
let t = JSON.parse(
|
|
2938
|
+
let t = JSON.parse(Qi(e));
|
|
2892
2939
|
return t && typeof t == "object" && typeof t.i == "string" ? t : null;
|
|
2893
2940
|
} catch {
|
|
2894
2941
|
return null;
|
|
@@ -2896,7 +2943,7 @@ function Zi(e) {
|
|
|
2896
2943
|
}
|
|
2897
2944
|
//#endregion
|
|
2898
2945
|
//#region src/utils/lucene.ts
|
|
2899
|
-
function
|
|
2946
|
+
function oa(e, t) {
|
|
2900
2947
|
let n = new Set(t), r = (e) => {
|
|
2901
2948
|
let t = [], r = "", i = !1;
|
|
2902
2949
|
for (let n = 0; n < e.length; n++) {
|
|
@@ -2913,4 +2960,4 @@ function Qi(e, t) {
|
|
|
2913
2960
|
return i.length > 1 ? i.map(r).filter((e) => e.length > 0).join(" OR ") : r(e);
|
|
2914
2961
|
}
|
|
2915
2962
|
//#endregion
|
|
2916
|
-
export { ve as Auth0ActionEnum, An as Auth0Client,
|
|
2963
|
+
export { ve as Auth0ActionEnum, An as Auth0Client, L as AuthorizationResponseMode, I as AuthorizationResponseType, He as CodeChallengeMethod, C as ComponentCategory, S as ComponentType, Fi as DATABASE_CONNECTION_STRATEGY, ye as EmailActionEnum, It as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, mr as GrantType, jn as LocationInfo, Y as LogTypes, J as LoginSessionState, Le as NodeType, Ce as RedirectTargetEnum, Ni as Strategy, Pi as StrategyType, Ui as TRIGGER_API_SHAPES, r as actionDependencySchema, l as actionExecutionErrorSchema, ae as actionExecutionInsertSchema, ne as actionExecutionLogEntrySchema, re as actionExecutionLogsSchema, te as actionExecutionResultSchema, ie as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, N as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, Si as activeUsersResponseSchema, le as actorSchema, f as addressSchema, Di as analyticsColumnMetaSchema, Ti as analyticsGroupBySchema, wi as analyticsIntervalSchema, ki as analyticsQueryResponseSchema, Ci as analyticsResourceSchema, Oi as analyticsStatisticsSchema, Ei as analyticsUserTypeSchema, Gn as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, Ve as auth0FlowInsertSchema, Be as auth0FlowSchema, Oe as auth0QuerySchema, xe as auth0UpdateUserActionSchema, Ae as auth0UserResponseSchema, Ge as authParamsSchema, Bi as authenticationMethodInsertSchema, Vi as authenticationMethodSchema, Li as authenticationMethodTypeSchema, p as baseUserSchema, Nt as blockComponentSchema, gr as bordersSchema, Ke as brandingSchema, Hn as breachedPasswordDetectionSchema, Un as bruteForceProtectionSchema, E as buttonComponentSchema, We as claimsRequestSchema, _ as clientGrantInsertSchema, Fe as clientGrantListSchema, v as clientGrantSchema, g as clientInsertSchema, b as clientRegistrationTokenInsertSchema, Ie as clientRegistrationTokenSchema, y as clientRegistrationTokenTypeSchema, Pe as clientSchema, Je as codeInsertSchema, Ye as codeSchema, qe as codeTypeSchema, _r as colorsSchema, Wt as componentMessageSchema, A as componentSchema, Ze as connectionInsertSchema, Xe as connectionOptionsSchema, Qe as connectionSchema, x as coordinatesSchema, Gi as createPassthroughAdapter, Ki as createWriteOnlyAdapter, rt as customDomainCertificateUploadSchema, z as customDomainInsertSchema, et as customDomainSchema, tt as customDomainUpdateSchema, nt as customDomainWithTenantIdSchema, Mi as customTextEntrySchema, ji as customTextSchema, xi as dailyStatsSchema, na as decodeBase32, ea as decodeBase64, Xi as decodeBase64Url, Qi as decodeBase64UrlString, aa as decodeCursor, Fr as emailProviderSchema, Ir as emailTemplateNameSchema, Lr as emailTemplateSchema, be as emailVerificationRulesSchema, Se as emailVerifyActionSchema, ta as encodeBase32, $i as encodeBase64, Yi as encodeBase64Url, Zi as encodeBase64UrlString, ia as encodeCursor, ra as encodeHex, ze as endingSchema, Ft as fieldComponentSchema, Te as flowActionStepSchema, Ee as flowInsertSchema, De as flowSchema, O as flowsFieldComponentSchema, M as flowsFlowNodeSchema, j as flowsStepNodeSchema, Z as fontDetailsSchema, vr as fontsSchema, Lt as formControlSchema, Ht as formInsertSchema, W as formNodeComponentDefinition, Vt as formNodeSchema, Ut as formSchema, k as genericComponentSchema, P as genericNodeSchema, qi as getConnectionIdentifierConfig, kn as getLogTypeCategory, On as getLogTypeDescription, Xr as grantInsertSchema, Zr as grantSchema, Tr as handlerConfigSchema, fn as hookCodeInsertSchema, pn as hookCodeSchema, on as hookInsertSchema, dn as hookSchema, K as hookTemplateId, en as hookTemplates, d as identitySchema, Hi as importMetadataSchema, gn as inviteInsertSchema, _n as inviteSchema, hn as inviteeSchema, mn as inviterSchema, qt as isBlockComponent, Ii as isDatabaseConnectionStrategy, Yt as isFieldComponent, Ji as isPlainObject, Jt as isWidgetComponent, yn as jwksKeySchema, vn as jwksSchema, D as legalComponentSchema, pe as locationInfoSchema, Mn as logInsertSchema, Nn as logSchema, Fn as logStreamFilterSchema, In as logStreamInsertSchema, Ln as logStreamSchema, X as logStreamStatusSchema, Pn as logStreamTypeSchema, Dn as logTypeCategories, En as logTypeDescriptions, Sn as loginSessionAuthStrategySchema, Cn as loginSessionInsertSchema, wn as loginSessionSchema, xn as loginSessionStateSchema, wr as matchSchema, Rn as migrationProviderTypeSchema, zn as migrationSourceCredentialsSchema, Bn as migrationSourceInsertSchema, Vn as migrationSourceSchema, F as nodeSchema, bn as openIDConfigurationSchema, ui as organizationBrandingSchema, hi as organizationConnectionInsertSchema, _i as organizationConnectionListSchema, gi as organizationConnectionSchema, di as organizationEnabledConnectionSchema, pi as organizationInsertSchema, mi as organizationSchema, fi as organizationTokenQuotaSchema, yr as pageBackgroundSchema, Wi as parseUserId, Kn as passwordInsertSchema, qn as passwordSchema, u as profileDataSchema, Ai as promptScreenSchema, Cr as promptSettingSchema, Q as proxyRouteInsertSchema, Er as proxyRouteSchema, Dr as proxyRouteUpdateSchema, we as redirectActionSchema, Rr as refreshTokenInsertSchema, zr as refreshTokenSchema, de as requestContextSchema, Wr as resourceServerInsertSchema, Kr as resourceServerListSchema, Ur as resourceServerOptionsSchema, Gr as resourceServerSchema, Hr as resourceServerScopeSchema, fe as responseContextSchema, T as richTextComponentSchema, si as roleInsertSchema, li as roleListSchema, qr as rolePermissionInsertSchema, Yr as rolePermissionListSchema, Jr as rolePermissionSchema, ci as roleSchema, dr as rolloutInsertSchema, lr as rolloutKindSchema, fr as rolloutSchema, ur as rolloutStatusSchema, pr as rolloutUpdateSchema, oa as sanitizeLuceneQuery, kr as scimConfigurationInsertSchema, Ar as scimConfigurationSchema, Nr as scimExternalIdInsertSchema, Pr as scimExternalIdSchema, Or as scimMappingEntrySchema, jr as scimTokenInsertSchema, Mr as scimTokenSchema, Gt as screenLinkSchema, Yn as sessionInsertSchema, Xn as sessionSchema, Zn as signingKeySchema, Vr as smsProviderSchema, Br as smsSendParamsSchema, Re as startSchema, Wn as suspiciousIpThrottlingSchema, ue as targetSchema, Qn as tenantInsertSchema, nr as tenantOperationEngineSchema, sr as tenantOperationEventInsertSchema, or as tenantOperationEventOutcomeSchema, cr as tenantOperationEventSchema, rr as tenantOperationInsertSchema, er as tenantOperationKindSchema, ir as tenantOperationSchema, tr as tenantOperationStatusSchema, ar as tenantOperationUpdateSchema, $n as tenantSchema, bi as tenantSettingsSchema, xr as themeInsertSchema, Sr as themeSchema, hr as tokenResponseSchema, ke as totalsSchema, Kt as uiScreenSchema, Qr as userActivitySchema, m as userInsertSchema, vi as userOrganizationInsertSchema, yi as userOrganizationSchema, $r as userPermissionInsertSchema, ti as userPermissionListSchema, ei as userPermissionSchema, ri as userPermissionWithDetailsListSchema, ni as userPermissionWithDetailsSchema, je as userResponseSchema, ii as userRoleInsertSchema, oi as userRoleListSchema, ai as userRoleSchema, h as userSchema, $e as verificationMethodsSchema, Pt as widgetComponentSchema, br as widgetSchema };
|