@authhero/adapter-interfaces 1.6.0 → 1.8.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 +220 -50
- package/dist/adapter-interfaces.mjs +427 -386
- package/package.json +1 -1
|
@@ -18,10 +18,10 @@ const s = e.object({
|
|
|
18
18
|
runtime: e.string().max(50).optional(),
|
|
19
19
|
dependencies: e.array(Y).optional(),
|
|
20
20
|
secrets: e.array(Q).optional()
|
|
21
|
-
}),
|
|
21
|
+
}), Lo = N.partial().extend({
|
|
22
22
|
status: e.enum(["draft", "built"]).optional(),
|
|
23
23
|
deployed_at: e.string().optional()
|
|
24
|
-
}),
|
|
24
|
+
}), vo = N.extend({
|
|
25
25
|
id: e.string(),
|
|
26
26
|
tenant_id: e.string(),
|
|
27
27
|
status: e.enum(["draft", "built"]).default("built"),
|
|
@@ -88,20 +88,22 @@ const s = e.object({
|
|
|
88
88
|
connection: e.string().optional(),
|
|
89
89
|
strategy: e.string().optional(),
|
|
90
90
|
strategy_type: e.string().optional(),
|
|
91
|
+
audience: e.string().optional(),
|
|
92
|
+
scope: e.string().optional(),
|
|
91
93
|
location: oe.optional(),
|
|
92
94
|
auth0_client: ne.optional(),
|
|
93
95
|
hostname: e.string(),
|
|
94
96
|
is_mobile: e.boolean().optional(),
|
|
95
97
|
timestamp: e.string()
|
|
96
|
-
}),
|
|
98
|
+
}), ko = ie.extend({
|
|
97
99
|
id: e.string()
|
|
98
|
-
}),
|
|
100
|
+
}), Uo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), Fo = e.enum([
|
|
99
101
|
"CREATE_USER",
|
|
100
102
|
"GET_USER",
|
|
101
103
|
"UPDATE_USER",
|
|
102
104
|
"SEND_REQUEST",
|
|
103
105
|
"SEND_EMAIL"
|
|
104
|
-
]),
|
|
106
|
+
]), xo = e.enum(["VERIFY_EMAIL"]), ae = e.object({
|
|
105
107
|
require_mx_record: e.boolean().optional(),
|
|
106
108
|
block_aliases: e.boolean().optional(),
|
|
107
109
|
block_free_emails: e.boolean().optional(),
|
|
@@ -158,13 +160,13 @@ const s = e.object({
|
|
|
158
160
|
actions: e.array(pe).optional().default([]).openapi({
|
|
159
161
|
description: "The list of actions to execute in sequence"
|
|
160
162
|
})
|
|
161
|
-
}),
|
|
163
|
+
}), Po = _e.extend({
|
|
162
164
|
...s.shape,
|
|
163
165
|
id: e.string().openapi({
|
|
164
166
|
description: "Unique identifier for the flow",
|
|
165
167
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
166
168
|
})
|
|
167
|
-
}),
|
|
169
|
+
}), Mo = e.object({
|
|
168
170
|
page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
|
|
169
171
|
description: "The page number where 0 is the first page"
|
|
170
172
|
}),
|
|
@@ -180,7 +182,7 @@ const s = e.object({
|
|
|
180
182
|
q: e.string().optional().openapi({
|
|
181
183
|
description: "A lucene query string used to filter the results"
|
|
182
184
|
})
|
|
183
|
-
}),
|
|
185
|
+
}), Ho = e.object({
|
|
184
186
|
start: e.number(),
|
|
185
187
|
limit: e.number(),
|
|
186
188
|
length: e.number(),
|
|
@@ -286,9 +288,9 @@ const s = e.object({
|
|
|
286
288
|
email: e.string().optional(),
|
|
287
289
|
login_count: e.number().default(0),
|
|
288
290
|
identities: e.array(ge).optional()
|
|
289
|
-
}),
|
|
291
|
+
}), Go = he.omit({
|
|
290
292
|
registration_completed_at: !0
|
|
291
|
-
}),
|
|
293
|
+
}), Bo = w.extend({
|
|
292
294
|
login_count: e.number(),
|
|
293
295
|
multifactor: e.array(e.string()).optional(),
|
|
294
296
|
last_ip: e.string().optional(),
|
|
@@ -473,8 +475,17 @@ const Ee = e.object({
|
|
|
473
475
|
par_request_expiry: e.number().optional().openapi({
|
|
474
476
|
description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
|
|
475
477
|
}),
|
|
476
|
-
token_quota: e.record(e.any()).default({}).optional()
|
|
477
|
-
|
|
478
|
+
token_quota: e.record(e.any()).default({}).optional(),
|
|
479
|
+
owner_user_id: e.string().optional().openapi({
|
|
480
|
+
description: "User ID of the consenting user when this client was created via IAT-gated Dynamic Client Registration. NULL for clients created via the Management API or open DCR."
|
|
481
|
+
}),
|
|
482
|
+
registration_type: e.enum(["manual", "open_dcr", "iat_dcr"]).optional().openapi({
|
|
483
|
+
description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token."
|
|
484
|
+
}),
|
|
485
|
+
registration_metadata: e.record(e.any()).default({}).optional().openapi({
|
|
486
|
+
description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability."
|
|
487
|
+
})
|
|
488
|
+
}), Wo = e.object({
|
|
478
489
|
created_at: e.string(),
|
|
479
490
|
updated_at: e.string(),
|
|
480
491
|
...Ee.shape
|
|
@@ -510,7 +521,21 @@ const Ee = e.object({
|
|
|
510
521
|
...Se.shape,
|
|
511
522
|
created_at: e.string().optional(),
|
|
512
523
|
updated_at: e.string().optional()
|
|
513
|
-
}),
|
|
524
|
+
}), Ko = e.array(Ae), ye = e.enum(["iat", "rat"]), Ie = e.object({
|
|
525
|
+
id: e.string(),
|
|
526
|
+
token_hash: e.string(),
|
|
527
|
+
type: ye,
|
|
528
|
+
client_id: e.string().optional(),
|
|
529
|
+
sub: e.string().optional(),
|
|
530
|
+
constraints: e.record(e.unknown()).optional(),
|
|
531
|
+
single_use: e.boolean().default(!1),
|
|
532
|
+
expires_at: e.string().optional()
|
|
533
|
+
}), zo = e.object({
|
|
534
|
+
created_at: e.string(),
|
|
535
|
+
used_at: e.string().optional(),
|
|
536
|
+
revoked_at: e.string().optional(),
|
|
537
|
+
...Ie.shape
|
|
538
|
+
}), m = e.object({
|
|
514
539
|
x: e.number(),
|
|
515
540
|
y: e.number()
|
|
516
541
|
});
|
|
@@ -519,7 +544,7 @@ const I = e.object({
|
|
|
519
544
|
id: e.string(),
|
|
520
545
|
category: e.nativeEnum(R),
|
|
521
546
|
type: e.nativeEnum(j)
|
|
522
|
-
}),
|
|
547
|
+
}), Ce = I.extend({
|
|
523
548
|
category: e.literal(
|
|
524
549
|
"BLOCK"
|
|
525
550
|
/* BLOCK */
|
|
@@ -531,7 +556,7 @@ const I = e.object({
|
|
|
531
556
|
config: e.object({
|
|
532
557
|
content: e.string()
|
|
533
558
|
}).passthrough()
|
|
534
|
-
}),
|
|
559
|
+
}), Te = I.extend({
|
|
535
560
|
category: e.literal(
|
|
536
561
|
"BLOCK"
|
|
537
562
|
/* BLOCK */
|
|
@@ -553,7 +578,7 @@ const I = e.object({
|
|
|
553
578
|
config: e.object({
|
|
554
579
|
text: e.string()
|
|
555
580
|
}).passthrough()
|
|
556
|
-
}),
|
|
581
|
+
}), Oe = I.extend({
|
|
557
582
|
category: e.literal(
|
|
558
583
|
"FIELD"
|
|
559
584
|
/* FIELD */
|
|
@@ -567,7 +592,7 @@ const I = e.object({
|
|
|
567
592
|
config: e.object({
|
|
568
593
|
text: e.string()
|
|
569
594
|
}).passthrough()
|
|
570
|
-
}),
|
|
595
|
+
}), Ne = I.extend({
|
|
571
596
|
category: e.literal(
|
|
572
597
|
"FIELD"
|
|
573
598
|
/* FIELD */
|
|
@@ -620,19 +645,19 @@ const I = e.object({
|
|
|
620
645
|
label: e.string().optional(),
|
|
621
646
|
placeholder: e.string().optional()
|
|
622
647
|
}).passthrough()
|
|
623
|
-
}),
|
|
648
|
+
}), we = e.object({
|
|
624
649
|
id: e.string(),
|
|
625
650
|
category: e.string(),
|
|
626
651
|
type: e.string()
|
|
627
|
-
}).passthrough(),
|
|
628
|
-
ye,
|
|
629
|
-
Ie,
|
|
652
|
+
}).passthrough(), je = e.union([
|
|
630
653
|
Ce,
|
|
631
654
|
Te,
|
|
632
|
-
Oe
|
|
655
|
+
Oe,
|
|
656
|
+
Ne,
|
|
657
|
+
we
|
|
633
658
|
]);
|
|
634
|
-
var
|
|
635
|
-
const
|
|
659
|
+
var Re = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(Re || {});
|
|
660
|
+
const De = e.object({
|
|
636
661
|
id: e.string(),
|
|
637
662
|
type: e.literal(
|
|
638
663
|
"STEP"
|
|
@@ -641,10 +666,10 @@ const je = e.object({
|
|
|
641
666
|
coordinates: m,
|
|
642
667
|
alias: e.string().optional(),
|
|
643
668
|
config: e.object({
|
|
644
|
-
components: e.array(
|
|
669
|
+
components: e.array(je),
|
|
645
670
|
next_node: e.string()
|
|
646
671
|
}).passthrough()
|
|
647
|
-
}),
|
|
672
|
+
}), Le = e.object({
|
|
648
673
|
id: e.string(),
|
|
649
674
|
type: e.literal(
|
|
650
675
|
"FLOW"
|
|
@@ -656,7 +681,7 @@ const je = e.object({
|
|
|
656
681
|
flow_id: e.string(),
|
|
657
682
|
next_node: e.string()
|
|
658
683
|
})
|
|
659
|
-
}),
|
|
684
|
+
}), ve = e.object({
|
|
660
685
|
id: e.string(),
|
|
661
686
|
type: e.literal(
|
|
662
687
|
"ACTION"
|
|
@@ -678,43 +703,43 @@ const je = e.object({
|
|
|
678
703
|
description: "The next node to navigate to after action (for non-redirect actions)"
|
|
679
704
|
})
|
|
680
705
|
}).passthrough()
|
|
681
|
-
}),
|
|
706
|
+
}), ke = e.object({
|
|
682
707
|
id: e.string(),
|
|
683
708
|
type: e.string(),
|
|
684
709
|
coordinates: m
|
|
685
|
-
}).passthrough(),
|
|
686
|
-
je,
|
|
687
|
-
Re,
|
|
710
|
+
}).passthrough(), Ue = e.union([
|
|
688
711
|
De,
|
|
689
|
-
Le
|
|
690
|
-
|
|
712
|
+
Le,
|
|
713
|
+
ve,
|
|
714
|
+
ke
|
|
715
|
+
]), Fe = e.object({
|
|
691
716
|
next_node: e.string(),
|
|
692
717
|
coordinates: m
|
|
693
|
-
}).passthrough(),
|
|
718
|
+
}).passthrough(), xe = e.object({
|
|
694
719
|
resume_flow: e.boolean().optional(),
|
|
695
720
|
coordinates: m
|
|
696
|
-
}).passthrough(),
|
|
721
|
+
}).passthrough(), Pe = e.object({
|
|
697
722
|
id: e.string(),
|
|
698
723
|
name: e.string(),
|
|
699
724
|
languages: e.object({
|
|
700
725
|
primary: e.string()
|
|
701
726
|
}).passthrough(),
|
|
702
|
-
nodes: e.array(
|
|
703
|
-
start:
|
|
704
|
-
ending:
|
|
727
|
+
nodes: e.array(Ue),
|
|
728
|
+
start: Fe,
|
|
729
|
+
ending: xe,
|
|
705
730
|
created_at: e.string(),
|
|
706
731
|
updated_at: e.string(),
|
|
707
732
|
links: e.object({
|
|
708
733
|
sdkSrc: e.string().optional(),
|
|
709
734
|
sdk_src: e.string().optional()
|
|
710
735
|
}).passthrough()
|
|
711
|
-
}).passthrough(),
|
|
736
|
+
}).passthrough(), qo = Pe.omit({
|
|
712
737
|
id: !0,
|
|
713
738
|
created_at: !0,
|
|
714
739
|
updated_at: !0
|
|
715
740
|
});
|
|
716
741
|
var D = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(D || {}), L = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(L || {}), v = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(v || {});
|
|
717
|
-
const
|
|
742
|
+
const Me = e.object({
|
|
718
743
|
client_id: e.string(),
|
|
719
744
|
act_as: e.string().optional(),
|
|
720
745
|
response_type: e.nativeEnum(D).optional(),
|
|
@@ -738,7 +763,7 @@ const xe = e.object({
|
|
|
738
763
|
acr_values: e.string().optional(),
|
|
739
764
|
// The following fields are not available in Auth0
|
|
740
765
|
vendor_id: e.string().optional()
|
|
741
|
-
}),
|
|
766
|
+
}), Xo = e.object({
|
|
742
767
|
colors: e.object({
|
|
743
768
|
primary: e.string(),
|
|
744
769
|
page_background: e.object({
|
|
@@ -754,7 +779,7 @@ const xe = e.object({
|
|
|
754
779
|
font: e.object({
|
|
755
780
|
url: e.string()
|
|
756
781
|
}).optional()
|
|
757
|
-
}),
|
|
782
|
+
}), He = e.enum([
|
|
758
783
|
"password_reset",
|
|
759
784
|
"email_verification",
|
|
760
785
|
"otp",
|
|
@@ -762,7 +787,7 @@ const xe = e.object({
|
|
|
762
787
|
"authorization_code",
|
|
763
788
|
"oauth2_state",
|
|
764
789
|
"ticket"
|
|
765
|
-
]),
|
|
790
|
+
]), Ge = e.object({
|
|
766
791
|
code_id: e.string().openapi({
|
|
767
792
|
description: "The code that will be used in for instance an email verification flow"
|
|
768
793
|
}),
|
|
@@ -772,7 +797,7 @@ const xe = e.object({
|
|
|
772
797
|
connection_id: e.string().optional().openapi({
|
|
773
798
|
description: "The connection that the code is connected to"
|
|
774
799
|
}),
|
|
775
|
-
code_type:
|
|
800
|
+
code_type: He,
|
|
776
801
|
code_verifier: e.string().optional().openapi({
|
|
777
802
|
description: "The code verifier used in PKCE in outbound flows"
|
|
778
803
|
}),
|
|
@@ -797,10 +822,10 @@ const xe = e.object({
|
|
|
797
822
|
expires_at: e.string(),
|
|
798
823
|
used_at: e.string().optional(),
|
|
799
824
|
user_id: e.string().optional()
|
|
800
|
-
}),
|
|
801
|
-
...
|
|
825
|
+
}), Vo = e.object({
|
|
826
|
+
...Ge.shape,
|
|
802
827
|
created_at: e.string()
|
|
803
|
-
}),
|
|
828
|
+
}), Be = e.object({
|
|
804
829
|
kid: e.string().optional(),
|
|
805
830
|
team_id: e.string().optional(),
|
|
806
831
|
realms: e.string().optional(),
|
|
@@ -912,12 +937,12 @@ const xe = e.object({
|
|
|
912
937
|
}).optional(),
|
|
913
938
|
// Controls when root user attributes are updated from external IdP
|
|
914
939
|
set_user_root_attributes: e.enum(["on_each_login", "on_first_login", "never_on_login"]).optional()
|
|
915
|
-
}),
|
|
940
|
+
}), We = e.object({
|
|
916
941
|
id: e.string().optional(),
|
|
917
942
|
name: e.string(),
|
|
918
943
|
display_name: e.string().optional(),
|
|
919
944
|
strategy: e.string(),
|
|
920
|
-
options:
|
|
945
|
+
options: Be.default({}),
|
|
921
946
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
922
947
|
response_type: e.custom().optional(),
|
|
923
948
|
response_mode: e.custom().optional(),
|
|
@@ -925,11 +950,11 @@ const xe = e.object({
|
|
|
925
950
|
show_as_button: e.boolean().optional(),
|
|
926
951
|
metadata: e.record(e.any()).optional(),
|
|
927
952
|
is_system: e.boolean().optional()
|
|
928
|
-
}),
|
|
953
|
+
}), Yo = e.object({
|
|
929
954
|
id: e.string(),
|
|
930
955
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
931
956
|
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
932
|
-
}).extend(
|
|
957
|
+
}).extend(We.shape), Ke = e.object({
|
|
933
958
|
domain: e.string(),
|
|
934
959
|
custom_domain_id: e.string().optional(),
|
|
935
960
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -943,7 +968,7 @@ const xe = e.object({
|
|
|
943
968
|
"null"
|
|
944
969
|
]).optional(),
|
|
945
970
|
domain_metadata: e.record(e.string().max(255)).optional()
|
|
946
|
-
}),
|
|
971
|
+
}), ze = e.discriminatedUnion("name", [
|
|
947
972
|
e.object({
|
|
948
973
|
name: e.literal("txt"),
|
|
949
974
|
record: e.string(),
|
|
@@ -954,17 +979,17 @@ const xe = e.object({
|
|
|
954
979
|
http_body: e.string(),
|
|
955
980
|
http_url: e.string()
|
|
956
981
|
})
|
|
957
|
-
]),
|
|
958
|
-
...
|
|
982
|
+
]), qe = e.object({
|
|
983
|
+
...Ke.shape,
|
|
959
984
|
custom_domain_id: e.string(),
|
|
960
985
|
primary: e.boolean(),
|
|
961
986
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
962
987
|
origin_domain_name: e.string().optional(),
|
|
963
988
|
verification: e.object({
|
|
964
|
-
methods: e.array(
|
|
989
|
+
methods: e.array(ze)
|
|
965
990
|
}).optional(),
|
|
966
991
|
tls_policy: e.string().optional()
|
|
967
|
-
}),
|
|
992
|
+
}), Qo = qe.extend({
|
|
968
993
|
tenant_id: e.string()
|
|
969
994
|
}), C = e.object({
|
|
970
995
|
id: e.string(),
|
|
@@ -972,17 +997,17 @@ const xe = e.object({
|
|
|
972
997
|
visible: e.boolean().optional().default(!0)
|
|
973
998
|
}), l = C.extend({
|
|
974
999
|
category: e.literal("BLOCK").optional()
|
|
975
|
-
}),
|
|
1000
|
+
}), Xe = l.extend({
|
|
976
1001
|
type: e.literal("DIVIDER"),
|
|
977
1002
|
config: e.object({
|
|
978
1003
|
text: e.string().optional()
|
|
979
1004
|
}).optional()
|
|
980
|
-
}),
|
|
1005
|
+
}), Ve = l.extend({
|
|
981
1006
|
type: e.literal("HTML"),
|
|
982
1007
|
config: e.object({
|
|
983
1008
|
content: e.string().optional()
|
|
984
1009
|
}).optional()
|
|
985
|
-
}),
|
|
1010
|
+
}), Ye = l.extend({
|
|
986
1011
|
type: e.literal("IMAGE"),
|
|
987
1012
|
config: e.object({
|
|
988
1013
|
src: e.string().optional(),
|
|
@@ -990,29 +1015,29 @@ const xe = e.object({
|
|
|
990
1015
|
width: e.number().optional(),
|
|
991
1016
|
height: e.number().optional()
|
|
992
1017
|
}).optional()
|
|
993
|
-
}),
|
|
1018
|
+
}), Qe = l.extend({
|
|
994
1019
|
type: e.literal("JUMP_BUTTON"),
|
|
995
1020
|
config: e.object({
|
|
996
1021
|
text: e.string().optional(),
|
|
997
1022
|
target_step: e.string().optional()
|
|
998
1023
|
})
|
|
999
|
-
}),
|
|
1024
|
+
}), Ze = l.extend({
|
|
1000
1025
|
type: e.literal("RESEND_BUTTON"),
|
|
1001
1026
|
config: e.object({
|
|
1002
1027
|
text: e.string().optional(),
|
|
1003
1028
|
resend_action: e.string().optional()
|
|
1004
1029
|
})
|
|
1005
|
-
}),
|
|
1030
|
+
}), $e = l.extend({
|
|
1006
1031
|
type: e.literal("NEXT_BUTTON"),
|
|
1007
1032
|
config: e.object({
|
|
1008
1033
|
text: e.string().optional()
|
|
1009
1034
|
})
|
|
1010
|
-
}),
|
|
1035
|
+
}), Je = l.extend({
|
|
1011
1036
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
1012
1037
|
config: e.object({
|
|
1013
1038
|
text: e.string().optional()
|
|
1014
1039
|
})
|
|
1015
|
-
}),
|
|
1040
|
+
}), et = l.extend({
|
|
1016
1041
|
type: e.literal("RICH_TEXT"),
|
|
1017
1042
|
config: e.object({
|
|
1018
1043
|
content: e.string().optional()
|
|
@@ -1023,17 +1048,17 @@ const xe = e.object({
|
|
|
1023
1048
|
hint: e.string().min(1).max(500).optional(),
|
|
1024
1049
|
required: e.boolean().optional(),
|
|
1025
1050
|
sensitive: e.boolean().optional()
|
|
1026
|
-
}),
|
|
1051
|
+
}), tt = T.extend({
|
|
1027
1052
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
1028
1053
|
config: e.object({
|
|
1029
1054
|
credential_type: e.string().optional()
|
|
1030
1055
|
})
|
|
1031
|
-
}),
|
|
1056
|
+
}), ot = T.extend({
|
|
1032
1057
|
type: e.literal("GMAPS_ADDRESS"),
|
|
1033
1058
|
config: e.object({
|
|
1034
1059
|
api_key: e.string().optional()
|
|
1035
1060
|
})
|
|
1036
|
-
}),
|
|
1061
|
+
}), nt = T.extend({
|
|
1037
1062
|
type: e.literal("RECAPTCHA"),
|
|
1038
1063
|
config: e.object({
|
|
1039
1064
|
site_key: e.string().optional()
|
|
@@ -1051,12 +1076,12 @@ const xe = e.object({
|
|
|
1051
1076
|
).optional(),
|
|
1052
1077
|
required: e.boolean().optional(),
|
|
1053
1078
|
sensitive: e.boolean().optional()
|
|
1054
|
-
}),
|
|
1079
|
+
}), it = n.extend({
|
|
1055
1080
|
type: e.literal("BOOLEAN"),
|
|
1056
1081
|
config: e.object({
|
|
1057
1082
|
default_value: e.boolean().optional()
|
|
1058
1083
|
}).optional()
|
|
1059
|
-
}),
|
|
1084
|
+
}), at = n.extend({
|
|
1060
1085
|
type: e.literal("CARDS"),
|
|
1061
1086
|
config: e.object({
|
|
1062
1087
|
options: e.array(
|
|
@@ -1069,7 +1094,7 @@ const xe = e.object({
|
|
|
1069
1094
|
).optional(),
|
|
1070
1095
|
multi_select: e.boolean().optional()
|
|
1071
1096
|
}).optional()
|
|
1072
|
-
}),
|
|
1097
|
+
}), st = n.extend({
|
|
1073
1098
|
type: e.literal("CHOICE"),
|
|
1074
1099
|
config: e.object({
|
|
1075
1100
|
options: e.array(
|
|
@@ -1082,7 +1107,7 @@ const xe = e.object({
|
|
|
1082
1107
|
multiple: e.boolean().optional(),
|
|
1083
1108
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1084
1109
|
}).optional()
|
|
1085
|
-
}),
|
|
1110
|
+
}), rt = n.extend({
|
|
1086
1111
|
type: e.literal("CUSTOM"),
|
|
1087
1112
|
config: e.object({
|
|
1088
1113
|
component: e.string().optional(),
|
|
@@ -1090,7 +1115,7 @@ const xe = e.object({
|
|
|
1090
1115
|
schema: e.record(e.any()).optional(),
|
|
1091
1116
|
code: e.string().optional()
|
|
1092
1117
|
})
|
|
1093
|
-
}),
|
|
1118
|
+
}), lt = n.extend({
|
|
1094
1119
|
type: e.literal("DATE"),
|
|
1095
1120
|
config: e.object({
|
|
1096
1121
|
format: e.string().optional(),
|
|
@@ -1098,7 +1123,7 @@ const xe = e.object({
|
|
|
1098
1123
|
max: e.string().optional(),
|
|
1099
1124
|
default_value: e.string().optional()
|
|
1100
1125
|
}).optional()
|
|
1101
|
-
}),
|
|
1126
|
+
}), ct = n.extend({
|
|
1102
1127
|
type: e.literal("DROPDOWN"),
|
|
1103
1128
|
config: e.object({
|
|
1104
1129
|
options: e.array(
|
|
@@ -1112,26 +1137,26 @@ const xe = e.object({
|
|
|
1112
1137
|
multiple: e.boolean().optional(),
|
|
1113
1138
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1114
1139
|
}).optional()
|
|
1115
|
-
}),
|
|
1140
|
+
}), pt = n.extend({
|
|
1116
1141
|
type: e.literal("EMAIL"),
|
|
1117
1142
|
config: e.object({
|
|
1118
1143
|
placeholder: e.string().optional(),
|
|
1119
1144
|
default_value: e.string().optional()
|
|
1120
1145
|
}).optional()
|
|
1121
|
-
}),
|
|
1146
|
+
}), _t = n.extend({
|
|
1122
1147
|
type: e.literal("FILE"),
|
|
1123
1148
|
config: e.object({
|
|
1124
1149
|
accept: e.string().optional(),
|
|
1125
1150
|
max_size: e.number().optional(),
|
|
1126
1151
|
multiple: e.boolean().optional()
|
|
1127
1152
|
}).optional()
|
|
1128
|
-
}),
|
|
1153
|
+
}), dt = n.extend({
|
|
1129
1154
|
type: e.literal("LEGAL"),
|
|
1130
1155
|
config: e.object({
|
|
1131
1156
|
text: e.string(),
|
|
1132
1157
|
html: e.boolean().optional()
|
|
1133
1158
|
}).optional()
|
|
1134
|
-
}),
|
|
1159
|
+
}), gt = n.extend({
|
|
1135
1160
|
type: e.literal("NUMBER"),
|
|
1136
1161
|
config: e.object({
|
|
1137
1162
|
placeholder: e.string().optional(),
|
|
@@ -1140,7 +1165,7 @@ const xe = e.object({
|
|
|
1140
1165
|
step: e.number().optional(),
|
|
1141
1166
|
default_value: e.string().optional()
|
|
1142
1167
|
}).optional()
|
|
1143
|
-
}),
|
|
1168
|
+
}), ut = n.extend({
|
|
1144
1169
|
type: e.literal("PASSWORD"),
|
|
1145
1170
|
config: e.object({
|
|
1146
1171
|
placeholder: e.string().optional(),
|
|
@@ -1149,13 +1174,13 @@ const xe = e.object({
|
|
|
1149
1174
|
forgot_password_link: e.string().optional(),
|
|
1150
1175
|
default_value: e.string().optional()
|
|
1151
1176
|
}).optional()
|
|
1152
|
-
}),
|
|
1177
|
+
}), mt = n.extend({
|
|
1153
1178
|
type: e.literal("PAYMENT"),
|
|
1154
1179
|
config: e.object({
|
|
1155
1180
|
provider: e.string().optional(),
|
|
1156
1181
|
currency: e.string().optional()
|
|
1157
1182
|
}).optional()
|
|
1158
|
-
}),
|
|
1183
|
+
}), ht = n.extend({
|
|
1159
1184
|
type: e.literal("SOCIAL"),
|
|
1160
1185
|
config: e.object({
|
|
1161
1186
|
providers: e.array(e.string()).optional(),
|
|
@@ -1170,7 +1195,7 @@ const xe = e.object({
|
|
|
1170
1195
|
})
|
|
1171
1196
|
).optional()
|
|
1172
1197
|
}).optional()
|
|
1173
|
-
}),
|
|
1198
|
+
}), bt = n.extend({
|
|
1174
1199
|
type: e.literal("TEL"),
|
|
1175
1200
|
config: e.object({
|
|
1176
1201
|
placeholder: e.string().optional(),
|
|
@@ -1178,7 +1203,7 @@ const xe = e.object({
|
|
|
1178
1203
|
default_value: e.string().optional(),
|
|
1179
1204
|
allow_email: e.boolean().optional()
|
|
1180
1205
|
}).optional()
|
|
1181
|
-
}),
|
|
1206
|
+
}), ft = n.extend({
|
|
1182
1207
|
type: e.literal("TEXT"),
|
|
1183
1208
|
config: e.object({
|
|
1184
1209
|
placeholder: e.string().optional(),
|
|
@@ -1186,38 +1211,36 @@ const xe = e.object({
|
|
|
1186
1211
|
max_length: e.number().optional(),
|
|
1187
1212
|
default_value: e.string().optional()
|
|
1188
1213
|
}).optional()
|
|
1189
|
-
}),
|
|
1214
|
+
}), Et = n.extend({
|
|
1190
1215
|
type: e.literal("COUNTRY"),
|
|
1191
1216
|
config: e.object({
|
|
1192
1217
|
placeholder: e.string().optional(),
|
|
1193
1218
|
default_value: e.string().optional()
|
|
1194
1219
|
}).optional()
|
|
1195
|
-
}),
|
|
1220
|
+
}), St = n.extend({
|
|
1196
1221
|
type: e.literal("URL"),
|
|
1197
1222
|
config: e.object({
|
|
1198
1223
|
placeholder: e.string().optional(),
|
|
1199
1224
|
default_value: e.string().optional()
|
|
1200
1225
|
}).optional()
|
|
1201
|
-
}),
|
|
1202
|
-
ze,
|
|
1203
|
-
qe,
|
|
1226
|
+
}), At = e.discriminatedUnion("type", [
|
|
1204
1227
|
Xe,
|
|
1205
1228
|
Ve,
|
|
1206
1229
|
Ye,
|
|
1207
1230
|
Qe,
|
|
1208
1231
|
Ze,
|
|
1209
|
-
$e
|
|
1210
|
-
]), St = e.discriminatedUnion("type", [
|
|
1232
|
+
$e,
|
|
1211
1233
|
Je,
|
|
1212
|
-
et
|
|
1213
|
-
|
|
1214
|
-
|
|
1234
|
+
et
|
|
1235
|
+
]), yt = e.discriminatedUnion("type", [
|
|
1236
|
+
tt,
|
|
1215
1237
|
ot,
|
|
1216
|
-
nt
|
|
1238
|
+
nt
|
|
1239
|
+
]), It = e.discriminatedUnion("type", [
|
|
1217
1240
|
it,
|
|
1218
|
-
bt,
|
|
1219
1241
|
at,
|
|
1220
1242
|
st,
|
|
1243
|
+
Et,
|
|
1221
1244
|
rt,
|
|
1222
1245
|
lt,
|
|
1223
1246
|
ct,
|
|
@@ -1228,12 +1251,14 @@ const xe = e.object({
|
|
|
1228
1251
|
ut,
|
|
1229
1252
|
mt,
|
|
1230
1253
|
ht,
|
|
1231
|
-
|
|
1254
|
+
bt,
|
|
1255
|
+
ft,
|
|
1256
|
+
St
|
|
1232
1257
|
]), k = e.union([
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
]),
|
|
1258
|
+
At,
|
|
1259
|
+
yt,
|
|
1260
|
+
It
|
|
1261
|
+
]), Zo = /* @__PURE__ */ new Set([
|
|
1237
1262
|
"BOOLEAN",
|
|
1238
1263
|
"CARDS",
|
|
1239
1264
|
"CHOICE",
|
|
@@ -1247,7 +1272,7 @@ const xe = e.object({
|
|
|
1247
1272
|
"TEL",
|
|
1248
1273
|
"TEXT",
|
|
1249
1274
|
"URL"
|
|
1250
|
-
]),
|
|
1275
|
+
]), $o = e.object({
|
|
1251
1276
|
id: e.string(),
|
|
1252
1277
|
type: e.literal("submit"),
|
|
1253
1278
|
label: e.string(),
|
|
@@ -1259,7 +1284,7 @@ const xe = e.object({
|
|
|
1259
1284
|
}), f = e.object({
|
|
1260
1285
|
x: e.number(),
|
|
1261
1286
|
y: e.number()
|
|
1262
|
-
}),
|
|
1287
|
+
}), Ct = e.object({
|
|
1263
1288
|
id: e.string(),
|
|
1264
1289
|
type: e.literal("FLOW"),
|
|
1265
1290
|
coordinates: f,
|
|
@@ -1268,7 +1293,7 @@ const xe = e.object({
|
|
|
1268
1293
|
flow_id: e.string().max(30),
|
|
1269
1294
|
next_node: e.string().optional()
|
|
1270
1295
|
})
|
|
1271
|
-
}),
|
|
1296
|
+
}), Tt = e.object({
|
|
1272
1297
|
id: e.string(),
|
|
1273
1298
|
type: e.literal("ROUTER"),
|
|
1274
1299
|
coordinates: f,
|
|
@@ -1284,7 +1309,7 @@ const xe = e.object({
|
|
|
1284
1309
|
),
|
|
1285
1310
|
fallback: e.string()
|
|
1286
1311
|
})
|
|
1287
|
-
}),
|
|
1312
|
+
}), Ot = e.object({
|
|
1288
1313
|
id: e.string(),
|
|
1289
1314
|
type: e.literal("STEP"),
|
|
1290
1315
|
coordinates: f,
|
|
@@ -1293,11 +1318,11 @@ const xe = e.object({
|
|
|
1293
1318
|
components: e.array(k),
|
|
1294
1319
|
next_node: e.string().optional()
|
|
1295
1320
|
})
|
|
1296
|
-
}),
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
]),
|
|
1321
|
+
}), Nt = e.discriminatedUnion("type", [
|
|
1322
|
+
Ct,
|
|
1323
|
+
Tt,
|
|
1324
|
+
Ot
|
|
1325
|
+
]), wt = e.object({
|
|
1301
1326
|
name: e.string().openapi({
|
|
1302
1327
|
description: "The name of the form"
|
|
1303
1328
|
}),
|
|
@@ -1310,7 +1335,7 @@ const xe = e.object({
|
|
|
1310
1335
|
default: e.string().optional()
|
|
1311
1336
|
}).optional(),
|
|
1312
1337
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1313
|
-
nodes: e.array(
|
|
1338
|
+
nodes: e.array(Nt).optional(),
|
|
1314
1339
|
start: e.object({
|
|
1315
1340
|
hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
|
|
1316
1341
|
next_node: e.string().optional(),
|
|
@@ -1332,20 +1357,20 @@ const xe = e.object({
|
|
|
1332
1357
|
}).optional()
|
|
1333
1358
|
}).openapi({
|
|
1334
1359
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1335
|
-
}),
|
|
1360
|
+
}), Jo = e.object({
|
|
1336
1361
|
...s.shape,
|
|
1337
|
-
...
|
|
1362
|
+
...wt.shape,
|
|
1338
1363
|
id: e.string()
|
|
1339
|
-
}),
|
|
1364
|
+
}), jt = e.object({
|
|
1340
1365
|
id: e.number().optional(),
|
|
1341
1366
|
text: e.string(),
|
|
1342
1367
|
type: e.enum(["info", "error", "success", "warning"])
|
|
1343
|
-
}),
|
|
1368
|
+
}), Rt = e.object({
|
|
1344
1369
|
id: e.string().optional(),
|
|
1345
1370
|
text: e.string(),
|
|
1346
1371
|
href: e.string(),
|
|
1347
1372
|
linkText: e.string().optional()
|
|
1348
|
-
}),
|
|
1373
|
+
}), en = e.object({
|
|
1349
1374
|
/** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
|
|
1350
1375
|
name: e.string().optional(),
|
|
1351
1376
|
action: e.string(),
|
|
@@ -1353,18 +1378,18 @@ const xe = e.object({
|
|
|
1353
1378
|
title: e.string().optional(),
|
|
1354
1379
|
description: e.string().optional(),
|
|
1355
1380
|
components: e.array(k),
|
|
1356
|
-
messages: e.array(
|
|
1357
|
-
links: e.array(
|
|
1381
|
+
messages: e.array(jt).optional(),
|
|
1382
|
+
links: e.array(Rt).optional(),
|
|
1358
1383
|
/** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
|
|
1359
1384
|
footer: e.string().optional()
|
|
1360
1385
|
});
|
|
1361
|
-
function
|
|
1386
|
+
function tn(t) {
|
|
1362
1387
|
return t.category === "BLOCK";
|
|
1363
1388
|
}
|
|
1364
|
-
function
|
|
1389
|
+
function on(t) {
|
|
1365
1390
|
return t.category === "WIDGET";
|
|
1366
1391
|
}
|
|
1367
|
-
function
|
|
1392
|
+
function nn(t) {
|
|
1368
1393
|
return t.category === "FIELD";
|
|
1369
1394
|
}
|
|
1370
1395
|
const U = e.enum([
|
|
@@ -1393,7 +1418,7 @@ const U = e.enum([
|
|
|
1393
1418
|
]), M = e.enum([
|
|
1394
1419
|
"ensure-username",
|
|
1395
1420
|
"set-preferred-username"
|
|
1396
|
-
]),
|
|
1421
|
+
]), an = {
|
|
1397
1422
|
"ensure-username": {
|
|
1398
1423
|
name: "Ensure Username",
|
|
1399
1424
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1409,71 +1434,71 @@ const U = e.enum([
|
|
|
1409
1434
|
synchronous: e.boolean().default(!1),
|
|
1410
1435
|
priority: e.number().optional(),
|
|
1411
1436
|
hook_id: e.string().optional()
|
|
1412
|
-
},
|
|
1437
|
+
}, Dt = e.object({
|
|
1413
1438
|
...c,
|
|
1414
1439
|
trigger_id: U,
|
|
1415
1440
|
url: e.string()
|
|
1416
|
-
}),
|
|
1441
|
+
}), Lt = e.object({
|
|
1417
1442
|
...c,
|
|
1418
1443
|
trigger_id: F,
|
|
1419
1444
|
form_id: e.string()
|
|
1420
|
-
}),
|
|
1445
|
+
}), vt = e.object({
|
|
1421
1446
|
...c,
|
|
1422
1447
|
trigger_id: x,
|
|
1423
1448
|
template_id: M
|
|
1424
|
-
}),
|
|
1449
|
+
}), kt = e.object({
|
|
1425
1450
|
...c,
|
|
1426
1451
|
trigger_id: P,
|
|
1427
1452
|
code_id: e.string()
|
|
1428
|
-
}),
|
|
1429
|
-
jt,
|
|
1430
|
-
Rt,
|
|
1453
|
+
}), sn = e.union([
|
|
1431
1454
|
Dt,
|
|
1432
|
-
Lt
|
|
1433
|
-
|
|
1455
|
+
Lt,
|
|
1456
|
+
vt,
|
|
1457
|
+
kt
|
|
1458
|
+
]), Ut = e.object({
|
|
1434
1459
|
...c,
|
|
1435
1460
|
trigger_id: U,
|
|
1436
1461
|
...s.shape,
|
|
1437
1462
|
hook_id: e.string(),
|
|
1438
1463
|
url: e.string()
|
|
1439
|
-
}),
|
|
1464
|
+
}), Ft = e.object({
|
|
1440
1465
|
...c,
|
|
1441
1466
|
trigger_id: F,
|
|
1442
1467
|
...s.shape,
|
|
1443
1468
|
hook_id: e.string(),
|
|
1444
1469
|
form_id: e.string()
|
|
1445
|
-
}),
|
|
1470
|
+
}), xt = e.object({
|
|
1446
1471
|
...c,
|
|
1447
1472
|
trigger_id: x,
|
|
1448
1473
|
...s.shape,
|
|
1449
1474
|
hook_id: e.string(),
|
|
1450
1475
|
template_id: M
|
|
1451
|
-
}),
|
|
1476
|
+
}), Pt = e.object({
|
|
1452
1477
|
...c,
|
|
1453
1478
|
trigger_id: P,
|
|
1454
1479
|
...s.shape,
|
|
1455
1480
|
hook_id: e.string(),
|
|
1456
1481
|
code_id: e.string()
|
|
1457
|
-
}),
|
|
1458
|
-
vt,
|
|
1459
|
-
kt,
|
|
1482
|
+
}), rn = e.union([
|
|
1460
1483
|
Ut,
|
|
1461
|
-
Ft
|
|
1462
|
-
|
|
1484
|
+
Ft,
|
|
1485
|
+
xt,
|
|
1486
|
+
Pt
|
|
1487
|
+
]), Mt = e.object({
|
|
1463
1488
|
code: e.string().max(1e5),
|
|
1464
1489
|
secrets: e.record(e.string()).optional()
|
|
1465
|
-
}),
|
|
1490
|
+
}), ln = Mt.extend({
|
|
1466
1491
|
id: e.string(),
|
|
1467
1492
|
tenant_id: e.string(),
|
|
1468
1493
|
...s.shape
|
|
1469
|
-
}),
|
|
1494
|
+
}), Ht = e.object({
|
|
1470
1495
|
name: e.string().optional()
|
|
1471
|
-
}),
|
|
1496
|
+
}), Gt = e.object({
|
|
1472
1497
|
email: e.string().optional()
|
|
1473
|
-
}),
|
|
1498
|
+
}), Bt = e.object({
|
|
1474
1499
|
organization_id: e.string().max(50),
|
|
1475
|
-
inviter:
|
|
1476
|
-
invitee:
|
|
1500
|
+
inviter: Ht,
|
|
1501
|
+
invitee: Gt,
|
|
1477
1502
|
invitation_url: e.string().url(),
|
|
1478
1503
|
client_id: e.string(),
|
|
1479
1504
|
connection_id: e.string().optional(),
|
|
@@ -1482,13 +1507,13 @@ const U = e.enum([
|
|
|
1482
1507
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1483
1508
|
roles: e.array(e.string()).default([]).optional(),
|
|
1484
1509
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1485
|
-
}),
|
|
1510
|
+
}), cn = e.object({
|
|
1486
1511
|
id: e.string(),
|
|
1487
1512
|
organization_id: e.string().max(50),
|
|
1488
1513
|
created_at: e.string().datetime(),
|
|
1489
1514
|
expires_at: e.string().datetime(),
|
|
1490
1515
|
ticket_id: e.string().optional()
|
|
1491
|
-
}).extend(
|
|
1516
|
+
}).extend(Bt.shape), Wt = e.object({
|
|
1492
1517
|
alg: e.enum([
|
|
1493
1518
|
"RS256",
|
|
1494
1519
|
"RS384",
|
|
@@ -1507,9 +1532,9 @@ const U = e.enum([
|
|
|
1507
1532
|
x5t: e.string().optional(),
|
|
1508
1533
|
x5c: e.array(e.string()).optional(),
|
|
1509
1534
|
use: e.enum(["sig", "enc"]).optional()
|
|
1510
|
-
}),
|
|
1511
|
-
keys: e.array(
|
|
1512
|
-
}),
|
|
1535
|
+
}), pn = e.object({
|
|
1536
|
+
keys: e.array(Wt)
|
|
1537
|
+
}), _n = e.object({
|
|
1513
1538
|
issuer: e.string(),
|
|
1514
1539
|
authorization_endpoint: e.string(),
|
|
1515
1540
|
token_endpoint: e.string(),
|
|
@@ -1517,7 +1542,7 @@ const U = e.enum([
|
|
|
1517
1542
|
userinfo_endpoint: e.string(),
|
|
1518
1543
|
mfa_challenge_endpoint: e.string(),
|
|
1519
1544
|
jwks_uri: e.string(),
|
|
1520
|
-
registration_endpoint: e.string(),
|
|
1545
|
+
registration_endpoint: e.string().optional(),
|
|
1521
1546
|
revocation_endpoint: e.string(),
|
|
1522
1547
|
scopes_supported: e.array(e.string()),
|
|
1523
1548
|
response_types_supported: e.array(e.string()),
|
|
@@ -1532,20 +1557,20 @@ const U = e.enum([
|
|
|
1532
1557
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
1533
1558
|
});
|
|
1534
1559
|
var H = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_MFA = "awaiting_mfa", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(H || {});
|
|
1535
|
-
const
|
|
1560
|
+
const Kt = e.nativeEnum(H), zt = e.object({
|
|
1536
1561
|
strategy: e.string(),
|
|
1537
1562
|
strategy_type: e.string()
|
|
1538
|
-
}),
|
|
1563
|
+
}), qt = e.object({
|
|
1539
1564
|
csrf_token: e.string(),
|
|
1540
1565
|
auth0Client: e.string().optional(),
|
|
1541
|
-
authParams:
|
|
1566
|
+
authParams: Me,
|
|
1542
1567
|
expires_at: e.string(),
|
|
1543
1568
|
deleted_at: e.string().optional(),
|
|
1544
1569
|
ip: e.string().optional(),
|
|
1545
1570
|
useragent: e.string().optional(),
|
|
1546
1571
|
session_id: e.string().optional(),
|
|
1547
1572
|
authorization_url: e.string().optional(),
|
|
1548
|
-
state:
|
|
1573
|
+
state: Kt.optional().default(
|
|
1549
1574
|
"pending"
|
|
1550
1575
|
/* PENDING */
|
|
1551
1576
|
),
|
|
@@ -1556,19 +1581,19 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1556
1581
|
// Set once user is authenticated
|
|
1557
1582
|
auth_connection: e.string().optional(),
|
|
1558
1583
|
// The connection used to authenticate (may differ from primary user's connection)
|
|
1559
|
-
auth_strategy:
|
|
1584
|
+
auth_strategy: zt.optional(),
|
|
1560
1585
|
authenticated_at: e.string().optional()
|
|
1561
1586
|
// ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
|
|
1562
1587
|
}).openapi({
|
|
1563
1588
|
description: "This represents a login sesion"
|
|
1564
|
-
}),
|
|
1565
|
-
...
|
|
1589
|
+
}), dn = e.object({
|
|
1590
|
+
...qt.shape,
|
|
1566
1591
|
id: e.string().openapi({
|
|
1567
1592
|
description: "This is is used as the state in the universal login"
|
|
1568
1593
|
}),
|
|
1569
1594
|
created_at: e.string(),
|
|
1570
1595
|
updated_at: e.string()
|
|
1571
|
-
}),
|
|
1596
|
+
}), Xt = {
|
|
1572
1597
|
// Network & System
|
|
1573
1598
|
ACLS_SUMMARY: "acls_summary",
|
|
1574
1599
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -1740,24 +1765,24 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1740
1765
|
WARNING_DURING_LOGIN: "w",
|
|
1741
1766
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1742
1767
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1743
|
-
},
|
|
1744
|
-
(t) => Object.values(
|
|
1768
|
+
}, Vt = e.string().refine(
|
|
1769
|
+
(t) => Object.values(Xt).includes(t),
|
|
1745
1770
|
{ message: "Invalid log type" }
|
|
1746
|
-
),
|
|
1771
|
+
), Yt = e.object({
|
|
1747
1772
|
name: e.string(),
|
|
1748
1773
|
version: e.string(),
|
|
1749
1774
|
env: e.object({
|
|
1750
1775
|
node: e.string().optional()
|
|
1751
1776
|
}).optional()
|
|
1752
|
-
}),
|
|
1777
|
+
}), Qt = e.object({
|
|
1753
1778
|
country_code: e.string().length(2),
|
|
1754
1779
|
city_name: e.string(),
|
|
1755
1780
|
latitude: e.string(),
|
|
1756
1781
|
longitude: e.string(),
|
|
1757
1782
|
time_zone: e.string(),
|
|
1758
1783
|
continent_code: e.string()
|
|
1759
|
-
}),
|
|
1760
|
-
type:
|
|
1784
|
+
}), Zt = e.object({
|
|
1785
|
+
type: Vt,
|
|
1761
1786
|
date: e.string(),
|
|
1762
1787
|
description: e.string().optional(),
|
|
1763
1788
|
ip: e.string().optional(),
|
|
@@ -1776,19 +1801,19 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1776
1801
|
strategy: e.string().optional(),
|
|
1777
1802
|
strategy_type: e.string().optional(),
|
|
1778
1803
|
hostname: e.string().optional(),
|
|
1779
|
-
auth0_client:
|
|
1804
|
+
auth0_client: Yt.optional(),
|
|
1780
1805
|
log_id: e.string().optional(),
|
|
1781
|
-
location_info:
|
|
1782
|
-
}),
|
|
1783
|
-
...
|
|
1806
|
+
location_info: Qt.optional()
|
|
1807
|
+
}), gn = e.object({
|
|
1808
|
+
...Zt.shape,
|
|
1784
1809
|
log_id: e.string()
|
|
1785
|
-
}),
|
|
1810
|
+
}), $t = e.object({
|
|
1786
1811
|
id: e.string().optional(),
|
|
1787
1812
|
user_id: e.string(),
|
|
1788
1813
|
password: e.string(),
|
|
1789
1814
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1790
1815
|
is_current: e.boolean().default(!0)
|
|
1791
|
-
}),
|
|
1816
|
+
}), un = $t.extend({
|
|
1792
1817
|
id: e.string(),
|
|
1793
1818
|
created_at: e.string(),
|
|
1794
1819
|
updated_at: e.string()
|
|
@@ -1799,7 +1824,7 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1799
1824
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1800
1825
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1801
1826
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1802
|
-
}),
|
|
1827
|
+
}), Jt = e.object({
|
|
1803
1828
|
id: e.string(),
|
|
1804
1829
|
revoked_at: e.string().optional(),
|
|
1805
1830
|
used_at: e.string().optional(),
|
|
@@ -1811,13 +1836,13 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1811
1836
|
"Metadata related to the device used in the session"
|
|
1812
1837
|
),
|
|
1813
1838
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1814
|
-
}),
|
|
1839
|
+
}), mn = e.object({
|
|
1815
1840
|
created_at: e.string(),
|
|
1816
1841
|
updated_at: e.string(),
|
|
1817
1842
|
authenticated_at: e.string(),
|
|
1818
1843
|
last_interaction_at: e.string(),
|
|
1819
|
-
...
|
|
1820
|
-
}),
|
|
1844
|
+
...Jt.shape
|
|
1845
|
+
}), hn = e.object({
|
|
1821
1846
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1822
1847
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
1823
1848
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -1842,7 +1867,7 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1842
1867
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
|
|
1843
1868
|
description: "The type of the signing key"
|
|
1844
1869
|
})
|
|
1845
|
-
}),
|
|
1870
|
+
}), eo = e.object({
|
|
1846
1871
|
id: e.string().optional(),
|
|
1847
1872
|
// Basic settings
|
|
1848
1873
|
audience: e.string(),
|
|
@@ -1893,6 +1918,15 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1893
1918
|
enable_client_connections: e.boolean().optional(),
|
|
1894
1919
|
enable_custom_domain_in_emails: e.boolean().optional(),
|
|
1895
1920
|
enable_dynamic_client_registration: e.boolean().optional(),
|
|
1921
|
+
// AuthHero extensions — not part of Auth0. Auth0 only supports Open DCR
|
|
1922
|
+
// and relies on tenant ACLs/rate limits; we implement RFC 7591 initial
|
|
1923
|
+
// access tokens and a per-tenant grant-type allowlist.
|
|
1924
|
+
dcr_require_initial_access_token: e.boolean().optional(),
|
|
1925
|
+
dcr_allowed_grant_types: e.array(e.string()).optional(),
|
|
1926
|
+
// Allowlist of `integration_type` values accepted by the
|
|
1927
|
+
// `/connect/start` consent-mediated IAT flow. Empty/undefined disables
|
|
1928
|
+
// the flow.
|
|
1929
|
+
dcr_allowed_integration_types: e.array(e.string()).optional(),
|
|
1896
1930
|
enable_idtoken_api2: e.boolean().optional(),
|
|
1897
1931
|
enable_legacy_logs_search_v2: e.boolean().optional(),
|
|
1898
1932
|
enable_legacy_profile: e.boolean().optional(),
|
|
@@ -1997,14 +2031,14 @@ const Bt = e.nativeEnum(H), Wt = e.object({
|
|
|
1997
2031
|
message: e.string().optional()
|
|
1998
2032
|
}).optional()
|
|
1999
2033
|
}).optional()
|
|
2000
|
-
}),
|
|
2034
|
+
}), bn = e.object({
|
|
2001
2035
|
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
2002
2036
|
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
2003
|
-
|
|
2037
|
+
...eo.shape,
|
|
2004
2038
|
id: e.string()
|
|
2005
2039
|
});
|
|
2006
|
-
var
|
|
2007
|
-
const
|
|
2040
|
+
var to = /* @__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))(to || {});
|
|
2041
|
+
const fn = e.object({
|
|
2008
2042
|
access_token: e.string(),
|
|
2009
2043
|
id_token: e.string().optional(),
|
|
2010
2044
|
scope: e.string().optional(),
|
|
@@ -2017,7 +2051,7 @@ e.object({
|
|
|
2017
2051
|
code: e.string(),
|
|
2018
2052
|
state: e.string().optional()
|
|
2019
2053
|
});
|
|
2020
|
-
const
|
|
2054
|
+
const oo = e.object({
|
|
2021
2055
|
button_border_radius: e.number(),
|
|
2022
2056
|
button_border_weight: e.number(),
|
|
2023
2057
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -2027,7 +2061,7 @@ const eo = e.object({
|
|
|
2027
2061
|
show_widget_shadow: e.boolean(),
|
|
2028
2062
|
widget_border_weight: e.number(),
|
|
2029
2063
|
widget_corner_radius: e.number()
|
|
2030
|
-
}),
|
|
2064
|
+
}), no = e.object({
|
|
2031
2065
|
base_focus_color: e.string(),
|
|
2032
2066
|
base_hover_color: e.string(),
|
|
2033
2067
|
body_text: e.string(),
|
|
@@ -2050,7 +2084,7 @@ const eo = e.object({
|
|
|
2050
2084
|
}), u = e.object({
|
|
2051
2085
|
bold: e.boolean(),
|
|
2052
2086
|
size: e.number()
|
|
2053
|
-
}),
|
|
2087
|
+
}), io = e.object({
|
|
2054
2088
|
body_text: u,
|
|
2055
2089
|
buttons_text: u,
|
|
2056
2090
|
font_url: e.string(),
|
|
@@ -2060,31 +2094,31 @@ const eo = e.object({
|
|
|
2060
2094
|
reference_text_size: e.number(),
|
|
2061
2095
|
subtitle: u,
|
|
2062
2096
|
title: u
|
|
2063
|
-
}),
|
|
2097
|
+
}), ao = e.object({
|
|
2064
2098
|
background_color: e.string(),
|
|
2065
2099
|
background_image_url: e.string(),
|
|
2066
2100
|
page_layout: e.enum(["center", "left", "right"])
|
|
2067
|
-
}),
|
|
2101
|
+
}), so = e.object({
|
|
2068
2102
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
2069
2103
|
logo_height: e.number(),
|
|
2070
2104
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
2071
2105
|
logo_url: e.string(),
|
|
2072
2106
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
2073
|
-
}),
|
|
2074
|
-
borders:
|
|
2075
|
-
colors:
|
|
2107
|
+
}), ro = e.object({
|
|
2108
|
+
borders: oo,
|
|
2109
|
+
colors: no,
|
|
2076
2110
|
displayName: e.string(),
|
|
2077
|
-
fonts:
|
|
2078
|
-
page_background:
|
|
2079
|
-
widget:
|
|
2080
|
-
}),
|
|
2111
|
+
fonts: io,
|
|
2112
|
+
page_background: ao,
|
|
2113
|
+
widget: so
|
|
2114
|
+
}), En = ro.extend({
|
|
2081
2115
|
themeId: e.string()
|
|
2082
|
-
}),
|
|
2116
|
+
}), Sn = e.object({
|
|
2083
2117
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2084
2118
|
identifier_first: e.boolean().default(!0),
|
|
2085
2119
|
password_first: e.boolean().default(!1),
|
|
2086
2120
|
webauthn_platform_first_factor: e.boolean()
|
|
2087
|
-
}),
|
|
2121
|
+
}), An = e.object({
|
|
2088
2122
|
name: e.string(),
|
|
2089
2123
|
enabled: e.boolean().optional().default(!0),
|
|
2090
2124
|
default_from_address: e.string().optional(),
|
|
@@ -2114,7 +2148,7 @@ const eo = e.object({
|
|
|
2114
2148
|
})
|
|
2115
2149
|
]),
|
|
2116
2150
|
settings: e.object({}).optional()
|
|
2117
|
-
}),
|
|
2151
|
+
}), lo = e.object({
|
|
2118
2152
|
// The actual refresh token value (primary key).
|
|
2119
2153
|
id: e.string(),
|
|
2120
2154
|
// Link to the login session
|
|
@@ -2135,23 +2169,23 @@ const eo = e.object({
|
|
|
2135
2169
|
})
|
|
2136
2170
|
),
|
|
2137
2171
|
rotating: e.boolean()
|
|
2138
|
-
}),
|
|
2172
|
+
}), yn = e.object({
|
|
2139
2173
|
// When the refresh token record was created.
|
|
2140
2174
|
created_at: e.string(),
|
|
2141
2175
|
// When the token was explicitly revoked (null = still active).
|
|
2142
2176
|
revoked_at: e.string().optional(),
|
|
2143
2177
|
// Spread in the rest of the refresh token properties.
|
|
2144
|
-
...
|
|
2145
|
-
}),
|
|
2178
|
+
...lo.shape
|
|
2179
|
+
}), In = e.object({
|
|
2146
2180
|
to: e.string(),
|
|
2147
2181
|
message: e.string()
|
|
2148
|
-
}),
|
|
2182
|
+
}), Cn = e.object({
|
|
2149
2183
|
name: e.string(),
|
|
2150
2184
|
options: e.object({})
|
|
2151
|
-
}),
|
|
2185
|
+
}), co = e.object({
|
|
2152
2186
|
value: e.string(),
|
|
2153
2187
|
description: e.string().optional()
|
|
2154
|
-
}),
|
|
2188
|
+
}), po = e.object({
|
|
2155
2189
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2156
2190
|
enforce_policies: e.boolean().optional(),
|
|
2157
2191
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2161,11 +2195,11 @@ const eo = e.object({
|
|
|
2161
2195
|
mtls: e.object({
|
|
2162
2196
|
bound_access_tokens: e.boolean().optional()
|
|
2163
2197
|
}).optional()
|
|
2164
|
-
}),
|
|
2198
|
+
}), _o = e.object({
|
|
2165
2199
|
id: e.string().optional(),
|
|
2166
2200
|
name: e.string(),
|
|
2167
2201
|
identifier: e.string(),
|
|
2168
|
-
scopes: e.array(
|
|
2202
|
+
scopes: e.array(co).optional(),
|
|
2169
2203
|
signing_alg: e.string().optional(),
|
|
2170
2204
|
signing_secret: e.string().optional(),
|
|
2171
2205
|
token_lifetime: e.number().default(86400),
|
|
@@ -2173,30 +2207,30 @@ const eo = e.object({
|
|
|
2173
2207
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2174
2208
|
allow_offline_access: e.boolean().optional(),
|
|
2175
2209
|
verificationKey: e.string().optional(),
|
|
2176
|
-
options:
|
|
2210
|
+
options: po.optional(),
|
|
2177
2211
|
is_system: e.boolean().optional(),
|
|
2178
2212
|
metadata: e.record(e.any()).optional()
|
|
2179
|
-
}),
|
|
2180
|
-
...
|
|
2213
|
+
}), go = e.object({
|
|
2214
|
+
..._o.shape,
|
|
2181
2215
|
created_at: e.string().optional(),
|
|
2182
2216
|
updated_at: e.string().optional()
|
|
2183
|
-
}),
|
|
2217
|
+
}), Tn = e.array(go), uo = e.object({
|
|
2184
2218
|
role_id: e.string(),
|
|
2185
2219
|
resource_server_identifier: e.string(),
|
|
2186
2220
|
permission_name: e.string()
|
|
2187
|
-
}),
|
|
2188
|
-
...
|
|
2221
|
+
}), mo = e.object({
|
|
2222
|
+
...uo.shape,
|
|
2189
2223
|
created_at: e.string()
|
|
2190
|
-
}),
|
|
2224
|
+
}), On = e.array(mo), ho = e.object({
|
|
2191
2225
|
user_id: e.string(),
|
|
2192
2226
|
resource_server_identifier: e.string(),
|
|
2193
2227
|
permission_name: e.string(),
|
|
2194
2228
|
organization_id: e.string().optional()
|
|
2195
|
-
}),
|
|
2196
|
-
...
|
|
2229
|
+
}), bo = e.object({
|
|
2230
|
+
...ho.shape,
|
|
2197
2231
|
tenant_id: e.string(),
|
|
2198
2232
|
created_at: e.string().optional()
|
|
2199
|
-
}),
|
|
2233
|
+
}), Nn = e.array(bo), fo = e.object({
|
|
2200
2234
|
user_id: e.string(),
|
|
2201
2235
|
resource_server_identifier: e.string(),
|
|
2202
2236
|
resource_server_name: e.string(),
|
|
@@ -2204,17 +2238,17 @@ const eo = e.object({
|
|
|
2204
2238
|
description: e.string().nullable().optional(),
|
|
2205
2239
|
created_at: e.string().optional(),
|
|
2206
2240
|
organization_id: e.string().optional()
|
|
2207
|
-
}),
|
|
2208
|
-
|
|
2209
|
-
),
|
|
2241
|
+
}), wn = e.array(
|
|
2242
|
+
fo
|
|
2243
|
+
), Eo = e.object({
|
|
2210
2244
|
user_id: e.string(),
|
|
2211
2245
|
role_id: e.string(),
|
|
2212
2246
|
organization_id: e.string().optional()
|
|
2213
|
-
}),
|
|
2214
|
-
...
|
|
2247
|
+
}), So = e.object({
|
|
2248
|
+
...Eo.shape,
|
|
2215
2249
|
tenant_id: e.string(),
|
|
2216
2250
|
created_at: e.string().optional()
|
|
2217
|
-
}),
|
|
2251
|
+
}), jn = e.array(So), Ao = e.object({
|
|
2218
2252
|
id: e.string().optional().openapi({
|
|
2219
2253
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
2220
2254
|
}),
|
|
@@ -2228,13 +2262,13 @@ const eo = e.object({
|
|
|
2228
2262
|
metadata: e.record(e.any()).optional().openapi({
|
|
2229
2263
|
description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
|
|
2230
2264
|
})
|
|
2231
|
-
}),
|
|
2265
|
+
}), yo = Ao.extend({
|
|
2232
2266
|
id: e.string().openapi({
|
|
2233
2267
|
description: "The unique identifier of the role"
|
|
2234
2268
|
}),
|
|
2235
2269
|
created_at: e.string().optional(),
|
|
2236
2270
|
updated_at: e.string().optional()
|
|
2237
|
-
}),
|
|
2271
|
+
}), Rn = e.array(yo), Io = e.object({
|
|
2238
2272
|
logo_url: e.string().optional().openapi({
|
|
2239
2273
|
description: "URL of the organization's logo"
|
|
2240
2274
|
}),
|
|
@@ -2246,7 +2280,7 @@ const eo = e.object({
|
|
|
2246
2280
|
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
2247
2281
|
})
|
|
2248
2282
|
}).optional()
|
|
2249
|
-
}).optional(),
|
|
2283
|
+
}).optional(), Co = e.object({
|
|
2250
2284
|
connection_id: e.string().openapi({
|
|
2251
2285
|
description: "ID of the connection"
|
|
2252
2286
|
}),
|
|
@@ -2259,7 +2293,7 @@ const eo = e.object({
|
|
|
2259
2293
|
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
2260
2294
|
description: "Whether signup is enabled for this connection"
|
|
2261
2295
|
})
|
|
2262
|
-
}),
|
|
2296
|
+
}), To = e.object({
|
|
2263
2297
|
client_credentials: e.object({
|
|
2264
2298
|
enforce: e.boolean().default(!1).openapi({
|
|
2265
2299
|
description: "Whether to enforce token quota limits"
|
|
@@ -2271,7 +2305,7 @@ const eo = e.object({
|
|
|
2271
2305
|
description: "Maximum tokens per hour (0 = unlimited)"
|
|
2272
2306
|
})
|
|
2273
2307
|
}).optional()
|
|
2274
|
-
}).optional(),
|
|
2308
|
+
}).optional(), Oo = e.object({
|
|
2275
2309
|
id: e.string().optional(),
|
|
2276
2310
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
|
|
2277
2311
|
message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
|
|
@@ -2281,34 +2315,34 @@ const eo = e.object({
|
|
|
2281
2315
|
display_name: e.string().optional().openapi({
|
|
2282
2316
|
description: "The display name of the organization"
|
|
2283
2317
|
}),
|
|
2284
|
-
branding:
|
|
2318
|
+
branding: Io,
|
|
2285
2319
|
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
2286
2320
|
description: "Custom metadata for the organization"
|
|
2287
2321
|
}),
|
|
2288
|
-
enabled_connections: e.array(
|
|
2322
|
+
enabled_connections: e.array(Co).default([]).optional().openapi({
|
|
2289
2323
|
description: "List of enabled connections for the organization"
|
|
2290
2324
|
}),
|
|
2291
|
-
token_quota:
|
|
2292
|
-
}),
|
|
2293
|
-
...
|
|
2325
|
+
token_quota: To
|
|
2326
|
+
}), Dn = e.object({
|
|
2327
|
+
...Oo.shape,
|
|
2294
2328
|
...s.shape,
|
|
2295
2329
|
id: e.string(),
|
|
2296
2330
|
// Override name to be lenient when reading from database (to support existing uppercase names)
|
|
2297
2331
|
name: e.string().min(1).openapi({
|
|
2298
2332
|
description: "The name of the organization"
|
|
2299
2333
|
})
|
|
2300
|
-
}),
|
|
2334
|
+
}), No = e.object({
|
|
2301
2335
|
user_id: e.string().openapi({
|
|
2302
2336
|
description: "ID of the user"
|
|
2303
2337
|
}),
|
|
2304
2338
|
organization_id: e.string().openapi({
|
|
2305
2339
|
description: "ID of the organization"
|
|
2306
2340
|
})
|
|
2307
|
-
}),
|
|
2308
|
-
...
|
|
2341
|
+
}), Ln = e.object({
|
|
2342
|
+
...No.shape,
|
|
2309
2343
|
...s.shape,
|
|
2310
2344
|
id: e.string()
|
|
2311
|
-
}),
|
|
2345
|
+
}), vn = e.object({
|
|
2312
2346
|
// Session settings
|
|
2313
2347
|
idle_session_lifetime: e.number().default(72),
|
|
2314
2348
|
session_lifetime: e.number().default(168),
|
|
@@ -2408,7 +2442,7 @@ const eo = e.object({
|
|
|
2408
2442
|
message: e.string().optional()
|
|
2409
2443
|
}).optional()
|
|
2410
2444
|
}).optional()
|
|
2411
|
-
}),
|
|
2445
|
+
}), kn = e.object({
|
|
2412
2446
|
date: e.string().openapi({
|
|
2413
2447
|
description: "Date these events occurred in ISO 8601 format",
|
|
2414
2448
|
example: "2025-12-19"
|
|
@@ -2433,10 +2467,10 @@ const eo = e.object({
|
|
|
2433
2467
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2434
2468
|
example: "2025-12-19T00:00:00.000Z"
|
|
2435
2469
|
})
|
|
2436
|
-
}),
|
|
2470
|
+
}), Un = e.number().openapi({
|
|
2437
2471
|
description: "Number of active users in the last 30 days",
|
|
2438
2472
|
example: 1234
|
|
2439
|
-
}),
|
|
2473
|
+
}), wo = e.enum([
|
|
2440
2474
|
"login",
|
|
2441
2475
|
"login-id",
|
|
2442
2476
|
"login-password",
|
|
@@ -2465,17 +2499,17 @@ const eo = e.object({
|
|
|
2465
2499
|
"custom-form",
|
|
2466
2500
|
"login-passwordless",
|
|
2467
2501
|
"mfa-login-options"
|
|
2468
|
-
]),
|
|
2502
|
+
]), jo = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2469
2503
|
type: "object",
|
|
2470
2504
|
additionalProperties: {
|
|
2471
2505
|
type: "object",
|
|
2472
2506
|
additionalProperties: { type: "string" }
|
|
2473
2507
|
}
|
|
2474
|
-
}),
|
|
2475
|
-
prompt:
|
|
2508
|
+
}), Fn = e.object({
|
|
2509
|
+
prompt: wo,
|
|
2476
2510
|
language: e.string(),
|
|
2477
|
-
custom_text:
|
|
2478
|
-
}),
|
|
2511
|
+
custom_text: jo
|
|
2512
|
+
}), xn = {
|
|
2479
2513
|
EMAIL: "email",
|
|
2480
2514
|
SMS: "sms",
|
|
2481
2515
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2490,11 +2524,11 @@ const eo = e.object({
|
|
|
2490
2524
|
SAMLP: "samlp",
|
|
2491
2525
|
WAAD: "waad",
|
|
2492
2526
|
ADFS: "adfs"
|
|
2493
|
-
},
|
|
2527
|
+
}, Pn = {
|
|
2494
2528
|
DATABASE: "database",
|
|
2495
2529
|
SOCIAL: "social",
|
|
2496
2530
|
PASSWORDLESS: "passwordless"
|
|
2497
|
-
},
|
|
2531
|
+
}, Ro = e.enum([
|
|
2498
2532
|
"phone",
|
|
2499
2533
|
"totp",
|
|
2500
2534
|
"email",
|
|
@@ -2504,7 +2538,7 @@ const eo = e.object({
|
|
|
2504
2538
|
"passkey"
|
|
2505
2539
|
]), B = e.object({
|
|
2506
2540
|
user_id: e.string(),
|
|
2507
|
-
type:
|
|
2541
|
+
type: Ro,
|
|
2508
2542
|
// Phone-specific
|
|
2509
2543
|
phone_number: e.string().optional(),
|
|
2510
2544
|
// TOTP-specific
|
|
@@ -2538,19 +2572,19 @@ function W(t, o) {
|
|
|
2538
2572
|
path: ["public_key"]
|
|
2539
2573
|
}));
|
|
2540
2574
|
}
|
|
2541
|
-
const
|
|
2575
|
+
const Mn = B.superRefine(W), Hn = e.object({
|
|
2542
2576
|
...B.shape,
|
|
2543
2577
|
id: e.string(),
|
|
2544
2578
|
created_at: e.string(),
|
|
2545
2579
|
updated_at: e.string()
|
|
2546
2580
|
}).superRefine(W);
|
|
2547
|
-
function
|
|
2581
|
+
function Gn(t) {
|
|
2548
2582
|
const [o, i] = t.split("|");
|
|
2549
2583
|
if (!o || !i)
|
|
2550
2584
|
throw new Error(`Invalid user_id: ${t}`);
|
|
2551
2585
|
return { connection: o, id: i };
|
|
2552
2586
|
}
|
|
2553
|
-
function
|
|
2587
|
+
function Bn(t) {
|
|
2554
2588
|
const {
|
|
2555
2589
|
primary: o,
|
|
2556
2590
|
secondaries: i,
|
|
@@ -2591,10 +2625,10 @@ function Mn(t) {
|
|
|
2591
2625
|
};
|
|
2592
2626
|
return new Proxy(o, E);
|
|
2593
2627
|
}
|
|
2594
|
-
function
|
|
2628
|
+
function Wn(t) {
|
|
2595
2629
|
return t;
|
|
2596
2630
|
}
|
|
2597
|
-
function
|
|
2631
|
+
function Kn(t) {
|
|
2598
2632
|
var E, p, a, _, d, S, g, r, h, A, b, y;
|
|
2599
2633
|
const o = t == null ? void 0 : t.options;
|
|
2600
2634
|
if (!o)
|
|
@@ -2621,182 +2655,189 @@ function Gn(t) {
|
|
|
2621
2655
|
usernameMaxLength: ((y = (b = o.validation) == null ? void 0 : b.username) == null ? void 0 : y.max) ?? 15
|
|
2622
2656
|
};
|
|
2623
2657
|
}
|
|
2658
|
+
function zn(t) {
|
|
2659
|
+
return typeof t == "object" && t !== null && !Array.isArray(t);
|
|
2660
|
+
}
|
|
2624
2661
|
export {
|
|
2625
|
-
|
|
2626
|
-
|
|
2662
|
+
Fo as Auth0ActionEnum,
|
|
2663
|
+
Yt as Auth0Client,
|
|
2627
2664
|
L as AuthorizationResponseMode,
|
|
2628
2665
|
D as AuthorizationResponseType,
|
|
2629
2666
|
v as CodeChallengeMethod,
|
|
2630
2667
|
R as ComponentCategory,
|
|
2631
2668
|
j as ComponentType,
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2669
|
+
xo as EmailActionEnum,
|
|
2670
|
+
Zo as FORM_FIELD_TYPES,
|
|
2671
|
+
Uo as FlowActionTypeEnum,
|
|
2672
|
+
to as GrantType,
|
|
2673
|
+
Qt as LocationInfo,
|
|
2674
|
+
Xt as LogTypes,
|
|
2638
2675
|
H as LoginSessionState,
|
|
2639
|
-
|
|
2676
|
+
Re as NodeType,
|
|
2640
2677
|
le as RedirectTargetEnum,
|
|
2641
|
-
|
|
2642
|
-
|
|
2678
|
+
xn as Strategy,
|
|
2679
|
+
Pn as StrategyType,
|
|
2643
2680
|
Y as actionDependencySchema,
|
|
2644
2681
|
N as actionInsertSchema,
|
|
2645
|
-
|
|
2646
|
-
|
|
2682
|
+
ve as actionNodeSchema,
|
|
2683
|
+
vo as actionSchema,
|
|
2647
2684
|
Q as actionSecretSchema,
|
|
2648
2685
|
V as actionTriggerSchema,
|
|
2649
|
-
|
|
2650
|
-
|
|
2686
|
+
Lo as actionUpdateSchema,
|
|
2687
|
+
Un as activeUsersResponseSchema,
|
|
2651
2688
|
$ as actorSchema,
|
|
2652
2689
|
ue as addressSchema,
|
|
2653
2690
|
Z as auditCategorySchema,
|
|
2654
2691
|
ie as auditEventInsertSchema,
|
|
2655
|
-
|
|
2692
|
+
ko as auditEventSchema,
|
|
2656
2693
|
ne as auth0ClientSchema,
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2694
|
+
qo as auth0FlowInsertSchema,
|
|
2695
|
+
Pe as auth0FlowSchema,
|
|
2696
|
+
Mo as auth0QuerySchema,
|
|
2660
2697
|
se as auth0UpdateUserActionSchema,
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2698
|
+
Go as auth0UserResponseSchema,
|
|
2699
|
+
Me as authParamsSchema,
|
|
2700
|
+
Mn as authenticationMethodInsertSchema,
|
|
2701
|
+
Hn as authenticationMethodSchema,
|
|
2702
|
+
Ro as authenticationMethodTypeSchema,
|
|
2666
2703
|
w as baseUserSchema,
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2704
|
+
At as blockComponentSchema,
|
|
2705
|
+
oo as bordersSchema,
|
|
2706
|
+
Xo as brandingSchema,
|
|
2707
|
+
Te as buttonComponentSchema,
|
|
2671
2708
|
Se as clientGrantInsertSchema,
|
|
2672
|
-
|
|
2709
|
+
Ko as clientGrantListSchema,
|
|
2673
2710
|
Ae as clientGrantSchema,
|
|
2674
2711
|
Ee as clientInsertSchema,
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2712
|
+
Ie as clientRegistrationTokenInsertSchema,
|
|
2713
|
+
zo as clientRegistrationTokenSchema,
|
|
2714
|
+
ye as clientRegistrationTokenTypeSchema,
|
|
2715
|
+
Wo as clientSchema,
|
|
2716
|
+
Ge as codeInsertSchema,
|
|
2717
|
+
Vo as codeSchema,
|
|
2718
|
+
He as codeTypeSchema,
|
|
2719
|
+
no as colorsSchema,
|
|
2720
|
+
jt as componentMessageSchema,
|
|
2721
|
+
je as componentSchema,
|
|
2722
|
+
We as connectionInsertSchema,
|
|
2723
|
+
Be as connectionOptionsSchema,
|
|
2724
|
+
Yo as connectionSchema,
|
|
2685
2725
|
m as coordinatesSchema,
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2726
|
+
Bn as createPassthroughAdapter,
|
|
2727
|
+
Wn as createWriteOnlyAdapter,
|
|
2728
|
+
Ke as customDomainInsertSchema,
|
|
2729
|
+
qe as customDomainSchema,
|
|
2730
|
+
Qo as customDomainWithTenantIdSchema,
|
|
2731
|
+
Fn as customTextEntrySchema,
|
|
2732
|
+
jo as customTextSchema,
|
|
2733
|
+
kn as dailyStatsSchema,
|
|
2734
|
+
An as emailProviderSchema,
|
|
2695
2735
|
ae as emailVerificationRulesSchema,
|
|
2696
2736
|
re as emailVerifyActionSchema,
|
|
2697
|
-
|
|
2698
|
-
|
|
2737
|
+
xe as endingSchema,
|
|
2738
|
+
It as fieldComponentSchema,
|
|
2699
2739
|
pe as flowActionStepSchema,
|
|
2700
2740
|
_e as flowInsertSchema,
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2741
|
+
Po as flowSchema,
|
|
2742
|
+
Ne as flowsFieldComponentSchema,
|
|
2743
|
+
Le as flowsFlowNodeSchema,
|
|
2744
|
+
De as flowsStepNodeSchema,
|
|
2705
2745
|
u as fontDetailsSchema,
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2746
|
+
io as fontsSchema,
|
|
2747
|
+
$o as formControlSchema,
|
|
2748
|
+
wt as formInsertSchema,
|
|
2709
2749
|
k as formNodeComponentDefinition,
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2750
|
+
Nt as formNodeSchema,
|
|
2751
|
+
Jo as formSchema,
|
|
2752
|
+
we as genericComponentSchema,
|
|
2753
|
+
ke as genericNodeSchema,
|
|
2754
|
+
Kn as getConnectionIdentifierConfig,
|
|
2755
|
+
Mt as hookCodeInsertSchema,
|
|
2756
|
+
ln as hookCodeSchema,
|
|
2757
|
+
sn as hookInsertSchema,
|
|
2758
|
+
rn as hookSchema,
|
|
2719
2759
|
M as hookTemplateId,
|
|
2720
|
-
|
|
2760
|
+
an as hookTemplates,
|
|
2721
2761
|
ge as identitySchema,
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2762
|
+
Bt as inviteInsertSchema,
|
|
2763
|
+
cn as inviteSchema,
|
|
2764
|
+
Gt as inviteeSchema,
|
|
2765
|
+
Ht as inviterSchema,
|
|
2766
|
+
tn as isBlockComponent,
|
|
2767
|
+
nn as isFieldComponent,
|
|
2768
|
+
zn as isPlainObject,
|
|
2769
|
+
on as isWidgetComponent,
|
|
2770
|
+
pn as jwksKeySchema,
|
|
2771
|
+
Wt as jwksSchema,
|
|
2772
|
+
Oe as legalComponentSchema,
|
|
2732
2773
|
oe as locationInfoSchema,
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2774
|
+
Zt as logInsertSchema,
|
|
2775
|
+
gn as logSchema,
|
|
2776
|
+
zt as loginSessionAuthStrategySchema,
|
|
2777
|
+
qt as loginSessionInsertSchema,
|
|
2778
|
+
dn as loginSessionSchema,
|
|
2779
|
+
Kt as loginSessionStateSchema,
|
|
2780
|
+
Ue as nodeSchema,
|
|
2781
|
+
_n as openIDConfigurationSchema,
|
|
2782
|
+
Io as organizationBrandingSchema,
|
|
2783
|
+
Co as organizationEnabledConnectionSchema,
|
|
2784
|
+
Oo as organizationInsertSchema,
|
|
2785
|
+
Dn as organizationSchema,
|
|
2786
|
+
To as organizationTokenQuotaSchema,
|
|
2787
|
+
ao as pageBackgroundSchema,
|
|
2788
|
+
Gn as parseUserId,
|
|
2789
|
+
$t as passwordInsertSchema,
|
|
2790
|
+
un as passwordSchema,
|
|
2750
2791
|
de as profileDataSchema,
|
|
2751
|
-
|
|
2752
|
-
|
|
2792
|
+
wo as promptScreenSchema,
|
|
2793
|
+
Sn as promptSettingSchema,
|
|
2753
2794
|
ce as redirectActionSchema,
|
|
2754
|
-
|
|
2755
|
-
|
|
2795
|
+
lo as refreshTokenInsertSchema,
|
|
2796
|
+
yn as refreshTokenSchema,
|
|
2756
2797
|
ee as requestContextSchema,
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2798
|
+
_o as resourceServerInsertSchema,
|
|
2799
|
+
Tn as resourceServerListSchema,
|
|
2800
|
+
po as resourceServerOptionsSchema,
|
|
2801
|
+
go as resourceServerSchema,
|
|
2802
|
+
co as resourceServerScopeSchema,
|
|
2762
2803
|
te as responseContextSchema,
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2804
|
+
Ce as richTextComponentSchema,
|
|
2805
|
+
Ao as roleInsertSchema,
|
|
2806
|
+
Rn as roleListSchema,
|
|
2807
|
+
uo as rolePermissionInsertSchema,
|
|
2808
|
+
On as rolePermissionListSchema,
|
|
2809
|
+
mo as rolePermissionSchema,
|
|
2810
|
+
yo as roleSchema,
|
|
2811
|
+
Rt as screenLinkSchema,
|
|
2812
|
+
Jt as sessionInsertSchema,
|
|
2813
|
+
mn as sessionSchema,
|
|
2814
|
+
hn as signingKeySchema,
|
|
2815
|
+
Cn as smsProviderSchema,
|
|
2816
|
+
In as smsSendParamsSchema,
|
|
2817
|
+
Fe as startSchema,
|
|
2777
2818
|
J as targetSchema,
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2819
|
+
eo as tenantInsertSchema,
|
|
2820
|
+
bn as tenantSchema,
|
|
2821
|
+
vn as tenantSettingsSchema,
|
|
2822
|
+
ro as themeInsertSchema,
|
|
2823
|
+
En as themeSchema,
|
|
2824
|
+
fn as tokenResponseSchema,
|
|
2825
|
+
Ho as totalsSchema,
|
|
2826
|
+
en as uiScreenSchema,
|
|
2786
2827
|
me as userInsertSchema,
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2828
|
+
No as userOrganizationInsertSchema,
|
|
2829
|
+
Ln as userOrganizationSchema,
|
|
2830
|
+
ho as userPermissionInsertSchema,
|
|
2831
|
+
Nn as userPermissionListSchema,
|
|
2832
|
+
bo as userPermissionSchema,
|
|
2833
|
+
wn as userPermissionWithDetailsListSchema,
|
|
2834
|
+
fo as userPermissionWithDetailsSchema,
|
|
2835
|
+
Bo as userResponseSchema,
|
|
2836
|
+
Eo as userRoleInsertSchema,
|
|
2837
|
+
jn as userRoleListSchema,
|
|
2838
|
+
So as userRoleSchema,
|
|
2798
2839
|
he as userSchema,
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2840
|
+
ze as verificationMethodsSchema,
|
|
2841
|
+
yt as widgetComponentSchema,
|
|
2842
|
+
so as widgetSchema
|
|
2802
2843
|
};
|