@authhero/adapter-interfaces 0.94.0 → 0.95.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.
@@ -6,7 +6,7 @@ const xe = e.object({
6
6
  }), n = e.object({
7
7
  created_at: e.string(),
8
8
  updated_at: e.string()
9
- }), S = e.object({
9
+ }), E = e.object({
10
10
  email: e.string().optional(),
11
11
  email_verified: e.boolean().optional(),
12
12
  name: e.string().optional(),
@@ -23,9 +23,9 @@ const xe = e.object({
23
23
  access_token: e.string().optional(),
24
24
  access_token_secret: e.string().optional(),
25
25
  refresh_token: e.string().optional(),
26
- profileData: S.optional()
27
- }), c = e.object({
28
- email: e.string().optional().transform((t) => t && t.toLowerCase()),
26
+ profileData: E.optional()
27
+ }), _ = e.object({
28
+ email: e.string().optional().transform((o) => o && o.toLowerCase()),
29
29
  username: e.string().optional(),
30
30
  phone_number: e.string().optional(),
31
31
  given_name: e.string().optional(),
@@ -39,7 +39,7 @@ const xe = e.object({
39
39
  user_id: e.string().optional(),
40
40
  app_metadata: e.any().default({}).optional(),
41
41
  user_metadata: e.any().default({}).optional()
42
- }), b = c.extend({
42
+ }), S = _.extend({
43
43
  email_verified: e.boolean().default(!1),
44
44
  verify_email: e.boolean().optional(),
45
45
  last_ip: e.string().optional(),
@@ -49,24 +49,24 @@ const xe = e.object({
49
49
  connection: e.string().default("email"),
50
50
  is_social: e.boolean().optional()
51
51
  }), A = e.object({
52
- ...b.shape,
52
+ ...S.shape,
53
53
  ...n.shape,
54
54
  user_id: e.string(),
55
55
  is_social: e.boolean(),
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 = c.extend({
59
+ }), Ge = A, Ke = _.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 = (t = 21) => {
67
- let i = "", s = crypto.getRandomValues(new Uint8Array(t));
68
- for (; t--; )
69
- i += I[s[t] & 63];
66
+ let C = (o = 21) => {
67
+ let i = "", s = crypto.getRandomValues(new Uint8Array(o));
68
+ for (; o--; )
69
+ i += I[s[o] & 63];
70
70
  return i;
71
71
  };
72
72
  const O = e.object({
@@ -276,11 +276,11 @@ const O = e.object({
276
276
  x: e.number(),
277
277
  y: e.number()
278
278
  });
279
- var _ = /* @__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))(_ || {}), p = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(p || {});
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 || {});
280
280
  const r = e.object({
281
281
  id: e.string(),
282
282
  category: e.nativeEnum(p),
283
- type: e.nativeEnum(_)
283
+ type: e.nativeEnum(c)
284
284
  }), R = r.extend({
285
285
  category: e.literal(
286
286
  "BLOCK"
@@ -382,19 +382,19 @@ const r = e.object({
382
382
  label: e.string().optional(),
383
383
  placeholder: e.string().optional()
384
384
  }).passthrough()
385
- }), U = e.object({
385
+ }), j = e.object({
386
386
  id: e.string(),
387
387
  category: e.string(),
388
388
  type: e.string()
389
- }).passthrough(), j = e.union([
389
+ }).passthrough(), k = e.union([
390
390
  R,
391
391
  L,
392
392
  D,
393
393
  w,
394
- U
394
+ j
395
395
  ]);
396
- var F = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(F || {});
397
- const k = e.object({
396
+ var U = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(U || {});
397
+ const F = e.object({
398
398
  id: e.string(),
399
399
  type: e.literal(
400
400
  "STEP"
@@ -403,7 +403,7 @@ const k = e.object({
403
403
  coordinates: a,
404
404
  alias: e.string().optional(),
405
405
  config: e.object({
406
- components: e.array(j),
406
+ components: e.array(k),
407
407
  next_node: e.string()
408
408
  }).passthrough()
409
409
  }), v = e.object({
@@ -423,7 +423,7 @@ const k = e.object({
423
423
  type: e.string(),
424
424
  coordinates: a
425
425
  }).passthrough(), H = e.union([
426
- k,
426
+ F,
427
427
  v,
428
428
  P
429
429
  ]), M = e.object({
@@ -447,12 +447,12 @@ const k = e.object({
447
447
  sdkSrc: e.string().optional(),
448
448
  sdk_src: e.string().optional()
449
449
  }).passthrough()
450
- }).passthrough(), We = G.omit({
450
+ }).passthrough(), ze = G.omit({
451
451
  id: !0,
452
452
  created_at: !0,
453
453
  updated_at: !0
454
454
  });
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 || {});
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 || {});
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
- }), ze = e.object({
474
+ }), We = e.object({
475
475
  colors: e.object({
476
476
  primary: e.string(),
477
477
  page_background: e.object({
@@ -506,7 +506,7 @@ 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
- }), W = e.object({
509
+ }), z = e.object({
510
510
  id: e.string().optional(),
511
511
  name: e.string(),
512
512
  strategy: e.string(),
@@ -514,31 +514,140 @@ const K = e.object({
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
- }), z = e.object({
517
+ }), W = e.object({
518
518
  id: e.string(),
519
- created_at: e.string().transform((t) => t === null ? "" : t),
520
- updated_at: e.string().transform((t) => t === null ? "" : t)
521
- }).extend(W.shape), X = e.object({
522
- name: 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({
522
+ id: e.string().optional(),
523
+ // Basic settings
523
524
  audience: e.string(),
525
+ friendly_name: e.string(),
526
+ // Required - replaces the old 'name' field
527
+ picture_url: e.string().optional(),
528
+ support_email: e.string().optional(),
529
+ support_url: e.string().optional(),
524
530
  sender_email: e.string().email(),
525
531
  sender_name: e.string(),
526
- support_url: e.string().url().optional(),
527
- logo: e.string().url().optional(),
528
- primary_color: e.string().optional(),
529
- secondary_color: e.string().optional(),
530
- language: e.string().optional(),
531
- id: e.string().optional()
532
+ // Tenant Settings fields (merged from TenantSettings)
533
+ // Session settings
534
+ session_lifetime: e.number().optional(),
535
+ idle_session_lifetime: e.number().optional(),
536
+ ephemeral_session_lifetime: e.number().optional(),
537
+ idle_ephemeral_session_lifetime: e.number().optional(),
538
+ session_cookie: e.object({
539
+ mode: e.enum(["persistent", "non-persistent"]).optional()
540
+ }).optional(),
541
+ // Logout settings
542
+ allowed_logout_urls: e.array(e.string()).optional(),
543
+ // Universal Login settings
544
+ default_redirection_uri: e.string().optional(),
545
+ // Advanced settings
546
+ enabled_locales: e.array(e.string()).optional(),
547
+ default_directory: e.string().optional(),
548
+ error_page: e.object({
549
+ html: e.string().optional(),
550
+ show_log_link: e.boolean().optional(),
551
+ url: e.string().optional()
552
+ }).optional(),
553
+ // Flags
554
+ flags: e.object({
555
+ allow_changing_enable_sso: e.boolean().optional(),
556
+ allow_legacy_delegation_grant_types: e.boolean().optional(),
557
+ allow_legacy_ro_grant_types: e.boolean().optional(),
558
+ allow_legacy_tokeninfo_endpoint: e.boolean().optional(),
559
+ change_pwd_flow_v1: e.boolean().optional(),
560
+ custom_domains_provisioning: e.boolean().optional(),
561
+ dashboard_insights_view: e.boolean().optional(),
562
+ dashboard_log_streams_next: e.boolean().optional(),
563
+ disable_clickjack_protection_headers: e.boolean().optional(),
564
+ disable_fields_map_fix: e.boolean().optional(),
565
+ disable_impersonation: e.boolean().optional(),
566
+ disable_management_api_sms_obfuscation: e.boolean().optional(),
567
+ enable_adfs_waad_email_verification: e.boolean().optional(),
568
+ enable_apis_section: e.boolean().optional(),
569
+ enable_client_connections: e.boolean().optional(),
570
+ enable_custom_domain_in_emails: e.boolean().optional(),
571
+ enable_dynamic_client_registration: e.boolean().optional(),
572
+ enable_idtoken_api2: e.boolean().optional(),
573
+ enable_legacy_logs_search_v2: e.boolean().optional(),
574
+ enable_legacy_profile: e.boolean().optional(),
575
+ enable_pipeline2: e.boolean().optional(),
576
+ enable_public_signup_user_exists_error: e.boolean().optional(),
577
+ enable_sso: e.boolean().optional(),
578
+ enforce_client_authentication_on_passwordless_start: e.boolean().optional(),
579
+ genai_trial: e.boolean().optional(),
580
+ improved_signup_bot_detection_in_classic: e.boolean().optional(),
581
+ mfa_show_factor_list_on_enrollment: e.boolean().optional(),
582
+ no_disclose_enterprise_connections: e.boolean().optional(),
583
+ remove_alg_from_jwks: e.boolean().optional(),
584
+ revoke_refresh_token_grant: e.boolean().optional(),
585
+ trust_azure_adfs_email_verified_connection_property: e.boolean().optional(),
586
+ use_scope_descriptions_for_consent: e.boolean().optional()
587
+ }).optional(),
588
+ // Sandbox settings
589
+ sandbox_version: e.string().optional(),
590
+ legacy_sandbox_version: e.string().optional(),
591
+ sandbox_versions_available: e.array(e.string()).optional(),
592
+ // Change password settings
593
+ change_password: e.object({
594
+ enabled: e.boolean().optional(),
595
+ html: e.string().optional()
596
+ }).optional(),
597
+ // Guardian MFA settings
598
+ guardian_mfa_page: e.object({
599
+ enabled: e.boolean().optional(),
600
+ html: e.string().optional()
601
+ }).optional(),
602
+ // Device flow settings
603
+ device_flow: e.object({
604
+ charset: e.enum(["base20", "digits"]).optional(),
605
+ mask: e.string().max(20).optional()
606
+ }).optional(),
607
+ // Default token quota
608
+ default_token_quota: e.object({
609
+ clients: e.object({
610
+ client_credentials: e.record(e.any()).optional()
611
+ }).optional(),
612
+ organizations: e.object({
613
+ client_credentials: e.record(e.any()).optional()
614
+ }).optional()
615
+ }).optional(),
616
+ // Default audience
617
+ default_audience: e.string().optional(),
618
+ // Default organization
619
+ default_organization: e.string().optional(),
620
+ // Session management
621
+ sessions: e.object({
622
+ oidc_logout_prompt_enabled: e.boolean().optional()
623
+ }).optional(),
624
+ // OIDC logout settings
625
+ oidc_logout: e.object({
626
+ rp_logout_end_session_endpoint_discovery: e.boolean().optional()
627
+ }).optional(),
628
+ // Organization settings
629
+ allow_organization_name_in_authentication_api: e.boolean().optional(),
630
+ // MFA settings
631
+ customize_mfa_in_postlogin_action: e.boolean().optional(),
632
+ // ACR values
633
+ acr_values_supported: e.array(e.string()).optional(),
634
+ // mTLS settings
635
+ mtls: e.object({
636
+ enable_endpoint_aliases: e.boolean().optional()
637
+ }).optional(),
638
+ // Authorization settings
639
+ pushed_authorization_requests_supported: e.boolean().optional(),
640
+ authorization_response_iss_parameter_supported: e.boolean().optional()
532
641
  }), V = e.object({
533
- created_at: e.string().transform((t) => t === null ? "" : t),
534
- updated_at: e.string().transform((t) => t === null ? "" : t),
642
+ created_at: e.string().nullable().transform((o) => o ?? ""),
643
+ updated_at: e.string().nullable().transform((o) => o ?? ""),
535
644
  ...X.shape,
536
645
  id: e.string()
537
646
  });
538
647
  e.object({
539
648
  ...T.shape,
540
649
  tenant: V,
541
- connections: e.array(z)
650
+ connections: e.array(W)
542
651
  });
543
652
  const q = e.enum([
544
653
  "password_reset",
@@ -756,17 +865,17 @@ const q = e.enum([
756
865
  synchronous: e.boolean().default(!1),
757
866
  priority: e.number().optional(),
758
867
  hook_id: e.string().optional()
759
- }, te = e.object({
868
+ }, oe = e.object({
760
869
  ...l,
761
870
  trigger_id: m,
762
871
  url: e.string()
763
- }), oe = e.object({
872
+ }), te = e.object({
764
873
  ...l,
765
874
  trigger_id: h,
766
875
  form_id: e.string()
767
876
  }), Qe = e.union([
768
- te,
769
- oe
877
+ oe,
878
+ te
770
879
  ]), ne = e.object({
771
880
  ...l,
772
881
  trigger_id: m,
@@ -834,7 +943,7 @@ const q = e.enum([
834
943
  login_completed: e.boolean().optional().default(!1)
835
944
  }).openapi({
836
945
  description: "This represents a login sesion"
837
- }), et = e.object({
946
+ }), eo = e.object({
838
947
  ...se.shape,
839
948
  id: e.string().openapi({
840
949
  description: "This is is used as the state in the universal login"
@@ -1009,15 +1118,15 @@ const q = e.enum([
1009
1118
  WARNING_SENDING_NOTIFICATION: "wn",
1010
1119
  WARNING_USER_MANAGEMENT: "wum"
1011
1120
  }, le = e.string().refine(
1012
- (t) => Object.values(re).includes(t),
1121
+ (o) => Object.values(re).includes(o),
1013
1122
  { message: "Invalid log type" }
1014
- ), ce = e.object({
1123
+ ), _e = e.object({
1015
1124
  name: e.string(),
1016
1125
  version: e.string(),
1017
1126
  env: e.object({
1018
1127
  node: e.string().optional()
1019
1128
  }).optional()
1020
- }), tt = e.object({
1129
+ }), oo = e.object({
1021
1130
  type: le,
1022
1131
  date: e.string(),
1023
1132
  description: e.string().optional(),
@@ -1039,16 +1148,16 @@ const q = e.enum([
1039
1148
  strategy: e.string().optional(),
1040
1149
  strategy_type: e.string().optional(),
1041
1150
  hostname: e.string().optional(),
1042
- auth0_client: ce.optional()
1043
- }), _e = e.object({
1151
+ auth0_client: _e.optional()
1152
+ }), ce = e.object({
1044
1153
  user_id: e.string(),
1045
1154
  password: e.string(),
1046
1155
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id")
1047
- }), ot = e.object({
1048
- ..._e.shape,
1156
+ }), to = e.object({
1157
+ ...ce.shape,
1049
1158
  created_at: e.string(),
1050
1159
  updated_at: e.string()
1051
- }), E = e.object({
1160
+ }), b = e.object({
1052
1161
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1053
1162
  initial_ip: e.string().describe("First IP address associated with this session"),
1054
1163
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
@@ -1063,17 +1172,17 @@ const q = e.enum([
1063
1172
  expires_at: e.string().optional(),
1064
1173
  login_session_id: e.string(),
1065
1174
  idle_expires_at: e.string().optional(),
1066
- device: E.describe(
1175
+ device: b.describe(
1067
1176
  "Metadata related to the device used in the session"
1068
1177
  ),
1069
1178
  clients: e.array(e.string()).describe("List of client details for the session")
1070
- }), nt = e.object({
1179
+ }), no = e.object({
1071
1180
  created_at: e.string(),
1072
1181
  updated_at: e.string(),
1073
1182
  authenticated_at: e.string(),
1074
1183
  last_interaction_at: e.string(),
1075
1184
  ...pe.shape
1076
- }), it = e.object({
1185
+ }), io = e.object({
1077
1186
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1078
1187
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1079
1188
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1099,8 +1208,8 @@ const q = e.enum([
1099
1208
  description: "The type of the signing key"
1100
1209
  })
1101
1210
  });
1102
- var de = /* @__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))(de || {});
1103
- const at = e.object({
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({
1104
1213
  access_token: e.string(),
1105
1214
  id_token: e.string().optional(),
1106
1215
  scope: e.string().optional(),
@@ -1143,44 +1252,44 @@ const ge = e.object({
1143
1252
  success: e.string(),
1144
1253
  widget_background: e.string(),
1145
1254
  widget_border: e.string()
1146
- }), o = e.object({
1255
+ }), t = e.object({
1147
1256
  bold: e.boolean(),
1148
1257
  size: e.number()
1149
1258
  }), me = e.object({
1150
- body_text: o,
1151
- buttons_text: o,
1259
+ body_text: t,
1260
+ buttons_text: t,
1152
1261
  font_url: e.string(),
1153
- input_labels: o,
1154
- links: o,
1262
+ input_labels: t,
1263
+ links: t,
1155
1264
  links_style: e.enum(["normal", "underlined"]),
1156
1265
  reference_text_size: e.number(),
1157
- subtitle: o,
1158
- title: o
1266
+ subtitle: t,
1267
+ title: t
1159
1268
  }), he = e.object({
1160
1269
  background_color: e.string(),
1161
1270
  background_image_url: e.string(),
1162
1271
  page_layout: e.enum(["center", "left", "right"])
1163
- }), Ee = e.object({
1272
+ }), be = e.object({
1164
1273
  header_text_alignment: e.enum(["center", "left", "right"]),
1165
1274
  logo_height: e.number(),
1166
1275
  logo_position: e.enum(["center", "left", "none", "right"]),
1167
1276
  logo_url: e.string(),
1168
1277
  social_buttons_layout: e.enum(["bottom", "top"])
1169
- }), Se = e.object({
1278
+ }), Ee = e.object({
1170
1279
  borders: ge,
1171
1280
  colors: ue,
1172
1281
  displayName: e.string(),
1173
1282
  fonts: me,
1174
1283
  page_background: he,
1175
- widget: Ee
1176
- }), st = Se.extend({
1284
+ widget: be
1285
+ }), so = Ee.extend({
1177
1286
  themeId: e.string()
1178
- }), rt = e.object({
1287
+ }), ro = e.object({
1179
1288
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1180
1289
  identifier_first: e.boolean().default(!0),
1181
1290
  password_first: e.boolean().default(!1),
1182
1291
  webauthn_platform_first_factor: e.boolean()
1183
- }), lt = e.object({
1292
+ }), lo = e.object({
1184
1293
  name: e.string(),
1185
1294
  enabled: e.boolean().optional().default(!0),
1186
1295
  default_from_address: e.string().optional(),
@@ -1223,7 +1332,7 @@ const ge = e.object({
1223
1332
  idle_expires_at: e.string().optional(),
1224
1333
  // When the token was last used.
1225
1334
  last_exchanged_at: e.string().optional(),
1226
- device: E,
1335
+ device: b,
1227
1336
  resource_servers: e.array(
1228
1337
  e.object({
1229
1338
  audience: e.string(),
@@ -1231,18 +1340,18 @@ const ge = e.object({
1231
1340
  })
1232
1341
  ),
1233
1342
  rotating: e.boolean()
1234
- }), ct = e.object({
1343
+ }), _o = e.object({
1235
1344
  // When the refresh token record was created.
1236
1345
  created_at: e.string(),
1237
1346
  // Spread in the rest of the refresh token properties.
1238
1347
  ...fe.shape
1239
- }), _t = e.object({
1348
+ }), co = e.object({
1240
1349
  to: e.string(),
1241
1350
  message: e.string()
1242
- }), pt = e.object({
1351
+ }), po = e.object({
1243
1352
  name: e.string(),
1244
1353
  options: e.object({})
1245
- }), be = e.object({
1354
+ }), Se = e.object({
1246
1355
  value: e.string(),
1247
1356
  description: e.string().optional()
1248
1357
  }), Ae = e.object({
@@ -1258,7 +1367,7 @@ const ge = e.object({
1258
1367
  }), Ie = e.object({
1259
1368
  name: e.string(),
1260
1369
  identifier: e.string(),
1261
- scopes: e.array(be).optional(),
1370
+ scopes: e.array(Se).optional(),
1262
1371
  signing_alg: e.string().optional(),
1263
1372
  signing_secret: e.string().optional(),
1264
1373
  token_lifetime: e.number().optional(),
@@ -1272,7 +1381,7 @@ const ge = e.object({
1272
1381
  ...Ie.shape,
1273
1382
  created_at: e.string().optional(),
1274
1383
  updated_at: e.string().optional()
1275
- }), dt = e.array(Ce), Oe = e.object({
1384
+ }), go = e.array(Ce), Oe = e.object({
1276
1385
  role_id: e.string(),
1277
1386
  resource_server_identifier: e.string(),
1278
1387
  permission_name: e.string()
@@ -1280,14 +1389,14 @@ const ge = e.object({
1280
1389
  ...Oe.shape,
1281
1390
  tenant_id: e.string(),
1282
1391
  created_at: e.string().optional()
1283
- }), gt = e.array(Te), Ne = e.object({
1392
+ }), uo = e.array(Te), Ne = e.object({
1284
1393
  role_id: e.string(),
1285
1394
  resource_server_identifier: e.string(),
1286
1395
  resource_server_name: e.string(),
1287
1396
  permission_name: e.string(),
1288
1397
  description: e.string().nullable().optional(),
1289
1398
  created_at: e.string().optional()
1290
- }), ut = e.array(
1399
+ }), mo = e.array(
1291
1400
  Ne
1292
1401
  ), ye = e.object({
1293
1402
  user_id: e.string(),
@@ -1298,7 +1407,7 @@ const ge = e.object({
1298
1407
  ...ye.shape,
1299
1408
  tenant_id: e.string(),
1300
1409
  created_at: e.string().optional()
1301
- }), mt = e.array(Re), Le = e.object({
1410
+ }), ho = e.array(Re), Le = e.object({
1302
1411
  user_id: e.string(),
1303
1412
  resource_server_identifier: e.string(),
1304
1413
  resource_server_name: e.string(),
@@ -1306,7 +1415,7 @@ const ge = e.object({
1306
1415
  description: e.string().nullable().optional(),
1307
1416
  created_at: e.string().optional(),
1308
1417
  organization_id: e.string().optional()
1309
- }), ht = e.array(
1418
+ }), bo = e.array(
1310
1419
  Le
1311
1420
  ), De = e.object({
1312
1421
  user_id: e.string(),
@@ -1316,21 +1425,21 @@ const ge = e.object({
1316
1425
  ...De.shape,
1317
1426
  tenant_id: e.string(),
1318
1427
  created_at: e.string().optional()
1319
- }), Et = e.array(we), Ue = e.object({
1428
+ }), Eo = e.array(we), je = e.object({
1320
1429
  name: e.string().min(1).max(50).openapi({
1321
1430
  description: "The name of the role. Cannot include '<' or '>'"
1322
1431
  }),
1323
1432
  description: e.string().max(255).optional().openapi({
1324
1433
  description: "The description of the role"
1325
1434
  })
1326
- }), je = e.object({
1435
+ }), ke = e.object({
1327
1436
  id: e.string().openapi({
1328
1437
  description: "The unique identifier of the role"
1329
1438
  }),
1330
- ...Ue.shape,
1439
+ ...je.shape,
1331
1440
  created_at: e.string().optional(),
1332
1441
  updated_at: e.string().optional()
1333
- }), St = e.array(je), Fe = e.object({
1442
+ }), fo = e.array(ke), Ue = e.object({
1334
1443
  logo_url: e.string().optional().openapi({
1335
1444
  description: "URL of the organization's logo"
1336
1445
  }),
@@ -1342,7 +1451,7 @@ const ge = e.object({
1342
1451
  description: "Page background color in hex format (e.g., #FFFFFF)"
1343
1452
  })
1344
1453
  }).optional()
1345
- }).optional(), ke = e.object({
1454
+ }).optional(), Fe = e.object({
1346
1455
  connection_id: e.string().openapi({
1347
1456
  description: "ID of the connection"
1348
1457
  }),
@@ -1375,15 +1484,15 @@ const ge = e.object({
1375
1484
  display_name: e.string().optional().openapi({
1376
1485
  description: "The display name of the organization"
1377
1486
  }),
1378
- branding: Fe,
1487
+ branding: Ue,
1379
1488
  metadata: e.record(e.any()).default({}).optional().openapi({
1380
1489
  description: "Custom metadata for the organization"
1381
1490
  }),
1382
- enabled_connections: e.array(ke).default([]).optional().openapi({
1491
+ enabled_connections: e.array(Fe).default([]).optional().openapi({
1383
1492
  description: "List of enabled connections for the organization"
1384
1493
  }),
1385
1494
  token_quota: ve
1386
- }), ft = e.object({
1495
+ }), So = e.object({
1387
1496
  ...Pe.shape,
1388
1497
  ...n.shape,
1389
1498
  id: e.string()
@@ -1394,11 +1503,11 @@ const ge = e.object({
1394
1503
  organization_id: e.string().openapi({
1395
1504
  description: "ID of the organization"
1396
1505
  })
1397
- }), bt = e.object({
1506
+ }), Ao = e.object({
1398
1507
  ...He.shape,
1399
1508
  ...n.shape,
1400
1509
  id: e.string()
1401
- }), At = e.object({
1510
+ }), Io = e.object({
1402
1511
  // Session settings
1403
1512
  idle_session_lifetime: e.number().optional(),
1404
1513
  session_lifetime: e.number().optional(),
@@ -1468,29 +1577,29 @@ const ge = e.object({
1468
1577
  oidc_logout_prompt_enabled: e.boolean().optional()
1469
1578
  }).optional()
1470
1579
  });
1471
- function It(t) {
1472
- const [i, s] = t.split("|");
1580
+ function Co(o) {
1581
+ const [i, s] = o.split("|");
1473
1582
  if (!i || !s)
1474
- throw new Error(`Invalid user_id: ${t}`);
1583
+ throw new Error(`Invalid user_id: ${o}`);
1475
1584
  return { connection: i, id: s };
1476
1585
  }
1477
1586
  export {
1478
- ce as Auth0Client,
1587
+ _e as Auth0Client,
1479
1588
  g as AuthorizationResponseMode,
1480
1589
  d as AuthorizationResponseType,
1481
1590
  u as CodeChallengeMethod,
1482
1591
  p as ComponentCategory,
1483
- _ as ComponentType,
1592
+ c as ComponentType,
1484
1593
  de as GrantType,
1485
1594
  re as LogTypes,
1486
- F as NodeType,
1487
- We as auth0FlowInsertSchema,
1595
+ U as NodeType,
1596
+ ze as auth0FlowInsertSchema,
1488
1597
  G as auth0FlowSchema,
1489
1598
  Ge as auth0UserResponseSchema,
1490
1599
  K as authParamsSchema,
1491
- c as baseUserSchema,
1600
+ _ as baseUserSchema,
1492
1601
  ge as bordersSchema,
1493
- ze as brandingSchema,
1602
+ We as brandingSchema,
1494
1603
  L as buttonComponentSchema,
1495
1604
  N as clientGrantInsertSchema,
1496
1605
  Be as clientGrantListSchema,
@@ -1501,25 +1610,25 @@ export {
1501
1610
  Xe as codeSchema,
1502
1611
  q as codeTypeSchema,
1503
1612
  ue as colorsSchema,
1504
- j as componentSchema,
1505
- W as connectionInsertSchema,
1613
+ k as componentSchema,
1614
+ z as connectionInsertSchema,
1506
1615
  B as connectionOptionsSchema,
1507
- z as connectionSchema,
1616
+ W as connectionSchema,
1508
1617
  a as coordinatesSchema,
1509
1618
  Q as customDomainInsertSchema,
1510
1619
  Z as customDomainSchema,
1511
1620
  Ve as customDomainWithTenantIdSchema,
1512
- lt as emailProviderSchema,
1621
+ lo as emailProviderSchema,
1513
1622
  x as endingSchema,
1514
1623
  w as fieldComponentSchema,
1515
1624
  v as flowNodeSchema,
1516
- o as fontDetailsSchema,
1625
+ t as fontDetailsSchema,
1517
1626
  me as fontsSchema,
1518
1627
  qe as formControlSchema,
1519
1628
  ee as formInsertSchema,
1520
1629
  $ as formNodeComponentDefinition,
1521
1630
  Ye as formSchema,
1522
- U as genericComponentSchema,
1631
+ j as genericComponentSchema,
1523
1632
  P as genericNodeSchema,
1524
1633
  Qe as hookInsertSchema,
1525
1634
  Je as hookSchema,
@@ -1527,65 +1636,65 @@ export {
1527
1636
  Ze as jwksKeySchema,
1528
1637
  ae as jwksSchema,
1529
1638
  D as legalComponentSchema,
1530
- tt as logSchema,
1639
+ oo as logSchema,
1531
1640
  se as loginSessionInsertSchema,
1532
- et as loginSessionSchema,
1641
+ eo as loginSessionSchema,
1533
1642
  H as nodeSchema,
1534
1643
  $e as openIDConfigurationSchema,
1535
- Fe as organizationBrandingSchema,
1536
- ke as organizationEnabledConnectionSchema,
1644
+ Ue as organizationBrandingSchema,
1645
+ Fe as organizationEnabledConnectionSchema,
1537
1646
  Pe as organizationInsertSchema,
1538
- ft as organizationSchema,
1647
+ So as organizationSchema,
1539
1648
  ve as organizationTokenQuotaSchema,
1540
1649
  he as pageBackgroundSchema,
1541
- It as parseUserId,
1542
- _e as passwordInsertSchema,
1543
- ot as passwordSchema,
1544
- S as profileDataSchema,
1545
- rt as promptSettingSchema,
1650
+ Co as parseUserId,
1651
+ ce as passwordInsertSchema,
1652
+ to as passwordSchema,
1653
+ E as profileDataSchema,
1654
+ ro as promptSettingSchema,
1546
1655
  fe as refreshTokenInsertSchema,
1547
- ct as refreshTokenSchema,
1656
+ _o as refreshTokenSchema,
1548
1657
  Ie as resourceServerInsertSchema,
1549
- dt as resourceServerListSchema,
1658
+ go as resourceServerListSchema,
1550
1659
  Ae as resourceServerOptionsSchema,
1551
1660
  Ce as resourceServerSchema,
1552
- be as resourceServerScopeSchema,
1661
+ Se as resourceServerScopeSchema,
1553
1662
  R as richTextComponentSchema,
1554
- Ue as roleInsertSchema,
1555
- St as roleListSchema,
1663
+ je as roleInsertSchema,
1664
+ fo as roleListSchema,
1556
1665
  Oe as rolePermissionInsertSchema,
1557
- gt as rolePermissionListSchema,
1666
+ uo as rolePermissionListSchema,
1558
1667
  Te as rolePermissionSchema,
1559
- ut as rolePermissionWithDetailsListSchema,
1668
+ mo as rolePermissionWithDetailsListSchema,
1560
1669
  Ne as rolePermissionWithDetailsSchema,
1561
- je as roleSchema,
1670
+ ke as roleSchema,
1562
1671
  pe as sessionInsertSchema,
1563
- nt as sessionSchema,
1564
- it as signingKeySchema,
1565
- pt as smsProviderSchema,
1566
- _t as smsSendParamsSchema,
1672
+ no as sessionSchema,
1673
+ io as signingKeySchema,
1674
+ po as smsProviderSchema,
1675
+ co as smsSendParamsSchema,
1567
1676
  M as startSchema,
1568
- k as stepNodeSchema,
1677
+ F as stepNodeSchema,
1569
1678
  X as tenantInsertSchema,
1570
1679
  V as tenantSchema,
1571
- At as tenantSettingsSchema,
1572
- Se as themeInsertSchema,
1573
- st as themeSchema,
1574
- at as tokenResponseSchema,
1680
+ Io as tenantSettingsSchema,
1681
+ Ee as themeInsertSchema,
1682
+ so as themeSchema,
1683
+ ao as tokenResponseSchema,
1575
1684
  xe as totalsSchema,
1576
- b as userInsertSchema,
1685
+ S as userInsertSchema,
1577
1686
  He as userOrganizationInsertSchema,
1578
- bt as userOrganizationSchema,
1687
+ Ao as userOrganizationSchema,
1579
1688
  ye as userPermissionInsertSchema,
1580
- mt as userPermissionListSchema,
1689
+ ho as userPermissionListSchema,
1581
1690
  Re as userPermissionSchema,
1582
- ht as userPermissionWithDetailsListSchema,
1691
+ bo as userPermissionWithDetailsListSchema,
1583
1692
  Le as userPermissionWithDetailsSchema,
1584
1693
  Ke as userResponseSchema,
1585
1694
  De as userRoleInsertSchema,
1586
- Et as userRoleListSchema,
1695
+ Eo as userRoleListSchema,
1587
1696
  we as userRoleSchema,
1588
1697
  A as userSchema,
1589
1698
  J as verificationMethodsSchema,
1590
- Ee as widgetSchema
1699
+ be as widgetSchema
1591
1700
  };