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