@authhero/adapter-interfaces 0.132.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()
@@ -823,18 +839,18 @@ const he = e.object({
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
- }), Fe = 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(
@@ -860,7 +876,7 @@ const he = e.object({
860
876
  multiple: e.boolean().optional(),
861
877
  default_value: e.union([e.string(), e.array(e.string())]).optional()
862
878
  }).optional()
863
- }), Pe = o.extend({
879
+ }), Pe = t.extend({
864
880
  type: e.literal("CUSTOM"),
865
881
  config: e.object({
866
882
  component: e.string().optional(),
@@ -868,14 +884,14 @@ const he = e.object({
868
884
  schema: e.record(e.any()).optional(),
869
885
  code: e.string().optional()
870
886
  })
871
- }), Me = o.extend({
887
+ }), Me = t.extend({
872
888
  type: e.literal("DATE"),
873
889
  config: e.object({
874
890
  format: e.string().optional(),
875
891
  min: e.string().optional(),
876
892
  max: e.string().optional()
877
893
  }).optional()
878
- }), He = o.extend({
894
+ }), He = t.extend({
879
895
  type: e.literal("DROPDOWN"),
880
896
  config: e.object({
881
897
  options: e.array(
@@ -889,25 +905,25 @@ const he = e.object({
889
905
  multiple: e.boolean().optional(),
890
906
  default_value: e.union([e.string(), e.array(e.string())]).optional()
891
907
  }).optional()
892
- }), Ge = o.extend({
908
+ }), Ge = t.extend({
893
909
  type: e.literal("EMAIL"),
894
910
  config: e.object({
895
911
  placeholder: e.string().optional()
896
912
  }).optional()
897
- }), Be = o.extend({
913
+ }), Be = t.extend({
898
914
  type: e.literal("FILE"),
899
915
  config: e.object({
900
916
  accept: e.string().optional(),
901
917
  max_size: e.number().optional(),
902
918
  multiple: e.boolean().optional()
903
919
  }).optional()
904
- }), Ke = o.extend({
920
+ }), Ke = t.extend({
905
921
  type: e.literal("LEGAL"),
906
922
  config: e.object({
907
923
  text: e.string(),
908
924
  html: e.boolean().optional()
909
925
  }).optional()
910
- }), We = o.extend({
926
+ }), We = t.extend({
911
927
  type: e.literal("NUMBER"),
912
928
  config: e.object({
913
929
  placeholder: e.string().optional(),
@@ -915,7 +931,7 @@ const he = e.object({
915
931
  max: e.number().optional(),
916
932
  step: e.number().optional()
917
933
  }).optional()
918
- }), ze = o.extend({
934
+ }), ze = t.extend({
919
935
  type: e.literal("PASSWORD"),
920
936
  config: e.object({
921
937
  placeholder: e.string().optional(),
@@ -923,13 +939,13 @@ const he = e.object({
923
939
  show_toggle: e.boolean().optional(),
924
940
  forgot_password_link: e.string().optional()
925
941
  }).optional()
926
- }), Xe = o.extend({
942
+ }), Xe = t.extend({
927
943
  type: e.literal("PAYMENT"),
928
944
  config: e.object({
929
945
  provider: e.string().optional(),
930
946
  currency: e.string().optional()
931
947
  }).optional()
932
- }), Ve = o.extend({
948
+ }), Ve = t.extend({
933
949
  type: e.literal("SOCIAL"),
934
950
  config: e.object({
935
951
  providers: e.array(e.string()).optional(),
@@ -943,20 +959,20 @@ const he = e.object({
943
959
  })
944
960
  ).optional()
945
961
  }).optional()
946
- }), qe = o.extend({
962
+ }), qe = t.extend({
947
963
  type: e.literal("TEL"),
948
964
  config: e.object({
949
965
  placeholder: e.string().optional(),
950
966
  default_country: e.string().optional()
951
967
  }).optional()
952
- }), Ye = o.extend({
968
+ }), Ye = t.extend({
953
969
  type: e.literal("TEXT"),
954
970
  config: e.object({
955
971
  placeholder: e.string().optional(),
956
972
  multiline: e.boolean().optional(),
957
973
  max_length: e.number().optional()
958
974
  }).optional()
959
- }), Qe = o.extend({
975
+ }), Qe = t.extend({
960
976
  type: e.literal("URL"),
961
977
  config: e.object({
962
978
  placeholder: e.string().optional()
@@ -968,8 +984,8 @@ const he = e.object({
968
984
  Ne,
969
985
  Re,
970
986
  De,
971
- Le,
972
- we
987
+ we,
988
+ Le
973
989
  ]), Ze = e.discriminatedUnion("type", [
974
990
  je,
975
991
  ke,
@@ -995,7 +1011,7 @@ const he = e.object({
995
1011
  Je,
996
1012
  Ze,
997
1013
  $e
998
- ]), ho = e.object({
1014
+ ]), ht = e.object({
999
1015
  id: e.string(),
1000
1016
  type: e.literal("submit"),
1001
1017
  label: e.string(),
@@ -1007,7 +1023,7 @@ const he = e.object({
1007
1023
  }), _ = e.object({
1008
1024
  x: e.number(),
1009
1025
  y: e.number()
1010
- }), et = e.object({
1026
+ }), eo = e.object({
1011
1027
  id: e.string(),
1012
1028
  type: e.literal("FLOW"),
1013
1029
  coordinates: _,
@@ -1016,7 +1032,7 @@ const he = e.object({
1016
1032
  flow_id: e.string().max(30),
1017
1033
  next_node: e.string().optional()
1018
1034
  })
1019
- }), tt = e.object({
1035
+ }), oo = e.object({
1020
1036
  id: e.string(),
1021
1037
  type: e.literal("ROUTER"),
1022
1038
  coordinates: _,
@@ -1032,7 +1048,7 @@ const he = e.object({
1032
1048
  ),
1033
1049
  fallback: e.string()
1034
1050
  })
1035
- }), ot = e.object({
1051
+ }), to = e.object({
1036
1052
  id: e.string(),
1037
1053
  type: e.literal("STEP"),
1038
1054
  coordinates: _,
@@ -1041,11 +1057,11 @@ const he = e.object({
1041
1057
  components: e.array(R),
1042
1058
  next_node: e.string().optional()
1043
1059
  })
1044
- }), nt = e.discriminatedUnion("type", [
1045
- et,
1046
- tt,
1047
- ot
1048
- ]), it = e.object({
1060
+ }), no = e.discriminatedUnion("type", [
1061
+ eo,
1062
+ oo,
1063
+ to
1064
+ ]), io = e.object({
1049
1065
  name: e.string().openapi({
1050
1066
  description: "The name of the form"
1051
1067
  }),
@@ -1058,7 +1074,7 @@ const he = e.object({
1058
1074
  default: e.string().optional()
1059
1075
  }).optional(),
1060
1076
  translations: e.record(e.string(), e.any()).optional(),
1061
- nodes: e.array(nt).optional(),
1077
+ nodes: e.array(no).optional(),
1062
1078
  start: e.object({
1063
1079
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1064
1080
  next_node: e.string().optional(),
@@ -1080,20 +1096,20 @@ const he = e.object({
1080
1096
  }).optional()
1081
1097
  }).openapi({
1082
1098
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1083
- }), bo = e.object({
1099
+ }), bt = e.object({
1084
1100
  ...r.shape,
1085
- ...it.shape,
1101
+ ...io.shape,
1086
1102
  id: e.string()
1087
- }), at = e.object({
1103
+ }), ao = e.object({
1088
1104
  id: e.number().optional(),
1089
1105
  text: e.string(),
1090
1106
  type: e.enum(["info", "error", "success", "warning"])
1091
- }), rt = e.object({
1107
+ }), ro = e.object({
1092
1108
  id: e.string().optional(),
1093
1109
  text: e.string(),
1094
1110
  href: e.string(),
1095
1111
  linkText: e.string().optional()
1096
- }), fo = e.object({
1112
+ }), ft = e.object({
1097
1113
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1098
1114
  name: e.string().optional(),
1099
1115
  action: e.string(),
@@ -1101,19 +1117,19 @@ const he = e.object({
1101
1117
  title: e.string().optional(),
1102
1118
  description: e.string().optional(),
1103
1119
  components: e.array(R),
1104
- messages: e.array(at).optional(),
1105
- links: e.array(rt).optional(),
1120
+ messages: e.array(ao).optional(),
1121
+ links: e.array(ro).optional(),
1106
1122
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1107
1123
  footer: e.string().optional()
1108
1124
  });
1109
- function Eo(t) {
1110
- return t.category === "BLOCK";
1125
+ function Et(o) {
1126
+ return o.category === "BLOCK";
1111
1127
  }
1112
- function So(t) {
1113
- return t.category === "WIDGET";
1128
+ function St(o) {
1129
+ return o.category === "WIDGET";
1114
1130
  }
1115
- function Ao(t) {
1116
- return t.category === "FIELD";
1131
+ function At(o) {
1132
+ return o.category === "FIELD";
1117
1133
  }
1118
1134
  const D = e.enum([
1119
1135
  "pre-user-registration",
@@ -1123,7 +1139,7 @@ const D = e.enum([
1123
1139
  "pre-user-deletion",
1124
1140
  "post-user-deletion"
1125
1141
  // Potentially other triggers specific to webhooks in the future
1126
- ]), L = e.enum([
1142
+ ]), w = e.enum([
1127
1143
  "pre-user-registration",
1128
1144
  "post-user-registration",
1129
1145
  "post-user-login",
@@ -1135,37 +1151,37 @@ const D = e.enum([
1135
1151
  synchronous: e.boolean().default(!1),
1136
1152
  priority: e.number().optional(),
1137
1153
  hook_id: e.string().optional()
1138
- }, st = e.object({
1154
+ }, so = e.object({
1139
1155
  ...m,
1140
1156
  trigger_id: D,
1141
1157
  url: e.string()
1142
- }), lt = e.object({
1158
+ }), lo = e.object({
1143
1159
  ...m,
1144
- trigger_id: L,
1160
+ trigger_id: w,
1145
1161
  form_id: e.string()
1146
- }), Io = e.union([
1147
- st,
1148
- lt
1149
- ]), ct = e.object({
1162
+ }), It = e.union([
1163
+ so,
1164
+ lo
1165
+ ]), co = e.object({
1150
1166
  ...m,
1151
1167
  trigger_id: D,
1152
1168
  ...r.shape,
1153
1169
  hook_id: e.string(),
1154
1170
  url: e.string()
1155
- }), pt = e.object({
1171
+ }), po = e.object({
1156
1172
  ...m,
1157
- trigger_id: L,
1173
+ trigger_id: w,
1158
1174
  ...r.shape,
1159
1175
  hook_id: e.string(),
1160
1176
  form_id: e.string()
1161
- }), Co = e.union([ct, pt]), _t = e.object({
1177
+ }), Ct = e.union([co, po]), _o = e.object({
1162
1178
  name: e.string().optional()
1163
- }), dt = e.object({
1179
+ }), go = e.object({
1164
1180
  email: e.string().optional()
1165
- }), gt = e.object({
1181
+ }), uo = e.object({
1166
1182
  organization_id: e.string().max(50),
1167
- inviter: _t,
1168
- invitee: dt,
1183
+ inviter: _o,
1184
+ invitee: go,
1169
1185
  invitation_url: e.string().url(),
1170
1186
  client_id: e.string(),
1171
1187
  connection_id: e.string().optional(),
@@ -1174,13 +1190,13 @@ const D = e.enum([
1174
1190
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1175
1191
  roles: e.array(e.string()).default([]).optional(),
1176
1192
  send_invitation_email: e.boolean().default(!0).optional()
1177
- }), yo = e.object({
1193
+ }), yt = e.object({
1178
1194
  id: e.string(),
1179
1195
  organization_id: e.string().max(50),
1180
1196
  created_at: e.string().datetime(),
1181
1197
  expires_at: e.string().datetime(),
1182
1198
  ticket_id: e.string().optional()
1183
- }).extend(gt.shape), ut = e.object({
1199
+ }).extend(uo.shape), mo = e.object({
1184
1200
  alg: e.enum([
1185
1201
  "RS256",
1186
1202
  "RS384",
@@ -1199,9 +1215,9 @@ const D = e.enum([
1199
1215
  x5t: e.string().optional(),
1200
1216
  x5c: e.array(e.string()).optional(),
1201
1217
  use: e.enum(["sig", "enc"]).optional()
1202
- }), To = e.object({
1203
- keys: e.array(ut)
1204
- }), Oo = e.object({
1218
+ }), Tt = e.object({
1219
+ keys: e.array(mo)
1220
+ }), Ot = e.object({
1205
1221
  issuer: e.string(),
1206
1222
  authorization_endpoint: e.string(),
1207
1223
  token_endpoint: e.string(),
@@ -1223,8 +1239,8 @@ const D = e.enum([
1223
1239
  request_parameter_supported: e.boolean(),
1224
1240
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1225
1241
  });
1226
- 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 || {});
1227
- 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({
1228
1244
  csrf_token: e.string(),
1229
1245
  auth0Client: e.string().optional(),
1230
1246
  authParams: he,
@@ -1234,7 +1250,7 @@ const mt = e.nativeEnum(w), ht = e.object({
1234
1250
  useragent: e.string().optional(),
1235
1251
  session_id: e.string().optional(),
1236
1252
  authorization_url: e.string().optional(),
1237
- state: mt.optional().default(
1253
+ state: ho.optional().default(
1238
1254
  "pending"
1239
1255
  /* PENDING */
1240
1256
  ),
@@ -1245,14 +1261,14 @@ const mt = e.nativeEnum(w), ht = e.object({
1245
1261
  // Set once user is authenticated
1246
1262
  }).openapi({
1247
1263
  description: "This represents a login sesion"
1248
- }), No = e.object({
1249
- ...ht.shape,
1264
+ }), Nt = e.object({
1265
+ ...bo.shape,
1250
1266
  id: e.string().openapi({
1251
1267
  description: "This is is used as the state in the universal login"
1252
1268
  }),
1253
1269
  created_at: e.string(),
1254
1270
  updated_at: e.string()
1255
- }), bt = {
1271
+ }), fo = {
1256
1272
  // Network & System
1257
1273
  ACLS_SUMMARY: "acls_summary",
1258
1274
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1423,24 +1439,24 @@ const mt = e.nativeEnum(w), ht = e.object({
1423
1439
  WARNING_DURING_LOGIN: "w",
1424
1440
  WARNING_SENDING_NOTIFICATION: "wn",
1425
1441
  WARNING_USER_MANAGEMENT: "wum"
1426
- }, ft = e.string().refine(
1427
- (t) => Object.values(bt).includes(t),
1442
+ }, Eo = e.string().refine(
1443
+ (o) => Object.values(fo).includes(o),
1428
1444
  { message: "Invalid log type" }
1429
- ), Et = e.object({
1445
+ ), So = e.object({
1430
1446
  name: e.string(),
1431
1447
  version: e.string(),
1432
1448
  env: e.object({
1433
1449
  node: e.string().optional()
1434
1450
  }).optional()
1435
- }), St = e.object({
1451
+ }), Ao = e.object({
1436
1452
  country_code: e.string().length(2),
1437
1453
  city_name: e.string(),
1438
1454
  latitude: e.string(),
1439
1455
  longitude: e.string(),
1440
1456
  time_zone: e.string(),
1441
1457
  continent_code: e.string()
1442
- }), At = e.object({
1443
- type: ft,
1458
+ }), Io = e.object({
1459
+ type: Eo,
1444
1460
  date: e.string(),
1445
1461
  description: e.string().optional(),
1446
1462
  ip: e.string().optional(),
@@ -1459,19 +1475,19 @@ const mt = e.nativeEnum(w), ht = e.object({
1459
1475
  strategy: e.string().optional(),
1460
1476
  strategy_type: e.string().optional(),
1461
1477
  hostname: e.string().optional(),
1462
- auth0_client: Et.optional(),
1478
+ auth0_client: So.optional(),
1463
1479
  log_id: e.string().optional(),
1464
- location_info: St.optional()
1465
- }), Ro = e.object({
1466
- ...At.shape,
1480
+ location_info: Ao.optional()
1481
+ }), Rt = e.object({
1482
+ ...Io.shape,
1467
1483
  log_id: e.string()
1468
- }), It = e.object({
1484
+ }), Co = e.object({
1469
1485
  id: e.string().optional(),
1470
1486
  user_id: e.string(),
1471
1487
  password: e.string(),
1472
1488
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1473
1489
  is_current: e.boolean().default(!0)
1474
- }), Do = It.extend({
1490
+ }), Dt = Co.extend({
1475
1491
  id: e.string(),
1476
1492
  created_at: e.string(),
1477
1493
  updated_at: e.string()
@@ -1482,7 +1498,7 @@ const mt = e.nativeEnum(w), ht = e.object({
1482
1498
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1483
1499
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1484
1500
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1485
- }), Ct = e.object({
1501
+ }), yo = e.object({
1486
1502
  id: e.string(),
1487
1503
  revoked_at: e.string().optional(),
1488
1504
  used_at: e.string().optional(),
@@ -1494,13 +1510,13 @@ const mt = e.nativeEnum(w), ht = e.object({
1494
1510
  "Metadata related to the device used in the session"
1495
1511
  ),
1496
1512
  clients: e.array(e.string()).describe("List of client details for the session")
1497
- }), Lo = e.object({
1513
+ }), wt = e.object({
1498
1514
  created_at: e.string(),
1499
1515
  updated_at: e.string(),
1500
1516
  authenticated_at: e.string(),
1501
1517
  last_interaction_at: e.string(),
1502
- ...Ct.shape
1503
- }), wo = e.object({
1518
+ ...yo.shape
1519
+ }), Lt = e.object({
1504
1520
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1505
1521
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1506
1522
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1525,7 +1541,7 @@ const mt = e.nativeEnum(w), ht = e.object({
1525
1541
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1526
1542
  description: "The type of the signing key"
1527
1543
  })
1528
- }), yt = e.object({
1544
+ }), To = e.object({
1529
1545
  id: e.string().optional(),
1530
1546
  // Basic settings
1531
1547
  audience: e.string(),
@@ -1649,14 +1665,14 @@ const mt = e.nativeEnum(w), ht = e.object({
1649
1665
  // Authorization settings
1650
1666
  pushed_authorization_requests_supported: e.boolean().optional(),
1651
1667
  authorization_response_iss_parameter_supported: e.boolean().optional()
1652
- }), jo = e.object({
1653
- created_at: e.string().nullable().transform((t) => t ?? ""),
1654
- updated_at: e.string().nullable().transform((t) => t ?? ""),
1655
- ...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,
1656
1672
  id: e.string()
1657
1673
  });
1658
- 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 || {});
1659
- const ko = 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({
1660
1676
  access_token: e.string(),
1661
1677
  id_token: e.string().optional(),
1662
1678
  scope: e.string().optional(),
@@ -1669,7 +1685,7 @@ e.object({
1669
1685
  code: e.string(),
1670
1686
  state: e.string().optional()
1671
1687
  });
1672
- const Ot = e.object({
1688
+ const No = e.object({
1673
1689
  button_border_radius: e.number(),
1674
1690
  button_border_weight: e.number(),
1675
1691
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1679,7 +1695,7 @@ const Ot = e.object({
1679
1695
  show_widget_shadow: e.boolean(),
1680
1696
  widget_border_weight: e.number(),
1681
1697
  widget_corner_radius: e.number()
1682
- }), Nt = e.object({
1698
+ }), Ro = e.object({
1683
1699
  base_focus_color: e.string(),
1684
1700
  base_hover_color: e.string(),
1685
1701
  body_text: e.string(),
@@ -1702,7 +1718,7 @@ const Ot = e.object({
1702
1718
  }), l = e.object({
1703
1719
  bold: e.boolean(),
1704
1720
  size: e.number()
1705
- }), Rt = e.object({
1721
+ }), Do = e.object({
1706
1722
  body_text: l,
1707
1723
  buttons_text: l,
1708
1724
  font_url: e.string(),
@@ -1712,31 +1728,31 @@ const Ot = e.object({
1712
1728
  reference_text_size: e.number(),
1713
1729
  subtitle: l,
1714
1730
  title: l
1715
- }), Dt = e.object({
1731
+ }), wo = e.object({
1716
1732
  background_color: e.string(),
1717
1733
  background_image_url: e.string(),
1718
1734
  page_layout: e.enum(["center", "left", "right"])
1719
- }), Lt = e.object({
1735
+ }), Lo = e.object({
1720
1736
  header_text_alignment: e.enum(["center", "left", "right"]),
1721
1737
  logo_height: e.number(),
1722
1738
  logo_position: e.enum(["center", "left", "none", "right"]),
1723
1739
  logo_url: e.string(),
1724
1740
  social_buttons_layout: e.enum(["bottom", "top"])
1725
- }), wt = e.object({
1726
- borders: Ot,
1727
- colors: Nt,
1741
+ }), jo = e.object({
1742
+ borders: No,
1743
+ colors: Ro,
1728
1744
  displayName: e.string(),
1729
- fonts: Rt,
1730
- page_background: Dt,
1731
- widget: Lt
1732
- }), Uo = wt.extend({
1745
+ fonts: Do,
1746
+ page_background: wo,
1747
+ widget: Lo
1748
+ }), Ut = jo.extend({
1733
1749
  themeId: e.string()
1734
- }), Fo = e.object({
1750
+ }), Ft = e.object({
1735
1751
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1736
1752
  identifier_first: e.boolean().default(!0),
1737
1753
  password_first: e.boolean().default(!1),
1738
1754
  webauthn_platform_first_factor: e.boolean()
1739
- }), vo = e.object({
1755
+ }), vt = e.object({
1740
1756
  name: e.string(),
1741
1757
  enabled: e.boolean().optional().default(!0),
1742
1758
  default_from_address: e.string().optional(),
@@ -1766,7 +1782,7 @@ const Ot = e.object({
1766
1782
  })
1767
1783
  ]),
1768
1784
  settings: e.object({}).optional()
1769
- }), jt = e.object({
1785
+ }), ko = e.object({
1770
1786
  // The actual refresh token value (primary key).
1771
1787
  id: e.string(),
1772
1788
  // Link to the session record
@@ -1787,21 +1803,21 @@ const Ot = e.object({
1787
1803
  })
1788
1804
  ),
1789
1805
  rotating: e.boolean()
1790
- }), xo = e.object({
1806
+ }), xt = e.object({
1791
1807
  // When the refresh token record was created.
1792
1808
  created_at: e.string(),
1793
1809
  // Spread in the rest of the refresh token properties.
1794
- ...jt.shape
1795
- }), Po = e.object({
1810
+ ...ko.shape
1811
+ }), Pt = e.object({
1796
1812
  to: e.string(),
1797
1813
  message: e.string()
1798
- }), Mo = e.object({
1814
+ }), Mt = e.object({
1799
1815
  name: e.string(),
1800
1816
  options: e.object({})
1801
- }), kt = e.object({
1817
+ }), Uo = e.object({
1802
1818
  value: e.string(),
1803
1819
  description: e.string().optional()
1804
- }), Ut = e.object({
1820
+ }), Fo = e.object({
1805
1821
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
1806
1822
  enforce_policies: e.boolean().optional(),
1807
1823
  allow_skipping_userinfo: e.boolean().optional(),
@@ -1811,11 +1827,11 @@ const Ot = e.object({
1811
1827
  mtls: e.object({
1812
1828
  bound_access_tokens: e.boolean().optional()
1813
1829
  }).optional()
1814
- }), Ft = e.object({
1830
+ }), vo = e.object({
1815
1831
  id: e.string().optional(),
1816
1832
  name: e.string(),
1817
1833
  identifier: e.string(),
1818
- scopes: e.array(kt).optional(),
1834
+ scopes: e.array(Uo).optional(),
1819
1835
  signing_alg: e.string().optional(),
1820
1836
  signing_secret: e.string().optional(),
1821
1837
  token_lifetime: e.number().optional(),
@@ -1823,30 +1839,30 @@ const Ot = e.object({
1823
1839
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
1824
1840
  allow_offline_access: e.boolean().optional(),
1825
1841
  verificationKey: e.string().optional(),
1826
- options: Ut.optional(),
1842
+ options: Fo.optional(),
1827
1843
  is_system: e.boolean().optional(),
1828
1844
  metadata: e.record(e.any()).optional()
1829
- }), vt = e.object({
1830
- ...Ft.shape,
1845
+ }), xo = e.object({
1846
+ ...vo.shape,
1831
1847
  created_at: e.string().optional(),
1832
1848
  updated_at: e.string().optional()
1833
- }), Ho = e.array(vt), xt = e.object({
1849
+ }), Ht = e.array(xo), Po = e.object({
1834
1850
  role_id: e.string(),
1835
1851
  resource_server_identifier: e.string(),
1836
1852
  permission_name: e.string()
1837
- }), Pt = e.object({
1838
- ...xt.shape,
1853
+ }), Mo = e.object({
1854
+ ...Po.shape,
1839
1855
  created_at: e.string()
1840
- }), Go = e.array(Pt), Mt = e.object({
1856
+ }), Gt = e.array(Mo), Ho = e.object({
1841
1857
  user_id: e.string(),
1842
1858
  resource_server_identifier: e.string(),
1843
1859
  permission_name: e.string(),
1844
1860
  organization_id: e.string().optional()
1845
- }), Ht = e.object({
1846
- ...Mt.shape,
1861
+ }), Go = e.object({
1862
+ ...Ho.shape,
1847
1863
  tenant_id: e.string(),
1848
1864
  created_at: e.string().optional()
1849
- }), Bo = e.array(Ht), Gt = e.object({
1865
+ }), Bt = e.array(Go), Bo = e.object({
1850
1866
  user_id: e.string(),
1851
1867
  resource_server_identifier: e.string(),
1852
1868
  resource_server_name: e.string(),
@@ -1854,17 +1870,17 @@ const Ot = e.object({
1854
1870
  description: e.string().nullable().optional(),
1855
1871
  created_at: e.string().optional(),
1856
1872
  organization_id: e.string().optional()
1857
- }), Ko = e.array(
1858
- Gt
1859
- ), Bt = e.object({
1873
+ }), Kt = e.array(
1874
+ Bo
1875
+ ), Ko = e.object({
1860
1876
  user_id: e.string(),
1861
1877
  role_id: e.string(),
1862
1878
  organization_id: e.string().optional()
1863
- }), Kt = e.object({
1864
- ...Bt.shape,
1879
+ }), Wo = e.object({
1880
+ ...Ko.shape,
1865
1881
  tenant_id: e.string(),
1866
1882
  created_at: e.string().optional()
1867
- }), Wo = e.array(Kt), Wt = e.object({
1883
+ }), Wt = e.array(Wo), zo = e.object({
1868
1884
  id: e.string().optional().openapi({
1869
1885
  description: "The unique identifier of the role. If not provided, one will be generated."
1870
1886
  }),
@@ -1878,13 +1894,13 @@ const Ot = e.object({
1878
1894
  metadata: e.record(e.any()).optional().openapi({
1879
1895
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
1880
1896
  })
1881
- }), zt = Wt.extend({
1897
+ }), Xo = zo.extend({
1882
1898
  id: e.string().openapi({
1883
1899
  description: "The unique identifier of the role"
1884
1900
  }),
1885
1901
  created_at: e.string().optional(),
1886
1902
  updated_at: e.string().optional()
1887
- }), zo = e.array(zt), Xt = e.object({
1903
+ }), zt = e.array(Xo), Vo = e.object({
1888
1904
  logo_url: e.string().optional().openapi({
1889
1905
  description: "URL of the organization's logo"
1890
1906
  }),
@@ -1896,7 +1912,7 @@ const Ot = e.object({
1896
1912
  description: "Page background color in hex format (e.g., #FFFFFF)"
1897
1913
  })
1898
1914
  }).optional()
1899
- }).optional(), Vt = e.object({
1915
+ }).optional(), qo = e.object({
1900
1916
  connection_id: e.string().openapi({
1901
1917
  description: "ID of the connection"
1902
1918
  }),
@@ -1909,7 +1925,7 @@ const Ot = e.object({
1909
1925
  is_signup_enabled: e.boolean().default(!0).openapi({
1910
1926
  description: "Whether signup is enabled for this connection"
1911
1927
  })
1912
- }), qt = e.object({
1928
+ }), Yo = e.object({
1913
1929
  client_credentials: e.object({
1914
1930
  enforce: e.boolean().default(!1).openapi({
1915
1931
  description: "Whether to enforce token quota limits"
@@ -1921,7 +1937,7 @@ const Ot = e.object({
1921
1937
  description: "Maximum tokens per hour (0 = unlimited)"
1922
1938
  })
1923
1939
  }).optional()
1924
- }).optional(), Yt = e.object({
1940
+ }).optional(), Qo = e.object({
1925
1941
  id: e.string().optional(),
1926
1942
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
1927
1943
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -1931,34 +1947,34 @@ const Ot = e.object({
1931
1947
  display_name: e.string().optional().openapi({
1932
1948
  description: "The display name of the organization"
1933
1949
  }),
1934
- branding: Xt,
1950
+ branding: Vo,
1935
1951
  metadata: e.record(e.any()).default({}).optional().openapi({
1936
1952
  description: "Custom metadata for the organization"
1937
1953
  }),
1938
- enabled_connections: e.array(Vt).default([]).optional().openapi({
1954
+ enabled_connections: e.array(qo).default([]).optional().openapi({
1939
1955
  description: "List of enabled connections for the organization"
1940
1956
  }),
1941
- token_quota: qt
1942
- }), Xo = e.object({
1943
- ...Yt.shape,
1957
+ token_quota: Yo
1958
+ }), Xt = e.object({
1959
+ ...Qo.shape,
1944
1960
  ...r.shape,
1945
1961
  id: e.string(),
1946
1962
  // Override name to be lenient when reading from database (to support existing uppercase names)
1947
1963
  name: e.string().min(1).openapi({
1948
1964
  description: "The name of the organization"
1949
1965
  })
1950
- }), Qt = e.object({
1966
+ }), Jo = e.object({
1951
1967
  user_id: e.string().openapi({
1952
1968
  description: "ID of the user"
1953
1969
  }),
1954
1970
  organization_id: e.string().openapi({
1955
1971
  description: "ID of the organization"
1956
1972
  })
1957
- }), Vo = e.object({
1958
- ...Qt.shape,
1973
+ }), Vt = e.object({
1974
+ ...Jo.shape,
1959
1975
  ...r.shape,
1960
1976
  id: e.string()
1961
- }), qo = e.object({
1977
+ }), qt = e.object({
1962
1978
  // Session settings
1963
1979
  idle_session_lifetime: e.number().optional(),
1964
1980
  session_lifetime: e.number().optional(),
@@ -2027,7 +2043,7 @@ const Ot = e.object({
2027
2043
  sessions: e.object({
2028
2044
  oidc_logout_prompt_enabled: e.boolean().optional()
2029
2045
  }).optional()
2030
- }), Yo = e.object({
2046
+ }), Yt = e.object({
2031
2047
  date: e.string().openapi({
2032
2048
  description: "Date these events occurred in ISO 8601 format",
2033
2049
  example: "2025-12-19"
@@ -2052,10 +2068,10 @@ const Ot = e.object({
2052
2068
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2053
2069
  example: "2025-12-19T00:00:00.000Z"
2054
2070
  })
2055
- }), Qo = e.number().openapi({
2071
+ }), Qt = e.number().openapi({
2056
2072
  description: "Number of active users in the last 30 days",
2057
2073
  example: 1234
2058
- }), Jt = e.enum([
2074
+ }), Zo = e.enum([
2059
2075
  "login",
2060
2076
  "login-id",
2061
2077
  "login-password",
@@ -2083,26 +2099,26 @@ const Ot = e.object({
2083
2099
  "passkeys",
2084
2100
  "captcha",
2085
2101
  "custom-form"
2086
- ]), Zt = e.record(e.string(), e.string()).openapi({
2102
+ ]), $o = e.record(e.string(), e.string()).openapi({
2087
2103
  type: "object",
2088
2104
  additionalProperties: { type: "string" }
2089
- }), Jo = e.object({
2090
- prompt: Jt,
2105
+ }), Jt = e.object({
2106
+ prompt: Zo,
2091
2107
  language: e.string(),
2092
- custom_text: Zt
2108
+ custom_text: $o
2093
2109
  });
2094
- function Zo(t) {
2095
- const [a, s] = t.split("|");
2110
+ function Zt(o) {
2111
+ const [a, s] = o.split("|");
2096
2112
  if (!a || !s)
2097
- throw new Error(`Invalid user_id: ${t}`);
2113
+ throw new Error(`Invalid user_id: ${o}`);
2098
2114
  return { connection: a, id: s };
2099
2115
  }
2100
- function $o(t) {
2116
+ function $t(o) {
2101
2117
  const {
2102
2118
  primary: a,
2103
2119
  secondaries: s,
2104
2120
  syncMethods: k = ["create", "update", "remove", "delete", "set"]
2105
- } = t, U = {
2121
+ } = o, U = {
2106
2122
  get(d, n) {
2107
2123
  if (typeof n == "symbol")
2108
2124
  return d[n];
@@ -2138,158 +2154,158 @@ function $o(t) {
2138
2154
  };
2139
2155
  return new Proxy(a, U);
2140
2156
  }
2141
- function en(t) {
2142
- return t;
2157
+ function en(o) {
2158
+ return o;
2143
2159
  }
2144
2160
  export {
2145
- to as Auth0ActionEnum,
2146
- Et as Auth0Client,
2161
+ tt as Auth0ActionEnum,
2162
+ So as Auth0Client,
2147
2163
  O as AuthorizationResponseMode,
2148
2164
  T as AuthorizationResponseType,
2149
2165
  N as CodeChallengeMethod,
2150
2166
  y as ComponentCategory,
2151
2167
  C as ComponentType,
2152
- oo as EmailActionEnum,
2153
- eo as FlowActionTypeEnum,
2154
- Tt as GrantType,
2155
- St as LocationInfo,
2156
- bt as LogTypes,
2157
- 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,
2158
2174
  se as NodeType,
2159
2175
  G as RedirectTargetEnum,
2160
2176
  pe as actionNodeSchema,
2161
- Qo as activeUsersResponseSchema,
2177
+ Qt as activeUsersResponseSchema,
2162
2178
  V as addressSchema,
2163
- po as auth0FlowInsertSchema,
2179
+ _t as auth0FlowInsertSchema,
2164
2180
  me as auth0FlowSchema,
2165
- io as auth0QuerySchema,
2181
+ at as auth0QuerySchema,
2166
2182
  M as auth0UpdateUserActionSchema,
2167
- ro as auth0UserResponseSchema,
2183
+ st as auth0UserResponseSchema,
2168
2184
  he as authParamsSchema,
2169
2185
  I as baseUserSchema,
2170
2186
  Je as blockComponentSchema,
2171
- Ot as bordersSchema,
2172
- _o as brandingSchema,
2173
- oe as buttonComponentSchema,
2187
+ No as bordersSchema,
2188
+ dt as brandingSchema,
2189
+ te as buttonComponentSchema,
2174
2190
  $ as clientGrantInsertSchema,
2175
- co as clientGrantListSchema,
2191
+ pt as clientGrantListSchema,
2176
2192
  ee as clientGrantSchema,
2177
2193
  Z as clientInsertSchema,
2178
- lo as clientSchema,
2194
+ ct as clientSchema,
2179
2195
  fe as codeInsertSchema,
2180
- go as codeSchema,
2196
+ gt as codeSchema,
2181
2197
  be as codeTypeSchema,
2182
- Nt as colorsSchema,
2183
- at as componentMessageSchema,
2198
+ Ro as colorsSchema,
2199
+ ao as componentMessageSchema,
2184
2200
  re as componentSchema,
2185
2201
  Se as connectionInsertSchema,
2186
2202
  Ee as connectionOptionsSchema,
2187
- uo as connectionSchema,
2203
+ ut as connectionSchema,
2188
2204
  c as coordinatesSchema,
2189
- $o as createPassthroughAdapter,
2205
+ $t as createPassthroughAdapter,
2190
2206
  en as createWriteOnlyAdapter,
2191
2207
  Ae as customDomainInsertSchema,
2192
2208
  Ce as customDomainSchema,
2193
- mo as customDomainWithTenantIdSchema,
2194
- Jo as customTextEntrySchema,
2195
- Zt as customTextSchema,
2196
- Yo as dailyStatsSchema,
2197
- vo as emailProviderSchema,
2209
+ mt as customDomainWithTenantIdSchema,
2210
+ Jt as customTextEntrySchema,
2211
+ $o as customTextSchema,
2212
+ Yt as dailyStatsSchema,
2213
+ vt as emailProviderSchema,
2198
2214
  P as emailVerificationRulesSchema,
2199
2215
  H as emailVerifyActionSchema,
2200
2216
  ue as endingSchema,
2201
2217
  $e as fieldComponentSchema,
2202
2218
  K as flowActionStepSchema,
2203
2219
  W as flowInsertSchema,
2204
- no as flowSchema,
2220
+ it as flowSchema,
2205
2221
  ie as flowsFieldComponentSchema,
2206
2222
  ce as flowsFlowNodeSchema,
2207
2223
  le as flowsStepNodeSchema,
2208
2224
  l as fontDetailsSchema,
2209
- Rt as fontsSchema,
2210
- ho as formControlSchema,
2211
- it as formInsertSchema,
2225
+ Do as fontsSchema,
2226
+ ht as formControlSchema,
2227
+ io as formInsertSchema,
2212
2228
  R as formNodeComponentDefinition,
2213
- nt as formNodeSchema,
2214
- bo as formSchema,
2229
+ no as formNodeSchema,
2230
+ bt as formSchema,
2215
2231
  ae as genericComponentSchema,
2216
2232
  _e as genericNodeSchema,
2217
- Io as hookInsertSchema,
2218
- Co as hookSchema,
2233
+ It as hookInsertSchema,
2234
+ Ct as hookSchema,
2219
2235
  X as identitySchema,
2220
- gt as inviteInsertSchema,
2221
- yo as inviteSchema,
2222
- dt as inviteeSchema,
2223
- _t as inviterSchema,
2224
- Eo as isBlockComponent,
2225
- Ao as isFieldComponent,
2226
- So as isWidgetComponent,
2227
- To as jwksKeySchema,
2228
- 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,
2229
2245
  ne as legalComponentSchema,
2230
- At as logInsertSchema,
2231
- Ro as logSchema,
2232
- ht as loginSessionInsertSchema,
2233
- No as loginSessionSchema,
2234
- mt as loginSessionStateSchema,
2246
+ Io as logInsertSchema,
2247
+ Rt as logSchema,
2248
+ bo as loginSessionInsertSchema,
2249
+ Nt as loginSessionSchema,
2250
+ ho as loginSessionStateSchema,
2235
2251
  de as nodeSchema,
2236
- Oo as openIDConfigurationSchema,
2237
- Xt as organizationBrandingSchema,
2238
- Vt as organizationEnabledConnectionSchema,
2239
- Yt as organizationInsertSchema,
2240
- Xo as organizationSchema,
2241
- qt as organizationTokenQuotaSchema,
2242
- Dt as pageBackgroundSchema,
2243
- Zo as parseUserId,
2244
- It as passwordInsertSchema,
2245
- 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,
2246
2262
  z as profileDataSchema,
2247
- Jt as promptScreenSchema,
2248
- Fo as promptSettingSchema,
2263
+ Zo as promptScreenSchema,
2264
+ Ft as promptSettingSchema,
2249
2265
  B as redirectActionSchema,
2250
- jt as refreshTokenInsertSchema,
2251
- xo as refreshTokenSchema,
2252
- Ft as resourceServerInsertSchema,
2253
- Ho as resourceServerListSchema,
2254
- Ut as resourceServerOptionsSchema,
2255
- vt as resourceServerSchema,
2256
- kt as resourceServerScopeSchema,
2257
- te as richTextComponentSchema,
2258
- Wt as roleInsertSchema,
2259
- zo as roleListSchema,
2260
- xt as rolePermissionInsertSchema,
2261
- Go as rolePermissionListSchema,
2262
- Pt as rolePermissionSchema,
2263
- zt as roleSchema,
2264
- rt as screenLinkSchema,
2265
- Ct as sessionInsertSchema,
2266
- Lo as sessionSchema,
2267
- wo as signingKeySchema,
2268
- Mo as smsProviderSchema,
2269
- 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,
2270
2286
  ge as startSchema,
2271
- yt as tenantInsertSchema,
2272
- jo as tenantSchema,
2273
- qo as tenantSettingsSchema,
2274
- wt as themeInsertSchema,
2275
- Uo as themeSchema,
2276
- ko as tokenResponseSchema,
2277
- ao as totalsSchema,
2278
- 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,
2279
2295
  q as userInsertSchema,
2280
- Qt as userOrganizationInsertSchema,
2281
- Vo as userOrganizationSchema,
2282
- Mt as userPermissionInsertSchema,
2283
- Bo as userPermissionListSchema,
2284
- Ht as userPermissionSchema,
2285
- Ko as userPermissionWithDetailsListSchema,
2286
- Gt as userPermissionWithDetailsSchema,
2287
- so as userResponseSchema,
2288
- Bt as userRoleInsertSchema,
2289
- Wo as userRoleListSchema,
2290
- 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,
2291
2307
  Y as userSchema,
2292
2308
  Ie as verificationMethodsSchema,
2293
2309
  Ze as widgetComponentSchema,
2294
- Lt as widgetSchema
2310
+ Lo as widgetSchema
2295
2311
  };