@authhero/adapter-interfaces 0.148.0 → 0.150.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
1
  import { z as e } from "@hono/zod-openapi";
2
- const s = e.object({
2
+ const r = e.object({
3
3
  created_at: e.string(),
4
4
  updated_at: e.string()
5
- }), ct = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), _t = e.enum([
5
+ }), gt = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), ut = e.enum([
6
6
  "CREATE_USER",
7
7
  "GET_USER",
8
8
  "UPDATE_USER",
9
9
  "SEND_REQUEST",
10
10
  "SEND_EMAIL"
11
- ]), dt = e.enum(["VERIFY_EMAIL"]), K = e.object({
11
+ ]), mt = e.enum(["VERIFY_EMAIL"]), q = 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(),
15
15
  block_disposable_emails: e.boolean().optional(),
16
16
  blocklist: e.array(e.string()).optional(),
17
17
  allowlist: e.array(e.string()).optional()
18
- }), z = e.object({
18
+ }), X = e.object({
19
19
  id: e.string(),
20
20
  alias: e.string().max(100).optional(),
21
21
  type: e.literal("AUTH0"),
@@ -27,7 +27,7 @@ const s = e.object({
27
27
  user_id: e.string(),
28
28
  changes: e.record(e.string(), e.any())
29
29
  })
30
- }), X = e.object({
30
+ }), V = e.object({
31
31
  id: e.string(),
32
32
  alias: e.string().max(100).optional(),
33
33
  type: e.literal("EMAIL"),
@@ -36,9 +36,9 @@ const s = e.object({
36
36
  mask_output: e.boolean().optional(),
37
37
  params: e.object({
38
38
  email: e.string(),
39
- rules: K.optional()
39
+ rules: q.optional()
40
40
  })
41
- }), q = e.enum(["change-email", "account", "custom"]), V = e.object({
41
+ }), Y = e.enum(["change-email", "account", "custom"]), Q = e.object({
42
42
  id: e.string(),
43
43
  alias: e.string().max(100).optional(),
44
44
  type: e.literal("REDIRECT"),
@@ -46,32 +46,32 @@ const s = e.object({
46
46
  allow_failure: e.boolean().optional(),
47
47
  mask_output: e.boolean().optional(),
48
48
  params: e.object({
49
- target: q.openapi({
49
+ target: Y.openapi({
50
50
  description: "The predefined target to redirect to, or 'custom' for a custom URL"
51
51
  }),
52
52
  custom_url: e.string().optional().openapi({
53
53
  description: "Custom URL to redirect to when target is 'custom'"
54
54
  })
55
55
  })
56
- }), Y = e.union([
57
- z,
56
+ }), Z = e.union([
58
57
  X,
59
- V
60
- ]), Q = e.object({
58
+ V,
59
+ Q
60
+ ]), $ = e.object({
61
61
  name: e.string().min(1).max(150).openapi({
62
62
  description: "The name of the flow"
63
63
  }),
64
64
  // Actions is an array of action steps (Auth0 stores as JSON blob)
65
- actions: e.array(Y).optional().default([]).openapi({
65
+ actions: e.array(Z).optional().default([]).openapi({
66
66
  description: "The list of actions to execute in sequence"
67
67
  })
68
- }), gt = Q.extend({
69
- ...s.shape,
68
+ }), ht = $.extend({
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
- }), ut = e.object({
74
+ }), bt = e.object({
75
75
  page: e.string().min(0).optional().default("0").transform((o) => parseInt(o, 10)).openapi({
76
76
  description: "The page number where 0 is the first page"
77
77
  }),
@@ -87,7 +87,7 @@ const s = e.object({
87
87
  q: e.string().optional().openapi({
88
88
  description: "A lucene query string used to filter the results"
89
89
  })
90
- }), mt = e.object({
90
+ }), ft = e.object({
91
91
  start: e.number(),
92
92
  limit: e.number(),
93
93
  length: e.number(),
@@ -101,7 +101,7 @@ const s = e.object({
101
101
  phone_number: e.string().optional(),
102
102
  phone_verified: e.boolean().optional(),
103
103
  family_name: e.string().optional()
104
- }).catchall(e.any()), Z = e.object({
104
+ }).catchall(e.any()), ee = e.object({
105
105
  connection: e.string(),
106
106
  user_id: e.string(),
107
107
  provider: e.string(),
@@ -115,7 +115,7 @@ const s = e.object({
115
115
  access_token_secret: e.string().optional(),
116
116
  refresh_token: e.string().optional(),
117
117
  profileData: J.optional()
118
- }), $ = e.object({
118
+ }), oe = e.object({
119
119
  formatted: e.string().optional(),
120
120
  // Full mailing address
121
121
  street_address: e.string().optional(),
@@ -160,8 +160,8 @@ const s = e.object({
160
160
  zoneinfo: e.string().optional(),
161
161
  // e.g., "Europe/Paris"
162
162
  // OIDC address claim (OIDC Core 5.1.1)
163
- address: $
164
- }), ee = N.extend({
163
+ address: oe
164
+ }), te = N.extend({
165
165
  email_verified: e.boolean().default(!1),
166
166
  verify_email: e.boolean().optional(),
167
167
  last_ip: e.string().optional(),
@@ -176,29 +176,29 @@ const s = e.object({
176
176
  hash: e.string(),
177
177
  algorithm: e.string()
178
178
  }).optional()
179
- }), oe = e.object({
180
- ...ee.omit({ password: !0 }).shape,
181
- ...s.shape,
179
+ }), ne = e.object({
180
+ ...te.omit({ password: !0 }).shape,
181
+ ...r.shape,
182
182
  user_id: e.string(),
183
183
  provider: e.string(),
184
184
  is_social: e.boolean(),
185
185
  email: e.string().optional(),
186
186
  login_count: e.number().default(0),
187
- identities: e.array(Z).optional()
188
- }), ht = oe, bt = N.extend({
187
+ identities: e.array(ee).optional()
188
+ }), Et = ne, St = N.extend({
189
189
  login_count: e.number(),
190
190
  multifactor: e.array(e.string()).optional(),
191
191
  last_ip: e.string().optional(),
192
192
  last_login: e.string().optional(),
193
193
  user_id: e.string()
194
194
  }).catchall(e.any());
195
- let te = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ne = (o = 21) => {
196
- let n = "", i = crypto.getRandomValues(new Uint8Array(o |= 0));
195
+ let ie = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ae = (o = 21) => {
196
+ let t = "", i = crypto.getRandomValues(new Uint8Array(o |= 0));
197
197
  for (; o--; )
198
- n += te[i[o] & 63];
199
- return n;
198
+ t += ie[i[o] & 63];
199
+ return t;
200
200
  };
201
- const ie = e.object({
201
+ const se = e.object({
202
202
  client_id: e.string().openapi({
203
203
  description: "ID of this client."
204
204
  }),
@@ -211,7 +211,7 @@ const ie = e.object({
211
211
  global: e.boolean().default(!1).openapi({
212
212
  description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
213
213
  }),
214
- client_secret: e.string().default(() => ne()).optional().openapi({
214
+ client_secret: e.string().default(() => ae()).optional().openapi({
215
215
  description: "Client secret (which you must not make public)."
216
216
  }),
217
217
  app_type: e.enum([
@@ -371,11 +371,11 @@ const ie = e.object({
371
371
  description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
372
372
  }),
373
373
  token_quota: e.record(e.any()).default({}).optional()
374
- }), ft = e.object({
374
+ }), At = e.object({
375
375
  created_at: e.string(),
376
376
  updated_at: e.string(),
377
- ...ie.shape
378
- }), ae = e.object({
377
+ ...se.shape
378
+ }), re = e.object({
379
379
  client_id: e.string().min(1).openapi({
380
380
  description: "ID of the client."
381
381
  }),
@@ -400,23 +400,23 @@ const ie = e.object({
400
400
  authorization_details_types: e.array(e.string()).optional().openapi({
401
401
  description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement."
402
402
  })
403
- }), re = e.object({
403
+ }), le = e.object({
404
404
  id: e.string().openapi({
405
405
  description: "ID of the client grant."
406
406
  }),
407
- ...ae.shape,
407
+ ...re.shape,
408
408
  created_at: e.string().optional(),
409
409
  updated_at: e.string().optional()
410
- }), Et = e.array(re), u = e.object({
410
+ }), It = e.array(le), u = e.object({
411
411
  x: e.number(),
412
412
  y: e.number()
413
413
  });
414
- var R = /* @__PURE__ */ ((o) => (o.RICH_TEXT = "RICH_TEXT", o.NEXT_BUTTON = "NEXT_BUTTON", o.BACK_BUTTON = "BACK_BUTTON", o.SUBMIT_BUTTON = "SUBMIT_BUTTON", o.DIVIDER = "DIVIDER", o.TEXT = "TEXT", o.EMAIL = "EMAIL", o.PASSWORD = "PASSWORD", o.NUMBER = "NUMBER", o.PHONE = "PHONE", o.DATE = "DATE", o.CHECKBOX = "CHECKBOX", o.RADIO = "RADIO", o.SELECT = "SELECT", o.HIDDEN = "HIDDEN", o.LEGAL = "LEGAL", o))(R || {}), w = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(w || {});
414
+ var w = /* @__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))(w || {}), R = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(R || {});
415
415
  const y = e.object({
416
416
  id: e.string(),
417
- category: e.nativeEnum(w),
418
- type: e.nativeEnum(R)
419
- }), se = y.extend({
417
+ category: e.nativeEnum(R),
418
+ type: e.nativeEnum(w)
419
+ }), pe = y.extend({
420
420
  category: e.literal(
421
421
  "BLOCK"
422
422
  /* BLOCK */
@@ -428,7 +428,7 @@ const y = e.object({
428
428
  config: e.object({
429
429
  content: e.string()
430
430
  }).passthrough()
431
- }), le = y.extend({
431
+ }), ce = y.extend({
432
432
  category: e.literal(
433
433
  "BLOCK"
434
434
  /* BLOCK */
@@ -450,7 +450,7 @@ const y = e.object({
450
450
  config: e.object({
451
451
  text: e.string()
452
452
  }).passthrough()
453
- }), pe = y.extend({
453
+ }), _e = y.extend({
454
454
  category: e.literal(
455
455
  "FIELD"
456
456
  /* FIELD */
@@ -464,7 +464,7 @@ const y = e.object({
464
464
  config: e.object({
465
465
  text: e.string()
466
466
  }).passthrough()
467
- }), ce = y.extend({
467
+ }), de = y.extend({
468
468
  category: e.literal(
469
469
  "FIELD"
470
470
  /* FIELD */
@@ -517,19 +517,19 @@ const y = e.object({
517
517
  label: e.string().optional(),
518
518
  placeholder: e.string().optional()
519
519
  }).passthrough()
520
- }), _e = e.object({
520
+ }), ge = e.object({
521
521
  id: e.string(),
522
522
  category: e.string(),
523
523
  type: e.string()
524
- }).passthrough(), de = e.union([
525
- se,
526
- le,
524
+ }).passthrough(), ue = e.union([
527
525
  pe,
528
526
  ce,
529
- _e
527
+ _e,
528
+ de,
529
+ ge
530
530
  ]);
531
- var ge = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(ge || {});
532
- const ue = e.object({
531
+ var me = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(me || {});
532
+ const he = e.object({
533
533
  id: e.string(),
534
534
  type: e.literal(
535
535
  "STEP"
@@ -538,10 +538,10 @@ const ue = e.object({
538
538
  coordinates: u,
539
539
  alias: e.string().optional(),
540
540
  config: e.object({
541
- components: e.array(de),
541
+ components: e.array(ue),
542
542
  next_node: e.string()
543
543
  }).passthrough()
544
- }), me = e.object({
544
+ }), be = e.object({
545
545
  id: e.string(),
546
546
  type: e.literal(
547
547
  "FLOW"
@@ -553,7 +553,7 @@ const ue = e.object({
553
553
  flow_id: e.string(),
554
554
  next_node: e.string()
555
555
  })
556
- }), he = e.object({
556
+ }), fe = e.object({
557
557
  id: e.string(),
558
558
  type: e.literal(
559
559
  "ACTION"
@@ -575,43 +575,43 @@ const ue = e.object({
575
575
  description: "The next node to navigate to after action (for non-redirect actions)"
576
576
  })
577
577
  }).passthrough()
578
- }), be = e.object({
578
+ }), Ee = e.object({
579
579
  id: e.string(),
580
580
  type: e.string(),
581
581
  coordinates: u
582
- }).passthrough(), fe = e.union([
583
- ue,
584
- me,
582
+ }).passthrough(), Se = e.union([
585
583
  he,
586
- be
587
- ]), Ee = e.object({
584
+ be,
585
+ fe,
586
+ Ee
587
+ ]), Ae = e.object({
588
588
  next_node: e.string(),
589
589
  coordinates: u
590
- }).passthrough(), Se = e.object({
590
+ }).passthrough(), Ie = e.object({
591
591
  resume_flow: e.boolean().optional(),
592
592
  coordinates: u
593
- }).passthrough(), Ae = e.object({
593
+ }).passthrough(), ye = e.object({
594
594
  id: e.string(),
595
595
  name: e.string(),
596
596
  languages: e.object({
597
597
  primary: e.string()
598
598
  }).passthrough(),
599
- nodes: e.array(fe),
600
- start: Ee,
601
- ending: Se,
599
+ nodes: e.array(Se),
600
+ start: Ae,
601
+ ending: Ie,
602
602
  created_at: e.string(),
603
603
  updated_at: e.string(),
604
604
  links: e.object({
605
605
  sdkSrc: e.string().optional(),
606
606
  sdk_src: e.string().optional()
607
607
  }).passthrough()
608
- }).passthrough(), St = Ae.omit({
608
+ }).passthrough(), yt = ye.omit({
609
609
  id: !0,
610
610
  created_at: !0,
611
611
  updated_at: !0
612
612
  });
613
613
  var j = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "token id_token", o.CODE = "code", o))(j || {}), D = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(D || {}), L = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(L || {});
614
- const Ie = e.object({
614
+ const Ce = e.object({
615
615
  client_id: e.string(),
616
616
  act_as: e.string().optional(),
617
617
  response_type: e.nativeEnum(j).optional(),
@@ -635,7 +635,7 @@ const Ie = e.object({
635
635
  acr_values: e.string().optional(),
636
636
  // The following fields are not available in Auth0
637
637
  vendor_id: e.string().optional()
638
- }), At = e.object({
638
+ }), Ct = e.object({
639
639
  colors: e.object({
640
640
  primary: e.string(),
641
641
  page_background: e.object({
@@ -651,14 +651,15 @@ const Ie = e.object({
651
651
  font: e.object({
652
652
  url: e.string()
653
653
  }).optional()
654
- }), ye = e.enum([
654
+ }), Te = e.enum([
655
655
  "password_reset",
656
656
  "email_verification",
657
657
  "otp",
658
+ "mfa_otp",
658
659
  "authorization_code",
659
660
  "oauth2_state",
660
661
  "ticket"
661
- ]), Ce = e.object({
662
+ ]), Oe = e.object({
662
663
  code_id: e.string().openapi({
663
664
  description: "The code that will be used in for instance an email verification flow"
664
665
  }),
@@ -668,7 +669,7 @@ const Ie = e.object({
668
669
  connection_id: e.string().optional().openapi({
669
670
  description: "The connection that the code is connected to"
670
671
  }),
671
- code_type: ye,
672
+ code_type: Te,
672
673
  code_verifier: e.string().optional().openapi({
673
674
  description: "The code verifier used in PKCE in outbound flows"
674
675
  }),
@@ -681,6 +682,9 @@ const Ie = e.object({
681
682
  redirect_uri: e.string().optional().openapi({
682
683
  description: "The redirect URI associated with the code"
683
684
  }),
685
+ otp: e.string().optional().openapi({
686
+ description: "The one-time password value for OTP-based flows"
687
+ }),
684
688
  nonce: e.string().optional().openapi({
685
689
  description: "The nonce value used for security in OIDC flows"
686
690
  }),
@@ -690,10 +694,10 @@ const Ie = e.object({
690
694
  expires_at: e.string(),
691
695
  used_at: e.string().optional(),
692
696
  user_id: e.string().optional()
693
- }), It = e.object({
694
- ...Ce.shape,
697
+ }), Tt = e.object({
698
+ ...Oe.shape,
695
699
  created_at: e.string()
696
- }), Oe = e.object({
700
+ }), Ne = e.object({
697
701
  kid: e.string().optional(),
698
702
  team_id: e.string().optional(),
699
703
  realms: e.string().optional(),
@@ -805,12 +809,12 @@ const Ie = e.object({
805
809
  }).optional(),
806
810
  // Controls when root user attributes are updated from external IdP
807
811
  set_user_root_attributes: e.enum(["on_each_login", "on_first_login", "never_on_login"]).optional()
808
- }), Te = e.object({
812
+ }), we = e.object({
809
813
  id: e.string().optional(),
810
814
  name: e.string(),
811
815
  display_name: e.string().optional(),
812
816
  strategy: e.string(),
813
- options: Oe.default({}),
817
+ options: Ne.default({}),
814
818
  enabled_clients: e.array(e.string()).default([]).optional(),
815
819
  response_type: e.custom().optional(),
816
820
  response_mode: e.custom().optional(),
@@ -818,11 +822,11 @@ const Ie = e.object({
818
822
  show_as_button: e.boolean().optional(),
819
823
  metadata: e.record(e.any()).optional(),
820
824
  is_system: e.boolean().optional()
821
- }), yt = e.object({
825
+ }), Ot = e.object({
822
826
  id: e.string(),
823
827
  created_at: e.string().transform((o) => o === null ? "" : o),
824
828
  updated_at: e.string().transform((o) => o === null ? "" : o)
825
- }).extend(Te.shape), Ne = e.object({
829
+ }).extend(we.shape), Re = e.object({
826
830
  domain: e.string(),
827
831
  custom_domain_id: e.string().optional(),
828
832
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -836,7 +840,7 @@ const Ie = e.object({
836
840
  "null"
837
841
  ]).optional(),
838
842
  domain_metadata: e.record(e.string().max(255)).optional()
839
- }), Re = e.discriminatedUnion("name", [
843
+ }), je = e.discriminatedUnion("name", [
840
844
  e.object({
841
845
  name: e.literal("txt"),
842
846
  record: e.string(),
@@ -847,17 +851,17 @@ const Ie = e.object({
847
851
  http_body: e.string(),
848
852
  http_url: e.string()
849
853
  })
850
- ]), we = e.object({
851
- ...Ne.shape,
854
+ ]), De = e.object({
855
+ ...Re.shape,
852
856
  custom_domain_id: e.string(),
853
857
  primary: e.boolean(),
854
858
  status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
855
859
  origin_domain_name: e.string().optional(),
856
860
  verification: e.object({
857
- methods: e.array(Re)
861
+ methods: e.array(je)
858
862
  }).optional(),
859
863
  tls_policy: e.string().optional()
860
- }), Ct = we.extend({
864
+ }), Nt = De.extend({
861
865
  tenant_id: e.string()
862
866
  }), C = e.object({
863
867
  id: e.string(),
@@ -865,17 +869,17 @@ const Ie = e.object({
865
869
  visible: e.boolean().optional().default(!0)
866
870
  }), l = C.extend({
867
871
  category: e.literal("BLOCK").optional()
868
- }), je = l.extend({
872
+ }), Le = l.extend({
869
873
  type: e.literal("DIVIDER"),
870
874
  config: e.object({
871
875
  text: e.string().optional()
872
876
  }).optional()
873
- }), De = l.extend({
877
+ }), ve = l.extend({
874
878
  type: e.literal("HTML"),
875
879
  config: e.object({
876
880
  content: e.string().optional()
877
881
  }).optional()
878
- }), Le = l.extend({
882
+ }), ke = l.extend({
879
883
  type: e.literal("IMAGE"),
880
884
  config: e.object({
881
885
  src: e.string().optional(),
@@ -883,55 +887,55 @@ const Ie = e.object({
883
887
  width: e.number().optional(),
884
888
  height: e.number().optional()
885
889
  }).optional()
886
- }), ve = l.extend({
890
+ }), Ue = l.extend({
887
891
  type: e.literal("JUMP_BUTTON"),
888
892
  config: e.object({
889
893
  text: e.string().optional(),
890
894
  target_step: e.string().optional()
891
895
  })
892
- }), ke = l.extend({
896
+ }), Fe = l.extend({
893
897
  type: e.literal("RESEND_BUTTON"),
894
898
  config: e.object({
895
899
  text: e.string().optional(),
896
900
  resend_action: e.string().optional()
897
901
  })
898
- }), Ue = l.extend({
902
+ }), xe = l.extend({
899
903
  type: e.literal("NEXT_BUTTON"),
900
904
  config: e.object({
901
905
  text: e.string().optional()
902
906
  })
903
- }), Fe = l.extend({
907
+ }), Pe = l.extend({
904
908
  type: e.literal("PREVIOUS_BUTTON"),
905
909
  config: e.object({
906
910
  text: e.string().optional()
907
911
  })
908
- }), xe = l.extend({
912
+ }), Me = l.extend({
909
913
  type: e.literal("RICH_TEXT"),
910
914
  config: e.object({
911
915
  content: e.string().optional()
912
916
  }).optional()
913
- }), O = C.extend({
917
+ }), T = C.extend({
914
918
  category: e.literal("WIDGET").optional(),
915
919
  label: e.string().min(1).optional(),
916
920
  hint: e.string().min(1).max(500).optional(),
917
921
  required: e.boolean().optional(),
918
922
  sensitive: e.boolean().optional()
919
- }), Pe = O.extend({
923
+ }), He = T.extend({
920
924
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
921
925
  config: e.object({
922
926
  credential_type: e.string().optional()
923
927
  })
924
- }), Me = O.extend({
928
+ }), Ge = T.extend({
925
929
  type: e.literal("GMAPS_ADDRESS"),
926
930
  config: e.object({
927
931
  api_key: e.string().optional()
928
932
  })
929
- }), He = O.extend({
933
+ }), Be = T.extend({
930
934
  type: e.literal("RECAPTCHA"),
931
935
  config: e.object({
932
936
  site_key: e.string().optional()
933
937
  })
934
- }), t = C.extend({
938
+ }), n = C.extend({
935
939
  category: e.literal("FIELD").optional(),
936
940
  label: e.string().min(1).optional(),
937
941
  hint: e.string().min(1).max(500).optional(),
@@ -944,12 +948,12 @@ const Ie = e.object({
944
948
  ).optional(),
945
949
  required: e.boolean().optional(),
946
950
  sensitive: e.boolean().optional()
947
- }), Ge = t.extend({
951
+ }), We = n.extend({
948
952
  type: e.literal("BOOLEAN"),
949
953
  config: e.object({
950
954
  default_value: e.boolean().optional()
951
955
  }).optional()
952
- }), Be = t.extend({
956
+ }), Ke = n.extend({
953
957
  type: e.literal("CARDS"),
954
958
  config: e.object({
955
959
  options: e.array(
@@ -962,7 +966,7 @@ const Ie = e.object({
962
966
  ).optional(),
963
967
  multi_select: e.boolean().optional()
964
968
  }).optional()
965
- }), We = t.extend({
969
+ }), ze = n.extend({
966
970
  type: e.literal("CHOICE"),
967
971
  config: e.object({
968
972
  options: e.array(
@@ -975,7 +979,7 @@ const Ie = e.object({
975
979
  multiple: e.boolean().optional(),
976
980
  default_value: e.union([e.string(), e.array(e.string())]).optional()
977
981
  }).optional()
978
- }), Ke = t.extend({
982
+ }), qe = n.extend({
979
983
  type: e.literal("CUSTOM"),
980
984
  config: e.object({
981
985
  component: e.string().optional(),
@@ -983,7 +987,7 @@ const Ie = e.object({
983
987
  schema: e.record(e.any()).optional(),
984
988
  code: e.string().optional()
985
989
  })
986
- }), ze = t.extend({
990
+ }), Xe = n.extend({
987
991
  type: e.literal("DATE"),
988
992
  config: e.object({
989
993
  format: e.string().optional(),
@@ -991,7 +995,7 @@ const Ie = e.object({
991
995
  max: e.string().optional(),
992
996
  default_value: e.string().optional()
993
997
  }).optional()
994
- }), Xe = t.extend({
998
+ }), Ve = n.extend({
995
999
  type: e.literal("DROPDOWN"),
996
1000
  config: e.object({
997
1001
  options: e.array(
@@ -1005,26 +1009,26 @@ const Ie = e.object({
1005
1009
  multiple: e.boolean().optional(),
1006
1010
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1007
1011
  }).optional()
1008
- }), qe = t.extend({
1012
+ }), Ye = n.extend({
1009
1013
  type: e.literal("EMAIL"),
1010
1014
  config: e.object({
1011
1015
  placeholder: e.string().optional(),
1012
1016
  default_value: e.string().optional()
1013
1017
  }).optional()
1014
- }), Ve = t.extend({
1018
+ }), Qe = n.extend({
1015
1019
  type: e.literal("FILE"),
1016
1020
  config: e.object({
1017
1021
  accept: e.string().optional(),
1018
1022
  max_size: e.number().optional(),
1019
1023
  multiple: e.boolean().optional()
1020
1024
  }).optional()
1021
- }), Ye = t.extend({
1025
+ }), Ze = n.extend({
1022
1026
  type: e.literal("LEGAL"),
1023
1027
  config: e.object({
1024
1028
  text: e.string(),
1025
1029
  html: e.boolean().optional()
1026
1030
  }).optional()
1027
- }), Qe = t.extend({
1031
+ }), $e = n.extend({
1028
1032
  type: e.literal("NUMBER"),
1029
1033
  config: e.object({
1030
1034
  placeholder: e.string().optional(),
@@ -1033,7 +1037,7 @@ const Ie = e.object({
1033
1037
  step: e.number().optional(),
1034
1038
  default_value: e.string().optional()
1035
1039
  }).optional()
1036
- }), Je = t.extend({
1040
+ }), Je = n.extend({
1037
1041
  type: e.literal("PASSWORD"),
1038
1042
  config: e.object({
1039
1043
  placeholder: e.string().optional(),
@@ -1042,13 +1046,13 @@ const Ie = e.object({
1042
1046
  forgot_password_link: e.string().optional(),
1043
1047
  default_value: e.string().optional()
1044
1048
  }).optional()
1045
- }), Ze = t.extend({
1049
+ }), eo = n.extend({
1046
1050
  type: e.literal("PAYMENT"),
1047
1051
  config: e.object({
1048
1052
  provider: e.string().optional(),
1049
1053
  currency: e.string().optional()
1050
1054
  }).optional()
1051
- }), $e = t.extend({
1055
+ }), oo = n.extend({
1052
1056
  type: e.literal("SOCIAL"),
1053
1057
  config: e.object({
1054
1058
  providers: e.array(e.string()).optional(),
@@ -1063,7 +1067,7 @@ const Ie = e.object({
1063
1067
  })
1064
1068
  ).optional()
1065
1069
  }).optional()
1066
- }), eo = t.extend({
1070
+ }), to = n.extend({
1067
1071
  type: e.literal("TEL"),
1068
1072
  config: e.object({
1069
1073
  placeholder: e.string().optional(),
@@ -1071,7 +1075,7 @@ const Ie = e.object({
1071
1075
  default_value: e.string().optional(),
1072
1076
  allow_email: e.boolean().optional()
1073
1077
  }).optional()
1074
- }), oo = t.extend({
1078
+ }), no = n.extend({
1075
1079
  type: e.literal("TEXT"),
1076
1080
  config: e.object({
1077
1081
  placeholder: e.string().optional(),
@@ -1079,54 +1083,54 @@ const Ie = e.object({
1079
1083
  max_length: e.number().optional(),
1080
1084
  default_value: e.string().optional()
1081
1085
  }).optional()
1082
- }), to = t.extend({
1086
+ }), io = n.extend({
1083
1087
  type: e.literal("COUNTRY"),
1084
1088
  config: e.object({
1085
1089
  placeholder: e.string().optional(),
1086
1090
  default_value: e.string().optional()
1087
1091
  }).optional()
1088
- }), no = t.extend({
1092
+ }), ao = n.extend({
1089
1093
  type: e.literal("URL"),
1090
1094
  config: e.object({
1091
1095
  placeholder: e.string().optional(),
1092
1096
  default_value: e.string().optional()
1093
1097
  }).optional()
1094
- }), io = e.discriminatedUnion("type", [
1095
- je,
1096
- De,
1098
+ }), so = e.discriminatedUnion("type", [
1097
1099
  Le,
1098
1100
  ve,
1099
1101
  ke,
1100
1102
  Ue,
1101
1103
  Fe,
1102
- xe
1103
- ]), ao = e.discriminatedUnion("type", [
1104
+ xe,
1104
1105
  Pe,
1105
- Me,
1106
- He
1106
+ Me
1107
1107
  ]), ro = e.discriminatedUnion("type", [
1108
+ He,
1108
1109
  Ge,
1109
- Be,
1110
+ Be
1111
+ ]), lo = e.discriminatedUnion("type", [
1110
1112
  We,
1111
- to,
1112
1113
  Ke,
1113
1114
  ze,
1114
- Xe,
1115
+ io,
1115
1116
  qe,
1117
+ Xe,
1116
1118
  Ve,
1117
1119
  Ye,
1118
1120
  Qe,
1119
- Je,
1120
1121
  Ze,
1121
1122
  $e,
1123
+ Je,
1122
1124
  eo,
1123
1125
  oo,
1124
- no
1126
+ to,
1127
+ no,
1128
+ ao
1125
1129
  ]), v = e.union([
1126
- io,
1127
- ao,
1128
- ro
1129
- ]), Ot = /* @__PURE__ */ new Set([
1130
+ so,
1131
+ ro,
1132
+ lo
1133
+ ]), wt = /* @__PURE__ */ new Set([
1130
1134
  "BOOLEAN",
1131
1135
  "CARDS",
1132
1136
  "CHOICE",
@@ -1140,7 +1144,7 @@ const Ie = e.object({
1140
1144
  "TEL",
1141
1145
  "TEXT",
1142
1146
  "URL"
1143
- ]), Tt = e.object({
1147
+ ]), Rt = e.object({
1144
1148
  id: e.string(),
1145
1149
  type: e.literal("submit"),
1146
1150
  label: e.string(),
@@ -1152,7 +1156,7 @@ const Ie = e.object({
1152
1156
  }), f = e.object({
1153
1157
  x: e.number(),
1154
1158
  y: e.number()
1155
- }), so = e.object({
1159
+ }), po = e.object({
1156
1160
  id: e.string(),
1157
1161
  type: e.literal("FLOW"),
1158
1162
  coordinates: f,
@@ -1161,7 +1165,7 @@ const Ie = e.object({
1161
1165
  flow_id: e.string().max(30),
1162
1166
  next_node: e.string().optional()
1163
1167
  })
1164
- }), lo = e.object({
1168
+ }), co = e.object({
1165
1169
  id: e.string(),
1166
1170
  type: e.literal("ROUTER"),
1167
1171
  coordinates: f,
@@ -1177,7 +1181,7 @@ const Ie = e.object({
1177
1181
  ),
1178
1182
  fallback: e.string()
1179
1183
  })
1180
- }), po = e.object({
1184
+ }), _o = e.object({
1181
1185
  id: e.string(),
1182
1186
  type: e.literal("STEP"),
1183
1187
  coordinates: f,
@@ -1186,11 +1190,11 @@ const Ie = e.object({
1186
1190
  components: e.array(v),
1187
1191
  next_node: e.string().optional()
1188
1192
  })
1189
- }), co = e.discriminatedUnion("type", [
1190
- so,
1191
- lo,
1192
- po
1193
- ]), _o = e.object({
1193
+ }), go = e.discriminatedUnion("type", [
1194
+ po,
1195
+ co,
1196
+ _o
1197
+ ]), uo = e.object({
1194
1198
  name: e.string().openapi({
1195
1199
  description: "The name of the form"
1196
1200
  }),
@@ -1203,7 +1207,7 @@ const Ie = e.object({
1203
1207
  default: e.string().optional()
1204
1208
  }).optional(),
1205
1209
  translations: e.record(e.string(), e.any()).optional(),
1206
- nodes: e.array(co).optional(),
1210
+ nodes: e.array(go).optional(),
1207
1211
  start: e.object({
1208
1212
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1209
1213
  next_node: e.string().optional(),
@@ -1225,20 +1229,20 @@ const Ie = e.object({
1225
1229
  }).optional()
1226
1230
  }).openapi({
1227
1231
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1228
- }), Nt = e.object({
1229
- ...s.shape,
1230
- ..._o.shape,
1232
+ }), jt = e.object({
1233
+ ...r.shape,
1234
+ ...uo.shape,
1231
1235
  id: e.string()
1232
- }), go = e.object({
1236
+ }), mo = e.object({
1233
1237
  id: e.number().optional(),
1234
1238
  text: e.string(),
1235
1239
  type: e.enum(["info", "error", "success", "warning"])
1236
- }), uo = e.object({
1240
+ }), ho = e.object({
1237
1241
  id: e.string().optional(),
1238
1242
  text: e.string(),
1239
1243
  href: e.string(),
1240
1244
  linkText: e.string().optional()
1241
- }), Rt = e.object({
1245
+ }), Dt = e.object({
1242
1246
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1243
1247
  name: e.string().optional(),
1244
1248
  action: e.string(),
@@ -1246,18 +1250,18 @@ const Ie = e.object({
1246
1250
  title: e.string().optional(),
1247
1251
  description: e.string().optional(),
1248
1252
  components: e.array(v),
1249
- messages: e.array(go).optional(),
1250
- links: e.array(uo).optional(),
1253
+ messages: e.array(mo).optional(),
1254
+ links: e.array(ho).optional(),
1251
1255
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1252
1256
  footer: e.string().optional()
1253
1257
  });
1254
- function wt(o) {
1258
+ function Lt(o) {
1255
1259
  return o.category === "BLOCK";
1256
1260
  }
1257
- function jt(o) {
1261
+ function vt(o) {
1258
1262
  return o.category === "WIDGET";
1259
1263
  }
1260
- function Dt(o) {
1264
+ function kt(o) {
1261
1265
  return o.category === "FIELD";
1262
1266
  }
1263
1267
  const k = e.enum([
@@ -1281,7 +1285,7 @@ const k = e.enum([
1281
1285
  ]), x = e.enum([
1282
1286
  "ensure-username",
1283
1287
  "set-preferred-username"
1284
- ]), Lt = {
1288
+ ]), Ut = {
1285
1289
  "ensure-username": {
1286
1290
  name: "Ensure Username",
1287
1291
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1297,52 +1301,52 @@ const k = e.enum([
1297
1301
  synchronous: e.boolean().default(!1),
1298
1302
  priority: e.number().optional(),
1299
1303
  hook_id: e.string().optional()
1300
- }, mo = e.object({
1304
+ }, bo = e.object({
1301
1305
  ...m,
1302
1306
  trigger_id: k,
1303
1307
  url: e.string()
1304
- }), ho = e.object({
1308
+ }), fo = e.object({
1305
1309
  ...m,
1306
1310
  trigger_id: U,
1307
1311
  form_id: e.string()
1308
- }), bo = e.object({
1312
+ }), Eo = e.object({
1309
1313
  ...m,
1310
1314
  trigger_id: F,
1311
1315
  template_id: x
1312
- }), vt = e.union([
1313
- mo,
1314
- ho,
1315
- bo
1316
- ]), fo = e.object({
1316
+ }), Ft = e.union([
1317
+ bo,
1318
+ fo,
1319
+ Eo
1320
+ ]), So = e.object({
1317
1321
  ...m,
1318
1322
  trigger_id: k,
1319
- ...s.shape,
1323
+ ...r.shape,
1320
1324
  hook_id: e.string(),
1321
1325
  url: e.string()
1322
- }), Eo = e.object({
1326
+ }), Ao = e.object({
1323
1327
  ...m,
1324
1328
  trigger_id: U,
1325
- ...s.shape,
1329
+ ...r.shape,
1326
1330
  hook_id: e.string(),
1327
1331
  form_id: e.string()
1328
- }), So = e.object({
1332
+ }), Io = e.object({
1329
1333
  ...m,
1330
1334
  trigger_id: F,
1331
- ...s.shape,
1335
+ ...r.shape,
1332
1336
  hook_id: e.string(),
1333
1337
  template_id: x
1334
- }), kt = e.union([
1335
- fo,
1336
- Eo,
1337
- So
1338
- ]), Ao = e.object({
1338
+ }), xt = e.union([
1339
+ So,
1340
+ Ao,
1341
+ Io
1342
+ ]), yo = e.object({
1339
1343
  name: e.string().optional()
1340
- }), Io = e.object({
1344
+ }), Co = e.object({
1341
1345
  email: e.string().optional()
1342
- }), yo = e.object({
1346
+ }), To = e.object({
1343
1347
  organization_id: e.string().max(50),
1344
- inviter: Ao,
1345
- invitee: Io,
1348
+ inviter: yo,
1349
+ invitee: Co,
1346
1350
  invitation_url: e.string().url(),
1347
1351
  client_id: e.string(),
1348
1352
  connection_id: e.string().optional(),
@@ -1351,13 +1355,13 @@ const k = e.enum([
1351
1355
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1352
1356
  roles: e.array(e.string()).default([]).optional(),
1353
1357
  send_invitation_email: e.boolean().default(!0).optional()
1354
- }), Ut = e.object({
1358
+ }), Pt = e.object({
1355
1359
  id: e.string(),
1356
1360
  organization_id: e.string().max(50),
1357
1361
  created_at: e.string().datetime(),
1358
1362
  expires_at: e.string().datetime(),
1359
1363
  ticket_id: e.string().optional()
1360
- }).extend(yo.shape), Co = e.object({
1364
+ }).extend(To.shape), Oo = e.object({
1361
1365
  alg: e.enum([
1362
1366
  "RS256",
1363
1367
  "RS384",
@@ -1376,9 +1380,9 @@ const k = e.enum([
1376
1380
  x5t: e.string().optional(),
1377
1381
  x5c: e.array(e.string()).optional(),
1378
1382
  use: e.enum(["sig", "enc"]).optional()
1379
- }), Ft = e.object({
1380
- keys: e.array(Co)
1381
- }), xt = e.object({
1383
+ }), Mt = e.object({
1384
+ keys: e.array(Oo)
1385
+ }), Ht = e.object({
1382
1386
  issuer: e.string(),
1383
1387
  authorization_endpoint: e.string(),
1384
1388
  token_endpoint: e.string(),
@@ -1400,18 +1404,18 @@ const k = e.enum([
1400
1404
  request_parameter_supported: e.boolean(),
1401
1405
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1402
1406
  });
1403
- var P = /* @__PURE__ */ ((o) => (o.PENDING = "pending", o.AUTHENTICATED = "authenticated", o.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", o.AWAITING_HOOK = "awaiting_hook", o.AWAITING_CONTINUATION = "awaiting_continuation", o.COMPLETED = "completed", o.FAILED = "failed", o.EXPIRED = "expired", o))(P || {});
1404
- const Oo = e.nativeEnum(P), To = e.object({
1407
+ var P = /* @__PURE__ */ ((o) => (o.PENDING = "pending", o.AUTHENTICATED = "authenticated", o.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", o.AWAITING_MFA = "awaiting_mfa", o.AWAITING_HOOK = "awaiting_hook", o.AWAITING_CONTINUATION = "awaiting_continuation", o.COMPLETED = "completed", o.FAILED = "failed", o.EXPIRED = "expired", o))(P || {});
1408
+ const No = e.nativeEnum(P), wo = e.object({
1405
1409
  csrf_token: e.string(),
1406
1410
  auth0Client: e.string().optional(),
1407
- authParams: Ie,
1411
+ authParams: Ce,
1408
1412
  expires_at: e.string(),
1409
1413
  deleted_at: e.string().optional(),
1410
1414
  ip: e.string().optional(),
1411
1415
  useragent: e.string().optional(),
1412
1416
  session_id: e.string().optional(),
1413
1417
  authorization_url: e.string().optional(),
1414
- state: Oo.optional().default(
1418
+ state: No.optional().default(
1415
1419
  "pending"
1416
1420
  /* PENDING */
1417
1421
  ),
@@ -1424,14 +1428,14 @@ const Oo = e.nativeEnum(P), To = e.object({
1424
1428
  // The connection used to authenticate (may differ from primary user's connection)
1425
1429
  }).openapi({
1426
1430
  description: "This represents a login sesion"
1427
- }), Pt = e.object({
1428
- ...To.shape,
1431
+ }), Gt = e.object({
1432
+ ...wo.shape,
1429
1433
  id: e.string().openapi({
1430
1434
  description: "This is is used as the state in the universal login"
1431
1435
  }),
1432
1436
  created_at: e.string(),
1433
1437
  updated_at: e.string()
1434
- }), No = {
1438
+ }), Ro = {
1435
1439
  // Network & System
1436
1440
  ACLS_SUMMARY: "acls_summary",
1437
1441
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1602,24 +1606,24 @@ const Oo = e.nativeEnum(P), To = e.object({
1602
1606
  WARNING_DURING_LOGIN: "w",
1603
1607
  WARNING_SENDING_NOTIFICATION: "wn",
1604
1608
  WARNING_USER_MANAGEMENT: "wum"
1605
- }, Ro = e.string().refine(
1606
- (o) => Object.values(No).includes(o),
1609
+ }, jo = e.string().refine(
1610
+ (o) => Object.values(Ro).includes(o),
1607
1611
  { message: "Invalid log type" }
1608
- ), wo = e.object({
1612
+ ), Do = e.object({
1609
1613
  name: e.string(),
1610
1614
  version: e.string(),
1611
1615
  env: e.object({
1612
1616
  node: e.string().optional()
1613
1617
  }).optional()
1614
- }), jo = e.object({
1618
+ }), Lo = e.object({
1615
1619
  country_code: e.string().length(2),
1616
1620
  city_name: e.string(),
1617
1621
  latitude: e.string(),
1618
1622
  longitude: e.string(),
1619
1623
  time_zone: e.string(),
1620
1624
  continent_code: e.string()
1621
- }), Do = e.object({
1622
- type: Ro,
1625
+ }), vo = e.object({
1626
+ type: jo,
1623
1627
  date: e.string(),
1624
1628
  description: e.string().optional(),
1625
1629
  ip: e.string().optional(),
@@ -1638,19 +1642,19 @@ const Oo = e.nativeEnum(P), To = e.object({
1638
1642
  strategy: e.string().optional(),
1639
1643
  strategy_type: e.string().optional(),
1640
1644
  hostname: e.string().optional(),
1641
- auth0_client: wo.optional(),
1645
+ auth0_client: Do.optional(),
1642
1646
  log_id: e.string().optional(),
1643
- location_info: jo.optional()
1644
- }), Mt = e.object({
1645
- ...Do.shape,
1647
+ location_info: Lo.optional()
1648
+ }), Bt = e.object({
1649
+ ...vo.shape,
1646
1650
  log_id: e.string()
1647
- }), Lo = e.object({
1651
+ }), ko = e.object({
1648
1652
  id: e.string().optional(),
1649
1653
  user_id: e.string(),
1650
1654
  password: e.string(),
1651
1655
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1652
1656
  is_current: e.boolean().default(!0)
1653
- }), Ht = Lo.extend({
1657
+ }), Wt = ko.extend({
1654
1658
  id: e.string(),
1655
1659
  created_at: e.string(),
1656
1660
  updated_at: e.string()
@@ -1661,7 +1665,7 @@ const Oo = e.nativeEnum(P), To = e.object({
1661
1665
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1662
1666
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1663
1667
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1664
- }), vo = e.object({
1668
+ }), Uo = e.object({
1665
1669
  id: e.string(),
1666
1670
  revoked_at: e.string().optional(),
1667
1671
  used_at: e.string().optional(),
@@ -1673,13 +1677,13 @@ const Oo = e.nativeEnum(P), To = e.object({
1673
1677
  "Metadata related to the device used in the session"
1674
1678
  ),
1675
1679
  clients: e.array(e.string()).describe("List of client details for the session")
1676
- }), Gt = e.object({
1680
+ }), Kt = e.object({
1677
1681
  created_at: e.string(),
1678
1682
  updated_at: e.string(),
1679
1683
  authenticated_at: e.string(),
1680
1684
  last_interaction_at: e.string(),
1681
- ...vo.shape
1682
- }), Bt = e.object({
1685
+ ...Uo.shape
1686
+ }), zt = e.object({
1683
1687
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1684
1688
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1685
1689
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1704,7 +1708,7 @@ const Oo = e.nativeEnum(P), To = e.object({
1704
1708
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1705
1709
  description: "The type of the signing key"
1706
1710
  })
1707
- }), ko = e.object({
1711
+ }), Fo = e.object({
1708
1712
  id: e.string().optional(),
1709
1713
  // Basic settings
1710
1714
  audience: e.string(),
@@ -1830,6 +1834,8 @@ const Oo = e.nativeEnum(P), To = e.object({
1830
1834
  authorization_response_iss_parameter_supported: e.boolean().optional(),
1831
1835
  // Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
1832
1836
  mfa: e.object({
1837
+ // MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
1838
+ policy: e.enum(["never", "always"]).default("never").optional(),
1833
1839
  // Factor states
1834
1840
  factors: e.object({
1835
1841
  sms: e.boolean().default(!1),
@@ -1857,14 +1863,14 @@ const Oo = e.nativeEnum(P), To = e.object({
1857
1863
  message: e.string().optional()
1858
1864
  }).optional()
1859
1865
  }).optional()
1860
- }), Wt = e.object({
1866
+ }), qt = e.object({
1861
1867
  created_at: e.string().nullable().transform((o) => o ?? ""),
1862
1868
  updated_at: e.string().nullable().transform((o) => o ?? ""),
1863
- ...ko.shape,
1869
+ ...Fo.shape,
1864
1870
  id: e.string()
1865
1871
  });
1866
- var Uo = /* @__PURE__ */ ((o) => (o.RefreshToken = "refresh_token", o.AuthorizationCode = "authorization_code", o.ClientCredential = "client_credentials", o.Passwordless = "passwordless", o.Password = "password", o.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", o))(Uo || {});
1867
- const Kt = e.object({
1872
+ var xo = /* @__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))(xo || {});
1873
+ const Xt = e.object({
1868
1874
  access_token: e.string(),
1869
1875
  id_token: e.string().optional(),
1870
1876
  scope: e.string().optional(),
@@ -1877,7 +1883,7 @@ e.object({
1877
1883
  code: e.string(),
1878
1884
  state: e.string().optional()
1879
1885
  });
1880
- const Fo = e.object({
1886
+ const Po = e.object({
1881
1887
  button_border_radius: e.number(),
1882
1888
  button_border_weight: e.number(),
1883
1889
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1887,7 +1893,7 @@ const Fo = e.object({
1887
1893
  show_widget_shadow: e.boolean(),
1888
1894
  widget_border_weight: e.number(),
1889
1895
  widget_corner_radius: e.number()
1890
- }), xo = e.object({
1896
+ }), Mo = e.object({
1891
1897
  base_focus_color: e.string(),
1892
1898
  base_hover_color: e.string(),
1893
1899
  body_text: e.string(),
@@ -1910,7 +1916,7 @@ const Fo = e.object({
1910
1916
  }), g = e.object({
1911
1917
  bold: e.boolean(),
1912
1918
  size: e.number()
1913
- }), Po = e.object({
1919
+ }), Ho = e.object({
1914
1920
  body_text: g,
1915
1921
  buttons_text: g,
1916
1922
  font_url: e.string(),
@@ -1920,31 +1926,31 @@ const Fo = e.object({
1920
1926
  reference_text_size: e.number(),
1921
1927
  subtitle: g,
1922
1928
  title: g
1923
- }), Mo = e.object({
1929
+ }), Go = e.object({
1924
1930
  background_color: e.string(),
1925
1931
  background_image_url: e.string(),
1926
1932
  page_layout: e.enum(["center", "left", "right"])
1927
- }), Ho = e.object({
1933
+ }), Bo = e.object({
1928
1934
  header_text_alignment: e.enum(["center", "left", "right"]),
1929
1935
  logo_height: e.number(),
1930
1936
  logo_position: e.enum(["center", "left", "none", "right"]),
1931
1937
  logo_url: e.string(),
1932
1938
  social_buttons_layout: e.enum(["bottom", "top"])
1933
- }), Go = e.object({
1934
- borders: Fo,
1935
- colors: xo,
1939
+ }), Wo = e.object({
1940
+ borders: Po,
1941
+ colors: Mo,
1936
1942
  displayName: e.string(),
1937
- fonts: Po,
1938
- page_background: Mo,
1939
- widget: Ho
1940
- }), zt = Go.extend({
1943
+ fonts: Ho,
1944
+ page_background: Go,
1945
+ widget: Bo
1946
+ }), Vt = Wo.extend({
1941
1947
  themeId: e.string()
1942
- }), Xt = e.object({
1948
+ }), Yt = e.object({
1943
1949
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1944
1950
  identifier_first: e.boolean().default(!0),
1945
1951
  password_first: e.boolean().default(!1),
1946
1952
  webauthn_platform_first_factor: e.boolean()
1947
- }), qt = e.object({
1953
+ }), Qt = e.object({
1948
1954
  name: e.string(),
1949
1955
  enabled: e.boolean().optional().default(!0),
1950
1956
  default_from_address: e.string().optional(),
@@ -1974,7 +1980,7 @@ const Fo = e.object({
1974
1980
  })
1975
1981
  ]),
1976
1982
  settings: e.object({}).optional()
1977
- }), Bo = e.object({
1983
+ }), Ko = e.object({
1978
1984
  // The actual refresh token value (primary key).
1979
1985
  id: e.string(),
1980
1986
  // Link to the login session
@@ -1995,21 +2001,21 @@ const Fo = e.object({
1995
2001
  })
1996
2002
  ),
1997
2003
  rotating: e.boolean()
1998
- }), Vt = e.object({
2004
+ }), Zt = e.object({
1999
2005
  // When the refresh token record was created.
2000
2006
  created_at: e.string(),
2001
2007
  // Spread in the rest of the refresh token properties.
2002
- ...Bo.shape
2003
- }), Yt = e.object({
2008
+ ...Ko.shape
2009
+ }), $t = e.object({
2004
2010
  to: e.string(),
2005
2011
  message: e.string()
2006
- }), Qt = e.object({
2012
+ }), Jt = e.object({
2007
2013
  name: e.string(),
2008
2014
  options: e.object({})
2009
- }), Wo = e.object({
2015
+ }), zo = e.object({
2010
2016
  value: e.string(),
2011
2017
  description: e.string().optional()
2012
- }), Ko = e.object({
2018
+ }), qo = e.object({
2013
2019
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2014
2020
  enforce_policies: e.boolean().optional(),
2015
2021
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2019,11 +2025,11 @@ const Fo = e.object({
2019
2025
  mtls: e.object({
2020
2026
  bound_access_tokens: e.boolean().optional()
2021
2027
  }).optional()
2022
- }), zo = e.object({
2028
+ }), Xo = e.object({
2023
2029
  id: e.string().optional(),
2024
2030
  name: e.string(),
2025
2031
  identifier: e.string(),
2026
- scopes: e.array(Wo).optional(),
2032
+ scopes: e.array(zo).optional(),
2027
2033
  signing_alg: e.string().optional(),
2028
2034
  signing_secret: e.string().optional(),
2029
2035
  token_lifetime: e.number().optional(),
@@ -2031,30 +2037,30 @@ const Fo = e.object({
2031
2037
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2032
2038
  allow_offline_access: e.boolean().optional(),
2033
2039
  verificationKey: e.string().optional(),
2034
- options: Ko.optional(),
2040
+ options: qo.optional(),
2035
2041
  is_system: e.boolean().optional(),
2036
2042
  metadata: e.record(e.any()).optional()
2037
- }), Xo = e.object({
2038
- ...zo.shape,
2043
+ }), Vo = e.object({
2044
+ ...Xo.shape,
2039
2045
  created_at: e.string().optional(),
2040
2046
  updated_at: e.string().optional()
2041
- }), Jt = e.array(Xo), qo = e.object({
2047
+ }), en = e.array(Vo), Yo = e.object({
2042
2048
  role_id: e.string(),
2043
2049
  resource_server_identifier: e.string(),
2044
2050
  permission_name: e.string()
2045
- }), Vo = e.object({
2046
- ...qo.shape,
2051
+ }), Qo = e.object({
2052
+ ...Yo.shape,
2047
2053
  created_at: e.string()
2048
- }), Zt = e.array(Vo), Yo = e.object({
2054
+ }), on = e.array(Qo), Zo = e.object({
2049
2055
  user_id: e.string(),
2050
2056
  resource_server_identifier: e.string(),
2051
2057
  permission_name: e.string(),
2052
2058
  organization_id: e.string().optional()
2053
- }), Qo = e.object({
2054
- ...Yo.shape,
2059
+ }), $o = e.object({
2060
+ ...Zo.shape,
2055
2061
  tenant_id: e.string(),
2056
2062
  created_at: e.string().optional()
2057
- }), $t = e.array(Qo), Jo = e.object({
2063
+ }), tn = e.array($o), Jo = e.object({
2058
2064
  user_id: e.string(),
2059
2065
  resource_server_identifier: e.string(),
2060
2066
  resource_server_name: e.string(),
@@ -2062,17 +2068,17 @@ const Fo = e.object({
2062
2068
  description: e.string().nullable().optional(),
2063
2069
  created_at: e.string().optional(),
2064
2070
  organization_id: e.string().optional()
2065
- }), en = e.array(
2071
+ }), nn = e.array(
2066
2072
  Jo
2067
- ), Zo = e.object({
2073
+ ), et = e.object({
2068
2074
  user_id: e.string(),
2069
2075
  role_id: e.string(),
2070
2076
  organization_id: e.string().optional()
2071
- }), $o = e.object({
2072
- ...Zo.shape,
2077
+ }), ot = e.object({
2078
+ ...et.shape,
2073
2079
  tenant_id: e.string(),
2074
2080
  created_at: e.string().optional()
2075
- }), on = e.array($o), et = e.object({
2081
+ }), an = e.array(ot), tt = e.object({
2076
2082
  id: e.string().optional().openapi({
2077
2083
  description: "The unique identifier of the role. If not provided, one will be generated."
2078
2084
  }),
@@ -2086,13 +2092,13 @@ const Fo = e.object({
2086
2092
  metadata: e.record(e.any()).optional().openapi({
2087
2093
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2088
2094
  })
2089
- }), ot = et.extend({
2095
+ }), nt = tt.extend({
2090
2096
  id: e.string().openapi({
2091
2097
  description: "The unique identifier of the role"
2092
2098
  }),
2093
2099
  created_at: e.string().optional(),
2094
2100
  updated_at: e.string().optional()
2095
- }), tn = e.array(ot), tt = e.object({
2101
+ }), sn = e.array(nt), it = e.object({
2096
2102
  logo_url: e.string().optional().openapi({
2097
2103
  description: "URL of the organization's logo"
2098
2104
  }),
@@ -2104,7 +2110,7 @@ const Fo = e.object({
2104
2110
  description: "Page background color in hex format (e.g., #FFFFFF)"
2105
2111
  })
2106
2112
  }).optional()
2107
- }).optional(), nt = e.object({
2113
+ }).optional(), at = e.object({
2108
2114
  connection_id: e.string().openapi({
2109
2115
  description: "ID of the connection"
2110
2116
  }),
@@ -2117,7 +2123,7 @@ const Fo = e.object({
2117
2123
  is_signup_enabled: e.boolean().default(!0).openapi({
2118
2124
  description: "Whether signup is enabled for this connection"
2119
2125
  })
2120
- }), it = e.object({
2126
+ }), st = e.object({
2121
2127
  client_credentials: e.object({
2122
2128
  enforce: e.boolean().default(!1).openapi({
2123
2129
  description: "Whether to enforce token quota limits"
@@ -2129,7 +2135,7 @@ const Fo = e.object({
2129
2135
  description: "Maximum tokens per hour (0 = unlimited)"
2130
2136
  })
2131
2137
  }).optional()
2132
- }).optional(), at = e.object({
2138
+ }).optional(), rt = e.object({
2133
2139
  id: e.string().optional(),
2134
2140
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2135
2141
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2139,34 +2145,34 @@ const Fo = e.object({
2139
2145
  display_name: e.string().optional().openapi({
2140
2146
  description: "The display name of the organization"
2141
2147
  }),
2142
- branding: tt,
2148
+ branding: it,
2143
2149
  metadata: e.record(e.any()).default({}).optional().openapi({
2144
2150
  description: "Custom metadata for the organization"
2145
2151
  }),
2146
- enabled_connections: e.array(nt).default([]).optional().openapi({
2152
+ enabled_connections: e.array(at).default([]).optional().openapi({
2147
2153
  description: "List of enabled connections for the organization"
2148
2154
  }),
2149
- token_quota: it
2150
- }), nn = e.object({
2151
- ...at.shape,
2152
- ...s.shape,
2155
+ token_quota: st
2156
+ }), rn = e.object({
2157
+ ...rt.shape,
2158
+ ...r.shape,
2153
2159
  id: e.string(),
2154
2160
  // Override name to be lenient when reading from database (to support existing uppercase names)
2155
2161
  name: e.string().min(1).openapi({
2156
2162
  description: "The name of the organization"
2157
2163
  })
2158
- }), rt = e.object({
2164
+ }), lt = e.object({
2159
2165
  user_id: e.string().openapi({
2160
2166
  description: "ID of the user"
2161
2167
  }),
2162
2168
  organization_id: e.string().openapi({
2163
2169
  description: "ID of the organization"
2164
2170
  })
2165
- }), an = e.object({
2166
- ...rt.shape,
2167
- ...s.shape,
2171
+ }), ln = e.object({
2172
+ ...lt.shape,
2173
+ ...r.shape,
2168
2174
  id: e.string()
2169
- }), rn = e.object({
2175
+ }), pn = e.object({
2170
2176
  // Session settings
2171
2177
  idle_session_lifetime: e.number().optional(),
2172
2178
  session_lifetime: e.number().optional(),
@@ -2237,6 +2243,8 @@ const Fo = e.object({
2237
2243
  }).optional(),
2238
2244
  // Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
2239
2245
  mfa: e.object({
2246
+ // MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
2247
+ policy: e.enum(["never", "always"]).default("never").optional(),
2240
2248
  // Factor states
2241
2249
  factors: e.object({
2242
2250
  sms: e.boolean().default(!1),
@@ -2264,7 +2272,7 @@ const Fo = e.object({
2264
2272
  message: e.string().optional()
2265
2273
  }).optional()
2266
2274
  }).optional()
2267
- }), sn = e.object({
2275
+ }), cn = e.object({
2268
2276
  date: e.string().openapi({
2269
2277
  description: "Date these events occurred in ISO 8601 format",
2270
2278
  example: "2025-12-19"
@@ -2289,10 +2297,10 @@ const Fo = e.object({
2289
2297
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2290
2298
  example: "2025-12-19T00:00:00.000Z"
2291
2299
  })
2292
- }), ln = e.number().openapi({
2300
+ }), _n = e.number().openapi({
2293
2301
  description: "Number of active users in the last 30 days",
2294
2302
  example: 1234
2295
- }), st = e.enum([
2303
+ }), pt = e.enum([
2296
2304
  "login",
2297
2305
  "login-id",
2298
2306
  "login-password",
@@ -2307,7 +2315,6 @@ const Fo = e.object({
2307
2315
  "mfa-voice",
2308
2316
  "mfa-phone",
2309
2317
  "mfa-webauthn",
2310
- "mfa-sms",
2311
2318
  "mfa-email",
2312
2319
  "mfa-recovery-code",
2313
2320
  "status",
@@ -2320,18 +2327,19 @@ const Fo = e.object({
2320
2327
  "passkeys",
2321
2328
  "captcha",
2322
2329
  "custom-form",
2323
- "login-passwordless"
2324
- ]), lt = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2330
+ "login-passwordless",
2331
+ "mfa-login-options"
2332
+ ]), ct = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2325
2333
  type: "object",
2326
2334
  additionalProperties: {
2327
2335
  type: "object",
2328
2336
  additionalProperties: { type: "string" }
2329
2337
  }
2330
- }), pn = e.object({
2331
- prompt: st,
2338
+ }), dn = e.object({
2339
+ prompt: pt,
2332
2340
  language: e.string(),
2333
- custom_text: lt
2334
- }), cn = {
2341
+ custom_text: ct
2342
+ }), gn = {
2335
2343
  EMAIL: "email",
2336
2344
  SMS: "sms",
2337
2345
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2346,39 +2354,88 @@ const Fo = e.object({
2346
2354
  SAMLP: "samlp",
2347
2355
  WAAD: "waad",
2348
2356
  ADFS: "adfs"
2349
- }, _n = {
2357
+ }, un = {
2350
2358
  DATABASE: "database",
2351
2359
  SOCIAL: "social",
2352
2360
  PASSWORDLESS: "passwordless"
2353
- };
2354
- function dn(o) {
2355
- const [n, i] = o.split("|");
2356
- if (!n || !i)
2361
+ }, _t = e.enum([
2362
+ "phone",
2363
+ "totp",
2364
+ "email",
2365
+ "push",
2366
+ "webauthn-roaming",
2367
+ "webauthn-platform",
2368
+ "passkey"
2369
+ ]), H = e.object({
2370
+ user_id: e.string(),
2371
+ type: _t,
2372
+ // Phone-specific
2373
+ phone_number: e.string().optional(),
2374
+ // TOTP-specific
2375
+ totp_secret: e.string().optional(),
2376
+ // WebAuthn/Passkey-specific
2377
+ credential_id: e.string().optional(),
2378
+ public_key: e.string().optional(),
2379
+ sign_count: e.number().int().nonnegative().optional(),
2380
+ credential_backed_up: e.boolean().optional(),
2381
+ transports: e.array(e.string()).optional(),
2382
+ friendly_name: e.string().optional(),
2383
+ // Common
2384
+ confirmed: e.boolean().default(!1)
2385
+ });
2386
+ function G(o, t) {
2387
+ o.type === "phone" && !o.phone_number && t.addIssue({
2388
+ code: e.ZodIssueCode.custom,
2389
+ message: "phone_number is required when type is 'phone'",
2390
+ path: ["phone_number"]
2391
+ }), o.type === "totp" && !o.totp_secret && t.addIssue({
2392
+ code: e.ZodIssueCode.custom,
2393
+ message: "totp_secret is required when type is 'totp'",
2394
+ path: ["totp_secret"]
2395
+ }), ["webauthn-roaming", "webauthn-platform", "passkey"].includes(o.type) && (o.credential_id || t.addIssue({
2396
+ code: e.ZodIssueCode.custom,
2397
+ message: `credential_id is required when type is '${o.type}'`,
2398
+ path: ["credential_id"]
2399
+ }), o.public_key || t.addIssue({
2400
+ code: e.ZodIssueCode.custom,
2401
+ message: `public_key is required when type is '${o.type}'`,
2402
+ path: ["public_key"]
2403
+ }));
2404
+ }
2405
+ const mn = H.superRefine(G), hn = e.object({
2406
+ ...H.shape,
2407
+ id: e.string(),
2408
+ created_at: e.string(),
2409
+ updated_at: e.string()
2410
+ }).superRefine(G);
2411
+ function bn(o) {
2412
+ const [t, i] = o.split("|");
2413
+ if (!t || !i)
2357
2414
  throw new Error(`Invalid user_id: ${o}`);
2358
- return { connection: n, id: i };
2415
+ return { connection: t, id: i };
2359
2416
  }
2360
- function gn(o) {
2417
+ function fn(o) {
2361
2418
  const {
2362
- primary: n,
2419
+ primary: t,
2363
2420
  secondaries: i,
2364
- syncMethods: T = ["create", "update", "remove", "delete", "set"]
2421
+ syncMethods: O = ["create", "update", "remove", "delete", "set"]
2365
2422
  } = o, E = {
2366
2423
  get(p, a) {
2367
2424
  if (typeof a == "symbol")
2368
2425
  return p[a];
2369
2426
  const c = p[a];
2370
- return typeof c != "function" ? c : T.includes(a) ? async (..._) => {
2427
+ return typeof c != "function" ? c : O.includes(a) ? async (..._) => {
2371
2428
  const S = await c.apply(p, _), d = [];
2372
- for (const r of i) {
2373
- const h = r.adapter[a];
2429
+ for (const s of i) {
2430
+ const h = s.adapter[a];
2374
2431
  if (typeof h != "function")
2375
2432
  continue;
2376
2433
  const A = (async () => {
2377
2434
  try {
2378
- await h.apply(r.adapter, _);
2435
+ await h.apply(s.adapter, _);
2379
2436
  } catch (b) {
2380
2437
  try {
2381
- r.onError ? r.onError(b, a, _) : console.error(
2438
+ s.onError ? s.onError(b, a, _) : console.error(
2382
2439
  `Passthrough adapter: secondary write failed for ${a}:`,
2383
2440
  b
2384
2441
  );
@@ -2390,199 +2447,202 @@ function gn(o) {
2390
2447
  }
2391
2448
  }
2392
2449
  })();
2393
- r.blocking && d.push(A);
2450
+ s.blocking && d.push(A);
2394
2451
  }
2395
2452
  return d.length > 0 && await Promise.all(d), S;
2396
2453
  } : c.bind(p);
2397
2454
  }
2398
2455
  };
2399
- return new Proxy(n, E);
2456
+ return new Proxy(t, E);
2400
2457
  }
2401
- function un(o) {
2458
+ function En(o) {
2402
2459
  return o;
2403
2460
  }
2404
- function mn(o) {
2405
- var E, p, a, c, _, S, d, r, h, A, b, I;
2406
- const n = o == null ? void 0 : o.options;
2407
- if (!n)
2461
+ function Sn(o) {
2462
+ var E, p, a, c, _, S, d, s, h, A, b, I;
2463
+ const t = o == null ? void 0 : o.options;
2464
+ if (!t)
2408
2465
  return {
2409
2466
  usernameIdentifierActive: !1,
2410
2467
  emailIdentifierActive: !0,
2411
2468
  usernameMinLength: 1,
2412
2469
  usernameMaxLength: 15
2413
2470
  };
2414
- const i = n.attributes;
2471
+ const i = t.attributes;
2415
2472
  if (i) {
2416
- const H = ((p = (E = i.username) == null ? void 0 : E.identifier) == null ? void 0 : p.active) === !0, G = ((c = (a = i.email) == null ? void 0 : a.identifier) == null ? void 0 : c.active) !== !1, B = ((S = (_ = i.username) == null ? void 0 : _.validation) == null ? void 0 : S.min_length) ?? 1, W = ((r = (d = i.username) == null ? void 0 : d.validation) == null ? void 0 : r.max_length) ?? 15;
2473
+ const B = ((p = (E = i.username) == null ? void 0 : E.identifier) == null ? void 0 : p.active) === !0, W = ((c = (a = i.email) == null ? void 0 : a.identifier) == null ? void 0 : c.active) !== !1, K = ((S = (_ = i.username) == null ? void 0 : _.validation) == null ? void 0 : S.min_length) ?? 1, z = ((s = (d = i.username) == null ? void 0 : d.validation) == null ? void 0 : s.max_length) ?? 15;
2417
2474
  return {
2418
- usernameIdentifierActive: H,
2419
- emailIdentifierActive: G,
2420
- usernameMinLength: B,
2421
- usernameMaxLength: W
2475
+ usernameIdentifierActive: B,
2476
+ emailIdentifierActive: W,
2477
+ usernameMinLength: K,
2478
+ usernameMaxLength: z
2422
2479
  };
2423
2480
  }
2424
2481
  return {
2425
- usernameIdentifierActive: n.requires_username === !0,
2482
+ usernameIdentifierActive: t.requires_username === !0,
2426
2483
  emailIdentifierActive: !0,
2427
- usernameMinLength: ((A = (h = n.validation) == null ? void 0 : h.username) == null ? void 0 : A.min) ?? 1,
2428
- usernameMaxLength: ((I = (b = n.validation) == null ? void 0 : b.username) == null ? void 0 : I.max) ?? 15
2484
+ usernameMinLength: ((A = (h = t.validation) == null ? void 0 : h.username) == null ? void 0 : A.min) ?? 1,
2485
+ usernameMaxLength: ((I = (b = t.validation) == null ? void 0 : b.username) == null ? void 0 : I.max) ?? 15
2429
2486
  };
2430
2487
  }
2431
2488
  export {
2432
- _t as Auth0ActionEnum,
2433
- wo as Auth0Client,
2489
+ ut as Auth0ActionEnum,
2490
+ Do as Auth0Client,
2434
2491
  D as AuthorizationResponseMode,
2435
2492
  j as AuthorizationResponseType,
2436
2493
  L as CodeChallengeMethod,
2437
- w as ComponentCategory,
2438
- R as ComponentType,
2439
- dt as EmailActionEnum,
2440
- Ot as FORM_FIELD_TYPES,
2441
- ct as FlowActionTypeEnum,
2442
- Uo as GrantType,
2443
- jo as LocationInfo,
2444
- No as LogTypes,
2494
+ R as ComponentCategory,
2495
+ w as ComponentType,
2496
+ mt as EmailActionEnum,
2497
+ wt as FORM_FIELD_TYPES,
2498
+ gt as FlowActionTypeEnum,
2499
+ xo as GrantType,
2500
+ Lo as LocationInfo,
2501
+ Ro as LogTypes,
2445
2502
  P as LoginSessionState,
2446
- ge as NodeType,
2447
- q as RedirectTargetEnum,
2448
- cn as Strategy,
2449
- _n as StrategyType,
2450
- he as actionNodeSchema,
2451
- ln as activeUsersResponseSchema,
2452
- $ as addressSchema,
2453
- St as auth0FlowInsertSchema,
2454
- Ae as auth0FlowSchema,
2455
- ut as auth0QuerySchema,
2456
- z as auth0UpdateUserActionSchema,
2457
- ht as auth0UserResponseSchema,
2458
- Ie as authParamsSchema,
2503
+ me as NodeType,
2504
+ Y as RedirectTargetEnum,
2505
+ gn as Strategy,
2506
+ un as StrategyType,
2507
+ fe as actionNodeSchema,
2508
+ _n as activeUsersResponseSchema,
2509
+ oe as addressSchema,
2510
+ yt as auth0FlowInsertSchema,
2511
+ ye as auth0FlowSchema,
2512
+ bt as auth0QuerySchema,
2513
+ X as auth0UpdateUserActionSchema,
2514
+ Et as auth0UserResponseSchema,
2515
+ Ce as authParamsSchema,
2516
+ mn as authenticationMethodInsertSchema,
2517
+ hn as authenticationMethodSchema,
2518
+ _t as authenticationMethodTypeSchema,
2459
2519
  N as baseUserSchema,
2460
- io as blockComponentSchema,
2461
- Fo as bordersSchema,
2462
- At as brandingSchema,
2463
- le as buttonComponentSchema,
2464
- ae as clientGrantInsertSchema,
2465
- Et as clientGrantListSchema,
2466
- re as clientGrantSchema,
2467
- ie as clientInsertSchema,
2468
- ft as clientSchema,
2469
- Ce as codeInsertSchema,
2470
- It as codeSchema,
2471
- ye as codeTypeSchema,
2472
- xo as colorsSchema,
2473
- go as componentMessageSchema,
2474
- de as componentSchema,
2475
- Te as connectionInsertSchema,
2476
- Oe as connectionOptionsSchema,
2477
- yt as connectionSchema,
2520
+ so as blockComponentSchema,
2521
+ Po as bordersSchema,
2522
+ Ct as brandingSchema,
2523
+ ce as buttonComponentSchema,
2524
+ re as clientGrantInsertSchema,
2525
+ It as clientGrantListSchema,
2526
+ le as clientGrantSchema,
2527
+ se as clientInsertSchema,
2528
+ At as clientSchema,
2529
+ Oe as codeInsertSchema,
2530
+ Tt as codeSchema,
2531
+ Te as codeTypeSchema,
2532
+ Mo as colorsSchema,
2533
+ mo as componentMessageSchema,
2534
+ ue as componentSchema,
2535
+ we as connectionInsertSchema,
2536
+ Ne as connectionOptionsSchema,
2537
+ Ot as connectionSchema,
2478
2538
  u as coordinatesSchema,
2479
- gn as createPassthroughAdapter,
2480
- un as createWriteOnlyAdapter,
2481
- Ne as customDomainInsertSchema,
2482
- we as customDomainSchema,
2483
- Ct as customDomainWithTenantIdSchema,
2484
- pn as customTextEntrySchema,
2485
- lt as customTextSchema,
2486
- sn as dailyStatsSchema,
2487
- qt as emailProviderSchema,
2488
- K as emailVerificationRulesSchema,
2489
- X as emailVerifyActionSchema,
2490
- Se as endingSchema,
2491
- ro as fieldComponentSchema,
2492
- Y as flowActionStepSchema,
2493
- Q as flowInsertSchema,
2494
- gt as flowSchema,
2495
- ce as flowsFieldComponentSchema,
2496
- me as flowsFlowNodeSchema,
2497
- ue as flowsStepNodeSchema,
2539
+ fn as createPassthroughAdapter,
2540
+ En as createWriteOnlyAdapter,
2541
+ Re as customDomainInsertSchema,
2542
+ De as customDomainSchema,
2543
+ Nt as customDomainWithTenantIdSchema,
2544
+ dn as customTextEntrySchema,
2545
+ ct as customTextSchema,
2546
+ cn as dailyStatsSchema,
2547
+ Qt as emailProviderSchema,
2548
+ q as emailVerificationRulesSchema,
2549
+ V as emailVerifyActionSchema,
2550
+ Ie as endingSchema,
2551
+ lo as fieldComponentSchema,
2552
+ Z as flowActionStepSchema,
2553
+ $ as flowInsertSchema,
2554
+ ht as flowSchema,
2555
+ de as flowsFieldComponentSchema,
2556
+ be as flowsFlowNodeSchema,
2557
+ he as flowsStepNodeSchema,
2498
2558
  g as fontDetailsSchema,
2499
- Po as fontsSchema,
2500
- Tt as formControlSchema,
2501
- _o as formInsertSchema,
2559
+ Ho as fontsSchema,
2560
+ Rt as formControlSchema,
2561
+ uo as formInsertSchema,
2502
2562
  v as formNodeComponentDefinition,
2503
- co as formNodeSchema,
2504
- Nt as formSchema,
2505
- _e as genericComponentSchema,
2506
- be as genericNodeSchema,
2507
- mn as getConnectionIdentifierConfig,
2508
- vt as hookInsertSchema,
2509
- kt as hookSchema,
2563
+ go as formNodeSchema,
2564
+ jt as formSchema,
2565
+ ge as genericComponentSchema,
2566
+ Ee as genericNodeSchema,
2567
+ Sn as getConnectionIdentifierConfig,
2568
+ Ft as hookInsertSchema,
2569
+ xt as hookSchema,
2510
2570
  x as hookTemplateId,
2511
- Lt as hookTemplates,
2512
- Z as identitySchema,
2513
- yo as inviteInsertSchema,
2514
- Ut as inviteSchema,
2515
- Io as inviteeSchema,
2516
- Ao as inviterSchema,
2517
- wt as isBlockComponent,
2518
- Dt as isFieldComponent,
2519
- jt as isWidgetComponent,
2520
- Ft as jwksKeySchema,
2521
- Co as jwksSchema,
2522
- pe as legalComponentSchema,
2523
- Do as logInsertSchema,
2524
- Mt as logSchema,
2525
- To as loginSessionInsertSchema,
2526
- Pt as loginSessionSchema,
2527
- Oo as loginSessionStateSchema,
2528
- fe as nodeSchema,
2529
- xt as openIDConfigurationSchema,
2530
- tt as organizationBrandingSchema,
2531
- nt as organizationEnabledConnectionSchema,
2532
- at as organizationInsertSchema,
2533
- nn as organizationSchema,
2534
- it as organizationTokenQuotaSchema,
2535
- Mo as pageBackgroundSchema,
2536
- dn as parseUserId,
2537
- Lo as passwordInsertSchema,
2538
- Ht as passwordSchema,
2571
+ Ut as hookTemplates,
2572
+ ee as identitySchema,
2573
+ To as inviteInsertSchema,
2574
+ Pt as inviteSchema,
2575
+ Co as inviteeSchema,
2576
+ yo as inviterSchema,
2577
+ Lt as isBlockComponent,
2578
+ kt as isFieldComponent,
2579
+ vt as isWidgetComponent,
2580
+ Mt as jwksKeySchema,
2581
+ Oo as jwksSchema,
2582
+ _e as legalComponentSchema,
2583
+ vo as logInsertSchema,
2584
+ Bt as logSchema,
2585
+ wo as loginSessionInsertSchema,
2586
+ Gt as loginSessionSchema,
2587
+ No as loginSessionStateSchema,
2588
+ Se as nodeSchema,
2589
+ Ht as openIDConfigurationSchema,
2590
+ it as organizationBrandingSchema,
2591
+ at as organizationEnabledConnectionSchema,
2592
+ rt as organizationInsertSchema,
2593
+ rn as organizationSchema,
2594
+ st as organizationTokenQuotaSchema,
2595
+ Go as pageBackgroundSchema,
2596
+ bn as parseUserId,
2597
+ ko as passwordInsertSchema,
2598
+ Wt as passwordSchema,
2539
2599
  J as profileDataSchema,
2540
- st as promptScreenSchema,
2541
- Xt as promptSettingSchema,
2542
- V as redirectActionSchema,
2543
- Bo as refreshTokenInsertSchema,
2544
- Vt as refreshTokenSchema,
2545
- zo as resourceServerInsertSchema,
2546
- Jt as resourceServerListSchema,
2547
- Ko as resourceServerOptionsSchema,
2548
- Xo as resourceServerSchema,
2549
- Wo as resourceServerScopeSchema,
2550
- se as richTextComponentSchema,
2551
- et as roleInsertSchema,
2552
- tn as roleListSchema,
2553
- qo as rolePermissionInsertSchema,
2554
- Zt as rolePermissionListSchema,
2555
- Vo as rolePermissionSchema,
2556
- ot as roleSchema,
2557
- uo as screenLinkSchema,
2558
- vo as sessionInsertSchema,
2559
- Gt as sessionSchema,
2560
- Bt as signingKeySchema,
2561
- Qt as smsProviderSchema,
2562
- Yt as smsSendParamsSchema,
2563
- Ee as startSchema,
2564
- ko as tenantInsertSchema,
2565
- Wt as tenantSchema,
2566
- rn as tenantSettingsSchema,
2567
- Go as themeInsertSchema,
2568
- zt as themeSchema,
2569
- Kt as tokenResponseSchema,
2570
- mt as totalsSchema,
2571
- Rt as uiScreenSchema,
2572
- ee as userInsertSchema,
2573
- rt as userOrganizationInsertSchema,
2574
- an as userOrganizationSchema,
2575
- Yo as userPermissionInsertSchema,
2576
- $t as userPermissionListSchema,
2577
- Qo as userPermissionSchema,
2578
- en as userPermissionWithDetailsListSchema,
2600
+ pt as promptScreenSchema,
2601
+ Yt as promptSettingSchema,
2602
+ Q as redirectActionSchema,
2603
+ Ko as refreshTokenInsertSchema,
2604
+ Zt as refreshTokenSchema,
2605
+ Xo as resourceServerInsertSchema,
2606
+ en as resourceServerListSchema,
2607
+ qo as resourceServerOptionsSchema,
2608
+ Vo as resourceServerSchema,
2609
+ zo as resourceServerScopeSchema,
2610
+ pe as richTextComponentSchema,
2611
+ tt as roleInsertSchema,
2612
+ sn as roleListSchema,
2613
+ Yo as rolePermissionInsertSchema,
2614
+ on as rolePermissionListSchema,
2615
+ Qo as rolePermissionSchema,
2616
+ nt as roleSchema,
2617
+ ho as screenLinkSchema,
2618
+ Uo as sessionInsertSchema,
2619
+ Kt as sessionSchema,
2620
+ zt as signingKeySchema,
2621
+ Jt as smsProviderSchema,
2622
+ $t as smsSendParamsSchema,
2623
+ Ae as startSchema,
2624
+ Fo as tenantInsertSchema,
2625
+ qt as tenantSchema,
2626
+ pn as tenantSettingsSchema,
2627
+ Wo as themeInsertSchema,
2628
+ Vt as themeSchema,
2629
+ Xt as tokenResponseSchema,
2630
+ ft as totalsSchema,
2631
+ Dt as uiScreenSchema,
2632
+ te as userInsertSchema,
2633
+ lt as userOrganizationInsertSchema,
2634
+ ln as userOrganizationSchema,
2635
+ Zo as userPermissionInsertSchema,
2636
+ tn as userPermissionListSchema,
2637
+ $o as userPermissionSchema,
2638
+ nn as userPermissionWithDetailsListSchema,
2579
2639
  Jo as userPermissionWithDetailsSchema,
2580
- bt as userResponseSchema,
2581
- Zo as userRoleInsertSchema,
2582
- on as userRoleListSchema,
2583
- $o as userRoleSchema,
2584
- oe as userSchema,
2585
- Re as verificationMethodsSchema,
2586
- ao as widgetComponentSchema,
2587
- Ho as widgetSchema
2640
+ St as userResponseSchema,
2641
+ et as userRoleInsertSchema,
2642
+ an as userRoleListSchema,
2643
+ ot as userRoleSchema,
2644
+ ne as userSchema,
2645
+ je as verificationMethodsSchema,
2646
+ ro as widgetComponentSchema,
2647
+ Bo as widgetSchema
2588
2648
  };