@authhero/adapter-interfaces 0.95.0 → 0.97.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.
@@ -1,5 +1,5 @@
1
1
  import { z as e } from "@hono/zod-openapi";
2
- const xe = e.object({
2
+ const Be = e.object({
3
3
  start: e.number(),
4
4
  limit: e.number(),
5
5
  length: e.number()
@@ -25,7 +25,7 @@ const xe = e.object({
25
25
  refresh_token: e.string().optional(),
26
26
  profileData: E.optional()
27
27
  }), _ = e.object({
28
- email: e.string().optional().transform((o) => o && o.toLowerCase()),
28
+ email: e.string().optional().transform((t) => t && t.toLowerCase()),
29
29
  username: e.string().optional(),
30
30
  phone_number: e.string().optional(),
31
31
  given_name: e.string().optional(),
@@ -56,17 +56,17 @@ const xe = e.object({
56
56
  email: e.string().optional(),
57
57
  login_count: e.number().default(0),
58
58
  identities: e.array(f).optional()
59
- }), Ge = A, Ke = _.extend({
59
+ }), We = A, Xe = _.extend({
60
60
  login_count: e.number(),
61
61
  multifactor: e.array(e.string()).optional(),
62
62
  last_ip: e.string().optional(),
63
63
  last_login: e.string().optional(),
64
64
  user_id: e.string()
65
65
  }).catchall(e.any()), I = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
66
- let C = (o = 21) => {
67
- let i = "", s = crypto.getRandomValues(new Uint8Array(o));
68
- for (; o--; )
69
- i += I[s[o] & 63];
66
+ let C = (t = 21) => {
67
+ let i = "", s = crypto.getRandomValues(new Uint8Array(t));
68
+ for (; t--; )
69
+ i += I[s[t] & 63];
70
70
  return i;
71
71
  };
72
72
  const O = e.object({
@@ -272,11 +272,11 @@ const O = e.object({
272
272
  ...N.shape,
273
273
  created_at: e.string().optional(),
274
274
  updated_at: e.string().optional()
275
- }), Be = e.array(y), a = e.object({
275
+ }), Ve = e.array(y), a = e.object({
276
276
  x: e.number(),
277
277
  y: e.number()
278
278
  });
279
- var c = /* @__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))(c || {}), p = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(p || {});
279
+ var c = /* @__PURE__ */ ((t) => (t.RICH_TEXT = "RICH_TEXT", t.NEXT_BUTTON = "NEXT_BUTTON", t.BACK_BUTTON = "BACK_BUTTON", t.SUBMIT_BUTTON = "SUBMIT_BUTTON", t.DIVIDER = "DIVIDER", t.TEXT = "TEXT", t.EMAIL = "EMAIL", t.PASSWORD = "PASSWORD", t.NUMBER = "NUMBER", t.PHONE = "PHONE", t.DATE = "DATE", t.CHECKBOX = "CHECKBOX", t.RADIO = "RADIO", t.SELECT = "SELECT", t.HIDDEN = "HIDDEN", t.LEGAL = "LEGAL", t))(c || {}), p = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(p || {});
280
280
  const r = e.object({
281
281
  id: e.string(),
282
282
  category: e.nativeEnum(p),
@@ -329,7 +329,7 @@ const r = e.object({
329
329
  config: e.object({
330
330
  text: e.string()
331
331
  }).passthrough()
332
- }), w = r.extend({
332
+ }), j = r.extend({
333
333
  category: e.literal(
334
334
  "FIELD"
335
335
  /* FIELD */
@@ -382,7 +382,7 @@ const r = e.object({
382
382
  label: e.string().optional(),
383
383
  placeholder: e.string().optional()
384
384
  }).passthrough()
385
- }), j = e.object({
385
+ }), w = e.object({
386
386
  id: e.string(),
387
387
  category: e.string(),
388
388
  type: e.string()
@@ -390,10 +390,10 @@ const r = e.object({
390
390
  R,
391
391
  L,
392
392
  D,
393
- w,
394
- j
393
+ j,
394
+ w
395
395
  ]);
396
- var U = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(U || {});
396
+ var U = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(U || {});
397
397
  const F = e.object({
398
398
  id: e.string(),
399
399
  type: e.literal(
@@ -447,12 +447,12 @@ const F = e.object({
447
447
  sdkSrc: e.string().optional(),
448
448
  sdk_src: e.string().optional()
449
449
  }).passthrough()
450
- }).passthrough(), ze = G.omit({
450
+ }).passthrough(), qe = G.omit({
451
451
  id: !0,
452
452
  created_at: !0,
453
453
  updated_at: !0
454
454
  });
455
- var d = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.TOKEN_ID_TOKEN = "token id_token", o.CODE = "code", o))(d || {}), g = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(g || {}), u = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(u || {});
455
+ var d = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(d || {}), g = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(g || {}), u = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(u || {});
456
456
  const K = e.object({
457
457
  client_id: e.string(),
458
458
  act_as: e.string().optional(),
@@ -471,7 +471,7 @@ const K = e.object({
471
471
  ui_locales: e.string().optional(),
472
472
  // The following fields are not available in Auth0
473
473
  vendor_id: e.string().optional()
474
- }), We = e.object({
474
+ }), Ye = e.object({
475
475
  colors: e.object({
476
476
  primary: e.string(),
477
477
  page_background: e.object({
@@ -487,7 +487,7 @@ const K = e.object({
487
487
  font: e.object({
488
488
  url: e.string()
489
489
  }).optional()
490
- }), B = e.object({
490
+ }), z = e.object({
491
491
  kid: e.string().optional(),
492
492
  team_id: e.string().optional(),
493
493
  realms: e.string().optional(),
@@ -506,19 +506,19 @@ const K = e.object({
506
506
  from: e.string().optional(),
507
507
  twilio_sid: e.string().optional(),
508
508
  twilio_token: e.string().optional()
509
- }), z = e.object({
509
+ }), B = e.object({
510
510
  id: e.string().optional(),
511
511
  name: e.string(),
512
512
  strategy: e.string(),
513
- options: B.default({}),
513
+ options: z.default({}),
514
514
  enabled_clients: e.array(e.string()).default([]).optional(),
515
515
  response_type: e.custom().optional(),
516
516
  response_mode: e.custom().optional()
517
517
  }), W = e.object({
518
518
  id: e.string(),
519
- created_at: e.string().transform((o) => o === null ? "" : o),
520
- updated_at: e.string().transform((o) => o === null ? "" : o)
521
- }).extend(z.shape), X = e.object({
519
+ created_at: e.string().transform((t) => t === null ? "" : t),
520
+ updated_at: e.string().transform((t) => t === null ? "" : t)
521
+ }).extend(B.shape), X = e.object({
522
522
  id: e.string().optional(),
523
523
  // Basic settings
524
524
  audience: e.string(),
@@ -639,8 +639,8 @@ const K = e.object({
639
639
  pushed_authorization_requests_supported: e.boolean().optional(),
640
640
  authorization_response_iss_parameter_supported: e.boolean().optional()
641
641
  }), V = e.object({
642
- created_at: e.string().nullable().transform((o) => o ?? ""),
643
- updated_at: e.string().nullable().transform((o) => o ?? ""),
642
+ created_at: e.string().nullable().transform((t) => t ?? ""),
643
+ updated_at: e.string().nullable().transform((t) => t ?? ""),
644
644
  ...X.shape,
645
645
  id: e.string()
646
646
  });
@@ -688,7 +688,7 @@ const q = e.enum([
688
688
  expires_at: e.string(),
689
689
  used_at: e.string().optional(),
690
690
  user_id: e.string().optional()
691
- }), Xe = e.object({
691
+ }), Qe = e.object({
692
692
  ...Y.shape,
693
693
  created_at: e.string()
694
694
  }), Q = e.object({
@@ -719,9 +719,9 @@ const q = e.enum([
719
719
  methods: e.array(J)
720
720
  }).optional(),
721
721
  tls_policy: e.string().optional()
722
- }), Ve = Z.extend({
722
+ }), Je = Z.extend({
723
723
  tenant_id: e.string()
724
- }), qe = e.object({
724
+ }), Ze = e.object({
725
725
  id: e.string(),
726
726
  type: e.literal("submit"),
727
727
  label: e.string(),
@@ -847,7 +847,7 @@ const q = e.enum([
847
847
  style: e.object({ css: e.string().optional() }).optional()
848
848
  }).openapi({
849
849
  description: "Schema for flow-based forms (matches new JSON structure)"
850
- }), Ye = e.object({
850
+ }), $e = e.object({
851
851
  ...n.shape,
852
852
  ...ee.shape,
853
853
  id: e.string()
@@ -865,17 +865,17 @@ const q = e.enum([
865
865
  synchronous: e.boolean().default(!1),
866
866
  priority: e.number().optional(),
867
867
  hook_id: e.string().optional()
868
- }, oe = e.object({
868
+ }, te = e.object({
869
869
  ...l,
870
870
  trigger_id: m,
871
871
  url: e.string()
872
- }), te = e.object({
872
+ }), oe = e.object({
873
873
  ...l,
874
874
  trigger_id: h,
875
875
  form_id: e.string()
876
- }), Qe = e.union([
877
- oe,
878
- te
876
+ }), et = e.union([
877
+ te,
878
+ oe
879
879
  ]), ne = e.object({
880
880
  ...l,
881
881
  trigger_id: m,
@@ -888,7 +888,29 @@ const q = e.enum([
888
888
  ...n.shape,
889
889
  hook_id: e.string(),
890
890
  form_id: e.string()
891
- }), Je = e.union([ne, ie]), ae = e.object({
891
+ }), tt = e.union([ne, ie]), ae = e.object({
892
+ name: e.string().optional()
893
+ }), se = e.object({
894
+ email: e.string().optional()
895
+ }), re = e.object({
896
+ organization_id: e.string().max(50),
897
+ inviter: ae,
898
+ invitee: se,
899
+ invitation_url: e.string().url(),
900
+ client_id: e.string(),
901
+ connection_id: e.string().optional(),
902
+ app_metadata: e.record(e.any()).default({}).optional(),
903
+ user_metadata: e.record(e.any()).default({}).optional(),
904
+ ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
905
+ roles: e.array(e.string()).default([]).optional(),
906
+ send_invitation_email: e.boolean().default(!0).optional()
907
+ }), ot = e.object({
908
+ id: e.string(),
909
+ organization_id: e.string().max(50),
910
+ created_at: e.string().datetime(),
911
+ expires_at: e.string().datetime(),
912
+ ticket_id: e.string().optional()
913
+ }).extend(re.shape), le = e.object({
892
914
  alg: e.enum([
893
915
  "RS256",
894
916
  "RS384",
@@ -907,9 +929,9 @@ const q = e.enum([
907
929
  x5t: e.string().optional(),
908
930
  x5c: e.array(e.string()).optional(),
909
931
  use: e.enum(["sig", "enc"]).optional()
910
- }), Ze = e.object({
911
- keys: e.array(ae)
912
- }), $e = e.object({
932
+ }), nt = e.object({
933
+ keys: e.array(le)
934
+ }), it = e.object({
913
935
  issuer: e.string(),
914
936
  authorization_endpoint: e.string(),
915
937
  token_endpoint: e.string(),
@@ -930,7 +952,7 @@ const q = e.enum([
930
952
  request_uri_parameter_supported: e.boolean(),
931
953
  request_parameter_supported: e.boolean(),
932
954
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
933
- }), se = e.object({
955
+ }), _e = e.object({
934
956
  csrf_token: e.string(),
935
957
  auth0Client: e.string().optional(),
936
958
  authParams: K,
@@ -943,14 +965,14 @@ const q = e.enum([
943
965
  login_completed: e.boolean().optional().default(!1)
944
966
  }).openapi({
945
967
  description: "This represents a login sesion"
946
- }), eo = e.object({
947
- ...se.shape,
968
+ }), at = e.object({
969
+ ..._e.shape,
948
970
  id: e.string().openapi({
949
971
  description: "This is is used as the state in the universal login"
950
972
  }),
951
973
  created_at: e.string(),
952
974
  updated_at: e.string()
953
- }), re = {
975
+ }), ce = {
954
976
  // Network & System
955
977
  ACLS_SUMMARY: "acls_summary",
956
978
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1117,21 +1139,19 @@ const q = e.enum([
1117
1139
  WARNING_DURING_LOGIN: "w",
1118
1140
  WARNING_SENDING_NOTIFICATION: "wn",
1119
1141
  WARNING_USER_MANAGEMENT: "wum"
1120
- }, le = e.string().refine(
1121
- (o) => Object.values(re).includes(o),
1142
+ }, pe = e.string().refine(
1143
+ (t) => Object.values(ce).includes(t),
1122
1144
  { message: "Invalid log type" }
1123
- ), _e = e.object({
1145
+ ), de = e.object({
1124
1146
  name: e.string(),
1125
1147
  version: e.string(),
1126
1148
  env: e.object({
1127
1149
  node: e.string().optional()
1128
1150
  }).optional()
1129
- }), oo = e.object({
1130
- type: le,
1151
+ }), ge = e.object({
1152
+ type: pe,
1131
1153
  date: e.string(),
1132
1154
  description: e.string().optional(),
1133
- log_id: e.string().optional(),
1134
- _id: e.string().optional(),
1135
1155
  ip: e.string(),
1136
1156
  user_agent: e.string(),
1137
1157
  details: e.any().optional(),
@@ -1148,13 +1168,17 @@ const q = e.enum([
1148
1168
  strategy: e.string().optional(),
1149
1169
  strategy_type: e.string().optional(),
1150
1170
  hostname: e.string().optional(),
1151
- auth0_client: _e.optional()
1152
- }), ce = e.object({
1171
+ auth0_client: de.optional(),
1172
+ log_id: e.string().optional()
1173
+ }), st = e.object({
1174
+ ...ge.shape,
1175
+ log_id: e.string()
1176
+ }), ue = e.object({
1153
1177
  user_id: e.string(),
1154
1178
  password: e.string(),
1155
1179
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id")
1156
- }), to = e.object({
1157
- ...ce.shape,
1180
+ }), rt = e.object({
1181
+ ...ue.shape,
1158
1182
  created_at: e.string(),
1159
1183
  updated_at: e.string()
1160
1184
  }), b = e.object({
@@ -1164,7 +1188,7 @@ const q = e.enum([
1164
1188
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1165
1189
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1166
1190
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1167
- }), pe = e.object({
1191
+ }), me = e.object({
1168
1192
  id: e.string(),
1169
1193
  revoked_at: e.string().optional(),
1170
1194
  used_at: e.string().optional(),
@@ -1176,13 +1200,13 @@ const q = e.enum([
1176
1200
  "Metadata related to the device used in the session"
1177
1201
  ),
1178
1202
  clients: e.array(e.string()).describe("List of client details for the session")
1179
- }), no = e.object({
1203
+ }), lt = e.object({
1180
1204
  created_at: e.string(),
1181
1205
  updated_at: e.string(),
1182
1206
  authenticated_at: e.string(),
1183
1207
  last_interaction_at: e.string(),
1184
- ...pe.shape
1185
- }), io = e.object({
1208
+ ...me.shape
1209
+ }), _t = e.object({
1186
1210
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1187
1211
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1188
1212
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1208,8 +1232,8 @@ const q = e.enum([
1208
1232
  description: "The type of the signing key"
1209
1233
  })
1210
1234
  });
1211
- var de = /* @__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))(de || {});
1212
- const ao = e.object({
1235
+ var he = /* @__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))(he || {});
1236
+ const ct = e.object({
1213
1237
  access_token: e.string(),
1214
1238
  id_token: e.string().optional(),
1215
1239
  scope: e.string().optional(),
@@ -1222,7 +1246,7 @@ e.object({
1222
1246
  code: e.string(),
1223
1247
  state: e.string().optional()
1224
1248
  });
1225
- const ge = e.object({
1249
+ const be = e.object({
1226
1250
  button_border_radius: e.number(),
1227
1251
  button_border_weight: e.number(),
1228
1252
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1232,7 +1256,7 @@ const ge = e.object({
1232
1256
  show_widget_shadow: e.boolean(),
1233
1257
  widget_border_weight: e.number(),
1234
1258
  widget_corner_radius: e.number()
1235
- }), ue = e.object({
1259
+ }), Ee = e.object({
1236
1260
  base_focus_color: e.string(),
1237
1261
  base_hover_color: e.string(),
1238
1262
  body_text: e.string(),
@@ -1252,44 +1276,44 @@ const ge = e.object({
1252
1276
  success: e.string(),
1253
1277
  widget_background: e.string(),
1254
1278
  widget_border: e.string()
1255
- }), t = e.object({
1279
+ }), o = e.object({
1256
1280
  bold: e.boolean(),
1257
1281
  size: e.number()
1258
- }), me = e.object({
1259
- body_text: t,
1260
- buttons_text: t,
1282
+ }), fe = e.object({
1283
+ body_text: o,
1284
+ buttons_text: o,
1261
1285
  font_url: e.string(),
1262
- input_labels: t,
1263
- links: t,
1286
+ input_labels: o,
1287
+ links: o,
1264
1288
  links_style: e.enum(["normal", "underlined"]),
1265
1289
  reference_text_size: e.number(),
1266
- subtitle: t,
1267
- title: t
1268
- }), he = e.object({
1290
+ subtitle: o,
1291
+ title: o
1292
+ }), Se = e.object({
1269
1293
  background_color: e.string(),
1270
1294
  background_image_url: e.string(),
1271
1295
  page_layout: e.enum(["center", "left", "right"])
1272
- }), be = e.object({
1296
+ }), Ae = e.object({
1273
1297
  header_text_alignment: e.enum(["center", "left", "right"]),
1274
1298
  logo_height: e.number(),
1275
1299
  logo_position: e.enum(["center", "left", "none", "right"]),
1276
1300
  logo_url: e.string(),
1277
1301
  social_buttons_layout: e.enum(["bottom", "top"])
1278
- }), Ee = e.object({
1279
- borders: ge,
1280
- colors: ue,
1302
+ }), Ie = e.object({
1303
+ borders: be,
1304
+ colors: Ee,
1281
1305
  displayName: e.string(),
1282
- fonts: me,
1283
- page_background: he,
1284
- widget: be
1285
- }), so = Ee.extend({
1306
+ fonts: fe,
1307
+ page_background: Se,
1308
+ widget: Ae
1309
+ }), pt = Ie.extend({
1286
1310
  themeId: e.string()
1287
- }), ro = e.object({
1311
+ }), dt = e.object({
1288
1312
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1289
1313
  identifier_first: e.boolean().default(!0),
1290
1314
  password_first: e.boolean().default(!1),
1291
1315
  webauthn_platform_first_factor: e.boolean()
1292
- }), lo = e.object({
1316
+ }), gt = e.object({
1293
1317
  name: e.string(),
1294
1318
  enabled: e.boolean().optional().default(!0),
1295
1319
  default_from_address: e.string().optional(),
@@ -1319,7 +1343,7 @@ const ge = e.object({
1319
1343
  })
1320
1344
  ]),
1321
1345
  settings: e.object({}).optional()
1322
- }), fe = e.object({
1346
+ }), Ce = e.object({
1323
1347
  // The actual refresh token value (primary key).
1324
1348
  id: e.string(),
1325
1349
  // Link to the session record
@@ -1340,21 +1364,21 @@ const ge = e.object({
1340
1364
  })
1341
1365
  ),
1342
1366
  rotating: e.boolean()
1343
- }), _o = e.object({
1367
+ }), ut = e.object({
1344
1368
  // When the refresh token record was created.
1345
1369
  created_at: e.string(),
1346
1370
  // Spread in the rest of the refresh token properties.
1347
- ...fe.shape
1348
- }), co = e.object({
1371
+ ...Ce.shape
1372
+ }), mt = e.object({
1349
1373
  to: e.string(),
1350
1374
  message: e.string()
1351
- }), po = e.object({
1375
+ }), ht = e.object({
1352
1376
  name: e.string(),
1353
1377
  options: e.object({})
1354
- }), Se = e.object({
1378
+ }), Oe = e.object({
1355
1379
  value: e.string(),
1356
1380
  description: e.string().optional()
1357
- }), Ae = e.object({
1381
+ }), Te = e.object({
1358
1382
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
1359
1383
  enforce_policies: e.boolean().optional(),
1360
1384
  allow_skipping_userinfo: e.boolean().optional(),
@@ -1364,10 +1388,10 @@ const ge = e.object({
1364
1388
  mtls: e.object({
1365
1389
  bound_access_tokens: e.boolean().optional()
1366
1390
  }).optional()
1367
- }), Ie = e.object({
1391
+ }), Ne = e.object({
1368
1392
  name: e.string(),
1369
1393
  identifier: e.string(),
1370
- scopes: e.array(Se).optional(),
1394
+ scopes: e.array(Oe).optional(),
1371
1395
  signing_alg: e.string().optional(),
1372
1396
  signing_secret: e.string().optional(),
1373
1397
  token_lifetime: e.number().optional(),
@@ -1375,39 +1399,39 @@ const ge = e.object({
1375
1399
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
1376
1400
  allow_offline_access: e.boolean().optional(),
1377
1401
  verificationKey: e.string().optional(),
1378
- options: Ae.optional()
1379
- }), Ce = e.object({
1402
+ options: Te.optional()
1403
+ }), ye = e.object({
1380
1404
  id: e.string().optional(),
1381
- ...Ie.shape,
1405
+ ...Ne.shape,
1382
1406
  created_at: e.string().optional(),
1383
1407
  updated_at: e.string().optional()
1384
- }), go = e.array(Ce), Oe = e.object({
1408
+ }), bt = e.array(ye), Re = e.object({
1385
1409
  role_id: e.string(),
1386
1410
  resource_server_identifier: e.string(),
1387
1411
  permission_name: e.string()
1388
- }), Te = e.object({
1389
- ...Oe.shape,
1412
+ }), Le = e.object({
1413
+ ...Re.shape,
1390
1414
  tenant_id: e.string(),
1391
1415
  created_at: e.string().optional()
1392
- }), uo = e.array(Te), Ne = e.object({
1416
+ }), Et = e.array(Le), De = e.object({
1393
1417
  role_id: e.string(),
1394
1418
  resource_server_identifier: e.string(),
1395
1419
  resource_server_name: e.string(),
1396
1420
  permission_name: e.string(),
1397
1421
  description: e.string().nullable().optional(),
1398
1422
  created_at: e.string().optional()
1399
- }), mo = e.array(
1400
- Ne
1401
- ), ye = e.object({
1423
+ }), ft = e.array(
1424
+ De
1425
+ ), je = e.object({
1402
1426
  user_id: e.string(),
1403
1427
  resource_server_identifier: e.string(),
1404
1428
  permission_name: e.string(),
1405
1429
  organization_id: e.string().optional()
1406
- }), Re = e.object({
1407
- ...ye.shape,
1430
+ }), we = e.object({
1431
+ ...je.shape,
1408
1432
  tenant_id: e.string(),
1409
1433
  created_at: e.string().optional()
1410
- }), ho = e.array(Re), Le = e.object({
1434
+ }), St = e.array(we), ke = e.object({
1411
1435
  user_id: e.string(),
1412
1436
  resource_server_identifier: e.string(),
1413
1437
  resource_server_name: e.string(),
@@ -1415,31 +1439,31 @@ const ge = e.object({
1415
1439
  description: e.string().nullable().optional(),
1416
1440
  created_at: e.string().optional(),
1417
1441
  organization_id: e.string().optional()
1418
- }), bo = e.array(
1419
- Le
1420
- ), De = e.object({
1442
+ }), At = e.array(
1443
+ ke
1444
+ ), Ue = e.object({
1421
1445
  user_id: e.string(),
1422
1446
  role_id: e.string(),
1423
1447
  organization_id: e.string().optional()
1424
- }), we = e.object({
1425
- ...De.shape,
1448
+ }), Fe = e.object({
1449
+ ...Ue.shape,
1426
1450
  tenant_id: e.string(),
1427
1451
  created_at: e.string().optional()
1428
- }), Eo = e.array(we), je = e.object({
1452
+ }), It = e.array(Fe), ve = e.object({
1429
1453
  name: e.string().min(1).max(50).openapi({
1430
1454
  description: "The name of the role. Cannot include '<' or '>'"
1431
1455
  }),
1432
1456
  description: e.string().max(255).optional().openapi({
1433
1457
  description: "The description of the role"
1434
1458
  })
1435
- }), ke = e.object({
1459
+ }), Pe = e.object({
1436
1460
  id: e.string().openapi({
1437
1461
  description: "The unique identifier of the role"
1438
1462
  }),
1439
- ...je.shape,
1463
+ ...ve.shape,
1440
1464
  created_at: e.string().optional(),
1441
1465
  updated_at: e.string().optional()
1442
- }), fo = e.array(ke), Ue = e.object({
1466
+ }), Ct = e.array(Pe), He = e.object({
1443
1467
  logo_url: e.string().optional().openapi({
1444
1468
  description: "URL of the organization's logo"
1445
1469
  }),
@@ -1451,7 +1475,7 @@ const ge = e.object({
1451
1475
  description: "Page background color in hex format (e.g., #FFFFFF)"
1452
1476
  })
1453
1477
  }).optional()
1454
- }).optional(), Fe = e.object({
1478
+ }).optional(), Me = e.object({
1455
1479
  connection_id: e.string().openapi({
1456
1480
  description: "ID of the connection"
1457
1481
  }),
@@ -1464,7 +1488,7 @@ const ge = e.object({
1464
1488
  is_signup_enabled: e.boolean().default(!0).openapi({
1465
1489
  description: "Whether signup is enabled for this connection"
1466
1490
  })
1467
- }), ve = e.object({
1491
+ }), xe = e.object({
1468
1492
  client_credentials: e.object({
1469
1493
  enforce: e.boolean().default(!1).openapi({
1470
1494
  description: "Whether to enforce token quota limits"
@@ -1476,7 +1500,7 @@ const ge = e.object({
1476
1500
  description: "Maximum tokens per hour (0 = unlimited)"
1477
1501
  })
1478
1502
  }).optional()
1479
- }).optional(), Pe = e.object({
1503
+ }).optional(), Ge = e.object({
1480
1504
  id: e.string().optional(),
1481
1505
  name: e.string().min(1).openapi({
1482
1506
  description: "The name of the organization"
@@ -1484,30 +1508,30 @@ const ge = e.object({
1484
1508
  display_name: e.string().optional().openapi({
1485
1509
  description: "The display name of the organization"
1486
1510
  }),
1487
- branding: Ue,
1511
+ branding: He,
1488
1512
  metadata: e.record(e.any()).default({}).optional().openapi({
1489
1513
  description: "Custom metadata for the organization"
1490
1514
  }),
1491
- enabled_connections: e.array(Fe).default([]).optional().openapi({
1515
+ enabled_connections: e.array(Me).default([]).optional().openapi({
1492
1516
  description: "List of enabled connections for the organization"
1493
1517
  }),
1494
- token_quota: ve
1495
- }), So = e.object({
1496
- ...Pe.shape,
1518
+ token_quota: xe
1519
+ }), Ot = e.object({
1520
+ ...Ge.shape,
1497
1521
  ...n.shape,
1498
1522
  id: e.string()
1499
- }), He = e.object({
1523
+ }), Ke = e.object({
1500
1524
  user_id: e.string().openapi({
1501
1525
  description: "ID of the user"
1502
1526
  }),
1503
1527
  organization_id: e.string().openapi({
1504
1528
  description: "ID of the organization"
1505
1529
  })
1506
- }), Ao = e.object({
1507
- ...He.shape,
1530
+ }), Tt = e.object({
1531
+ ...Ke.shape,
1508
1532
  ...n.shape,
1509
1533
  id: e.string()
1510
- }), Io = e.object({
1534
+ }), Nt = e.object({
1511
1535
  // Session settings
1512
1536
  idle_session_lifetime: e.number().optional(),
1513
1537
  session_lifetime: e.number().optional(),
@@ -1577,124 +1601,129 @@ const ge = e.object({
1577
1601
  oidc_logout_prompt_enabled: e.boolean().optional()
1578
1602
  }).optional()
1579
1603
  });
1580
- function Co(o) {
1581
- const [i, s] = o.split("|");
1604
+ function yt(t) {
1605
+ const [i, s] = t.split("|");
1582
1606
  if (!i || !s)
1583
- throw new Error(`Invalid user_id: ${o}`);
1607
+ throw new Error(`Invalid user_id: ${t}`);
1584
1608
  return { connection: i, id: s };
1585
1609
  }
1586
1610
  export {
1587
- _e as Auth0Client,
1611
+ de as Auth0Client,
1588
1612
  g as AuthorizationResponseMode,
1589
1613
  d as AuthorizationResponseType,
1590
1614
  u as CodeChallengeMethod,
1591
1615
  p as ComponentCategory,
1592
1616
  c as ComponentType,
1593
- de as GrantType,
1594
- re as LogTypes,
1617
+ he as GrantType,
1618
+ ce as LogTypes,
1595
1619
  U as NodeType,
1596
- ze as auth0FlowInsertSchema,
1620
+ qe as auth0FlowInsertSchema,
1597
1621
  G as auth0FlowSchema,
1598
- Ge as auth0UserResponseSchema,
1622
+ We as auth0UserResponseSchema,
1599
1623
  K as authParamsSchema,
1600
1624
  _ as baseUserSchema,
1601
- ge as bordersSchema,
1602
- We as brandingSchema,
1625
+ be as bordersSchema,
1626
+ Ye as brandingSchema,
1603
1627
  L as buttonComponentSchema,
1604
1628
  N as clientGrantInsertSchema,
1605
- Be as clientGrantListSchema,
1629
+ Ve as clientGrantListSchema,
1606
1630
  y as clientGrantSchema,
1607
1631
  O as clientInsertSchema,
1608
1632
  T as clientSchema,
1609
1633
  Y as codeInsertSchema,
1610
- Xe as codeSchema,
1634
+ Qe as codeSchema,
1611
1635
  q as codeTypeSchema,
1612
- ue as colorsSchema,
1636
+ Ee as colorsSchema,
1613
1637
  k as componentSchema,
1614
- z as connectionInsertSchema,
1615
- B as connectionOptionsSchema,
1638
+ B as connectionInsertSchema,
1639
+ z as connectionOptionsSchema,
1616
1640
  W as connectionSchema,
1617
1641
  a as coordinatesSchema,
1618
1642
  Q as customDomainInsertSchema,
1619
1643
  Z as customDomainSchema,
1620
- Ve as customDomainWithTenantIdSchema,
1621
- lo as emailProviderSchema,
1644
+ Je as customDomainWithTenantIdSchema,
1645
+ gt as emailProviderSchema,
1622
1646
  x as endingSchema,
1623
- w as fieldComponentSchema,
1647
+ j as fieldComponentSchema,
1624
1648
  v as flowNodeSchema,
1625
- t as fontDetailsSchema,
1626
- me as fontsSchema,
1627
- qe as formControlSchema,
1649
+ o as fontDetailsSchema,
1650
+ fe as fontsSchema,
1651
+ Ze as formControlSchema,
1628
1652
  ee as formInsertSchema,
1629
1653
  $ as formNodeComponentDefinition,
1630
- Ye as formSchema,
1631
- j as genericComponentSchema,
1654
+ $e as formSchema,
1655
+ w as genericComponentSchema,
1632
1656
  P as genericNodeSchema,
1633
- Qe as hookInsertSchema,
1634
- Je as hookSchema,
1657
+ et as hookInsertSchema,
1658
+ tt as hookSchema,
1635
1659
  f as identitySchema,
1636
- Ze as jwksKeySchema,
1637
- ae as jwksSchema,
1660
+ re as inviteInsertSchema,
1661
+ ot as inviteSchema,
1662
+ se as inviteeSchema,
1663
+ ae as inviterSchema,
1664
+ nt as jwksKeySchema,
1665
+ le as jwksSchema,
1638
1666
  D as legalComponentSchema,
1639
- oo as logSchema,
1640
- se as loginSessionInsertSchema,
1641
- eo as loginSessionSchema,
1667
+ ge as logInsertSchema,
1668
+ st as logSchema,
1669
+ _e as loginSessionInsertSchema,
1670
+ at as loginSessionSchema,
1642
1671
  H as nodeSchema,
1643
- $e as openIDConfigurationSchema,
1644
- Ue as organizationBrandingSchema,
1645
- Fe as organizationEnabledConnectionSchema,
1646
- Pe as organizationInsertSchema,
1647
- So as organizationSchema,
1648
- ve as organizationTokenQuotaSchema,
1649
- he as pageBackgroundSchema,
1650
- Co as parseUserId,
1651
- ce as passwordInsertSchema,
1652
- to as passwordSchema,
1672
+ it as openIDConfigurationSchema,
1673
+ He as organizationBrandingSchema,
1674
+ Me as organizationEnabledConnectionSchema,
1675
+ Ge as organizationInsertSchema,
1676
+ Ot as organizationSchema,
1677
+ xe as organizationTokenQuotaSchema,
1678
+ Se as pageBackgroundSchema,
1679
+ yt as parseUserId,
1680
+ ue as passwordInsertSchema,
1681
+ rt as passwordSchema,
1653
1682
  E as profileDataSchema,
1654
- ro as promptSettingSchema,
1655
- fe as refreshTokenInsertSchema,
1656
- _o as refreshTokenSchema,
1657
- Ie as resourceServerInsertSchema,
1658
- go as resourceServerListSchema,
1659
- Ae as resourceServerOptionsSchema,
1660
- Ce as resourceServerSchema,
1661
- Se as resourceServerScopeSchema,
1683
+ dt as promptSettingSchema,
1684
+ Ce as refreshTokenInsertSchema,
1685
+ ut as refreshTokenSchema,
1686
+ Ne as resourceServerInsertSchema,
1687
+ bt as resourceServerListSchema,
1688
+ Te as resourceServerOptionsSchema,
1689
+ ye as resourceServerSchema,
1690
+ Oe as resourceServerScopeSchema,
1662
1691
  R as richTextComponentSchema,
1663
- je as roleInsertSchema,
1664
- fo as roleListSchema,
1665
- Oe as rolePermissionInsertSchema,
1666
- uo as rolePermissionListSchema,
1667
- Te as rolePermissionSchema,
1668
- mo as rolePermissionWithDetailsListSchema,
1669
- Ne as rolePermissionWithDetailsSchema,
1670
- ke as roleSchema,
1671
- pe as sessionInsertSchema,
1672
- no as sessionSchema,
1673
- io as signingKeySchema,
1674
- po as smsProviderSchema,
1675
- co as smsSendParamsSchema,
1692
+ ve as roleInsertSchema,
1693
+ Ct as roleListSchema,
1694
+ Re as rolePermissionInsertSchema,
1695
+ Et as rolePermissionListSchema,
1696
+ Le as rolePermissionSchema,
1697
+ ft as rolePermissionWithDetailsListSchema,
1698
+ De as rolePermissionWithDetailsSchema,
1699
+ Pe as roleSchema,
1700
+ me as sessionInsertSchema,
1701
+ lt as sessionSchema,
1702
+ _t as signingKeySchema,
1703
+ ht as smsProviderSchema,
1704
+ mt as smsSendParamsSchema,
1676
1705
  M as startSchema,
1677
1706
  F as stepNodeSchema,
1678
1707
  X as tenantInsertSchema,
1679
1708
  V as tenantSchema,
1680
- Io as tenantSettingsSchema,
1681
- Ee as themeInsertSchema,
1682
- so as themeSchema,
1683
- ao as tokenResponseSchema,
1684
- xe as totalsSchema,
1709
+ Nt as tenantSettingsSchema,
1710
+ Ie as themeInsertSchema,
1711
+ pt as themeSchema,
1712
+ ct as tokenResponseSchema,
1713
+ Be as totalsSchema,
1685
1714
  S as userInsertSchema,
1686
- He as userOrganizationInsertSchema,
1687
- Ao as userOrganizationSchema,
1688
- ye as userPermissionInsertSchema,
1689
- ho as userPermissionListSchema,
1690
- Re as userPermissionSchema,
1691
- bo as userPermissionWithDetailsListSchema,
1692
- Le as userPermissionWithDetailsSchema,
1693
- Ke as userResponseSchema,
1694
- De as userRoleInsertSchema,
1695
- Eo as userRoleListSchema,
1696
- we as userRoleSchema,
1715
+ Ke as userOrganizationInsertSchema,
1716
+ Tt as userOrganizationSchema,
1717
+ je as userPermissionInsertSchema,
1718
+ St as userPermissionListSchema,
1719
+ we as userPermissionSchema,
1720
+ At as userPermissionWithDetailsListSchema,
1721
+ ke as userPermissionWithDetailsSchema,
1722
+ Xe as userResponseSchema,
1723
+ Ue as userRoleInsertSchema,
1724
+ It as userRoleListSchema,
1725
+ Fe as userRoleSchema,
1697
1726
  A as userSchema,
1698
1727
  J as verificationMethodsSchema,
1699
- be as widgetSchema
1728
+ Ae as widgetSchema
1700
1729
  };