@authhero/adapter-interfaces 0.131.0 → 0.133.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 r = e.object({
3
3
  created_at: e.string(),
4
4
  updated_at: e.string()
5
- }), eo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), to = e.enum([
5
+ }), ot = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), tt = e.enum([
6
6
  "CREATE_USER",
7
7
  "GET_USER",
8
8
  "UPDATE_USER",
9
9
  "SEND_REQUEST",
10
10
  "SEND_EMAIL"
11
- ]), oo = e.enum(["VERIFY_EMAIL"]), P = e.object({
11
+ ]), nt = e.enum(["VERIFY_EMAIL"]), P = e.object({
12
12
  require_mx_record: e.boolean().optional(),
13
13
  block_aliases: e.boolean().optional(),
14
14
  block_free_emails: e.boolean().optional(),
@@ -65,20 +65,20 @@ const r = e.object({
65
65
  actions: e.array(K).optional().default([]).openapi({
66
66
  description: "The list of actions to execute in sequence"
67
67
  })
68
- }), no = W.extend({
68
+ }), it = W.extend({
69
69
  ...r.shape,
70
70
  id: e.string().openapi({
71
71
  description: "Unique identifier for the flow",
72
72
  example: "af_12tMpdJ3iek7svMyZkSh5M"
73
73
  })
74
- }), io = e.object({
75
- page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
74
+ }), at = e.object({
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
  }),
78
- per_page: e.string().min(1).optional().default("10").transform((t) => parseInt(t, 10)).openapi({
78
+ per_page: e.string().min(1).optional().default("10").transform((o) => parseInt(o, 10)).openapi({
79
79
  description: "The number of items per page"
80
80
  }),
81
- include_totals: e.string().optional().default("false").transform((t) => t === "true").openapi({
81
+ include_totals: e.string().optional().default("false").transform((o) => o === "true").openapi({
82
82
  description: "If the total number of items should be included in the response"
83
83
  }),
84
84
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({
@@ -87,7 +87,7 @@ const r = e.object({
87
87
  q: e.string().optional().openapi({
88
88
  description: "A lucene query string used to filter the results"
89
89
  })
90
- }), ao = e.object({
90
+ }), rt = e.object({
91
91
  start: e.number(),
92
92
  limit: e.number(),
93
93
  length: e.number(),
@@ -124,7 +124,7 @@ const r = e.object({
124
124
  country: e.string().optional()
125
125
  // Country name
126
126
  }).optional(), I = e.object({
127
- email: e.string().optional().transform((t) => t && t.toLowerCase()),
127
+ email: e.string().optional().transform((o) => o && o.toLowerCase()),
128
128
  username: e.string().optional(),
129
129
  phone_number: e.string().optional(),
130
130
  phone_verified: e.boolean().optional(),
@@ -178,17 +178,17 @@ const r = e.object({
178
178
  email: e.string().optional(),
179
179
  login_count: e.number().default(0),
180
180
  identities: e.array(X).optional()
181
- }), ro = Y, so = I.extend({
181
+ }), st = Y, lt = I.extend({
182
182
  login_count: e.number(),
183
183
  multifactor: e.array(e.string()).optional(),
184
184
  last_ip: e.string().optional(),
185
185
  last_login: e.string().optional(),
186
186
  user_id: e.string()
187
187
  }).catchall(e.any()), Q = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
188
- let J = (t = 21) => {
189
- let a = "", s = crypto.getRandomValues(new Uint8Array(t |= 0));
190
- for (; t--; )
191
- a += Q[s[t] & 63];
188
+ let J = (o = 21) => {
189
+ let a = "", s = crypto.getRandomValues(new Uint8Array(o |= 0));
190
+ for (; o--; )
191
+ a += Q[s[o] & 63];
192
192
  return a;
193
193
  };
194
194
  const Z = e.object({
@@ -364,7 +364,7 @@ const Z = e.object({
364
364
  description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
365
365
  }),
366
366
  token_quota: e.record(e.any()).default({}).optional()
367
- }), lo = e.object({
367
+ }), ct = e.object({
368
368
  created_at: e.string(),
369
369
  updated_at: e.string(),
370
370
  ...Z.shape
@@ -400,16 +400,16 @@ const Z = e.object({
400
400
  ...$.shape,
401
401
  created_at: e.string().optional(),
402
402
  updated_at: e.string().optional()
403
- }), co = e.array(ee), c = e.object({
403
+ }), pt = e.array(ee), c = e.object({
404
404
  x: e.number(),
405
405
  y: e.number()
406
406
  });
407
- 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 || {}), y = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(y || {});
407
+ 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 || {}), y = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(y || {});
408
408
  const u = e.object({
409
409
  id: e.string(),
410
410
  category: e.nativeEnum(y),
411
411
  type: e.nativeEnum(C)
412
- }), te = u.extend({
412
+ }), oe = u.extend({
413
413
  category: e.literal(
414
414
  "BLOCK"
415
415
  /* BLOCK */
@@ -421,7 +421,7 @@ const u = e.object({
421
421
  config: e.object({
422
422
  content: e.string()
423
423
  }).passthrough()
424
- }), oe = u.extend({
424
+ }), te = u.extend({
425
425
  category: e.literal(
426
426
  "BLOCK"
427
427
  /* BLOCK */
@@ -515,13 +515,13 @@ const u = e.object({
515
515
  category: e.string(),
516
516
  type: e.string()
517
517
  }).passthrough(), re = e.union([
518
- te,
519
518
  oe,
519
+ te,
520
520
  ne,
521
521
  ie,
522
522
  ae
523
523
  ]);
524
- var se = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(se || {});
524
+ var se = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(se || {});
525
525
  const le = e.object({
526
526
  id: e.string(),
527
527
  type: e.literal(
@@ -598,12 +598,12 @@ const le = e.object({
598
598
  sdkSrc: e.string().optional(),
599
599
  sdk_src: e.string().optional()
600
600
  }).passthrough()
601
- }).passthrough(), po = me.omit({
601
+ }).passthrough(), _t = me.omit({
602
602
  id: !0,
603
603
  created_at: !0,
604
604
  updated_at: !0
605
605
  });
606
- var T = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(T || {}), O = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(O || {}), N = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(N || {});
606
+ var T = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "token id_token", o.CODE = "code", o))(T || {}), O = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(O || {}), N = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(N || {});
607
607
  const he = e.object({
608
608
  client_id: e.string(),
609
609
  act_as: e.string().optional(),
@@ -628,7 +628,7 @@ const he = e.object({
628
628
  acr_values: e.string().optional(),
629
629
  // The following fields are not available in Auth0
630
630
  vendor_id: e.string().optional()
631
- }), _o = e.object({
631
+ }), dt = e.object({
632
632
  colors: e.object({
633
633
  primary: e.string(),
634
634
  page_background: e.object({
@@ -683,7 +683,7 @@ const he = e.object({
683
683
  expires_at: e.string(),
684
684
  used_at: e.string().optional(),
685
685
  user_id: e.string().optional()
686
- }), go = e.object({
686
+ }), gt = e.object({
687
687
  ...fe.shape,
688
688
  created_at: e.string()
689
689
  }), Ee = e.object({
@@ -705,7 +705,23 @@ const he = e.object({
705
705
  from: e.string().optional(),
706
706
  twilio_sid: e.string().optional(),
707
707
  twilio_token: e.string().optional(),
708
- icon_url: e.string().optional()
708
+ icon_url: e.string().optional(),
709
+ // Password policy options for Username-Password-Authentication connections
710
+ passwordPolicy: e.enum(["none", "low", "fair", "good", "excellent"]).optional(),
711
+ password_complexity_options: e.object({
712
+ min_length: e.number().optional()
713
+ }).optional(),
714
+ password_history: e.object({
715
+ enable: e.boolean().optional(),
716
+ size: e.number().optional()
717
+ }).optional(),
718
+ password_no_personal_info: e.object({
719
+ enable: e.boolean().optional()
720
+ }).optional(),
721
+ password_dictionary: e.object({
722
+ enable: e.boolean().optional(),
723
+ dictionary: e.array(e.string()).optional()
724
+ }).optional()
709
725
  }), Se = e.object({
710
726
  id: e.string().optional(),
711
727
  name: e.string(),
@@ -719,10 +735,10 @@ const he = e.object({
719
735
  show_as_button: e.boolean().optional(),
720
736
  metadata: e.record(e.any()).optional(),
721
737
  is_system: e.boolean().optional()
722
- }), uo = e.object({
738
+ }), ut = e.object({
723
739
  id: e.string(),
724
- created_at: e.string().transform((t) => t === null ? "" : t),
725
- updated_at: e.string().transform((t) => t === null ? "" : t)
740
+ created_at: e.string().transform((o) => o === null ? "" : o),
741
+ updated_at: e.string().transform((o) => o === null ? "" : o)
726
742
  }).extend(Se.shape), Ae = e.object({
727
743
  domain: e.string(),
728
744
  custom_domain_id: e.string().optional(),
@@ -751,7 +767,7 @@ const he = e.object({
751
767
  methods: e.array(Ie)
752
768
  }).optional(),
753
769
  tls_policy: e.string().optional()
754
- }), mo = Ce.extend({
770
+ }), mt = Ce.extend({
755
771
  tenant_id: e.string()
756
772
  }), f = e.object({
757
773
  id: e.string(),
@@ -792,12 +808,12 @@ const he = e.object({
792
808
  config: e.object({
793
809
  text: e.string().optional()
794
810
  })
795
- }), Le = i.extend({
811
+ }), we = i.extend({
796
812
  type: e.literal("PREVIOUS_BUTTON"),
797
813
  config: e.object({
798
814
  text: e.string().optional()
799
815
  })
800
- }), we = i.extend({
816
+ }), Le = i.extend({
801
817
  type: e.literal("RICH_TEXT"),
802
818
  config: e.object({
803
819
  content: e.string().optional()
@@ -813,28 +829,28 @@ const he = e.object({
813
829
  config: e.object({
814
830
  credential_type: e.string().optional()
815
831
  })
816
- }), Ue = E.extend({
832
+ }), ke = E.extend({
817
833
  type: e.literal("GMAPS_ADDRESS"),
818
834
  config: e.object({
819
835
  api_key: e.string().optional()
820
836
  })
821
- }), Fe = E.extend({
837
+ }), Ue = E.extend({
822
838
  type: e.literal("RECAPTCHA"),
823
839
  config: e.object({
824
840
  site_key: e.string().optional()
825
841
  })
826
- }), o = f.extend({
842
+ }), t = f.extend({
827
843
  category: e.literal("FIELD").optional(),
828
844
  label: e.string().min(1).optional(),
829
845
  hint: e.string().min(1).max(500).optional(),
830
846
  required: e.boolean().optional(),
831
847
  sensitive: e.boolean().optional()
832
- }), ke = o.extend({
848
+ }), Fe = t.extend({
833
849
  type: e.literal("BOOLEAN"),
834
850
  config: e.object({
835
851
  default_value: e.boolean().optional()
836
852
  }).optional()
837
- }), ve = o.extend({
853
+ }), ve = t.extend({
838
854
  type: e.literal("CARDS"),
839
855
  config: e.object({
840
856
  options: e.array(
@@ -847,7 +863,7 @@ const he = e.object({
847
863
  ).optional(),
848
864
  multi_select: e.boolean().optional()
849
865
  }).optional()
850
- }), xe = o.extend({
866
+ }), xe = t.extend({
851
867
  type: e.literal("CHOICE"),
852
868
  config: e.object({
853
869
  options: e.array(
@@ -856,22 +872,26 @@ const he = e.object({
856
872
  label: e.string()
857
873
  })
858
874
  ).optional(),
859
- display: e.enum(["radio", "checkbox"]).optional()
875
+ display: e.enum(["radio", "checkbox"]).optional(),
876
+ multiple: e.boolean().optional(),
877
+ default_value: e.union([e.string(), e.array(e.string())]).optional()
860
878
  }).optional()
861
- }), Pe = o.extend({
879
+ }), Pe = t.extend({
862
880
  type: e.literal("CUSTOM"),
863
881
  config: e.object({
864
882
  component: e.string().optional(),
865
- props: e.record(e.any()).optional()
883
+ props: e.record(e.any()).optional(),
884
+ schema: e.record(e.any()).optional(),
885
+ code: e.string().optional()
866
886
  })
867
- }), Me = o.extend({
887
+ }), Me = t.extend({
868
888
  type: e.literal("DATE"),
869
889
  config: e.object({
870
890
  format: e.string().optional(),
871
891
  min: e.string().optional(),
872
892
  max: e.string().optional()
873
893
  }).optional()
874
- }), He = o.extend({
894
+ }), He = t.extend({
875
895
  type: e.literal("DROPDOWN"),
876
896
  config: e.object({
877
897
  options: e.array(
@@ -881,27 +901,29 @@ const he = e.object({
881
901
  })
882
902
  ).optional(),
883
903
  placeholder: e.string().optional(),
884
- searchable: e.boolean().optional()
904
+ searchable: e.boolean().optional(),
905
+ multiple: e.boolean().optional(),
906
+ default_value: e.union([e.string(), e.array(e.string())]).optional()
885
907
  }).optional()
886
- }), Ge = o.extend({
908
+ }), Ge = t.extend({
887
909
  type: e.literal("EMAIL"),
888
910
  config: e.object({
889
911
  placeholder: e.string().optional()
890
912
  }).optional()
891
- }), Be = o.extend({
913
+ }), Be = t.extend({
892
914
  type: e.literal("FILE"),
893
915
  config: e.object({
894
916
  accept: e.string().optional(),
895
917
  max_size: e.number().optional(),
896
918
  multiple: e.boolean().optional()
897
919
  }).optional()
898
- }), Ke = o.extend({
920
+ }), Ke = t.extend({
899
921
  type: e.literal("LEGAL"),
900
922
  config: e.object({
901
923
  text: e.string(),
902
924
  html: e.boolean().optional()
903
925
  }).optional()
904
- }), We = o.extend({
926
+ }), We = t.extend({
905
927
  type: e.literal("NUMBER"),
906
928
  config: e.object({
907
929
  placeholder: e.string().optional(),
@@ -909,7 +931,7 @@ const he = e.object({
909
931
  max: e.number().optional(),
910
932
  step: e.number().optional()
911
933
  }).optional()
912
- }), ze = o.extend({
934
+ }), ze = t.extend({
913
935
  type: e.literal("PASSWORD"),
914
936
  config: e.object({
915
937
  placeholder: e.string().optional(),
@@ -917,13 +939,13 @@ const he = e.object({
917
939
  show_toggle: e.boolean().optional(),
918
940
  forgot_password_link: e.string().optional()
919
941
  }).optional()
920
- }), Xe = o.extend({
942
+ }), Xe = t.extend({
921
943
  type: e.literal("PAYMENT"),
922
944
  config: e.object({
923
945
  provider: e.string().optional(),
924
946
  currency: e.string().optional()
925
947
  }).optional()
926
- }), Ve = o.extend({
948
+ }), Ve = t.extend({
927
949
  type: e.literal("SOCIAL"),
928
950
  config: e.object({
929
951
  providers: e.array(e.string()).optional(),
@@ -937,20 +959,20 @@ const he = e.object({
937
959
  })
938
960
  ).optional()
939
961
  }).optional()
940
- }), qe = o.extend({
962
+ }), qe = t.extend({
941
963
  type: e.literal("TEL"),
942
964
  config: e.object({
943
965
  placeholder: e.string().optional(),
944
966
  default_country: e.string().optional()
945
967
  }).optional()
946
- }), Ye = o.extend({
968
+ }), Ye = t.extend({
947
969
  type: e.literal("TEXT"),
948
970
  config: e.object({
949
971
  placeholder: e.string().optional(),
950
972
  multiline: e.boolean().optional(),
951
973
  max_length: e.number().optional()
952
974
  }).optional()
953
- }), Qe = o.extend({
975
+ }), Qe = t.extend({
954
976
  type: e.literal("URL"),
955
977
  config: e.object({
956
978
  placeholder: e.string().optional()
@@ -962,14 +984,14 @@ const he = e.object({
962
984
  Ne,
963
985
  Re,
964
986
  De,
965
- Le,
966
- we
987
+ we,
988
+ Le
967
989
  ]), Ze = e.discriminatedUnion("type", [
968
990
  je,
969
- Ue,
970
- Fe
971
- ]), $e = e.discriminatedUnion("type", [
972
991
  ke,
992
+ Ue
993
+ ]), $e = e.discriminatedUnion("type", [
994
+ Fe,
973
995
  ve,
974
996
  xe,
975
997
  Pe,
@@ -989,7 +1011,7 @@ const he = e.object({
989
1011
  Je,
990
1012
  Ze,
991
1013
  $e
992
- ]), ho = e.object({
1014
+ ]), ht = e.object({
993
1015
  id: e.string(),
994
1016
  type: e.literal("submit"),
995
1017
  label: e.string(),
@@ -1001,7 +1023,7 @@ const he = e.object({
1001
1023
  }), _ = e.object({
1002
1024
  x: e.number(),
1003
1025
  y: e.number()
1004
- }), et = e.object({
1026
+ }), eo = e.object({
1005
1027
  id: e.string(),
1006
1028
  type: e.literal("FLOW"),
1007
1029
  coordinates: _,
@@ -1010,7 +1032,7 @@ const he = e.object({
1010
1032
  flow_id: e.string().max(30),
1011
1033
  next_node: e.string().optional()
1012
1034
  })
1013
- }), tt = e.object({
1035
+ }), oo = e.object({
1014
1036
  id: e.string(),
1015
1037
  type: e.literal("ROUTER"),
1016
1038
  coordinates: _,
@@ -1026,7 +1048,7 @@ const he = e.object({
1026
1048
  ),
1027
1049
  fallback: e.string()
1028
1050
  })
1029
- }), ot = e.object({
1051
+ }), to = e.object({
1030
1052
  id: e.string(),
1031
1053
  type: e.literal("STEP"),
1032
1054
  coordinates: _,
@@ -1035,11 +1057,11 @@ const he = e.object({
1035
1057
  components: e.array(R),
1036
1058
  next_node: e.string().optional()
1037
1059
  })
1038
- }), nt = e.discriminatedUnion("type", [
1039
- et,
1040
- tt,
1041
- ot
1042
- ]), it = e.object({
1060
+ }), no = e.discriminatedUnion("type", [
1061
+ eo,
1062
+ oo,
1063
+ to
1064
+ ]), io = e.object({
1043
1065
  name: e.string().openapi({
1044
1066
  description: "The name of the form"
1045
1067
  }),
@@ -1052,7 +1074,7 @@ const he = e.object({
1052
1074
  default: e.string().optional()
1053
1075
  }).optional(),
1054
1076
  translations: e.record(e.string(), e.any()).optional(),
1055
- nodes: e.array(nt).optional(),
1077
+ nodes: e.array(no).optional(),
1056
1078
  start: e.object({
1057
1079
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1058
1080
  next_node: e.string().optional(),
@@ -1067,23 +1089,27 @@ const he = e.object({
1067
1089
  coordinates: _.optional(),
1068
1090
  resume_flow: e.boolean().optional()
1069
1091
  }).optional(),
1070
- style: e.object({ css: e.string().optional() }).optional()
1092
+ style: e.object({ css: e.string().optional() }).optional(),
1093
+ links: e.object({
1094
+ sdkSrc: e.string().optional(),
1095
+ sdk_src: e.string().optional()
1096
+ }).optional()
1071
1097
  }).openapi({
1072
1098
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1073
- }), bo = e.object({
1099
+ }), bt = e.object({
1074
1100
  ...r.shape,
1075
- ...it.shape,
1101
+ ...io.shape,
1076
1102
  id: e.string()
1077
- }), at = e.object({
1103
+ }), ao = e.object({
1078
1104
  id: e.number().optional(),
1079
1105
  text: e.string(),
1080
1106
  type: e.enum(["info", "error", "success", "warning"])
1081
- }), rt = e.object({
1107
+ }), ro = e.object({
1082
1108
  id: e.string().optional(),
1083
1109
  text: e.string(),
1084
1110
  href: e.string(),
1085
1111
  linkText: e.string().optional()
1086
- }), fo = e.object({
1112
+ }), ft = e.object({
1087
1113
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1088
1114
  name: e.string().optional(),
1089
1115
  action: e.string(),
@@ -1091,19 +1117,19 @@ const he = e.object({
1091
1117
  title: e.string().optional(),
1092
1118
  description: e.string().optional(),
1093
1119
  components: e.array(R),
1094
- messages: e.array(at).optional(),
1095
- links: e.array(rt).optional(),
1120
+ messages: e.array(ao).optional(),
1121
+ links: e.array(ro).optional(),
1096
1122
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1097
1123
  footer: e.string().optional()
1098
1124
  });
1099
- function Eo(t) {
1100
- return t.category === "BLOCK";
1125
+ function Et(o) {
1126
+ return o.category === "BLOCK";
1101
1127
  }
1102
- function So(t) {
1103
- return t.category === "WIDGET";
1128
+ function St(o) {
1129
+ return o.category === "WIDGET";
1104
1130
  }
1105
- function Ao(t) {
1106
- return t.category === "FIELD";
1131
+ function At(o) {
1132
+ return o.category === "FIELD";
1107
1133
  }
1108
1134
  const D = e.enum([
1109
1135
  "pre-user-registration",
@@ -1113,7 +1139,7 @@ const D = e.enum([
1113
1139
  "pre-user-deletion",
1114
1140
  "post-user-deletion"
1115
1141
  // Potentially other triggers specific to webhooks in the future
1116
- ]), L = e.enum([
1142
+ ]), w = e.enum([
1117
1143
  "pre-user-registration",
1118
1144
  "post-user-registration",
1119
1145
  "post-user-login",
@@ -1125,37 +1151,37 @@ const D = e.enum([
1125
1151
  synchronous: e.boolean().default(!1),
1126
1152
  priority: e.number().optional(),
1127
1153
  hook_id: e.string().optional()
1128
- }, st = e.object({
1154
+ }, so = e.object({
1129
1155
  ...m,
1130
1156
  trigger_id: D,
1131
1157
  url: e.string()
1132
- }), lt = e.object({
1158
+ }), lo = e.object({
1133
1159
  ...m,
1134
- trigger_id: L,
1160
+ trigger_id: w,
1135
1161
  form_id: e.string()
1136
- }), Io = e.union([
1137
- st,
1138
- lt
1139
- ]), ct = e.object({
1162
+ }), It = e.union([
1163
+ so,
1164
+ lo
1165
+ ]), co = e.object({
1140
1166
  ...m,
1141
1167
  trigger_id: D,
1142
1168
  ...r.shape,
1143
1169
  hook_id: e.string(),
1144
1170
  url: e.string()
1145
- }), pt = e.object({
1171
+ }), po = e.object({
1146
1172
  ...m,
1147
- trigger_id: L,
1173
+ trigger_id: w,
1148
1174
  ...r.shape,
1149
1175
  hook_id: e.string(),
1150
1176
  form_id: e.string()
1151
- }), Co = e.union([ct, pt]), _t = e.object({
1177
+ }), Ct = e.union([co, po]), _o = e.object({
1152
1178
  name: e.string().optional()
1153
- }), dt = e.object({
1179
+ }), go = e.object({
1154
1180
  email: e.string().optional()
1155
- }), gt = e.object({
1181
+ }), uo = e.object({
1156
1182
  organization_id: e.string().max(50),
1157
- inviter: _t,
1158
- invitee: dt,
1183
+ inviter: _o,
1184
+ invitee: go,
1159
1185
  invitation_url: e.string().url(),
1160
1186
  client_id: e.string(),
1161
1187
  connection_id: e.string().optional(),
@@ -1164,13 +1190,13 @@ const D = e.enum([
1164
1190
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1165
1191
  roles: e.array(e.string()).default([]).optional(),
1166
1192
  send_invitation_email: e.boolean().default(!0).optional()
1167
- }), yo = e.object({
1193
+ }), yt = e.object({
1168
1194
  id: e.string(),
1169
1195
  organization_id: e.string().max(50),
1170
1196
  created_at: e.string().datetime(),
1171
1197
  expires_at: e.string().datetime(),
1172
1198
  ticket_id: e.string().optional()
1173
- }).extend(gt.shape), ut = e.object({
1199
+ }).extend(uo.shape), mo = e.object({
1174
1200
  alg: e.enum([
1175
1201
  "RS256",
1176
1202
  "RS384",
@@ -1189,9 +1215,9 @@ const D = e.enum([
1189
1215
  x5t: e.string().optional(),
1190
1216
  x5c: e.array(e.string()).optional(),
1191
1217
  use: e.enum(["sig", "enc"]).optional()
1192
- }), To = e.object({
1193
- keys: e.array(ut)
1194
- }), Oo = e.object({
1218
+ }), Tt = e.object({
1219
+ keys: e.array(mo)
1220
+ }), Ot = e.object({
1195
1221
  issuer: e.string(),
1196
1222
  authorization_endpoint: e.string(),
1197
1223
  token_endpoint: e.string(),
@@ -1213,8 +1239,8 @@ const D = e.enum([
1213
1239
  request_parameter_supported: e.boolean(),
1214
1240
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1215
1241
  });
1216
- var w = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(w || {});
1217
- const mt = e.nativeEnum(w), ht = e.object({
1242
+ var L = /* @__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))(L || {});
1243
+ const ho = e.nativeEnum(L), bo = e.object({
1218
1244
  csrf_token: e.string(),
1219
1245
  auth0Client: e.string().optional(),
1220
1246
  authParams: he,
@@ -1224,7 +1250,7 @@ const mt = e.nativeEnum(w), ht = e.object({
1224
1250
  useragent: e.string().optional(),
1225
1251
  session_id: e.string().optional(),
1226
1252
  authorization_url: e.string().optional(),
1227
- state: mt.optional().default(
1253
+ state: ho.optional().default(
1228
1254
  "pending"
1229
1255
  /* PENDING */
1230
1256
  ),
@@ -1235,14 +1261,14 @@ const mt = e.nativeEnum(w), ht = e.object({
1235
1261
  // Set once user is authenticated
1236
1262
  }).openapi({
1237
1263
  description: "This represents a login sesion"
1238
- }), No = e.object({
1239
- ...ht.shape,
1264
+ }), Nt = e.object({
1265
+ ...bo.shape,
1240
1266
  id: e.string().openapi({
1241
1267
  description: "This is is used as the state in the universal login"
1242
1268
  }),
1243
1269
  created_at: e.string(),
1244
1270
  updated_at: e.string()
1245
- }), bt = {
1271
+ }), fo = {
1246
1272
  // Network & System
1247
1273
  ACLS_SUMMARY: "acls_summary",
1248
1274
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1413,24 +1439,24 @@ const mt = e.nativeEnum(w), ht = e.object({
1413
1439
  WARNING_DURING_LOGIN: "w",
1414
1440
  WARNING_SENDING_NOTIFICATION: "wn",
1415
1441
  WARNING_USER_MANAGEMENT: "wum"
1416
- }, ft = e.string().refine(
1417
- (t) => Object.values(bt).includes(t),
1442
+ }, Eo = e.string().refine(
1443
+ (o) => Object.values(fo).includes(o),
1418
1444
  { message: "Invalid log type" }
1419
- ), Et = e.object({
1445
+ ), So = e.object({
1420
1446
  name: e.string(),
1421
1447
  version: e.string(),
1422
1448
  env: e.object({
1423
1449
  node: e.string().optional()
1424
1450
  }).optional()
1425
- }), St = e.object({
1451
+ }), Ao = e.object({
1426
1452
  country_code: e.string().length(2),
1427
1453
  city_name: e.string(),
1428
1454
  latitude: e.string(),
1429
1455
  longitude: e.string(),
1430
1456
  time_zone: e.string(),
1431
1457
  continent_code: e.string()
1432
- }), At = e.object({
1433
- type: ft,
1458
+ }), Io = e.object({
1459
+ type: Eo,
1434
1460
  date: e.string(),
1435
1461
  description: e.string().optional(),
1436
1462
  ip: e.string().optional(),
@@ -1449,19 +1475,19 @@ const mt = e.nativeEnum(w), ht = e.object({
1449
1475
  strategy: e.string().optional(),
1450
1476
  strategy_type: e.string().optional(),
1451
1477
  hostname: e.string().optional(),
1452
- auth0_client: Et.optional(),
1478
+ auth0_client: So.optional(),
1453
1479
  log_id: e.string().optional(),
1454
- location_info: St.optional()
1455
- }), Ro = e.object({
1456
- ...At.shape,
1480
+ location_info: Ao.optional()
1481
+ }), Rt = e.object({
1482
+ ...Io.shape,
1457
1483
  log_id: e.string()
1458
- }), It = e.object({
1484
+ }), Co = e.object({
1459
1485
  id: e.string().optional(),
1460
1486
  user_id: e.string(),
1461
1487
  password: e.string(),
1462
1488
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1463
1489
  is_current: e.boolean().default(!0)
1464
- }), Do = It.extend({
1490
+ }), Dt = Co.extend({
1465
1491
  id: e.string(),
1466
1492
  created_at: e.string(),
1467
1493
  updated_at: e.string()
@@ -1472,7 +1498,7 @@ const mt = e.nativeEnum(w), ht = e.object({
1472
1498
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1473
1499
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1474
1500
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1475
- }), Ct = e.object({
1501
+ }), yo = e.object({
1476
1502
  id: e.string(),
1477
1503
  revoked_at: e.string().optional(),
1478
1504
  used_at: e.string().optional(),
@@ -1484,13 +1510,13 @@ const mt = e.nativeEnum(w), ht = e.object({
1484
1510
  "Metadata related to the device used in the session"
1485
1511
  ),
1486
1512
  clients: e.array(e.string()).describe("List of client details for the session")
1487
- }), Lo = e.object({
1513
+ }), wt = e.object({
1488
1514
  created_at: e.string(),
1489
1515
  updated_at: e.string(),
1490
1516
  authenticated_at: e.string(),
1491
1517
  last_interaction_at: e.string(),
1492
- ...Ct.shape
1493
- }), wo = e.object({
1518
+ ...yo.shape
1519
+ }), Lt = e.object({
1494
1520
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1495
1521
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1496
1522
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1515,7 +1541,7 @@ const mt = e.nativeEnum(w), ht = e.object({
1515
1541
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1516
1542
  description: "The type of the signing key"
1517
1543
  })
1518
- }), yt = e.object({
1544
+ }), To = e.object({
1519
1545
  id: e.string().optional(),
1520
1546
  // Basic settings
1521
1547
  audience: e.string(),
@@ -1639,14 +1665,14 @@ const mt = e.nativeEnum(w), ht = e.object({
1639
1665
  // Authorization settings
1640
1666
  pushed_authorization_requests_supported: e.boolean().optional(),
1641
1667
  authorization_response_iss_parameter_supported: e.boolean().optional()
1642
- }), jo = e.object({
1643
- created_at: e.string().nullable().transform((t) => t ?? ""),
1644
- updated_at: e.string().nullable().transform((t) => t ?? ""),
1645
- ...yt.shape,
1668
+ }), jt = e.object({
1669
+ created_at: e.string().nullable().transform((o) => o ?? ""),
1670
+ updated_at: e.string().nullable().transform((o) => o ?? ""),
1671
+ ...To.shape,
1646
1672
  id: e.string()
1647
1673
  });
1648
- var Tt = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(Tt || {});
1649
- const Uo = e.object({
1674
+ var Oo = /* @__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))(Oo || {});
1675
+ const kt = e.object({
1650
1676
  access_token: e.string(),
1651
1677
  id_token: e.string().optional(),
1652
1678
  scope: e.string().optional(),
@@ -1659,7 +1685,7 @@ e.object({
1659
1685
  code: e.string(),
1660
1686
  state: e.string().optional()
1661
1687
  });
1662
- const Ot = e.object({
1688
+ const No = e.object({
1663
1689
  button_border_radius: e.number(),
1664
1690
  button_border_weight: e.number(),
1665
1691
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1669,7 +1695,7 @@ const Ot = e.object({
1669
1695
  show_widget_shadow: e.boolean(),
1670
1696
  widget_border_weight: e.number(),
1671
1697
  widget_corner_radius: e.number()
1672
- }), Nt = e.object({
1698
+ }), Ro = e.object({
1673
1699
  base_focus_color: e.string(),
1674
1700
  base_hover_color: e.string(),
1675
1701
  body_text: e.string(),
@@ -1692,7 +1718,7 @@ const Ot = e.object({
1692
1718
  }), l = e.object({
1693
1719
  bold: e.boolean(),
1694
1720
  size: e.number()
1695
- }), Rt = e.object({
1721
+ }), Do = e.object({
1696
1722
  body_text: l,
1697
1723
  buttons_text: l,
1698
1724
  font_url: e.string(),
@@ -1702,31 +1728,31 @@ const Ot = e.object({
1702
1728
  reference_text_size: e.number(),
1703
1729
  subtitle: l,
1704
1730
  title: l
1705
- }), Dt = e.object({
1731
+ }), wo = e.object({
1706
1732
  background_color: e.string(),
1707
1733
  background_image_url: e.string(),
1708
1734
  page_layout: e.enum(["center", "left", "right"])
1709
- }), Lt = e.object({
1735
+ }), Lo = e.object({
1710
1736
  header_text_alignment: e.enum(["center", "left", "right"]),
1711
1737
  logo_height: e.number(),
1712
1738
  logo_position: e.enum(["center", "left", "none", "right"]),
1713
1739
  logo_url: e.string(),
1714
1740
  social_buttons_layout: e.enum(["bottom", "top"])
1715
- }), wt = e.object({
1716
- borders: Ot,
1717
- colors: Nt,
1741
+ }), jo = e.object({
1742
+ borders: No,
1743
+ colors: Ro,
1718
1744
  displayName: e.string(),
1719
- fonts: Rt,
1720
- page_background: Dt,
1721
- widget: Lt
1722
- }), Fo = wt.extend({
1745
+ fonts: Do,
1746
+ page_background: wo,
1747
+ widget: Lo
1748
+ }), Ut = jo.extend({
1723
1749
  themeId: e.string()
1724
- }), ko = e.object({
1750
+ }), Ft = e.object({
1725
1751
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1726
1752
  identifier_first: e.boolean().default(!0),
1727
1753
  password_first: e.boolean().default(!1),
1728
1754
  webauthn_platform_first_factor: e.boolean()
1729
- }), vo = e.object({
1755
+ }), vt = e.object({
1730
1756
  name: e.string(),
1731
1757
  enabled: e.boolean().optional().default(!0),
1732
1758
  default_from_address: e.string().optional(),
@@ -1756,7 +1782,7 @@ const Ot = e.object({
1756
1782
  })
1757
1783
  ]),
1758
1784
  settings: e.object({}).optional()
1759
- }), jt = e.object({
1785
+ }), ko = e.object({
1760
1786
  // The actual refresh token value (primary key).
1761
1787
  id: e.string(),
1762
1788
  // Link to the session record
@@ -1777,21 +1803,21 @@ const Ot = e.object({
1777
1803
  })
1778
1804
  ),
1779
1805
  rotating: e.boolean()
1780
- }), xo = e.object({
1806
+ }), xt = e.object({
1781
1807
  // When the refresh token record was created.
1782
1808
  created_at: e.string(),
1783
1809
  // Spread in the rest of the refresh token properties.
1784
- ...jt.shape
1785
- }), Po = e.object({
1810
+ ...ko.shape
1811
+ }), Pt = e.object({
1786
1812
  to: e.string(),
1787
1813
  message: e.string()
1788
- }), Mo = e.object({
1814
+ }), Mt = e.object({
1789
1815
  name: e.string(),
1790
1816
  options: e.object({})
1791
- }), Ut = e.object({
1817
+ }), Uo = e.object({
1792
1818
  value: e.string(),
1793
1819
  description: e.string().optional()
1794
- }), Ft = e.object({
1820
+ }), Fo = e.object({
1795
1821
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
1796
1822
  enforce_policies: e.boolean().optional(),
1797
1823
  allow_skipping_userinfo: e.boolean().optional(),
@@ -1801,11 +1827,11 @@ const Ot = e.object({
1801
1827
  mtls: e.object({
1802
1828
  bound_access_tokens: e.boolean().optional()
1803
1829
  }).optional()
1804
- }), kt = e.object({
1830
+ }), vo = e.object({
1805
1831
  id: e.string().optional(),
1806
1832
  name: e.string(),
1807
1833
  identifier: e.string(),
1808
- scopes: e.array(Ut).optional(),
1834
+ scopes: e.array(Uo).optional(),
1809
1835
  signing_alg: e.string().optional(),
1810
1836
  signing_secret: e.string().optional(),
1811
1837
  token_lifetime: e.number().optional(),
@@ -1813,30 +1839,30 @@ const Ot = e.object({
1813
1839
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
1814
1840
  allow_offline_access: e.boolean().optional(),
1815
1841
  verificationKey: e.string().optional(),
1816
- options: Ft.optional(),
1842
+ options: Fo.optional(),
1817
1843
  is_system: e.boolean().optional(),
1818
1844
  metadata: e.record(e.any()).optional()
1819
- }), vt = e.object({
1820
- ...kt.shape,
1845
+ }), xo = e.object({
1846
+ ...vo.shape,
1821
1847
  created_at: e.string().optional(),
1822
1848
  updated_at: e.string().optional()
1823
- }), Ho = e.array(vt), xt = e.object({
1849
+ }), Ht = e.array(xo), Po = e.object({
1824
1850
  role_id: e.string(),
1825
1851
  resource_server_identifier: e.string(),
1826
1852
  permission_name: e.string()
1827
- }), Pt = e.object({
1828
- ...xt.shape,
1853
+ }), Mo = e.object({
1854
+ ...Po.shape,
1829
1855
  created_at: e.string()
1830
- }), Go = e.array(Pt), Mt = e.object({
1856
+ }), Gt = e.array(Mo), Ho = e.object({
1831
1857
  user_id: e.string(),
1832
1858
  resource_server_identifier: e.string(),
1833
1859
  permission_name: e.string(),
1834
1860
  organization_id: e.string().optional()
1835
- }), Ht = e.object({
1836
- ...Mt.shape,
1861
+ }), Go = e.object({
1862
+ ...Ho.shape,
1837
1863
  tenant_id: e.string(),
1838
1864
  created_at: e.string().optional()
1839
- }), Bo = e.array(Ht), Gt = e.object({
1865
+ }), Bt = e.array(Go), Bo = e.object({
1840
1866
  user_id: e.string(),
1841
1867
  resource_server_identifier: e.string(),
1842
1868
  resource_server_name: e.string(),
@@ -1844,17 +1870,17 @@ const Ot = e.object({
1844
1870
  description: e.string().nullable().optional(),
1845
1871
  created_at: e.string().optional(),
1846
1872
  organization_id: e.string().optional()
1847
- }), Ko = e.array(
1848
- Gt
1849
- ), Bt = e.object({
1873
+ }), Kt = e.array(
1874
+ Bo
1875
+ ), Ko = e.object({
1850
1876
  user_id: e.string(),
1851
1877
  role_id: e.string(),
1852
1878
  organization_id: e.string().optional()
1853
- }), Kt = e.object({
1854
- ...Bt.shape,
1879
+ }), Wo = e.object({
1880
+ ...Ko.shape,
1855
1881
  tenant_id: e.string(),
1856
1882
  created_at: e.string().optional()
1857
- }), Wo = e.array(Kt), Wt = e.object({
1883
+ }), Wt = e.array(Wo), zo = e.object({
1858
1884
  id: e.string().optional().openapi({
1859
1885
  description: "The unique identifier of the role. If not provided, one will be generated."
1860
1886
  }),
@@ -1868,13 +1894,13 @@ const Ot = e.object({
1868
1894
  metadata: e.record(e.any()).optional().openapi({
1869
1895
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
1870
1896
  })
1871
- }), zt = Wt.extend({
1897
+ }), Xo = zo.extend({
1872
1898
  id: e.string().openapi({
1873
1899
  description: "The unique identifier of the role"
1874
1900
  }),
1875
1901
  created_at: e.string().optional(),
1876
1902
  updated_at: e.string().optional()
1877
- }), zo = e.array(zt), Xt = e.object({
1903
+ }), zt = e.array(Xo), Vo = e.object({
1878
1904
  logo_url: e.string().optional().openapi({
1879
1905
  description: "URL of the organization's logo"
1880
1906
  }),
@@ -1886,7 +1912,7 @@ const Ot = e.object({
1886
1912
  description: "Page background color in hex format (e.g., #FFFFFF)"
1887
1913
  })
1888
1914
  }).optional()
1889
- }).optional(), Vt = e.object({
1915
+ }).optional(), qo = e.object({
1890
1916
  connection_id: e.string().openapi({
1891
1917
  description: "ID of the connection"
1892
1918
  }),
@@ -1899,7 +1925,7 @@ const Ot = e.object({
1899
1925
  is_signup_enabled: e.boolean().default(!0).openapi({
1900
1926
  description: "Whether signup is enabled for this connection"
1901
1927
  })
1902
- }), qt = e.object({
1928
+ }), Yo = e.object({
1903
1929
  client_credentials: e.object({
1904
1930
  enforce: e.boolean().default(!1).openapi({
1905
1931
  description: "Whether to enforce token quota limits"
@@ -1911,7 +1937,7 @@ const Ot = e.object({
1911
1937
  description: "Maximum tokens per hour (0 = unlimited)"
1912
1938
  })
1913
1939
  }).optional()
1914
- }).optional(), Yt = e.object({
1940
+ }).optional(), Qo = e.object({
1915
1941
  id: e.string().optional(),
1916
1942
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
1917
1943
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -1921,34 +1947,34 @@ const Ot = e.object({
1921
1947
  display_name: e.string().optional().openapi({
1922
1948
  description: "The display name of the organization"
1923
1949
  }),
1924
- branding: Xt,
1950
+ branding: Vo,
1925
1951
  metadata: e.record(e.any()).default({}).optional().openapi({
1926
1952
  description: "Custom metadata for the organization"
1927
1953
  }),
1928
- enabled_connections: e.array(Vt).default([]).optional().openapi({
1954
+ enabled_connections: e.array(qo).default([]).optional().openapi({
1929
1955
  description: "List of enabled connections for the organization"
1930
1956
  }),
1931
- token_quota: qt
1932
- }), Xo = e.object({
1933
- ...Yt.shape,
1957
+ token_quota: Yo
1958
+ }), Xt = e.object({
1959
+ ...Qo.shape,
1934
1960
  ...r.shape,
1935
1961
  id: e.string(),
1936
1962
  // Override name to be lenient when reading from database (to support existing uppercase names)
1937
1963
  name: e.string().min(1).openapi({
1938
1964
  description: "The name of the organization"
1939
1965
  })
1940
- }), Qt = e.object({
1966
+ }), Jo = e.object({
1941
1967
  user_id: e.string().openapi({
1942
1968
  description: "ID of the user"
1943
1969
  }),
1944
1970
  organization_id: e.string().openapi({
1945
1971
  description: "ID of the organization"
1946
1972
  })
1947
- }), Vo = e.object({
1948
- ...Qt.shape,
1973
+ }), Vt = e.object({
1974
+ ...Jo.shape,
1949
1975
  ...r.shape,
1950
1976
  id: e.string()
1951
- }), qo = e.object({
1977
+ }), qt = e.object({
1952
1978
  // Session settings
1953
1979
  idle_session_lifetime: e.number().optional(),
1954
1980
  session_lifetime: e.number().optional(),
@@ -2017,7 +2043,7 @@ const Ot = e.object({
2017
2043
  sessions: e.object({
2018
2044
  oidc_logout_prompt_enabled: e.boolean().optional()
2019
2045
  }).optional()
2020
- }), Yo = e.object({
2046
+ }), Yt = e.object({
2021
2047
  date: e.string().openapi({
2022
2048
  description: "Date these events occurred in ISO 8601 format",
2023
2049
  example: "2025-12-19"
@@ -2042,10 +2068,10 @@ const Ot = e.object({
2042
2068
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2043
2069
  example: "2025-12-19T00:00:00.000Z"
2044
2070
  })
2045
- }), Qo = e.number().openapi({
2071
+ }), Qt = e.number().openapi({
2046
2072
  description: "Number of active users in the last 30 days",
2047
2073
  example: 1234
2048
- }), Jt = e.enum([
2074
+ }), Zo = e.enum([
2049
2075
  "login",
2050
2076
  "login-id",
2051
2077
  "login-password",
@@ -2073,32 +2099,32 @@ const Ot = e.object({
2073
2099
  "passkeys",
2074
2100
  "captcha",
2075
2101
  "custom-form"
2076
- ]), Zt = e.record(e.string(), e.string()).openapi({
2102
+ ]), $o = e.record(e.string(), e.string()).openapi({
2077
2103
  type: "object",
2078
2104
  additionalProperties: { type: "string" }
2079
- }), Jo = e.object({
2080
- prompt: Jt,
2105
+ }), Jt = e.object({
2106
+ prompt: Zo,
2081
2107
  language: e.string(),
2082
- custom_text: Zt
2108
+ custom_text: $o
2083
2109
  });
2084
- function Zo(t) {
2085
- const [a, s] = t.split("|");
2110
+ function Zt(o) {
2111
+ const [a, s] = o.split("|");
2086
2112
  if (!a || !s)
2087
- throw new Error(`Invalid user_id: ${t}`);
2113
+ throw new Error(`Invalid user_id: ${o}`);
2088
2114
  return { connection: a, id: s };
2089
2115
  }
2090
- function $o(t) {
2116
+ function $t(o) {
2091
2117
  const {
2092
2118
  primary: a,
2093
2119
  secondaries: s,
2094
- syncMethods: U = ["create", "update", "remove", "delete", "set"]
2095
- } = t, F = {
2120
+ syncMethods: k = ["create", "update", "remove", "delete", "set"]
2121
+ } = o, U = {
2096
2122
  get(d, n) {
2097
2123
  if (typeof n == "symbol")
2098
2124
  return d[n];
2099
2125
  const g = d[n];
2100
- return typeof g != "function" ? g : U.includes(n) ? async (...h) => {
2101
- const k = await g.apply(d, h), b = [];
2126
+ return typeof g != "function" ? g : k.includes(n) ? async (...h) => {
2127
+ const F = await g.apply(d, h), b = [];
2102
2128
  for (const p of s) {
2103
2129
  const S = p.adapter[n];
2104
2130
  if (typeof S != "function")
@@ -2122,164 +2148,164 @@ function $o(t) {
2122
2148
  })();
2123
2149
  p.blocking && b.push(v);
2124
2150
  }
2125
- return b.length > 0 && await Promise.all(b), k;
2151
+ return b.length > 0 && await Promise.all(b), F;
2126
2152
  } : g.bind(d);
2127
2153
  }
2128
2154
  };
2129
- return new Proxy(a, F);
2155
+ return new Proxy(a, U);
2130
2156
  }
2131
- function en(t) {
2132
- return t;
2157
+ function en(o) {
2158
+ return o;
2133
2159
  }
2134
2160
  export {
2135
- to as Auth0ActionEnum,
2136
- Et as Auth0Client,
2161
+ tt as Auth0ActionEnum,
2162
+ So as Auth0Client,
2137
2163
  O as AuthorizationResponseMode,
2138
2164
  T as AuthorizationResponseType,
2139
2165
  N as CodeChallengeMethod,
2140
2166
  y as ComponentCategory,
2141
2167
  C as ComponentType,
2142
- oo as EmailActionEnum,
2143
- eo as FlowActionTypeEnum,
2144
- Tt as GrantType,
2145
- St as LocationInfo,
2146
- bt as LogTypes,
2147
- w as LoginSessionState,
2168
+ nt as EmailActionEnum,
2169
+ ot as FlowActionTypeEnum,
2170
+ Oo as GrantType,
2171
+ Ao as LocationInfo,
2172
+ fo as LogTypes,
2173
+ L as LoginSessionState,
2148
2174
  se as NodeType,
2149
2175
  G as RedirectTargetEnum,
2150
2176
  pe as actionNodeSchema,
2151
- Qo as activeUsersResponseSchema,
2177
+ Qt as activeUsersResponseSchema,
2152
2178
  V as addressSchema,
2153
- po as auth0FlowInsertSchema,
2179
+ _t as auth0FlowInsertSchema,
2154
2180
  me as auth0FlowSchema,
2155
- io as auth0QuerySchema,
2181
+ at as auth0QuerySchema,
2156
2182
  M as auth0UpdateUserActionSchema,
2157
- ro as auth0UserResponseSchema,
2183
+ st as auth0UserResponseSchema,
2158
2184
  he as authParamsSchema,
2159
2185
  I as baseUserSchema,
2160
2186
  Je as blockComponentSchema,
2161
- Ot as bordersSchema,
2162
- _o as brandingSchema,
2163
- oe as buttonComponentSchema,
2187
+ No as bordersSchema,
2188
+ dt as brandingSchema,
2189
+ te as buttonComponentSchema,
2164
2190
  $ as clientGrantInsertSchema,
2165
- co as clientGrantListSchema,
2191
+ pt as clientGrantListSchema,
2166
2192
  ee as clientGrantSchema,
2167
2193
  Z as clientInsertSchema,
2168
- lo as clientSchema,
2194
+ ct as clientSchema,
2169
2195
  fe as codeInsertSchema,
2170
- go as codeSchema,
2196
+ gt as codeSchema,
2171
2197
  be as codeTypeSchema,
2172
- Nt as colorsSchema,
2173
- at as componentMessageSchema,
2198
+ Ro as colorsSchema,
2199
+ ao as componentMessageSchema,
2174
2200
  re as componentSchema,
2175
2201
  Se as connectionInsertSchema,
2176
2202
  Ee as connectionOptionsSchema,
2177
- uo as connectionSchema,
2203
+ ut as connectionSchema,
2178
2204
  c as coordinatesSchema,
2179
- $o as createPassthroughAdapter,
2205
+ $t as createPassthroughAdapter,
2180
2206
  en as createWriteOnlyAdapter,
2181
2207
  Ae as customDomainInsertSchema,
2182
2208
  Ce as customDomainSchema,
2183
- mo as customDomainWithTenantIdSchema,
2184
- Jo as customTextEntrySchema,
2185
- Zt as customTextSchema,
2186
- Yo as dailyStatsSchema,
2187
- vo as emailProviderSchema,
2209
+ mt as customDomainWithTenantIdSchema,
2210
+ Jt as customTextEntrySchema,
2211
+ $o as customTextSchema,
2212
+ Yt as dailyStatsSchema,
2213
+ vt as emailProviderSchema,
2188
2214
  P as emailVerificationRulesSchema,
2189
2215
  H as emailVerifyActionSchema,
2190
2216
  ue as endingSchema,
2191
2217
  $e as fieldComponentSchema,
2192
2218
  K as flowActionStepSchema,
2193
2219
  W as flowInsertSchema,
2194
- no as flowSchema,
2220
+ it as flowSchema,
2195
2221
  ie as flowsFieldComponentSchema,
2196
2222
  ce as flowsFlowNodeSchema,
2197
2223
  le as flowsStepNodeSchema,
2198
2224
  l as fontDetailsSchema,
2199
- Rt as fontsSchema,
2200
- ho as formControlSchema,
2201
- it as formInsertSchema,
2225
+ Do as fontsSchema,
2226
+ ht as formControlSchema,
2227
+ io as formInsertSchema,
2202
2228
  R as formNodeComponentDefinition,
2203
- nt as formNodeSchema,
2204
- bo as formSchema,
2229
+ no as formNodeSchema,
2230
+ bt as formSchema,
2205
2231
  ae as genericComponentSchema,
2206
2232
  _e as genericNodeSchema,
2207
- Io as hookInsertSchema,
2208
- Co as hookSchema,
2233
+ It as hookInsertSchema,
2234
+ Ct as hookSchema,
2209
2235
  X as identitySchema,
2210
- gt as inviteInsertSchema,
2211
- yo as inviteSchema,
2212
- dt as inviteeSchema,
2213
- _t as inviterSchema,
2214
- Eo as isBlockComponent,
2215
- Ao as isFieldComponent,
2216
- So as isWidgetComponent,
2217
- To as jwksKeySchema,
2218
- ut as jwksSchema,
2236
+ uo as inviteInsertSchema,
2237
+ yt as inviteSchema,
2238
+ go as inviteeSchema,
2239
+ _o as inviterSchema,
2240
+ Et as isBlockComponent,
2241
+ At as isFieldComponent,
2242
+ St as isWidgetComponent,
2243
+ Tt as jwksKeySchema,
2244
+ mo as jwksSchema,
2219
2245
  ne as legalComponentSchema,
2220
- At as logInsertSchema,
2221
- Ro as logSchema,
2222
- ht as loginSessionInsertSchema,
2223
- No as loginSessionSchema,
2224
- mt as loginSessionStateSchema,
2246
+ Io as logInsertSchema,
2247
+ Rt as logSchema,
2248
+ bo as loginSessionInsertSchema,
2249
+ Nt as loginSessionSchema,
2250
+ ho as loginSessionStateSchema,
2225
2251
  de as nodeSchema,
2226
- Oo as openIDConfigurationSchema,
2227
- Xt as organizationBrandingSchema,
2228
- Vt as organizationEnabledConnectionSchema,
2229
- Yt as organizationInsertSchema,
2230
- Xo as organizationSchema,
2231
- qt as organizationTokenQuotaSchema,
2232
- Dt as pageBackgroundSchema,
2233
- Zo as parseUserId,
2234
- It as passwordInsertSchema,
2235
- Do as passwordSchema,
2252
+ Ot as openIDConfigurationSchema,
2253
+ Vo as organizationBrandingSchema,
2254
+ qo as organizationEnabledConnectionSchema,
2255
+ Qo as organizationInsertSchema,
2256
+ Xt as organizationSchema,
2257
+ Yo as organizationTokenQuotaSchema,
2258
+ wo as pageBackgroundSchema,
2259
+ Zt as parseUserId,
2260
+ Co as passwordInsertSchema,
2261
+ Dt as passwordSchema,
2236
2262
  z as profileDataSchema,
2237
- Jt as promptScreenSchema,
2238
- ko as promptSettingSchema,
2263
+ Zo as promptScreenSchema,
2264
+ Ft as promptSettingSchema,
2239
2265
  B as redirectActionSchema,
2240
- jt as refreshTokenInsertSchema,
2241
- xo as refreshTokenSchema,
2242
- kt as resourceServerInsertSchema,
2243
- Ho as resourceServerListSchema,
2244
- Ft as resourceServerOptionsSchema,
2245
- vt as resourceServerSchema,
2246
- Ut as resourceServerScopeSchema,
2247
- te as richTextComponentSchema,
2248
- Wt as roleInsertSchema,
2249
- zo as roleListSchema,
2250
- xt as rolePermissionInsertSchema,
2251
- Go as rolePermissionListSchema,
2252
- Pt as rolePermissionSchema,
2253
- zt as roleSchema,
2254
- rt as screenLinkSchema,
2255
- Ct as sessionInsertSchema,
2256
- Lo as sessionSchema,
2257
- wo as signingKeySchema,
2258
- Mo as smsProviderSchema,
2259
- Po as smsSendParamsSchema,
2266
+ ko as refreshTokenInsertSchema,
2267
+ xt as refreshTokenSchema,
2268
+ vo as resourceServerInsertSchema,
2269
+ Ht as resourceServerListSchema,
2270
+ Fo as resourceServerOptionsSchema,
2271
+ xo as resourceServerSchema,
2272
+ Uo as resourceServerScopeSchema,
2273
+ oe as richTextComponentSchema,
2274
+ zo as roleInsertSchema,
2275
+ zt as roleListSchema,
2276
+ Po as rolePermissionInsertSchema,
2277
+ Gt as rolePermissionListSchema,
2278
+ Mo as rolePermissionSchema,
2279
+ Xo as roleSchema,
2280
+ ro as screenLinkSchema,
2281
+ yo as sessionInsertSchema,
2282
+ wt as sessionSchema,
2283
+ Lt as signingKeySchema,
2284
+ Mt as smsProviderSchema,
2285
+ Pt as smsSendParamsSchema,
2260
2286
  ge as startSchema,
2261
- yt as tenantInsertSchema,
2262
- jo as tenantSchema,
2263
- qo as tenantSettingsSchema,
2264
- wt as themeInsertSchema,
2265
- Fo as themeSchema,
2266
- Uo as tokenResponseSchema,
2267
- ao as totalsSchema,
2268
- fo as uiScreenSchema,
2287
+ To as tenantInsertSchema,
2288
+ jt as tenantSchema,
2289
+ qt as tenantSettingsSchema,
2290
+ jo as themeInsertSchema,
2291
+ Ut as themeSchema,
2292
+ kt as tokenResponseSchema,
2293
+ rt as totalsSchema,
2294
+ ft as uiScreenSchema,
2269
2295
  q as userInsertSchema,
2270
- Qt as userOrganizationInsertSchema,
2271
- Vo as userOrganizationSchema,
2272
- Mt as userPermissionInsertSchema,
2273
- Bo as userPermissionListSchema,
2274
- Ht as userPermissionSchema,
2275
- Ko as userPermissionWithDetailsListSchema,
2276
- Gt as userPermissionWithDetailsSchema,
2277
- so as userResponseSchema,
2278
- Bt as userRoleInsertSchema,
2279
- Wo as userRoleListSchema,
2280
- Kt as userRoleSchema,
2296
+ Jo as userOrganizationInsertSchema,
2297
+ Vt as userOrganizationSchema,
2298
+ Ho as userPermissionInsertSchema,
2299
+ Bt as userPermissionListSchema,
2300
+ Go as userPermissionSchema,
2301
+ Kt as userPermissionWithDetailsListSchema,
2302
+ Bo as userPermissionWithDetailsSchema,
2303
+ lt as userResponseSchema,
2304
+ Ko as userRoleInsertSchema,
2305
+ Wt as userRoleListSchema,
2306
+ Wo as userRoleSchema,
2281
2307
  Y as userSchema,
2282
2308
  Ie as verificationMethodsSchema,
2283
2309
  Ze as widgetComponentSchema,
2284
- Lt as widgetSchema
2310
+ Lo as widgetSchema
2285
2311
  };