@authhero/adapter-interfaces 0.146.0 → 0.148.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.
@@ -2,13 +2,13 @@ import { z as e } from "@hono/zod-openapi";
2
2
  const s = e.object({
3
3
  created_at: e.string(),
4
4
  updated_at: e.string()
5
- }), pt = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), ct = e.enum([
5
+ }), ct = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), _t = e.enum([
6
6
  "CREATE_USER",
7
7
  "GET_USER",
8
8
  "UPDATE_USER",
9
9
  "SEND_REQUEST",
10
10
  "SEND_EMAIL"
11
- ]), _t = e.enum(["VERIFY_EMAIL"]), K = e.object({
11
+ ]), dt = e.enum(["VERIFY_EMAIL"]), K = 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 s = e.object({
65
65
  actions: e.array(Y).optional().default([]).openapi({
66
66
  description: "The list of actions to execute in sequence"
67
67
  })
68
- }), dt = Q.extend({
68
+ }), gt = Q.extend({
69
69
  ...s.shape,
70
70
  id: e.string().openapi({
71
71
  description: "Unique identifier for the flow",
72
72
  example: "af_12tMpdJ3iek7svMyZkSh5M"
73
73
  })
74
- }), gt = e.object({
74
+ }), ut = e.object({
75
75
  page: e.string().min(0).optional().default("0").transform((o) => parseInt(o, 10)).openapi({
76
76
  description: "The page number where 0 is the first page"
77
77
  }),
@@ -87,7 +87,7 @@ const s = e.object({
87
87
  q: e.string().optional().openapi({
88
88
  description: "A lucene query string used to filter the results"
89
89
  })
90
- }), ut = e.object({
90
+ }), mt = e.object({
91
91
  start: e.number(),
92
92
  limit: e.number(),
93
93
  length: e.number(),
@@ -185,7 +185,7 @@ const s = e.object({
185
185
  email: e.string().optional(),
186
186
  login_count: e.number().default(0),
187
187
  identities: e.array(Z).optional()
188
- }), mt = oe, bt = N.extend({
188
+ }), ht = oe, bt = N.extend({
189
189
  login_count: e.number(),
190
190
  multifactor: e.array(e.string()).optional(),
191
191
  last_ip: e.string().optional(),
@@ -371,7 +371,7 @@ const ie = e.object({
371
371
  description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
372
372
  }),
373
373
  token_quota: e.record(e.any()).default({}).optional()
374
- }), ht = e.object({
374
+ }), ft = e.object({
375
375
  created_at: e.string(),
376
376
  updated_at: e.string(),
377
377
  ...ie.shape
@@ -407,14 +407,14 @@ const ie = e.object({
407
407
  ...ae.shape,
408
408
  created_at: e.string().optional(),
409
409
  updated_at: e.string().optional()
410
- }), ft = e.array(re), u = e.object({
410
+ }), Et = e.array(re), u = e.object({
411
411
  x: e.number(),
412
412
  y: e.number()
413
413
  });
414
- var R = /* @__PURE__ */ ((o) => (o.RICH_TEXT = "RICH_TEXT", o.NEXT_BUTTON = "NEXT_BUTTON", o.BACK_BUTTON = "BACK_BUTTON", o.SUBMIT_BUTTON = "SUBMIT_BUTTON", o.DIVIDER = "DIVIDER", o.TEXT = "TEXT", o.EMAIL = "EMAIL", o.PASSWORD = "PASSWORD", o.NUMBER = "NUMBER", o.PHONE = "PHONE", o.DATE = "DATE", o.CHECKBOX = "CHECKBOX", o.RADIO = "RADIO", o.SELECT = "SELECT", o.HIDDEN = "HIDDEN", o.LEGAL = "LEGAL", o))(R || {}), j = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(j || {});
414
+ var R = /* @__PURE__ */ ((o) => (o.RICH_TEXT = "RICH_TEXT", o.NEXT_BUTTON = "NEXT_BUTTON", o.BACK_BUTTON = "BACK_BUTTON", o.SUBMIT_BUTTON = "SUBMIT_BUTTON", o.DIVIDER = "DIVIDER", o.TEXT = "TEXT", o.EMAIL = "EMAIL", o.PASSWORD = "PASSWORD", o.NUMBER = "NUMBER", o.PHONE = "PHONE", o.DATE = "DATE", o.CHECKBOX = "CHECKBOX", o.RADIO = "RADIO", o.SELECT = "SELECT", o.HIDDEN = "HIDDEN", o.LEGAL = "LEGAL", o))(R || {}), w = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(w || {});
415
415
  const y = e.object({
416
416
  id: e.string(),
417
- category: e.nativeEnum(j),
417
+ category: e.nativeEnum(w),
418
418
  type: e.nativeEnum(R)
419
419
  }), se = y.extend({
420
420
  category: e.literal(
@@ -553,7 +553,7 @@ const ue = e.object({
553
553
  flow_id: e.string(),
554
554
  next_node: e.string()
555
555
  })
556
- }), be = e.object({
556
+ }), he = e.object({
557
557
  id: e.string(),
558
558
  type: e.literal(
559
559
  "ACTION"
@@ -575,15 +575,15 @@ const ue = e.object({
575
575
  description: "The next node to navigate to after action (for non-redirect actions)"
576
576
  })
577
577
  }).passthrough()
578
- }), he = e.object({
578
+ }), be = e.object({
579
579
  id: e.string(),
580
580
  type: e.string(),
581
581
  coordinates: u
582
582
  }).passthrough(), fe = e.union([
583
583
  ue,
584
584
  me,
585
- be,
586
- he
585
+ he,
586
+ be
587
587
  ]), Ee = e.object({
588
588
  next_node: e.string(),
589
589
  coordinates: u
@@ -605,16 +605,16 @@ const ue = e.object({
605
605
  sdkSrc: e.string().optional(),
606
606
  sdk_src: e.string().optional()
607
607
  }).passthrough()
608
- }).passthrough(), Et = Ae.omit({
608
+ }).passthrough(), St = Ae.omit({
609
609
  id: !0,
610
610
  created_at: !0,
611
611
  updated_at: !0
612
612
  });
613
- var w = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "token id_token", o.CODE = "code", o))(w || {}), D = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(D || {}), L = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(L || {});
613
+ var j = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "token id_token", o.CODE = "code", o))(j || {}), D = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(D || {}), L = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(L || {});
614
614
  const Ie = e.object({
615
615
  client_id: e.string(),
616
616
  act_as: e.string().optional(),
617
- response_type: e.nativeEnum(w).optional(),
617
+ response_type: e.nativeEnum(j).optional(),
618
618
  response_mode: e.nativeEnum(D).optional(),
619
619
  redirect_uri: e.string().optional(),
620
620
  audience: e.string().optional(),
@@ -635,7 +635,7 @@ const Ie = e.object({
635
635
  acr_values: e.string().optional(),
636
636
  // The following fields are not available in Auth0
637
637
  vendor_id: e.string().optional()
638
- }), St = e.object({
638
+ }), At = e.object({
639
639
  colors: e.object({
640
640
  primary: e.string(),
641
641
  page_background: e.object({
@@ -690,10 +690,10 @@ const Ie = e.object({
690
690
  expires_at: e.string(),
691
691
  used_at: e.string().optional(),
692
692
  user_id: e.string().optional()
693
- }), At = e.object({
693
+ }), It = e.object({
694
694
  ...Ce.shape,
695
695
  created_at: e.string()
696
- }), Te = e.object({
696
+ }), Oe = e.object({
697
697
  kid: e.string().optional(),
698
698
  team_id: e.string().optional(),
699
699
  realms: e.string().optional(),
@@ -805,12 +805,12 @@ const Ie = e.object({
805
805
  }).optional(),
806
806
  // Controls when root user attributes are updated from external IdP
807
807
  set_user_root_attributes: e.enum(["on_each_login", "on_first_login", "never_on_login"]).optional()
808
- }), Oe = e.object({
808
+ }), Te = e.object({
809
809
  id: e.string().optional(),
810
810
  name: e.string(),
811
811
  display_name: e.string().optional(),
812
812
  strategy: e.string(),
813
- options: Te.default({}),
813
+ options: Oe.default({}),
814
814
  enabled_clients: e.array(e.string()).default([]).optional(),
815
815
  response_type: e.custom().optional(),
816
816
  response_mode: e.custom().optional(),
@@ -818,11 +818,11 @@ const Ie = e.object({
818
818
  show_as_button: e.boolean().optional(),
819
819
  metadata: e.record(e.any()).optional(),
820
820
  is_system: e.boolean().optional()
821
- }), It = e.object({
821
+ }), yt = e.object({
822
822
  id: e.string(),
823
823
  created_at: e.string().transform((o) => o === null ? "" : o),
824
824
  updated_at: e.string().transform((o) => o === null ? "" : o)
825
- }).extend(Oe.shape), Ne = e.object({
825
+ }).extend(Te.shape), Ne = e.object({
826
826
  domain: e.string(),
827
827
  custom_domain_id: e.string().optional(),
828
828
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -847,7 +847,7 @@ const Ie = e.object({
847
847
  http_body: e.string(),
848
848
  http_url: e.string()
849
849
  })
850
- ]), je = e.object({
850
+ ]), we = e.object({
851
851
  ...Ne.shape,
852
852
  custom_domain_id: e.string(),
853
853
  primary: e.boolean(),
@@ -857,7 +857,7 @@ const Ie = e.object({
857
857
  methods: e.array(Re)
858
858
  }).optional(),
859
859
  tls_policy: e.string().optional()
860
- }), yt = je.extend({
860
+ }), Ct = we.extend({
861
861
  tenant_id: e.string()
862
862
  }), C = e.object({
863
863
  id: e.string(),
@@ -865,7 +865,7 @@ const Ie = e.object({
865
865
  visible: e.boolean().optional().default(!0)
866
866
  }), l = C.extend({
867
867
  category: e.literal("BLOCK").optional()
868
- }), we = l.extend({
868
+ }), je = l.extend({
869
869
  type: e.literal("DIVIDER"),
870
870
  config: e.object({
871
871
  text: e.string().optional()
@@ -910,23 +910,23 @@ const Ie = e.object({
910
910
  config: e.object({
911
911
  content: e.string().optional()
912
912
  }).optional()
913
- }), T = C.extend({
913
+ }), O = C.extend({
914
914
  category: e.literal("WIDGET").optional(),
915
915
  label: e.string().min(1).optional(),
916
916
  hint: e.string().min(1).max(500).optional(),
917
917
  required: e.boolean().optional(),
918
918
  sensitive: e.boolean().optional()
919
- }), Pe = T.extend({
919
+ }), Pe = O.extend({
920
920
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
921
921
  config: e.object({
922
922
  credential_type: e.string().optional()
923
923
  })
924
- }), Me = T.extend({
924
+ }), Me = O.extend({
925
925
  type: e.literal("GMAPS_ADDRESS"),
926
926
  config: e.object({
927
927
  api_key: e.string().optional()
928
928
  })
929
- }), He = T.extend({
929
+ }), He = O.extend({
930
930
  type: e.literal("RECAPTCHA"),
931
931
  config: e.object({
932
932
  site_key: e.string().optional()
@@ -1058,7 +1058,8 @@ const Ie = e.object({
1058
1058
  name: e.string(),
1059
1059
  strategy: e.string().optional(),
1060
1060
  display_name: e.string().optional(),
1061
- icon_url: e.string().optional()
1061
+ icon_url: e.string().optional(),
1062
+ href: e.string().optional()
1062
1063
  })
1063
1064
  ).optional()
1064
1065
  }).optional()
@@ -1079,13 +1080,19 @@ const Ie = e.object({
1079
1080
  default_value: e.string().optional()
1080
1081
  }).optional()
1081
1082
  }), to = t.extend({
1083
+ type: e.literal("COUNTRY"),
1084
+ config: e.object({
1085
+ placeholder: e.string().optional(),
1086
+ default_value: e.string().optional()
1087
+ }).optional()
1088
+ }), no = t.extend({
1082
1089
  type: e.literal("URL"),
1083
1090
  config: e.object({
1084
1091
  placeholder: e.string().optional(),
1085
1092
  default_value: e.string().optional()
1086
1093
  }).optional()
1087
- }), no = e.discriminatedUnion("type", [
1088
- we,
1094
+ }), io = e.discriminatedUnion("type", [
1095
+ je,
1089
1096
  De,
1090
1097
  Le,
1091
1098
  ve,
@@ -1093,14 +1100,15 @@ const Ie = e.object({
1093
1100
  Ue,
1094
1101
  Fe,
1095
1102
  xe
1096
- ]), io = e.discriminatedUnion("type", [
1103
+ ]), ao = e.discriminatedUnion("type", [
1097
1104
  Pe,
1098
1105
  Me,
1099
1106
  He
1100
- ]), ao = e.discriminatedUnion("type", [
1107
+ ]), ro = e.discriminatedUnion("type", [
1101
1108
  Ge,
1102
1109
  Be,
1103
1110
  We,
1111
+ to,
1104
1112
  Ke,
1105
1113
  ze,
1106
1114
  Xe,
@@ -1113,15 +1121,16 @@ const Ie = e.object({
1113
1121
  $e,
1114
1122
  eo,
1115
1123
  oo,
1116
- to
1124
+ no
1117
1125
  ]), v = e.union([
1118
- no,
1119
1126
  io,
1120
- ao
1121
- ]), Ct = /* @__PURE__ */ new Set([
1127
+ ao,
1128
+ ro
1129
+ ]), Ot = /* @__PURE__ */ new Set([
1122
1130
  "BOOLEAN",
1123
1131
  "CARDS",
1124
1132
  "CHOICE",
1133
+ "COUNTRY",
1125
1134
  "DATE",
1126
1135
  "DROPDOWN",
1127
1136
  "EMAIL",
@@ -1143,7 +1152,7 @@ const Ie = e.object({
1143
1152
  }), f = e.object({
1144
1153
  x: e.number(),
1145
1154
  y: e.number()
1146
- }), ro = e.object({
1155
+ }), so = e.object({
1147
1156
  id: e.string(),
1148
1157
  type: e.literal("FLOW"),
1149
1158
  coordinates: f,
@@ -1152,7 +1161,7 @@ const Ie = e.object({
1152
1161
  flow_id: e.string().max(30),
1153
1162
  next_node: e.string().optional()
1154
1163
  })
1155
- }), so = e.object({
1164
+ }), lo = e.object({
1156
1165
  id: e.string(),
1157
1166
  type: e.literal("ROUTER"),
1158
1167
  coordinates: f,
@@ -1168,7 +1177,7 @@ const Ie = e.object({
1168
1177
  ),
1169
1178
  fallback: e.string()
1170
1179
  })
1171
- }), lo = e.object({
1180
+ }), po = e.object({
1172
1181
  id: e.string(),
1173
1182
  type: e.literal("STEP"),
1174
1183
  coordinates: f,
@@ -1177,11 +1186,11 @@ const Ie = e.object({
1177
1186
  components: e.array(v),
1178
1187
  next_node: e.string().optional()
1179
1188
  })
1180
- }), po = e.discriminatedUnion("type", [
1181
- ro,
1189
+ }), co = e.discriminatedUnion("type", [
1182
1190
  so,
1183
- lo
1184
- ]), co = e.object({
1191
+ lo,
1192
+ po
1193
+ ]), _o = e.object({
1185
1194
  name: e.string().openapi({
1186
1195
  description: "The name of the form"
1187
1196
  }),
@@ -1194,7 +1203,7 @@ const Ie = e.object({
1194
1203
  default: e.string().optional()
1195
1204
  }).optional(),
1196
1205
  translations: e.record(e.string(), e.any()).optional(),
1197
- nodes: e.array(po).optional(),
1206
+ nodes: e.array(co).optional(),
1198
1207
  start: e.object({
1199
1208
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1200
1209
  next_node: e.string().optional(),
@@ -1216,20 +1225,20 @@ const Ie = e.object({
1216
1225
  }).optional()
1217
1226
  }).openapi({
1218
1227
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1219
- }), Ot = e.object({
1228
+ }), Nt = e.object({
1220
1229
  ...s.shape,
1221
- ...co.shape,
1230
+ ..._o.shape,
1222
1231
  id: e.string()
1223
- }), _o = e.object({
1232
+ }), go = e.object({
1224
1233
  id: e.number().optional(),
1225
1234
  text: e.string(),
1226
1235
  type: e.enum(["info", "error", "success", "warning"])
1227
- }), go = e.object({
1236
+ }), uo = e.object({
1228
1237
  id: e.string().optional(),
1229
1238
  text: e.string(),
1230
1239
  href: e.string(),
1231
1240
  linkText: e.string().optional()
1232
- }), Nt = e.object({
1241
+ }), Rt = e.object({
1233
1242
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1234
1243
  name: e.string().optional(),
1235
1244
  action: e.string(),
@@ -1237,18 +1246,18 @@ const Ie = e.object({
1237
1246
  title: e.string().optional(),
1238
1247
  description: e.string().optional(),
1239
1248
  components: e.array(v),
1240
- messages: e.array(_o).optional(),
1241
- links: e.array(go).optional(),
1249
+ messages: e.array(go).optional(),
1250
+ links: e.array(uo).optional(),
1242
1251
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1243
1252
  footer: e.string().optional()
1244
1253
  });
1245
- function Rt(o) {
1254
+ function wt(o) {
1246
1255
  return o.category === "BLOCK";
1247
1256
  }
1248
1257
  function jt(o) {
1249
1258
  return o.category === "WIDGET";
1250
1259
  }
1251
- function wt(o) {
1260
+ function Dt(o) {
1252
1261
  return o.category === "FIELD";
1253
1262
  }
1254
1263
  const k = e.enum([
@@ -1272,7 +1281,7 @@ const k = e.enum([
1272
1281
  ]), x = e.enum([
1273
1282
  "ensure-username",
1274
1283
  "set-preferred-username"
1275
- ]), Dt = {
1284
+ ]), Lt = {
1276
1285
  "ensure-username": {
1277
1286
  name: "Ensure Username",
1278
1287
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1288,11 +1297,11 @@ const k = e.enum([
1288
1297
  synchronous: e.boolean().default(!1),
1289
1298
  priority: e.number().optional(),
1290
1299
  hook_id: e.string().optional()
1291
- }, uo = e.object({
1300
+ }, mo = e.object({
1292
1301
  ...m,
1293
1302
  trigger_id: k,
1294
1303
  url: e.string()
1295
- }), mo = e.object({
1304
+ }), ho = e.object({
1296
1305
  ...m,
1297
1306
  trigger_id: U,
1298
1307
  form_id: e.string()
@@ -1300,40 +1309,40 @@ const k = e.enum([
1300
1309
  ...m,
1301
1310
  trigger_id: F,
1302
1311
  template_id: x
1303
- }), Lt = e.union([
1304
- uo,
1312
+ }), vt = e.union([
1305
1313
  mo,
1314
+ ho,
1306
1315
  bo
1307
- ]), ho = e.object({
1316
+ ]), fo = e.object({
1308
1317
  ...m,
1309
1318
  trigger_id: k,
1310
1319
  ...s.shape,
1311
1320
  hook_id: e.string(),
1312
1321
  url: e.string()
1313
- }), fo = e.object({
1322
+ }), Eo = e.object({
1314
1323
  ...m,
1315
1324
  trigger_id: U,
1316
1325
  ...s.shape,
1317
1326
  hook_id: e.string(),
1318
1327
  form_id: e.string()
1319
- }), Eo = e.object({
1328
+ }), So = e.object({
1320
1329
  ...m,
1321
1330
  trigger_id: F,
1322
1331
  ...s.shape,
1323
1332
  hook_id: e.string(),
1324
1333
  template_id: x
1325
- }), vt = e.union([
1326
- ho,
1334
+ }), kt = e.union([
1327
1335
  fo,
1328
- Eo
1329
- ]), So = e.object({
1336
+ Eo,
1337
+ So
1338
+ ]), Ao = e.object({
1330
1339
  name: e.string().optional()
1331
- }), Ao = e.object({
1332
- email: e.string().optional()
1333
1340
  }), Io = e.object({
1341
+ email: e.string().optional()
1342
+ }), yo = e.object({
1334
1343
  organization_id: e.string().max(50),
1335
- inviter: So,
1336
- invitee: Ao,
1344
+ inviter: Ao,
1345
+ invitee: Io,
1337
1346
  invitation_url: e.string().url(),
1338
1347
  client_id: e.string(),
1339
1348
  connection_id: e.string().optional(),
@@ -1342,13 +1351,13 @@ const k = e.enum([
1342
1351
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1343
1352
  roles: e.array(e.string()).default([]).optional(),
1344
1353
  send_invitation_email: e.boolean().default(!0).optional()
1345
- }), kt = e.object({
1354
+ }), Ut = e.object({
1346
1355
  id: e.string(),
1347
1356
  organization_id: e.string().max(50),
1348
1357
  created_at: e.string().datetime(),
1349
1358
  expires_at: e.string().datetime(),
1350
1359
  ticket_id: e.string().optional()
1351
- }).extend(Io.shape), yo = e.object({
1360
+ }).extend(yo.shape), Co = e.object({
1352
1361
  alg: e.enum([
1353
1362
  "RS256",
1354
1363
  "RS384",
@@ -1367,9 +1376,9 @@ const k = e.enum([
1367
1376
  x5t: e.string().optional(),
1368
1377
  x5c: e.array(e.string()).optional(),
1369
1378
  use: e.enum(["sig", "enc"]).optional()
1370
- }), Ut = e.object({
1371
- keys: e.array(yo)
1372
1379
  }), Ft = e.object({
1380
+ keys: e.array(Co)
1381
+ }), xt = e.object({
1373
1382
  issuer: e.string(),
1374
1383
  authorization_endpoint: e.string(),
1375
1384
  token_endpoint: e.string(),
@@ -1392,7 +1401,7 @@ const k = e.enum([
1392
1401
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1393
1402
  });
1394
1403
  var P = /* @__PURE__ */ ((o) => (o.PENDING = "pending", o.AUTHENTICATED = "authenticated", o.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", o.AWAITING_HOOK = "awaiting_hook", o.AWAITING_CONTINUATION = "awaiting_continuation", o.COMPLETED = "completed", o.FAILED = "failed", o.EXPIRED = "expired", o))(P || {});
1395
- const Co = e.nativeEnum(P), To = e.object({
1404
+ const Oo = e.nativeEnum(P), To = e.object({
1396
1405
  csrf_token: e.string(),
1397
1406
  auth0Client: e.string().optional(),
1398
1407
  authParams: Ie,
@@ -1402,7 +1411,7 @@ const Co = e.nativeEnum(P), To = e.object({
1402
1411
  useragent: e.string().optional(),
1403
1412
  session_id: e.string().optional(),
1404
1413
  authorization_url: e.string().optional(),
1405
- state: Co.optional().default(
1414
+ state: Oo.optional().default(
1406
1415
  "pending"
1407
1416
  /* PENDING */
1408
1417
  ),
@@ -1415,14 +1424,14 @@ const Co = e.nativeEnum(P), To = e.object({
1415
1424
  // The connection used to authenticate (may differ from primary user's connection)
1416
1425
  }).openapi({
1417
1426
  description: "This represents a login sesion"
1418
- }), xt = e.object({
1427
+ }), Pt = e.object({
1419
1428
  ...To.shape,
1420
1429
  id: e.string().openapi({
1421
1430
  description: "This is is used as the state in the universal login"
1422
1431
  }),
1423
1432
  created_at: e.string(),
1424
1433
  updated_at: e.string()
1425
- }), Oo = {
1434
+ }), No = {
1426
1435
  // Network & System
1427
1436
  ACLS_SUMMARY: "acls_summary",
1428
1437
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1593,10 +1602,10 @@ const Co = e.nativeEnum(P), To = e.object({
1593
1602
  WARNING_DURING_LOGIN: "w",
1594
1603
  WARNING_SENDING_NOTIFICATION: "wn",
1595
1604
  WARNING_USER_MANAGEMENT: "wum"
1596
- }, No = e.string().refine(
1597
- (o) => Object.values(Oo).includes(o),
1605
+ }, Ro = e.string().refine(
1606
+ (o) => Object.values(No).includes(o),
1598
1607
  { message: "Invalid log type" }
1599
- ), Ro = e.object({
1608
+ ), wo = e.object({
1600
1609
  name: e.string(),
1601
1610
  version: e.string(),
1602
1611
  env: e.object({
@@ -1609,8 +1618,8 @@ const Co = e.nativeEnum(P), To = e.object({
1609
1618
  longitude: e.string(),
1610
1619
  time_zone: e.string(),
1611
1620
  continent_code: e.string()
1612
- }), wo = e.object({
1613
- type: No,
1621
+ }), Do = e.object({
1622
+ type: Ro,
1614
1623
  date: e.string(),
1615
1624
  description: e.string().optional(),
1616
1625
  ip: e.string().optional(),
@@ -1629,19 +1638,19 @@ const Co = e.nativeEnum(P), To = e.object({
1629
1638
  strategy: e.string().optional(),
1630
1639
  strategy_type: e.string().optional(),
1631
1640
  hostname: e.string().optional(),
1632
- auth0_client: Ro.optional(),
1641
+ auth0_client: wo.optional(),
1633
1642
  log_id: e.string().optional(),
1634
1643
  location_info: jo.optional()
1635
- }), Pt = e.object({
1636
- ...wo.shape,
1644
+ }), Mt = e.object({
1645
+ ...Do.shape,
1637
1646
  log_id: e.string()
1638
- }), Do = e.object({
1647
+ }), Lo = e.object({
1639
1648
  id: e.string().optional(),
1640
1649
  user_id: e.string(),
1641
1650
  password: e.string(),
1642
1651
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1643
1652
  is_current: e.boolean().default(!0)
1644
- }), Mt = Do.extend({
1653
+ }), Ht = Lo.extend({
1645
1654
  id: e.string(),
1646
1655
  created_at: e.string(),
1647
1656
  updated_at: e.string()
@@ -1652,7 +1661,7 @@ const Co = e.nativeEnum(P), To = e.object({
1652
1661
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1653
1662
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1654
1663
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1655
- }), Lo = e.object({
1664
+ }), vo = e.object({
1656
1665
  id: e.string(),
1657
1666
  revoked_at: e.string().optional(),
1658
1667
  used_at: e.string().optional(),
@@ -1664,13 +1673,13 @@ const Co = e.nativeEnum(P), To = e.object({
1664
1673
  "Metadata related to the device used in the session"
1665
1674
  ),
1666
1675
  clients: e.array(e.string()).describe("List of client details for the session")
1667
- }), Ht = e.object({
1676
+ }), Gt = e.object({
1668
1677
  created_at: e.string(),
1669
1678
  updated_at: e.string(),
1670
1679
  authenticated_at: e.string(),
1671
1680
  last_interaction_at: e.string(),
1672
- ...Lo.shape
1673
- }), Gt = e.object({
1681
+ ...vo.shape
1682
+ }), Bt = e.object({
1674
1683
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1675
1684
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1676
1685
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1695,7 +1704,7 @@ const Co = e.nativeEnum(P), To = e.object({
1695
1704
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1696
1705
  description: "The type of the signing key"
1697
1706
  })
1698
- }), vo = e.object({
1707
+ }), ko = e.object({
1699
1708
  id: e.string().optional(),
1700
1709
  // Basic settings
1701
1710
  audience: e.string(),
@@ -1848,14 +1857,14 @@ const Co = e.nativeEnum(P), To = e.object({
1848
1857
  message: e.string().optional()
1849
1858
  }).optional()
1850
1859
  }).optional()
1851
- }), Bt = e.object({
1860
+ }), Wt = e.object({
1852
1861
  created_at: e.string().nullable().transform((o) => o ?? ""),
1853
1862
  updated_at: e.string().nullable().transform((o) => o ?? ""),
1854
- ...vo.shape,
1863
+ ...ko.shape,
1855
1864
  id: e.string()
1856
1865
  });
1857
- var ko = /* @__PURE__ */ ((o) => (o.RefreshToken = "refresh_token", o.AuthorizationCode = "authorization_code", o.ClientCredential = "client_credentials", o.Passwordless = "passwordless", o.Password = "password", o.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", o))(ko || {});
1858
- const Wt = e.object({
1866
+ var Uo = /* @__PURE__ */ ((o) => (o.RefreshToken = "refresh_token", o.AuthorizationCode = "authorization_code", o.ClientCredential = "client_credentials", o.Passwordless = "passwordless", o.Password = "password", o.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", o))(Uo || {});
1867
+ const Kt = e.object({
1859
1868
  access_token: e.string(),
1860
1869
  id_token: e.string().optional(),
1861
1870
  scope: e.string().optional(),
@@ -1868,7 +1877,7 @@ e.object({
1868
1877
  code: e.string(),
1869
1878
  state: e.string().optional()
1870
1879
  });
1871
- const Uo = e.object({
1880
+ const Fo = e.object({
1872
1881
  button_border_radius: e.number(),
1873
1882
  button_border_weight: e.number(),
1874
1883
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1878,7 +1887,7 @@ const Uo = e.object({
1878
1887
  show_widget_shadow: e.boolean(),
1879
1888
  widget_border_weight: e.number(),
1880
1889
  widget_corner_radius: e.number()
1881
- }), Fo = e.object({
1890
+ }), xo = e.object({
1882
1891
  base_focus_color: e.string(),
1883
1892
  base_hover_color: e.string(),
1884
1893
  body_text: e.string(),
@@ -1901,7 +1910,7 @@ const Uo = e.object({
1901
1910
  }), g = e.object({
1902
1911
  bold: e.boolean(),
1903
1912
  size: e.number()
1904
- }), xo = e.object({
1913
+ }), Po = e.object({
1905
1914
  body_text: g,
1906
1915
  buttons_text: g,
1907
1916
  font_url: e.string(),
@@ -1911,31 +1920,31 @@ const Uo = e.object({
1911
1920
  reference_text_size: e.number(),
1912
1921
  subtitle: g,
1913
1922
  title: g
1914
- }), Po = e.object({
1923
+ }), Mo = e.object({
1915
1924
  background_color: e.string(),
1916
1925
  background_image_url: e.string(),
1917
1926
  page_layout: e.enum(["center", "left", "right"])
1918
- }), Mo = e.object({
1927
+ }), Ho = e.object({
1919
1928
  header_text_alignment: e.enum(["center", "left", "right"]),
1920
1929
  logo_height: e.number(),
1921
1930
  logo_position: e.enum(["center", "left", "none", "right"]),
1922
1931
  logo_url: e.string(),
1923
1932
  social_buttons_layout: e.enum(["bottom", "top"])
1924
- }), Ho = e.object({
1925
- borders: Uo,
1926
- colors: Fo,
1933
+ }), Go = e.object({
1934
+ borders: Fo,
1935
+ colors: xo,
1927
1936
  displayName: e.string(),
1928
- fonts: xo,
1929
- page_background: Po,
1930
- widget: Mo
1931
- }), Kt = Ho.extend({
1937
+ fonts: Po,
1938
+ page_background: Mo,
1939
+ widget: Ho
1940
+ }), zt = Go.extend({
1932
1941
  themeId: e.string()
1933
- }), zt = e.object({
1942
+ }), Xt = e.object({
1934
1943
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1935
1944
  identifier_first: e.boolean().default(!0),
1936
1945
  password_first: e.boolean().default(!1),
1937
1946
  webauthn_platform_first_factor: e.boolean()
1938
- }), Xt = e.object({
1947
+ }), qt = e.object({
1939
1948
  name: e.string(),
1940
1949
  enabled: e.boolean().optional().default(!0),
1941
1950
  default_from_address: e.string().optional(),
@@ -1965,7 +1974,7 @@ const Uo = e.object({
1965
1974
  })
1966
1975
  ]),
1967
1976
  settings: e.object({}).optional()
1968
- }), Go = e.object({
1977
+ }), Bo = e.object({
1969
1978
  // The actual refresh token value (primary key).
1970
1979
  id: e.string(),
1971
1980
  // Link to the login session
@@ -1986,21 +1995,21 @@ const Uo = e.object({
1986
1995
  })
1987
1996
  ),
1988
1997
  rotating: e.boolean()
1989
- }), qt = e.object({
1998
+ }), Vt = e.object({
1990
1999
  // When the refresh token record was created.
1991
2000
  created_at: e.string(),
1992
2001
  // Spread in the rest of the refresh token properties.
1993
- ...Go.shape
1994
- }), Vt = e.object({
2002
+ ...Bo.shape
2003
+ }), Yt = e.object({
1995
2004
  to: e.string(),
1996
2005
  message: e.string()
1997
- }), Yt = e.object({
2006
+ }), Qt = e.object({
1998
2007
  name: e.string(),
1999
2008
  options: e.object({})
2000
- }), Bo = e.object({
2009
+ }), Wo = e.object({
2001
2010
  value: e.string(),
2002
2011
  description: e.string().optional()
2003
- }), Wo = e.object({
2012
+ }), Ko = e.object({
2004
2013
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2005
2014
  enforce_policies: e.boolean().optional(),
2006
2015
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2010,11 +2019,11 @@ const Uo = e.object({
2010
2019
  mtls: e.object({
2011
2020
  bound_access_tokens: e.boolean().optional()
2012
2021
  }).optional()
2013
- }), Ko = e.object({
2022
+ }), zo = e.object({
2014
2023
  id: e.string().optional(),
2015
2024
  name: e.string(),
2016
2025
  identifier: e.string(),
2017
- scopes: e.array(Bo).optional(),
2026
+ scopes: e.array(Wo).optional(),
2018
2027
  signing_alg: e.string().optional(),
2019
2028
  signing_secret: e.string().optional(),
2020
2029
  token_lifetime: e.number().optional(),
@@ -2022,30 +2031,30 @@ const Uo = e.object({
2022
2031
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2023
2032
  allow_offline_access: e.boolean().optional(),
2024
2033
  verificationKey: e.string().optional(),
2025
- options: Wo.optional(),
2034
+ options: Ko.optional(),
2026
2035
  is_system: e.boolean().optional(),
2027
2036
  metadata: e.record(e.any()).optional()
2028
- }), zo = e.object({
2029
- ...Ko.shape,
2037
+ }), Xo = e.object({
2038
+ ...zo.shape,
2030
2039
  created_at: e.string().optional(),
2031
2040
  updated_at: e.string().optional()
2032
- }), Qt = e.array(zo), Xo = e.object({
2041
+ }), Jt = e.array(Xo), qo = e.object({
2033
2042
  role_id: e.string(),
2034
2043
  resource_server_identifier: e.string(),
2035
2044
  permission_name: e.string()
2036
- }), qo = e.object({
2037
- ...Xo.shape,
2045
+ }), Vo = e.object({
2046
+ ...qo.shape,
2038
2047
  created_at: e.string()
2039
- }), Jt = e.array(qo), Vo = e.object({
2048
+ }), Zt = e.array(Vo), Yo = e.object({
2040
2049
  user_id: e.string(),
2041
2050
  resource_server_identifier: e.string(),
2042
2051
  permission_name: e.string(),
2043
2052
  organization_id: e.string().optional()
2044
- }), Yo = e.object({
2045
- ...Vo.shape,
2053
+ }), Qo = e.object({
2054
+ ...Yo.shape,
2046
2055
  tenant_id: e.string(),
2047
2056
  created_at: e.string().optional()
2048
- }), Zt = e.array(Yo), Qo = e.object({
2057
+ }), $t = e.array(Qo), Jo = e.object({
2049
2058
  user_id: e.string(),
2050
2059
  resource_server_identifier: e.string(),
2051
2060
  resource_server_name: e.string(),
@@ -2053,17 +2062,17 @@ const Uo = e.object({
2053
2062
  description: e.string().nullable().optional(),
2054
2063
  created_at: e.string().optional(),
2055
2064
  organization_id: e.string().optional()
2056
- }), $t = e.array(
2057
- Qo
2058
- ), Jo = e.object({
2065
+ }), en = e.array(
2066
+ Jo
2067
+ ), Zo = e.object({
2059
2068
  user_id: e.string(),
2060
2069
  role_id: e.string(),
2061
2070
  organization_id: e.string().optional()
2062
- }), Zo = e.object({
2063
- ...Jo.shape,
2071
+ }), $o = e.object({
2072
+ ...Zo.shape,
2064
2073
  tenant_id: e.string(),
2065
2074
  created_at: e.string().optional()
2066
- }), en = e.array(Zo), $o = e.object({
2075
+ }), on = e.array($o), et = e.object({
2067
2076
  id: e.string().optional().openapi({
2068
2077
  description: "The unique identifier of the role. If not provided, one will be generated."
2069
2078
  }),
@@ -2077,13 +2086,13 @@ const Uo = e.object({
2077
2086
  metadata: e.record(e.any()).optional().openapi({
2078
2087
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2079
2088
  })
2080
- }), et = $o.extend({
2089
+ }), ot = et.extend({
2081
2090
  id: e.string().openapi({
2082
2091
  description: "The unique identifier of the role"
2083
2092
  }),
2084
2093
  created_at: e.string().optional(),
2085
2094
  updated_at: e.string().optional()
2086
- }), on = e.array(et), ot = e.object({
2095
+ }), tn = e.array(ot), tt = e.object({
2087
2096
  logo_url: e.string().optional().openapi({
2088
2097
  description: "URL of the organization's logo"
2089
2098
  }),
@@ -2095,7 +2104,7 @@ const Uo = e.object({
2095
2104
  description: "Page background color in hex format (e.g., #FFFFFF)"
2096
2105
  })
2097
2106
  }).optional()
2098
- }).optional(), tt = e.object({
2107
+ }).optional(), nt = e.object({
2099
2108
  connection_id: e.string().openapi({
2100
2109
  description: "ID of the connection"
2101
2110
  }),
@@ -2108,7 +2117,7 @@ const Uo = e.object({
2108
2117
  is_signup_enabled: e.boolean().default(!0).openapi({
2109
2118
  description: "Whether signup is enabled for this connection"
2110
2119
  })
2111
- }), nt = e.object({
2120
+ }), it = e.object({
2112
2121
  client_credentials: e.object({
2113
2122
  enforce: e.boolean().default(!1).openapi({
2114
2123
  description: "Whether to enforce token quota limits"
@@ -2120,7 +2129,7 @@ const Uo = e.object({
2120
2129
  description: "Maximum tokens per hour (0 = unlimited)"
2121
2130
  })
2122
2131
  }).optional()
2123
- }).optional(), it = e.object({
2132
+ }).optional(), at = e.object({
2124
2133
  id: e.string().optional(),
2125
2134
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2126
2135
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2130,34 +2139,34 @@ const Uo = e.object({
2130
2139
  display_name: e.string().optional().openapi({
2131
2140
  description: "The display name of the organization"
2132
2141
  }),
2133
- branding: ot,
2142
+ branding: tt,
2134
2143
  metadata: e.record(e.any()).default({}).optional().openapi({
2135
2144
  description: "Custom metadata for the organization"
2136
2145
  }),
2137
- enabled_connections: e.array(tt).default([]).optional().openapi({
2146
+ enabled_connections: e.array(nt).default([]).optional().openapi({
2138
2147
  description: "List of enabled connections for the organization"
2139
2148
  }),
2140
- token_quota: nt
2141
- }), tn = e.object({
2142
- ...it.shape,
2149
+ token_quota: it
2150
+ }), nn = e.object({
2151
+ ...at.shape,
2143
2152
  ...s.shape,
2144
2153
  id: e.string(),
2145
2154
  // Override name to be lenient when reading from database (to support existing uppercase names)
2146
2155
  name: e.string().min(1).openapi({
2147
2156
  description: "The name of the organization"
2148
2157
  })
2149
- }), at = e.object({
2158
+ }), rt = e.object({
2150
2159
  user_id: e.string().openapi({
2151
2160
  description: "ID of the user"
2152
2161
  }),
2153
2162
  organization_id: e.string().openapi({
2154
2163
  description: "ID of the organization"
2155
2164
  })
2156
- }), nn = e.object({
2157
- ...at.shape,
2165
+ }), an = e.object({
2166
+ ...rt.shape,
2158
2167
  ...s.shape,
2159
2168
  id: e.string()
2160
- }), an = e.object({
2169
+ }), rn = e.object({
2161
2170
  // Session settings
2162
2171
  idle_session_lifetime: e.number().optional(),
2163
2172
  session_lifetime: e.number().optional(),
@@ -2255,7 +2264,7 @@ const Uo = e.object({
2255
2264
  message: e.string().optional()
2256
2265
  }).optional()
2257
2266
  }).optional()
2258
- }), rn = e.object({
2267
+ }), sn = e.object({
2259
2268
  date: e.string().openapi({
2260
2269
  description: "Date these events occurred in ISO 8601 format",
2261
2270
  example: "2025-12-19"
@@ -2280,10 +2289,10 @@ const Uo = e.object({
2280
2289
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2281
2290
  example: "2025-12-19T00:00:00.000Z"
2282
2291
  })
2283
- }), sn = e.number().openapi({
2292
+ }), ln = e.number().openapi({
2284
2293
  description: "Number of active users in the last 30 days",
2285
2294
  example: 1234
2286
- }), rt = e.enum([
2295
+ }), st = e.enum([
2287
2296
  "login",
2288
2297
  "login-id",
2289
2298
  "login-password",
@@ -2312,47 +2321,66 @@ const Uo = e.object({
2312
2321
  "captcha",
2313
2322
  "custom-form",
2314
2323
  "login-passwordless"
2315
- ]), st = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2324
+ ]), lt = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2316
2325
  type: "object",
2317
2326
  additionalProperties: {
2318
2327
  type: "object",
2319
2328
  additionalProperties: { type: "string" }
2320
2329
  }
2321
- }), ln = e.object({
2322
- prompt: rt,
2330
+ }), pn = e.object({
2331
+ prompt: st,
2323
2332
  language: e.string(),
2324
- custom_text: st
2325
- });
2326
- function pn(o) {
2333
+ custom_text: lt
2334
+ }), cn = {
2335
+ EMAIL: "email",
2336
+ SMS: "sms",
2337
+ USERNAME_PASSWORD: "Username-Password-Authentication",
2338
+ GOOGLE_OAUTH2: "google-oauth2",
2339
+ APPLE: "apple",
2340
+ FACEBOOK: "facebook",
2341
+ GITHUB: "github",
2342
+ MICROSOFT: "microsoft",
2343
+ VIPPS: "vipps",
2344
+ OIDC: "oidc",
2345
+ OAUTH2: "oauth2",
2346
+ SAMLP: "samlp",
2347
+ WAAD: "waad",
2348
+ ADFS: "adfs"
2349
+ }, _n = {
2350
+ DATABASE: "database",
2351
+ SOCIAL: "social",
2352
+ PASSWORDLESS: "passwordless"
2353
+ };
2354
+ function dn(o) {
2327
2355
  const [n, i] = o.split("|");
2328
2356
  if (!n || !i)
2329
2357
  throw new Error(`Invalid user_id: ${o}`);
2330
2358
  return { connection: n, id: i };
2331
2359
  }
2332
- function cn(o) {
2360
+ function gn(o) {
2333
2361
  const {
2334
2362
  primary: n,
2335
2363
  secondaries: i,
2336
- syncMethods: O = ["create", "update", "remove", "delete", "set"]
2364
+ syncMethods: T = ["create", "update", "remove", "delete", "set"]
2337
2365
  } = o, E = {
2338
2366
  get(p, a) {
2339
2367
  if (typeof a == "symbol")
2340
2368
  return p[a];
2341
2369
  const c = p[a];
2342
- return typeof c != "function" ? c : O.includes(a) ? async (..._) => {
2370
+ return typeof c != "function" ? c : T.includes(a) ? async (..._) => {
2343
2371
  const S = await c.apply(p, _), d = [];
2344
2372
  for (const r of i) {
2345
- const b = r.adapter[a];
2346
- if (typeof b != "function")
2373
+ const h = r.adapter[a];
2374
+ if (typeof h != "function")
2347
2375
  continue;
2348
2376
  const A = (async () => {
2349
2377
  try {
2350
- await b.apply(r.adapter, _);
2351
- } catch (h) {
2378
+ await h.apply(r.adapter, _);
2379
+ } catch (b) {
2352
2380
  try {
2353
- r.onError ? r.onError(h, a, _) : console.error(
2381
+ r.onError ? r.onError(b, a, _) : console.error(
2354
2382
  `Passthrough adapter: secondary write failed for ${a}:`,
2355
- h
2383
+ b
2356
2384
  );
2357
2385
  } catch (I) {
2358
2386
  console.error(
@@ -2370,11 +2398,11 @@ function cn(o) {
2370
2398
  };
2371
2399
  return new Proxy(n, E);
2372
2400
  }
2373
- function _n(o) {
2401
+ function un(o) {
2374
2402
  return o;
2375
2403
  }
2376
- function dn(o) {
2377
- var E, p, a, c, _, S, d, r, b, A, h, I;
2404
+ function mn(o) {
2405
+ var E, p, a, c, _, S, d, r, h, A, b, I;
2378
2406
  const n = o == null ? void 0 : o.options;
2379
2407
  if (!n)
2380
2408
  return {
@@ -2396,163 +2424,165 @@ function dn(o) {
2396
2424
  return {
2397
2425
  usernameIdentifierActive: n.requires_username === !0,
2398
2426
  emailIdentifierActive: !0,
2399
- usernameMinLength: ((A = (b = n.validation) == null ? void 0 : b.username) == null ? void 0 : A.min) ?? 1,
2400
- usernameMaxLength: ((I = (h = n.validation) == null ? void 0 : h.username) == null ? void 0 : I.max) ?? 15
2427
+ usernameMinLength: ((A = (h = n.validation) == null ? void 0 : h.username) == null ? void 0 : A.min) ?? 1,
2428
+ usernameMaxLength: ((I = (b = n.validation) == null ? void 0 : b.username) == null ? void 0 : I.max) ?? 15
2401
2429
  };
2402
2430
  }
2403
2431
  export {
2404
- ct as Auth0ActionEnum,
2405
- Ro as Auth0Client,
2432
+ _t as Auth0ActionEnum,
2433
+ wo as Auth0Client,
2406
2434
  D as AuthorizationResponseMode,
2407
- w as AuthorizationResponseType,
2435
+ j as AuthorizationResponseType,
2408
2436
  L as CodeChallengeMethod,
2409
- j as ComponentCategory,
2437
+ w as ComponentCategory,
2410
2438
  R as ComponentType,
2411
- _t as EmailActionEnum,
2412
- Ct as FORM_FIELD_TYPES,
2413
- pt as FlowActionTypeEnum,
2414
- ko as GrantType,
2439
+ dt as EmailActionEnum,
2440
+ Ot as FORM_FIELD_TYPES,
2441
+ ct as FlowActionTypeEnum,
2442
+ Uo as GrantType,
2415
2443
  jo as LocationInfo,
2416
- Oo as LogTypes,
2444
+ No as LogTypes,
2417
2445
  P as LoginSessionState,
2418
2446
  ge as NodeType,
2419
2447
  q as RedirectTargetEnum,
2420
- be as actionNodeSchema,
2421
- sn as activeUsersResponseSchema,
2448
+ cn as Strategy,
2449
+ _n as StrategyType,
2450
+ he as actionNodeSchema,
2451
+ ln as activeUsersResponseSchema,
2422
2452
  $ as addressSchema,
2423
- Et as auth0FlowInsertSchema,
2453
+ St as auth0FlowInsertSchema,
2424
2454
  Ae as auth0FlowSchema,
2425
- gt as auth0QuerySchema,
2455
+ ut as auth0QuerySchema,
2426
2456
  z as auth0UpdateUserActionSchema,
2427
- mt as auth0UserResponseSchema,
2457
+ ht as auth0UserResponseSchema,
2428
2458
  Ie as authParamsSchema,
2429
2459
  N as baseUserSchema,
2430
- no as blockComponentSchema,
2431
- Uo as bordersSchema,
2432
- St as brandingSchema,
2460
+ io as blockComponentSchema,
2461
+ Fo as bordersSchema,
2462
+ At as brandingSchema,
2433
2463
  le as buttonComponentSchema,
2434
2464
  ae as clientGrantInsertSchema,
2435
- ft as clientGrantListSchema,
2465
+ Et as clientGrantListSchema,
2436
2466
  re as clientGrantSchema,
2437
2467
  ie as clientInsertSchema,
2438
- ht as clientSchema,
2468
+ ft as clientSchema,
2439
2469
  Ce as codeInsertSchema,
2440
- At as codeSchema,
2470
+ It as codeSchema,
2441
2471
  ye as codeTypeSchema,
2442
- Fo as colorsSchema,
2443
- _o as componentMessageSchema,
2472
+ xo as colorsSchema,
2473
+ go as componentMessageSchema,
2444
2474
  de as componentSchema,
2445
- Oe as connectionInsertSchema,
2446
- Te as connectionOptionsSchema,
2447
- It as connectionSchema,
2475
+ Te as connectionInsertSchema,
2476
+ Oe as connectionOptionsSchema,
2477
+ yt as connectionSchema,
2448
2478
  u as coordinatesSchema,
2449
- cn as createPassthroughAdapter,
2450
- _n as createWriteOnlyAdapter,
2479
+ gn as createPassthroughAdapter,
2480
+ un as createWriteOnlyAdapter,
2451
2481
  Ne as customDomainInsertSchema,
2452
- je as customDomainSchema,
2453
- yt as customDomainWithTenantIdSchema,
2454
- ln as customTextEntrySchema,
2455
- st as customTextSchema,
2456
- rn as dailyStatsSchema,
2457
- Xt as emailProviderSchema,
2482
+ we as customDomainSchema,
2483
+ Ct as customDomainWithTenantIdSchema,
2484
+ pn as customTextEntrySchema,
2485
+ lt as customTextSchema,
2486
+ sn as dailyStatsSchema,
2487
+ qt as emailProviderSchema,
2458
2488
  K as emailVerificationRulesSchema,
2459
2489
  X as emailVerifyActionSchema,
2460
2490
  Se as endingSchema,
2461
- ao as fieldComponentSchema,
2491
+ ro as fieldComponentSchema,
2462
2492
  Y as flowActionStepSchema,
2463
2493
  Q as flowInsertSchema,
2464
- dt as flowSchema,
2494
+ gt as flowSchema,
2465
2495
  ce as flowsFieldComponentSchema,
2466
2496
  me as flowsFlowNodeSchema,
2467
2497
  ue as flowsStepNodeSchema,
2468
2498
  g as fontDetailsSchema,
2469
- xo as fontsSchema,
2499
+ Po as fontsSchema,
2470
2500
  Tt as formControlSchema,
2471
- co as formInsertSchema,
2501
+ _o as formInsertSchema,
2472
2502
  v as formNodeComponentDefinition,
2473
- po as formNodeSchema,
2474
- Ot as formSchema,
2503
+ co as formNodeSchema,
2504
+ Nt as formSchema,
2475
2505
  _e as genericComponentSchema,
2476
- he as genericNodeSchema,
2477
- dn as getConnectionIdentifierConfig,
2478
- Lt as hookInsertSchema,
2479
- vt as hookSchema,
2506
+ be as genericNodeSchema,
2507
+ mn as getConnectionIdentifierConfig,
2508
+ vt as hookInsertSchema,
2509
+ kt as hookSchema,
2480
2510
  x as hookTemplateId,
2481
- Dt as hookTemplates,
2511
+ Lt as hookTemplates,
2482
2512
  Z as identitySchema,
2483
- Io as inviteInsertSchema,
2484
- kt as inviteSchema,
2485
- Ao as inviteeSchema,
2486
- So as inviterSchema,
2487
- Rt as isBlockComponent,
2488
- wt as isFieldComponent,
2513
+ yo as inviteInsertSchema,
2514
+ Ut as inviteSchema,
2515
+ Io as inviteeSchema,
2516
+ Ao as inviterSchema,
2517
+ wt as isBlockComponent,
2518
+ Dt as isFieldComponent,
2489
2519
  jt as isWidgetComponent,
2490
- Ut as jwksKeySchema,
2491
- yo as jwksSchema,
2520
+ Ft as jwksKeySchema,
2521
+ Co as jwksSchema,
2492
2522
  pe as legalComponentSchema,
2493
- wo as logInsertSchema,
2494
- Pt as logSchema,
2523
+ Do as logInsertSchema,
2524
+ Mt as logSchema,
2495
2525
  To as loginSessionInsertSchema,
2496
- xt as loginSessionSchema,
2497
- Co as loginSessionStateSchema,
2526
+ Pt as loginSessionSchema,
2527
+ Oo as loginSessionStateSchema,
2498
2528
  fe as nodeSchema,
2499
- Ft as openIDConfigurationSchema,
2500
- ot as organizationBrandingSchema,
2501
- tt as organizationEnabledConnectionSchema,
2502
- it as organizationInsertSchema,
2503
- tn as organizationSchema,
2504
- nt as organizationTokenQuotaSchema,
2505
- Po as pageBackgroundSchema,
2506
- pn as parseUserId,
2507
- Do as passwordInsertSchema,
2508
- Mt as passwordSchema,
2529
+ xt as openIDConfigurationSchema,
2530
+ tt as organizationBrandingSchema,
2531
+ nt as organizationEnabledConnectionSchema,
2532
+ at as organizationInsertSchema,
2533
+ nn as organizationSchema,
2534
+ it as organizationTokenQuotaSchema,
2535
+ Mo as pageBackgroundSchema,
2536
+ dn as parseUserId,
2537
+ Lo as passwordInsertSchema,
2538
+ Ht as passwordSchema,
2509
2539
  J as profileDataSchema,
2510
- rt as promptScreenSchema,
2511
- zt as promptSettingSchema,
2540
+ st as promptScreenSchema,
2541
+ Xt as promptSettingSchema,
2512
2542
  V as redirectActionSchema,
2513
- Go as refreshTokenInsertSchema,
2514
- qt as refreshTokenSchema,
2515
- Ko as resourceServerInsertSchema,
2516
- Qt as resourceServerListSchema,
2517
- Wo as resourceServerOptionsSchema,
2518
- zo as resourceServerSchema,
2519
- Bo as resourceServerScopeSchema,
2543
+ Bo as refreshTokenInsertSchema,
2544
+ Vt as refreshTokenSchema,
2545
+ zo as resourceServerInsertSchema,
2546
+ Jt as resourceServerListSchema,
2547
+ Ko as resourceServerOptionsSchema,
2548
+ Xo as resourceServerSchema,
2549
+ Wo as resourceServerScopeSchema,
2520
2550
  se as richTextComponentSchema,
2521
- $o as roleInsertSchema,
2522
- on as roleListSchema,
2523
- Xo as rolePermissionInsertSchema,
2524
- Jt as rolePermissionListSchema,
2525
- qo as rolePermissionSchema,
2526
- et as roleSchema,
2527
- go as screenLinkSchema,
2528
- Lo as sessionInsertSchema,
2529
- Ht as sessionSchema,
2530
- Gt as signingKeySchema,
2531
- Yt as smsProviderSchema,
2532
- Vt as smsSendParamsSchema,
2551
+ et as roleInsertSchema,
2552
+ tn as roleListSchema,
2553
+ qo as rolePermissionInsertSchema,
2554
+ Zt as rolePermissionListSchema,
2555
+ Vo as rolePermissionSchema,
2556
+ ot as roleSchema,
2557
+ uo as screenLinkSchema,
2558
+ vo as sessionInsertSchema,
2559
+ Gt as sessionSchema,
2560
+ Bt as signingKeySchema,
2561
+ Qt as smsProviderSchema,
2562
+ Yt as smsSendParamsSchema,
2533
2563
  Ee as startSchema,
2534
- vo as tenantInsertSchema,
2535
- Bt as tenantSchema,
2536
- an as tenantSettingsSchema,
2537
- Ho as themeInsertSchema,
2538
- Kt as themeSchema,
2539
- Wt as tokenResponseSchema,
2540
- ut as totalsSchema,
2541
- Nt as uiScreenSchema,
2564
+ ko as tenantInsertSchema,
2565
+ Wt as tenantSchema,
2566
+ rn as tenantSettingsSchema,
2567
+ Go as themeInsertSchema,
2568
+ zt as themeSchema,
2569
+ Kt as tokenResponseSchema,
2570
+ mt as totalsSchema,
2571
+ Rt as uiScreenSchema,
2542
2572
  ee as userInsertSchema,
2543
- at as userOrganizationInsertSchema,
2544
- nn as userOrganizationSchema,
2545
- Vo as userPermissionInsertSchema,
2546
- Zt as userPermissionListSchema,
2547
- Yo as userPermissionSchema,
2548
- $t as userPermissionWithDetailsListSchema,
2549
- Qo as userPermissionWithDetailsSchema,
2573
+ rt as userOrganizationInsertSchema,
2574
+ an as userOrganizationSchema,
2575
+ Yo as userPermissionInsertSchema,
2576
+ $t as userPermissionListSchema,
2577
+ Qo as userPermissionSchema,
2578
+ en as userPermissionWithDetailsListSchema,
2579
+ Jo as userPermissionWithDetailsSchema,
2550
2580
  bt as userResponseSchema,
2551
- Jo as userRoleInsertSchema,
2552
- en as userRoleListSchema,
2553
- Zo as userRoleSchema,
2581
+ Zo as userRoleInsertSchema,
2582
+ on as userRoleListSchema,
2583
+ $o as userRoleSchema,
2554
2584
  oe as userSchema,
2555
2585
  Re as verificationMethodsSchema,
2556
- io as widgetComponentSchema,
2557
- Mo as widgetSchema
2586
+ ao as widgetComponentSchema,
2587
+ Ho as widgetSchema
2558
2588
  };