@authhero/adapter-interfaces 0.118.0 → 0.119.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 +45 -6
- package/dist/adapter-interfaces.mjs +414 -402
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { z as e } from "@hono/zod-openapi";
|
|
2
|
-
const
|
|
2
|
+
const r = e.object({
|
|
3
3
|
created_at: e.string(),
|
|
4
4
|
updated_at: e.string()
|
|
5
|
-
}),
|
|
5
|
+
}), eo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), to = e.enum([
|
|
6
6
|
"CREATE_USER",
|
|
7
7
|
"GET_USER",
|
|
8
8
|
"UPDATE_USER",
|
|
9
9
|
"SEND_REQUEST",
|
|
10
10
|
"SEND_EMAIL"
|
|
11
|
-
]),
|
|
11
|
+
]), oo = e.enum(["VERIFY_EMAIL"]), P = e.object({
|
|
12
12
|
require_mx_record: e.boolean().optional(),
|
|
13
13
|
block_aliases: e.boolean().optional(),
|
|
14
14
|
block_free_emails: e.boolean().optional(),
|
|
15
15
|
block_disposable_emails: e.boolean().optional(),
|
|
16
16
|
blocklist: e.array(e.string()).optional(),
|
|
17
17
|
allowlist: e.array(e.string()).optional()
|
|
18
|
-
}),
|
|
18
|
+
}), M = e.object({
|
|
19
19
|
id: e.string(),
|
|
20
20
|
alias: e.string().max(100).optional(),
|
|
21
21
|
type: e.literal("AUTH0"),
|
|
@@ -27,7 +27,7 @@ const s = e.object({
|
|
|
27
27
|
user_id: e.string(),
|
|
28
28
|
changes: e.record(e.string(), e.any())
|
|
29
29
|
})
|
|
30
|
-
}),
|
|
30
|
+
}), H = e.object({
|
|
31
31
|
id: e.string(),
|
|
32
32
|
alias: e.string().max(100).optional(),
|
|
33
33
|
type: e.literal("EMAIL"),
|
|
@@ -36,9 +36,9 @@ const s = e.object({
|
|
|
36
36
|
mask_output: e.boolean().optional(),
|
|
37
37
|
params: e.object({
|
|
38
38
|
email: e.string(),
|
|
39
|
-
rules:
|
|
39
|
+
rules: P.optional()
|
|
40
40
|
})
|
|
41
|
-
}),
|
|
41
|
+
}), G = e.enum(["change-email", "account", "custom"]), B = e.object({
|
|
42
42
|
id: e.string(),
|
|
43
43
|
alias: e.string().max(100).optional(),
|
|
44
44
|
type: e.literal("REDIRECT"),
|
|
@@ -46,32 +46,32 @@ const s = e.object({
|
|
|
46
46
|
allow_failure: e.boolean().optional(),
|
|
47
47
|
mask_output: e.boolean().optional(),
|
|
48
48
|
params: e.object({
|
|
49
|
-
target:
|
|
49
|
+
target: G.openapi({
|
|
50
50
|
description: "The predefined target to redirect to, or 'custom' for a custom URL"
|
|
51
51
|
}),
|
|
52
52
|
custom_url: e.string().optional().openapi({
|
|
53
53
|
description: "Custom URL to redirect to when target is 'custom'"
|
|
54
54
|
})
|
|
55
55
|
})
|
|
56
|
-
}),
|
|
57
|
-
P,
|
|
56
|
+
}), K = e.union([
|
|
58
57
|
M,
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
H,
|
|
59
|
+
B
|
|
60
|
+
]), W = e.object({
|
|
61
61
|
name: e.string().min(1).max(150).openapi({
|
|
62
62
|
description: "The name of the flow"
|
|
63
63
|
}),
|
|
64
64
|
// Actions is an array of action steps (Auth0 stores as JSON blob)
|
|
65
|
-
actions: e.array(
|
|
65
|
+
actions: e.array(K).optional().default([]).openapi({
|
|
66
66
|
description: "The list of actions to execute in sequence"
|
|
67
67
|
})
|
|
68
|
-
}),
|
|
69
|
-
...
|
|
68
|
+
}), no = W.extend({
|
|
69
|
+
...r.shape,
|
|
70
70
|
id: e.string().openapi({
|
|
71
71
|
description: "Unique identifier for the flow",
|
|
72
72
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
73
73
|
})
|
|
74
|
-
}),
|
|
74
|
+
}), io = e.object({
|
|
75
75
|
page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
|
|
76
76
|
description: "The page number where 0 is the first page"
|
|
77
77
|
}),
|
|
@@ -87,7 +87,7 @@ const s = e.object({
|
|
|
87
87
|
q: e.string().optional().openapi({
|
|
88
88
|
description: "A lucene query string used to filter the results"
|
|
89
89
|
})
|
|
90
|
-
}),
|
|
90
|
+
}), ao = e.object({
|
|
91
91
|
start: e.number(),
|
|
92
92
|
limit: e.number(),
|
|
93
93
|
length: e.number(),
|
|
@@ -101,7 +101,7 @@ const s = e.object({
|
|
|
101
101
|
phone_number: e.string().optional(),
|
|
102
102
|
phone_verified: e.boolean().optional(),
|
|
103
103
|
family_name: e.string().optional()
|
|
104
|
-
}).catchall(e.any()),
|
|
104
|
+
}).catchall(e.any()), X = e.object({
|
|
105
105
|
connection: e.string(),
|
|
106
106
|
user_id: e.string(),
|
|
107
107
|
provider: e.string(),
|
|
@@ -125,7 +125,7 @@ const s = e.object({
|
|
|
125
125
|
user_id: e.string().optional(),
|
|
126
126
|
app_metadata: e.any().default({}).optional(),
|
|
127
127
|
user_metadata: e.any().default({}).optional()
|
|
128
|
-
}),
|
|
128
|
+
}), V = I.extend({
|
|
129
129
|
email_verified: e.boolean().default(!1),
|
|
130
130
|
verify_email: e.boolean().optional(),
|
|
131
131
|
last_ip: e.string().optional(),
|
|
@@ -134,29 +134,29 @@ const s = e.object({
|
|
|
134
134
|
provider: e.string().optional(),
|
|
135
135
|
connection: e.string(),
|
|
136
136
|
is_social: e.boolean().optional()
|
|
137
|
-
}),
|
|
138
|
-
...
|
|
139
|
-
...
|
|
137
|
+
}), q = e.object({
|
|
138
|
+
...V.shape,
|
|
139
|
+
...r.shape,
|
|
140
140
|
user_id: e.string(),
|
|
141
141
|
provider: e.string(),
|
|
142
142
|
is_social: e.boolean(),
|
|
143
143
|
email: e.string().optional(),
|
|
144
144
|
login_count: e.number().default(0),
|
|
145
|
-
identities: e.array(
|
|
146
|
-
}),
|
|
145
|
+
identities: e.array(X).optional()
|
|
146
|
+
}), ro = q, so = I.extend({
|
|
147
147
|
login_count: e.number(),
|
|
148
148
|
multifactor: e.array(e.string()).optional(),
|
|
149
149
|
last_ip: e.string().optional(),
|
|
150
150
|
last_login: e.string().optional(),
|
|
151
151
|
user_id: e.string()
|
|
152
|
-
}).catchall(e.any()),
|
|
153
|
-
let
|
|
154
|
-
let a = "",
|
|
152
|
+
}).catchall(e.any()), Y = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
153
|
+
let Q = (t = 21) => {
|
|
154
|
+
let a = "", s = crypto.getRandomValues(new Uint8Array(t |= 0));
|
|
155
155
|
for (; t--; )
|
|
156
|
-
a +=
|
|
156
|
+
a += Y[s[t] & 63];
|
|
157
157
|
return a;
|
|
158
158
|
};
|
|
159
|
-
const
|
|
159
|
+
const J = e.object({
|
|
160
160
|
client_id: e.string().openapi({
|
|
161
161
|
description: "ID of this client."
|
|
162
162
|
}),
|
|
@@ -169,7 +169,7 @@ const Q = e.object({
|
|
|
169
169
|
global: e.boolean().default(!1).openapi({
|
|
170
170
|
description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
|
|
171
171
|
}),
|
|
172
|
-
client_secret: e.string().default(() =>
|
|
172
|
+
client_secret: e.string().default(() => Q()).optional().openapi({
|
|
173
173
|
description: "Client secret (which you must not make public)."
|
|
174
174
|
}),
|
|
175
175
|
app_type: e.enum([
|
|
@@ -326,11 +326,11 @@ const Q = e.object({
|
|
|
326
326
|
description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
|
|
327
327
|
}),
|
|
328
328
|
token_quota: e.record(e.any()).default({}).optional()
|
|
329
|
-
}),
|
|
329
|
+
}), Z = e.object({
|
|
330
330
|
created_at: e.string(),
|
|
331
331
|
updated_at: e.string(),
|
|
332
|
-
...
|
|
333
|
-
}),
|
|
332
|
+
...J.shape
|
|
333
|
+
}), $ = e.object({
|
|
334
334
|
client_id: e.string().min(1).openapi({
|
|
335
335
|
description: "ID of the client."
|
|
336
336
|
}),
|
|
@@ -355,14 +355,14 @@ const Q = e.object({
|
|
|
355
355
|
authorization_details_types: e.array(e.string()).optional().openapi({
|
|
356
356
|
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."
|
|
357
357
|
})
|
|
358
|
-
}),
|
|
358
|
+
}), ee = e.object({
|
|
359
359
|
id: e.string().openapi({
|
|
360
360
|
description: "ID of the client grant."
|
|
361
361
|
}),
|
|
362
|
-
|
|
362
|
+
...$.shape,
|
|
363
363
|
created_at: e.string().optional(),
|
|
364
364
|
updated_at: e.string().optional()
|
|
365
|
-
}),
|
|
365
|
+
}), lo = e.array(ee), c = e.object({
|
|
366
366
|
x: e.number(),
|
|
367
367
|
y: e.number()
|
|
368
368
|
});
|
|
@@ -371,7 +371,7 @@ const u = e.object({
|
|
|
371
371
|
id: e.string(),
|
|
372
372
|
category: e.nativeEnum(y),
|
|
373
373
|
type: e.nativeEnum(C)
|
|
374
|
-
}),
|
|
374
|
+
}), te = u.extend({
|
|
375
375
|
category: e.literal(
|
|
376
376
|
"BLOCK"
|
|
377
377
|
/* BLOCK */
|
|
@@ -383,7 +383,7 @@ const u = e.object({
|
|
|
383
383
|
config: e.object({
|
|
384
384
|
content: e.string()
|
|
385
385
|
}).passthrough()
|
|
386
|
-
}),
|
|
386
|
+
}), oe = u.extend({
|
|
387
387
|
category: e.literal(
|
|
388
388
|
"BLOCK"
|
|
389
389
|
/* BLOCK */
|
|
@@ -405,7 +405,7 @@ const u = e.object({
|
|
|
405
405
|
config: e.object({
|
|
406
406
|
text: e.string()
|
|
407
407
|
}).passthrough()
|
|
408
|
-
}),
|
|
408
|
+
}), ne = u.extend({
|
|
409
409
|
category: e.literal(
|
|
410
410
|
"FIELD"
|
|
411
411
|
/* FIELD */
|
|
@@ -419,7 +419,7 @@ const u = e.object({
|
|
|
419
419
|
config: e.object({
|
|
420
420
|
text: e.string()
|
|
421
421
|
}).passthrough()
|
|
422
|
-
}),
|
|
422
|
+
}), ie = u.extend({
|
|
423
423
|
category: e.literal(
|
|
424
424
|
"FIELD"
|
|
425
425
|
/* FIELD */
|
|
@@ -472,19 +472,19 @@ const u = e.object({
|
|
|
472
472
|
label: e.string().optional(),
|
|
473
473
|
placeholder: e.string().optional()
|
|
474
474
|
}).passthrough()
|
|
475
|
-
}),
|
|
475
|
+
}), ae = e.object({
|
|
476
476
|
id: e.string(),
|
|
477
477
|
category: e.string(),
|
|
478
478
|
type: e.string()
|
|
479
|
-
}).passthrough(),
|
|
480
|
-
ee,
|
|
479
|
+
}).passthrough(), re = e.union([
|
|
481
480
|
te,
|
|
482
481
|
oe,
|
|
483
482
|
ne,
|
|
484
|
-
ie
|
|
483
|
+
ie,
|
|
484
|
+
ae
|
|
485
485
|
]);
|
|
486
486
|
var se = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(se || {});
|
|
487
|
-
const
|
|
487
|
+
const le = e.object({
|
|
488
488
|
id: e.string(),
|
|
489
489
|
type: e.literal(
|
|
490
490
|
"STEP"
|
|
@@ -493,10 +493,10 @@ const re = e.object({
|
|
|
493
493
|
coordinates: c,
|
|
494
494
|
alias: e.string().optional(),
|
|
495
495
|
config: e.object({
|
|
496
|
-
components: e.array(
|
|
496
|
+
components: e.array(re),
|
|
497
497
|
next_node: e.string()
|
|
498
498
|
}).passthrough()
|
|
499
|
-
}),
|
|
499
|
+
}), ce = e.object({
|
|
500
500
|
id: e.string(),
|
|
501
501
|
type: e.literal(
|
|
502
502
|
"FLOW"
|
|
@@ -508,7 +508,7 @@ const re = e.object({
|
|
|
508
508
|
flow_id: e.string(),
|
|
509
509
|
next_node: e.string()
|
|
510
510
|
})
|
|
511
|
-
}),
|
|
511
|
+
}), pe = e.object({
|
|
512
512
|
id: e.string(),
|
|
513
513
|
type: e.literal(
|
|
514
514
|
"ACTION"
|
|
@@ -530,47 +530,47 @@ const re = e.object({
|
|
|
530
530
|
description: "The next node to navigate to after action (for non-redirect actions)"
|
|
531
531
|
})
|
|
532
532
|
}).passthrough()
|
|
533
|
-
}),
|
|
533
|
+
}), _e = e.object({
|
|
534
534
|
id: e.string(),
|
|
535
535
|
type: e.string(),
|
|
536
536
|
coordinates: c
|
|
537
|
-
}).passthrough(),
|
|
538
|
-
re,
|
|
537
|
+
}).passthrough(), de = e.union([
|
|
539
538
|
le,
|
|
540
539
|
ce,
|
|
541
|
-
pe
|
|
542
|
-
|
|
540
|
+
pe,
|
|
541
|
+
_e
|
|
542
|
+
]), ge = e.object({
|
|
543
543
|
next_node: e.string(),
|
|
544
544
|
coordinates: c
|
|
545
|
-
}).passthrough(),
|
|
545
|
+
}).passthrough(), ue = e.object({
|
|
546
546
|
resume_flow: e.boolean().optional(),
|
|
547
547
|
coordinates: c
|
|
548
|
-
}).passthrough(),
|
|
548
|
+
}).passthrough(), me = e.object({
|
|
549
549
|
id: e.string(),
|
|
550
550
|
name: e.string(),
|
|
551
551
|
languages: e.object({
|
|
552
552
|
primary: e.string()
|
|
553
553
|
}).passthrough(),
|
|
554
|
-
nodes: e.array(
|
|
555
|
-
start:
|
|
556
|
-
ending:
|
|
554
|
+
nodes: e.array(de),
|
|
555
|
+
start: ge,
|
|
556
|
+
ending: ue,
|
|
557
557
|
created_at: e.string(),
|
|
558
558
|
updated_at: e.string(),
|
|
559
559
|
links: e.object({
|
|
560
560
|
sdkSrc: e.string().optional(),
|
|
561
561
|
sdk_src: e.string().optional()
|
|
562
562
|
}).passthrough()
|
|
563
|
-
}).passthrough(),
|
|
563
|
+
}).passthrough(), co = me.omit({
|
|
564
564
|
id: !0,
|
|
565
565
|
created_at: !0,
|
|
566
566
|
updated_at: !0
|
|
567
567
|
});
|
|
568
|
-
var
|
|
569
|
-
const
|
|
568
|
+
var T = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(T || {}), O = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(O || {}), N = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(N || {});
|
|
569
|
+
const he = e.object({
|
|
570
570
|
client_id: e.string(),
|
|
571
571
|
act_as: e.string().optional(),
|
|
572
|
-
response_type: e.nativeEnum(
|
|
573
|
-
response_mode: e.nativeEnum(
|
|
572
|
+
response_type: e.nativeEnum(T).optional(),
|
|
573
|
+
response_mode: e.nativeEnum(O).optional(),
|
|
574
574
|
redirect_uri: e.string().optional(),
|
|
575
575
|
audience: e.string().optional(),
|
|
576
576
|
organization: e.string().optional(),
|
|
@@ -584,7 +584,7 @@ const me = e.object({
|
|
|
584
584
|
ui_locales: e.string().optional(),
|
|
585
585
|
// The following fields are not available in Auth0
|
|
586
586
|
vendor_id: e.string().optional()
|
|
587
|
-
}),
|
|
587
|
+
}), po = e.object({
|
|
588
588
|
colors: e.object({
|
|
589
589
|
primary: e.string(),
|
|
590
590
|
page_background: e.object({
|
|
@@ -600,7 +600,7 @@ const me = e.object({
|
|
|
600
600
|
font: e.object({
|
|
601
601
|
url: e.string()
|
|
602
602
|
}).optional()
|
|
603
|
-
}),
|
|
603
|
+
}), be = e.object({
|
|
604
604
|
kid: e.string().optional(),
|
|
605
605
|
team_id: e.string().optional(),
|
|
606
606
|
realms: e.string().optional(),
|
|
@@ -620,12 +620,12 @@ const me = e.object({
|
|
|
620
620
|
twilio_sid: e.string().optional(),
|
|
621
621
|
twilio_token: e.string().optional(),
|
|
622
622
|
icon_url: e.string().optional()
|
|
623
|
-
}),
|
|
623
|
+
}), fe = e.object({
|
|
624
624
|
id: e.string().optional(),
|
|
625
625
|
name: e.string(),
|
|
626
626
|
display_name: e.string().optional(),
|
|
627
627
|
strategy: e.string(),
|
|
628
|
-
options:
|
|
628
|
+
options: be.default({}),
|
|
629
629
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
630
630
|
response_type: e.custom().optional(),
|
|
631
631
|
response_mode: e.custom().optional(),
|
|
@@ -633,11 +633,11 @@ const me = e.object({
|
|
|
633
633
|
show_as_button: e.boolean().optional(),
|
|
634
634
|
metadata: e.record(e.any()).optional(),
|
|
635
635
|
is_system: e.boolean().optional()
|
|
636
|
-
}),
|
|
636
|
+
}), Ee = e.object({
|
|
637
637
|
id: e.string(),
|
|
638
638
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
639
639
|
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
640
|
-
}).extend(
|
|
640
|
+
}).extend(fe.shape), Se = e.object({
|
|
641
641
|
id: e.string().optional(),
|
|
642
642
|
// Basic settings
|
|
643
643
|
audience: e.string(),
|
|
@@ -761,23 +761,23 @@ const me = e.object({
|
|
|
761
761
|
// Authorization settings
|
|
762
762
|
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
763
763
|
authorization_response_iss_parameter_supported: e.boolean().optional()
|
|
764
|
-
}),
|
|
764
|
+
}), Ae = e.object({
|
|
765
765
|
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
766
766
|
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
767
|
-
...
|
|
767
|
+
...Se.shape,
|
|
768
768
|
id: e.string()
|
|
769
|
-
}),
|
|
770
|
-
...
|
|
771
|
-
tenant:
|
|
772
|
-
connections: e.array(
|
|
773
|
-
}),
|
|
769
|
+
}), _o = e.object({
|
|
770
|
+
...Z.shape,
|
|
771
|
+
tenant: Ae,
|
|
772
|
+
connections: e.array(Ee)
|
|
773
|
+
}), Ie = e.enum([
|
|
774
774
|
"password_reset",
|
|
775
775
|
"email_verification",
|
|
776
776
|
"otp",
|
|
777
777
|
"authorization_code",
|
|
778
778
|
"oauth2_state",
|
|
779
779
|
"ticket"
|
|
780
|
-
]),
|
|
780
|
+
]), Ce = e.object({
|
|
781
781
|
code_id: e.string().openapi({
|
|
782
782
|
description: "The code that will be used in for instance an email verification flow"
|
|
783
783
|
}),
|
|
@@ -787,7 +787,7 @@ const me = e.object({
|
|
|
787
787
|
connection_id: e.string().optional().openapi({
|
|
788
788
|
description: "The connection that the code is connected to"
|
|
789
789
|
}),
|
|
790
|
-
code_type:
|
|
790
|
+
code_type: Ie,
|
|
791
791
|
code_verifier: e.string().optional().openapi({
|
|
792
792
|
description: "The code verifier used in PKCE in outbound flows"
|
|
793
793
|
}),
|
|
@@ -809,10 +809,10 @@ const me = e.object({
|
|
|
809
809
|
expires_at: e.string(),
|
|
810
810
|
used_at: e.string().optional(),
|
|
811
811
|
user_id: e.string().optional()
|
|
812
|
-
}),
|
|
813
|
-
...
|
|
812
|
+
}), go = e.object({
|
|
813
|
+
...Ce.shape,
|
|
814
814
|
created_at: e.string()
|
|
815
|
-
}),
|
|
815
|
+
}), ye = e.object({
|
|
816
816
|
domain: e.string(),
|
|
817
817
|
custom_domain_id: e.string().optional(),
|
|
818
818
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -826,21 +826,21 @@ const me = e.object({
|
|
|
826
826
|
"null"
|
|
827
827
|
]).optional(),
|
|
828
828
|
domain_metadata: e.record(e.string().max(255)).optional()
|
|
829
|
-
}),
|
|
829
|
+
}), Te = e.object({
|
|
830
830
|
name: e.literal("txt"),
|
|
831
831
|
record: e.string(),
|
|
832
832
|
domain: e.string()
|
|
833
833
|
}), Oe = e.object({
|
|
834
|
-
...
|
|
834
|
+
...ye.shape,
|
|
835
835
|
custom_domain_id: e.string(),
|
|
836
836
|
primary: e.boolean(),
|
|
837
837
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
838
838
|
origin_domain_name: e.string().optional(),
|
|
839
839
|
verification: e.object({
|
|
840
|
-
methods: e.array(
|
|
840
|
+
methods: e.array(Te)
|
|
841
841
|
}).optional(),
|
|
842
842
|
tls_policy: e.string().optional()
|
|
843
|
-
}),
|
|
843
|
+
}), uo = Oe.extend({
|
|
844
844
|
tenant_id: e.string()
|
|
845
845
|
}), f = e.object({
|
|
846
846
|
id: e.string(),
|
|
@@ -848,15 +848,15 @@ const me = e.object({
|
|
|
848
848
|
visible: e.boolean().optional().default(!0)
|
|
849
849
|
}), i = f.extend({
|
|
850
850
|
category: e.literal("BLOCK").optional()
|
|
851
|
-
}),
|
|
851
|
+
}), Ne = i.extend({
|
|
852
852
|
type: e.literal("DIVIDER"),
|
|
853
853
|
config: e.object({}).optional()
|
|
854
|
-
}),
|
|
854
|
+
}), Re = i.extend({
|
|
855
855
|
type: e.literal("HTML"),
|
|
856
856
|
config: e.object({
|
|
857
857
|
content: e.string().optional()
|
|
858
858
|
}).optional()
|
|
859
|
-
}),
|
|
859
|
+
}), De = i.extend({
|
|
860
860
|
type: e.literal("IMAGE"),
|
|
861
861
|
config: e.object({
|
|
862
862
|
src: e.string().optional(),
|
|
@@ -870,23 +870,23 @@ const me = e.object({
|
|
|
870
870
|
text: e.string().optional(),
|
|
871
871
|
target_step: e.string().optional()
|
|
872
872
|
})
|
|
873
|
-
}),
|
|
873
|
+
}), we = i.extend({
|
|
874
874
|
type: e.literal("RESEND_BUTTON"),
|
|
875
875
|
config: e.object({
|
|
876
876
|
text: e.string().optional(),
|
|
877
877
|
resend_action: e.string().optional()
|
|
878
878
|
})
|
|
879
|
-
}),
|
|
879
|
+
}), je = i.extend({
|
|
880
880
|
type: e.literal("NEXT_BUTTON"),
|
|
881
881
|
config: e.object({
|
|
882
882
|
text: e.string().optional()
|
|
883
883
|
})
|
|
884
|
-
}),
|
|
884
|
+
}), Ue = i.extend({
|
|
885
885
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
886
886
|
config: e.object({
|
|
887
887
|
text: e.string().optional()
|
|
888
888
|
})
|
|
889
|
-
}),
|
|
889
|
+
}), Fe = i.extend({
|
|
890
890
|
type: e.literal("RICH_TEXT"),
|
|
891
891
|
config: e.object({
|
|
892
892
|
content: e.string().optional()
|
|
@@ -897,17 +897,17 @@ const me = e.object({
|
|
|
897
897
|
hint: e.string().min(1).max(500).optional(),
|
|
898
898
|
required: e.boolean().optional(),
|
|
899
899
|
sensitive: e.boolean().optional()
|
|
900
|
-
}),
|
|
900
|
+
}), ke = E.extend({
|
|
901
901
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
902
902
|
config: e.object({
|
|
903
903
|
credential_type: e.string().optional()
|
|
904
904
|
})
|
|
905
|
-
}),
|
|
905
|
+
}), ve = E.extend({
|
|
906
906
|
type: e.literal("GMAPS_ADDRESS"),
|
|
907
907
|
config: e.object({
|
|
908
908
|
api_key: e.string().optional()
|
|
909
909
|
})
|
|
910
|
-
}),
|
|
910
|
+
}), xe = E.extend({
|
|
911
911
|
type: e.literal("RECAPTCHA"),
|
|
912
912
|
config: e.object({
|
|
913
913
|
site_key: e.string().optional()
|
|
@@ -918,12 +918,12 @@ const me = e.object({
|
|
|
918
918
|
hint: e.string().min(1).max(500).optional(),
|
|
919
919
|
required: e.boolean().optional(),
|
|
920
920
|
sensitive: e.boolean().optional()
|
|
921
|
-
}),
|
|
921
|
+
}), Pe = o.extend({
|
|
922
922
|
type: e.literal("BOOLEAN"),
|
|
923
923
|
config: e.object({
|
|
924
924
|
default_value: e.boolean().optional()
|
|
925
925
|
}).optional()
|
|
926
|
-
}),
|
|
926
|
+
}), Me = o.extend({
|
|
927
927
|
type: e.literal("CARDS"),
|
|
928
928
|
config: e.object({
|
|
929
929
|
options: e.array(
|
|
@@ -936,7 +936,7 @@ const me = e.object({
|
|
|
936
936
|
).optional(),
|
|
937
937
|
multi_select: e.boolean().optional()
|
|
938
938
|
}).optional()
|
|
939
|
-
}),
|
|
939
|
+
}), He = o.extend({
|
|
940
940
|
type: e.literal("CHOICE"),
|
|
941
941
|
config: e.object({
|
|
942
942
|
options: e.array(
|
|
@@ -947,20 +947,20 @@ const me = e.object({
|
|
|
947
947
|
).optional(),
|
|
948
948
|
display: e.enum(["radio", "checkbox"]).optional()
|
|
949
949
|
}).optional()
|
|
950
|
-
}),
|
|
950
|
+
}), Ge = o.extend({
|
|
951
951
|
type: e.literal("CUSTOM"),
|
|
952
952
|
config: e.object({
|
|
953
953
|
component: e.string().optional(),
|
|
954
954
|
props: e.record(e.any()).optional()
|
|
955
955
|
})
|
|
956
|
-
}),
|
|
956
|
+
}), Be = o.extend({
|
|
957
957
|
type: e.literal("DATE"),
|
|
958
958
|
config: e.object({
|
|
959
959
|
format: e.string().optional(),
|
|
960
960
|
min: e.string().optional(),
|
|
961
961
|
max: e.string().optional()
|
|
962
962
|
}).optional()
|
|
963
|
-
}),
|
|
963
|
+
}), Ke = o.extend({
|
|
964
964
|
type: e.literal("DROPDOWN"),
|
|
965
965
|
config: e.object({
|
|
966
966
|
options: e.array(
|
|
@@ -972,7 +972,7 @@ const me = e.object({
|
|
|
972
972
|
placeholder: e.string().optional(),
|
|
973
973
|
searchable: e.boolean().optional()
|
|
974
974
|
}).optional()
|
|
975
|
-
}),
|
|
975
|
+
}), We = o.extend({
|
|
976
976
|
type: e.literal("EMAIL"),
|
|
977
977
|
config: e.object({
|
|
978
978
|
placeholder: e.string().optional()
|
|
@@ -984,13 +984,13 @@ const me = e.object({
|
|
|
984
984
|
max_size: e.number().optional(),
|
|
985
985
|
multiple: e.boolean().optional()
|
|
986
986
|
}).optional()
|
|
987
|
-
}),
|
|
987
|
+
}), Xe = o.extend({
|
|
988
988
|
type: e.literal("LEGAL"),
|
|
989
989
|
config: e.object({
|
|
990
990
|
text: e.string(),
|
|
991
991
|
html: e.boolean().optional()
|
|
992
992
|
}).optional()
|
|
993
|
-
}),
|
|
993
|
+
}), Ve = o.extend({
|
|
994
994
|
type: e.literal("NUMBER"),
|
|
995
995
|
config: e.object({
|
|
996
996
|
placeholder: e.string().optional(),
|
|
@@ -998,7 +998,7 @@ const me = e.object({
|
|
|
998
998
|
max: e.number().optional(),
|
|
999
999
|
step: e.number().optional()
|
|
1000
1000
|
}).optional()
|
|
1001
|
-
}),
|
|
1001
|
+
}), qe = o.extend({
|
|
1002
1002
|
type: e.literal("PASSWORD"),
|
|
1003
1003
|
config: e.object({
|
|
1004
1004
|
placeholder: e.string().optional(),
|
|
@@ -1006,70 +1006,70 @@ const me = e.object({
|
|
|
1006
1006
|
show_toggle: e.boolean().optional(),
|
|
1007
1007
|
forgot_password_link: e.string().optional()
|
|
1008
1008
|
}).optional()
|
|
1009
|
-
}),
|
|
1009
|
+
}), Ye = o.extend({
|
|
1010
1010
|
type: e.literal("PAYMENT"),
|
|
1011
1011
|
config: e.object({
|
|
1012
1012
|
provider: e.string().optional(),
|
|
1013
1013
|
currency: e.string().optional()
|
|
1014
1014
|
}).optional()
|
|
1015
|
-
}),
|
|
1015
|
+
}), Qe = o.extend({
|
|
1016
1016
|
type: e.literal("SOCIAL"),
|
|
1017
1017
|
config: e.object({
|
|
1018
1018
|
providers: e.array(e.string()).optional()
|
|
1019
1019
|
}).optional()
|
|
1020
|
-
}),
|
|
1020
|
+
}), Je = o.extend({
|
|
1021
1021
|
type: e.literal("TEL"),
|
|
1022
1022
|
config: e.object({
|
|
1023
1023
|
placeholder: e.string().optional(),
|
|
1024
1024
|
default_country: e.string().optional()
|
|
1025
1025
|
}).optional()
|
|
1026
|
-
}),
|
|
1026
|
+
}), Ze = o.extend({
|
|
1027
1027
|
type: e.literal("TEXT"),
|
|
1028
1028
|
config: e.object({
|
|
1029
1029
|
placeholder: e.string().optional(),
|
|
1030
1030
|
multiline: e.boolean().optional(),
|
|
1031
1031
|
max_length: e.number().optional()
|
|
1032
1032
|
}).optional()
|
|
1033
|
-
}),
|
|
1033
|
+
}), $e = o.extend({
|
|
1034
1034
|
type: e.literal("URL"),
|
|
1035
1035
|
config: e.object({
|
|
1036
1036
|
placeholder: e.string().optional()
|
|
1037
1037
|
}).optional()
|
|
1038
|
-
}),
|
|
1039
|
-
Te,
|
|
1038
|
+
}), et = e.discriminatedUnion("type", [
|
|
1040
1039
|
Ne,
|
|
1041
1040
|
Re,
|
|
1042
|
-
Le,
|
|
1043
1041
|
De,
|
|
1042
|
+
Le,
|
|
1044
1043
|
we,
|
|
1045
1044
|
je,
|
|
1046
|
-
Ue
|
|
1047
|
-
|
|
1048
|
-
Fe,
|
|
1049
|
-
ke,
|
|
1050
|
-
ve
|
|
1045
|
+
Ue,
|
|
1046
|
+
Fe
|
|
1051
1047
|
]), tt = e.discriminatedUnion("type", [
|
|
1052
|
-
|
|
1048
|
+
ke,
|
|
1049
|
+
ve,
|
|
1050
|
+
xe
|
|
1051
|
+
]), ot = e.discriminatedUnion("type", [
|
|
1053
1052
|
Pe,
|
|
1054
1053
|
Me,
|
|
1055
1054
|
He,
|
|
1056
1055
|
Ge,
|
|
1057
1056
|
Be,
|
|
1058
1057
|
Ke,
|
|
1059
|
-
ze,
|
|
1060
1058
|
We,
|
|
1059
|
+
ze,
|
|
1061
1060
|
Xe,
|
|
1062
1061
|
Ve,
|
|
1063
1062
|
qe,
|
|
1064
1063
|
Ye,
|
|
1065
1064
|
Qe,
|
|
1066
1065
|
Je,
|
|
1067
|
-
Ze
|
|
1066
|
+
Ze,
|
|
1067
|
+
$e
|
|
1068
1068
|
]), R = e.union([
|
|
1069
|
-
$e,
|
|
1070
1069
|
et,
|
|
1071
|
-
tt
|
|
1072
|
-
|
|
1070
|
+
tt,
|
|
1071
|
+
ot
|
|
1072
|
+
]), mo = e.object({
|
|
1073
1073
|
id: e.string(),
|
|
1074
1074
|
type: e.literal("submit"),
|
|
1075
1075
|
label: e.string(),
|
|
@@ -1081,7 +1081,7 @@ const me = e.object({
|
|
|
1081
1081
|
}), _ = e.object({
|
|
1082
1082
|
x: e.number(),
|
|
1083
1083
|
y: e.number()
|
|
1084
|
-
}),
|
|
1084
|
+
}), nt = e.object({
|
|
1085
1085
|
id: e.string(),
|
|
1086
1086
|
type: e.literal("FLOW"),
|
|
1087
1087
|
coordinates: _,
|
|
@@ -1090,7 +1090,7 @@ const me = e.object({
|
|
|
1090
1090
|
flow_id: e.string().max(30),
|
|
1091
1091
|
next_node: e.string().optional()
|
|
1092
1092
|
})
|
|
1093
|
-
}),
|
|
1093
|
+
}), it = e.object({
|
|
1094
1094
|
id: e.string(),
|
|
1095
1095
|
type: e.literal("ROUTER"),
|
|
1096
1096
|
coordinates: _,
|
|
@@ -1106,7 +1106,7 @@ const me = e.object({
|
|
|
1106
1106
|
),
|
|
1107
1107
|
fallback: e.string()
|
|
1108
1108
|
})
|
|
1109
|
-
}),
|
|
1109
|
+
}), at = e.object({
|
|
1110
1110
|
id: e.string(),
|
|
1111
1111
|
type: e.literal("STEP"),
|
|
1112
1112
|
coordinates: _,
|
|
@@ -1115,10 +1115,10 @@ const me = e.object({
|
|
|
1115
1115
|
components: e.array(R),
|
|
1116
1116
|
next_node: e.string().optional()
|
|
1117
1117
|
})
|
|
1118
|
-
}),
|
|
1119
|
-
ot,
|
|
1118
|
+
}), rt = e.discriminatedUnion("type", [
|
|
1120
1119
|
nt,
|
|
1121
|
-
it
|
|
1120
|
+
it,
|
|
1121
|
+
at
|
|
1122
1122
|
]), st = e.object({
|
|
1123
1123
|
name: e.string().openapi({
|
|
1124
1124
|
description: "The name of the form"
|
|
@@ -1132,7 +1132,7 @@ const me = e.object({
|
|
|
1132
1132
|
default: e.string().optional()
|
|
1133
1133
|
}).optional(),
|
|
1134
1134
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1135
|
-
nodes: e.array(
|
|
1135
|
+
nodes: e.array(rt).optional(),
|
|
1136
1136
|
start: e.object({
|
|
1137
1137
|
hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
|
|
1138
1138
|
next_node: e.string().optional(),
|
|
@@ -1150,38 +1150,38 @@ const me = e.object({
|
|
|
1150
1150
|
style: e.object({ css: e.string().optional() }).optional()
|
|
1151
1151
|
}).openapi({
|
|
1152
1152
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1153
|
-
}),
|
|
1154
|
-
...
|
|
1153
|
+
}), ho = e.object({
|
|
1154
|
+
...r.shape,
|
|
1155
1155
|
...st.shape,
|
|
1156
1156
|
id: e.string()
|
|
1157
|
-
}),
|
|
1157
|
+
}), lt = e.object({
|
|
1158
1158
|
id: e.number().optional(),
|
|
1159
1159
|
text: e.string(),
|
|
1160
1160
|
type: e.enum(["info", "error", "success", "warning"])
|
|
1161
|
-
}),
|
|
1161
|
+
}), ct = e.object({
|
|
1162
1162
|
id: e.string().optional(),
|
|
1163
1163
|
text: e.string(),
|
|
1164
1164
|
href: e.string(),
|
|
1165
1165
|
linkText: e.string().optional()
|
|
1166
|
-
}),
|
|
1166
|
+
}), bo = e.object({
|
|
1167
1167
|
action: e.string(),
|
|
1168
1168
|
method: e.enum(["POST", "GET"]),
|
|
1169
1169
|
title: e.string().optional(),
|
|
1170
1170
|
description: e.string().optional(),
|
|
1171
1171
|
components: e.array(R),
|
|
1172
|
-
messages: e.array(
|
|
1173
|
-
links: e.array(
|
|
1172
|
+
messages: e.array(lt).optional(),
|
|
1173
|
+
links: e.array(ct).optional()
|
|
1174
1174
|
});
|
|
1175
|
-
function
|
|
1175
|
+
function fo(t) {
|
|
1176
1176
|
return t.category === "BLOCK";
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function Eo(t) {
|
|
1179
1179
|
return t.category === "WIDGET";
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function So(t) {
|
|
1182
1182
|
return t.category === "FIELD";
|
|
1183
1183
|
}
|
|
1184
|
-
const
|
|
1184
|
+
const D = e.enum([
|
|
1185
1185
|
"pre-user-registration",
|
|
1186
1186
|
"post-user-registration",
|
|
1187
1187
|
"post-user-login",
|
|
@@ -1189,7 +1189,7 @@ const L = e.enum([
|
|
|
1189
1189
|
"pre-user-deletion",
|
|
1190
1190
|
"post-user-deletion"
|
|
1191
1191
|
// Potentially other triggers specific to webhooks in the future
|
|
1192
|
-
]),
|
|
1192
|
+
]), L = e.enum([
|
|
1193
1193
|
"pre-user-registration",
|
|
1194
1194
|
"post-user-registration",
|
|
1195
1195
|
"post-user-login",
|
|
@@ -1201,37 +1201,37 @@ const L = e.enum([
|
|
|
1201
1201
|
synchronous: e.boolean().default(!1),
|
|
1202
1202
|
priority: e.number().optional(),
|
|
1203
1203
|
hook_id: e.string().optional()
|
|
1204
|
-
},
|
|
1204
|
+
}, pt = e.object({
|
|
1205
1205
|
...m,
|
|
1206
|
-
trigger_id:
|
|
1206
|
+
trigger_id: D,
|
|
1207
1207
|
url: e.string()
|
|
1208
|
-
}),
|
|
1208
|
+
}), _t = e.object({
|
|
1209
1209
|
...m,
|
|
1210
|
-
trigger_id:
|
|
1210
|
+
trigger_id: L,
|
|
1211
1211
|
form_id: e.string()
|
|
1212
|
-
}),
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
]),
|
|
1212
|
+
}), Ao = e.union([
|
|
1213
|
+
pt,
|
|
1214
|
+
_t
|
|
1215
|
+
]), dt = e.object({
|
|
1216
1216
|
...m,
|
|
1217
|
-
trigger_id:
|
|
1218
|
-
...
|
|
1217
|
+
trigger_id: D,
|
|
1218
|
+
...r.shape,
|
|
1219
1219
|
hook_id: e.string(),
|
|
1220
1220
|
url: e.string()
|
|
1221
|
-
}),
|
|
1221
|
+
}), gt = e.object({
|
|
1222
1222
|
...m,
|
|
1223
|
-
trigger_id:
|
|
1224
|
-
...
|
|
1223
|
+
trigger_id: L,
|
|
1224
|
+
...r.shape,
|
|
1225
1225
|
hook_id: e.string(),
|
|
1226
1226
|
form_id: e.string()
|
|
1227
|
-
}),
|
|
1227
|
+
}), Io = e.union([dt, gt]), ut = e.object({
|
|
1228
1228
|
name: e.string().optional()
|
|
1229
|
-
}), ut = e.object({
|
|
1230
|
-
email: e.string().optional()
|
|
1231
1229
|
}), mt = e.object({
|
|
1230
|
+
email: e.string().optional()
|
|
1231
|
+
}), ht = e.object({
|
|
1232
1232
|
organization_id: e.string().max(50),
|
|
1233
|
-
inviter:
|
|
1234
|
-
invitee:
|
|
1233
|
+
inviter: ut,
|
|
1234
|
+
invitee: mt,
|
|
1235
1235
|
invitation_url: e.string().url(),
|
|
1236
1236
|
client_id: e.string(),
|
|
1237
1237
|
connection_id: e.string().optional(),
|
|
@@ -1240,13 +1240,13 @@ const L = e.enum([
|
|
|
1240
1240
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1241
1241
|
roles: e.array(e.string()).default([]).optional(),
|
|
1242
1242
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1243
|
-
}),
|
|
1243
|
+
}), Co = e.object({
|
|
1244
1244
|
id: e.string(),
|
|
1245
1245
|
organization_id: e.string().max(50),
|
|
1246
1246
|
created_at: e.string().datetime(),
|
|
1247
1247
|
expires_at: e.string().datetime(),
|
|
1248
1248
|
ticket_id: e.string().optional()
|
|
1249
|
-
}).extend(
|
|
1249
|
+
}).extend(ht.shape), bt = e.object({
|
|
1250
1250
|
alg: e.enum([
|
|
1251
1251
|
"RS256",
|
|
1252
1252
|
"RS384",
|
|
@@ -1265,9 +1265,9 @@ const L = e.enum([
|
|
|
1265
1265
|
x5t: e.string().optional(),
|
|
1266
1266
|
x5c: e.array(e.string()).optional(),
|
|
1267
1267
|
use: e.enum(["sig", "enc"]).optional()
|
|
1268
|
-
}),
|
|
1269
|
-
keys: e.array(
|
|
1270
|
-
}),
|
|
1268
|
+
}), yo = e.object({
|
|
1269
|
+
keys: e.array(bt)
|
|
1270
|
+
}), To = e.object({
|
|
1271
1271
|
issuer: e.string(),
|
|
1272
1272
|
authorization_endpoint: e.string(),
|
|
1273
1273
|
token_endpoint: e.string(),
|
|
@@ -1288,27 +1288,37 @@ const L = e.enum([
|
|
|
1288
1288
|
request_uri_parameter_supported: e.boolean(),
|
|
1289
1289
|
request_parameter_supported: e.boolean(),
|
|
1290
1290
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
1291
|
-
})
|
|
1291
|
+
});
|
|
1292
|
+
var w = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(w || {});
|
|
1293
|
+
const ft = e.nativeEnum(w), Et = e.object({
|
|
1292
1294
|
csrf_token: e.string(),
|
|
1293
1295
|
auth0Client: e.string().optional(),
|
|
1294
|
-
authParams:
|
|
1296
|
+
authParams: he,
|
|
1295
1297
|
expires_at: e.string(),
|
|
1296
1298
|
deleted_at: e.string().optional(),
|
|
1297
1299
|
ip: e.string().optional(),
|
|
1298
1300
|
useragent: e.string().optional(),
|
|
1299
1301
|
session_id: e.string().optional(),
|
|
1300
1302
|
authorization_url: e.string().optional(),
|
|
1301
|
-
|
|
1303
|
+
state: ft.optional().default(
|
|
1304
|
+
"pending"
|
|
1305
|
+
/* PENDING */
|
|
1306
|
+
),
|
|
1307
|
+
state_data: e.string().optional(),
|
|
1308
|
+
// JSON: { hookId?, continuationScope?, continuationReturnUrl? }
|
|
1309
|
+
failure_reason: e.string().optional(),
|
|
1310
|
+
user_id: e.string().optional()
|
|
1311
|
+
// Set once user is authenticated
|
|
1302
1312
|
}).openapi({
|
|
1303
1313
|
description: "This represents a login sesion"
|
|
1304
|
-
}),
|
|
1305
|
-
...
|
|
1314
|
+
}), Oo = e.object({
|
|
1315
|
+
...Et.shape,
|
|
1306
1316
|
id: e.string().openapi({
|
|
1307
1317
|
description: "This is is used as the state in the universal login"
|
|
1308
1318
|
}),
|
|
1309
1319
|
created_at: e.string(),
|
|
1310
1320
|
updated_at: e.string()
|
|
1311
|
-
}),
|
|
1321
|
+
}), St = {
|
|
1312
1322
|
// Network & System
|
|
1313
1323
|
ACLS_SUMMARY: "acls_summary",
|
|
1314
1324
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -1475,24 +1485,24 @@ const L = e.enum([
|
|
|
1475
1485
|
WARNING_DURING_LOGIN: "w",
|
|
1476
1486
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1477
1487
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1478
|
-
},
|
|
1479
|
-
(t) => Object.values(
|
|
1488
|
+
}, At = e.string().refine(
|
|
1489
|
+
(t) => Object.values(St).includes(t),
|
|
1480
1490
|
{ message: "Invalid log type" }
|
|
1481
|
-
),
|
|
1491
|
+
), It = e.object({
|
|
1482
1492
|
name: e.string(),
|
|
1483
1493
|
version: e.string(),
|
|
1484
1494
|
env: e.object({
|
|
1485
1495
|
node: e.string().optional()
|
|
1486
1496
|
}).optional()
|
|
1487
|
-
}),
|
|
1497
|
+
}), Ct = e.object({
|
|
1488
1498
|
country_code: e.string().length(2),
|
|
1489
1499
|
city_name: e.string(),
|
|
1490
1500
|
latitude: e.string(),
|
|
1491
1501
|
longitude: e.string(),
|
|
1492
1502
|
time_zone: e.string(),
|
|
1493
1503
|
continent_code: e.string()
|
|
1494
|
-
}),
|
|
1495
|
-
type:
|
|
1504
|
+
}), yt = e.object({
|
|
1505
|
+
type: At,
|
|
1496
1506
|
date: e.string(),
|
|
1497
1507
|
description: e.string().optional(),
|
|
1498
1508
|
ip: e.string().optional(),
|
|
@@ -1511,30 +1521,30 @@ const L = e.enum([
|
|
|
1511
1521
|
strategy: e.string().optional(),
|
|
1512
1522
|
strategy_type: e.string().optional(),
|
|
1513
1523
|
hostname: e.string().optional(),
|
|
1514
|
-
auth0_client:
|
|
1524
|
+
auth0_client: It.optional(),
|
|
1515
1525
|
log_id: e.string().optional(),
|
|
1516
|
-
location_info:
|
|
1517
|
-
}),
|
|
1518
|
-
...
|
|
1526
|
+
location_info: Ct.optional()
|
|
1527
|
+
}), No = e.object({
|
|
1528
|
+
...yt.shape,
|
|
1519
1529
|
log_id: e.string()
|
|
1520
|
-
}),
|
|
1530
|
+
}), Tt = e.object({
|
|
1521
1531
|
id: e.string().optional(),
|
|
1522
1532
|
user_id: e.string(),
|
|
1523
1533
|
password: e.string(),
|
|
1524
1534
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1525
1535
|
is_current: e.boolean().default(!0)
|
|
1526
|
-
}),
|
|
1536
|
+
}), Ro = Tt.extend({
|
|
1527
1537
|
id: e.string(),
|
|
1528
1538
|
created_at: e.string(),
|
|
1529
1539
|
updated_at: e.string()
|
|
1530
|
-
}),
|
|
1540
|
+
}), j = e.object({
|
|
1531
1541
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
1532
1542
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
1533
1543
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
1534
1544
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1535
1545
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1536
1546
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1537
|
-
}),
|
|
1547
|
+
}), Ot = e.object({
|
|
1538
1548
|
id: e.string(),
|
|
1539
1549
|
revoked_at: e.string().optional(),
|
|
1540
1550
|
used_at: e.string().optional(),
|
|
@@ -1542,17 +1552,17 @@ const L = e.enum([
|
|
|
1542
1552
|
expires_at: e.string().optional(),
|
|
1543
1553
|
login_session_id: e.string(),
|
|
1544
1554
|
idle_expires_at: e.string().optional(),
|
|
1545
|
-
device:
|
|
1555
|
+
device: j.describe(
|
|
1546
1556
|
"Metadata related to the device used in the session"
|
|
1547
1557
|
),
|
|
1548
1558
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1549
|
-
}),
|
|
1559
|
+
}), Do = e.object({
|
|
1550
1560
|
created_at: e.string(),
|
|
1551
1561
|
updated_at: e.string(),
|
|
1552
1562
|
authenticated_at: e.string(),
|
|
1553
1563
|
last_interaction_at: e.string(),
|
|
1554
|
-
...
|
|
1555
|
-
}),
|
|
1564
|
+
...Ot.shape
|
|
1565
|
+
}), Lo = e.object({
|
|
1556
1566
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1557
1567
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
1558
1568
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -1578,8 +1588,8 @@ const L = e.enum([
|
|
|
1578
1588
|
description: "The type of the signing key"
|
|
1579
1589
|
})
|
|
1580
1590
|
});
|
|
1581
|
-
var
|
|
1582
|
-
const
|
|
1591
|
+
var Nt = /* @__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))(Nt || {});
|
|
1592
|
+
const wo = e.object({
|
|
1583
1593
|
access_token: e.string(),
|
|
1584
1594
|
id_token: e.string().optional(),
|
|
1585
1595
|
scope: e.string().optional(),
|
|
@@ -1592,7 +1602,7 @@ e.object({
|
|
|
1592
1602
|
code: e.string(),
|
|
1593
1603
|
state: e.string().optional()
|
|
1594
1604
|
});
|
|
1595
|
-
const
|
|
1605
|
+
const Rt = e.object({
|
|
1596
1606
|
button_border_radius: e.number(),
|
|
1597
1607
|
button_border_weight: e.number(),
|
|
1598
1608
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -1602,7 +1612,7 @@ const Tt = e.object({
|
|
|
1602
1612
|
show_widget_shadow: e.boolean(),
|
|
1603
1613
|
widget_border_weight: e.number(),
|
|
1604
1614
|
widget_corner_radius: e.number()
|
|
1605
|
-
}),
|
|
1615
|
+
}), Dt = e.object({
|
|
1606
1616
|
base_focus_color: e.string(),
|
|
1607
1617
|
base_hover_color: e.string(),
|
|
1608
1618
|
body_text: e.string(),
|
|
@@ -1625,7 +1635,7 @@ const Tt = e.object({
|
|
|
1625
1635
|
}), l = e.object({
|
|
1626
1636
|
bold: e.boolean(),
|
|
1627
1637
|
size: e.number()
|
|
1628
|
-
}),
|
|
1638
|
+
}), Lt = e.object({
|
|
1629
1639
|
body_text: l,
|
|
1630
1640
|
buttons_text: l,
|
|
1631
1641
|
font_url: e.string(),
|
|
@@ -1635,31 +1645,31 @@ const Tt = e.object({
|
|
|
1635
1645
|
reference_text_size: e.number(),
|
|
1636
1646
|
subtitle: l,
|
|
1637
1647
|
title: l
|
|
1638
|
-
}),
|
|
1648
|
+
}), wt = e.object({
|
|
1639
1649
|
background_color: e.string(),
|
|
1640
1650
|
background_image_url: e.string(),
|
|
1641
1651
|
page_layout: e.enum(["center", "left", "right"])
|
|
1642
|
-
}),
|
|
1652
|
+
}), jt = e.object({
|
|
1643
1653
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
1644
1654
|
logo_height: e.number(),
|
|
1645
1655
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
1646
1656
|
logo_url: e.string(),
|
|
1647
1657
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
1648
|
-
}),
|
|
1649
|
-
borders:
|
|
1650
|
-
colors:
|
|
1658
|
+
}), Ut = e.object({
|
|
1659
|
+
borders: Rt,
|
|
1660
|
+
colors: Dt,
|
|
1651
1661
|
displayName: e.string(),
|
|
1652
|
-
fonts:
|
|
1653
|
-
page_background:
|
|
1654
|
-
widget:
|
|
1655
|
-
}),
|
|
1662
|
+
fonts: Lt,
|
|
1663
|
+
page_background: wt,
|
|
1664
|
+
widget: jt
|
|
1665
|
+
}), jo = Ut.extend({
|
|
1656
1666
|
themeId: e.string()
|
|
1657
|
-
}),
|
|
1667
|
+
}), Uo = e.object({
|
|
1658
1668
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
1659
1669
|
identifier_first: e.boolean().default(!0),
|
|
1660
1670
|
password_first: e.boolean().default(!1),
|
|
1661
1671
|
webauthn_platform_first_factor: e.boolean()
|
|
1662
|
-
}),
|
|
1672
|
+
}), Fo = e.object({
|
|
1663
1673
|
name: e.string(),
|
|
1664
1674
|
enabled: e.boolean().optional().default(!0),
|
|
1665
1675
|
default_from_address: e.string().optional(),
|
|
@@ -1689,7 +1699,7 @@ const Tt = e.object({
|
|
|
1689
1699
|
})
|
|
1690
1700
|
]),
|
|
1691
1701
|
settings: e.object({}).optional()
|
|
1692
|
-
}),
|
|
1702
|
+
}), Ft = e.object({
|
|
1693
1703
|
// The actual refresh token value (primary key).
|
|
1694
1704
|
id: e.string(),
|
|
1695
1705
|
// Link to the session record
|
|
@@ -1702,7 +1712,7 @@ const Tt = e.object({
|
|
|
1702
1712
|
idle_expires_at: e.string().optional(),
|
|
1703
1713
|
// When the token was last used.
|
|
1704
1714
|
last_exchanged_at: e.string().optional(),
|
|
1705
|
-
device:
|
|
1715
|
+
device: j,
|
|
1706
1716
|
resource_servers: e.array(
|
|
1707
1717
|
e.object({
|
|
1708
1718
|
audience: e.string(),
|
|
@@ -1710,21 +1720,21 @@ const Tt = e.object({
|
|
|
1710
1720
|
})
|
|
1711
1721
|
),
|
|
1712
1722
|
rotating: e.boolean()
|
|
1713
|
-
}),
|
|
1723
|
+
}), ko = e.object({
|
|
1714
1724
|
// When the refresh token record was created.
|
|
1715
1725
|
created_at: e.string(),
|
|
1716
1726
|
// Spread in the rest of the refresh token properties.
|
|
1717
|
-
...
|
|
1718
|
-
}),
|
|
1727
|
+
...Ft.shape
|
|
1728
|
+
}), vo = e.object({
|
|
1719
1729
|
to: e.string(),
|
|
1720
1730
|
message: e.string()
|
|
1721
|
-
}),
|
|
1731
|
+
}), xo = e.object({
|
|
1722
1732
|
name: e.string(),
|
|
1723
1733
|
options: e.object({})
|
|
1724
|
-
}),
|
|
1734
|
+
}), kt = e.object({
|
|
1725
1735
|
value: e.string(),
|
|
1726
1736
|
description: e.string().optional()
|
|
1727
|
-
}),
|
|
1737
|
+
}), vt = e.object({
|
|
1728
1738
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
1729
1739
|
enforce_policies: e.boolean().optional(),
|
|
1730
1740
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -1734,11 +1744,11 @@ const Tt = e.object({
|
|
|
1734
1744
|
mtls: e.object({
|
|
1735
1745
|
bound_access_tokens: e.boolean().optional()
|
|
1736
1746
|
}).optional()
|
|
1737
|
-
}),
|
|
1747
|
+
}), xt = e.object({
|
|
1738
1748
|
id: e.string().optional(),
|
|
1739
1749
|
name: e.string(),
|
|
1740
1750
|
identifier: e.string(),
|
|
1741
|
-
scopes: e.array(
|
|
1751
|
+
scopes: e.array(kt).optional(),
|
|
1742
1752
|
signing_alg: e.string().optional(),
|
|
1743
1753
|
signing_secret: e.string().optional(),
|
|
1744
1754
|
token_lifetime: e.number().optional(),
|
|
@@ -1746,29 +1756,29 @@ const Tt = e.object({
|
|
|
1746
1756
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
1747
1757
|
allow_offline_access: e.boolean().optional(),
|
|
1748
1758
|
verificationKey: e.string().optional(),
|
|
1749
|
-
options:
|
|
1759
|
+
options: vt.optional(),
|
|
1750
1760
|
is_system: e.boolean().optional()
|
|
1751
|
-
}),
|
|
1752
|
-
...
|
|
1761
|
+
}), Pt = e.object({
|
|
1762
|
+
...xt.shape,
|
|
1753
1763
|
created_at: e.string().optional(),
|
|
1754
1764
|
updated_at: e.string().optional()
|
|
1755
|
-
}),
|
|
1765
|
+
}), Po = e.array(Pt), Mt = e.object({
|
|
1756
1766
|
role_id: e.string(),
|
|
1757
1767
|
resource_server_identifier: e.string(),
|
|
1758
1768
|
permission_name: e.string()
|
|
1759
|
-
}),
|
|
1760
|
-
...
|
|
1769
|
+
}), Ht = e.object({
|
|
1770
|
+
...Mt.shape,
|
|
1761
1771
|
created_at: e.string()
|
|
1762
|
-
}),
|
|
1772
|
+
}), Mo = e.array(Ht), Gt = e.object({
|
|
1763
1773
|
user_id: e.string(),
|
|
1764
1774
|
resource_server_identifier: e.string(),
|
|
1765
1775
|
permission_name: e.string(),
|
|
1766
1776
|
organization_id: e.string().optional()
|
|
1767
|
-
}),
|
|
1768
|
-
...
|
|
1777
|
+
}), Bt = e.object({
|
|
1778
|
+
...Gt.shape,
|
|
1769
1779
|
tenant_id: e.string(),
|
|
1770
1780
|
created_at: e.string().optional()
|
|
1771
|
-
}),
|
|
1781
|
+
}), Ho = e.array(Bt), Kt = e.object({
|
|
1772
1782
|
user_id: e.string(),
|
|
1773
1783
|
resource_server_identifier: e.string(),
|
|
1774
1784
|
resource_server_name: e.string(),
|
|
@@ -1776,17 +1786,17 @@ const Tt = e.object({
|
|
|
1776
1786
|
description: e.string().nullable().optional(),
|
|
1777
1787
|
created_at: e.string().optional(),
|
|
1778
1788
|
organization_id: e.string().optional()
|
|
1779
|
-
}),
|
|
1780
|
-
|
|
1781
|
-
),
|
|
1789
|
+
}), Go = e.array(
|
|
1790
|
+
Kt
|
|
1791
|
+
), Wt = e.object({
|
|
1782
1792
|
user_id: e.string(),
|
|
1783
1793
|
role_id: e.string(),
|
|
1784
1794
|
organization_id: e.string().optional()
|
|
1785
|
-
}),
|
|
1786
|
-
...
|
|
1795
|
+
}), zt = e.object({
|
|
1796
|
+
...Wt.shape,
|
|
1787
1797
|
tenant_id: e.string(),
|
|
1788
1798
|
created_at: e.string().optional()
|
|
1789
|
-
}),
|
|
1799
|
+
}), Bo = e.array(zt), Xt = e.object({
|
|
1790
1800
|
id: e.string().optional().openapi({
|
|
1791
1801
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
1792
1802
|
}),
|
|
@@ -1797,13 +1807,13 @@ const Tt = e.object({
|
|
|
1797
1807
|
description: "The description of the role"
|
|
1798
1808
|
}),
|
|
1799
1809
|
is_system: e.boolean().optional()
|
|
1800
|
-
}),
|
|
1810
|
+
}), Vt = Xt.extend({
|
|
1801
1811
|
id: e.string().openapi({
|
|
1802
1812
|
description: "The unique identifier of the role"
|
|
1803
1813
|
}),
|
|
1804
1814
|
created_at: e.string().optional(),
|
|
1805
1815
|
updated_at: e.string().optional()
|
|
1806
|
-
}),
|
|
1816
|
+
}), Ko = e.array(Vt), qt = e.object({
|
|
1807
1817
|
logo_url: e.string().optional().openapi({
|
|
1808
1818
|
description: "URL of the organization's logo"
|
|
1809
1819
|
}),
|
|
@@ -1815,7 +1825,7 @@ const Tt = e.object({
|
|
|
1815
1825
|
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
1816
1826
|
})
|
|
1817
1827
|
}).optional()
|
|
1818
|
-
}).optional(),
|
|
1828
|
+
}).optional(), Yt = e.object({
|
|
1819
1829
|
connection_id: e.string().openapi({
|
|
1820
1830
|
description: "ID of the connection"
|
|
1821
1831
|
}),
|
|
@@ -1828,7 +1838,7 @@ const Tt = e.object({
|
|
|
1828
1838
|
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
1829
1839
|
description: "Whether signup is enabled for this connection"
|
|
1830
1840
|
})
|
|
1831
|
-
}),
|
|
1841
|
+
}), Qt = e.object({
|
|
1832
1842
|
client_credentials: e.object({
|
|
1833
1843
|
enforce: e.boolean().default(!1).openapi({
|
|
1834
1844
|
description: "Whether to enforce token quota limits"
|
|
@@ -1840,7 +1850,7 @@ const Tt = e.object({
|
|
|
1840
1850
|
description: "Maximum tokens per hour (0 = unlimited)"
|
|
1841
1851
|
})
|
|
1842
1852
|
}).optional()
|
|
1843
|
-
}).optional(),
|
|
1853
|
+
}).optional(), Jt = e.object({
|
|
1844
1854
|
id: e.string().optional(),
|
|
1845
1855
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
|
|
1846
1856
|
message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
|
|
@@ -1850,34 +1860,34 @@ const Tt = e.object({
|
|
|
1850
1860
|
display_name: e.string().optional().openapi({
|
|
1851
1861
|
description: "The display name of the organization"
|
|
1852
1862
|
}),
|
|
1853
|
-
branding:
|
|
1863
|
+
branding: qt,
|
|
1854
1864
|
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
1855
1865
|
description: "Custom metadata for the organization"
|
|
1856
1866
|
}),
|
|
1857
|
-
enabled_connections: e.array(
|
|
1867
|
+
enabled_connections: e.array(Yt).default([]).optional().openapi({
|
|
1858
1868
|
description: "List of enabled connections for the organization"
|
|
1859
1869
|
}),
|
|
1860
|
-
token_quota:
|
|
1861
|
-
}),
|
|
1862
|
-
...
|
|
1863
|
-
...
|
|
1870
|
+
token_quota: Qt
|
|
1871
|
+
}), Wo = e.object({
|
|
1872
|
+
...Jt.shape,
|
|
1873
|
+
...r.shape,
|
|
1864
1874
|
id: e.string(),
|
|
1865
1875
|
// Override name to be lenient when reading from database (to support existing uppercase names)
|
|
1866
1876
|
name: e.string().min(1).openapi({
|
|
1867
1877
|
description: "The name of the organization"
|
|
1868
1878
|
})
|
|
1869
|
-
}),
|
|
1879
|
+
}), Zt = e.object({
|
|
1870
1880
|
user_id: e.string().openapi({
|
|
1871
1881
|
description: "ID of the user"
|
|
1872
1882
|
}),
|
|
1873
1883
|
organization_id: e.string().openapi({
|
|
1874
1884
|
description: "ID of the organization"
|
|
1875
1885
|
})
|
|
1876
|
-
}), Ko = e.object({
|
|
1877
|
-
...Qt.shape,
|
|
1878
|
-
...s.shape,
|
|
1879
|
-
id: e.string()
|
|
1880
1886
|
}), zo = e.object({
|
|
1887
|
+
...Zt.shape,
|
|
1888
|
+
...r.shape,
|
|
1889
|
+
id: e.string()
|
|
1890
|
+
}), Xo = e.object({
|
|
1881
1891
|
// Session settings
|
|
1882
1892
|
idle_session_lifetime: e.number().optional(),
|
|
1883
1893
|
session_lifetime: e.number().optional(),
|
|
@@ -1946,7 +1956,7 @@ const Tt = e.object({
|
|
|
1946
1956
|
sessions: e.object({
|
|
1947
1957
|
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
1948
1958
|
}).optional()
|
|
1949
|
-
}),
|
|
1959
|
+
}), Vo = e.object({
|
|
1950
1960
|
date: e.string().openapi({
|
|
1951
1961
|
description: "Date these events occurred in ISO 8601 format",
|
|
1952
1962
|
example: "2025-12-19"
|
|
@@ -1971,33 +1981,33 @@ const Tt = e.object({
|
|
|
1971
1981
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
1972
1982
|
example: "2025-12-19T00:00:00.000Z"
|
|
1973
1983
|
})
|
|
1974
|
-
}),
|
|
1984
|
+
}), qo = e.number().openapi({
|
|
1975
1985
|
description: "Number of active users in the last 30 days",
|
|
1976
1986
|
example: 1234
|
|
1977
1987
|
});
|
|
1978
|
-
function
|
|
1979
|
-
const [a,
|
|
1980
|
-
if (!a || !
|
|
1988
|
+
function Yo(t) {
|
|
1989
|
+
const [a, s] = t.split("|");
|
|
1990
|
+
if (!a || !s)
|
|
1981
1991
|
throw new Error(`Invalid user_id: ${t}`);
|
|
1982
|
-
return { connection: a, id:
|
|
1992
|
+
return { connection: a, id: s };
|
|
1983
1993
|
}
|
|
1984
|
-
function
|
|
1994
|
+
function Qo(t) {
|
|
1985
1995
|
const {
|
|
1986
1996
|
primary: a,
|
|
1987
|
-
secondaries:
|
|
1988
|
-
syncMethods:
|
|
1989
|
-
} = t,
|
|
1997
|
+
secondaries: s,
|
|
1998
|
+
syncMethods: U = ["create", "update", "remove", "delete", "set"]
|
|
1999
|
+
} = t, F = {
|
|
1990
2000
|
get(d, n) {
|
|
1991
2001
|
if (typeof n == "symbol")
|
|
1992
2002
|
return d[n];
|
|
1993
2003
|
const g = d[n];
|
|
1994
|
-
return typeof g != "function" ? g :
|
|
1995
|
-
const
|
|
1996
|
-
for (const p of
|
|
2004
|
+
return typeof g != "function" ? g : U.includes(n) ? async (...h) => {
|
|
2005
|
+
const k = await g.apply(d, h), b = [];
|
|
2006
|
+
for (const p of s) {
|
|
1997
2007
|
const S = p.adapter[n];
|
|
1998
2008
|
if (typeof S != "function")
|
|
1999
2009
|
continue;
|
|
2000
|
-
const
|
|
2010
|
+
const v = (async () => {
|
|
2001
2011
|
try {
|
|
2002
2012
|
await S.apply(p.adapter, h);
|
|
2003
2013
|
} catch (A) {
|
|
@@ -2006,169 +2016,171 @@ function qo(t) {
|
|
|
2006
2016
|
`Passthrough adapter: secondary write failed for ${n}:`,
|
|
2007
2017
|
A
|
|
2008
2018
|
);
|
|
2009
|
-
} catch (
|
|
2019
|
+
} catch (x) {
|
|
2010
2020
|
console.error(
|
|
2011
2021
|
`Passthrough adapter: onError handler threw for ${n}:`,
|
|
2012
|
-
|
|
2022
|
+
x
|
|
2013
2023
|
);
|
|
2014
2024
|
}
|
|
2015
2025
|
}
|
|
2016
2026
|
})();
|
|
2017
|
-
p.blocking && b.push(
|
|
2027
|
+
p.blocking && b.push(v);
|
|
2018
2028
|
}
|
|
2019
|
-
return b.length > 0 && await Promise.all(b),
|
|
2029
|
+
return b.length > 0 && await Promise.all(b), k;
|
|
2020
2030
|
} : g.bind(d);
|
|
2021
2031
|
}
|
|
2022
2032
|
};
|
|
2023
|
-
return new Proxy(a,
|
|
2033
|
+
return new Proxy(a, F);
|
|
2024
2034
|
}
|
|
2025
|
-
function
|
|
2035
|
+
function Jo(t) {
|
|
2026
2036
|
return t;
|
|
2027
2037
|
}
|
|
2028
2038
|
export {
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2039
|
+
to as Auth0ActionEnum,
|
|
2040
|
+
It as Auth0Client,
|
|
2041
|
+
O as AuthorizationResponseMode,
|
|
2042
|
+
T as AuthorizationResponseType,
|
|
2033
2043
|
N as CodeChallengeMethod,
|
|
2034
2044
|
y as ComponentCategory,
|
|
2035
2045
|
C as ComponentType,
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2046
|
+
oo as EmailActionEnum,
|
|
2047
|
+
eo as FlowActionTypeEnum,
|
|
2048
|
+
Nt as GrantType,
|
|
2049
|
+
Ct as LocationInfo,
|
|
2050
|
+
St as LogTypes,
|
|
2051
|
+
w as LoginSessionState,
|
|
2041
2052
|
se as NodeType,
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2053
|
+
G as RedirectTargetEnum,
|
|
2054
|
+
pe as actionNodeSchema,
|
|
2055
|
+
qo as activeUsersResponseSchema,
|
|
2056
|
+
co as auth0FlowInsertSchema,
|
|
2057
|
+
me as auth0FlowSchema,
|
|
2058
|
+
io as auth0QuerySchema,
|
|
2059
|
+
M as auth0UpdateUserActionSchema,
|
|
2060
|
+
ro as auth0UserResponseSchema,
|
|
2061
|
+
he as authParamsSchema,
|
|
2051
2062
|
I as baseUserSchema,
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2063
|
+
et as blockComponentSchema,
|
|
2064
|
+
Rt as bordersSchema,
|
|
2065
|
+
po as brandingSchema,
|
|
2066
|
+
oe as buttonComponentSchema,
|
|
2067
|
+
$ as clientGrantInsertSchema,
|
|
2068
|
+
lo as clientGrantListSchema,
|
|
2069
|
+
ee as clientGrantSchema,
|
|
2070
|
+
J as clientInsertSchema,
|
|
2071
|
+
Z as clientSchema,
|
|
2072
|
+
Ce as codeInsertSchema,
|
|
2073
|
+
go as codeSchema,
|
|
2074
|
+
Ie as codeTypeSchema,
|
|
2075
|
+
Dt as colorsSchema,
|
|
2076
|
+
lt as componentMessageSchema,
|
|
2077
|
+
re as componentSchema,
|
|
2078
|
+
fe as connectionInsertSchema,
|
|
2079
|
+
be as connectionOptionsSchema,
|
|
2080
|
+
Ee as connectionSchema,
|
|
2070
2081
|
c as coordinatesSchema,
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2082
|
+
Qo as createPassthroughAdapter,
|
|
2083
|
+
Jo as createWriteOnlyAdapter,
|
|
2084
|
+
ye as customDomainInsertSchema,
|
|
2074
2085
|
Oe as customDomainSchema,
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2086
|
+
uo as customDomainWithTenantIdSchema,
|
|
2087
|
+
Vo as dailyStatsSchema,
|
|
2088
|
+
Fo as emailProviderSchema,
|
|
2089
|
+
P as emailVerificationRulesSchema,
|
|
2090
|
+
H as emailVerifyActionSchema,
|
|
2091
|
+
ue as endingSchema,
|
|
2092
|
+
ot as fieldComponentSchema,
|
|
2093
|
+
K as flowActionStepSchema,
|
|
2094
|
+
W as flowInsertSchema,
|
|
2095
|
+
no as flowSchema,
|
|
2096
|
+
ie as flowsFieldComponentSchema,
|
|
2097
|
+
ce as flowsFlowNodeSchema,
|
|
2098
|
+
le as flowsStepNodeSchema,
|
|
2088
2099
|
l as fontDetailsSchema,
|
|
2089
|
-
|
|
2090
|
-
|
|
2100
|
+
Lt as fontsSchema,
|
|
2101
|
+
mo as formControlSchema,
|
|
2091
2102
|
st as formInsertSchema,
|
|
2092
2103
|
R as formNodeComponentDefinition,
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
Yt as
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2104
|
+
rt as formNodeSchema,
|
|
2105
|
+
ho as formSchema,
|
|
2106
|
+
ae as genericComponentSchema,
|
|
2107
|
+
_e as genericNodeSchema,
|
|
2108
|
+
Ao as hookInsertSchema,
|
|
2109
|
+
Io as hookSchema,
|
|
2110
|
+
X as identitySchema,
|
|
2111
|
+
ht as inviteInsertSchema,
|
|
2112
|
+
Co as inviteSchema,
|
|
2113
|
+
mt as inviteeSchema,
|
|
2114
|
+
ut as inviterSchema,
|
|
2115
|
+
fo as isBlockComponent,
|
|
2116
|
+
So as isFieldComponent,
|
|
2117
|
+
Eo as isWidgetComponent,
|
|
2118
|
+
yo as jwksKeySchema,
|
|
2119
|
+
bt as jwksSchema,
|
|
2120
|
+
_o as legacyClientSchema,
|
|
2121
|
+
ne as legalComponentSchema,
|
|
2122
|
+
yt as logInsertSchema,
|
|
2123
|
+
No as logSchema,
|
|
2124
|
+
Et as loginSessionInsertSchema,
|
|
2125
|
+
Oo as loginSessionSchema,
|
|
2126
|
+
ft as loginSessionStateSchema,
|
|
2127
|
+
de as nodeSchema,
|
|
2128
|
+
To as openIDConfigurationSchema,
|
|
2129
|
+
qt as organizationBrandingSchema,
|
|
2130
|
+
Yt as organizationEnabledConnectionSchema,
|
|
2131
|
+
Jt as organizationInsertSchema,
|
|
2132
|
+
Wo as organizationSchema,
|
|
2133
|
+
Qt as organizationTokenQuotaSchema,
|
|
2134
|
+
wt as pageBackgroundSchema,
|
|
2135
|
+
Yo as parseUserId,
|
|
2136
|
+
Tt as passwordInsertSchema,
|
|
2137
|
+
Ro as passwordSchema,
|
|
2126
2138
|
z as profileDataSchema,
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2139
|
+
Uo as promptSettingSchema,
|
|
2140
|
+
B as redirectActionSchema,
|
|
2141
|
+
Ft as refreshTokenInsertSchema,
|
|
2142
|
+
ko as refreshTokenSchema,
|
|
2143
|
+
xt as resourceServerInsertSchema,
|
|
2144
|
+
Po as resourceServerListSchema,
|
|
2145
|
+
vt as resourceServerOptionsSchema,
|
|
2146
|
+
Pt as resourceServerSchema,
|
|
2147
|
+
kt as resourceServerScopeSchema,
|
|
2148
|
+
te as richTextComponentSchema,
|
|
2149
|
+
Xt as roleInsertSchema,
|
|
2150
|
+
Ko as roleListSchema,
|
|
2151
|
+
Mt as rolePermissionInsertSchema,
|
|
2152
|
+
Mo as rolePermissionListSchema,
|
|
2153
|
+
Ht as rolePermissionSchema,
|
|
2154
|
+
Vt as roleSchema,
|
|
2155
|
+
ct as screenLinkSchema,
|
|
2156
|
+
Ot as sessionInsertSchema,
|
|
2157
|
+
Do as sessionSchema,
|
|
2158
|
+
Lo as signingKeySchema,
|
|
2159
|
+
xo as smsProviderSchema,
|
|
2160
|
+
vo as smsSendParamsSchema,
|
|
2161
|
+
ge as startSchema,
|
|
2162
|
+
Se as tenantInsertSchema,
|
|
2163
|
+
Ae as tenantSchema,
|
|
2164
|
+
Xo as tenantSettingsSchema,
|
|
2165
|
+
Ut as themeInsertSchema,
|
|
2166
|
+
jo as themeSchema,
|
|
2167
|
+
wo as tokenResponseSchema,
|
|
2168
|
+
ao as totalsSchema,
|
|
2169
|
+
bo as uiScreenSchema,
|
|
2170
|
+
V as userInsertSchema,
|
|
2171
|
+
Zt as userOrganizationInsertSchema,
|
|
2172
|
+
zo as userOrganizationSchema,
|
|
2173
|
+
Gt as userPermissionInsertSchema,
|
|
2174
|
+
Ho as userPermissionListSchema,
|
|
2175
|
+
Bt as userPermissionSchema,
|
|
2176
|
+
Go as userPermissionWithDetailsListSchema,
|
|
2177
|
+
Kt as userPermissionWithDetailsSchema,
|
|
2178
|
+
so as userResponseSchema,
|
|
2179
|
+
Wt as userRoleInsertSchema,
|
|
2180
|
+
Bo as userRoleListSchema,
|
|
2181
|
+
zt as userRoleSchema,
|
|
2182
|
+
q as userSchema,
|
|
2183
|
+
Te as verificationMethodsSchema,
|
|
2184
|
+
tt as widgetComponentSchema,
|
|
2185
|
+
jt as widgetSchema
|
|
2174
2186
|
};
|