@authhero/adapter-interfaces 0.109.0 → 0.110.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/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +902 -130
- package/dist/adapter-interfaces.mjs +377 -315
- package/package.json +1 -1
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
import { z as e } from "@hono/zod-openapi";
|
|
2
|
-
const
|
|
2
|
+
const i = e.object({
|
|
3
|
+
created_at: e.string(),
|
|
4
|
+
updated_at: e.string()
|
|
5
|
+
}), pt = e.enum(["AUTH0", "EMAIL"]), dt = e.enum([
|
|
6
|
+
"CREATE_USER",
|
|
7
|
+
"GET_USER",
|
|
8
|
+
"UPDATE_USER",
|
|
9
|
+
"SEND_REQUEST",
|
|
10
|
+
"SEND_EMAIL"
|
|
11
|
+
]), gt = e.enum(["VERIFY_EMAIL"]), U = e.object({
|
|
12
|
+
require_mx_record: e.boolean().optional(),
|
|
13
|
+
block_aliases: e.boolean().optional(),
|
|
14
|
+
block_free_emails: e.boolean().optional(),
|
|
15
|
+
block_disposable_emails: e.boolean().optional(),
|
|
16
|
+
blocklist: e.array(e.string()).optional(),
|
|
17
|
+
allowlist: e.array(e.string()).optional()
|
|
18
|
+
}), F = e.object({
|
|
19
|
+
id: e.string(),
|
|
20
|
+
alias: e.string().max(100).optional(),
|
|
21
|
+
type: e.literal("AUTH0"),
|
|
22
|
+
action: e.literal("UPDATE_USER"),
|
|
23
|
+
allow_failure: e.boolean().optional(),
|
|
24
|
+
mask_output: e.boolean().optional(),
|
|
25
|
+
params: e.object({
|
|
26
|
+
connection_id: e.string().optional(),
|
|
27
|
+
user_id: e.string(),
|
|
28
|
+
changes: e.record(e.string(), e.any())
|
|
29
|
+
})
|
|
30
|
+
}), v = e.object({
|
|
31
|
+
id: e.string(),
|
|
32
|
+
alias: e.string().max(100).optional(),
|
|
33
|
+
type: e.literal("EMAIL"),
|
|
34
|
+
action: e.literal("VERIFY_EMAIL"),
|
|
35
|
+
allow_failure: e.boolean().optional(),
|
|
36
|
+
mask_output: e.boolean().optional(),
|
|
37
|
+
params: e.object({
|
|
38
|
+
email: e.string(),
|
|
39
|
+
rules: U.optional()
|
|
40
|
+
})
|
|
41
|
+
}), x = e.union([
|
|
42
|
+
F,
|
|
43
|
+
v
|
|
44
|
+
]), P = e.object({
|
|
45
|
+
name: e.string().min(1).max(150).openapi({
|
|
46
|
+
description: "The name of the flow"
|
|
47
|
+
}),
|
|
48
|
+
// Actions is an array of action steps (Auth0 stores as JSON blob)
|
|
49
|
+
actions: e.array(x).optional().default([]).openapi({
|
|
50
|
+
description: "The list of actions to execute in sequence"
|
|
51
|
+
})
|
|
52
|
+
}), ut = P.extend({
|
|
53
|
+
...i.shape,
|
|
54
|
+
id: e.string().openapi({
|
|
55
|
+
description: "Unique identifier for the flow",
|
|
56
|
+
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
57
|
+
})
|
|
58
|
+
}), mt = e.object({
|
|
3
59
|
page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
|
|
4
60
|
description: "The page number where 0 is the first page"
|
|
5
61
|
}),
|
|
@@ -15,14 +71,11 @@ const st = e.object({
|
|
|
15
71
|
q: e.string().optional().openapi({
|
|
16
72
|
description: "A lucene query string used to filter the results"
|
|
17
73
|
})
|
|
18
|
-
}),
|
|
74
|
+
}), ht = e.object({
|
|
19
75
|
start: e.number(),
|
|
20
76
|
limit: e.number(),
|
|
21
77
|
length: e.number()
|
|
22
|
-
}),
|
|
23
|
-
created_at: e.string(),
|
|
24
|
-
updated_at: e.string()
|
|
25
|
-
}), U = e.object({
|
|
78
|
+
}), M = e.object({
|
|
26
79
|
email: e.string().optional(),
|
|
27
80
|
email_verified: e.boolean().optional(),
|
|
28
81
|
name: e.string().optional(),
|
|
@@ -31,7 +84,7 @@ const st = e.object({
|
|
|
31
84
|
phone_number: e.string().optional(),
|
|
32
85
|
phone_verified: e.boolean().optional(),
|
|
33
86
|
family_name: e.string().optional()
|
|
34
|
-
}).catchall(e.any()),
|
|
87
|
+
}).catchall(e.any()), H = e.object({
|
|
35
88
|
connection: e.string(),
|
|
36
89
|
user_id: e.string(),
|
|
37
90
|
provider: e.string(),
|
|
@@ -39,7 +92,7 @@ const st = e.object({
|
|
|
39
92
|
access_token: e.string().optional(),
|
|
40
93
|
access_token_secret: e.string().optional(),
|
|
41
94
|
refresh_token: e.string().optional(),
|
|
42
|
-
profileData:
|
|
95
|
+
profileData: M.optional()
|
|
43
96
|
}), E = e.object({
|
|
44
97
|
email: e.string().optional().transform((t) => t && t.toLowerCase()),
|
|
45
98
|
username: e.string().optional(),
|
|
@@ -55,7 +108,7 @@ const st = e.object({
|
|
|
55
108
|
user_id: e.string().optional(),
|
|
56
109
|
app_metadata: e.any().default({}).optional(),
|
|
57
110
|
user_metadata: e.any().default({}).optional()
|
|
58
|
-
}),
|
|
111
|
+
}), G = E.extend({
|
|
59
112
|
email_verified: e.boolean().default(!1),
|
|
60
113
|
verify_email: e.boolean().optional(),
|
|
61
114
|
last_ip: e.string().optional(),
|
|
@@ -64,29 +117,29 @@ const st = e.object({
|
|
|
64
117
|
provider: e.string().optional(),
|
|
65
118
|
connection: e.string(),
|
|
66
119
|
is_social: e.boolean().optional()
|
|
67
|
-
}),
|
|
68
|
-
...
|
|
69
|
-
...
|
|
120
|
+
}), K = e.object({
|
|
121
|
+
...G.shape,
|
|
122
|
+
...i.shape,
|
|
70
123
|
user_id: e.string(),
|
|
71
124
|
provider: e.string(),
|
|
72
125
|
is_social: e.boolean(),
|
|
73
126
|
email: e.string().optional(),
|
|
74
127
|
login_count: e.number().default(0),
|
|
75
|
-
identities: e.array(
|
|
76
|
-
}),
|
|
128
|
+
identities: e.array(H).optional()
|
|
129
|
+
}), bt = K, ft = E.extend({
|
|
77
130
|
login_count: e.number(),
|
|
78
131
|
multifactor: e.array(e.string()).optional(),
|
|
79
132
|
last_ip: e.string().optional(),
|
|
80
133
|
last_login: e.string().optional(),
|
|
81
134
|
user_id: e.string()
|
|
82
|
-
}).catchall(e.any()),
|
|
83
|
-
let
|
|
84
|
-
let n = "",
|
|
135
|
+
}).catchall(e.any()), B = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
136
|
+
let z = (t = 21) => {
|
|
137
|
+
let n = "", a = crypto.getRandomValues(new Uint8Array(t |= 0));
|
|
85
138
|
for (; t--; )
|
|
86
|
-
n +=
|
|
139
|
+
n += B[a[t] & 63];
|
|
87
140
|
return n;
|
|
88
141
|
};
|
|
89
|
-
const
|
|
142
|
+
const W = e.object({
|
|
90
143
|
client_id: e.string().openapi({
|
|
91
144
|
description: "ID of this client."
|
|
92
145
|
}),
|
|
@@ -99,7 +152,7 @@ const H = e.object({
|
|
|
99
152
|
global: e.boolean().default(!1).openapi({
|
|
100
153
|
description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
|
|
101
154
|
}),
|
|
102
|
-
client_secret: e.string().default(() =>
|
|
155
|
+
client_secret: e.string().default(() => z()).optional().openapi({
|
|
103
156
|
description: "Client secret (which you must not make public)."
|
|
104
157
|
}),
|
|
105
158
|
app_type: e.enum([
|
|
@@ -256,11 +309,11 @@ const H = e.object({
|
|
|
256
309
|
description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
|
|
257
310
|
}),
|
|
258
311
|
token_quota: e.record(e.any()).default({}).optional()
|
|
259
|
-
}),
|
|
312
|
+
}), X = e.object({
|
|
260
313
|
created_at: e.string(),
|
|
261
314
|
updated_at: e.string(),
|
|
262
|
-
...
|
|
263
|
-
}),
|
|
315
|
+
...W.shape
|
|
316
|
+
}), V = e.object({
|
|
264
317
|
client_id: e.string().min(1).openapi({
|
|
265
318
|
description: "ID of the client."
|
|
266
319
|
}),
|
|
@@ -285,14 +338,14 @@ const H = e.object({
|
|
|
285
338
|
authorization_details_types: e.array(e.string()).optional().openapi({
|
|
286
339
|
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."
|
|
287
340
|
})
|
|
288
|
-
}),
|
|
341
|
+
}), q = e.object({
|
|
289
342
|
id: e.string().openapi({
|
|
290
343
|
description: "ID of the client grant."
|
|
291
344
|
}),
|
|
292
|
-
...
|
|
345
|
+
...V.shape,
|
|
293
346
|
created_at: e.string().optional(),
|
|
294
347
|
updated_at: e.string().optional()
|
|
295
|
-
}),
|
|
348
|
+
}), Et = e.array(q), c = e.object({
|
|
296
349
|
x: e.number(),
|
|
297
350
|
y: e.number()
|
|
298
351
|
});
|
|
@@ -301,7 +354,7 @@ const d = e.object({
|
|
|
301
354
|
id: e.string(),
|
|
302
355
|
category: e.nativeEnum(A),
|
|
303
356
|
type: e.nativeEnum(S)
|
|
304
|
-
}),
|
|
357
|
+
}), Y = d.extend({
|
|
305
358
|
category: e.literal(
|
|
306
359
|
"BLOCK"
|
|
307
360
|
/* BLOCK */
|
|
@@ -313,7 +366,7 @@ const d = e.object({
|
|
|
313
366
|
config: e.object({
|
|
314
367
|
content: e.string()
|
|
315
368
|
}).passthrough()
|
|
316
|
-
}),
|
|
369
|
+
}), Q = d.extend({
|
|
317
370
|
category: e.literal(
|
|
318
371
|
"BLOCK"
|
|
319
372
|
/* BLOCK */
|
|
@@ -335,7 +388,7 @@ const d = e.object({
|
|
|
335
388
|
config: e.object({
|
|
336
389
|
text: e.string()
|
|
337
390
|
}).passthrough()
|
|
338
|
-
}),
|
|
391
|
+
}), J = d.extend({
|
|
339
392
|
category: e.literal(
|
|
340
393
|
"FIELD"
|
|
341
394
|
/* FIELD */
|
|
@@ -349,7 +402,7 @@ const d = e.object({
|
|
|
349
402
|
config: e.object({
|
|
350
403
|
text: e.string()
|
|
351
404
|
}).passthrough()
|
|
352
|
-
}),
|
|
405
|
+
}), Z = d.extend({
|
|
353
406
|
category: e.literal(
|
|
354
407
|
"FIELD"
|
|
355
408
|
/* FIELD */
|
|
@@ -402,19 +455,19 @@ const d = e.object({
|
|
|
402
455
|
label: e.string().optional(),
|
|
403
456
|
placeholder: e.string().optional()
|
|
404
457
|
}).passthrough()
|
|
405
|
-
}),
|
|
458
|
+
}), $ = e.object({
|
|
406
459
|
id: e.string(),
|
|
407
460
|
category: e.string(),
|
|
408
461
|
type: e.string()
|
|
409
|
-
}).passthrough(),
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
462
|
+
}).passthrough(), ee = e.union([
|
|
463
|
+
Y,
|
|
464
|
+
Q,
|
|
465
|
+
J,
|
|
466
|
+
Z,
|
|
467
|
+
$
|
|
415
468
|
]);
|
|
416
|
-
var
|
|
417
|
-
const
|
|
469
|
+
var te = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(te || {});
|
|
470
|
+
const oe = e.object({
|
|
418
471
|
id: e.string(),
|
|
419
472
|
type: e.literal(
|
|
420
473
|
"STEP"
|
|
@@ -423,10 +476,10 @@ const J = e.object({
|
|
|
423
476
|
coordinates: c,
|
|
424
477
|
alias: e.string().optional(),
|
|
425
478
|
config: e.object({
|
|
426
|
-
components: e.array(
|
|
479
|
+
components: e.array(ee),
|
|
427
480
|
next_node: e.string()
|
|
428
481
|
}).passthrough()
|
|
429
|
-
}),
|
|
482
|
+
}), ne = e.object({
|
|
430
483
|
id: e.string(),
|
|
431
484
|
type: e.literal(
|
|
432
485
|
"FLOW"
|
|
@@ -438,42 +491,42 @@ const J = e.object({
|
|
|
438
491
|
flow_id: e.string(),
|
|
439
492
|
next_node: e.string()
|
|
440
493
|
})
|
|
441
|
-
}),
|
|
494
|
+
}), ie = e.object({
|
|
442
495
|
id: e.string(),
|
|
443
496
|
type: e.string(),
|
|
444
497
|
coordinates: c
|
|
445
|
-
}).passthrough(),
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
]),
|
|
498
|
+
}).passthrough(), ae = e.union([
|
|
499
|
+
oe,
|
|
500
|
+
ne,
|
|
501
|
+
ie
|
|
502
|
+
]), se = e.object({
|
|
450
503
|
next_node: e.string(),
|
|
451
504
|
coordinates: c
|
|
452
|
-
}).passthrough(),
|
|
505
|
+
}).passthrough(), re = e.object({
|
|
453
506
|
resume_flow: e.boolean().optional(),
|
|
454
507
|
coordinates: c
|
|
455
|
-
}).passthrough(),
|
|
508
|
+
}).passthrough(), le = e.object({
|
|
456
509
|
id: e.string(),
|
|
457
510
|
name: e.string(),
|
|
458
511
|
languages: e.object({
|
|
459
512
|
primary: e.string()
|
|
460
513
|
}).passthrough(),
|
|
461
|
-
nodes: e.array(
|
|
462
|
-
start:
|
|
463
|
-
ending:
|
|
514
|
+
nodes: e.array(ae),
|
|
515
|
+
start: se,
|
|
516
|
+
ending: re,
|
|
464
517
|
created_at: e.string(),
|
|
465
518
|
updated_at: e.string(),
|
|
466
519
|
links: e.object({
|
|
467
520
|
sdkSrc: e.string().optional(),
|
|
468
521
|
sdk_src: e.string().optional()
|
|
469
522
|
}).passthrough()
|
|
470
|
-
}).passthrough(),
|
|
523
|
+
}).passthrough(), St = le.omit({
|
|
471
524
|
id: !0,
|
|
472
525
|
created_at: !0,
|
|
473
526
|
updated_at: !0
|
|
474
527
|
});
|
|
475
528
|
var I = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(I || {}), C = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(C || {}), O = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(O || {});
|
|
476
|
-
const
|
|
529
|
+
const ce = e.object({
|
|
477
530
|
client_id: e.string(),
|
|
478
531
|
act_as: e.string().optional(),
|
|
479
532
|
response_type: e.nativeEnum(I).optional(),
|
|
@@ -491,7 +544,7 @@ const ie = e.object({
|
|
|
491
544
|
ui_locales: e.string().optional(),
|
|
492
545
|
// The following fields are not available in Auth0
|
|
493
546
|
vendor_id: e.string().optional()
|
|
494
|
-
}),
|
|
547
|
+
}), At = e.object({
|
|
495
548
|
colors: e.object({
|
|
496
549
|
primary: e.string(),
|
|
497
550
|
page_background: e.object({
|
|
@@ -507,7 +560,7 @@ const ie = e.object({
|
|
|
507
560
|
font: e.object({
|
|
508
561
|
url: e.string()
|
|
509
562
|
}).optional()
|
|
510
|
-
}),
|
|
563
|
+
}), _e = e.object({
|
|
511
564
|
kid: e.string().optional(),
|
|
512
565
|
team_id: e.string().optional(),
|
|
513
566
|
realms: e.string().optional(),
|
|
@@ -527,23 +580,23 @@ const ie = e.object({
|
|
|
527
580
|
twilio_sid: e.string().optional(),
|
|
528
581
|
twilio_token: e.string().optional(),
|
|
529
582
|
icon_url: e.string().optional()
|
|
530
|
-
}),
|
|
583
|
+
}), pe = e.object({
|
|
531
584
|
id: e.string().optional(),
|
|
532
585
|
name: e.string(),
|
|
533
586
|
display_name: e.string().optional(),
|
|
534
587
|
strategy: e.string(),
|
|
535
|
-
options:
|
|
588
|
+
options: _e.default({}),
|
|
536
589
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
537
590
|
response_type: e.custom().optional(),
|
|
538
591
|
response_mode: e.custom().optional(),
|
|
539
592
|
is_domain_connection: e.boolean().optional(),
|
|
540
593
|
show_as_button: e.boolean().optional(),
|
|
541
594
|
metadata: e.record(e.any()).optional()
|
|
542
|
-
}),
|
|
595
|
+
}), de = e.object({
|
|
543
596
|
id: e.string(),
|
|
544
597
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
545
598
|
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
546
|
-
}).extend(
|
|
599
|
+
}).extend(pe.shape), ge = e.object({
|
|
547
600
|
id: e.string().optional(),
|
|
548
601
|
// Basic settings
|
|
549
602
|
audience: e.string(),
|
|
@@ -663,23 +716,23 @@ const ie = e.object({
|
|
|
663
716
|
// Authorization settings
|
|
664
717
|
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
665
718
|
authorization_response_iss_parameter_supported: e.boolean().optional()
|
|
666
|
-
}),
|
|
719
|
+
}), ue = e.object({
|
|
667
720
|
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
668
721
|
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
669
|
-
...
|
|
722
|
+
...ge.shape,
|
|
670
723
|
id: e.string()
|
|
671
|
-
}),
|
|
672
|
-
...
|
|
673
|
-
tenant:
|
|
674
|
-
connections: e.array(
|
|
675
|
-
}),
|
|
724
|
+
}), It = e.object({
|
|
725
|
+
...X.shape,
|
|
726
|
+
tenant: ue,
|
|
727
|
+
connections: e.array(de)
|
|
728
|
+
}), me = e.enum([
|
|
676
729
|
"password_reset",
|
|
677
730
|
"email_verification",
|
|
678
731
|
"otp",
|
|
679
732
|
"authorization_code",
|
|
680
733
|
"oauth2_state",
|
|
681
734
|
"ticket"
|
|
682
|
-
]),
|
|
735
|
+
]), he = e.object({
|
|
683
736
|
code_id: e.string().openapi({
|
|
684
737
|
description: "The code that will be used in for instance an email verification flow"
|
|
685
738
|
}),
|
|
@@ -689,7 +742,7 @@ const ie = e.object({
|
|
|
689
742
|
connection_id: e.string().optional().openapi({
|
|
690
743
|
description: "The connection that the code is connected to"
|
|
691
744
|
}),
|
|
692
|
-
code_type:
|
|
745
|
+
code_type: me,
|
|
693
746
|
code_verifier: e.string().optional().openapi({
|
|
694
747
|
description: "The code verifier used in PKCE in outbound flows"
|
|
695
748
|
}),
|
|
@@ -711,10 +764,10 @@ const ie = e.object({
|
|
|
711
764
|
expires_at: e.string(),
|
|
712
765
|
used_at: e.string().optional(),
|
|
713
766
|
user_id: e.string().optional()
|
|
714
|
-
}),
|
|
715
|
-
...
|
|
767
|
+
}), Ct = e.object({
|
|
768
|
+
...he.shape,
|
|
716
769
|
created_at: e.string()
|
|
717
|
-
}),
|
|
770
|
+
}), be = e.object({
|
|
718
771
|
domain: e.string(),
|
|
719
772
|
custom_domain_id: e.string().optional(),
|
|
720
773
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -728,23 +781,23 @@ const ie = e.object({
|
|
|
728
781
|
"null"
|
|
729
782
|
]).optional(),
|
|
730
783
|
domain_metadata: e.record(e.string().max(255)).optional()
|
|
731
|
-
}),
|
|
784
|
+
}), fe = e.object({
|
|
732
785
|
name: e.literal("txt"),
|
|
733
786
|
record: e.string(),
|
|
734
787
|
domain: e.string()
|
|
735
|
-
}),
|
|
736
|
-
...
|
|
788
|
+
}), Ee = e.object({
|
|
789
|
+
...be.shape,
|
|
737
790
|
custom_domain_id: e.string(),
|
|
738
791
|
primary: e.boolean(),
|
|
739
792
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
740
793
|
origin_domain_name: e.string().optional(),
|
|
741
794
|
verification: e.object({
|
|
742
|
-
methods: e.array(
|
|
795
|
+
methods: e.array(fe)
|
|
743
796
|
}).optional(),
|
|
744
797
|
tls_policy: e.string().optional()
|
|
745
|
-
}),
|
|
798
|
+
}), Ot = Ee.extend({
|
|
746
799
|
tenant_id: e.string()
|
|
747
|
-
}),
|
|
800
|
+
}), yt = e.object({
|
|
748
801
|
id: e.string(),
|
|
749
802
|
type: e.literal("submit"),
|
|
750
803
|
label: e.string(),
|
|
@@ -763,7 +816,7 @@ const ie = e.object({
|
|
|
763
816
|
category: e.literal("FIELD").optional(),
|
|
764
817
|
required: e.boolean().optional(),
|
|
765
818
|
sensitive: e.boolean().optional()
|
|
766
|
-
}),
|
|
819
|
+
}), Se = e.discriminatedUnion("type", [
|
|
767
820
|
f.extend({
|
|
768
821
|
type: e.literal("RICH_TEXT"),
|
|
769
822
|
config: e.object({
|
|
@@ -812,7 +865,7 @@ const ie = e.object({
|
|
|
812
865
|
})
|
|
813
866
|
})
|
|
814
867
|
// Add more component types as needed
|
|
815
|
-
]),
|
|
868
|
+
]), Ae = e.object({
|
|
816
869
|
name: e.string().openapi({
|
|
817
870
|
description: "The name of the form"
|
|
818
871
|
}),
|
|
@@ -863,7 +916,7 @@ const ie = e.object({
|
|
|
863
916
|
coordinates: e.object({ x: e.number(), y: e.number() }),
|
|
864
917
|
alias: e.string().min(1).max(150).optional(),
|
|
865
918
|
config: e.object({
|
|
866
|
-
components: e.array(
|
|
919
|
+
components: e.array(Se),
|
|
867
920
|
next_node: e.string().optional()
|
|
868
921
|
})
|
|
869
922
|
})
|
|
@@ -886,9 +939,9 @@ const ie = e.object({
|
|
|
886
939
|
style: e.object({ css: e.string().optional() }).optional()
|
|
887
940
|
}).openapi({
|
|
888
941
|
description: "Schema for flow-based forms (matches new JSON structure)"
|
|
889
|
-
}),
|
|
890
|
-
...
|
|
891
|
-
...
|
|
942
|
+
}), Tt = e.object({
|
|
943
|
+
...i.shape,
|
|
944
|
+
...Ae.shape,
|
|
892
945
|
id: e.string()
|
|
893
946
|
}), T = e.enum([
|
|
894
947
|
"pre-user-registration",
|
|
@@ -910,37 +963,37 @@ const ie = e.object({
|
|
|
910
963
|
synchronous: e.boolean().default(!1),
|
|
911
964
|
priority: e.number().optional(),
|
|
912
965
|
hook_id: e.string().optional()
|
|
913
|
-
},
|
|
966
|
+
}, Ie = e.object({
|
|
914
967
|
...g,
|
|
915
968
|
trigger_id: T,
|
|
916
969
|
url: e.string()
|
|
917
|
-
}),
|
|
970
|
+
}), Ce = e.object({
|
|
918
971
|
...g,
|
|
919
972
|
trigger_id: N,
|
|
920
973
|
form_id: e.string()
|
|
921
|
-
}),
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
]),
|
|
974
|
+
}), Nt = e.union([
|
|
975
|
+
Ie,
|
|
976
|
+
Ce
|
|
977
|
+
]), Oe = e.object({
|
|
925
978
|
...g,
|
|
926
979
|
trigger_id: T,
|
|
927
|
-
...
|
|
980
|
+
...i.shape,
|
|
928
981
|
hook_id: e.string(),
|
|
929
982
|
url: e.string()
|
|
930
|
-
}),
|
|
983
|
+
}), ye = e.object({
|
|
931
984
|
...g,
|
|
932
985
|
trigger_id: N,
|
|
933
|
-
...
|
|
986
|
+
...i.shape,
|
|
934
987
|
hook_id: e.string(),
|
|
935
988
|
form_id: e.string()
|
|
936
|
-
}),
|
|
989
|
+
}), Rt = e.union([Oe, ye]), Te = e.object({
|
|
937
990
|
name: e.string().optional()
|
|
938
|
-
}),
|
|
991
|
+
}), Ne = e.object({
|
|
939
992
|
email: e.string().optional()
|
|
940
|
-
}),
|
|
993
|
+
}), Re = e.object({
|
|
941
994
|
organization_id: e.string().max(50),
|
|
942
|
-
inviter:
|
|
943
|
-
invitee:
|
|
995
|
+
inviter: Te,
|
|
996
|
+
invitee: Ne,
|
|
944
997
|
invitation_url: e.string().url(),
|
|
945
998
|
client_id: e.string(),
|
|
946
999
|
connection_id: e.string().optional(),
|
|
@@ -949,13 +1002,13 @@ const ie = e.object({
|
|
|
949
1002
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
950
1003
|
roles: e.array(e.string()).default([]).optional(),
|
|
951
1004
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
952
|
-
}),
|
|
1005
|
+
}), Lt = e.object({
|
|
953
1006
|
id: e.string(),
|
|
954
1007
|
organization_id: e.string().max(50),
|
|
955
1008
|
created_at: e.string().datetime(),
|
|
956
1009
|
expires_at: e.string().datetime(),
|
|
957
1010
|
ticket_id: e.string().optional()
|
|
958
|
-
}).extend(
|
|
1011
|
+
}).extend(Re.shape), Le = e.object({
|
|
959
1012
|
alg: e.enum([
|
|
960
1013
|
"RS256",
|
|
961
1014
|
"RS384",
|
|
@@ -974,9 +1027,9 @@ const ie = e.object({
|
|
|
974
1027
|
x5t: e.string().optional(),
|
|
975
1028
|
x5c: e.array(e.string()).optional(),
|
|
976
1029
|
use: e.enum(["sig", "enc"]).optional()
|
|
977
|
-
}),
|
|
978
|
-
keys: e.array(
|
|
979
|
-
}),
|
|
1030
|
+
}), Dt = e.object({
|
|
1031
|
+
keys: e.array(Le)
|
|
1032
|
+
}), wt = e.object({
|
|
980
1033
|
issuer: e.string(),
|
|
981
1034
|
authorization_endpoint: e.string(),
|
|
982
1035
|
token_endpoint: e.string(),
|
|
@@ -997,10 +1050,10 @@ const ie = e.object({
|
|
|
997
1050
|
request_uri_parameter_supported: e.boolean(),
|
|
998
1051
|
request_parameter_supported: e.boolean(),
|
|
999
1052
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
1000
|
-
}),
|
|
1053
|
+
}), De = e.object({
|
|
1001
1054
|
csrf_token: e.string(),
|
|
1002
1055
|
auth0Client: e.string().optional(),
|
|
1003
|
-
authParams:
|
|
1056
|
+
authParams: ce,
|
|
1004
1057
|
expires_at: e.string(),
|
|
1005
1058
|
deleted_at: e.string().optional(),
|
|
1006
1059
|
ip: e.string().optional(),
|
|
@@ -1010,14 +1063,14 @@ const ie = e.object({
|
|
|
1010
1063
|
login_completed: e.boolean().optional().default(!1)
|
|
1011
1064
|
}).openapi({
|
|
1012
1065
|
description: "This represents a login sesion"
|
|
1013
|
-
}),
|
|
1014
|
-
...
|
|
1066
|
+
}), jt = e.object({
|
|
1067
|
+
...De.shape,
|
|
1015
1068
|
id: e.string().openapi({
|
|
1016
1069
|
description: "This is is used as the state in the universal login"
|
|
1017
1070
|
}),
|
|
1018
1071
|
created_at: e.string(),
|
|
1019
1072
|
updated_at: e.string()
|
|
1020
|
-
}),
|
|
1073
|
+
}), we = {
|
|
1021
1074
|
// Network & System
|
|
1022
1075
|
ACLS_SUMMARY: "acls_summary",
|
|
1023
1076
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -1184,24 +1237,24 @@ const ie = e.object({
|
|
|
1184
1237
|
WARNING_DURING_LOGIN: "w",
|
|
1185
1238
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1186
1239
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1187
|
-
},
|
|
1188
|
-
(t) => Object.values(
|
|
1240
|
+
}, je = e.string().refine(
|
|
1241
|
+
(t) => Object.values(we).includes(t),
|
|
1189
1242
|
{ message: "Invalid log type" }
|
|
1190
|
-
),
|
|
1243
|
+
), ke = e.object({
|
|
1191
1244
|
name: e.string(),
|
|
1192
1245
|
version: e.string(),
|
|
1193
1246
|
env: e.object({
|
|
1194
1247
|
node: e.string().optional()
|
|
1195
1248
|
}).optional()
|
|
1196
|
-
}),
|
|
1249
|
+
}), Ue = e.object({
|
|
1197
1250
|
country_code: e.string().length(2),
|
|
1198
1251
|
city_name: e.string(),
|
|
1199
1252
|
latitude: e.string(),
|
|
1200
1253
|
longitude: e.string(),
|
|
1201
1254
|
time_zone: e.string(),
|
|
1202
1255
|
continent_code: e.string()
|
|
1203
|
-
}),
|
|
1204
|
-
type:
|
|
1256
|
+
}), Fe = e.object({
|
|
1257
|
+
type: je,
|
|
1205
1258
|
date: e.string(),
|
|
1206
1259
|
description: e.string().optional(),
|
|
1207
1260
|
ip: e.string().optional(),
|
|
@@ -1220,19 +1273,19 @@ const ie = e.object({
|
|
|
1220
1273
|
strategy: e.string().optional(),
|
|
1221
1274
|
strategy_type: e.string().optional(),
|
|
1222
1275
|
hostname: e.string().optional(),
|
|
1223
|
-
auth0_client:
|
|
1276
|
+
auth0_client: ke.optional(),
|
|
1224
1277
|
log_id: e.string().optional(),
|
|
1225
|
-
location_info:
|
|
1226
|
-
}),
|
|
1227
|
-
...
|
|
1278
|
+
location_info: Ue.optional()
|
|
1279
|
+
}), kt = e.object({
|
|
1280
|
+
...Fe.shape,
|
|
1228
1281
|
log_id: e.string()
|
|
1229
|
-
}),
|
|
1282
|
+
}), ve = e.object({
|
|
1230
1283
|
id: e.string().optional(),
|
|
1231
1284
|
user_id: e.string(),
|
|
1232
1285
|
password: e.string(),
|
|
1233
1286
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1234
1287
|
is_current: e.boolean().default(!0)
|
|
1235
|
-
}),
|
|
1288
|
+
}), Ut = ve.extend({
|
|
1236
1289
|
id: e.string(),
|
|
1237
1290
|
created_at: e.string(),
|
|
1238
1291
|
updated_at: e.string()
|
|
@@ -1243,7 +1296,7 @@ const ie = e.object({
|
|
|
1243
1296
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1244
1297
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1245
1298
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1246
|
-
}),
|
|
1299
|
+
}), xe = e.object({
|
|
1247
1300
|
id: e.string(),
|
|
1248
1301
|
revoked_at: e.string().optional(),
|
|
1249
1302
|
used_at: e.string().optional(),
|
|
@@ -1255,13 +1308,13 @@ const ie = e.object({
|
|
|
1255
1308
|
"Metadata related to the device used in the session"
|
|
1256
1309
|
),
|
|
1257
1310
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1258
|
-
}),
|
|
1311
|
+
}), Ft = e.object({
|
|
1259
1312
|
created_at: e.string(),
|
|
1260
1313
|
updated_at: e.string(),
|
|
1261
1314
|
authenticated_at: e.string(),
|
|
1262
1315
|
last_interaction_at: e.string(),
|
|
1263
|
-
...
|
|
1264
|
-
}),
|
|
1316
|
+
...xe.shape
|
|
1317
|
+
}), vt = e.object({
|
|
1265
1318
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1266
1319
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
1267
1320
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -1287,8 +1340,8 @@ const ie = e.object({
|
|
|
1287
1340
|
description: "The type of the signing key"
|
|
1288
1341
|
})
|
|
1289
1342
|
});
|
|
1290
|
-
var
|
|
1291
|
-
const
|
|
1343
|
+
var Pe = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(Pe || {});
|
|
1344
|
+
const xt = e.object({
|
|
1292
1345
|
access_token: e.string(),
|
|
1293
1346
|
id_token: e.string().optional(),
|
|
1294
1347
|
scope: e.string().optional(),
|
|
@@ -1301,7 +1354,7 @@ e.object({
|
|
|
1301
1354
|
code: e.string(),
|
|
1302
1355
|
state: e.string().optional()
|
|
1303
1356
|
});
|
|
1304
|
-
const
|
|
1357
|
+
const Me = e.object({
|
|
1305
1358
|
button_border_radius: e.number(),
|
|
1306
1359
|
button_border_weight: e.number(),
|
|
1307
1360
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -1311,7 +1364,7 @@ const Ue = e.object({
|
|
|
1311
1364
|
show_widget_shadow: e.boolean(),
|
|
1312
1365
|
widget_border_weight: e.number(),
|
|
1313
1366
|
widget_corner_radius: e.number()
|
|
1314
|
-
}),
|
|
1367
|
+
}), He = e.object({
|
|
1315
1368
|
base_focus_color: e.string(),
|
|
1316
1369
|
base_hover_color: e.string(),
|
|
1317
1370
|
body_text: e.string(),
|
|
@@ -1331,44 +1384,44 @@ const Ue = e.object({
|
|
|
1331
1384
|
success: e.string(),
|
|
1332
1385
|
widget_background: e.string(),
|
|
1333
1386
|
widget_border: e.string()
|
|
1334
|
-
}),
|
|
1387
|
+
}), s = e.object({
|
|
1335
1388
|
bold: e.boolean(),
|
|
1336
1389
|
size: e.number()
|
|
1337
|
-
}),
|
|
1338
|
-
body_text:
|
|
1339
|
-
buttons_text:
|
|
1390
|
+
}), Ge = e.object({
|
|
1391
|
+
body_text: s,
|
|
1392
|
+
buttons_text: s,
|
|
1340
1393
|
font_url: e.string(),
|
|
1341
|
-
input_labels:
|
|
1342
|
-
links:
|
|
1394
|
+
input_labels: s,
|
|
1395
|
+
links: s,
|
|
1343
1396
|
links_style: e.enum(["normal", "underlined"]),
|
|
1344
1397
|
reference_text_size: e.number(),
|
|
1345
|
-
subtitle:
|
|
1346
|
-
title:
|
|
1347
|
-
}),
|
|
1398
|
+
subtitle: s,
|
|
1399
|
+
title: s
|
|
1400
|
+
}), Ke = e.object({
|
|
1348
1401
|
background_color: e.string(),
|
|
1349
1402
|
background_image_url: e.string(),
|
|
1350
1403
|
page_layout: e.enum(["center", "left", "right"])
|
|
1351
|
-
}),
|
|
1404
|
+
}), Be = e.object({
|
|
1352
1405
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
1353
1406
|
logo_height: e.number(),
|
|
1354
1407
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
1355
1408
|
logo_url: e.string(),
|
|
1356
1409
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
1357
|
-
}),
|
|
1358
|
-
borders:
|
|
1359
|
-
colors:
|
|
1410
|
+
}), ze = e.object({
|
|
1411
|
+
borders: Me,
|
|
1412
|
+
colors: He,
|
|
1360
1413
|
displayName: e.string(),
|
|
1361
|
-
fonts:
|
|
1362
|
-
page_background:
|
|
1363
|
-
widget:
|
|
1364
|
-
}),
|
|
1414
|
+
fonts: Ge,
|
|
1415
|
+
page_background: Ke,
|
|
1416
|
+
widget: Be
|
|
1417
|
+
}), Pt = ze.extend({
|
|
1365
1418
|
themeId: e.string()
|
|
1366
|
-
}),
|
|
1419
|
+
}), Mt = e.object({
|
|
1367
1420
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
1368
1421
|
identifier_first: e.boolean().default(!0),
|
|
1369
1422
|
password_first: e.boolean().default(!1),
|
|
1370
1423
|
webauthn_platform_first_factor: e.boolean()
|
|
1371
|
-
}),
|
|
1424
|
+
}), Ht = e.object({
|
|
1372
1425
|
name: e.string(),
|
|
1373
1426
|
enabled: e.boolean().optional().default(!0),
|
|
1374
1427
|
default_from_address: e.string().optional(),
|
|
@@ -1398,7 +1451,7 @@ const Ue = e.object({
|
|
|
1398
1451
|
})
|
|
1399
1452
|
]),
|
|
1400
1453
|
settings: e.object({}).optional()
|
|
1401
|
-
}),
|
|
1454
|
+
}), We = e.object({
|
|
1402
1455
|
// The actual refresh token value (primary key).
|
|
1403
1456
|
id: e.string(),
|
|
1404
1457
|
// Link to the session record
|
|
@@ -1419,21 +1472,21 @@ const Ue = e.object({
|
|
|
1419
1472
|
})
|
|
1420
1473
|
),
|
|
1421
1474
|
rotating: e.boolean()
|
|
1422
|
-
}),
|
|
1475
|
+
}), Gt = e.object({
|
|
1423
1476
|
// When the refresh token record was created.
|
|
1424
1477
|
created_at: e.string(),
|
|
1425
1478
|
// Spread in the rest of the refresh token properties.
|
|
1426
|
-
...
|
|
1427
|
-
}),
|
|
1479
|
+
...We.shape
|
|
1480
|
+
}), Kt = e.object({
|
|
1428
1481
|
to: e.string(),
|
|
1429
1482
|
message: e.string()
|
|
1430
|
-
}),
|
|
1483
|
+
}), Bt = e.object({
|
|
1431
1484
|
name: e.string(),
|
|
1432
1485
|
options: e.object({})
|
|
1433
|
-
}),
|
|
1486
|
+
}), Xe = e.object({
|
|
1434
1487
|
value: e.string(),
|
|
1435
1488
|
description: e.string().optional()
|
|
1436
|
-
}),
|
|
1489
|
+
}), Ve = e.object({
|
|
1437
1490
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
1438
1491
|
enforce_policies: e.boolean().optional(),
|
|
1439
1492
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -1443,10 +1496,10 @@ const Ue = e.object({
|
|
|
1443
1496
|
mtls: e.object({
|
|
1444
1497
|
bound_access_tokens: e.boolean().optional()
|
|
1445
1498
|
}).optional()
|
|
1446
|
-
}),
|
|
1499
|
+
}), qe = e.object({
|
|
1447
1500
|
name: e.string(),
|
|
1448
1501
|
identifier: e.string(),
|
|
1449
|
-
scopes: e.array(
|
|
1502
|
+
scopes: e.array(Xe).optional(),
|
|
1450
1503
|
signing_alg: e.string().optional(),
|
|
1451
1504
|
signing_secret: e.string().optional(),
|
|
1452
1505
|
token_lifetime: e.number().optional(),
|
|
@@ -1454,29 +1507,29 @@ const Ue = e.object({
|
|
|
1454
1507
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
1455
1508
|
allow_offline_access: e.boolean().optional(),
|
|
1456
1509
|
verificationKey: e.string().optional(),
|
|
1457
|
-
options:
|
|
1458
|
-
}),
|
|
1510
|
+
options: Ve.optional()
|
|
1511
|
+
}), Ye = e.object({
|
|
1459
1512
|
id: e.string().optional(),
|
|
1460
|
-
...
|
|
1513
|
+
...qe.shape,
|
|
1461
1514
|
created_at: e.string().optional(),
|
|
1462
1515
|
updated_at: e.string().optional()
|
|
1463
|
-
}),
|
|
1516
|
+
}), zt = e.array(Ye), Qe = e.object({
|
|
1464
1517
|
role_id: e.string(),
|
|
1465
1518
|
resource_server_identifier: e.string(),
|
|
1466
1519
|
permission_name: e.string()
|
|
1467
|
-
}),
|
|
1468
|
-
...
|
|
1520
|
+
}), Je = e.object({
|
|
1521
|
+
...Qe.shape,
|
|
1469
1522
|
created_at: e.string()
|
|
1470
|
-
}),
|
|
1523
|
+
}), Wt = e.array(Je), Ze = e.object({
|
|
1471
1524
|
user_id: e.string(),
|
|
1472
1525
|
resource_server_identifier: e.string(),
|
|
1473
1526
|
permission_name: e.string(),
|
|
1474
1527
|
organization_id: e.string().optional()
|
|
1475
|
-
}),
|
|
1476
|
-
...
|
|
1528
|
+
}), $e = e.object({
|
|
1529
|
+
...Ze.shape,
|
|
1477
1530
|
tenant_id: e.string(),
|
|
1478
1531
|
created_at: e.string().optional()
|
|
1479
|
-
}),
|
|
1532
|
+
}), Xt = e.array($e), et = e.object({
|
|
1480
1533
|
user_id: e.string(),
|
|
1481
1534
|
resource_server_identifier: e.string(),
|
|
1482
1535
|
resource_server_name: e.string(),
|
|
@@ -1484,31 +1537,31 @@ const Ue = e.object({
|
|
|
1484
1537
|
description: e.string().nullable().optional(),
|
|
1485
1538
|
created_at: e.string().optional(),
|
|
1486
1539
|
organization_id: e.string().optional()
|
|
1487
|
-
}),
|
|
1488
|
-
|
|
1489
|
-
),
|
|
1540
|
+
}), Vt = e.array(
|
|
1541
|
+
et
|
|
1542
|
+
), tt = e.object({
|
|
1490
1543
|
user_id: e.string(),
|
|
1491
1544
|
role_id: e.string(),
|
|
1492
1545
|
organization_id: e.string().optional()
|
|
1493
|
-
}),
|
|
1494
|
-
...
|
|
1546
|
+
}), ot = e.object({
|
|
1547
|
+
...tt.shape,
|
|
1495
1548
|
tenant_id: e.string(),
|
|
1496
1549
|
created_at: e.string().optional()
|
|
1497
|
-
}),
|
|
1550
|
+
}), qt = e.array(ot), nt = e.object({
|
|
1498
1551
|
name: e.string().min(1).max(50).openapi({
|
|
1499
1552
|
description: "The name of the role. Cannot include '<' or '>'"
|
|
1500
1553
|
}),
|
|
1501
1554
|
description: e.string().max(255).optional().openapi({
|
|
1502
1555
|
description: "The description of the role"
|
|
1503
1556
|
})
|
|
1504
|
-
}),
|
|
1557
|
+
}), it = e.object({
|
|
1505
1558
|
id: e.string().openapi({
|
|
1506
1559
|
description: "The unique identifier of the role"
|
|
1507
1560
|
}),
|
|
1508
|
-
...
|
|
1561
|
+
...nt.shape,
|
|
1509
1562
|
created_at: e.string().optional(),
|
|
1510
1563
|
updated_at: e.string().optional()
|
|
1511
|
-
}),
|
|
1564
|
+
}), Yt = e.array(it), at = e.object({
|
|
1512
1565
|
logo_url: e.string().optional().openapi({
|
|
1513
1566
|
description: "URL of the organization's logo"
|
|
1514
1567
|
}),
|
|
@@ -1520,7 +1573,7 @@ const Ue = e.object({
|
|
|
1520
1573
|
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
1521
1574
|
})
|
|
1522
1575
|
}).optional()
|
|
1523
|
-
}).optional(),
|
|
1576
|
+
}).optional(), st = e.object({
|
|
1524
1577
|
connection_id: e.string().openapi({
|
|
1525
1578
|
description: "ID of the connection"
|
|
1526
1579
|
}),
|
|
@@ -1533,7 +1586,7 @@ const Ue = e.object({
|
|
|
1533
1586
|
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
1534
1587
|
description: "Whether signup is enabled for this connection"
|
|
1535
1588
|
})
|
|
1536
|
-
}),
|
|
1589
|
+
}), rt = e.object({
|
|
1537
1590
|
client_credentials: e.object({
|
|
1538
1591
|
enforce: e.boolean().default(!1).openapi({
|
|
1539
1592
|
description: "Whether to enforce token quota limits"
|
|
@@ -1545,7 +1598,7 @@ const Ue = e.object({
|
|
|
1545
1598
|
description: "Maximum tokens per hour (0 = unlimited)"
|
|
1546
1599
|
})
|
|
1547
1600
|
}).optional()
|
|
1548
|
-
}).optional(),
|
|
1601
|
+
}).optional(), lt = e.object({
|
|
1549
1602
|
id: e.string().optional(),
|
|
1550
1603
|
name: e.string().min(1).openapi({
|
|
1551
1604
|
description: "The name of the organization"
|
|
@@ -1553,30 +1606,30 @@ const Ue = e.object({
|
|
|
1553
1606
|
display_name: e.string().optional().openapi({
|
|
1554
1607
|
description: "The display name of the organization"
|
|
1555
1608
|
}),
|
|
1556
|
-
branding:
|
|
1609
|
+
branding: at,
|
|
1557
1610
|
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
1558
1611
|
description: "Custom metadata for the organization"
|
|
1559
1612
|
}),
|
|
1560
|
-
enabled_connections: e.array(
|
|
1613
|
+
enabled_connections: e.array(st).default([]).optional().openapi({
|
|
1561
1614
|
description: "List of enabled connections for the organization"
|
|
1562
1615
|
}),
|
|
1563
|
-
token_quota:
|
|
1564
|
-
}),
|
|
1565
|
-
...
|
|
1566
|
-
...
|
|
1616
|
+
token_quota: rt
|
|
1617
|
+
}), Qt = e.object({
|
|
1618
|
+
...lt.shape,
|
|
1619
|
+
...i.shape,
|
|
1567
1620
|
id: e.string()
|
|
1568
|
-
}),
|
|
1621
|
+
}), ct = e.object({
|
|
1569
1622
|
user_id: e.string().openapi({
|
|
1570
1623
|
description: "ID of the user"
|
|
1571
1624
|
}),
|
|
1572
1625
|
organization_id: e.string().openapi({
|
|
1573
1626
|
description: "ID of the organization"
|
|
1574
1627
|
})
|
|
1575
|
-
}),
|
|
1576
|
-
...
|
|
1577
|
-
...
|
|
1628
|
+
}), Jt = e.object({
|
|
1629
|
+
...ct.shape,
|
|
1630
|
+
...i.shape,
|
|
1578
1631
|
id: e.string()
|
|
1579
|
-
}),
|
|
1632
|
+
}), Zt = e.object({
|
|
1580
1633
|
// Session settings
|
|
1581
1634
|
idle_session_lifetime: e.number().optional(),
|
|
1582
1635
|
session_lifetime: e.number().optional(),
|
|
@@ -1645,7 +1698,7 @@ const Ue = e.object({
|
|
|
1645
1698
|
sessions: e.object({
|
|
1646
1699
|
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
1647
1700
|
}).optional()
|
|
1648
|
-
}),
|
|
1701
|
+
}), $t = e.object({
|
|
1649
1702
|
date: e.string().openapi({
|
|
1650
1703
|
description: "Date these events occurred in ISO 8601 format",
|
|
1651
1704
|
example: "2025-12-19"
|
|
@@ -1670,20 +1723,20 @@ const Ue = e.object({
|
|
|
1670
1723
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
1671
1724
|
example: "2025-12-19T00:00:00.000Z"
|
|
1672
1725
|
})
|
|
1673
|
-
}),
|
|
1726
|
+
}), eo = e.number().openapi({
|
|
1674
1727
|
description: "Number of active users in the last 30 days",
|
|
1675
1728
|
example: 1234
|
|
1676
1729
|
});
|
|
1677
|
-
function
|
|
1678
|
-
const [n,
|
|
1679
|
-
if (!n || !
|
|
1730
|
+
function to(t) {
|
|
1731
|
+
const [n, a] = t.split("|");
|
|
1732
|
+
if (!n || !a)
|
|
1680
1733
|
throw new Error(`Invalid user_id: ${t}`);
|
|
1681
|
-
return { connection: n, id:
|
|
1734
|
+
return { connection: n, id: a };
|
|
1682
1735
|
}
|
|
1683
|
-
function
|
|
1736
|
+
function oo(t) {
|
|
1684
1737
|
const {
|
|
1685
1738
|
primary: n,
|
|
1686
|
-
secondaries:
|
|
1739
|
+
secondaries: a,
|
|
1687
1740
|
syncMethods: L = ["create", "update", "remove", "delete", "set"]
|
|
1688
1741
|
} = t, D = {
|
|
1689
1742
|
get(_, o) {
|
|
@@ -1692,7 +1745,7 @@ function Vt(t) {
|
|
|
1692
1745
|
const p = _[o];
|
|
1693
1746
|
return typeof p != "function" ? p : L.includes(o) ? async (...u) => {
|
|
1694
1747
|
const w = await p.apply(_, u), m = [];
|
|
1695
|
-
for (const r of
|
|
1748
|
+
for (const r of a) {
|
|
1696
1749
|
const h = r.adapter[o];
|
|
1697
1750
|
if (typeof h != "function")
|
|
1698
1751
|
continue;
|
|
@@ -1721,131 +1774,140 @@ function Vt(t) {
|
|
|
1721
1774
|
};
|
|
1722
1775
|
return new Proxy(n, D);
|
|
1723
1776
|
}
|
|
1724
|
-
function
|
|
1777
|
+
function no(t) {
|
|
1725
1778
|
return t;
|
|
1726
1779
|
}
|
|
1727
1780
|
export {
|
|
1728
|
-
|
|
1781
|
+
dt as Auth0ActionEnum,
|
|
1782
|
+
ke as Auth0Client,
|
|
1729
1783
|
C as AuthorizationResponseMode,
|
|
1730
1784
|
I as AuthorizationResponseType,
|
|
1731
1785
|
O as CodeChallengeMethod,
|
|
1732
1786
|
A as ComponentCategory,
|
|
1733
1787
|
S as ComponentType,
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1788
|
+
gt as EmailActionEnum,
|
|
1789
|
+
pt as FlowActionTypeEnum,
|
|
1790
|
+
Pe as GrantType,
|
|
1791
|
+
Ue as LocationInfo,
|
|
1792
|
+
we as LogTypes,
|
|
1793
|
+
te as NodeType,
|
|
1794
|
+
eo as activeUsersResponseSchema,
|
|
1795
|
+
St as auth0FlowInsertSchema,
|
|
1796
|
+
le as auth0FlowSchema,
|
|
1797
|
+
mt as auth0QuerySchema,
|
|
1798
|
+
F as auth0UpdateUserActionSchema,
|
|
1799
|
+
bt as auth0UserResponseSchema,
|
|
1800
|
+
ce as authParamsSchema,
|
|
1744
1801
|
E as baseUserSchema,
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1802
|
+
Me as bordersSchema,
|
|
1803
|
+
At as brandingSchema,
|
|
1804
|
+
Q as buttonComponentSchema,
|
|
1805
|
+
V as clientGrantInsertSchema,
|
|
1806
|
+
Et as clientGrantListSchema,
|
|
1807
|
+
q as clientGrantSchema,
|
|
1808
|
+
W as clientInsertSchema,
|
|
1809
|
+
X as clientSchema,
|
|
1810
|
+
he as codeInsertSchema,
|
|
1811
|
+
Ct as codeSchema,
|
|
1812
|
+
me as codeTypeSchema,
|
|
1813
|
+
He as colorsSchema,
|
|
1814
|
+
ee as componentSchema,
|
|
1815
|
+
pe as connectionInsertSchema,
|
|
1816
|
+
_e as connectionOptionsSchema,
|
|
1817
|
+
de as connectionSchema,
|
|
1761
1818
|
c as coordinatesSchema,
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1819
|
+
oo as createPassthroughAdapter,
|
|
1820
|
+
no as createWriteOnlyAdapter,
|
|
1821
|
+
be as customDomainInsertSchema,
|
|
1822
|
+
Ee as customDomainSchema,
|
|
1823
|
+
Ot as customDomainWithTenantIdSchema,
|
|
1824
|
+
$t as dailyStatsSchema,
|
|
1825
|
+
Ht as emailProviderSchema,
|
|
1826
|
+
U as emailVerificationRulesSchema,
|
|
1827
|
+
v as emailVerifyActionSchema,
|
|
1828
|
+
re as endingSchema,
|
|
1829
|
+
Z as fieldComponentSchema,
|
|
1830
|
+
x as flowActionStepSchema,
|
|
1831
|
+
P as flowInsertSchema,
|
|
1832
|
+
ne as flowNodeSchema,
|
|
1833
|
+
ut as flowSchema,
|
|
1834
|
+
s as fontDetailsSchema,
|
|
1835
|
+
Ge as fontsSchema,
|
|
1836
|
+
yt as formControlSchema,
|
|
1837
|
+
Ae as formInsertSchema,
|
|
1838
|
+
Se as formNodeComponentDefinition,
|
|
1839
|
+
Tt as formSchema,
|
|
1840
|
+
$ as genericComponentSchema,
|
|
1841
|
+
ie as genericNodeSchema,
|
|
1842
|
+
Nt as hookInsertSchema,
|
|
1843
|
+
Rt as hookSchema,
|
|
1844
|
+
H as identitySchema,
|
|
1845
|
+
Re as inviteInsertSchema,
|
|
1846
|
+
Lt as inviteSchema,
|
|
1847
|
+
Ne as inviteeSchema,
|
|
1848
|
+
Te as inviterSchema,
|
|
1849
|
+
Dt as jwksKeySchema,
|
|
1850
|
+
Le as jwksSchema,
|
|
1851
|
+
It as legacyClientSchema,
|
|
1852
|
+
J as legalComponentSchema,
|
|
1853
|
+
Fe as logInsertSchema,
|
|
1854
|
+
kt as logSchema,
|
|
1855
|
+
De as loginSessionInsertSchema,
|
|
1856
|
+
jt as loginSessionSchema,
|
|
1857
|
+
ae as nodeSchema,
|
|
1858
|
+
wt as openIDConfigurationSchema,
|
|
1859
|
+
at as organizationBrandingSchema,
|
|
1860
|
+
st as organizationEnabledConnectionSchema,
|
|
1861
|
+
lt as organizationInsertSchema,
|
|
1862
|
+
Qt as organizationSchema,
|
|
1863
|
+
rt as organizationTokenQuotaSchema,
|
|
1864
|
+
Ke as pageBackgroundSchema,
|
|
1865
|
+
to as parseUserId,
|
|
1866
|
+
ve as passwordInsertSchema,
|
|
1867
|
+
Ut as passwordSchema,
|
|
1868
|
+
M as profileDataSchema,
|
|
1869
|
+
Mt as promptSettingSchema,
|
|
1870
|
+
We as refreshTokenInsertSchema,
|
|
1871
|
+
Gt as refreshTokenSchema,
|
|
1872
|
+
qe as resourceServerInsertSchema,
|
|
1873
|
+
zt as resourceServerListSchema,
|
|
1874
|
+
Ve as resourceServerOptionsSchema,
|
|
1875
|
+
Ye as resourceServerSchema,
|
|
1876
|
+
Xe as resourceServerScopeSchema,
|
|
1877
|
+
Y as richTextComponentSchema,
|
|
1878
|
+
nt as roleInsertSchema,
|
|
1879
|
+
Yt as roleListSchema,
|
|
1880
|
+
Qe as rolePermissionInsertSchema,
|
|
1881
|
+
Wt as rolePermissionListSchema,
|
|
1882
|
+
Je as rolePermissionSchema,
|
|
1883
|
+
it as roleSchema,
|
|
1884
|
+
xe as sessionInsertSchema,
|
|
1885
|
+
Ft as sessionSchema,
|
|
1886
|
+
vt as signingKeySchema,
|
|
1887
|
+
Bt as smsProviderSchema,
|
|
1888
|
+
Kt as smsSendParamsSchema,
|
|
1889
|
+
se as startSchema,
|
|
1890
|
+
oe as stepNodeSchema,
|
|
1891
|
+
ge as tenantInsertSchema,
|
|
1892
|
+
ue as tenantSchema,
|
|
1893
|
+
Zt as tenantSettingsSchema,
|
|
1894
|
+
ze as themeInsertSchema,
|
|
1895
|
+
Pt as themeSchema,
|
|
1896
|
+
xt as tokenResponseSchema,
|
|
1897
|
+
ht as totalsSchema,
|
|
1898
|
+
G as userInsertSchema,
|
|
1899
|
+
ct as userOrganizationInsertSchema,
|
|
1900
|
+
Jt as userOrganizationSchema,
|
|
1901
|
+
Ze as userPermissionInsertSchema,
|
|
1902
|
+
Xt as userPermissionListSchema,
|
|
1903
|
+
$e as userPermissionSchema,
|
|
1904
|
+
Vt as userPermissionWithDetailsListSchema,
|
|
1905
|
+
et as userPermissionWithDetailsSchema,
|
|
1906
|
+
ft as userResponseSchema,
|
|
1907
|
+
tt as userRoleInsertSchema,
|
|
1908
|
+
qt as userRoleListSchema,
|
|
1909
|
+
ot as userRoleSchema,
|
|
1910
|
+
K as userSchema,
|
|
1911
|
+
fe as verificationMethodsSchema,
|
|
1912
|
+
Be as widgetSchema
|
|
1851
1913
|
};
|