@authhero/adapter-interfaces 0.154.0 → 1.0.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,10 +1,10 @@
1
1
  import { z as e } from "@hono/zod-openapi";
2
- const q = e.enum([
2
+ const X = e.enum([
3
3
  "user_action",
4
4
  "admin_action",
5
5
  "system",
6
6
  "api"
7
- ]), X = e.object({
7
+ ]), V = e.object({
8
8
  type: e.enum(["user", "admin", "system", "api_key", "client_credentials"]),
9
9
  id: e.string().optional(),
10
10
  email: e.string().optional(),
@@ -12,13 +12,13 @@ const q = e.enum([
12
12
  org_name: e.string().optional(),
13
13
  scopes: e.array(e.string()).optional(),
14
14
  client_id: e.string().optional()
15
- }), V = e.object({
15
+ }), Y = e.object({
16
16
  type: e.string(),
17
17
  id: e.string(),
18
18
  before: e.record(e.unknown()).optional(),
19
19
  after: e.record(e.unknown()).optional(),
20
20
  diff: e.record(e.object({ old: e.unknown(), new: e.unknown() })).optional()
21
- }), Y = e.object({
21
+ }), Q = e.object({
22
22
  method: e.string(),
23
23
  path: e.string(),
24
24
  query: e.record(e.string()).optional(),
@@ -26,57 +26,57 @@ const q = e.enum([
26
26
  ip: e.string(),
27
27
  user_agent: e.string().optional(),
28
28
  correlation_id: e.string().optional()
29
- }), Q = e.object({
29
+ }), Z = e.object({
30
30
  status_code: e.number(),
31
31
  body: e.unknown().optional()
32
- }), Z = e.object({
32
+ }), $ = e.object({
33
33
  country_code: e.string(),
34
34
  city_name: e.string(),
35
35
  latitude: e.string(),
36
36
  longitude: e.string(),
37
37
  time_zone: e.string(),
38
38
  continent_code: e.string()
39
- }), $ = e.object({
39
+ }), J = e.object({
40
40
  name: e.string(),
41
41
  version: e.string(),
42
42
  env: e.record(e.string()).optional()
43
- }), J = e.object({
43
+ }), ee = e.object({
44
44
  tenant_id: e.string(),
45
45
  event_type: e.string(),
46
46
  log_type: e.string(),
47
47
  description: e.string().optional(),
48
- category: q,
49
- actor: X,
50
- target: V,
51
- request: Y,
52
- response: Q.optional(),
48
+ category: X,
49
+ actor: V,
50
+ target: Y,
51
+ request: Q,
52
+ response: Z.optional(),
53
53
  connection: e.string().optional(),
54
54
  strategy: e.string().optional(),
55
55
  strategy_type: e.string().optional(),
56
- location: Z.optional(),
57
- auth0_client: $.optional(),
56
+ location: $.optional(),
57
+ auth0_client: J.optional(),
58
58
  hostname: e.string(),
59
59
  is_mobile: e.boolean().optional(),
60
60
  timestamp: e.string()
61
- }), At = J.extend({
61
+ }), Tt = ee.extend({
62
62
  id: e.string()
63
- }), r = e.object({
63
+ }), s = e.object({
64
64
  created_at: e.string(),
65
65
  updated_at: e.string()
66
- }), yt = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), It = e.enum([
66
+ }), Ot = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), Nt = e.enum([
67
67
  "CREATE_USER",
68
68
  "GET_USER",
69
69
  "UPDATE_USER",
70
70
  "SEND_REQUEST",
71
71
  "SEND_EMAIL"
72
- ]), Ct = e.enum(["VERIFY_EMAIL"]), ee = e.object({
72
+ ]), wt = e.enum(["VERIFY_EMAIL"]), oe = e.object({
73
73
  require_mx_record: e.boolean().optional(),
74
74
  block_aliases: e.boolean().optional(),
75
75
  block_free_emails: e.boolean().optional(),
76
76
  block_disposable_emails: e.boolean().optional(),
77
77
  blocklist: e.array(e.string()).optional(),
78
78
  allowlist: e.array(e.string()).optional()
79
- }), oe = e.object({
79
+ }), te = e.object({
80
80
  id: e.string(),
81
81
  alias: e.string().max(100).optional(),
82
82
  type: e.literal("AUTH0"),
@@ -88,7 +88,7 @@ const q = e.enum([
88
88
  user_id: e.string(),
89
89
  changes: e.record(e.string(), e.any())
90
90
  })
91
- }), te = e.object({
91
+ }), ne = e.object({
92
92
  id: e.string(),
93
93
  alias: e.string().max(100).optional(),
94
94
  type: e.literal("EMAIL"),
@@ -97,9 +97,9 @@ const q = e.enum([
97
97
  mask_output: e.boolean().optional(),
98
98
  params: e.object({
99
99
  email: e.string(),
100
- rules: ee.optional()
100
+ rules: oe.optional()
101
101
  })
102
- }), ne = e.enum(["change-email", "account", "custom"]), ie = e.object({
102
+ }), ie = e.enum(["change-email", "account", "custom"]), ae = e.object({
103
103
  id: e.string(),
104
104
  alias: e.string().max(100).optional(),
105
105
  type: e.literal("REDIRECT"),
@@ -107,32 +107,32 @@ const q = e.enum([
107
107
  allow_failure: e.boolean().optional(),
108
108
  mask_output: e.boolean().optional(),
109
109
  params: e.object({
110
- target: ne.openapi({
110
+ target: ie.openapi({
111
111
  description: "The predefined target to redirect to, or 'custom' for a custom URL"
112
112
  }),
113
113
  custom_url: e.string().optional().openapi({
114
114
  description: "Custom URL to redirect to when target is 'custom'"
115
115
  })
116
116
  })
117
- }), ae = e.union([
118
- oe,
117
+ }), se = e.union([
119
118
  te,
120
- ie
121
- ]), se = e.object({
119
+ ne,
120
+ ae
121
+ ]), re = e.object({
122
122
  name: e.string().min(1).max(150).openapi({
123
123
  description: "The name of the flow"
124
124
  }),
125
125
  // Actions is an array of action steps (Auth0 stores as JSON blob)
126
- actions: e.array(ae).optional().default([]).openapi({
126
+ actions: e.array(se).optional().default([]).openapi({
127
127
  description: "The list of actions to execute in sequence"
128
128
  })
129
- }), Tt = se.extend({
130
- ...r.shape,
129
+ }), jt = re.extend({
130
+ ...s.shape,
131
131
  id: e.string().openapi({
132
132
  description: "Unique identifier for the flow",
133
133
  example: "af_12tMpdJ3iek7svMyZkSh5M"
134
134
  })
135
- }), Ot = e.object({
135
+ }), Rt = e.object({
136
136
  page: e.string().min(0).optional().default("0").transform((o) => parseInt(o, 10)).openapi({
137
137
  description: "The page number where 0 is the first page"
138
138
  }),
@@ -148,12 +148,12 @@ const q = e.enum([
148
148
  q: e.string().optional().openapi({
149
149
  description: "A lucene query string used to filter the results"
150
150
  })
151
- }), Nt = e.object({
151
+ }), Dt = e.object({
152
152
  start: e.number(),
153
153
  limit: e.number(),
154
154
  length: e.number(),
155
155
  total: e.number().optional()
156
- }), re = e.object({
156
+ }), le = e.object({
157
157
  email: e.string().optional(),
158
158
  email_verified: e.boolean().optional(),
159
159
  name: e.string().optional(),
@@ -162,7 +162,7 @@ const q = e.enum([
162
162
  phone_number: e.string().optional(),
163
163
  phone_verified: e.boolean().optional(),
164
164
  family_name: e.string().optional()
165
- }).catchall(e.any()), le = e.object({
165
+ }).catchall(e.any()), pe = e.object({
166
166
  connection: e.string(),
167
167
  user_id: e.string(),
168
168
  provider: e.string(),
@@ -175,8 +175,8 @@ const q = e.enum([
175
175
  access_token: e.string().optional(),
176
176
  access_token_secret: e.string().optional(),
177
177
  refresh_token: e.string().optional(),
178
- profileData: re.optional()
179
- }), pe = e.object({
178
+ profileData: le.optional()
179
+ }), ce = e.object({
180
180
  formatted: e.string().optional(),
181
181
  // Full mailing address
182
182
  street_address: e.string().optional(),
@@ -221,8 +221,8 @@ const q = e.enum([
221
221
  zoneinfo: e.string().optional(),
222
222
  // e.g., "Europe/Paris"
223
223
  // OIDC address claim (OIDC Core 5.1.1)
224
- address: pe
225
- }), ce = N.extend({
224
+ address: ce
225
+ }), _e = N.extend({
226
226
  email_verified: e.boolean().default(!1),
227
227
  verify_email: e.boolean().optional(),
228
228
  last_ip: e.string().optional(),
@@ -237,29 +237,29 @@ const q = e.enum([
237
237
  hash: e.string(),
238
238
  algorithm: e.string()
239
239
  }).optional()
240
- }), _e = e.object({
241
- ...ce.omit({ password: !0 }).shape,
242
- ...r.shape,
240
+ }), de = e.object({
241
+ ..._e.omit({ password: !0 }).shape,
242
+ ...s.shape,
243
243
  user_id: e.string(),
244
244
  provider: e.string(),
245
245
  is_social: e.boolean(),
246
246
  email: e.string().optional(),
247
247
  login_count: e.number().default(0),
248
- identities: e.array(le).optional()
249
- }), wt = _e, jt = N.extend({
248
+ identities: e.array(pe).optional()
249
+ }), Lt = de, vt = N.extend({
250
250
  login_count: e.number(),
251
251
  multifactor: e.array(e.string()).optional(),
252
252
  last_ip: e.string().optional(),
253
253
  last_login: e.string().optional(),
254
254
  user_id: e.string()
255
255
  }).catchall(e.any());
256
- let de = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ge = (o = 21) => {
256
+ let ge = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ue = (o = 21) => {
257
257
  let t = "", i = crypto.getRandomValues(new Uint8Array(o |= 0));
258
258
  for (; o--; )
259
- t += de[i[o] & 63];
259
+ t += ge[i[o] & 63];
260
260
  return t;
261
261
  };
262
- const ue = e.object({
262
+ const me = e.object({
263
263
  client_id: e.string().openapi({
264
264
  description: "ID of this client."
265
265
  }),
@@ -272,7 +272,7 @@ const ue = e.object({
272
272
  global: e.boolean().default(!1).openapi({
273
273
  description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
274
274
  }),
275
- client_secret: e.string().default(() => ge()).optional().openapi({
275
+ client_secret: e.string().default(() => ue()).optional().openapi({
276
276
  description: "Client secret (which you must not make public)."
277
277
  }),
278
278
  app_type: e.enum([
@@ -358,8 +358,8 @@ const ue = e.object({
358
358
  sso: e.boolean().default(!1).openapi({
359
359
  description: "Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false)."
360
360
  }),
361
- sso_disabled: e.boolean().default(!0).openapi({
362
- description: "Whether Single Sign On is disabled (true) or enabled (true). Defaults to true."
361
+ sso_disabled: e.boolean().default(!1).openapi({
362
+ description: "Whether Single Sign On is disabled for this client. When true, existing SSO sessions will not be reused and users must authenticate every time."
363
363
  }),
364
364
  cross_origin_authentication: e.boolean().default(!1).openapi({
365
365
  description: "Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false)."
@@ -432,11 +432,11 @@ const ue = e.object({
432
432
  description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
433
433
  }),
434
434
  token_quota: e.record(e.any()).default({}).optional()
435
- }), Rt = e.object({
435
+ }), kt = e.object({
436
436
  created_at: e.string(),
437
437
  updated_at: e.string(),
438
- ...ue.shape
439
- }), me = e.object({
438
+ ...me.shape
439
+ }), he = e.object({
440
440
  client_id: e.string().min(1).openapi({
441
441
  description: "ID of the client."
442
442
  }),
@@ -461,14 +461,14 @@ const ue = e.object({
461
461
  authorization_details_types: e.array(e.string()).optional().openapi({
462
462
  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."
463
463
  })
464
- }), he = e.object({
464
+ }), be = e.object({
465
465
  id: e.string().openapi({
466
466
  description: "ID of the client grant."
467
467
  }),
468
- ...me.shape,
468
+ ...he.shape,
469
469
  created_at: e.string().optional(),
470
470
  updated_at: e.string().optional()
471
- }), Dt = e.array(he), u = e.object({
471
+ }), Ut = e.array(be), m = e.object({
472
472
  x: e.number(),
473
473
  y: e.number()
474
474
  });
@@ -477,7 +477,7 @@ const I = e.object({
477
477
  id: e.string(),
478
478
  category: e.nativeEnum(j),
479
479
  type: e.nativeEnum(w)
480
- }), be = I.extend({
480
+ }), fe = I.extend({
481
481
  category: e.literal(
482
482
  "BLOCK"
483
483
  /* BLOCK */
@@ -489,7 +489,7 @@ const I = e.object({
489
489
  config: e.object({
490
490
  content: e.string()
491
491
  }).passthrough()
492
- }), fe = I.extend({
492
+ }), Ee = I.extend({
493
493
  category: e.literal(
494
494
  "BLOCK"
495
495
  /* BLOCK */
@@ -511,7 +511,7 @@ const I = e.object({
511
511
  config: e.object({
512
512
  text: e.string()
513
513
  }).passthrough()
514
- }), Ee = I.extend({
514
+ }), Se = I.extend({
515
515
  category: e.literal(
516
516
  "FIELD"
517
517
  /* FIELD */
@@ -525,7 +525,7 @@ const I = e.object({
525
525
  config: e.object({
526
526
  text: e.string()
527
527
  }).passthrough()
528
- }), Se = I.extend({
528
+ }), Ae = I.extend({
529
529
  category: e.literal(
530
530
  "FIELD"
531
531
  /* FIELD */
@@ -578,49 +578,49 @@ const I = e.object({
578
578
  label: e.string().optional(),
579
579
  placeholder: e.string().optional()
580
580
  }).passthrough()
581
- }), Ae = e.object({
581
+ }), ye = e.object({
582
582
  id: e.string(),
583
583
  category: e.string(),
584
584
  type: e.string()
585
- }).passthrough(), ye = e.union([
586
- be,
585
+ }).passthrough(), Ie = e.union([
587
586
  fe,
588
587
  Ee,
589
588
  Se,
590
- Ae
589
+ Ae,
590
+ ye
591
591
  ]);
592
- var Ie = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(Ie || {});
593
- const Ce = e.object({
592
+ var Ce = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(Ce || {});
593
+ const Te = e.object({
594
594
  id: e.string(),
595
595
  type: e.literal(
596
596
  "STEP"
597
597
  /* STEP */
598
598
  ),
599
- coordinates: u,
599
+ coordinates: m,
600
600
  alias: e.string().optional(),
601
601
  config: e.object({
602
- components: e.array(ye),
602
+ components: e.array(Ie),
603
603
  next_node: e.string()
604
604
  }).passthrough()
605
- }), Te = e.object({
605
+ }), Oe = e.object({
606
606
  id: e.string(),
607
607
  type: e.literal(
608
608
  "FLOW"
609
609
  /* FLOW */
610
610
  ),
611
- coordinates: u,
611
+ coordinates: m,
612
612
  alias: e.string().optional(),
613
613
  config: e.object({
614
614
  flow_id: e.string(),
615
615
  next_node: e.string()
616
616
  })
617
- }), Oe = e.object({
617
+ }), Ne = e.object({
618
618
  id: e.string(),
619
619
  type: e.literal(
620
620
  "ACTION"
621
621
  /* ACTION */
622
622
  ),
623
- coordinates: u,
623
+ coordinates: m,
624
624
  alias: e.string().optional(),
625
625
  config: e.object({
626
626
  action_type: e.enum(["REDIRECT"]).openapi({
@@ -636,43 +636,43 @@ const Ce = e.object({
636
636
  description: "The next node to navigate to after action (for non-redirect actions)"
637
637
  })
638
638
  }).passthrough()
639
- }), Ne = e.object({
639
+ }), we = e.object({
640
640
  id: e.string(),
641
641
  type: e.string(),
642
- coordinates: u
643
- }).passthrough(), we = e.union([
644
- Ce,
642
+ coordinates: m
643
+ }).passthrough(), je = e.union([
645
644
  Te,
646
645
  Oe,
647
- Ne
648
- ]), je = e.object({
646
+ Ne,
647
+ we
648
+ ]), Re = e.object({
649
649
  next_node: e.string(),
650
- coordinates: u
651
- }).passthrough(), Re = e.object({
652
- resume_flow: e.boolean().optional(),
653
- coordinates: u
650
+ coordinates: m
654
651
  }).passthrough(), De = e.object({
652
+ resume_flow: e.boolean().optional(),
653
+ coordinates: m
654
+ }).passthrough(), Le = e.object({
655
655
  id: e.string(),
656
656
  name: e.string(),
657
657
  languages: e.object({
658
658
  primary: e.string()
659
659
  }).passthrough(),
660
- nodes: e.array(we),
661
- start: je,
662
- ending: Re,
660
+ nodes: e.array(je),
661
+ start: Re,
662
+ ending: De,
663
663
  created_at: e.string(),
664
664
  updated_at: e.string(),
665
665
  links: e.object({
666
666
  sdkSrc: e.string().optional(),
667
667
  sdk_src: e.string().optional()
668
668
  }).passthrough()
669
- }).passthrough(), Lt = De.omit({
669
+ }).passthrough(), Ft = Le.omit({
670
670
  id: !0,
671
671
  created_at: !0,
672
672
  updated_at: !0
673
673
  });
674
674
  var R = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "token id_token", o.CODE = "code", o))(R || {}), 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 || {});
675
- const Le = e.object({
675
+ const ve = e.object({
676
676
  client_id: e.string(),
677
677
  act_as: e.string().optional(),
678
678
  response_type: e.nativeEnum(R).optional(),
@@ -696,7 +696,7 @@ const Le = e.object({
696
696
  acr_values: e.string().optional(),
697
697
  // The following fields are not available in Auth0
698
698
  vendor_id: e.string().optional()
699
- }), vt = e.object({
699
+ }), xt = e.object({
700
700
  colors: e.object({
701
701
  primary: e.string(),
702
702
  page_background: e.object({
@@ -712,7 +712,7 @@ const Le = e.object({
712
712
  font: e.object({
713
713
  url: e.string()
714
714
  }).optional()
715
- }), ve = e.enum([
715
+ }), ke = e.enum([
716
716
  "password_reset",
717
717
  "email_verification",
718
718
  "otp",
@@ -720,7 +720,7 @@ const Le = e.object({
720
720
  "authorization_code",
721
721
  "oauth2_state",
722
722
  "ticket"
723
- ]), ke = e.object({
723
+ ]), Ue = e.object({
724
724
  code_id: e.string().openapi({
725
725
  description: "The code that will be used in for instance an email verification flow"
726
726
  }),
@@ -730,7 +730,7 @@ const Le = e.object({
730
730
  connection_id: e.string().optional().openapi({
731
731
  description: "The connection that the code is connected to"
732
732
  }),
733
- code_type: ve,
733
+ code_type: ke,
734
734
  code_verifier: e.string().optional().openapi({
735
735
  description: "The code verifier used in PKCE in outbound flows"
736
736
  }),
@@ -755,10 +755,10 @@ const Le = e.object({
755
755
  expires_at: e.string(),
756
756
  used_at: e.string().optional(),
757
757
  user_id: e.string().optional()
758
- }), kt = e.object({
759
- ...ke.shape,
758
+ }), Pt = e.object({
759
+ ...Ue.shape,
760
760
  created_at: e.string()
761
- }), Ue = e.object({
761
+ }), Fe = e.object({
762
762
  kid: e.string().optional(),
763
763
  team_id: e.string().optional(),
764
764
  realms: e.string().optional(),
@@ -870,12 +870,12 @@ const Le = e.object({
870
870
  }).optional(),
871
871
  // Controls when root user attributes are updated from external IdP
872
872
  set_user_root_attributes: e.enum(["on_each_login", "on_first_login", "never_on_login"]).optional()
873
- }), Fe = e.object({
873
+ }), xe = e.object({
874
874
  id: e.string().optional(),
875
875
  name: e.string(),
876
876
  display_name: e.string().optional(),
877
877
  strategy: e.string(),
878
- options: Ue.default({}),
878
+ options: Fe.default({}),
879
879
  enabled_clients: e.array(e.string()).default([]).optional(),
880
880
  response_type: e.custom().optional(),
881
881
  response_mode: e.custom().optional(),
@@ -883,11 +883,11 @@ const Le = e.object({
883
883
  show_as_button: e.boolean().optional(),
884
884
  metadata: e.record(e.any()).optional(),
885
885
  is_system: e.boolean().optional()
886
- }), Ut = e.object({
886
+ }), Mt = e.object({
887
887
  id: e.string(),
888
888
  created_at: e.string().transform((o) => o === null ? "" : o),
889
889
  updated_at: e.string().transform((o) => o === null ? "" : o)
890
- }).extend(Fe.shape), xe = e.object({
890
+ }).extend(xe.shape), Pe = e.object({
891
891
  domain: e.string(),
892
892
  custom_domain_id: e.string().optional(),
893
893
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -901,7 +901,7 @@ const Le = e.object({
901
901
  "null"
902
902
  ]).optional(),
903
903
  domain_metadata: e.record(e.string().max(255)).optional()
904
- }), Pe = e.discriminatedUnion("name", [
904
+ }), Me = e.discriminatedUnion("name", [
905
905
  e.object({
906
906
  name: e.literal("txt"),
907
907
  record: e.string(),
@@ -912,17 +912,17 @@ const Le = e.object({
912
912
  http_body: e.string(),
913
913
  http_url: e.string()
914
914
  })
915
- ]), Me = e.object({
916
- ...xe.shape,
915
+ ]), He = e.object({
916
+ ...Pe.shape,
917
917
  custom_domain_id: e.string(),
918
918
  primary: e.boolean(),
919
919
  status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
920
920
  origin_domain_name: e.string().optional(),
921
921
  verification: e.object({
922
- methods: e.array(Pe)
922
+ methods: e.array(Me)
923
923
  }).optional(),
924
924
  tls_policy: e.string().optional()
925
- }), Ft = Me.extend({
925
+ }), Ht = He.extend({
926
926
  tenant_id: e.string()
927
927
  }), C = e.object({
928
928
  id: e.string(),
@@ -930,17 +930,17 @@ const Le = e.object({
930
930
  visible: e.boolean().optional().default(!0)
931
931
  }), l = C.extend({
932
932
  category: e.literal("BLOCK").optional()
933
- }), He = l.extend({
933
+ }), Ge = l.extend({
934
934
  type: e.literal("DIVIDER"),
935
935
  config: e.object({
936
936
  text: e.string().optional()
937
937
  }).optional()
938
- }), Ge = l.extend({
938
+ }), Be = l.extend({
939
939
  type: e.literal("HTML"),
940
940
  config: e.object({
941
941
  content: e.string().optional()
942
942
  }).optional()
943
- }), Be = l.extend({
943
+ }), We = l.extend({
944
944
  type: e.literal("IMAGE"),
945
945
  config: e.object({
946
946
  src: e.string().optional(),
@@ -948,29 +948,29 @@ const Le = e.object({
948
948
  width: e.number().optional(),
949
949
  height: e.number().optional()
950
950
  }).optional()
951
- }), We = l.extend({
951
+ }), Ke = l.extend({
952
952
  type: e.literal("JUMP_BUTTON"),
953
953
  config: e.object({
954
954
  text: e.string().optional(),
955
955
  target_step: e.string().optional()
956
956
  })
957
- }), Ke = l.extend({
957
+ }), ze = l.extend({
958
958
  type: e.literal("RESEND_BUTTON"),
959
959
  config: e.object({
960
960
  text: e.string().optional(),
961
961
  resend_action: e.string().optional()
962
962
  })
963
- }), ze = l.extend({
963
+ }), qe = l.extend({
964
964
  type: e.literal("NEXT_BUTTON"),
965
965
  config: e.object({
966
966
  text: e.string().optional()
967
967
  })
968
- }), qe = l.extend({
968
+ }), Xe = l.extend({
969
969
  type: e.literal("PREVIOUS_BUTTON"),
970
970
  config: e.object({
971
971
  text: e.string().optional()
972
972
  })
973
- }), Xe = l.extend({
973
+ }), Ve = l.extend({
974
974
  type: e.literal("RICH_TEXT"),
975
975
  config: e.object({
976
976
  content: e.string().optional()
@@ -981,17 +981,17 @@ const Le = e.object({
981
981
  hint: e.string().min(1).max(500).optional(),
982
982
  required: e.boolean().optional(),
983
983
  sensitive: e.boolean().optional()
984
- }), Ve = T.extend({
984
+ }), Ye = T.extend({
985
985
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
986
986
  config: e.object({
987
987
  credential_type: e.string().optional()
988
988
  })
989
- }), Ye = T.extend({
989
+ }), Qe = T.extend({
990
990
  type: e.literal("GMAPS_ADDRESS"),
991
991
  config: e.object({
992
992
  api_key: e.string().optional()
993
993
  })
994
- }), Qe = T.extend({
994
+ }), Ze = T.extend({
995
995
  type: e.literal("RECAPTCHA"),
996
996
  config: e.object({
997
997
  site_key: e.string().optional()
@@ -1009,12 +1009,12 @@ const Le = e.object({
1009
1009
  ).optional(),
1010
1010
  required: e.boolean().optional(),
1011
1011
  sensitive: e.boolean().optional()
1012
- }), Ze = n.extend({
1012
+ }), $e = n.extend({
1013
1013
  type: e.literal("BOOLEAN"),
1014
1014
  config: e.object({
1015
1015
  default_value: e.boolean().optional()
1016
1016
  }).optional()
1017
- }), $e = n.extend({
1017
+ }), Je = n.extend({
1018
1018
  type: e.literal("CARDS"),
1019
1019
  config: e.object({
1020
1020
  options: e.array(
@@ -1027,7 +1027,7 @@ const Le = e.object({
1027
1027
  ).optional(),
1028
1028
  multi_select: e.boolean().optional()
1029
1029
  }).optional()
1030
- }), Je = n.extend({
1030
+ }), eo = n.extend({
1031
1031
  type: e.literal("CHOICE"),
1032
1032
  config: e.object({
1033
1033
  options: e.array(
@@ -1040,7 +1040,7 @@ const Le = e.object({
1040
1040
  multiple: e.boolean().optional(),
1041
1041
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1042
1042
  }).optional()
1043
- }), eo = n.extend({
1043
+ }), oo = n.extend({
1044
1044
  type: e.literal("CUSTOM"),
1045
1045
  config: e.object({
1046
1046
  component: e.string().optional(),
@@ -1048,7 +1048,7 @@ const Le = e.object({
1048
1048
  schema: e.record(e.any()).optional(),
1049
1049
  code: e.string().optional()
1050
1050
  })
1051
- }), oo = n.extend({
1051
+ }), to = n.extend({
1052
1052
  type: e.literal("DATE"),
1053
1053
  config: e.object({
1054
1054
  format: e.string().optional(),
@@ -1056,7 +1056,7 @@ const Le = e.object({
1056
1056
  max: e.string().optional(),
1057
1057
  default_value: e.string().optional()
1058
1058
  }).optional()
1059
- }), to = n.extend({
1059
+ }), no = n.extend({
1060
1060
  type: e.literal("DROPDOWN"),
1061
1061
  config: e.object({
1062
1062
  options: e.array(
@@ -1070,26 +1070,26 @@ const Le = e.object({
1070
1070
  multiple: e.boolean().optional(),
1071
1071
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1072
1072
  }).optional()
1073
- }), no = n.extend({
1073
+ }), io = n.extend({
1074
1074
  type: e.literal("EMAIL"),
1075
1075
  config: e.object({
1076
1076
  placeholder: e.string().optional(),
1077
1077
  default_value: e.string().optional()
1078
1078
  }).optional()
1079
- }), io = n.extend({
1079
+ }), ao = n.extend({
1080
1080
  type: e.literal("FILE"),
1081
1081
  config: e.object({
1082
1082
  accept: e.string().optional(),
1083
1083
  max_size: e.number().optional(),
1084
1084
  multiple: e.boolean().optional()
1085
1085
  }).optional()
1086
- }), ao = n.extend({
1086
+ }), so = n.extend({
1087
1087
  type: e.literal("LEGAL"),
1088
1088
  config: e.object({
1089
1089
  text: e.string(),
1090
1090
  html: e.boolean().optional()
1091
1091
  }).optional()
1092
- }), so = n.extend({
1092
+ }), ro = n.extend({
1093
1093
  type: e.literal("NUMBER"),
1094
1094
  config: e.object({
1095
1095
  placeholder: e.string().optional(),
@@ -1098,7 +1098,7 @@ const Le = e.object({
1098
1098
  step: e.number().optional(),
1099
1099
  default_value: e.string().optional()
1100
1100
  }).optional()
1101
- }), ro = n.extend({
1101
+ }), lo = n.extend({
1102
1102
  type: e.literal("PASSWORD"),
1103
1103
  config: e.object({
1104
1104
  placeholder: e.string().optional(),
@@ -1107,13 +1107,13 @@ const Le = e.object({
1107
1107
  forgot_password_link: e.string().optional(),
1108
1108
  default_value: e.string().optional()
1109
1109
  }).optional()
1110
- }), lo = n.extend({
1110
+ }), po = n.extend({
1111
1111
  type: e.literal("PAYMENT"),
1112
1112
  config: e.object({
1113
1113
  provider: e.string().optional(),
1114
1114
  currency: e.string().optional()
1115
1115
  }).optional()
1116
- }), po = n.extend({
1116
+ }), co = n.extend({
1117
1117
  type: e.literal("SOCIAL"),
1118
1118
  config: e.object({
1119
1119
  providers: e.array(e.string()).optional(),
@@ -1128,7 +1128,7 @@ const Le = e.object({
1128
1128
  })
1129
1129
  ).optional()
1130
1130
  }).optional()
1131
- }), co = n.extend({
1131
+ }), _o = n.extend({
1132
1132
  type: e.literal("TEL"),
1133
1133
  config: e.object({
1134
1134
  placeholder: e.string().optional(),
@@ -1136,7 +1136,7 @@ const Le = e.object({
1136
1136
  default_value: e.string().optional(),
1137
1137
  allow_email: e.boolean().optional()
1138
1138
  }).optional()
1139
- }), _o = n.extend({
1139
+ }), go = n.extend({
1140
1140
  type: e.literal("TEXT"),
1141
1141
  config: e.object({
1142
1142
  placeholder: e.string().optional(),
@@ -1144,37 +1144,36 @@ const Le = e.object({
1144
1144
  max_length: e.number().optional(),
1145
1145
  default_value: e.string().optional()
1146
1146
  }).optional()
1147
- }), go = n.extend({
1147
+ }), uo = n.extend({
1148
1148
  type: e.literal("COUNTRY"),
1149
1149
  config: e.object({
1150
1150
  placeholder: e.string().optional(),
1151
1151
  default_value: e.string().optional()
1152
1152
  }).optional()
1153
- }), uo = n.extend({
1153
+ }), mo = n.extend({
1154
1154
  type: e.literal("URL"),
1155
1155
  config: e.object({
1156
1156
  placeholder: e.string().optional(),
1157
1157
  default_value: e.string().optional()
1158
1158
  }).optional()
1159
- }), mo = e.discriminatedUnion("type", [
1160
- He,
1159
+ }), ho = e.discriminatedUnion("type", [
1161
1160
  Ge,
1162
1161
  Be,
1163
1162
  We,
1164
1163
  Ke,
1165
1164
  ze,
1166
1165
  qe,
1167
- Xe
1168
- ]), ho = e.discriminatedUnion("type", [
1169
- Ve,
1170
- Ye,
1171
- Qe
1166
+ Xe,
1167
+ Ve
1172
1168
  ]), bo = e.discriminatedUnion("type", [
1173
- Ze,
1169
+ Ye,
1170
+ Qe,
1171
+ Ze
1172
+ ]), fo = e.discriminatedUnion("type", [
1174
1173
  $e,
1175
1174
  Je,
1176
- go,
1177
1175
  eo,
1176
+ uo,
1178
1177
  oo,
1179
1178
  to,
1180
1179
  no,
@@ -1186,12 +1185,13 @@ const Le = e.object({
1186
1185
  po,
1187
1186
  co,
1188
1187
  _o,
1189
- uo
1188
+ go,
1189
+ mo
1190
1190
  ]), v = e.union([
1191
- mo,
1192
1191
  ho,
1193
- bo
1194
- ]), xt = /* @__PURE__ */ new Set([
1192
+ bo,
1193
+ fo
1194
+ ]), Gt = /* @__PURE__ */ new Set([
1195
1195
  "BOOLEAN",
1196
1196
  "CARDS",
1197
1197
  "CHOICE",
@@ -1205,7 +1205,7 @@ const Le = e.object({
1205
1205
  "TEL",
1206
1206
  "TEXT",
1207
1207
  "URL"
1208
- ]), Pt = e.object({
1208
+ ]), Bt = e.object({
1209
1209
  id: e.string(),
1210
1210
  type: e.literal("submit"),
1211
1211
  label: e.string(),
@@ -1217,7 +1217,7 @@ const Le = e.object({
1217
1217
  }), f = e.object({
1218
1218
  x: e.number(),
1219
1219
  y: e.number()
1220
- }), fo = e.object({
1220
+ }), Eo = e.object({
1221
1221
  id: e.string(),
1222
1222
  type: e.literal("FLOW"),
1223
1223
  coordinates: f,
@@ -1226,7 +1226,7 @@ const Le = e.object({
1226
1226
  flow_id: e.string().max(30),
1227
1227
  next_node: e.string().optional()
1228
1228
  })
1229
- }), Eo = e.object({
1229
+ }), So = e.object({
1230
1230
  id: e.string(),
1231
1231
  type: e.literal("ROUTER"),
1232
1232
  coordinates: f,
@@ -1242,7 +1242,7 @@ const Le = e.object({
1242
1242
  ),
1243
1243
  fallback: e.string()
1244
1244
  })
1245
- }), So = e.object({
1245
+ }), Ao = e.object({
1246
1246
  id: e.string(),
1247
1247
  type: e.literal("STEP"),
1248
1248
  coordinates: f,
@@ -1251,11 +1251,11 @@ const Le = e.object({
1251
1251
  components: e.array(v),
1252
1252
  next_node: e.string().optional()
1253
1253
  })
1254
- }), Ao = e.discriminatedUnion("type", [
1255
- fo,
1254
+ }), yo = e.discriminatedUnion("type", [
1256
1255
  Eo,
1257
- So
1258
- ]), yo = e.object({
1256
+ So,
1257
+ Ao
1258
+ ]), Io = e.object({
1259
1259
  name: e.string().openapi({
1260
1260
  description: "The name of the form"
1261
1261
  }),
@@ -1268,7 +1268,7 @@ const Le = e.object({
1268
1268
  default: e.string().optional()
1269
1269
  }).optional(),
1270
1270
  translations: e.record(e.string(), e.any()).optional(),
1271
- nodes: e.array(Ao).optional(),
1271
+ nodes: e.array(yo).optional(),
1272
1272
  start: e.object({
1273
1273
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1274
1274
  next_node: e.string().optional(),
@@ -1290,20 +1290,20 @@ const Le = e.object({
1290
1290
  }).optional()
1291
1291
  }).openapi({
1292
1292
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1293
- }), Mt = e.object({
1294
- ...r.shape,
1295
- ...yo.shape,
1293
+ }), Wt = e.object({
1294
+ ...s.shape,
1295
+ ...Io.shape,
1296
1296
  id: e.string()
1297
- }), Io = e.object({
1297
+ }), Co = e.object({
1298
1298
  id: e.number().optional(),
1299
1299
  text: e.string(),
1300
1300
  type: e.enum(["info", "error", "success", "warning"])
1301
- }), Co = e.object({
1301
+ }), To = e.object({
1302
1302
  id: e.string().optional(),
1303
1303
  text: e.string(),
1304
1304
  href: e.string(),
1305
1305
  linkText: e.string().optional()
1306
- }), Ht = e.object({
1306
+ }), Kt = e.object({
1307
1307
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1308
1308
  name: e.string().optional(),
1309
1309
  action: e.string(),
@@ -1311,18 +1311,18 @@ const Le = e.object({
1311
1311
  title: e.string().optional(),
1312
1312
  description: e.string().optional(),
1313
1313
  components: e.array(v),
1314
- messages: e.array(Io).optional(),
1315
- links: e.array(Co).optional(),
1314
+ messages: e.array(Co).optional(),
1315
+ links: e.array(To).optional(),
1316
1316
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1317
1317
  footer: e.string().optional()
1318
1318
  });
1319
- function Gt(o) {
1319
+ function zt(o) {
1320
1320
  return o.category === "BLOCK";
1321
1321
  }
1322
- function Bt(o) {
1322
+ function qt(o) {
1323
1323
  return o.category === "WIDGET";
1324
1324
  }
1325
- function Wt(o) {
1325
+ function Xt(o) {
1326
1326
  return o.category === "FIELD";
1327
1327
  }
1328
1328
  const k = e.enum([
@@ -1344,9 +1344,14 @@ const k = e.enum([
1344
1344
  "post-user-login",
1345
1345
  "credentials-exchange"
1346
1346
  ]), x = e.enum([
1347
+ "post-user-login",
1348
+ "credentials-exchange",
1349
+ "pre-user-registration",
1350
+ "post-user-registration"
1351
+ ]), P = e.enum([
1347
1352
  "ensure-username",
1348
1353
  "set-preferred-username"
1349
- ]), Kt = {
1354
+ ]), Vt = {
1350
1355
  "ensure-username": {
1351
1356
  name: "Ensure Username",
1352
1357
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1357,57 +1362,76 @@ const k = e.enum([
1357
1362
  description: "Sets the preferred_username claim on tokens based on the username from the primary or linked user.",
1358
1363
  trigger_id: "credentials-exchange"
1359
1364
  }
1360
- }, m = {
1365
+ }, p = {
1361
1366
  enabled: e.boolean().default(!1),
1362
1367
  synchronous: e.boolean().default(!1),
1363
1368
  priority: e.number().optional(),
1364
1369
  hook_id: e.string().optional()
1365
- }, To = e.object({
1366
- ...m,
1370
+ }, Oo = e.object({
1371
+ ...p,
1367
1372
  trigger_id: k,
1368
1373
  url: e.string()
1369
- }), Oo = e.object({
1370
- ...m,
1374
+ }), No = e.object({
1375
+ ...p,
1371
1376
  trigger_id: U,
1372
1377
  form_id: e.string()
1373
- }), No = e.object({
1374
- ...m,
1378
+ }), wo = e.object({
1379
+ ...p,
1375
1380
  trigger_id: F,
1376
- template_id: x
1377
- }), zt = e.union([
1378
- To,
1381
+ template_id: P
1382
+ }), jo = e.object({
1383
+ ...p,
1384
+ trigger_id: x,
1385
+ code_id: e.string()
1386
+ }), Yt = e.union([
1379
1387
  Oo,
1380
- No
1381
- ]), wo = e.object({
1382
- ...m,
1388
+ No,
1389
+ wo,
1390
+ jo
1391
+ ]), Ro = e.object({
1392
+ ...p,
1383
1393
  trigger_id: k,
1384
- ...r.shape,
1394
+ ...s.shape,
1385
1395
  hook_id: e.string(),
1386
1396
  url: e.string()
1387
- }), jo = e.object({
1388
- ...m,
1397
+ }), Do = e.object({
1398
+ ...p,
1389
1399
  trigger_id: U,
1390
- ...r.shape,
1400
+ ...s.shape,
1391
1401
  hook_id: e.string(),
1392
1402
  form_id: e.string()
1393
- }), Ro = e.object({
1394
- ...m,
1403
+ }), Lo = e.object({
1404
+ ...p,
1395
1405
  trigger_id: F,
1396
- ...r.shape,
1406
+ ...s.shape,
1397
1407
  hook_id: e.string(),
1398
- template_id: x
1399
- }), qt = e.union([
1400
- wo,
1401
- jo,
1402
- Ro
1403
- ]), Do = e.object({
1408
+ template_id: P
1409
+ }), vo = e.object({
1410
+ ...p,
1411
+ trigger_id: x,
1412
+ ...s.shape,
1413
+ hook_id: e.string(),
1414
+ code_id: e.string()
1415
+ }), Qt = e.union([
1416
+ Ro,
1417
+ Do,
1418
+ Lo,
1419
+ vo
1420
+ ]), ko = e.object({
1421
+ code: e.string().max(1e5),
1422
+ secrets: e.record(e.string()).optional()
1423
+ }), Zt = ko.extend({
1424
+ id: e.string(),
1425
+ tenant_id: e.string(),
1426
+ ...s.shape
1427
+ }), Uo = e.object({
1404
1428
  name: e.string().optional()
1405
- }), Lo = e.object({
1429
+ }), Fo = e.object({
1406
1430
  email: e.string().optional()
1407
- }), vo = e.object({
1431
+ }), xo = e.object({
1408
1432
  organization_id: e.string().max(50),
1409
- inviter: Do,
1410
- invitee: Lo,
1433
+ inviter: Uo,
1434
+ invitee: Fo,
1411
1435
  invitation_url: e.string().url(),
1412
1436
  client_id: e.string(),
1413
1437
  connection_id: e.string().optional(),
@@ -1416,13 +1440,13 @@ const k = e.enum([
1416
1440
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1417
1441
  roles: e.array(e.string()).default([]).optional(),
1418
1442
  send_invitation_email: e.boolean().default(!0).optional()
1419
- }), Xt = e.object({
1443
+ }), $t = e.object({
1420
1444
  id: e.string(),
1421
1445
  organization_id: e.string().max(50),
1422
1446
  created_at: e.string().datetime(),
1423
1447
  expires_at: e.string().datetime(),
1424
1448
  ticket_id: e.string().optional()
1425
- }).extend(vo.shape), ko = e.object({
1449
+ }).extend(xo.shape), Po = e.object({
1426
1450
  alg: e.enum([
1427
1451
  "RS256",
1428
1452
  "RS384",
@@ -1441,9 +1465,9 @@ const k = e.enum([
1441
1465
  x5t: e.string().optional(),
1442
1466
  x5c: e.array(e.string()).optional(),
1443
1467
  use: e.enum(["sig", "enc"]).optional()
1444
- }), Vt = e.object({
1445
- keys: e.array(ko)
1446
- }), Yt = e.object({
1468
+ }), Jt = e.object({
1469
+ keys: e.array(Po)
1470
+ }), en = e.object({
1447
1471
  issuer: e.string(),
1448
1472
  authorization_endpoint: e.string(),
1449
1473
  token_endpoint: e.string(),
@@ -1465,18 +1489,18 @@ const k = e.enum([
1465
1489
  request_parameter_supported: e.boolean(),
1466
1490
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1467
1491
  });
1468
- 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 || {});
1469
- const Uo = e.nativeEnum(P), Fo = e.object({
1492
+ var M = /* @__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))(M || {});
1493
+ const Mo = e.nativeEnum(M), Ho = e.object({
1470
1494
  csrf_token: e.string(),
1471
1495
  auth0Client: e.string().optional(),
1472
- authParams: Le,
1496
+ authParams: ve,
1473
1497
  expires_at: e.string(),
1474
1498
  deleted_at: e.string().optional(),
1475
1499
  ip: e.string().optional(),
1476
1500
  useragent: e.string().optional(),
1477
1501
  session_id: e.string().optional(),
1478
1502
  authorization_url: e.string().optional(),
1479
- state: Uo.optional().default(
1503
+ state: Mo.optional().default(
1480
1504
  "pending"
1481
1505
  /* PENDING */
1482
1506
  ),
@@ -1489,14 +1513,14 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1489
1513
  // The connection used to authenticate (may differ from primary user's connection)
1490
1514
  }).openapi({
1491
1515
  description: "This represents a login sesion"
1492
- }), Qt = e.object({
1493
- ...Fo.shape,
1516
+ }), on = e.object({
1517
+ ...Ho.shape,
1494
1518
  id: e.string().openapi({
1495
1519
  description: "This is is used as the state in the universal login"
1496
1520
  }),
1497
1521
  created_at: e.string(),
1498
1522
  updated_at: e.string()
1499
- }), xo = {
1523
+ }), Go = {
1500
1524
  // Network & System
1501
1525
  ACLS_SUMMARY: "acls_summary",
1502
1526
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1667,24 +1691,24 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1667
1691
  WARNING_DURING_LOGIN: "w",
1668
1692
  WARNING_SENDING_NOTIFICATION: "wn",
1669
1693
  WARNING_USER_MANAGEMENT: "wum"
1670
- }, Po = e.string().refine(
1671
- (o) => Object.values(xo).includes(o),
1694
+ }, Bo = e.string().refine(
1695
+ (o) => Object.values(Go).includes(o),
1672
1696
  { message: "Invalid log type" }
1673
- ), Mo = e.object({
1697
+ ), Wo = e.object({
1674
1698
  name: e.string(),
1675
1699
  version: e.string(),
1676
1700
  env: e.object({
1677
1701
  node: e.string().optional()
1678
1702
  }).optional()
1679
- }), Ho = e.object({
1703
+ }), Ko = e.object({
1680
1704
  country_code: e.string().length(2),
1681
1705
  city_name: e.string(),
1682
1706
  latitude: e.string(),
1683
1707
  longitude: e.string(),
1684
1708
  time_zone: e.string(),
1685
1709
  continent_code: e.string()
1686
- }), Go = e.object({
1687
- type: Po,
1710
+ }), zo = e.object({
1711
+ type: Bo,
1688
1712
  date: e.string(),
1689
1713
  description: e.string().optional(),
1690
1714
  ip: e.string().optional(),
@@ -1703,30 +1727,30 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1703
1727
  strategy: e.string().optional(),
1704
1728
  strategy_type: e.string().optional(),
1705
1729
  hostname: e.string().optional(),
1706
- auth0_client: Mo.optional(),
1730
+ auth0_client: Wo.optional(),
1707
1731
  log_id: e.string().optional(),
1708
- location_info: Ho.optional()
1709
- }), Zt = e.object({
1710
- ...Go.shape,
1732
+ location_info: Ko.optional()
1733
+ }), tn = e.object({
1734
+ ...zo.shape,
1711
1735
  log_id: e.string()
1712
- }), Bo = e.object({
1736
+ }), qo = e.object({
1713
1737
  id: e.string().optional(),
1714
1738
  user_id: e.string(),
1715
1739
  password: e.string(),
1716
1740
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1717
1741
  is_current: e.boolean().default(!0)
1718
- }), $t = Bo.extend({
1742
+ }), nn = qo.extend({
1719
1743
  id: e.string(),
1720
1744
  created_at: e.string(),
1721
1745
  updated_at: e.string()
1722
- }), M = e.object({
1746
+ }), H = e.object({
1723
1747
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1724
1748
  initial_ip: e.string().describe("First IP address associated with this session"),
1725
1749
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1726
1750
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1727
1751
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1728
1752
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1729
- }), Wo = e.object({
1753
+ }), Xo = e.object({
1730
1754
  id: e.string(),
1731
1755
  revoked_at: e.string().optional(),
1732
1756
  used_at: e.string().optional(),
@@ -1734,17 +1758,17 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1734
1758
  expires_at: e.string().optional(),
1735
1759
  login_session_id: e.string(),
1736
1760
  idle_expires_at: e.string().optional(),
1737
- device: M.describe(
1761
+ device: H.describe(
1738
1762
  "Metadata related to the device used in the session"
1739
1763
  ),
1740
1764
  clients: e.array(e.string()).describe("List of client details for the session")
1741
- }), Jt = e.object({
1765
+ }), an = e.object({
1742
1766
  created_at: e.string(),
1743
1767
  updated_at: e.string(),
1744
1768
  authenticated_at: e.string(),
1745
1769
  last_interaction_at: e.string(),
1746
- ...Wo.shape
1747
- }), en = e.object({
1770
+ ...Xo.shape
1771
+ }), sn = e.object({
1748
1772
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1749
1773
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1750
1774
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1769,7 +1793,7 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1769
1793
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1770
1794
  description: "The type of the signing key"
1771
1795
  })
1772
- }), Ko = e.object({
1796
+ }), Vo = e.object({
1773
1797
  id: e.string().optional(),
1774
1798
  // Basic settings
1775
1799
  audience: e.string(),
@@ -1924,14 +1948,14 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1924
1948
  message: e.string().optional()
1925
1949
  }).optional()
1926
1950
  }).optional()
1927
- }), on = e.object({
1951
+ }), rn = e.object({
1928
1952
  created_at: e.string().nullable().transform((o) => o ?? ""),
1929
1953
  updated_at: e.string().nullable().transform((o) => o ?? ""),
1930
- ...Ko.shape,
1954
+ ...Vo.shape,
1931
1955
  id: e.string()
1932
1956
  });
1933
- var zo = /* @__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))(zo || {});
1934
- const tn = e.object({
1957
+ var Yo = /* @__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))(Yo || {});
1958
+ const ln = e.object({
1935
1959
  access_token: e.string(),
1936
1960
  id_token: e.string().optional(),
1937
1961
  scope: e.string().optional(),
@@ -1944,7 +1968,7 @@ e.object({
1944
1968
  code: e.string(),
1945
1969
  state: e.string().optional()
1946
1970
  });
1947
- const qo = e.object({
1971
+ const Qo = e.object({
1948
1972
  button_border_radius: e.number(),
1949
1973
  button_border_weight: e.number(),
1950
1974
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1954,7 +1978,7 @@ const qo = e.object({
1954
1978
  show_widget_shadow: e.boolean(),
1955
1979
  widget_border_weight: e.number(),
1956
1980
  widget_corner_radius: e.number()
1957
- }), Xo = e.object({
1981
+ }), Zo = e.object({
1958
1982
  base_focus_color: e.string(),
1959
1983
  base_hover_color: e.string(),
1960
1984
  body_text: e.string(),
@@ -1974,44 +1998,44 @@ const qo = e.object({
1974
1998
  success: e.string(),
1975
1999
  widget_background: e.string(),
1976
2000
  widget_border: e.string()
1977
- }), g = e.object({
2001
+ }), u = e.object({
1978
2002
  bold: e.boolean(),
1979
2003
  size: e.number()
1980
- }), Vo = e.object({
1981
- body_text: g,
1982
- buttons_text: g,
2004
+ }), $o = e.object({
2005
+ body_text: u,
2006
+ buttons_text: u,
1983
2007
  font_url: e.string(),
1984
- input_labels: g,
1985
- links: g,
2008
+ input_labels: u,
2009
+ links: u,
1986
2010
  links_style: e.enum(["normal", "underlined"]),
1987
2011
  reference_text_size: e.number(),
1988
- subtitle: g,
1989
- title: g
1990
- }), Yo = e.object({
2012
+ subtitle: u,
2013
+ title: u
2014
+ }), Jo = e.object({
1991
2015
  background_color: e.string(),
1992
2016
  background_image_url: e.string(),
1993
2017
  page_layout: e.enum(["center", "left", "right"])
1994
- }), Qo = e.object({
2018
+ }), et = e.object({
1995
2019
  header_text_alignment: e.enum(["center", "left", "right"]),
1996
2020
  logo_height: e.number(),
1997
2021
  logo_position: e.enum(["center", "left", "none", "right"]),
1998
2022
  logo_url: e.string(),
1999
2023
  social_buttons_layout: e.enum(["bottom", "top"])
2000
- }), Zo = e.object({
2001
- borders: qo,
2002
- colors: Xo,
2024
+ }), ot = e.object({
2025
+ borders: Qo,
2026
+ colors: Zo,
2003
2027
  displayName: e.string(),
2004
- fonts: Vo,
2005
- page_background: Yo,
2006
- widget: Qo
2007
- }), nn = Zo.extend({
2028
+ fonts: $o,
2029
+ page_background: Jo,
2030
+ widget: et
2031
+ }), pn = ot.extend({
2008
2032
  themeId: e.string()
2009
- }), an = e.object({
2033
+ }), cn = e.object({
2010
2034
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2011
2035
  identifier_first: e.boolean().default(!0),
2012
2036
  password_first: e.boolean().default(!1),
2013
2037
  webauthn_platform_first_factor: e.boolean()
2014
- }), sn = e.object({
2038
+ }), _n = e.object({
2015
2039
  name: e.string(),
2016
2040
  enabled: e.boolean().optional().default(!0),
2017
2041
  default_from_address: e.string().optional(),
@@ -2041,7 +2065,7 @@ const qo = e.object({
2041
2065
  })
2042
2066
  ]),
2043
2067
  settings: e.object({}).optional()
2044
- }), $o = e.object({
2068
+ }), tt = e.object({
2045
2069
  // The actual refresh token value (primary key).
2046
2070
  id: e.string(),
2047
2071
  // Link to the login session
@@ -2054,7 +2078,7 @@ const qo = e.object({
2054
2078
  idle_expires_at: e.string().optional(),
2055
2079
  // When the token was last used.
2056
2080
  last_exchanged_at: e.string().optional(),
2057
- device: M,
2081
+ device: H,
2058
2082
  resource_servers: e.array(
2059
2083
  e.object({
2060
2084
  audience: e.string(),
@@ -2062,21 +2086,21 @@ const qo = e.object({
2062
2086
  })
2063
2087
  ),
2064
2088
  rotating: e.boolean()
2065
- }), rn = e.object({
2089
+ }), dn = e.object({
2066
2090
  // When the refresh token record was created.
2067
2091
  created_at: e.string(),
2068
2092
  // Spread in the rest of the refresh token properties.
2069
- ...$o.shape
2070
- }), ln = e.object({
2093
+ ...tt.shape
2094
+ }), gn = e.object({
2071
2095
  to: e.string(),
2072
2096
  message: e.string()
2073
- }), pn = e.object({
2097
+ }), un = e.object({
2074
2098
  name: e.string(),
2075
2099
  options: e.object({})
2076
- }), Jo = e.object({
2100
+ }), nt = e.object({
2077
2101
  value: e.string(),
2078
2102
  description: e.string().optional()
2079
- }), et = e.object({
2103
+ }), it = e.object({
2080
2104
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2081
2105
  enforce_policies: e.boolean().optional(),
2082
2106
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2086,11 +2110,11 @@ const qo = e.object({
2086
2110
  mtls: e.object({
2087
2111
  bound_access_tokens: e.boolean().optional()
2088
2112
  }).optional()
2089
- }), ot = e.object({
2113
+ }), at = e.object({
2090
2114
  id: e.string().optional(),
2091
2115
  name: e.string(),
2092
2116
  identifier: e.string(),
2093
- scopes: e.array(Jo).optional(),
2117
+ scopes: e.array(nt).optional(),
2094
2118
  signing_alg: e.string().optional(),
2095
2119
  signing_secret: e.string().optional(),
2096
2120
  token_lifetime: e.number().optional(),
@@ -2098,30 +2122,30 @@ const qo = e.object({
2098
2122
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2099
2123
  allow_offline_access: e.boolean().optional(),
2100
2124
  verificationKey: e.string().optional(),
2101
- options: et.optional(),
2125
+ options: it.optional(),
2102
2126
  is_system: e.boolean().optional(),
2103
2127
  metadata: e.record(e.any()).optional()
2104
- }), tt = e.object({
2105
- ...ot.shape,
2128
+ }), st = e.object({
2129
+ ...at.shape,
2106
2130
  created_at: e.string().optional(),
2107
2131
  updated_at: e.string().optional()
2108
- }), cn = e.array(tt), nt = e.object({
2132
+ }), mn = e.array(st), rt = e.object({
2109
2133
  role_id: e.string(),
2110
2134
  resource_server_identifier: e.string(),
2111
2135
  permission_name: e.string()
2112
- }), it = e.object({
2113
- ...nt.shape,
2136
+ }), lt = e.object({
2137
+ ...rt.shape,
2114
2138
  created_at: e.string()
2115
- }), _n = e.array(it), at = e.object({
2139
+ }), hn = e.array(lt), pt = e.object({
2116
2140
  user_id: e.string(),
2117
2141
  resource_server_identifier: e.string(),
2118
2142
  permission_name: e.string(),
2119
2143
  organization_id: e.string().optional()
2120
- }), st = e.object({
2121
- ...at.shape,
2144
+ }), ct = e.object({
2145
+ ...pt.shape,
2122
2146
  tenant_id: e.string(),
2123
2147
  created_at: e.string().optional()
2124
- }), dn = e.array(st), rt = e.object({
2148
+ }), bn = e.array(ct), _t = e.object({
2125
2149
  user_id: e.string(),
2126
2150
  resource_server_identifier: e.string(),
2127
2151
  resource_server_name: e.string(),
@@ -2129,17 +2153,17 @@ const qo = e.object({
2129
2153
  description: e.string().nullable().optional(),
2130
2154
  created_at: e.string().optional(),
2131
2155
  organization_id: e.string().optional()
2132
- }), gn = e.array(
2133
- rt
2134
- ), lt = e.object({
2156
+ }), fn = e.array(
2157
+ _t
2158
+ ), dt = e.object({
2135
2159
  user_id: e.string(),
2136
2160
  role_id: e.string(),
2137
2161
  organization_id: e.string().optional()
2138
- }), pt = e.object({
2139
- ...lt.shape,
2162
+ }), gt = e.object({
2163
+ ...dt.shape,
2140
2164
  tenant_id: e.string(),
2141
2165
  created_at: e.string().optional()
2142
- }), un = e.array(pt), ct = e.object({
2166
+ }), En = e.array(gt), ut = e.object({
2143
2167
  id: e.string().optional().openapi({
2144
2168
  description: "The unique identifier of the role. If not provided, one will be generated."
2145
2169
  }),
@@ -2153,13 +2177,13 @@ const qo = e.object({
2153
2177
  metadata: e.record(e.any()).optional().openapi({
2154
2178
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2155
2179
  })
2156
- }), _t = ct.extend({
2180
+ }), mt = ut.extend({
2157
2181
  id: e.string().openapi({
2158
2182
  description: "The unique identifier of the role"
2159
2183
  }),
2160
2184
  created_at: e.string().optional(),
2161
2185
  updated_at: e.string().optional()
2162
- }), mn = e.array(_t), dt = e.object({
2186
+ }), Sn = e.array(mt), ht = e.object({
2163
2187
  logo_url: e.string().optional().openapi({
2164
2188
  description: "URL of the organization's logo"
2165
2189
  }),
@@ -2171,7 +2195,7 @@ const qo = e.object({
2171
2195
  description: "Page background color in hex format (e.g., #FFFFFF)"
2172
2196
  })
2173
2197
  }).optional()
2174
- }).optional(), gt = e.object({
2198
+ }).optional(), bt = e.object({
2175
2199
  connection_id: e.string().openapi({
2176
2200
  description: "ID of the connection"
2177
2201
  }),
@@ -2184,7 +2208,7 @@ const qo = e.object({
2184
2208
  is_signup_enabled: e.boolean().default(!0).openapi({
2185
2209
  description: "Whether signup is enabled for this connection"
2186
2210
  })
2187
- }), ut = e.object({
2211
+ }), ft = e.object({
2188
2212
  client_credentials: e.object({
2189
2213
  enforce: e.boolean().default(!1).openapi({
2190
2214
  description: "Whether to enforce token quota limits"
@@ -2196,7 +2220,7 @@ const qo = e.object({
2196
2220
  description: "Maximum tokens per hour (0 = unlimited)"
2197
2221
  })
2198
2222
  }).optional()
2199
- }).optional(), mt = e.object({
2223
+ }).optional(), Et = e.object({
2200
2224
  id: e.string().optional(),
2201
2225
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2202
2226
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2206,34 +2230,34 @@ const qo = e.object({
2206
2230
  display_name: e.string().optional().openapi({
2207
2231
  description: "The display name of the organization"
2208
2232
  }),
2209
- branding: dt,
2233
+ branding: ht,
2210
2234
  metadata: e.record(e.any()).default({}).optional().openapi({
2211
2235
  description: "Custom metadata for the organization"
2212
2236
  }),
2213
- enabled_connections: e.array(gt).default([]).optional().openapi({
2237
+ enabled_connections: e.array(bt).default([]).optional().openapi({
2214
2238
  description: "List of enabled connections for the organization"
2215
2239
  }),
2216
- token_quota: ut
2217
- }), hn = e.object({
2218
- ...mt.shape,
2219
- ...r.shape,
2240
+ token_quota: ft
2241
+ }), An = e.object({
2242
+ ...Et.shape,
2243
+ ...s.shape,
2220
2244
  id: e.string(),
2221
2245
  // Override name to be lenient when reading from database (to support existing uppercase names)
2222
2246
  name: e.string().min(1).openapi({
2223
2247
  description: "The name of the organization"
2224
2248
  })
2225
- }), ht = e.object({
2249
+ }), St = e.object({
2226
2250
  user_id: e.string().openapi({
2227
2251
  description: "ID of the user"
2228
2252
  }),
2229
2253
  organization_id: e.string().openapi({
2230
2254
  description: "ID of the organization"
2231
2255
  })
2232
- }), bn = e.object({
2233
- ...ht.shape,
2234
- ...r.shape,
2256
+ }), yn = e.object({
2257
+ ...St.shape,
2258
+ ...s.shape,
2235
2259
  id: e.string()
2236
- }), fn = e.object({
2260
+ }), In = e.object({
2237
2261
  // Session settings
2238
2262
  idle_session_lifetime: e.number().optional(),
2239
2263
  session_lifetime: e.number().optional(),
@@ -2333,7 +2357,7 @@ const qo = e.object({
2333
2357
  message: e.string().optional()
2334
2358
  }).optional()
2335
2359
  }).optional()
2336
- }), En = e.object({
2360
+ }), Cn = e.object({
2337
2361
  date: e.string().openapi({
2338
2362
  description: "Date these events occurred in ISO 8601 format",
2339
2363
  example: "2025-12-19"
@@ -2358,10 +2382,10 @@ const qo = e.object({
2358
2382
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2359
2383
  example: "2025-12-19T00:00:00.000Z"
2360
2384
  })
2361
- }), Sn = e.number().openapi({
2385
+ }), Tn = e.number().openapi({
2362
2386
  description: "Number of active users in the last 30 days",
2363
2387
  example: 1234
2364
- }), bt = e.enum([
2388
+ }), At = e.enum([
2365
2389
  "login",
2366
2390
  "login-id",
2367
2391
  "login-password",
@@ -2390,17 +2414,17 @@ const qo = e.object({
2390
2414
  "custom-form",
2391
2415
  "login-passwordless",
2392
2416
  "mfa-login-options"
2393
- ]), ft = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2417
+ ]), yt = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2394
2418
  type: "object",
2395
2419
  additionalProperties: {
2396
2420
  type: "object",
2397
2421
  additionalProperties: { type: "string" }
2398
2422
  }
2399
- }), An = e.object({
2400
- prompt: bt,
2423
+ }), On = e.object({
2424
+ prompt: At,
2401
2425
  language: e.string(),
2402
- custom_text: ft
2403
- }), yn = {
2426
+ custom_text: yt
2427
+ }), Nn = {
2404
2428
  EMAIL: "email",
2405
2429
  SMS: "sms",
2406
2430
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2415,11 +2439,11 @@ const qo = e.object({
2415
2439
  SAMLP: "samlp",
2416
2440
  WAAD: "waad",
2417
2441
  ADFS: "adfs"
2418
- }, In = {
2442
+ }, wn = {
2419
2443
  DATABASE: "database",
2420
2444
  SOCIAL: "social",
2421
2445
  PASSWORDLESS: "passwordless"
2422
- }, Et = e.enum([
2446
+ }, It = e.enum([
2423
2447
  "phone",
2424
2448
  "totp",
2425
2449
  "email",
@@ -2427,9 +2451,9 @@ const qo = e.object({
2427
2451
  "webauthn-roaming",
2428
2452
  "webauthn-platform",
2429
2453
  "passkey"
2430
- ]), H = e.object({
2454
+ ]), G = e.object({
2431
2455
  user_id: e.string(),
2432
- type: Et,
2456
+ type: It,
2433
2457
  // Phone-specific
2434
2458
  phone_number: e.string().optional(),
2435
2459
  // TOTP-specific
@@ -2444,7 +2468,7 @@ const qo = e.object({
2444
2468
  // Common
2445
2469
  confirmed: e.boolean().default(!1)
2446
2470
  });
2447
- function G(o, t) {
2471
+ function B(o, t) {
2448
2472
  o.type === "phone" && !o.phone_number && t.addIssue({
2449
2473
  code: e.ZodIssueCode.custom,
2450
2474
  message: "phone_number is required when type is 'phone'",
@@ -2463,40 +2487,40 @@ function G(o, t) {
2463
2487
  path: ["public_key"]
2464
2488
  }));
2465
2489
  }
2466
- const Cn = H.superRefine(G), Tn = e.object({
2467
- ...H.shape,
2490
+ const jn = G.superRefine(B), Rn = e.object({
2491
+ ...G.shape,
2468
2492
  id: e.string(),
2469
2493
  created_at: e.string(),
2470
2494
  updated_at: e.string()
2471
- }).superRefine(G);
2472
- function On(o) {
2495
+ }).superRefine(B);
2496
+ function Dn(o) {
2473
2497
  const [t, i] = o.split("|");
2474
2498
  if (!t || !i)
2475
2499
  throw new Error(`Invalid user_id: ${o}`);
2476
2500
  return { connection: t, id: i };
2477
2501
  }
2478
- function Nn(o) {
2502
+ function Ln(o) {
2479
2503
  const {
2480
2504
  primary: t,
2481
2505
  secondaries: i,
2482
2506
  syncMethods: O = ["create", "update", "remove", "delete", "set"]
2483
2507
  } = o, E = {
2484
- get(p, a) {
2508
+ get(c, a) {
2485
2509
  if (typeof a == "symbol")
2486
- return p[a];
2487
- const c = p[a];
2488
- return typeof c != "function" ? c : O.includes(a) ? async (..._) => {
2489
- const S = await c.apply(p, _), d = [];
2490
- for (const s of i) {
2491
- const h = s.adapter[a];
2510
+ return c[a];
2511
+ const _ = c[a];
2512
+ return typeof _ != "function" ? _ : O.includes(a) ? async (...d) => {
2513
+ const S = await _.apply(c, d), g = [];
2514
+ for (const r of i) {
2515
+ const h = r.adapter[a];
2492
2516
  if (typeof h != "function")
2493
2517
  continue;
2494
2518
  const A = (async () => {
2495
2519
  try {
2496
- await h.apply(s.adapter, _);
2520
+ await h.apply(r.adapter, d);
2497
2521
  } catch (b) {
2498
2522
  try {
2499
- s.onError ? s.onError(b, a, _) : console.error(
2523
+ r.onError ? r.onError(b, a, d) : console.error(
2500
2524
  `Passthrough adapter: secondary write failed for ${a}:`,
2501
2525
  b
2502
2526
  );
@@ -2508,19 +2532,19 @@ function Nn(o) {
2508
2532
  }
2509
2533
  }
2510
2534
  })();
2511
- s.blocking && d.push(A);
2535
+ r.blocking && g.push(A);
2512
2536
  }
2513
- return d.length > 0 && await Promise.all(d), S;
2514
- } : c.bind(p);
2537
+ return g.length > 0 && await Promise.all(g), S;
2538
+ } : _.bind(c);
2515
2539
  }
2516
2540
  };
2517
2541
  return new Proxy(t, E);
2518
2542
  }
2519
- function wn(o) {
2543
+ function vn(o) {
2520
2544
  return o;
2521
2545
  }
2522
- function jn(o) {
2523
- var E, p, a, c, _, S, d, s, h, A, b, y;
2546
+ function kn(o) {
2547
+ var E, c, a, _, d, S, g, r, h, A, b, y;
2524
2548
  const t = o == null ? void 0 : o.options;
2525
2549
  if (!t)
2526
2550
  return {
@@ -2531,12 +2555,12 @@ function jn(o) {
2531
2555
  };
2532
2556
  const i = t.attributes;
2533
2557
  if (i) {
2534
- 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;
2558
+ const W = ((c = (E = i.username) == null ? void 0 : E.identifier) == null ? void 0 : c.active) === !0, K = ((_ = (a = i.email) == null ? void 0 : a.identifier) == null ? void 0 : _.active) !== !1, z = ((S = (d = i.username) == null ? void 0 : d.validation) == null ? void 0 : S.min_length) ?? 1, q = ((r = (g = i.username) == null ? void 0 : g.validation) == null ? void 0 : r.max_length) ?? 15;
2535
2559
  return {
2536
- usernameIdentifierActive: B,
2537
- emailIdentifierActive: W,
2538
- usernameMinLength: K,
2539
- usernameMaxLength: z
2560
+ usernameIdentifierActive: W,
2561
+ emailIdentifierActive: K,
2562
+ usernameMinLength: z,
2563
+ usernameMaxLength: q
2540
2564
  };
2541
2565
  }
2542
2566
  return {
@@ -2547,172 +2571,174 @@ function jn(o) {
2547
2571
  };
2548
2572
  }
2549
2573
  export {
2550
- It as Auth0ActionEnum,
2551
- Mo as Auth0Client,
2574
+ Nt as Auth0ActionEnum,
2575
+ Wo as Auth0Client,
2552
2576
  D as AuthorizationResponseMode,
2553
2577
  R as AuthorizationResponseType,
2554
2578
  L as CodeChallengeMethod,
2555
2579
  j as ComponentCategory,
2556
2580
  w as ComponentType,
2557
- Ct as EmailActionEnum,
2558
- xt as FORM_FIELD_TYPES,
2559
- yt as FlowActionTypeEnum,
2560
- zo as GrantType,
2561
- Ho as LocationInfo,
2562
- xo as LogTypes,
2563
- P as LoginSessionState,
2564
- Ie as NodeType,
2565
- ne as RedirectTargetEnum,
2566
- yn as Strategy,
2567
- In as StrategyType,
2568
- Oe as actionNodeSchema,
2569
- Sn as activeUsersResponseSchema,
2570
- X as actorSchema,
2571
- pe as addressSchema,
2572
- q as auditCategorySchema,
2573
- J as auditEventInsertSchema,
2574
- At as auditEventSchema,
2575
- $ as auth0ClientSchema,
2576
- Lt as auth0FlowInsertSchema,
2577
- De as auth0FlowSchema,
2578
- Ot as auth0QuerySchema,
2579
- oe as auth0UpdateUserActionSchema,
2580
- wt as auth0UserResponseSchema,
2581
- Le as authParamsSchema,
2582
- Cn as authenticationMethodInsertSchema,
2583
- Tn as authenticationMethodSchema,
2584
- Et as authenticationMethodTypeSchema,
2581
+ wt as EmailActionEnum,
2582
+ Gt as FORM_FIELD_TYPES,
2583
+ Ot as FlowActionTypeEnum,
2584
+ Yo as GrantType,
2585
+ Ko as LocationInfo,
2586
+ Go as LogTypes,
2587
+ M as LoginSessionState,
2588
+ Ce as NodeType,
2589
+ ie as RedirectTargetEnum,
2590
+ Nn as Strategy,
2591
+ wn as StrategyType,
2592
+ Ne as actionNodeSchema,
2593
+ Tn as activeUsersResponseSchema,
2594
+ V as actorSchema,
2595
+ ce as addressSchema,
2596
+ X as auditCategorySchema,
2597
+ ee as auditEventInsertSchema,
2598
+ Tt as auditEventSchema,
2599
+ J as auth0ClientSchema,
2600
+ Ft as auth0FlowInsertSchema,
2601
+ Le as auth0FlowSchema,
2602
+ Rt as auth0QuerySchema,
2603
+ te as auth0UpdateUserActionSchema,
2604
+ Lt as auth0UserResponseSchema,
2605
+ ve as authParamsSchema,
2606
+ jn as authenticationMethodInsertSchema,
2607
+ Rn as authenticationMethodSchema,
2608
+ It as authenticationMethodTypeSchema,
2585
2609
  N as baseUserSchema,
2586
- mo as blockComponentSchema,
2587
- qo as bordersSchema,
2588
- vt as brandingSchema,
2589
- fe as buttonComponentSchema,
2590
- me as clientGrantInsertSchema,
2591
- Dt as clientGrantListSchema,
2592
- he as clientGrantSchema,
2593
- ue as clientInsertSchema,
2594
- Rt as clientSchema,
2595
- ke as codeInsertSchema,
2596
- kt as codeSchema,
2597
- ve as codeTypeSchema,
2598
- Xo as colorsSchema,
2599
- Io as componentMessageSchema,
2600
- ye as componentSchema,
2601
- Fe as connectionInsertSchema,
2602
- Ue as connectionOptionsSchema,
2603
- Ut as connectionSchema,
2604
- u as coordinatesSchema,
2605
- Nn as createPassthroughAdapter,
2606
- wn as createWriteOnlyAdapter,
2607
- xe as customDomainInsertSchema,
2608
- Me as customDomainSchema,
2609
- Ft as customDomainWithTenantIdSchema,
2610
- An as customTextEntrySchema,
2611
- ft as customTextSchema,
2612
- En as dailyStatsSchema,
2613
- sn as emailProviderSchema,
2614
- ee as emailVerificationRulesSchema,
2615
- te as emailVerifyActionSchema,
2616
- Re as endingSchema,
2617
- bo as fieldComponentSchema,
2618
- ae as flowActionStepSchema,
2619
- se as flowInsertSchema,
2620
- Tt as flowSchema,
2621
- Se as flowsFieldComponentSchema,
2622
- Te as flowsFlowNodeSchema,
2623
- Ce as flowsStepNodeSchema,
2624
- g as fontDetailsSchema,
2625
- Vo as fontsSchema,
2626
- Pt as formControlSchema,
2627
- yo as formInsertSchema,
2610
+ ho as blockComponentSchema,
2611
+ Qo as bordersSchema,
2612
+ xt as brandingSchema,
2613
+ Ee as buttonComponentSchema,
2614
+ he as clientGrantInsertSchema,
2615
+ Ut as clientGrantListSchema,
2616
+ be as clientGrantSchema,
2617
+ me as clientInsertSchema,
2618
+ kt as clientSchema,
2619
+ Ue as codeInsertSchema,
2620
+ Pt as codeSchema,
2621
+ ke as codeTypeSchema,
2622
+ Zo as colorsSchema,
2623
+ Co as componentMessageSchema,
2624
+ Ie as componentSchema,
2625
+ xe as connectionInsertSchema,
2626
+ Fe as connectionOptionsSchema,
2627
+ Mt as connectionSchema,
2628
+ m as coordinatesSchema,
2629
+ Ln as createPassthroughAdapter,
2630
+ vn as createWriteOnlyAdapter,
2631
+ Pe as customDomainInsertSchema,
2632
+ He as customDomainSchema,
2633
+ Ht as customDomainWithTenantIdSchema,
2634
+ On as customTextEntrySchema,
2635
+ yt as customTextSchema,
2636
+ Cn as dailyStatsSchema,
2637
+ _n as emailProviderSchema,
2638
+ oe as emailVerificationRulesSchema,
2639
+ ne as emailVerifyActionSchema,
2640
+ De as endingSchema,
2641
+ fo as fieldComponentSchema,
2642
+ se as flowActionStepSchema,
2643
+ re as flowInsertSchema,
2644
+ jt as flowSchema,
2645
+ Ae as flowsFieldComponentSchema,
2646
+ Oe as flowsFlowNodeSchema,
2647
+ Te as flowsStepNodeSchema,
2648
+ u as fontDetailsSchema,
2649
+ $o as fontsSchema,
2650
+ Bt as formControlSchema,
2651
+ Io as formInsertSchema,
2628
2652
  v as formNodeComponentDefinition,
2629
- Ao as formNodeSchema,
2630
- Mt as formSchema,
2631
- Ae as genericComponentSchema,
2632
- Ne as genericNodeSchema,
2633
- jn as getConnectionIdentifierConfig,
2634
- zt as hookInsertSchema,
2635
- qt as hookSchema,
2636
- x as hookTemplateId,
2637
- Kt as hookTemplates,
2638
- le as identitySchema,
2639
- vo as inviteInsertSchema,
2640
- Xt as inviteSchema,
2641
- Lo as inviteeSchema,
2642
- Do as inviterSchema,
2643
- Gt as isBlockComponent,
2644
- Wt as isFieldComponent,
2645
- Bt as isWidgetComponent,
2646
- Vt as jwksKeySchema,
2647
- ko as jwksSchema,
2648
- Ee as legalComponentSchema,
2649
- Z as locationInfoSchema,
2650
- Go as logInsertSchema,
2651
- Zt as logSchema,
2652
- Fo as loginSessionInsertSchema,
2653
- Qt as loginSessionSchema,
2654
- Uo as loginSessionStateSchema,
2655
- we as nodeSchema,
2656
- Yt as openIDConfigurationSchema,
2657
- dt as organizationBrandingSchema,
2658
- gt as organizationEnabledConnectionSchema,
2659
- mt as organizationInsertSchema,
2660
- hn as organizationSchema,
2661
- ut as organizationTokenQuotaSchema,
2662
- Yo as pageBackgroundSchema,
2663
- On as parseUserId,
2664
- Bo as passwordInsertSchema,
2665
- $t as passwordSchema,
2666
- re as profileDataSchema,
2667
- bt as promptScreenSchema,
2668
- an as promptSettingSchema,
2669
- ie as redirectActionSchema,
2670
- $o as refreshTokenInsertSchema,
2671
- rn as refreshTokenSchema,
2672
- Y as requestContextSchema,
2673
- ot as resourceServerInsertSchema,
2674
- cn as resourceServerListSchema,
2675
- et as resourceServerOptionsSchema,
2676
- tt as resourceServerSchema,
2677
- Jo as resourceServerScopeSchema,
2678
- Q as responseContextSchema,
2679
- be as richTextComponentSchema,
2680
- ct as roleInsertSchema,
2681
- mn as roleListSchema,
2682
- nt as rolePermissionInsertSchema,
2683
- _n as rolePermissionListSchema,
2684
- it as rolePermissionSchema,
2685
- _t as roleSchema,
2686
- Co as screenLinkSchema,
2687
- Wo as sessionInsertSchema,
2688
- Jt as sessionSchema,
2689
- en as signingKeySchema,
2690
- pn as smsProviderSchema,
2691
- ln as smsSendParamsSchema,
2692
- je as startSchema,
2693
- V as targetSchema,
2694
- Ko as tenantInsertSchema,
2695
- on as tenantSchema,
2696
- fn as tenantSettingsSchema,
2697
- Zo as themeInsertSchema,
2698
- nn as themeSchema,
2699
- tn as tokenResponseSchema,
2700
- Nt as totalsSchema,
2701
- Ht as uiScreenSchema,
2702
- ce as userInsertSchema,
2703
- ht as userOrganizationInsertSchema,
2704
- bn as userOrganizationSchema,
2705
- at as userPermissionInsertSchema,
2706
- dn as userPermissionListSchema,
2707
- st as userPermissionSchema,
2708
- gn as userPermissionWithDetailsListSchema,
2709
- rt as userPermissionWithDetailsSchema,
2710
- jt as userResponseSchema,
2711
- lt as userRoleInsertSchema,
2712
- un as userRoleListSchema,
2713
- pt as userRoleSchema,
2714
- _e as userSchema,
2715
- Pe as verificationMethodsSchema,
2716
- ho as widgetComponentSchema,
2717
- Qo as widgetSchema
2653
+ yo as formNodeSchema,
2654
+ Wt as formSchema,
2655
+ ye as genericComponentSchema,
2656
+ we as genericNodeSchema,
2657
+ kn as getConnectionIdentifierConfig,
2658
+ ko as hookCodeInsertSchema,
2659
+ Zt as hookCodeSchema,
2660
+ Yt as hookInsertSchema,
2661
+ Qt as hookSchema,
2662
+ P as hookTemplateId,
2663
+ Vt as hookTemplates,
2664
+ pe as identitySchema,
2665
+ xo as inviteInsertSchema,
2666
+ $t as inviteSchema,
2667
+ Fo as inviteeSchema,
2668
+ Uo as inviterSchema,
2669
+ zt as isBlockComponent,
2670
+ Xt as isFieldComponent,
2671
+ qt as isWidgetComponent,
2672
+ Jt as jwksKeySchema,
2673
+ Po as jwksSchema,
2674
+ Se as legalComponentSchema,
2675
+ $ as locationInfoSchema,
2676
+ zo as logInsertSchema,
2677
+ tn as logSchema,
2678
+ Ho as loginSessionInsertSchema,
2679
+ on as loginSessionSchema,
2680
+ Mo as loginSessionStateSchema,
2681
+ je as nodeSchema,
2682
+ en as openIDConfigurationSchema,
2683
+ ht as organizationBrandingSchema,
2684
+ bt as organizationEnabledConnectionSchema,
2685
+ Et as organizationInsertSchema,
2686
+ An as organizationSchema,
2687
+ ft as organizationTokenQuotaSchema,
2688
+ Jo as pageBackgroundSchema,
2689
+ Dn as parseUserId,
2690
+ qo as passwordInsertSchema,
2691
+ nn as passwordSchema,
2692
+ le as profileDataSchema,
2693
+ At as promptScreenSchema,
2694
+ cn as promptSettingSchema,
2695
+ ae as redirectActionSchema,
2696
+ tt as refreshTokenInsertSchema,
2697
+ dn as refreshTokenSchema,
2698
+ Q as requestContextSchema,
2699
+ at as resourceServerInsertSchema,
2700
+ mn as resourceServerListSchema,
2701
+ it as resourceServerOptionsSchema,
2702
+ st as resourceServerSchema,
2703
+ nt as resourceServerScopeSchema,
2704
+ Z as responseContextSchema,
2705
+ fe as richTextComponentSchema,
2706
+ ut as roleInsertSchema,
2707
+ Sn as roleListSchema,
2708
+ rt as rolePermissionInsertSchema,
2709
+ hn as rolePermissionListSchema,
2710
+ lt as rolePermissionSchema,
2711
+ mt as roleSchema,
2712
+ To as screenLinkSchema,
2713
+ Xo as sessionInsertSchema,
2714
+ an as sessionSchema,
2715
+ sn as signingKeySchema,
2716
+ un as smsProviderSchema,
2717
+ gn as smsSendParamsSchema,
2718
+ Re as startSchema,
2719
+ Y as targetSchema,
2720
+ Vo as tenantInsertSchema,
2721
+ rn as tenantSchema,
2722
+ In as tenantSettingsSchema,
2723
+ ot as themeInsertSchema,
2724
+ pn as themeSchema,
2725
+ ln as tokenResponseSchema,
2726
+ Dt as totalsSchema,
2727
+ Kt as uiScreenSchema,
2728
+ _e as userInsertSchema,
2729
+ St as userOrganizationInsertSchema,
2730
+ yn as userOrganizationSchema,
2731
+ pt as userPermissionInsertSchema,
2732
+ bn as userPermissionListSchema,
2733
+ ct as userPermissionSchema,
2734
+ fn as userPermissionWithDetailsListSchema,
2735
+ _t as userPermissionWithDetailsSchema,
2736
+ vt as userResponseSchema,
2737
+ dt as userRoleInsertSchema,
2738
+ En as userRoleListSchema,
2739
+ gt as userRoleSchema,
2740
+ de as userSchema,
2741
+ Me as verificationMethodsSchema,
2742
+ bo as widgetComponentSchema,
2743
+ et as widgetSchema
2718
2744
  };