@authhero/adapter-interfaces 2.0.0 → 2.2.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.
@@ -28,10 +28,10 @@ const a = e.object({
28
28
  // read through from the control-plane system action with a matching name.
29
29
  // The local `secrets` still override (local-first then upstream fallback).
30
30
  inherit: e.boolean().optional()
31
- }), en = v.partial().extend({
31
+ }), rn = v.partial().extend({
32
32
  status: e.enum(["draft", "built"]).optional(),
33
33
  deployed_at: e.string().optional()
34
- }), tn = v.extend({
34
+ }), sn = v.extend({
35
35
  id: e.string(),
36
36
  tenant_id: e.string(),
37
37
  status: e.enum(["draft", "built"]).default("built"),
@@ -77,7 +77,7 @@ const a = e.object({
77
77
  logs: ae.optional(),
78
78
  created_at: e.string(),
79
79
  updated_at: e.string()
80
- }), on = re.omit({
80
+ }), ln = re.omit({
81
81
  tenant_id: !0,
82
82
  created_at: !0,
83
83
  updated_at: !0
@@ -89,7 +89,7 @@ const a = e.object({
89
89
  secrets: e.array(R).optional(),
90
90
  supported_triggers: e.array(j).optional(),
91
91
  deployed: e.boolean().default(!0)
92
- }), nn = se.extend({
92
+ }), cn = se.extend({
93
93
  id: e.string(),
94
94
  tenant_id: e.string(),
95
95
  number: e.number().int(),
@@ -155,15 +155,15 @@ const a = e.object({
155
155
  hostname: e.string(),
156
156
  is_mobile: e.boolean().optional(),
157
157
  timestamp: e.string()
158
- }), an = me.extend({
158
+ }), pn = me.extend({
159
159
  id: e.string()
160
- }), rn = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), sn = e.enum([
160
+ }), dn = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), _n = e.enum([
161
161
  "CREATE_USER",
162
162
  "GET_USER",
163
163
  "UPDATE_USER",
164
164
  "SEND_REQUEST",
165
165
  "SEND_EMAIL"
166
- ]), ln = e.enum(["VERIFY_EMAIL"]), he = e.object({
166
+ ]), gn = e.enum(["VERIFY_EMAIL"]), he = e.object({
167
167
  require_mx_record: e.boolean().optional(),
168
168
  block_aliases: e.boolean().optional(),
169
169
  block_free_emails: e.boolean().optional(),
@@ -193,7 +193,7 @@ const a = e.object({
193
193
  email: e.string(),
194
194
  rules: he.optional()
195
195
  })
196
- }), Ee = e.enum(["change-email", "account", "custom"]), Se = e.object({
196
+ }), Se = e.enum(["change-email", "account", "custom"]), Ee = e.object({
197
197
  id: e.string(),
198
198
  alias: e.string().max(100).optional(),
199
199
  type: e.literal("REDIRECT"),
@@ -201,7 +201,7 @@ const a = e.object({
201
201
  allow_failure: e.boolean().optional(),
202
202
  mask_output: e.boolean().optional(),
203
203
  params: e.object({
204
- target: Ee.openapi({
204
+ target: Se.openapi({
205
205
  description: "The predefined target to redirect to, or 'custom' for a custom URL"
206
206
  }),
207
207
  custom_url: e.string().optional().openapi({
@@ -211,7 +211,7 @@ const a = e.object({
211
211
  }), ye = e.union([
212
212
  be,
213
213
  fe,
214
- Se
214
+ Ee
215
215
  ]), Ae = e.object({
216
216
  name: e.string().min(1).max(150).openapi({
217
217
  description: "The name of the flow"
@@ -220,13 +220,13 @@ const a = e.object({
220
220
  actions: e.array(ye).optional().default([]).openapi({
221
221
  description: "The list of actions to execute in sequence"
222
222
  })
223
- }), cn = Ae.extend({
223
+ }), un = Ae.extend({
224
224
  ...a.shape,
225
225
  id: e.string().openapi({
226
226
  description: "Unique identifier for the flow",
227
227
  example: "af_12tMpdJ3iek7svMyZkSh5M"
228
228
  })
229
- }), pn = e.object({
229
+ }), mn = e.object({
230
230
  page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
231
231
  description: "The page number where 0 is the first page"
232
232
  }),
@@ -242,7 +242,7 @@ const a = e.object({
242
242
  q: e.string().optional().openapi({
243
243
  description: "A lucene query string used to filter the results"
244
244
  })
245
- }), dn = e.object({
245
+ }), hn = e.object({
246
246
  start: e.number(),
247
247
  limit: e.number(),
248
248
  length: e.number(),
@@ -339,7 +339,7 @@ const a = e.object({
339
339
  hash: e.string(),
340
340
  algorithm: e.string()
341
341
  }).optional()
342
- }), Ne = e.object({
342
+ }), we = e.object({
343
343
  ...Oe.omit({ password: !0 }).shape,
344
344
  ...a.shape,
345
345
  user_id: e.string(),
@@ -348,19 +348,19 @@ const a = e.object({
348
348
  email: e.string().optional(),
349
349
  login_count: e.number().default(0),
350
350
  identities: e.array(Ce).optional()
351
- }), _n = Ne.omit({
351
+ }), bn = we.omit({
352
352
  registration_completed_at: !0
353
- }), gn = D.extend({
353
+ }), fn = D.extend({
354
354
  login_count: e.number(),
355
355
  multifactor: e.array(e.string()).optional(),
356
356
  last_ip: e.string().optional(),
357
357
  last_login: e.string().optional(),
358
358
  user_id: e.string()
359
359
  }).catchall(e.any());
360
- let we = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", je = (t = 21) => {
360
+ let Ne = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", je = (t = 21) => {
361
361
  let o = "", n = crypto.getRandomValues(new Uint8Array(t |= 0));
362
362
  for (; t--; )
363
- o += we[n[t] & 63];
363
+ o += Ne[n[t] & 63];
364
364
  return o;
365
365
  };
366
366
  const ke = e.object({
@@ -584,7 +584,7 @@ const ke = e.object({
584
584
  user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({
585
585
  description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies."
586
586
  })
587
- }), un = e.object({
587
+ }), Sn = e.object({
588
588
  created_at: e.string(),
589
589
  updated_at: e.string(),
590
590
  ...ke.shape,
@@ -623,7 +623,7 @@ const ke = e.object({
623
623
  ...Re.shape,
624
624
  created_at: e.string().optional(),
625
625
  updated_at: e.string().optional()
626
- }), mn = e.array(ve), De = e.enum(["iat", "rat"]), Le = e.object({
626
+ }), En = e.array(ve), De = e.enum(["iat", "rat"]), Le = e.object({
627
627
  id: e.string(),
628
628
  token_hash: e.string(),
629
629
  type: De,
@@ -632,7 +632,7 @@ const ke = e.object({
632
632
  constraints: e.record(e.unknown()).optional(),
633
633
  single_use: e.boolean().default(!1),
634
634
  expires_at: e.string().optional()
635
- }), hn = e.object({
635
+ }), yn = e.object({
636
636
  created_at: e.string(),
637
637
  used_at: e.string().optional(),
638
638
  revoked_at: e.string().optional(),
@@ -835,13 +835,13 @@ const Be = e.object({
835
835
  sdkSrc: e.string().optional(),
836
836
  sdk_src: e.string().optional()
837
837
  }).passthrough()
838
- }).passthrough(), bn = Ye.omit({
838
+ }).passthrough(), An = Ye.omit({
839
839
  id: !0,
840
840
  created_at: !0,
841
841
  updated_at: !0
842
842
  });
843
843
  var U = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "id_token token", t.CODE = "code", t.CODE_ID_TOKEN = "code id_token", t.CODE_TOKEN = "code token", t.CODE_ID_TOKEN_TOKEN = "code id_token token", t))(U || {}), F = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(F || {}), P = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(P || {});
844
- const w = e.union([
844
+ const N = e.union([
845
845
  e.null(),
846
846
  e.object({
847
847
  essential: e.boolean().optional(),
@@ -849,8 +849,8 @@ const w = e.union([
849
849
  values: e.array(e.unknown()).optional()
850
850
  })
851
851
  ]).nullable(), Ze = e.object({
852
- userinfo: e.record(e.string(), w).optional(),
853
- id_token: e.record(e.string(), w).optional()
852
+ userinfo: e.record(e.string(), N).optional(),
853
+ id_token: e.record(e.string(), N).optional()
854
854
  }), Qe = e.object({
855
855
  client_id: e.string(),
856
856
  act_as: e.string().optional(),
@@ -878,7 +878,7 @@ const w = e.union([
878
878
  claims: Ze.optional(),
879
879
  // The following fields are not available in Auth0
880
880
  vendor_id: e.string().optional()
881
- }), fn = e.object({
881
+ }), In = e.object({
882
882
  colors: e.object({
883
883
  primary: e.string(),
884
884
  // Auth0 supports either a hex color string ("#ffffff") or a gradient
@@ -946,7 +946,7 @@ const w = e.union([
946
946
  expires_at: e.string(),
947
947
  used_at: e.string().optional(),
948
948
  user_id: e.string().optional()
949
- }), En = e.object({
949
+ }), Cn = e.object({
950
950
  ...Je.shape,
951
951
  created_at: e.string()
952
952
  }), et = e.object({
@@ -1012,7 +1012,10 @@ const w = e.union([
1012
1012
  token_endpoint: e.string().optional(),
1013
1013
  userinfo_endpoint: e.string().optional(),
1014
1014
  client_id: e.string().optional(),
1015
- client_secret: e.string().optional()
1015
+ client_secret: e.string().optional(),
1016
+ // Optional override for the `realm` sent in the password-realm grant.
1017
+ // Defaults to the connection name when omitted.
1018
+ realm: e.string().optional()
1016
1019
  }).optional(),
1017
1020
  // Flexible Identifiers: attributes schema (replaces legacy requires_username)
1018
1021
  attributes: e.object({
@@ -1114,7 +1117,7 @@ const tt = e.object({
1114
1117
  show_as_button: e.boolean().optional(),
1115
1118
  metadata: e.record(e.any()).optional(),
1116
1119
  is_system: e.boolean().optional()
1117
- }), Sn = e.object({
1120
+ }), Tn = e.object({
1118
1121
  id: e.string(),
1119
1122
  created_at: e.string().transform((t) => t === null ? "" : t),
1120
1123
  updated_at: e.string().transform((t) => t === null ? "" : t)
@@ -1153,7 +1156,7 @@ const tt = e.object({
1153
1156
  methods: e.array(nt)
1154
1157
  }).optional(),
1155
1158
  tls_policy: e.string().optional()
1156
- }), yn = it.extend({
1159
+ }), On = it.extend({
1157
1160
  tenant_id: e.string()
1158
1161
  }), O = e.object({
1159
1162
  id: e.string(),
@@ -1206,23 +1209,23 @@ const tt = e.object({
1206
1209
  config: e.object({
1207
1210
  content: e.string().optional()
1208
1211
  }).optional()
1209
- }), N = O.extend({
1212
+ }), w = O.extend({
1210
1213
  category: e.literal("WIDGET").optional(),
1211
1214
  label: e.string().min(1).optional(),
1212
1215
  hint: e.string().min(1).max(500).optional(),
1213
1216
  required: e.boolean().optional(),
1214
1217
  sensitive: e.boolean().optional()
1215
- }), gt = N.extend({
1218
+ }), gt = w.extend({
1216
1219
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
1217
1220
  config: e.object({
1218
1221
  credential_type: e.string().optional()
1219
1222
  })
1220
- }), ut = N.extend({
1223
+ }), ut = w.extend({
1221
1224
  type: e.literal("GMAPS_ADDRESS"),
1222
1225
  config: e.object({
1223
1226
  api_key: e.string().optional()
1224
1227
  })
1225
- }), mt = N.extend({
1228
+ }), mt = w.extend({
1226
1229
  type: e.literal("RECAPTCHA"),
1227
1230
  config: e.object({
1228
1231
  site_key: e.string().optional()
@@ -1271,7 +1274,7 @@ const tt = e.object({
1271
1274
  multiple: e.boolean().optional(),
1272
1275
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1273
1276
  }).optional()
1274
- }), Et = i.extend({
1277
+ }), St = i.extend({
1275
1278
  type: e.literal("CUSTOM"),
1276
1279
  config: e.object({
1277
1280
  component: e.string().optional(),
@@ -1279,7 +1282,7 @@ const tt = e.object({
1279
1282
  schema: e.record(e.any()).optional(),
1280
1283
  code: e.string().optional()
1281
1284
  })
1282
- }), St = i.extend({
1285
+ }), Et = i.extend({
1283
1286
  type: e.literal("DATE"),
1284
1287
  config: e.object({
1285
1288
  format: e.string().optional(),
@@ -1338,13 +1341,13 @@ const tt = e.object({
1338
1341
  forgot_password_link: e.string().optional(),
1339
1342
  default_value: e.string().optional()
1340
1343
  }).optional()
1341
- }), Nt = i.extend({
1344
+ }), wt = i.extend({
1342
1345
  type: e.literal("PAYMENT"),
1343
1346
  config: e.object({
1344
1347
  provider: e.string().optional(),
1345
1348
  currency: e.string().optional()
1346
1349
  }).optional()
1347
- }), wt = i.extend({
1350
+ }), Nt = i.extend({
1348
1351
  type: e.literal("SOCIAL"),
1349
1352
  config: e.object({
1350
1353
  providers: e.array(e.string()).optional(),
@@ -1405,16 +1408,16 @@ const tt = e.object({
1405
1408
  bt,
1406
1409
  ft,
1407
1410
  Rt,
1408
- Et,
1409
1411
  St,
1412
+ Et,
1410
1413
  yt,
1411
1414
  At,
1412
1415
  It,
1413
1416
  Ct,
1414
1417
  Tt,
1415
1418
  Ot,
1416
- Nt,
1417
1419
  wt,
1420
+ Nt,
1418
1421
  jt,
1419
1422
  kt,
1420
1423
  vt
@@ -1422,7 +1425,7 @@ const tt = e.object({
1422
1425
  Dt,
1423
1426
  Lt,
1424
1427
  xt
1425
- ]), An = /* @__PURE__ */ new Set([
1428
+ ]), wn = /* @__PURE__ */ new Set([
1426
1429
  "BOOLEAN",
1427
1430
  "CARDS",
1428
1431
  "CHOICE",
@@ -1436,7 +1439,7 @@ const tt = e.object({
1436
1439
  "TEL",
1437
1440
  "TEXT",
1438
1441
  "URL"
1439
- ]), In = e.object({
1442
+ ]), Nn = e.object({
1440
1443
  id: e.string(),
1441
1444
  type: e.literal("submit"),
1442
1445
  label: e.string(),
@@ -1445,13 +1448,13 @@ const tt = e.object({
1445
1448
  order: e.number().optional(),
1446
1449
  visible: e.boolean().optional().default(!0),
1447
1450
  customizations: e.record(e.string(), e.any()).optional()
1448
- }), E = e.object({
1451
+ }), S = e.object({
1449
1452
  x: e.number(),
1450
1453
  y: e.number()
1451
1454
  }), Ut = e.object({
1452
1455
  id: e.string(),
1453
1456
  type: e.literal("FLOW"),
1454
- coordinates: E,
1457
+ coordinates: S,
1455
1458
  alias: e.string().min(1).max(150).optional(),
1456
1459
  config: e.object({
1457
1460
  flow_id: e.string().max(30),
@@ -1460,7 +1463,7 @@ const tt = e.object({
1460
1463
  }), Ft = e.object({
1461
1464
  id: e.string(),
1462
1465
  type: e.literal("ROUTER"),
1463
- coordinates: E,
1466
+ coordinates: S,
1464
1467
  alias: e.string().min(1).max(150),
1465
1468
  config: e.object({
1466
1469
  rules: e.array(
@@ -1476,7 +1479,7 @@ const tt = e.object({
1476
1479
  }), Pt = e.object({
1477
1480
  id: e.string(),
1478
1481
  type: e.literal("STEP"),
1479
- coordinates: E,
1482
+ coordinates: S,
1480
1483
  alias: e.string().min(1).max(150).optional(),
1481
1484
  config: e.object({
1482
1485
  components: e.array(M),
@@ -1503,7 +1506,7 @@ const tt = e.object({
1503
1506
  start: e.object({
1504
1507
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1505
1508
  next_node: e.string().optional(),
1506
- coordinates: E.optional()
1509
+ coordinates: S.optional()
1507
1510
  }).optional(),
1508
1511
  ending: e.object({
1509
1512
  redirection: e.object({
@@ -1511,7 +1514,7 @@ const tt = e.object({
1511
1514
  target: e.string().optional()
1512
1515
  }).optional(),
1513
1516
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1514
- coordinates: E.optional(),
1517
+ coordinates: S.optional(),
1515
1518
  resume_flow: e.boolean().optional()
1516
1519
  }).optional(),
1517
1520
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1521,7 +1524,7 @@ const tt = e.object({
1521
1524
  }).optional()
1522
1525
  }).openapi({
1523
1526
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1524
- }), Cn = e.object({
1527
+ }), jn = e.object({
1525
1528
  ...a.shape,
1526
1529
  ...Ht.shape,
1527
1530
  id: e.string()
@@ -1534,7 +1537,7 @@ const tt = e.object({
1534
1537
  text: e.string(),
1535
1538
  href: e.string(),
1536
1539
  linkText: e.string().optional()
1537
- }), Tn = e.object({
1540
+ }), kn = e.object({
1538
1541
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1539
1542
  name: e.string().optional(),
1540
1543
  action: e.string(),
@@ -1547,13 +1550,13 @@ const tt = e.object({
1547
1550
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1548
1551
  footer: e.string().optional()
1549
1552
  });
1550
- function On(t) {
1553
+ function Rn(t) {
1551
1554
  return t.category === "BLOCK";
1552
1555
  }
1553
- function Nn(t) {
1556
+ function vn(t) {
1554
1557
  return t.category === "WIDGET";
1555
1558
  }
1556
- function wn(t) {
1559
+ function Dn(t) {
1557
1560
  return t.category === "FIELD";
1558
1561
  }
1559
1562
  const H = e.enum([
@@ -1586,7 +1589,7 @@ const H = e.enum([
1586
1589
  "ensure-username",
1587
1590
  "set-preferred-username",
1588
1591
  "account-linking"
1589
- ]), jn = {
1592
+ ]), Ln = {
1590
1593
  "ensure-username": {
1591
1594
  name: "Ensure Username",
1592
1595
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1639,7 +1642,7 @@ const H = e.enum([
1639
1642
  ...c,
1640
1643
  trigger_id: W,
1641
1644
  code_id: e.string()
1642
- }), kn = e.union([
1645
+ }), xn = e.union([
1643
1646
  Wt,
1644
1647
  Kt,
1645
1648
  zt,
@@ -1668,7 +1671,7 @@ const H = e.enum([
1668
1671
  ...a.shape,
1669
1672
  hook_id: e.string(),
1670
1673
  code_id: e.string()
1671
- }), Rn = e.union([
1674
+ }), Un = e.union([
1672
1675
  Xt,
1673
1676
  Vt,
1674
1677
  Yt,
@@ -1676,7 +1679,7 @@ const H = e.enum([
1676
1679
  ]), Qt = e.object({
1677
1680
  code: e.string().max(1e5),
1678
1681
  secrets: e.record(e.string()).optional()
1679
- }), vn = Qt.extend({
1682
+ }), Fn = Qt.extend({
1680
1683
  id: e.string(),
1681
1684
  tenant_id: e.string(),
1682
1685
  ...a.shape
@@ -1696,7 +1699,7 @@ const H = e.enum([
1696
1699
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1697
1700
  roles: e.array(e.string()).default([]).optional(),
1698
1701
  send_invitation_email: e.boolean().default(!0).optional()
1699
- }), Dn = e.object({
1702
+ }), Pn = e.object({
1700
1703
  id: e.string(),
1701
1704
  organization_id: e.string().max(50),
1702
1705
  created_at: e.string().datetime(),
@@ -1741,9 +1744,9 @@ const H = e.enum([
1741
1744
  path: [n],
1742
1745
  message: `EC JWK is missing required member '${n}'`
1743
1746
  });
1744
- }), Ln = e.object({
1747
+ }), Mn = e.object({
1745
1748
  keys: e.array(to)
1746
- }), xn = e.object({
1749
+ }), Hn = e.object({
1747
1750
  issuer: e.string(),
1748
1751
  authorization_endpoint: e.string(),
1749
1752
  token_endpoint: e.string(),
@@ -1797,7 +1800,7 @@ const oo = e.nativeEnum(z), no = e.object({
1797
1800
  // ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
1798
1801
  }).openapi({
1799
1802
  description: "This represents a login sesion"
1800
- }), Un = e.object({
1803
+ }), Gn = e.object({
1801
1804
  ...io.shape,
1802
1805
  id: e.string().openapi({
1803
1806
  description: "This is is used as the state in the universal login"
@@ -2017,7 +2020,7 @@ const oo = e.nativeEnum(z), no = e.object({
2017
2020
  auth0_client: so.optional(),
2018
2021
  log_id: e.string().optional(),
2019
2022
  location_info: lo.optional()
2020
- }), Fn = e.object({
2023
+ }), Bn = e.object({
2021
2024
  ...co.shape,
2022
2025
  log_id: e.string()
2023
2026
  }), po = e.enum([
@@ -2027,11 +2030,7 @@ const oo = e.nativeEnum(z), no = e.object({
2027
2030
  "splunk",
2028
2031
  "datadog",
2029
2032
  "sumo"
2030
- ]), q = e.enum([
2031
- "active",
2032
- "paused",
2033
- "suspended"
2034
- ]), _o = e.object({
2033
+ ]), q = e.enum(["active", "paused", "suspended"]), _o = e.object({
2035
2034
  type: e.string(),
2036
2035
  name: e.string()
2037
2036
  }), go = e.object({
@@ -2041,12 +2040,34 @@ const oo = e.nativeEnum(z), no = e.object({
2041
2040
  sink: e.record(e.string(), e.unknown()),
2042
2041
  filters: e.array(_o).optional(),
2043
2042
  isPriority: e.boolean().optional()
2044
- }), Pn = go.extend({
2043
+ }), Wn = go.extend({
2045
2044
  id: e.string(),
2046
2045
  status: q,
2047
2046
  created_at: e.string().optional(),
2048
2047
  updated_at: e.string().optional()
2049
- }), uo = e.object({
2048
+ }), uo = e.enum([
2049
+ "auth0",
2050
+ "cognito",
2051
+ "okta",
2052
+ "oidc"
2053
+ ]), mo = e.object({
2054
+ domain: e.string(),
2055
+ client_id: e.string(),
2056
+ client_secret: e.string(),
2057
+ audience: e.string().optional(),
2058
+ scope: e.string().optional()
2059
+ }), ho = e.object({
2060
+ id: e.string().optional(),
2061
+ name: e.string(),
2062
+ provider: uo,
2063
+ connection: e.string(),
2064
+ enabled: e.boolean().default(!0),
2065
+ credentials: mo
2066
+ }), Kn = e.object({
2067
+ id: e.string(),
2068
+ created_at: e.string(),
2069
+ updated_at: e.string()
2070
+ }).extend(ho.shape), bo = e.object({
2050
2071
  enabled: e.boolean().optional(),
2051
2072
  shields: e.array(e.string()).optional(),
2052
2073
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -2059,13 +2080,13 @@ const oo = e.nativeEnum(z), no = e.object({
2059
2080
  shields: e.array(e.string()).optional()
2060
2081
  }).optional()
2061
2082
  }).optional()
2062
- }), mo = e.object({
2083
+ }), fo = e.object({
2063
2084
  enabled: e.boolean().optional(),
2064
2085
  shields: e.array(e.string()).optional(),
2065
2086
  allowlist: e.array(e.string()).optional(),
2066
2087
  mode: e.string().optional(),
2067
2088
  max_attempts: e.number().optional()
2068
- }), ho = e.object({
2089
+ }), So = e.object({
2069
2090
  enabled: e.boolean().optional(),
2070
2091
  shields: e.array(e.string()).optional(),
2071
2092
  allowlist: e.array(e.string()).optional(),
@@ -2079,17 +2100,17 @@ const oo = e.nativeEnum(z), no = e.object({
2079
2100
  rate: e.number().optional()
2080
2101
  }).optional()
2081
2102
  }).optional()
2082
- }), bo = e.object({
2083
- breached_password_detection: uo.optional(),
2084
- brute_force_protection: mo.optional(),
2085
- suspicious_ip_throttling: ho.optional()
2086
- }), fo = e.object({
2103
+ }), Eo = e.object({
2104
+ breached_password_detection: bo.optional(),
2105
+ brute_force_protection: fo.optional(),
2106
+ suspicious_ip_throttling: So.optional()
2107
+ }), yo = e.object({
2087
2108
  id: e.string().optional(),
2088
2109
  user_id: e.string(),
2089
2110
  password: e.string(),
2090
2111
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
2091
2112
  is_current: e.boolean().default(!0)
2092
- }), Mn = fo.extend({
2113
+ }), zn = yo.extend({
2093
2114
  id: e.string(),
2094
2115
  created_at: e.string(),
2095
2116
  updated_at: e.string()
@@ -2100,7 +2121,7 @@ const oo = e.nativeEnum(z), no = e.object({
2100
2121
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
2101
2122
  last_ip: e.string().describe("Last IP address from which this user logged in"),
2102
2123
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
2103
- }), Eo = e.object({
2124
+ }), Ao = e.object({
2104
2125
  id: e.string(),
2105
2126
  revoked_at: e.string().optional(),
2106
2127
  used_at: e.string().optional(),
@@ -2112,13 +2133,13 @@ const oo = e.nativeEnum(z), no = e.object({
2112
2133
  "Metadata related to the device used in the session"
2113
2134
  ),
2114
2135
  clients: e.array(e.string()).describe("List of client details for the session")
2115
- }), Hn = e.object({
2136
+ }), qn = e.object({
2116
2137
  created_at: e.string(),
2117
2138
  updated_at: e.string(),
2118
2139
  authenticated_at: e.string(),
2119
2140
  last_interaction_at: e.string(),
2120
- ...Eo.shape
2121
- }), Gn = e.object({
2141
+ ...Ao.shape
2142
+ }), Xn = e.object({
2122
2143
  kid: e.string().openapi({ description: "The key id of the signing key" }),
2123
2144
  tenant_id: e.string().optional().openapi({
2124
2145
  description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped."
@@ -2146,7 +2167,7 @@ const oo = e.nativeEnum(z), no = e.object({
2146
2167
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
2147
2168
  description: "The type of the signing key"
2148
2169
  })
2149
- }), So = e.object({
2170
+ }), Io = e.object({
2150
2171
  id: e.string().optional(),
2151
2172
  // Basic settings
2152
2173
  audience: e.string(),
@@ -2299,7 +2320,7 @@ const oo = e.nativeEnum(z), no = e.object({
2299
2320
  pushed_authorization_requests_supported: e.boolean().optional(),
2300
2321
  authorization_response_iss_parameter_supported: e.boolean().optional(),
2301
2322
  // Attack-protection config (singleton, exposed via /api/v2/attack-protection)
2302
- attack_protection: bo.optional(),
2323
+ attack_protection: Eo.optional(),
2303
2324
  // Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
2304
2325
  mfa: e.object({
2305
2326
  // MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
@@ -2331,14 +2352,14 @@ const oo = e.nativeEnum(z), no = e.object({
2331
2352
  message: e.string().optional()
2332
2353
  }).optional()
2333
2354
  }).optional()
2334
- }), Bn = e.object({
2355
+ }), Vn = e.object({
2335
2356
  created_at: e.string().nullable().transform((t) => t ?? ""),
2336
2357
  updated_at: e.string().nullable().transform((t) => t ?? ""),
2337
- ...So.shape,
2358
+ ...Io.shape,
2338
2359
  id: e.string()
2339
2360
  });
2340
- var yo = /* @__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))(yo || {});
2341
- const Wn = e.object({
2361
+ var Co = /* @__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))(Co || {});
2362
+ const Yn = e.object({
2342
2363
  access_token: e.string(),
2343
2364
  id_token: e.string().optional(),
2344
2365
  scope: e.string().optional(),
@@ -2351,7 +2372,7 @@ e.object({
2351
2372
  code: e.string(),
2352
2373
  state: e.string().optional()
2353
2374
  });
2354
- const Ao = e.object({
2375
+ const To = e.object({
2355
2376
  button_border_radius: e.number(),
2356
2377
  button_border_weight: e.number(),
2357
2378
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -2361,7 +2382,7 @@ const Ao = e.object({
2361
2382
  show_widget_shadow: e.boolean(),
2362
2383
  widget_border_weight: e.number(),
2363
2384
  widget_corner_radius: e.number()
2364
- }), Io = e.object({
2385
+ }), Oo = e.object({
2365
2386
  base_focus_color: e.string(),
2366
2387
  base_hover_color: e.string(),
2367
2388
  body_text: e.string(),
@@ -2384,7 +2405,7 @@ const Ao = e.object({
2384
2405
  }), u = e.object({
2385
2406
  bold: e.boolean(),
2386
2407
  size: e.number()
2387
- }), Co = e.object({
2408
+ }), wo = e.object({
2388
2409
  body_text: u,
2389
2410
  buttons_text: u,
2390
2411
  font_url: e.string(),
@@ -2394,7 +2415,7 @@ const Ao = e.object({
2394
2415
  reference_text_size: e.number(),
2395
2416
  subtitle: u,
2396
2417
  title: u
2397
- }), To = e.object({
2418
+ }), No = e.object({
2398
2419
  background_color: e.string(),
2399
2420
  background_image_url: e.string(),
2400
2421
  page_layout: e.enum(["center", "left", "right"]),
@@ -2407,33 +2428,33 @@ const Ao = e.object({
2407
2428
  * Optional for backwards compatibility; absent values mean "widget".
2408
2429
  */
2409
2430
  logo_placement: e.enum(["widget", "chip", "none"]).optional()
2410
- }), Oo = e.object({
2431
+ }), jo = e.object({
2411
2432
  header_text_alignment: e.enum(["center", "left", "right"]),
2412
2433
  logo_height: e.number(),
2413
2434
  logo_position: e.enum(["center", "left", "none", "right"]),
2414
2435
  logo_url: e.string(),
2415
2436
  social_buttons_layout: e.enum(["bottom", "top"])
2416
- }), No = e.object({
2417
- borders: Ao,
2418
- colors: Io,
2437
+ }), ko = e.object({
2438
+ borders: To,
2439
+ colors: Oo,
2419
2440
  displayName: e.string(),
2420
- fonts: Co,
2421
- page_background: To,
2422
- widget: Oo
2423
- }), Kn = No.extend({
2441
+ fonts: wo,
2442
+ page_background: No,
2443
+ widget: jo
2444
+ }), Zn = ko.extend({
2424
2445
  themeId: e.string()
2425
- }), zn = e.object({
2446
+ }), Qn = e.object({
2426
2447
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2427
2448
  identifier_first: e.boolean().default(!0),
2428
2449
  password_first: e.boolean().default(!1),
2429
2450
  webauthn_platform_first_factor: e.boolean()
2430
- }), qn = e.object({
2451
+ }), $n = e.object({
2431
2452
  name: e.string(),
2432
2453
  enabled: e.boolean().optional().default(!0),
2433
2454
  default_from_address: e.string().optional(),
2434
2455
  credentials: e.record(e.string(), e.unknown()),
2435
2456
  settings: e.object({}).optional()
2436
- }), wo = e.enum([
2457
+ }), Ro = e.enum([
2437
2458
  "verify_email",
2438
2459
  "verify_email_by_code",
2439
2460
  "reset_email",
@@ -2446,8 +2467,8 @@ const Ao = e.object({
2446
2467
  "change_password",
2447
2468
  "password_reset",
2448
2469
  "user_invitation"
2449
- ]), Xn = e.object({
2450
- template: wo,
2470
+ ]), Jn = e.object({
2471
+ template: Ro,
2451
2472
  body: e.string(),
2452
2473
  from: e.string(),
2453
2474
  subject: e.string(),
@@ -2456,7 +2477,7 @@ const Ao = e.object({
2456
2477
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2457
2478
  includeEmailInRedirect: e.boolean().default(!1),
2458
2479
  enabled: e.boolean().default(!0)
2459
- }), jo = e.object({
2480
+ }), vo = e.object({
2460
2481
  // Internal primary key (ULID). Never sent to clients in the new wire format.
2461
2482
  id: e.string(),
2462
2483
  // Link to the login session
@@ -2490,23 +2511,23 @@ const Ao = e.object({
2490
2511
  // ISO of the *first* rotation. Anchors the leeway window so siblings minted
2491
2512
  // within the window don't extend the parent's exposure.
2492
2513
  rotated_at: e.string().optional()
2493
- }), Vn = e.object({
2514
+ }), ei = e.object({
2494
2515
  // When the refresh token record was created.
2495
2516
  created_at: e.string(),
2496
2517
  // When the token was explicitly revoked (null = still active).
2497
2518
  revoked_at: e.string().optional(),
2498
2519
  // Spread in the rest of the refresh token properties.
2499
- ...jo.shape
2500
- }), Yn = e.object({
2520
+ ...vo.shape
2521
+ }), ti = e.object({
2501
2522
  to: e.string(),
2502
2523
  message: e.string()
2503
- }), Zn = e.object({
2524
+ }), oi = e.object({
2504
2525
  name: e.string(),
2505
2526
  options: e.object({})
2506
- }), ko = e.object({
2527
+ }), Do = e.object({
2507
2528
  value: e.string(),
2508
2529
  description: e.string().optional()
2509
- }), Ro = e.object({
2530
+ }), Lo = e.object({
2510
2531
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2511
2532
  enforce_policies: e.boolean().optional(),
2512
2533
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2516,11 +2537,11 @@ const Ao = e.object({
2516
2537
  mtls: e.object({
2517
2538
  bound_access_tokens: e.boolean().optional()
2518
2539
  }).optional()
2519
- }), vo = e.object({
2540
+ }), xo = e.object({
2520
2541
  id: e.string().optional(),
2521
2542
  name: e.string(),
2522
2543
  identifier: e.string(),
2523
- scopes: e.array(ko).optional(),
2544
+ scopes: e.array(Do).optional(),
2524
2545
  signing_alg: e.string().optional(),
2525
2546
  signing_secret: e.string().optional(),
2526
2547
  token_lifetime: e.number().default(86400),
@@ -2528,30 +2549,30 @@ const Ao = e.object({
2528
2549
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2529
2550
  allow_offline_access: e.boolean().optional(),
2530
2551
  verificationKey: e.string().optional(),
2531
- options: Ro.optional(),
2552
+ options: Lo.optional(),
2532
2553
  is_system: e.boolean().optional(),
2533
2554
  metadata: e.record(e.any()).optional()
2534
- }), Do = e.object({
2535
- ...vo.shape,
2555
+ }), Uo = e.object({
2556
+ ...xo.shape,
2536
2557
  created_at: e.string().optional(),
2537
2558
  updated_at: e.string().optional()
2538
- }), Qn = e.array(Do), Lo = e.object({
2559
+ }), ni = e.array(Uo), Fo = e.object({
2539
2560
  role_id: e.string(),
2540
2561
  resource_server_identifier: e.string(),
2541
2562
  permission_name: e.string()
2542
- }), xo = e.object({
2543
- ...Lo.shape,
2563
+ }), Po = e.object({
2564
+ ...Fo.shape,
2544
2565
  created_at: e.string()
2545
- }), $n = e.array(xo), Uo = e.object({
2566
+ }), ii = e.array(Po), Mo = e.object({
2546
2567
  user_id: e.string(),
2547
2568
  resource_server_identifier: e.string(),
2548
2569
  permission_name: e.string(),
2549
2570
  organization_id: e.string().optional()
2550
- }), Fo = e.object({
2551
- ...Uo.shape,
2571
+ }), Ho = e.object({
2572
+ ...Mo.shape,
2552
2573
  tenant_id: e.string(),
2553
2574
  created_at: e.string().optional()
2554
- }), Jn = e.array(Fo), Po = e.object({
2575
+ }), ai = e.array(Ho), Go = e.object({
2555
2576
  user_id: e.string(),
2556
2577
  resource_server_identifier: e.string(),
2557
2578
  resource_server_name: e.string(),
@@ -2559,17 +2580,17 @@ const Ao = e.object({
2559
2580
  description: e.string().nullable().optional(),
2560
2581
  created_at: e.string().optional(),
2561
2582
  organization_id: e.string().optional()
2562
- }), ei = e.array(
2563
- Po
2564
- ), Mo = e.object({
2583
+ }), ri = e.array(
2584
+ Go
2585
+ ), Bo = e.object({
2565
2586
  user_id: e.string(),
2566
2587
  role_id: e.string(),
2567
2588
  organization_id: e.string().optional()
2568
- }), Ho = e.object({
2569
- ...Mo.shape,
2589
+ }), Wo = e.object({
2590
+ ...Bo.shape,
2570
2591
  tenant_id: e.string(),
2571
2592
  created_at: e.string().optional()
2572
- }), ti = e.array(Ho), Go = e.object({
2593
+ }), si = e.array(Wo), Ko = e.object({
2573
2594
  id: e.string().optional().openapi({
2574
2595
  description: "The unique identifier of the role. If not provided, one will be generated."
2575
2596
  }),
@@ -2583,13 +2604,13 @@ const Ao = e.object({
2583
2604
  metadata: e.record(e.any()).optional().openapi({
2584
2605
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2585
2606
  })
2586
- }), Bo = Go.extend({
2607
+ }), zo = Ko.extend({
2587
2608
  id: e.string().openapi({
2588
2609
  description: "The unique identifier of the role"
2589
2610
  }),
2590
2611
  created_at: e.string().optional(),
2591
2612
  updated_at: e.string().optional()
2592
- }), oi = e.array(Bo), Wo = e.object({
2613
+ }), li = e.array(zo), qo = e.object({
2593
2614
  logo_url: e.string().optional().openapi({
2594
2615
  description: "URL of the organization's logo"
2595
2616
  }),
@@ -2601,7 +2622,7 @@ const Ao = e.object({
2601
2622
  description: "Page background color in hex format (e.g., #FFFFFF)"
2602
2623
  })
2603
2624
  }).optional()
2604
- }).optional(), Ko = e.object({
2625
+ }).optional(), Xo = e.object({
2605
2626
  connection_id: e.string().openapi({
2606
2627
  description: "ID of the connection"
2607
2628
  }),
@@ -2614,7 +2635,7 @@ const Ao = e.object({
2614
2635
  is_signup_enabled: e.boolean().default(!0).openapi({
2615
2636
  description: "Whether signup is enabled for this connection"
2616
2637
  })
2617
- }), zo = e.object({
2638
+ }), Vo = e.object({
2618
2639
  client_credentials: e.object({
2619
2640
  enforce: e.boolean().default(!1).openapi({
2620
2641
  description: "Whether to enforce token quota limits"
@@ -2626,7 +2647,7 @@ const Ao = e.object({
2626
2647
  description: "Maximum tokens per hour (0 = unlimited)"
2627
2648
  })
2628
2649
  }).optional()
2629
- }).optional(), qo = e.object({
2650
+ }).optional(), Yo = e.object({
2630
2651
  id: e.string().optional(),
2631
2652
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2632
2653
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2636,31 +2657,31 @@ const Ao = e.object({
2636
2657
  display_name: e.string().optional().openapi({
2637
2658
  description: "The display name of the organization"
2638
2659
  }),
2639
- branding: Wo,
2660
+ branding: qo,
2640
2661
  metadata: e.record(e.any()).default({}).optional().openapi({
2641
2662
  description: "Custom metadata for the organization"
2642
2663
  }),
2643
- enabled_connections: e.array(Ko).default([]).optional().openapi({
2664
+ enabled_connections: e.array(Xo).default([]).optional().openapi({
2644
2665
  description: "List of enabled connections for the organization"
2645
2666
  }),
2646
- token_quota: zo
2647
- }), ni = e.object({
2648
- ...qo.shape,
2667
+ token_quota: Vo
2668
+ }), ci = e.object({
2669
+ ...Yo.shape,
2649
2670
  ...a.shape,
2650
2671
  id: e.string(),
2651
2672
  // Override name to be lenient when reading from database (to support existing uppercase names)
2652
2673
  name: e.string().min(1).openapi({
2653
2674
  description: "The name of the organization"
2654
2675
  })
2655
- }), Xo = e.object({
2676
+ }), Zo = e.object({
2656
2677
  connection_id: e.string().openapi({
2657
2678
  description: "ID of the tenant-level connection to enable for the org."
2658
2679
  }),
2659
2680
  assign_membership_on_login: e.boolean().optional().default(!1),
2660
2681
  show_as_button: e.boolean().optional().default(!0),
2661
2682
  is_signup_enabled: e.boolean().optional().default(!0)
2662
- }), Vo = e.object({
2663
- ...Xo.shape,
2683
+ }), Qo = e.object({
2684
+ ...Zo.shape,
2664
2685
  // Auth0 includes the embedded connection in GET responses.
2665
2686
  connection: e.object({
2666
2687
  name: e.string().optional(),
@@ -2668,20 +2689,20 @@ const Ao = e.object({
2668
2689
  }).optional(),
2669
2690
  created_at: e.string().optional(),
2670
2691
  updated_at: e.string().optional()
2671
- }), ii = e.array(
2672
- Vo
2673
- ), Yo = e.object({
2692
+ }), pi = e.array(
2693
+ Qo
2694
+ ), $o = e.object({
2674
2695
  user_id: e.string().openapi({
2675
2696
  description: "ID of the user"
2676
2697
  }),
2677
2698
  organization_id: e.string().openapi({
2678
2699
  description: "ID of the organization"
2679
2700
  })
2680
- }), ai = e.object({
2681
- ...Yo.shape,
2701
+ }), di = e.object({
2702
+ ...$o.shape,
2682
2703
  ...a.shape,
2683
2704
  id: e.string()
2684
- }), ri = e.object({
2705
+ }), _i = e.object({
2685
2706
  // Session settings
2686
2707
  idle_session_lifetime: e.number().default(72),
2687
2708
  session_lifetime: e.number().default(168),
@@ -2781,7 +2802,7 @@ const Ao = e.object({
2781
2802
  message: e.string().optional()
2782
2803
  }).optional()
2783
2804
  }).optional()
2784
- }), si = e.object({
2805
+ }), gi = e.object({
2785
2806
  date: e.string().openapi({
2786
2807
  description: "Date these events occurred in ISO 8601 format",
2787
2808
  example: "2025-12-19"
@@ -2806,10 +2827,40 @@ const Ao = e.object({
2806
2827
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2807
2828
  example: "2025-12-19T00:00:00.000Z"
2808
2829
  })
2809
- }), li = e.number().openapi({
2830
+ }), ui = e.number().openapi({
2810
2831
  description: "Number of active users in the last 30 days",
2811
2832
  example: 1234
2812
- }), Zo = e.enum([
2833
+ }), mi = e.enum([
2834
+ "active-users",
2835
+ "logins",
2836
+ "signups",
2837
+ "refresh-tokens",
2838
+ "sessions"
2839
+ ]), hi = e.enum(["hour", "day", "week", "month"]), bi = e.enum([
2840
+ "time",
2841
+ "connection",
2842
+ "client_id",
2843
+ "user_type",
2844
+ "event"
2845
+ ]), fi = e.enum([
2846
+ "password",
2847
+ "social",
2848
+ "passwordless",
2849
+ "enterprise"
2850
+ ]), Jo = e.object({
2851
+ name: e.string(),
2852
+ type: e.string()
2853
+ }), en = e.object({
2854
+ elapsed: e.number(),
2855
+ rows_read: e.number().optional(),
2856
+ bytes_read: e.number().optional()
2857
+ }), Si = e.object({
2858
+ meta: e.array(Jo),
2859
+ data: e.array(e.record(e.string(), e.any())),
2860
+ rows: e.number(),
2861
+ rows_before_limit_at_least: e.number().optional(),
2862
+ statistics: en.optional()
2863
+ }), tn = e.enum([
2813
2864
  "login",
2814
2865
  "login-id",
2815
2866
  "login-password",
@@ -2838,17 +2889,17 @@ const Ao = e.object({
2838
2889
  "custom-form",
2839
2890
  "login-passwordless",
2840
2891
  "mfa-login-options"
2841
- ]), Qo = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2892
+ ]), on = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2842
2893
  type: "object",
2843
2894
  additionalProperties: {
2844
2895
  type: "object",
2845
2896
  additionalProperties: { type: "string" }
2846
2897
  }
2847
- }), ci = e.object({
2848
- prompt: Zo,
2898
+ }), Ei = e.object({
2899
+ prompt: tn,
2849
2900
  language: e.string(),
2850
- custom_text: Qo
2851
- }), pi = {
2901
+ custom_text: on
2902
+ }), yi = {
2852
2903
  EMAIL: "email",
2853
2904
  SMS: "sms",
2854
2905
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2863,11 +2914,11 @@ const Ao = e.object({
2863
2914
  SAMLP: "samlp",
2864
2915
  WAAD: "waad",
2865
2916
  ADFS: "adfs"
2866
- }, di = {
2917
+ }, Ai = {
2867
2918
  DATABASE: "database",
2868
2919
  SOCIAL: "social",
2869
2920
  PASSWORDLESS: "passwordless"
2870
- }, $o = e.enum([
2921
+ }, nn = e.enum([
2871
2922
  "phone",
2872
2923
  "totp",
2873
2924
  "email",
@@ -2877,7 +2928,7 @@ const Ao = e.object({
2877
2928
  "passkey"
2878
2929
  ]), V = e.object({
2879
2930
  user_id: e.string(),
2880
- type: $o,
2931
+ type: nn,
2881
2932
  // Phone-specific
2882
2933
  phone_number: e.string().optional(),
2883
2934
  // TOTP-specific
@@ -2911,24 +2962,24 @@ function Y(t, o) {
2911
2962
  path: ["public_key"]
2912
2963
  }));
2913
2964
  }
2914
- const _i = V.superRefine(Y), gi = e.object({
2965
+ const Ii = V.superRefine(Y), Ci = e.object({
2915
2966
  ...V.shape,
2916
2967
  id: e.string(),
2917
2968
  created_at: e.string(),
2918
2969
  updated_at: e.string()
2919
2970
  }).superRefine(Y);
2920
- function ui(t) {
2971
+ function Ti(t) {
2921
2972
  const [o, n] = t.split("|");
2922
2973
  if (!o || !n)
2923
2974
  throw new Error(`Invalid user_id: ${t}`);
2924
2975
  return { connection: o, id: n };
2925
2976
  }
2926
- function mi(t) {
2977
+ function Oi(t) {
2927
2978
  const {
2928
2979
  primary: o,
2929
2980
  secondaries: n,
2930
2981
  syncMethods: h = ["create", "rawCreate", "update", "remove", "delete", "set"]
2931
- } = t, S = {
2982
+ } = t, E = {
2932
2983
  get(p, r) {
2933
2984
  if (typeof r == "symbol")
2934
2985
  return p[r];
@@ -2962,13 +3013,13 @@ function mi(t) {
2962
3013
  } : d.bind(p);
2963
3014
  }
2964
3015
  };
2965
- return new Proxy(o, S);
3016
+ return new Proxy(o, E);
2966
3017
  }
2967
- function hi(t) {
3018
+ function wi(t) {
2968
3019
  return t;
2969
3020
  }
2970
- function bi(t) {
2971
- var S, p, r, d, _, y, g, s, b, A, f, I;
3021
+ function Ni(t) {
3022
+ var E, p, r, d, _, y, g, s, b, A, f, I;
2972
3023
  const o = t == null ? void 0 : t.options;
2973
3024
  if (!o)
2974
3025
  return {
@@ -2979,7 +3030,7 @@ function bi(t) {
2979
3030
  };
2980
3031
  const n = o.attributes;
2981
3032
  if (n) {
2982
- const Z = ((p = (S = n.username) == null ? void 0 : S.identifier) == null ? void 0 : p.active) === !0, Q = ((d = (r = n.email) == null ? void 0 : r.identifier) == null ? void 0 : d.active) !== !1, $ = ((y = (_ = n.username) == null ? void 0 : _.validation) == null ? void 0 : y.min_length) ?? 1, J = ((s = (g = n.username) == null ? void 0 : g.validation) == null ? void 0 : s.max_length) ?? 15;
3033
+ const Z = ((p = (E = n.username) == null ? void 0 : E.identifier) == null ? void 0 : p.active) === !0, Q = ((d = (r = n.email) == null ? void 0 : r.identifier) == null ? void 0 : d.active) !== !1, $ = ((y = (_ = n.username) == null ? void 0 : _.validation) == null ? void 0 : y.min_length) ?? 1, J = ((s = (g = n.username) == null ? void 0 : g.validation) == null ? void 0 : s.max_length) ?? 15;
2983
3034
  return {
2984
3035
  usernameIdentifierActive: Z,
2985
3036
  emailIdentifierActive: Q,
@@ -2994,31 +3045,31 @@ function bi(t) {
2994
3045
  usernameMaxLength: ((I = (f = o.validation) == null ? void 0 : f.username) == null ? void 0 : I.max) ?? 15
2995
3046
  };
2996
3047
  }
2997
- function fi(t) {
3048
+ function ji(t) {
2998
3049
  return typeof t == "object" && t !== null && !Array.isArray(t);
2999
3050
  }
3000
3051
  export {
3001
- sn as Auth0ActionEnum,
3052
+ _n as Auth0ActionEnum,
3002
3053
  so as Auth0Client,
3003
3054
  F as AuthorizationResponseMode,
3004
3055
  U as AuthorizationResponseType,
3005
3056
  P as CodeChallengeMethod,
3006
3057
  x as ComponentCategory,
3007
3058
  L as ComponentType,
3008
- ln as EmailActionEnum,
3009
- An as FORM_FIELD_TYPES,
3010
- rn as FlowActionTypeEnum,
3011
- yo as GrantType,
3059
+ gn as EmailActionEnum,
3060
+ wn as FORM_FIELD_TYPES,
3061
+ dn as FlowActionTypeEnum,
3062
+ Co as GrantType,
3012
3063
  lo as LocationInfo,
3013
3064
  ao as LogTypes,
3014
3065
  z as LoginSessionState,
3015
3066
  Ge as NodeType,
3016
- Ee as RedirectTargetEnum,
3017
- pi as Strategy,
3018
- di as StrategyType,
3067
+ Se as RedirectTargetEnum,
3068
+ yi as Strategy,
3069
+ Ai as StrategyType,
3019
3070
  k as actionDependencySchema,
3020
3071
  oe as actionExecutionErrorSchema,
3021
- on as actionExecutionInsertSchema,
3072
+ ln as actionExecutionInsertSchema,
3022
3073
  ie as actionExecutionLogEntrySchema,
3023
3074
  ae as actionExecutionLogsSchema,
3024
3075
  ne as actionExecutionResultSchema,
@@ -3027,181 +3078,192 @@ export {
3027
3078
  ee as actionExecutionTriggerIdSchema,
3028
3079
  v as actionInsertSchema,
3029
3080
  Ke as actionNodeSchema,
3030
- tn as actionSchema,
3081
+ sn as actionSchema,
3031
3082
  R as actionSecretSchema,
3032
3083
  j as actionTriggerSchema,
3033
- en as actionUpdateSchema,
3084
+ rn as actionUpdateSchema,
3034
3085
  se as actionVersionInsertSchema,
3035
- nn as actionVersionSchema,
3036
- li as activeUsersResponseSchema,
3086
+ cn as actionVersionSchema,
3087
+ ui as activeUsersResponseSchema,
3037
3088
  ce as actorSchema,
3038
3089
  Te as addressSchema,
3039
- bo as attackProtectionSchema,
3090
+ Jo as analyticsColumnMetaSchema,
3091
+ bi as analyticsGroupBySchema,
3092
+ hi as analyticsIntervalSchema,
3093
+ Si as analyticsQueryResponseSchema,
3094
+ mi as analyticsResourceSchema,
3095
+ en as analyticsStatisticsSchema,
3096
+ fi as analyticsUserTypeSchema,
3097
+ Eo as attackProtectionSchema,
3040
3098
  le as auditCategorySchema,
3041
3099
  me as auditEventInsertSchema,
3042
- an as auditEventSchema,
3100
+ pn as auditEventSchema,
3043
3101
  ue as auth0ClientSchema,
3044
- bn as auth0FlowInsertSchema,
3102
+ An as auth0FlowInsertSchema,
3045
3103
  Ye as auth0FlowSchema,
3046
- pn as auth0QuerySchema,
3104
+ mn as auth0QuerySchema,
3047
3105
  be as auth0UpdateUserActionSchema,
3048
- _n as auth0UserResponseSchema,
3106
+ bn as auth0UserResponseSchema,
3049
3107
  Qe as authParamsSchema,
3050
- _i as authenticationMethodInsertSchema,
3051
- gi as authenticationMethodSchema,
3052
- $o as authenticationMethodTypeSchema,
3108
+ Ii as authenticationMethodInsertSchema,
3109
+ Ci as authenticationMethodSchema,
3110
+ nn as authenticationMethodTypeSchema,
3053
3111
  D as baseUserSchema,
3054
3112
  Dt as blockComponentSchema,
3055
- Ao as bordersSchema,
3056
- fn as brandingSchema,
3057
- uo as breachedPasswordDetectionSchema,
3058
- mo as bruteForceProtectionSchema,
3113
+ To as bordersSchema,
3114
+ In as brandingSchema,
3115
+ bo as breachedPasswordDetectionSchema,
3116
+ fo as bruteForceProtectionSchema,
3059
3117
  Ue as buttonComponentSchema,
3060
3118
  Ze as claimsRequestSchema,
3061
3119
  Re as clientGrantInsertSchema,
3062
- mn as clientGrantListSchema,
3120
+ En as clientGrantListSchema,
3063
3121
  ve as clientGrantSchema,
3064
3122
  ke as clientInsertSchema,
3065
3123
  Le as clientRegistrationTokenInsertSchema,
3066
- hn as clientRegistrationTokenSchema,
3124
+ yn as clientRegistrationTokenSchema,
3067
3125
  De as clientRegistrationTokenTypeSchema,
3068
- un as clientSchema,
3126
+ Sn as clientSchema,
3069
3127
  Je as codeInsertSchema,
3070
- En as codeSchema,
3128
+ Cn as codeSchema,
3071
3129
  $e as codeTypeSchema,
3072
- Io as colorsSchema,
3130
+ Oo as colorsSchema,
3073
3131
  Gt as componentMessageSchema,
3074
3132
  He as componentSchema,
3075
3133
  tt as connectionInsertSchema,
3076
3134
  et as connectionOptionsSchema,
3077
- Sn as connectionSchema,
3135
+ Tn as connectionSchema,
3078
3136
  m as coordinatesSchema,
3079
- mi as createPassthroughAdapter,
3080
- hi as createWriteOnlyAdapter,
3137
+ Oi as createPassthroughAdapter,
3138
+ wi as createWriteOnlyAdapter,
3081
3139
  ot as customDomainInsertSchema,
3082
3140
  it as customDomainSchema,
3083
- yn as customDomainWithTenantIdSchema,
3084
- ci as customTextEntrySchema,
3085
- Qo as customTextSchema,
3086
- si as dailyStatsSchema,
3087
- qn as emailProviderSchema,
3088
- wo as emailTemplateNameSchema,
3089
- Xn as emailTemplateSchema,
3141
+ On as customDomainWithTenantIdSchema,
3142
+ Ei as customTextEntrySchema,
3143
+ on as customTextSchema,
3144
+ gi as dailyStatsSchema,
3145
+ $n as emailProviderSchema,
3146
+ Ro as emailTemplateNameSchema,
3147
+ Jn as emailTemplateSchema,
3090
3148
  he as emailVerificationRulesSchema,
3091
3149
  fe as emailVerifyActionSchema,
3092
3150
  Ve as endingSchema,
3093
3151
  xt as fieldComponentSchema,
3094
3152
  ye as flowActionStepSchema,
3095
3153
  Ae as flowInsertSchema,
3096
- cn as flowSchema,
3154
+ un as flowSchema,
3097
3155
  Pe as flowsFieldComponentSchema,
3098
3156
  We as flowsFlowNodeSchema,
3099
3157
  Be as flowsStepNodeSchema,
3100
3158
  u as fontDetailsSchema,
3101
- Co as fontsSchema,
3102
- In as formControlSchema,
3159
+ wo as fontsSchema,
3160
+ Nn as formControlSchema,
3103
3161
  Ht as formInsertSchema,
3104
3162
  M as formNodeComponentDefinition,
3105
3163
  Mt as formNodeSchema,
3106
- Cn as formSchema,
3164
+ jn as formSchema,
3107
3165
  Me as genericComponentSchema,
3108
3166
  ze as genericNodeSchema,
3109
- bi as getConnectionIdentifierConfig,
3167
+ Ni as getConnectionIdentifierConfig,
3110
3168
  Qt as hookCodeInsertSchema,
3111
- vn as hookCodeSchema,
3112
- kn as hookInsertSchema,
3113
- Rn as hookSchema,
3169
+ Fn as hookCodeSchema,
3170
+ xn as hookInsertSchema,
3171
+ Un as hookSchema,
3114
3172
  K as hookTemplateId,
3115
- jn as hookTemplates,
3173
+ Ln as hookTemplates,
3116
3174
  Ce as identitySchema,
3117
3175
  eo as inviteInsertSchema,
3118
- Dn as inviteSchema,
3176
+ Pn as inviteSchema,
3119
3177
  Jt as inviteeSchema,
3120
3178
  $t as inviterSchema,
3121
- On as isBlockComponent,
3122
- wn as isFieldComponent,
3123
- fi as isPlainObject,
3124
- Nn as isWidgetComponent,
3125
- Ln as jwksKeySchema,
3179
+ Rn as isBlockComponent,
3180
+ Dn as isFieldComponent,
3181
+ ji as isPlainObject,
3182
+ vn as isWidgetComponent,
3183
+ Mn as jwksKeySchema,
3126
3184
  to as jwksSchema,
3127
3185
  Fe as legalComponentSchema,
3128
3186
  ge as locationInfoSchema,
3129
3187
  co as logInsertSchema,
3130
- Fn as logSchema,
3188
+ Bn as logSchema,
3131
3189
  _o as logStreamFilterSchema,
3132
3190
  go as logStreamInsertSchema,
3133
- Pn as logStreamSchema,
3191
+ Wn as logStreamSchema,
3134
3192
  q as logStreamStatusSchema,
3135
3193
  po as logStreamTypeSchema,
3136
3194
  no as loginSessionAuthStrategySchema,
3137
3195
  io as loginSessionInsertSchema,
3138
- Un as loginSessionSchema,
3196
+ Gn as loginSessionSchema,
3139
3197
  oo as loginSessionStateSchema,
3198
+ uo as migrationProviderTypeSchema,
3199
+ mo as migrationSourceCredentialsSchema,
3200
+ ho as migrationSourceInsertSchema,
3201
+ Kn as migrationSourceSchema,
3140
3202
  qe as nodeSchema,
3141
- xn as openIDConfigurationSchema,
3142
- Wo as organizationBrandingSchema,
3143
- Xo as organizationConnectionInsertSchema,
3144
- ii as organizationConnectionListSchema,
3145
- Vo as organizationConnectionSchema,
3146
- Ko as organizationEnabledConnectionSchema,
3147
- qo as organizationInsertSchema,
3148
- ni as organizationSchema,
3149
- zo as organizationTokenQuotaSchema,
3150
- To as pageBackgroundSchema,
3151
- ui as parseUserId,
3152
- fo as passwordInsertSchema,
3153
- Mn as passwordSchema,
3203
+ Hn as openIDConfigurationSchema,
3204
+ qo as organizationBrandingSchema,
3205
+ Zo as organizationConnectionInsertSchema,
3206
+ pi as organizationConnectionListSchema,
3207
+ Qo as organizationConnectionSchema,
3208
+ Xo as organizationEnabledConnectionSchema,
3209
+ Yo as organizationInsertSchema,
3210
+ ci as organizationSchema,
3211
+ Vo as organizationTokenQuotaSchema,
3212
+ No as pageBackgroundSchema,
3213
+ Ti as parseUserId,
3214
+ yo as passwordInsertSchema,
3215
+ zn as passwordSchema,
3154
3216
  Ie as profileDataSchema,
3155
- Zo as promptScreenSchema,
3156
- zn as promptSettingSchema,
3157
- Se as redirectActionSchema,
3158
- jo as refreshTokenInsertSchema,
3159
- Vn as refreshTokenSchema,
3217
+ tn as promptScreenSchema,
3218
+ Qn as promptSettingSchema,
3219
+ Ee as redirectActionSchema,
3220
+ vo as refreshTokenInsertSchema,
3221
+ ei as refreshTokenSchema,
3160
3222
  de as requestContextSchema,
3161
- vo as resourceServerInsertSchema,
3162
- Qn as resourceServerListSchema,
3163
- Ro as resourceServerOptionsSchema,
3164
- Do as resourceServerSchema,
3165
- ko as resourceServerScopeSchema,
3223
+ xo as resourceServerInsertSchema,
3224
+ ni as resourceServerListSchema,
3225
+ Lo as resourceServerOptionsSchema,
3226
+ Uo as resourceServerSchema,
3227
+ Do as resourceServerScopeSchema,
3166
3228
  _e as responseContextSchema,
3167
3229
  xe as richTextComponentSchema,
3168
- Go as roleInsertSchema,
3169
- oi as roleListSchema,
3170
- Lo as rolePermissionInsertSchema,
3171
- $n as rolePermissionListSchema,
3172
- xo as rolePermissionSchema,
3173
- Bo as roleSchema,
3230
+ Ko as roleInsertSchema,
3231
+ li as roleListSchema,
3232
+ Fo as rolePermissionInsertSchema,
3233
+ ii as rolePermissionListSchema,
3234
+ Po as rolePermissionSchema,
3235
+ zo as roleSchema,
3174
3236
  Bt as screenLinkSchema,
3175
- Eo as sessionInsertSchema,
3176
- Hn as sessionSchema,
3177
- Gn as signingKeySchema,
3178
- Zn as smsProviderSchema,
3179
- Yn as smsSendParamsSchema,
3237
+ Ao as sessionInsertSchema,
3238
+ qn as sessionSchema,
3239
+ Xn as signingKeySchema,
3240
+ oi as smsProviderSchema,
3241
+ ti as smsSendParamsSchema,
3180
3242
  Xe as startSchema,
3181
- ho as suspiciousIpThrottlingSchema,
3243
+ So as suspiciousIpThrottlingSchema,
3182
3244
  pe as targetSchema,
3183
- So as tenantInsertSchema,
3184
- Bn as tenantSchema,
3185
- ri as tenantSettingsSchema,
3186
- No as themeInsertSchema,
3187
- Kn as themeSchema,
3188
- Wn as tokenResponseSchema,
3189
- dn as totalsSchema,
3190
- Tn as uiScreenSchema,
3245
+ Io as tenantInsertSchema,
3246
+ Vn as tenantSchema,
3247
+ _i as tenantSettingsSchema,
3248
+ ko as themeInsertSchema,
3249
+ Zn as themeSchema,
3250
+ Yn as tokenResponseSchema,
3251
+ hn as totalsSchema,
3252
+ kn as uiScreenSchema,
3191
3253
  Oe as userInsertSchema,
3192
- Yo as userOrganizationInsertSchema,
3193
- ai as userOrganizationSchema,
3194
- Uo as userPermissionInsertSchema,
3195
- Jn as userPermissionListSchema,
3196
- Fo as userPermissionSchema,
3197
- ei as userPermissionWithDetailsListSchema,
3198
- Po as userPermissionWithDetailsSchema,
3199
- gn as userResponseSchema,
3200
- Mo as userRoleInsertSchema,
3201
- ti as userRoleListSchema,
3202
- Ho as userRoleSchema,
3203
- Ne as userSchema,
3254
+ $o as userOrganizationInsertSchema,
3255
+ di as userOrganizationSchema,
3256
+ Mo as userPermissionInsertSchema,
3257
+ ai as userPermissionListSchema,
3258
+ Ho as userPermissionSchema,
3259
+ ri as userPermissionWithDetailsListSchema,
3260
+ Go as userPermissionWithDetailsSchema,
3261
+ fn as userResponseSchema,
3262
+ Bo as userRoleInsertSchema,
3263
+ si as userRoleListSchema,
3264
+ Wo as userRoleSchema,
3265
+ we as userSchema,
3204
3266
  nt as verificationMethodsSchema,
3205
3267
  Lt as widgetComponentSchema,
3206
- Oo as widgetSchema
3268
+ jo as widgetSchema
3207
3269
  };