@authhero/adapter-interfaces 0.129.0 → 0.131.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 +596 -10
- package/dist/adapter-interfaces.mjs +178 -121
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@ import { z as e } from "@hono/zod-openapi";
|
|
|
2
2
|
const r = e.object({
|
|
3
3
|
created_at: e.string(),
|
|
4
4
|
updated_at: e.string()
|
|
5
|
-
}),
|
|
5
|
+
}), eo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), to = e.enum([
|
|
6
6
|
"CREATE_USER",
|
|
7
7
|
"GET_USER",
|
|
8
8
|
"UPDATE_USER",
|
|
9
9
|
"SEND_REQUEST",
|
|
10
10
|
"SEND_EMAIL"
|
|
11
|
-
]),
|
|
11
|
+
]), oo = e.enum(["VERIFY_EMAIL"]), P = e.object({
|
|
12
12
|
require_mx_record: e.boolean().optional(),
|
|
13
13
|
block_aliases: e.boolean().optional(),
|
|
14
14
|
block_free_emails: e.boolean().optional(),
|
|
@@ -65,13 +65,13 @@ const r = e.object({
|
|
|
65
65
|
actions: e.array(K).optional().default([]).openapi({
|
|
66
66
|
description: "The list of actions to execute in sequence"
|
|
67
67
|
})
|
|
68
|
-
}),
|
|
68
|
+
}), no = W.extend({
|
|
69
69
|
...r.shape,
|
|
70
70
|
id: e.string().openapi({
|
|
71
71
|
description: "Unique identifier for the flow",
|
|
72
72
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
73
73
|
})
|
|
74
|
-
}),
|
|
74
|
+
}), io = e.object({
|
|
75
75
|
page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
|
|
76
76
|
description: "The page number where 0 is the first page"
|
|
77
77
|
}),
|
|
@@ -87,7 +87,7 @@ const r = e.object({
|
|
|
87
87
|
q: e.string().optional().openapi({
|
|
88
88
|
description: "A lucene query string used to filter the results"
|
|
89
89
|
})
|
|
90
|
-
}),
|
|
90
|
+
}), ao = e.object({
|
|
91
91
|
start: e.number(),
|
|
92
92
|
limit: e.number(),
|
|
93
93
|
length: e.number(),
|
|
@@ -162,9 +162,15 @@ const r = e.object({
|
|
|
162
162
|
user_id: e.string().optional(),
|
|
163
163
|
provider: e.string().optional(),
|
|
164
164
|
connection: e.string(),
|
|
165
|
-
is_social: e.boolean().optional()
|
|
165
|
+
is_social: e.boolean().optional(),
|
|
166
|
+
// Optional password for atomic user+password creation
|
|
167
|
+
// When provided, user and password are created in a single transaction
|
|
168
|
+
password: e.object({
|
|
169
|
+
hash: e.string(),
|
|
170
|
+
algorithm: e.string()
|
|
171
|
+
}).optional()
|
|
166
172
|
}), Y = e.object({
|
|
167
|
-
...q.shape,
|
|
173
|
+
...q.omit({ password: !0 }).shape,
|
|
168
174
|
...r.shape,
|
|
169
175
|
user_id: e.string(),
|
|
170
176
|
provider: e.string(),
|
|
@@ -172,7 +178,7 @@ const r = e.object({
|
|
|
172
178
|
email: e.string().optional(),
|
|
173
179
|
login_count: e.number().default(0),
|
|
174
180
|
identities: e.array(X).optional()
|
|
175
|
-
}),
|
|
181
|
+
}), ro = Y, so = I.extend({
|
|
176
182
|
login_count: e.number(),
|
|
177
183
|
multifactor: e.array(e.string()).optional(),
|
|
178
184
|
last_ip: e.string().optional(),
|
|
@@ -358,7 +364,7 @@ const Z = e.object({
|
|
|
358
364
|
description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
|
|
359
365
|
}),
|
|
360
366
|
token_quota: e.record(e.any()).default({}).optional()
|
|
361
|
-
}),
|
|
367
|
+
}), lo = e.object({
|
|
362
368
|
created_at: e.string(),
|
|
363
369
|
updated_at: e.string(),
|
|
364
370
|
...Z.shape
|
|
@@ -394,7 +400,7 @@ const Z = e.object({
|
|
|
394
400
|
...$.shape,
|
|
395
401
|
created_at: e.string().optional(),
|
|
396
402
|
updated_at: e.string().optional()
|
|
397
|
-
}),
|
|
403
|
+
}), co = e.array(ee), c = e.object({
|
|
398
404
|
x: e.number(),
|
|
399
405
|
y: e.number()
|
|
400
406
|
});
|
|
@@ -592,17 +598,17 @@ const le = e.object({
|
|
|
592
598
|
sdkSrc: e.string().optional(),
|
|
593
599
|
sdk_src: e.string().optional()
|
|
594
600
|
}).passthrough()
|
|
595
|
-
}).passthrough(),
|
|
601
|
+
}).passthrough(), po = me.omit({
|
|
596
602
|
id: !0,
|
|
597
603
|
created_at: !0,
|
|
598
604
|
updated_at: !0
|
|
599
605
|
});
|
|
600
|
-
var
|
|
606
|
+
var T = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(T || {}), O = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(O || {}), N = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(N || {});
|
|
601
607
|
const he = e.object({
|
|
602
608
|
client_id: e.string(),
|
|
603
609
|
act_as: e.string().optional(),
|
|
604
|
-
response_type: e.nativeEnum(
|
|
605
|
-
response_mode: e.nativeEnum(
|
|
610
|
+
response_type: e.nativeEnum(T).optional(),
|
|
611
|
+
response_mode: e.nativeEnum(O).optional(),
|
|
606
612
|
redirect_uri: e.string().optional(),
|
|
607
613
|
audience: e.string().optional(),
|
|
608
614
|
organization: e.string().optional(),
|
|
@@ -622,7 +628,7 @@ const he = e.object({
|
|
|
622
628
|
acr_values: e.string().optional(),
|
|
623
629
|
// The following fields are not available in Auth0
|
|
624
630
|
vendor_id: e.string().optional()
|
|
625
|
-
}),
|
|
631
|
+
}), _o = e.object({
|
|
626
632
|
colors: e.object({
|
|
627
633
|
primary: e.string(),
|
|
628
634
|
page_background: e.object({
|
|
@@ -677,7 +683,7 @@ const he = e.object({
|
|
|
677
683
|
expires_at: e.string(),
|
|
678
684
|
used_at: e.string().optional(),
|
|
679
685
|
user_id: e.string().optional()
|
|
680
|
-
}),
|
|
686
|
+
}), go = e.object({
|
|
681
687
|
...fe.shape,
|
|
682
688
|
created_at: e.string()
|
|
683
689
|
}), Ee = e.object({
|
|
@@ -713,7 +719,7 @@ const he = e.object({
|
|
|
713
719
|
show_as_button: e.boolean().optional(),
|
|
714
720
|
metadata: e.record(e.any()).optional(),
|
|
715
721
|
is_system: e.boolean().optional()
|
|
716
|
-
}),
|
|
722
|
+
}), uo = e.object({
|
|
717
723
|
id: e.string(),
|
|
718
724
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
719
725
|
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
@@ -745,7 +751,7 @@ const he = e.object({
|
|
|
745
751
|
methods: e.array(Ie)
|
|
746
752
|
}).optional(),
|
|
747
753
|
tls_policy: e.string().optional()
|
|
748
|
-
}),
|
|
754
|
+
}), mo = Ce.extend({
|
|
749
755
|
tenant_id: e.string()
|
|
750
756
|
}), f = e.object({
|
|
751
757
|
id: e.string(),
|
|
@@ -756,12 +762,12 @@ const he = e.object({
|
|
|
756
762
|
}), ye = i.extend({
|
|
757
763
|
type: e.literal("DIVIDER"),
|
|
758
764
|
config: e.object({}).optional()
|
|
759
|
-
}),
|
|
765
|
+
}), Te = i.extend({
|
|
760
766
|
type: e.literal("HTML"),
|
|
761
767
|
config: e.object({
|
|
762
768
|
content: e.string().optional()
|
|
763
769
|
}).optional()
|
|
764
|
-
}),
|
|
770
|
+
}), Oe = i.extend({
|
|
765
771
|
type: e.literal("IMAGE"),
|
|
766
772
|
config: e.object({
|
|
767
773
|
src: e.string().optional(),
|
|
@@ -920,7 +926,16 @@ const he = e.object({
|
|
|
920
926
|
}), Ve = o.extend({
|
|
921
927
|
type: e.literal("SOCIAL"),
|
|
922
928
|
config: e.object({
|
|
923
|
-
providers: e.array(e.string()).optional()
|
|
929
|
+
providers: e.array(e.string()).optional(),
|
|
930
|
+
// Extended provider info with icons and display names
|
|
931
|
+
provider_details: e.array(
|
|
932
|
+
e.object({
|
|
933
|
+
name: e.string(),
|
|
934
|
+
strategy: e.string().optional(),
|
|
935
|
+
display_name: e.string().optional(),
|
|
936
|
+
icon_url: e.string().optional()
|
|
937
|
+
})
|
|
938
|
+
).optional()
|
|
924
939
|
}).optional()
|
|
925
940
|
}), qe = o.extend({
|
|
926
941
|
type: e.literal("TEL"),
|
|
@@ -942,8 +957,8 @@ const he = e.object({
|
|
|
942
957
|
}).optional()
|
|
943
958
|
}), Je = e.discriminatedUnion("type", [
|
|
944
959
|
ye,
|
|
945
|
-
Oe,
|
|
946
960
|
Te,
|
|
961
|
+
Oe,
|
|
947
962
|
Ne,
|
|
948
963
|
Re,
|
|
949
964
|
De,
|
|
@@ -974,7 +989,7 @@ const he = e.object({
|
|
|
974
989
|
Je,
|
|
975
990
|
Ze,
|
|
976
991
|
$e
|
|
977
|
-
]),
|
|
992
|
+
]), ho = e.object({
|
|
978
993
|
id: e.string(),
|
|
979
994
|
type: e.literal("submit"),
|
|
980
995
|
label: e.string(),
|
|
@@ -1055,7 +1070,7 @@ const he = e.object({
|
|
|
1055
1070
|
style: e.object({ css: e.string().optional() }).optional()
|
|
1056
1071
|
}).openapi({
|
|
1057
1072
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1058
|
-
}),
|
|
1073
|
+
}), bo = e.object({
|
|
1059
1074
|
...r.shape,
|
|
1060
1075
|
...it.shape,
|
|
1061
1076
|
id: e.string()
|
|
@@ -1068,22 +1083,26 @@ const he = e.object({
|
|
|
1068
1083
|
text: e.string(),
|
|
1069
1084
|
href: e.string(),
|
|
1070
1085
|
linkText: e.string().optional()
|
|
1071
|
-
}),
|
|
1086
|
+
}), fo = e.object({
|
|
1087
|
+
/** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
|
|
1088
|
+
name: e.string().optional(),
|
|
1072
1089
|
action: e.string(),
|
|
1073
1090
|
method: e.enum(["POST", "GET"]),
|
|
1074
1091
|
title: e.string().optional(),
|
|
1075
1092
|
description: e.string().optional(),
|
|
1076
1093
|
components: e.array(R),
|
|
1077
1094
|
messages: e.array(at).optional(),
|
|
1078
|
-
links: e.array(rt).optional()
|
|
1095
|
+
links: e.array(rt).optional(),
|
|
1096
|
+
/** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
|
|
1097
|
+
footer: e.string().optional()
|
|
1079
1098
|
});
|
|
1080
|
-
function
|
|
1099
|
+
function Eo(t) {
|
|
1081
1100
|
return t.category === "BLOCK";
|
|
1082
1101
|
}
|
|
1083
|
-
function
|
|
1102
|
+
function So(t) {
|
|
1084
1103
|
return t.category === "WIDGET";
|
|
1085
1104
|
}
|
|
1086
|
-
function
|
|
1105
|
+
function Ao(t) {
|
|
1087
1106
|
return t.category === "FIELD";
|
|
1088
1107
|
}
|
|
1089
1108
|
const D = e.enum([
|
|
@@ -1114,7 +1133,7 @@ const D = e.enum([
|
|
|
1114
1133
|
...m,
|
|
1115
1134
|
trigger_id: L,
|
|
1116
1135
|
form_id: e.string()
|
|
1117
|
-
}),
|
|
1136
|
+
}), Io = e.union([
|
|
1118
1137
|
st,
|
|
1119
1138
|
lt
|
|
1120
1139
|
]), ct = e.object({
|
|
@@ -1129,7 +1148,7 @@ const D = e.enum([
|
|
|
1129
1148
|
...r.shape,
|
|
1130
1149
|
hook_id: e.string(),
|
|
1131
1150
|
form_id: e.string()
|
|
1132
|
-
}),
|
|
1151
|
+
}), Co = e.union([ct, pt]), _t = e.object({
|
|
1133
1152
|
name: e.string().optional()
|
|
1134
1153
|
}), dt = e.object({
|
|
1135
1154
|
email: e.string().optional()
|
|
@@ -1145,7 +1164,7 @@ const D = e.enum([
|
|
|
1145
1164
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1146
1165
|
roles: e.array(e.string()).default([]).optional(),
|
|
1147
1166
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1148
|
-
}),
|
|
1167
|
+
}), yo = e.object({
|
|
1149
1168
|
id: e.string(),
|
|
1150
1169
|
organization_id: e.string().max(50),
|
|
1151
1170
|
created_at: e.string().datetime(),
|
|
@@ -1170,9 +1189,9 @@ const D = e.enum([
|
|
|
1170
1189
|
x5t: e.string().optional(),
|
|
1171
1190
|
x5c: e.array(e.string()).optional(),
|
|
1172
1191
|
use: e.enum(["sig", "enc"]).optional()
|
|
1173
|
-
}),
|
|
1192
|
+
}), To = e.object({
|
|
1174
1193
|
keys: e.array(ut)
|
|
1175
|
-
}),
|
|
1194
|
+
}), Oo = e.object({
|
|
1176
1195
|
issuer: e.string(),
|
|
1177
1196
|
authorization_endpoint: e.string(),
|
|
1178
1197
|
token_endpoint: e.string(),
|
|
@@ -1216,7 +1235,7 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1216
1235
|
// Set once user is authenticated
|
|
1217
1236
|
}).openapi({
|
|
1218
1237
|
description: "This represents a login sesion"
|
|
1219
|
-
}),
|
|
1238
|
+
}), No = e.object({
|
|
1220
1239
|
...ht.shape,
|
|
1221
1240
|
id: e.string().openapi({
|
|
1222
1241
|
description: "This is is used as the state in the universal login"
|
|
@@ -1433,7 +1452,7 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1433
1452
|
auth0_client: Et.optional(),
|
|
1434
1453
|
log_id: e.string().optional(),
|
|
1435
1454
|
location_info: St.optional()
|
|
1436
|
-
}),
|
|
1455
|
+
}), Ro = e.object({
|
|
1437
1456
|
...At.shape,
|
|
1438
1457
|
log_id: e.string()
|
|
1439
1458
|
}), It = e.object({
|
|
@@ -1442,7 +1461,7 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1442
1461
|
password: e.string(),
|
|
1443
1462
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1444
1463
|
is_current: e.boolean().default(!0)
|
|
1445
|
-
}),
|
|
1464
|
+
}), Do = It.extend({
|
|
1446
1465
|
id: e.string(),
|
|
1447
1466
|
created_at: e.string(),
|
|
1448
1467
|
updated_at: e.string()
|
|
@@ -1465,13 +1484,13 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1465
1484
|
"Metadata related to the device used in the session"
|
|
1466
1485
|
),
|
|
1467
1486
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1468
|
-
}),
|
|
1487
|
+
}), Lo = e.object({
|
|
1469
1488
|
created_at: e.string(),
|
|
1470
1489
|
updated_at: e.string(),
|
|
1471
1490
|
authenticated_at: e.string(),
|
|
1472
1491
|
last_interaction_at: e.string(),
|
|
1473
1492
|
...Ct.shape
|
|
1474
|
-
}),
|
|
1493
|
+
}), wo = e.object({
|
|
1475
1494
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1476
1495
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
1477
1496
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -1620,14 +1639,14 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1620
1639
|
// Authorization settings
|
|
1621
1640
|
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
1622
1641
|
authorization_response_iss_parameter_supported: e.boolean().optional()
|
|
1623
|
-
}),
|
|
1642
|
+
}), jo = e.object({
|
|
1624
1643
|
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
1625
1644
|
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
1626
1645
|
...yt.shape,
|
|
1627
1646
|
id: e.string()
|
|
1628
1647
|
});
|
|
1629
|
-
var
|
|
1630
|
-
const
|
|
1648
|
+
var Tt = /* @__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))(Tt || {});
|
|
1649
|
+
const Uo = e.object({
|
|
1631
1650
|
access_token: e.string(),
|
|
1632
1651
|
id_token: e.string().optional(),
|
|
1633
1652
|
scope: e.string().optional(),
|
|
@@ -1640,7 +1659,7 @@ e.object({
|
|
|
1640
1659
|
code: e.string(),
|
|
1641
1660
|
state: e.string().optional()
|
|
1642
1661
|
});
|
|
1643
|
-
const
|
|
1662
|
+
const Ot = e.object({
|
|
1644
1663
|
button_border_radius: e.number(),
|
|
1645
1664
|
button_border_weight: e.number(),
|
|
1646
1665
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -1694,20 +1713,20 @@ const Tt = e.object({
|
|
|
1694
1713
|
logo_url: e.string(),
|
|
1695
1714
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
1696
1715
|
}), wt = e.object({
|
|
1697
|
-
borders:
|
|
1716
|
+
borders: Ot,
|
|
1698
1717
|
colors: Nt,
|
|
1699
1718
|
displayName: e.string(),
|
|
1700
1719
|
fonts: Rt,
|
|
1701
1720
|
page_background: Dt,
|
|
1702
1721
|
widget: Lt
|
|
1703
|
-
}),
|
|
1722
|
+
}), Fo = wt.extend({
|
|
1704
1723
|
themeId: e.string()
|
|
1705
|
-
}),
|
|
1724
|
+
}), ko = e.object({
|
|
1706
1725
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
1707
1726
|
identifier_first: e.boolean().default(!0),
|
|
1708
1727
|
password_first: e.boolean().default(!1),
|
|
1709
1728
|
webauthn_platform_first_factor: e.boolean()
|
|
1710
|
-
}),
|
|
1729
|
+
}), vo = e.object({
|
|
1711
1730
|
name: e.string(),
|
|
1712
1731
|
enabled: e.boolean().optional().default(!0),
|
|
1713
1732
|
default_from_address: e.string().optional(),
|
|
@@ -1758,15 +1777,15 @@ const Tt = e.object({
|
|
|
1758
1777
|
})
|
|
1759
1778
|
),
|
|
1760
1779
|
rotating: e.boolean()
|
|
1761
|
-
}),
|
|
1780
|
+
}), xo = e.object({
|
|
1762
1781
|
// When the refresh token record was created.
|
|
1763
1782
|
created_at: e.string(),
|
|
1764
1783
|
// Spread in the rest of the refresh token properties.
|
|
1765
1784
|
...jt.shape
|
|
1766
|
-
}),
|
|
1785
|
+
}), Po = e.object({
|
|
1767
1786
|
to: e.string(),
|
|
1768
1787
|
message: e.string()
|
|
1769
|
-
}),
|
|
1788
|
+
}), Mo = e.object({
|
|
1770
1789
|
name: e.string(),
|
|
1771
1790
|
options: e.object({})
|
|
1772
1791
|
}), Ut = e.object({
|
|
@@ -1801,14 +1820,14 @@ const Tt = e.object({
|
|
|
1801
1820
|
...kt.shape,
|
|
1802
1821
|
created_at: e.string().optional(),
|
|
1803
1822
|
updated_at: e.string().optional()
|
|
1804
|
-
}),
|
|
1823
|
+
}), Ho = e.array(vt), xt = e.object({
|
|
1805
1824
|
role_id: e.string(),
|
|
1806
1825
|
resource_server_identifier: e.string(),
|
|
1807
1826
|
permission_name: e.string()
|
|
1808
1827
|
}), Pt = e.object({
|
|
1809
1828
|
...xt.shape,
|
|
1810
1829
|
created_at: e.string()
|
|
1811
|
-
}),
|
|
1830
|
+
}), Go = e.array(Pt), Mt = e.object({
|
|
1812
1831
|
user_id: e.string(),
|
|
1813
1832
|
resource_server_identifier: e.string(),
|
|
1814
1833
|
permission_name: e.string(),
|
|
@@ -1817,7 +1836,7 @@ const Tt = e.object({
|
|
|
1817
1836
|
...Mt.shape,
|
|
1818
1837
|
tenant_id: e.string(),
|
|
1819
1838
|
created_at: e.string().optional()
|
|
1820
|
-
}),
|
|
1839
|
+
}), Bo = e.array(Ht), Gt = e.object({
|
|
1821
1840
|
user_id: e.string(),
|
|
1822
1841
|
resource_server_identifier: e.string(),
|
|
1823
1842
|
resource_server_name: e.string(),
|
|
@@ -1825,7 +1844,7 @@ const Tt = e.object({
|
|
|
1825
1844
|
description: e.string().nullable().optional(),
|
|
1826
1845
|
created_at: e.string().optional(),
|
|
1827
1846
|
organization_id: e.string().optional()
|
|
1828
|
-
}),
|
|
1847
|
+
}), Ko = e.array(
|
|
1829
1848
|
Gt
|
|
1830
1849
|
), Bt = e.object({
|
|
1831
1850
|
user_id: e.string(),
|
|
@@ -1835,7 +1854,7 @@ const Tt = e.object({
|
|
|
1835
1854
|
...Bt.shape,
|
|
1836
1855
|
tenant_id: e.string(),
|
|
1837
1856
|
created_at: e.string().optional()
|
|
1838
|
-
}),
|
|
1857
|
+
}), Wo = e.array(Kt), Wt = e.object({
|
|
1839
1858
|
id: e.string().optional().openapi({
|
|
1840
1859
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
1841
1860
|
}),
|
|
@@ -1855,7 +1874,7 @@ const Tt = e.object({
|
|
|
1855
1874
|
}),
|
|
1856
1875
|
created_at: e.string().optional(),
|
|
1857
1876
|
updated_at: e.string().optional()
|
|
1858
|
-
}),
|
|
1877
|
+
}), zo = e.array(zt), Xt = e.object({
|
|
1859
1878
|
logo_url: e.string().optional().openapi({
|
|
1860
1879
|
description: "URL of the organization's logo"
|
|
1861
1880
|
}),
|
|
@@ -1910,7 +1929,7 @@ const Tt = e.object({
|
|
|
1910
1929
|
description: "List of enabled connections for the organization"
|
|
1911
1930
|
}),
|
|
1912
1931
|
token_quota: qt
|
|
1913
|
-
}),
|
|
1932
|
+
}), Xo = e.object({
|
|
1914
1933
|
...Yt.shape,
|
|
1915
1934
|
...r.shape,
|
|
1916
1935
|
id: e.string(),
|
|
@@ -1925,11 +1944,11 @@ const Tt = e.object({
|
|
|
1925
1944
|
organization_id: e.string().openapi({
|
|
1926
1945
|
description: "ID of the organization"
|
|
1927
1946
|
})
|
|
1928
|
-
}),
|
|
1947
|
+
}), Vo = e.object({
|
|
1929
1948
|
...Qt.shape,
|
|
1930
1949
|
...r.shape,
|
|
1931
1950
|
id: e.string()
|
|
1932
|
-
}),
|
|
1951
|
+
}), qo = e.object({
|
|
1933
1952
|
// Session settings
|
|
1934
1953
|
idle_session_lifetime: e.number().optional(),
|
|
1935
1954
|
session_lifetime: e.number().optional(),
|
|
@@ -1998,7 +2017,7 @@ const Tt = e.object({
|
|
|
1998
2017
|
sessions: e.object({
|
|
1999
2018
|
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
2000
2019
|
}).optional()
|
|
2001
|
-
}),
|
|
2020
|
+
}), Yo = e.object({
|
|
2002
2021
|
date: e.string().openapi({
|
|
2003
2022
|
description: "Date these events occurred in ISO 8601 format",
|
|
2004
2023
|
example: "2025-12-19"
|
|
@@ -2023,17 +2042,52 @@ const Tt = e.object({
|
|
|
2023
2042
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2024
2043
|
example: "2025-12-19T00:00:00.000Z"
|
|
2025
2044
|
})
|
|
2026
|
-
}),
|
|
2045
|
+
}), Qo = e.number().openapi({
|
|
2027
2046
|
description: "Number of active users in the last 30 days",
|
|
2028
2047
|
example: 1234
|
|
2048
|
+
}), Jt = e.enum([
|
|
2049
|
+
"login",
|
|
2050
|
+
"login-id",
|
|
2051
|
+
"login-password",
|
|
2052
|
+
"signup",
|
|
2053
|
+
"signup-id",
|
|
2054
|
+
"signup-password",
|
|
2055
|
+
"reset-password",
|
|
2056
|
+
"consent",
|
|
2057
|
+
"mfa",
|
|
2058
|
+
"mfa-push",
|
|
2059
|
+
"mfa-otp",
|
|
2060
|
+
"mfa-voice",
|
|
2061
|
+
"mfa-phone",
|
|
2062
|
+
"mfa-webauthn",
|
|
2063
|
+
"mfa-sms",
|
|
2064
|
+
"mfa-email",
|
|
2065
|
+
"mfa-recovery-code",
|
|
2066
|
+
"status",
|
|
2067
|
+
"device-flow",
|
|
2068
|
+
"email-verification",
|
|
2069
|
+
"email-otp-challenge",
|
|
2070
|
+
"organizations",
|
|
2071
|
+
"invitation",
|
|
2072
|
+
"common",
|
|
2073
|
+
"passkeys",
|
|
2074
|
+
"captcha",
|
|
2075
|
+
"custom-form"
|
|
2076
|
+
]), Zt = e.record(e.string(), e.string()).openapi({
|
|
2077
|
+
type: "object",
|
|
2078
|
+
additionalProperties: { type: "string" }
|
|
2079
|
+
}), Jo = e.object({
|
|
2080
|
+
prompt: Jt,
|
|
2081
|
+
language: e.string(),
|
|
2082
|
+
custom_text: Zt
|
|
2029
2083
|
});
|
|
2030
|
-
function
|
|
2084
|
+
function Zo(t) {
|
|
2031
2085
|
const [a, s] = t.split("|");
|
|
2032
2086
|
if (!a || !s)
|
|
2033
2087
|
throw new Error(`Invalid user_id: ${t}`);
|
|
2034
2088
|
return { connection: a, id: s };
|
|
2035
2089
|
}
|
|
2036
|
-
function
|
|
2090
|
+
function $o(t) {
|
|
2037
2091
|
const {
|
|
2038
2092
|
primary: a,
|
|
2039
2093
|
secondaries: s,
|
|
@@ -2074,152 +2128,155 @@ function Qo(t) {
|
|
|
2074
2128
|
};
|
|
2075
2129
|
return new Proxy(a, F);
|
|
2076
2130
|
}
|
|
2077
|
-
function
|
|
2131
|
+
function en(t) {
|
|
2078
2132
|
return t;
|
|
2079
2133
|
}
|
|
2080
2134
|
export {
|
|
2081
|
-
|
|
2135
|
+
to as Auth0ActionEnum,
|
|
2082
2136
|
Et as Auth0Client,
|
|
2083
|
-
|
|
2084
|
-
|
|
2137
|
+
O as AuthorizationResponseMode,
|
|
2138
|
+
T as AuthorizationResponseType,
|
|
2085
2139
|
N as CodeChallengeMethod,
|
|
2086
2140
|
y as ComponentCategory,
|
|
2087
2141
|
C as ComponentType,
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2142
|
+
oo as EmailActionEnum,
|
|
2143
|
+
eo as FlowActionTypeEnum,
|
|
2144
|
+
Tt as GrantType,
|
|
2091
2145
|
St as LocationInfo,
|
|
2092
2146
|
bt as LogTypes,
|
|
2093
2147
|
w as LoginSessionState,
|
|
2094
2148
|
se as NodeType,
|
|
2095
2149
|
G as RedirectTargetEnum,
|
|
2096
2150
|
pe as actionNodeSchema,
|
|
2097
|
-
|
|
2151
|
+
Qo as activeUsersResponseSchema,
|
|
2098
2152
|
V as addressSchema,
|
|
2099
|
-
|
|
2153
|
+
po as auth0FlowInsertSchema,
|
|
2100
2154
|
me as auth0FlowSchema,
|
|
2101
|
-
|
|
2155
|
+
io as auth0QuerySchema,
|
|
2102
2156
|
M as auth0UpdateUserActionSchema,
|
|
2103
|
-
|
|
2157
|
+
ro as auth0UserResponseSchema,
|
|
2104
2158
|
he as authParamsSchema,
|
|
2105
2159
|
I as baseUserSchema,
|
|
2106
2160
|
Je as blockComponentSchema,
|
|
2107
|
-
|
|
2108
|
-
|
|
2161
|
+
Ot as bordersSchema,
|
|
2162
|
+
_o as brandingSchema,
|
|
2109
2163
|
oe as buttonComponentSchema,
|
|
2110
2164
|
$ as clientGrantInsertSchema,
|
|
2111
|
-
|
|
2165
|
+
co as clientGrantListSchema,
|
|
2112
2166
|
ee as clientGrantSchema,
|
|
2113
2167
|
Z as clientInsertSchema,
|
|
2114
|
-
|
|
2168
|
+
lo as clientSchema,
|
|
2115
2169
|
fe as codeInsertSchema,
|
|
2116
|
-
|
|
2170
|
+
go as codeSchema,
|
|
2117
2171
|
be as codeTypeSchema,
|
|
2118
2172
|
Nt as colorsSchema,
|
|
2119
2173
|
at as componentMessageSchema,
|
|
2120
2174
|
re as componentSchema,
|
|
2121
2175
|
Se as connectionInsertSchema,
|
|
2122
2176
|
Ee as connectionOptionsSchema,
|
|
2123
|
-
|
|
2177
|
+
uo as connectionSchema,
|
|
2124
2178
|
c as coordinatesSchema,
|
|
2125
|
-
|
|
2126
|
-
|
|
2179
|
+
$o as createPassthroughAdapter,
|
|
2180
|
+
en as createWriteOnlyAdapter,
|
|
2127
2181
|
Ae as customDomainInsertSchema,
|
|
2128
2182
|
Ce as customDomainSchema,
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2183
|
+
mo as customDomainWithTenantIdSchema,
|
|
2184
|
+
Jo as customTextEntrySchema,
|
|
2185
|
+
Zt as customTextSchema,
|
|
2186
|
+
Yo as dailyStatsSchema,
|
|
2187
|
+
vo as emailProviderSchema,
|
|
2132
2188
|
P as emailVerificationRulesSchema,
|
|
2133
2189
|
H as emailVerifyActionSchema,
|
|
2134
2190
|
ue as endingSchema,
|
|
2135
2191
|
$e as fieldComponentSchema,
|
|
2136
2192
|
K as flowActionStepSchema,
|
|
2137
2193
|
W as flowInsertSchema,
|
|
2138
|
-
|
|
2194
|
+
no as flowSchema,
|
|
2139
2195
|
ie as flowsFieldComponentSchema,
|
|
2140
2196
|
ce as flowsFlowNodeSchema,
|
|
2141
2197
|
le as flowsStepNodeSchema,
|
|
2142
2198
|
l as fontDetailsSchema,
|
|
2143
2199
|
Rt as fontsSchema,
|
|
2144
|
-
|
|
2200
|
+
ho as formControlSchema,
|
|
2145
2201
|
it as formInsertSchema,
|
|
2146
2202
|
R as formNodeComponentDefinition,
|
|
2147
2203
|
nt as formNodeSchema,
|
|
2148
|
-
|
|
2204
|
+
bo as formSchema,
|
|
2149
2205
|
ae as genericComponentSchema,
|
|
2150
2206
|
_e as genericNodeSchema,
|
|
2151
|
-
|
|
2152
|
-
|
|
2207
|
+
Io as hookInsertSchema,
|
|
2208
|
+
Co as hookSchema,
|
|
2153
2209
|
X as identitySchema,
|
|
2154
2210
|
gt as inviteInsertSchema,
|
|
2155
|
-
|
|
2211
|
+
yo as inviteSchema,
|
|
2156
2212
|
dt as inviteeSchema,
|
|
2157
2213
|
_t as inviterSchema,
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2214
|
+
Eo as isBlockComponent,
|
|
2215
|
+
Ao as isFieldComponent,
|
|
2216
|
+
So as isWidgetComponent,
|
|
2217
|
+
To as jwksKeySchema,
|
|
2162
2218
|
ut as jwksSchema,
|
|
2163
2219
|
ne as legalComponentSchema,
|
|
2164
2220
|
At as logInsertSchema,
|
|
2165
|
-
|
|
2221
|
+
Ro as logSchema,
|
|
2166
2222
|
ht as loginSessionInsertSchema,
|
|
2167
|
-
|
|
2223
|
+
No as loginSessionSchema,
|
|
2168
2224
|
mt as loginSessionStateSchema,
|
|
2169
2225
|
de as nodeSchema,
|
|
2170
|
-
|
|
2226
|
+
Oo as openIDConfigurationSchema,
|
|
2171
2227
|
Xt as organizationBrandingSchema,
|
|
2172
2228
|
Vt as organizationEnabledConnectionSchema,
|
|
2173
2229
|
Yt as organizationInsertSchema,
|
|
2174
|
-
|
|
2230
|
+
Xo as organizationSchema,
|
|
2175
2231
|
qt as organizationTokenQuotaSchema,
|
|
2176
2232
|
Dt as pageBackgroundSchema,
|
|
2177
|
-
|
|
2233
|
+
Zo as parseUserId,
|
|
2178
2234
|
It as passwordInsertSchema,
|
|
2179
|
-
|
|
2235
|
+
Do as passwordSchema,
|
|
2180
2236
|
z as profileDataSchema,
|
|
2181
|
-
|
|
2237
|
+
Jt as promptScreenSchema,
|
|
2238
|
+
ko as promptSettingSchema,
|
|
2182
2239
|
B as redirectActionSchema,
|
|
2183
2240
|
jt as refreshTokenInsertSchema,
|
|
2184
|
-
|
|
2241
|
+
xo as refreshTokenSchema,
|
|
2185
2242
|
kt as resourceServerInsertSchema,
|
|
2186
|
-
|
|
2243
|
+
Ho as resourceServerListSchema,
|
|
2187
2244
|
Ft as resourceServerOptionsSchema,
|
|
2188
2245
|
vt as resourceServerSchema,
|
|
2189
2246
|
Ut as resourceServerScopeSchema,
|
|
2190
2247
|
te as richTextComponentSchema,
|
|
2191
2248
|
Wt as roleInsertSchema,
|
|
2192
|
-
|
|
2249
|
+
zo as roleListSchema,
|
|
2193
2250
|
xt as rolePermissionInsertSchema,
|
|
2194
|
-
|
|
2251
|
+
Go as rolePermissionListSchema,
|
|
2195
2252
|
Pt as rolePermissionSchema,
|
|
2196
2253
|
zt as roleSchema,
|
|
2197
2254
|
rt as screenLinkSchema,
|
|
2198
2255
|
Ct as sessionInsertSchema,
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2256
|
+
Lo as sessionSchema,
|
|
2257
|
+
wo as signingKeySchema,
|
|
2258
|
+
Mo as smsProviderSchema,
|
|
2259
|
+
Po as smsSendParamsSchema,
|
|
2203
2260
|
ge as startSchema,
|
|
2204
2261
|
yt as tenantInsertSchema,
|
|
2205
|
-
|
|
2206
|
-
|
|
2262
|
+
jo as tenantSchema,
|
|
2263
|
+
qo as tenantSettingsSchema,
|
|
2207
2264
|
wt as themeInsertSchema,
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2265
|
+
Fo as themeSchema,
|
|
2266
|
+
Uo as tokenResponseSchema,
|
|
2267
|
+
ao as totalsSchema,
|
|
2268
|
+
fo as uiScreenSchema,
|
|
2212
2269
|
q as userInsertSchema,
|
|
2213
2270
|
Qt as userOrganizationInsertSchema,
|
|
2214
|
-
|
|
2271
|
+
Vo as userOrganizationSchema,
|
|
2215
2272
|
Mt as userPermissionInsertSchema,
|
|
2216
|
-
|
|
2273
|
+
Bo as userPermissionListSchema,
|
|
2217
2274
|
Ht as userPermissionSchema,
|
|
2218
|
-
|
|
2275
|
+
Ko as userPermissionWithDetailsListSchema,
|
|
2219
2276
|
Gt as userPermissionWithDetailsSchema,
|
|
2220
|
-
|
|
2277
|
+
so as userResponseSchema,
|
|
2221
2278
|
Bt as userRoleInsertSchema,
|
|
2222
|
-
|
|
2279
|
+
Wo as userRoleListSchema,
|
|
2223
2280
|
Kt as userRoleSchema,
|
|
2224
2281
|
Y as userSchema,
|
|
2225
2282
|
Ie as verificationMethodsSchema,
|