@authhero/adapter-interfaces 0.129.0 → 0.130.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 +560 -0
- package/dist/adapter-interfaces.mjs +165 -118
- 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(),
|
|
@@ -172,7 +172,7 @@ const r = e.object({
|
|
|
172
172
|
email: e.string().optional(),
|
|
173
173
|
login_count: e.number().default(0),
|
|
174
174
|
identities: e.array(X).optional()
|
|
175
|
-
}),
|
|
175
|
+
}), ro = Y, so = I.extend({
|
|
176
176
|
login_count: e.number(),
|
|
177
177
|
multifactor: e.array(e.string()).optional(),
|
|
178
178
|
last_ip: e.string().optional(),
|
|
@@ -358,7 +358,7 @@ const Z = e.object({
|
|
|
358
358
|
description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
|
|
359
359
|
}),
|
|
360
360
|
token_quota: e.record(e.any()).default({}).optional()
|
|
361
|
-
}),
|
|
361
|
+
}), lo = e.object({
|
|
362
362
|
created_at: e.string(),
|
|
363
363
|
updated_at: e.string(),
|
|
364
364
|
...Z.shape
|
|
@@ -394,7 +394,7 @@ const Z = e.object({
|
|
|
394
394
|
...$.shape,
|
|
395
395
|
created_at: e.string().optional(),
|
|
396
396
|
updated_at: e.string().optional()
|
|
397
|
-
}),
|
|
397
|
+
}), co = e.array(ee), c = e.object({
|
|
398
398
|
x: e.number(),
|
|
399
399
|
y: e.number()
|
|
400
400
|
});
|
|
@@ -592,17 +592,17 @@ const le = e.object({
|
|
|
592
592
|
sdkSrc: e.string().optional(),
|
|
593
593
|
sdk_src: e.string().optional()
|
|
594
594
|
}).passthrough()
|
|
595
|
-
}).passthrough(),
|
|
595
|
+
}).passthrough(), po = me.omit({
|
|
596
596
|
id: !0,
|
|
597
597
|
created_at: !0,
|
|
598
598
|
updated_at: !0
|
|
599
599
|
});
|
|
600
|
-
var
|
|
600
|
+
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
601
|
const he = e.object({
|
|
602
602
|
client_id: e.string(),
|
|
603
603
|
act_as: e.string().optional(),
|
|
604
|
-
response_type: e.nativeEnum(
|
|
605
|
-
response_mode: e.nativeEnum(
|
|
604
|
+
response_type: e.nativeEnum(T).optional(),
|
|
605
|
+
response_mode: e.nativeEnum(O).optional(),
|
|
606
606
|
redirect_uri: e.string().optional(),
|
|
607
607
|
audience: e.string().optional(),
|
|
608
608
|
organization: e.string().optional(),
|
|
@@ -622,7 +622,7 @@ const he = e.object({
|
|
|
622
622
|
acr_values: e.string().optional(),
|
|
623
623
|
// The following fields are not available in Auth0
|
|
624
624
|
vendor_id: e.string().optional()
|
|
625
|
-
}),
|
|
625
|
+
}), _o = e.object({
|
|
626
626
|
colors: e.object({
|
|
627
627
|
primary: e.string(),
|
|
628
628
|
page_background: e.object({
|
|
@@ -677,7 +677,7 @@ const he = e.object({
|
|
|
677
677
|
expires_at: e.string(),
|
|
678
678
|
used_at: e.string().optional(),
|
|
679
679
|
user_id: e.string().optional()
|
|
680
|
-
}),
|
|
680
|
+
}), go = e.object({
|
|
681
681
|
...fe.shape,
|
|
682
682
|
created_at: e.string()
|
|
683
683
|
}), Ee = e.object({
|
|
@@ -713,7 +713,7 @@ const he = e.object({
|
|
|
713
713
|
show_as_button: e.boolean().optional(),
|
|
714
714
|
metadata: e.record(e.any()).optional(),
|
|
715
715
|
is_system: e.boolean().optional()
|
|
716
|
-
}),
|
|
716
|
+
}), uo = e.object({
|
|
717
717
|
id: e.string(),
|
|
718
718
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
719
719
|
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
@@ -745,7 +745,7 @@ const he = e.object({
|
|
|
745
745
|
methods: e.array(Ie)
|
|
746
746
|
}).optional(),
|
|
747
747
|
tls_policy: e.string().optional()
|
|
748
|
-
}),
|
|
748
|
+
}), mo = Ce.extend({
|
|
749
749
|
tenant_id: e.string()
|
|
750
750
|
}), f = e.object({
|
|
751
751
|
id: e.string(),
|
|
@@ -756,12 +756,12 @@ const he = e.object({
|
|
|
756
756
|
}), ye = i.extend({
|
|
757
757
|
type: e.literal("DIVIDER"),
|
|
758
758
|
config: e.object({}).optional()
|
|
759
|
-
}),
|
|
759
|
+
}), Te = i.extend({
|
|
760
760
|
type: e.literal("HTML"),
|
|
761
761
|
config: e.object({
|
|
762
762
|
content: e.string().optional()
|
|
763
763
|
}).optional()
|
|
764
|
-
}),
|
|
764
|
+
}), Oe = i.extend({
|
|
765
765
|
type: e.literal("IMAGE"),
|
|
766
766
|
config: e.object({
|
|
767
767
|
src: e.string().optional(),
|
|
@@ -920,7 +920,16 @@ const he = e.object({
|
|
|
920
920
|
}), Ve = o.extend({
|
|
921
921
|
type: e.literal("SOCIAL"),
|
|
922
922
|
config: e.object({
|
|
923
|
-
providers: e.array(e.string()).optional()
|
|
923
|
+
providers: e.array(e.string()).optional(),
|
|
924
|
+
// Extended provider info with icons and display names
|
|
925
|
+
provider_details: e.array(
|
|
926
|
+
e.object({
|
|
927
|
+
name: e.string(),
|
|
928
|
+
strategy: e.string().optional(),
|
|
929
|
+
display_name: e.string().optional(),
|
|
930
|
+
icon_url: e.string().optional()
|
|
931
|
+
})
|
|
932
|
+
).optional()
|
|
924
933
|
}).optional()
|
|
925
934
|
}), qe = o.extend({
|
|
926
935
|
type: e.literal("TEL"),
|
|
@@ -942,8 +951,8 @@ const he = e.object({
|
|
|
942
951
|
}).optional()
|
|
943
952
|
}), Je = e.discriminatedUnion("type", [
|
|
944
953
|
ye,
|
|
945
|
-
Oe,
|
|
946
954
|
Te,
|
|
955
|
+
Oe,
|
|
947
956
|
Ne,
|
|
948
957
|
Re,
|
|
949
958
|
De,
|
|
@@ -974,7 +983,7 @@ const he = e.object({
|
|
|
974
983
|
Je,
|
|
975
984
|
Ze,
|
|
976
985
|
$e
|
|
977
|
-
]),
|
|
986
|
+
]), ho = e.object({
|
|
978
987
|
id: e.string(),
|
|
979
988
|
type: e.literal("submit"),
|
|
980
989
|
label: e.string(),
|
|
@@ -1055,7 +1064,7 @@ const he = e.object({
|
|
|
1055
1064
|
style: e.object({ css: e.string().optional() }).optional()
|
|
1056
1065
|
}).openapi({
|
|
1057
1066
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1058
|
-
}),
|
|
1067
|
+
}), bo = e.object({
|
|
1059
1068
|
...r.shape,
|
|
1060
1069
|
...it.shape,
|
|
1061
1070
|
id: e.string()
|
|
@@ -1068,7 +1077,7 @@ const he = e.object({
|
|
|
1068
1077
|
text: e.string(),
|
|
1069
1078
|
href: e.string(),
|
|
1070
1079
|
linkText: e.string().optional()
|
|
1071
|
-
}),
|
|
1080
|
+
}), fo = e.object({
|
|
1072
1081
|
action: e.string(),
|
|
1073
1082
|
method: e.enum(["POST", "GET"]),
|
|
1074
1083
|
title: e.string().optional(),
|
|
@@ -1077,13 +1086,13 @@ const he = e.object({
|
|
|
1077
1086
|
messages: e.array(at).optional(),
|
|
1078
1087
|
links: e.array(rt).optional()
|
|
1079
1088
|
});
|
|
1080
|
-
function
|
|
1089
|
+
function Eo(t) {
|
|
1081
1090
|
return t.category === "BLOCK";
|
|
1082
1091
|
}
|
|
1083
|
-
function
|
|
1092
|
+
function So(t) {
|
|
1084
1093
|
return t.category === "WIDGET";
|
|
1085
1094
|
}
|
|
1086
|
-
function
|
|
1095
|
+
function Ao(t) {
|
|
1087
1096
|
return t.category === "FIELD";
|
|
1088
1097
|
}
|
|
1089
1098
|
const D = e.enum([
|
|
@@ -1114,7 +1123,7 @@ const D = e.enum([
|
|
|
1114
1123
|
...m,
|
|
1115
1124
|
trigger_id: L,
|
|
1116
1125
|
form_id: e.string()
|
|
1117
|
-
}),
|
|
1126
|
+
}), Io = e.union([
|
|
1118
1127
|
st,
|
|
1119
1128
|
lt
|
|
1120
1129
|
]), ct = e.object({
|
|
@@ -1129,7 +1138,7 @@ const D = e.enum([
|
|
|
1129
1138
|
...r.shape,
|
|
1130
1139
|
hook_id: e.string(),
|
|
1131
1140
|
form_id: e.string()
|
|
1132
|
-
}),
|
|
1141
|
+
}), Co = e.union([ct, pt]), _t = e.object({
|
|
1133
1142
|
name: e.string().optional()
|
|
1134
1143
|
}), dt = e.object({
|
|
1135
1144
|
email: e.string().optional()
|
|
@@ -1145,7 +1154,7 @@ const D = e.enum([
|
|
|
1145
1154
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1146
1155
|
roles: e.array(e.string()).default([]).optional(),
|
|
1147
1156
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1148
|
-
}),
|
|
1157
|
+
}), yo = e.object({
|
|
1149
1158
|
id: e.string(),
|
|
1150
1159
|
organization_id: e.string().max(50),
|
|
1151
1160
|
created_at: e.string().datetime(),
|
|
@@ -1170,9 +1179,9 @@ const D = e.enum([
|
|
|
1170
1179
|
x5t: e.string().optional(),
|
|
1171
1180
|
x5c: e.array(e.string()).optional(),
|
|
1172
1181
|
use: e.enum(["sig", "enc"]).optional()
|
|
1173
|
-
}),
|
|
1182
|
+
}), To = e.object({
|
|
1174
1183
|
keys: e.array(ut)
|
|
1175
|
-
}),
|
|
1184
|
+
}), Oo = e.object({
|
|
1176
1185
|
issuer: e.string(),
|
|
1177
1186
|
authorization_endpoint: e.string(),
|
|
1178
1187
|
token_endpoint: e.string(),
|
|
@@ -1216,7 +1225,7 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1216
1225
|
// Set once user is authenticated
|
|
1217
1226
|
}).openapi({
|
|
1218
1227
|
description: "This represents a login sesion"
|
|
1219
|
-
}),
|
|
1228
|
+
}), No = e.object({
|
|
1220
1229
|
...ht.shape,
|
|
1221
1230
|
id: e.string().openapi({
|
|
1222
1231
|
description: "This is is used as the state in the universal login"
|
|
@@ -1433,7 +1442,7 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1433
1442
|
auth0_client: Et.optional(),
|
|
1434
1443
|
log_id: e.string().optional(),
|
|
1435
1444
|
location_info: St.optional()
|
|
1436
|
-
}),
|
|
1445
|
+
}), Ro = e.object({
|
|
1437
1446
|
...At.shape,
|
|
1438
1447
|
log_id: e.string()
|
|
1439
1448
|
}), It = e.object({
|
|
@@ -1442,7 +1451,7 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1442
1451
|
password: e.string(),
|
|
1443
1452
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1444
1453
|
is_current: e.boolean().default(!0)
|
|
1445
|
-
}),
|
|
1454
|
+
}), Do = It.extend({
|
|
1446
1455
|
id: e.string(),
|
|
1447
1456
|
created_at: e.string(),
|
|
1448
1457
|
updated_at: e.string()
|
|
@@ -1465,13 +1474,13 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1465
1474
|
"Metadata related to the device used in the session"
|
|
1466
1475
|
),
|
|
1467
1476
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1468
|
-
}),
|
|
1477
|
+
}), Lo = e.object({
|
|
1469
1478
|
created_at: e.string(),
|
|
1470
1479
|
updated_at: e.string(),
|
|
1471
1480
|
authenticated_at: e.string(),
|
|
1472
1481
|
last_interaction_at: e.string(),
|
|
1473
1482
|
...Ct.shape
|
|
1474
|
-
}),
|
|
1483
|
+
}), wo = e.object({
|
|
1475
1484
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1476
1485
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
1477
1486
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -1620,14 +1629,14 @@ const mt = e.nativeEnum(w), ht = e.object({
|
|
|
1620
1629
|
// Authorization settings
|
|
1621
1630
|
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
1622
1631
|
authorization_response_iss_parameter_supported: e.boolean().optional()
|
|
1623
|
-
}),
|
|
1632
|
+
}), jo = e.object({
|
|
1624
1633
|
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
1625
1634
|
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
1626
1635
|
...yt.shape,
|
|
1627
1636
|
id: e.string()
|
|
1628
1637
|
});
|
|
1629
|
-
var
|
|
1630
|
-
const
|
|
1638
|
+
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 || {});
|
|
1639
|
+
const Uo = e.object({
|
|
1631
1640
|
access_token: e.string(),
|
|
1632
1641
|
id_token: e.string().optional(),
|
|
1633
1642
|
scope: e.string().optional(),
|
|
@@ -1640,7 +1649,7 @@ e.object({
|
|
|
1640
1649
|
code: e.string(),
|
|
1641
1650
|
state: e.string().optional()
|
|
1642
1651
|
});
|
|
1643
|
-
const
|
|
1652
|
+
const Ot = e.object({
|
|
1644
1653
|
button_border_radius: e.number(),
|
|
1645
1654
|
button_border_weight: e.number(),
|
|
1646
1655
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -1694,20 +1703,20 @@ const Tt = e.object({
|
|
|
1694
1703
|
logo_url: e.string(),
|
|
1695
1704
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
1696
1705
|
}), wt = e.object({
|
|
1697
|
-
borders:
|
|
1706
|
+
borders: Ot,
|
|
1698
1707
|
colors: Nt,
|
|
1699
1708
|
displayName: e.string(),
|
|
1700
1709
|
fonts: Rt,
|
|
1701
1710
|
page_background: Dt,
|
|
1702
1711
|
widget: Lt
|
|
1703
|
-
}),
|
|
1712
|
+
}), Fo = wt.extend({
|
|
1704
1713
|
themeId: e.string()
|
|
1705
|
-
}),
|
|
1714
|
+
}), ko = e.object({
|
|
1706
1715
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
1707
1716
|
identifier_first: e.boolean().default(!0),
|
|
1708
1717
|
password_first: e.boolean().default(!1),
|
|
1709
1718
|
webauthn_platform_first_factor: e.boolean()
|
|
1710
|
-
}),
|
|
1719
|
+
}), vo = e.object({
|
|
1711
1720
|
name: e.string(),
|
|
1712
1721
|
enabled: e.boolean().optional().default(!0),
|
|
1713
1722
|
default_from_address: e.string().optional(),
|
|
@@ -1758,15 +1767,15 @@ const Tt = e.object({
|
|
|
1758
1767
|
})
|
|
1759
1768
|
),
|
|
1760
1769
|
rotating: e.boolean()
|
|
1761
|
-
}),
|
|
1770
|
+
}), xo = e.object({
|
|
1762
1771
|
// When the refresh token record was created.
|
|
1763
1772
|
created_at: e.string(),
|
|
1764
1773
|
// Spread in the rest of the refresh token properties.
|
|
1765
1774
|
...jt.shape
|
|
1766
|
-
}),
|
|
1775
|
+
}), Po = e.object({
|
|
1767
1776
|
to: e.string(),
|
|
1768
1777
|
message: e.string()
|
|
1769
|
-
}),
|
|
1778
|
+
}), Mo = e.object({
|
|
1770
1779
|
name: e.string(),
|
|
1771
1780
|
options: e.object({})
|
|
1772
1781
|
}), Ut = e.object({
|
|
@@ -1801,14 +1810,14 @@ const Tt = e.object({
|
|
|
1801
1810
|
...kt.shape,
|
|
1802
1811
|
created_at: e.string().optional(),
|
|
1803
1812
|
updated_at: e.string().optional()
|
|
1804
|
-
}),
|
|
1813
|
+
}), Ho = e.array(vt), xt = e.object({
|
|
1805
1814
|
role_id: e.string(),
|
|
1806
1815
|
resource_server_identifier: e.string(),
|
|
1807
1816
|
permission_name: e.string()
|
|
1808
1817
|
}), Pt = e.object({
|
|
1809
1818
|
...xt.shape,
|
|
1810
1819
|
created_at: e.string()
|
|
1811
|
-
}),
|
|
1820
|
+
}), Go = e.array(Pt), Mt = e.object({
|
|
1812
1821
|
user_id: e.string(),
|
|
1813
1822
|
resource_server_identifier: e.string(),
|
|
1814
1823
|
permission_name: e.string(),
|
|
@@ -1817,7 +1826,7 @@ const Tt = e.object({
|
|
|
1817
1826
|
...Mt.shape,
|
|
1818
1827
|
tenant_id: e.string(),
|
|
1819
1828
|
created_at: e.string().optional()
|
|
1820
|
-
}),
|
|
1829
|
+
}), Bo = e.array(Ht), Gt = e.object({
|
|
1821
1830
|
user_id: e.string(),
|
|
1822
1831
|
resource_server_identifier: e.string(),
|
|
1823
1832
|
resource_server_name: e.string(),
|
|
@@ -1825,7 +1834,7 @@ const Tt = e.object({
|
|
|
1825
1834
|
description: e.string().nullable().optional(),
|
|
1826
1835
|
created_at: e.string().optional(),
|
|
1827
1836
|
organization_id: e.string().optional()
|
|
1828
|
-
}),
|
|
1837
|
+
}), Ko = e.array(
|
|
1829
1838
|
Gt
|
|
1830
1839
|
), Bt = e.object({
|
|
1831
1840
|
user_id: e.string(),
|
|
@@ -1835,7 +1844,7 @@ const Tt = e.object({
|
|
|
1835
1844
|
...Bt.shape,
|
|
1836
1845
|
tenant_id: e.string(),
|
|
1837
1846
|
created_at: e.string().optional()
|
|
1838
|
-
}),
|
|
1847
|
+
}), Wo = e.array(Kt), Wt = e.object({
|
|
1839
1848
|
id: e.string().optional().openapi({
|
|
1840
1849
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
1841
1850
|
}),
|
|
@@ -1855,7 +1864,7 @@ const Tt = e.object({
|
|
|
1855
1864
|
}),
|
|
1856
1865
|
created_at: e.string().optional(),
|
|
1857
1866
|
updated_at: e.string().optional()
|
|
1858
|
-
}),
|
|
1867
|
+
}), zo = e.array(zt), Xt = e.object({
|
|
1859
1868
|
logo_url: e.string().optional().openapi({
|
|
1860
1869
|
description: "URL of the organization's logo"
|
|
1861
1870
|
}),
|
|
@@ -1910,7 +1919,7 @@ const Tt = e.object({
|
|
|
1910
1919
|
description: "List of enabled connections for the organization"
|
|
1911
1920
|
}),
|
|
1912
1921
|
token_quota: qt
|
|
1913
|
-
}),
|
|
1922
|
+
}), Xo = e.object({
|
|
1914
1923
|
...Yt.shape,
|
|
1915
1924
|
...r.shape,
|
|
1916
1925
|
id: e.string(),
|
|
@@ -1925,11 +1934,11 @@ const Tt = e.object({
|
|
|
1925
1934
|
organization_id: e.string().openapi({
|
|
1926
1935
|
description: "ID of the organization"
|
|
1927
1936
|
})
|
|
1928
|
-
}),
|
|
1937
|
+
}), Vo = e.object({
|
|
1929
1938
|
...Qt.shape,
|
|
1930
1939
|
...r.shape,
|
|
1931
1940
|
id: e.string()
|
|
1932
|
-
}),
|
|
1941
|
+
}), qo = e.object({
|
|
1933
1942
|
// Session settings
|
|
1934
1943
|
idle_session_lifetime: e.number().optional(),
|
|
1935
1944
|
session_lifetime: e.number().optional(),
|
|
@@ -1998,7 +2007,7 @@ const Tt = e.object({
|
|
|
1998
2007
|
sessions: e.object({
|
|
1999
2008
|
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
2000
2009
|
}).optional()
|
|
2001
|
-
}),
|
|
2010
|
+
}), Yo = e.object({
|
|
2002
2011
|
date: e.string().openapi({
|
|
2003
2012
|
description: "Date these events occurred in ISO 8601 format",
|
|
2004
2013
|
example: "2025-12-19"
|
|
@@ -2023,17 +2032,52 @@ const Tt = e.object({
|
|
|
2023
2032
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2024
2033
|
example: "2025-12-19T00:00:00.000Z"
|
|
2025
2034
|
})
|
|
2026
|
-
}),
|
|
2035
|
+
}), Qo = e.number().openapi({
|
|
2027
2036
|
description: "Number of active users in the last 30 days",
|
|
2028
2037
|
example: 1234
|
|
2038
|
+
}), Jt = e.enum([
|
|
2039
|
+
"login",
|
|
2040
|
+
"login-id",
|
|
2041
|
+
"login-password",
|
|
2042
|
+
"signup",
|
|
2043
|
+
"signup-id",
|
|
2044
|
+
"signup-password",
|
|
2045
|
+
"reset-password",
|
|
2046
|
+
"consent",
|
|
2047
|
+
"mfa",
|
|
2048
|
+
"mfa-push",
|
|
2049
|
+
"mfa-otp",
|
|
2050
|
+
"mfa-voice",
|
|
2051
|
+
"mfa-phone",
|
|
2052
|
+
"mfa-webauthn",
|
|
2053
|
+
"mfa-sms",
|
|
2054
|
+
"mfa-email",
|
|
2055
|
+
"mfa-recovery-code",
|
|
2056
|
+
"status",
|
|
2057
|
+
"device-flow",
|
|
2058
|
+
"email-verification",
|
|
2059
|
+
"email-otp-challenge",
|
|
2060
|
+
"organizations",
|
|
2061
|
+
"invitation",
|
|
2062
|
+
"common",
|
|
2063
|
+
"passkeys",
|
|
2064
|
+
"captcha",
|
|
2065
|
+
"custom-form"
|
|
2066
|
+
]), Zt = e.record(e.string(), e.string()).openapi({
|
|
2067
|
+
type: "object",
|
|
2068
|
+
additionalProperties: { type: "string" }
|
|
2069
|
+
}), Jo = e.object({
|
|
2070
|
+
prompt: Jt,
|
|
2071
|
+
language: e.string(),
|
|
2072
|
+
custom_text: Zt
|
|
2029
2073
|
});
|
|
2030
|
-
function
|
|
2074
|
+
function Zo(t) {
|
|
2031
2075
|
const [a, s] = t.split("|");
|
|
2032
2076
|
if (!a || !s)
|
|
2033
2077
|
throw new Error(`Invalid user_id: ${t}`);
|
|
2034
2078
|
return { connection: a, id: s };
|
|
2035
2079
|
}
|
|
2036
|
-
function
|
|
2080
|
+
function $o(t) {
|
|
2037
2081
|
const {
|
|
2038
2082
|
primary: a,
|
|
2039
2083
|
secondaries: s,
|
|
@@ -2074,152 +2118,155 @@ function Qo(t) {
|
|
|
2074
2118
|
};
|
|
2075
2119
|
return new Proxy(a, F);
|
|
2076
2120
|
}
|
|
2077
|
-
function
|
|
2121
|
+
function en(t) {
|
|
2078
2122
|
return t;
|
|
2079
2123
|
}
|
|
2080
2124
|
export {
|
|
2081
|
-
|
|
2125
|
+
to as Auth0ActionEnum,
|
|
2082
2126
|
Et as Auth0Client,
|
|
2083
|
-
|
|
2084
|
-
|
|
2127
|
+
O as AuthorizationResponseMode,
|
|
2128
|
+
T as AuthorizationResponseType,
|
|
2085
2129
|
N as CodeChallengeMethod,
|
|
2086
2130
|
y as ComponentCategory,
|
|
2087
2131
|
C as ComponentType,
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2132
|
+
oo as EmailActionEnum,
|
|
2133
|
+
eo as FlowActionTypeEnum,
|
|
2134
|
+
Tt as GrantType,
|
|
2091
2135
|
St as LocationInfo,
|
|
2092
2136
|
bt as LogTypes,
|
|
2093
2137
|
w as LoginSessionState,
|
|
2094
2138
|
se as NodeType,
|
|
2095
2139
|
G as RedirectTargetEnum,
|
|
2096
2140
|
pe as actionNodeSchema,
|
|
2097
|
-
|
|
2141
|
+
Qo as activeUsersResponseSchema,
|
|
2098
2142
|
V as addressSchema,
|
|
2099
|
-
|
|
2143
|
+
po as auth0FlowInsertSchema,
|
|
2100
2144
|
me as auth0FlowSchema,
|
|
2101
|
-
|
|
2145
|
+
io as auth0QuerySchema,
|
|
2102
2146
|
M as auth0UpdateUserActionSchema,
|
|
2103
|
-
|
|
2147
|
+
ro as auth0UserResponseSchema,
|
|
2104
2148
|
he as authParamsSchema,
|
|
2105
2149
|
I as baseUserSchema,
|
|
2106
2150
|
Je as blockComponentSchema,
|
|
2107
|
-
|
|
2108
|
-
|
|
2151
|
+
Ot as bordersSchema,
|
|
2152
|
+
_o as brandingSchema,
|
|
2109
2153
|
oe as buttonComponentSchema,
|
|
2110
2154
|
$ as clientGrantInsertSchema,
|
|
2111
|
-
|
|
2155
|
+
co as clientGrantListSchema,
|
|
2112
2156
|
ee as clientGrantSchema,
|
|
2113
2157
|
Z as clientInsertSchema,
|
|
2114
|
-
|
|
2158
|
+
lo as clientSchema,
|
|
2115
2159
|
fe as codeInsertSchema,
|
|
2116
|
-
|
|
2160
|
+
go as codeSchema,
|
|
2117
2161
|
be as codeTypeSchema,
|
|
2118
2162
|
Nt as colorsSchema,
|
|
2119
2163
|
at as componentMessageSchema,
|
|
2120
2164
|
re as componentSchema,
|
|
2121
2165
|
Se as connectionInsertSchema,
|
|
2122
2166
|
Ee as connectionOptionsSchema,
|
|
2123
|
-
|
|
2167
|
+
uo as connectionSchema,
|
|
2124
2168
|
c as coordinatesSchema,
|
|
2125
|
-
|
|
2126
|
-
|
|
2169
|
+
$o as createPassthroughAdapter,
|
|
2170
|
+
en as createWriteOnlyAdapter,
|
|
2127
2171
|
Ae as customDomainInsertSchema,
|
|
2128
2172
|
Ce as customDomainSchema,
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2173
|
+
mo as customDomainWithTenantIdSchema,
|
|
2174
|
+
Jo as customTextEntrySchema,
|
|
2175
|
+
Zt as customTextSchema,
|
|
2176
|
+
Yo as dailyStatsSchema,
|
|
2177
|
+
vo as emailProviderSchema,
|
|
2132
2178
|
P as emailVerificationRulesSchema,
|
|
2133
2179
|
H as emailVerifyActionSchema,
|
|
2134
2180
|
ue as endingSchema,
|
|
2135
2181
|
$e as fieldComponentSchema,
|
|
2136
2182
|
K as flowActionStepSchema,
|
|
2137
2183
|
W as flowInsertSchema,
|
|
2138
|
-
|
|
2184
|
+
no as flowSchema,
|
|
2139
2185
|
ie as flowsFieldComponentSchema,
|
|
2140
2186
|
ce as flowsFlowNodeSchema,
|
|
2141
2187
|
le as flowsStepNodeSchema,
|
|
2142
2188
|
l as fontDetailsSchema,
|
|
2143
2189
|
Rt as fontsSchema,
|
|
2144
|
-
|
|
2190
|
+
ho as formControlSchema,
|
|
2145
2191
|
it as formInsertSchema,
|
|
2146
2192
|
R as formNodeComponentDefinition,
|
|
2147
2193
|
nt as formNodeSchema,
|
|
2148
|
-
|
|
2194
|
+
bo as formSchema,
|
|
2149
2195
|
ae as genericComponentSchema,
|
|
2150
2196
|
_e as genericNodeSchema,
|
|
2151
|
-
|
|
2152
|
-
|
|
2197
|
+
Io as hookInsertSchema,
|
|
2198
|
+
Co as hookSchema,
|
|
2153
2199
|
X as identitySchema,
|
|
2154
2200
|
gt as inviteInsertSchema,
|
|
2155
|
-
|
|
2201
|
+
yo as inviteSchema,
|
|
2156
2202
|
dt as inviteeSchema,
|
|
2157
2203
|
_t as inviterSchema,
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2204
|
+
Eo as isBlockComponent,
|
|
2205
|
+
Ao as isFieldComponent,
|
|
2206
|
+
So as isWidgetComponent,
|
|
2207
|
+
To as jwksKeySchema,
|
|
2162
2208
|
ut as jwksSchema,
|
|
2163
2209
|
ne as legalComponentSchema,
|
|
2164
2210
|
At as logInsertSchema,
|
|
2165
|
-
|
|
2211
|
+
Ro as logSchema,
|
|
2166
2212
|
ht as loginSessionInsertSchema,
|
|
2167
|
-
|
|
2213
|
+
No as loginSessionSchema,
|
|
2168
2214
|
mt as loginSessionStateSchema,
|
|
2169
2215
|
de as nodeSchema,
|
|
2170
|
-
|
|
2216
|
+
Oo as openIDConfigurationSchema,
|
|
2171
2217
|
Xt as organizationBrandingSchema,
|
|
2172
2218
|
Vt as organizationEnabledConnectionSchema,
|
|
2173
2219
|
Yt as organizationInsertSchema,
|
|
2174
|
-
|
|
2220
|
+
Xo as organizationSchema,
|
|
2175
2221
|
qt as organizationTokenQuotaSchema,
|
|
2176
2222
|
Dt as pageBackgroundSchema,
|
|
2177
|
-
|
|
2223
|
+
Zo as parseUserId,
|
|
2178
2224
|
It as passwordInsertSchema,
|
|
2179
|
-
|
|
2225
|
+
Do as passwordSchema,
|
|
2180
2226
|
z as profileDataSchema,
|
|
2181
|
-
|
|
2227
|
+
Jt as promptScreenSchema,
|
|
2228
|
+
ko as promptSettingSchema,
|
|
2182
2229
|
B as redirectActionSchema,
|
|
2183
2230
|
jt as refreshTokenInsertSchema,
|
|
2184
|
-
|
|
2231
|
+
xo as refreshTokenSchema,
|
|
2185
2232
|
kt as resourceServerInsertSchema,
|
|
2186
|
-
|
|
2233
|
+
Ho as resourceServerListSchema,
|
|
2187
2234
|
Ft as resourceServerOptionsSchema,
|
|
2188
2235
|
vt as resourceServerSchema,
|
|
2189
2236
|
Ut as resourceServerScopeSchema,
|
|
2190
2237
|
te as richTextComponentSchema,
|
|
2191
2238
|
Wt as roleInsertSchema,
|
|
2192
|
-
|
|
2239
|
+
zo as roleListSchema,
|
|
2193
2240
|
xt as rolePermissionInsertSchema,
|
|
2194
|
-
|
|
2241
|
+
Go as rolePermissionListSchema,
|
|
2195
2242
|
Pt as rolePermissionSchema,
|
|
2196
2243
|
zt as roleSchema,
|
|
2197
2244
|
rt as screenLinkSchema,
|
|
2198
2245
|
Ct as sessionInsertSchema,
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2246
|
+
Lo as sessionSchema,
|
|
2247
|
+
wo as signingKeySchema,
|
|
2248
|
+
Mo as smsProviderSchema,
|
|
2249
|
+
Po as smsSendParamsSchema,
|
|
2203
2250
|
ge as startSchema,
|
|
2204
2251
|
yt as tenantInsertSchema,
|
|
2205
|
-
|
|
2206
|
-
|
|
2252
|
+
jo as tenantSchema,
|
|
2253
|
+
qo as tenantSettingsSchema,
|
|
2207
2254
|
wt as themeInsertSchema,
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2255
|
+
Fo as themeSchema,
|
|
2256
|
+
Uo as tokenResponseSchema,
|
|
2257
|
+
ao as totalsSchema,
|
|
2258
|
+
fo as uiScreenSchema,
|
|
2212
2259
|
q as userInsertSchema,
|
|
2213
2260
|
Qt as userOrganizationInsertSchema,
|
|
2214
|
-
|
|
2261
|
+
Vo as userOrganizationSchema,
|
|
2215
2262
|
Mt as userPermissionInsertSchema,
|
|
2216
|
-
|
|
2263
|
+
Bo as userPermissionListSchema,
|
|
2217
2264
|
Ht as userPermissionSchema,
|
|
2218
|
-
|
|
2265
|
+
Ko as userPermissionWithDetailsListSchema,
|
|
2219
2266
|
Gt as userPermissionWithDetailsSchema,
|
|
2220
|
-
|
|
2267
|
+
so as userResponseSchema,
|
|
2221
2268
|
Bt as userRoleInsertSchema,
|
|
2222
|
-
|
|
2269
|
+
Wo as userRoleListSchema,
|
|
2223
2270
|
Kt as userRoleSchema,
|
|
2224
2271
|
Y as userSchema,
|
|
2225
2272
|
Ie as verificationMethodsSchema,
|