@authhero/adapter-interfaces 0.155.0 → 1.1.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
+ }), Ot = 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
+ }), Tt = 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
- }), Ot = 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
- }), Tt = 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([
@@ -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 Oe = 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
- }), Oe = e.object({
605
+ }), Te = 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
- }), Te = 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
  Oe,
646
645
  Te,
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 = O.extend({
984
+ }), Ye = O.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 = O.extend({
989
+ }), Qe = O.extend({
990
990
  type: e.literal("GMAPS_ADDRESS"),
991
991
  config: e.object({
992
992
  api_key: e.string().optional()
993
993
  })
994
- }), Qe = O.extend({
994
+ }), Ze = O.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
+ }), Oo = 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(Oo).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
- }, Oo = e.object({
1366
- ...m,
1370
+ }, To = e.object({
1371
+ ...p,
1367
1372
  trigger_id: k,
1368
1373
  url: e.string()
1369
- }), To = 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
- Oo,
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
  To,
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",
@@ -1622,6 +1646,7 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1622
1646
  // Successful operations
1623
1647
  SUCCESS_LOGIN: "s",
1624
1648
  SUCCESS_API_OPERATION: "sapi",
1649
+ FAILED_API_OPERATION: "fapi",
1625
1650
  SUCCESS_CHANGE_EMAIL: "sce",
1626
1651
  SUCCESS_CROSS_ORIGIN_AUTHENTICATION: "scoa",
1627
1652
  SUCCESS_CHANGE_PASSWORD: "scp",
@@ -1667,24 +1692,24 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1667
1692
  WARNING_DURING_LOGIN: "w",
1668
1693
  WARNING_SENDING_NOTIFICATION: "wn",
1669
1694
  WARNING_USER_MANAGEMENT: "wum"
1670
- }, Po = e.string().refine(
1671
- (o) => Object.values(xo).includes(o),
1695
+ }, Bo = e.string().refine(
1696
+ (o) => Object.values(Go).includes(o),
1672
1697
  { message: "Invalid log type" }
1673
- ), Mo = e.object({
1698
+ ), Wo = e.object({
1674
1699
  name: e.string(),
1675
1700
  version: e.string(),
1676
1701
  env: e.object({
1677
1702
  node: e.string().optional()
1678
1703
  }).optional()
1679
- }), Ho = e.object({
1704
+ }), Ko = e.object({
1680
1705
  country_code: e.string().length(2),
1681
1706
  city_name: e.string(),
1682
1707
  latitude: e.string(),
1683
1708
  longitude: e.string(),
1684
1709
  time_zone: e.string(),
1685
1710
  continent_code: e.string()
1686
- }), Go = e.object({
1687
- type: Po,
1711
+ }), zo = e.object({
1712
+ type: Bo,
1688
1713
  date: e.string(),
1689
1714
  description: e.string().optional(),
1690
1715
  ip: e.string().optional(),
@@ -1703,30 +1728,30 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1703
1728
  strategy: e.string().optional(),
1704
1729
  strategy_type: e.string().optional(),
1705
1730
  hostname: e.string().optional(),
1706
- auth0_client: Mo.optional(),
1731
+ auth0_client: Wo.optional(),
1707
1732
  log_id: e.string().optional(),
1708
- location_info: Ho.optional()
1709
- }), Zt = e.object({
1710
- ...Go.shape,
1733
+ location_info: Ko.optional()
1734
+ }), tn = e.object({
1735
+ ...zo.shape,
1711
1736
  log_id: e.string()
1712
- }), Bo = e.object({
1737
+ }), qo = e.object({
1713
1738
  id: e.string().optional(),
1714
1739
  user_id: e.string(),
1715
1740
  password: e.string(),
1716
1741
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1717
1742
  is_current: e.boolean().default(!0)
1718
- }), $t = Bo.extend({
1743
+ }), nn = qo.extend({
1719
1744
  id: e.string(),
1720
1745
  created_at: e.string(),
1721
1746
  updated_at: e.string()
1722
- }), M = e.object({
1747
+ }), H = e.object({
1723
1748
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1724
1749
  initial_ip: e.string().describe("First IP address associated with this session"),
1725
1750
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1726
1751
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1727
1752
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1728
1753
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1729
- }), Wo = e.object({
1754
+ }), Xo = e.object({
1730
1755
  id: e.string(),
1731
1756
  revoked_at: e.string().optional(),
1732
1757
  used_at: e.string().optional(),
@@ -1734,17 +1759,17 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1734
1759
  expires_at: e.string().optional(),
1735
1760
  login_session_id: e.string(),
1736
1761
  idle_expires_at: e.string().optional(),
1737
- device: M.describe(
1762
+ device: H.describe(
1738
1763
  "Metadata related to the device used in the session"
1739
1764
  ),
1740
1765
  clients: e.array(e.string()).describe("List of client details for the session")
1741
- }), Jt = e.object({
1766
+ }), an = e.object({
1742
1767
  created_at: e.string(),
1743
1768
  updated_at: e.string(),
1744
1769
  authenticated_at: e.string(),
1745
1770
  last_interaction_at: e.string(),
1746
- ...Wo.shape
1747
- }), en = e.object({
1771
+ ...Xo.shape
1772
+ }), sn = e.object({
1748
1773
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1749
1774
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1750
1775
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1769,7 +1794,7 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1769
1794
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1770
1795
  description: "The type of the signing key"
1771
1796
  })
1772
- }), Ko = e.object({
1797
+ }), Vo = e.object({
1773
1798
  id: e.string().optional(),
1774
1799
  // Basic settings
1775
1800
  audience: e.string(),
@@ -1924,14 +1949,14 @@ const Uo = e.nativeEnum(P), Fo = e.object({
1924
1949
  message: e.string().optional()
1925
1950
  }).optional()
1926
1951
  }).optional()
1927
- }), on = e.object({
1952
+ }), rn = e.object({
1928
1953
  created_at: e.string().nullable().transform((o) => o ?? ""),
1929
1954
  updated_at: e.string().nullable().transform((o) => o ?? ""),
1930
- ...Ko.shape,
1955
+ ...Vo.shape,
1931
1956
  id: e.string()
1932
1957
  });
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({
1958
+ 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 || {});
1959
+ const ln = e.object({
1935
1960
  access_token: e.string(),
1936
1961
  id_token: e.string().optional(),
1937
1962
  scope: e.string().optional(),
@@ -1944,7 +1969,7 @@ e.object({
1944
1969
  code: e.string(),
1945
1970
  state: e.string().optional()
1946
1971
  });
1947
- const qo = e.object({
1972
+ const Qo = e.object({
1948
1973
  button_border_radius: e.number(),
1949
1974
  button_border_weight: e.number(),
1950
1975
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1954,7 +1979,7 @@ const qo = e.object({
1954
1979
  show_widget_shadow: e.boolean(),
1955
1980
  widget_border_weight: e.number(),
1956
1981
  widget_corner_radius: e.number()
1957
- }), Xo = e.object({
1982
+ }), Zo = e.object({
1958
1983
  base_focus_color: e.string(),
1959
1984
  base_hover_color: e.string(),
1960
1985
  body_text: e.string(),
@@ -1974,44 +1999,44 @@ const qo = e.object({
1974
1999
  success: e.string(),
1975
2000
  widget_background: e.string(),
1976
2001
  widget_border: e.string()
1977
- }), g = e.object({
2002
+ }), u = e.object({
1978
2003
  bold: e.boolean(),
1979
2004
  size: e.number()
1980
- }), Vo = e.object({
1981
- body_text: g,
1982
- buttons_text: g,
2005
+ }), $o = e.object({
2006
+ body_text: u,
2007
+ buttons_text: u,
1983
2008
  font_url: e.string(),
1984
- input_labels: g,
1985
- links: g,
2009
+ input_labels: u,
2010
+ links: u,
1986
2011
  links_style: e.enum(["normal", "underlined"]),
1987
2012
  reference_text_size: e.number(),
1988
- subtitle: g,
1989
- title: g
1990
- }), Yo = e.object({
2013
+ subtitle: u,
2014
+ title: u
2015
+ }), Jo = e.object({
1991
2016
  background_color: e.string(),
1992
2017
  background_image_url: e.string(),
1993
2018
  page_layout: e.enum(["center", "left", "right"])
1994
- }), Qo = e.object({
2019
+ }), et = e.object({
1995
2020
  header_text_alignment: e.enum(["center", "left", "right"]),
1996
2021
  logo_height: e.number(),
1997
2022
  logo_position: e.enum(["center", "left", "none", "right"]),
1998
2023
  logo_url: e.string(),
1999
2024
  social_buttons_layout: e.enum(["bottom", "top"])
2000
- }), Zo = e.object({
2001
- borders: qo,
2002
- colors: Xo,
2025
+ }), ot = e.object({
2026
+ borders: Qo,
2027
+ colors: Zo,
2003
2028
  displayName: e.string(),
2004
- fonts: Vo,
2005
- page_background: Yo,
2006
- widget: Qo
2007
- }), nn = Zo.extend({
2029
+ fonts: $o,
2030
+ page_background: Jo,
2031
+ widget: et
2032
+ }), pn = ot.extend({
2008
2033
  themeId: e.string()
2009
- }), an = e.object({
2034
+ }), cn = e.object({
2010
2035
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2011
2036
  identifier_first: e.boolean().default(!0),
2012
2037
  password_first: e.boolean().default(!1),
2013
2038
  webauthn_platform_first_factor: e.boolean()
2014
- }), sn = e.object({
2039
+ }), _n = e.object({
2015
2040
  name: e.string(),
2016
2041
  enabled: e.boolean().optional().default(!0),
2017
2042
  default_from_address: e.string().optional(),
@@ -2041,7 +2066,7 @@ const qo = e.object({
2041
2066
  })
2042
2067
  ]),
2043
2068
  settings: e.object({}).optional()
2044
- }), $o = e.object({
2069
+ }), tt = e.object({
2045
2070
  // The actual refresh token value (primary key).
2046
2071
  id: e.string(),
2047
2072
  // Link to the login session
@@ -2054,7 +2079,7 @@ const qo = e.object({
2054
2079
  idle_expires_at: e.string().optional(),
2055
2080
  // When the token was last used.
2056
2081
  last_exchanged_at: e.string().optional(),
2057
- device: M,
2082
+ device: H,
2058
2083
  resource_servers: e.array(
2059
2084
  e.object({
2060
2085
  audience: e.string(),
@@ -2062,21 +2087,21 @@ const qo = e.object({
2062
2087
  })
2063
2088
  ),
2064
2089
  rotating: e.boolean()
2065
- }), rn = e.object({
2090
+ }), dn = e.object({
2066
2091
  // When the refresh token record was created.
2067
2092
  created_at: e.string(),
2068
2093
  // Spread in the rest of the refresh token properties.
2069
- ...$o.shape
2070
- }), ln = e.object({
2094
+ ...tt.shape
2095
+ }), gn = e.object({
2071
2096
  to: e.string(),
2072
2097
  message: e.string()
2073
- }), pn = e.object({
2098
+ }), un = e.object({
2074
2099
  name: e.string(),
2075
2100
  options: e.object({})
2076
- }), Jo = e.object({
2101
+ }), nt = e.object({
2077
2102
  value: e.string(),
2078
2103
  description: e.string().optional()
2079
- }), et = e.object({
2104
+ }), it = e.object({
2080
2105
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2081
2106
  enforce_policies: e.boolean().optional(),
2082
2107
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2086,11 +2111,11 @@ const qo = e.object({
2086
2111
  mtls: e.object({
2087
2112
  bound_access_tokens: e.boolean().optional()
2088
2113
  }).optional()
2089
- }), ot = e.object({
2114
+ }), at = e.object({
2090
2115
  id: e.string().optional(),
2091
2116
  name: e.string(),
2092
2117
  identifier: e.string(),
2093
- scopes: e.array(Jo).optional(),
2118
+ scopes: e.array(nt).optional(),
2094
2119
  signing_alg: e.string().optional(),
2095
2120
  signing_secret: e.string().optional(),
2096
2121
  token_lifetime: e.number().optional(),
@@ -2098,30 +2123,30 @@ const qo = e.object({
2098
2123
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2099
2124
  allow_offline_access: e.boolean().optional(),
2100
2125
  verificationKey: e.string().optional(),
2101
- options: et.optional(),
2126
+ options: it.optional(),
2102
2127
  is_system: e.boolean().optional(),
2103
2128
  metadata: e.record(e.any()).optional()
2104
- }), tt = e.object({
2105
- ...ot.shape,
2129
+ }), st = e.object({
2130
+ ...at.shape,
2106
2131
  created_at: e.string().optional(),
2107
2132
  updated_at: e.string().optional()
2108
- }), cn = e.array(tt), nt = e.object({
2133
+ }), mn = e.array(st), rt = e.object({
2109
2134
  role_id: e.string(),
2110
2135
  resource_server_identifier: e.string(),
2111
2136
  permission_name: e.string()
2112
- }), it = e.object({
2113
- ...nt.shape,
2137
+ }), lt = e.object({
2138
+ ...rt.shape,
2114
2139
  created_at: e.string()
2115
- }), _n = e.array(it), at = e.object({
2140
+ }), hn = e.array(lt), pt = e.object({
2116
2141
  user_id: e.string(),
2117
2142
  resource_server_identifier: e.string(),
2118
2143
  permission_name: e.string(),
2119
2144
  organization_id: e.string().optional()
2120
- }), st = e.object({
2121
- ...at.shape,
2145
+ }), ct = e.object({
2146
+ ...pt.shape,
2122
2147
  tenant_id: e.string(),
2123
2148
  created_at: e.string().optional()
2124
- }), dn = e.array(st), rt = e.object({
2149
+ }), bn = e.array(ct), _t = e.object({
2125
2150
  user_id: e.string(),
2126
2151
  resource_server_identifier: e.string(),
2127
2152
  resource_server_name: e.string(),
@@ -2129,17 +2154,17 @@ const qo = e.object({
2129
2154
  description: e.string().nullable().optional(),
2130
2155
  created_at: e.string().optional(),
2131
2156
  organization_id: e.string().optional()
2132
- }), gn = e.array(
2133
- rt
2134
- ), lt = e.object({
2157
+ }), fn = e.array(
2158
+ _t
2159
+ ), dt = e.object({
2135
2160
  user_id: e.string(),
2136
2161
  role_id: e.string(),
2137
2162
  organization_id: e.string().optional()
2138
- }), pt = e.object({
2139
- ...lt.shape,
2163
+ }), gt = e.object({
2164
+ ...dt.shape,
2140
2165
  tenant_id: e.string(),
2141
2166
  created_at: e.string().optional()
2142
- }), un = e.array(pt), ct = e.object({
2167
+ }), En = e.array(gt), ut = e.object({
2143
2168
  id: e.string().optional().openapi({
2144
2169
  description: "The unique identifier of the role. If not provided, one will be generated."
2145
2170
  }),
@@ -2153,13 +2178,13 @@ const qo = e.object({
2153
2178
  metadata: e.record(e.any()).optional().openapi({
2154
2179
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2155
2180
  })
2156
- }), _t = ct.extend({
2181
+ }), mt = ut.extend({
2157
2182
  id: e.string().openapi({
2158
2183
  description: "The unique identifier of the role"
2159
2184
  }),
2160
2185
  created_at: e.string().optional(),
2161
2186
  updated_at: e.string().optional()
2162
- }), mn = e.array(_t), dt = e.object({
2187
+ }), Sn = e.array(mt), ht = e.object({
2163
2188
  logo_url: e.string().optional().openapi({
2164
2189
  description: "URL of the organization's logo"
2165
2190
  }),
@@ -2171,7 +2196,7 @@ const qo = e.object({
2171
2196
  description: "Page background color in hex format (e.g., #FFFFFF)"
2172
2197
  })
2173
2198
  }).optional()
2174
- }).optional(), gt = e.object({
2199
+ }).optional(), bt = e.object({
2175
2200
  connection_id: e.string().openapi({
2176
2201
  description: "ID of the connection"
2177
2202
  }),
@@ -2184,7 +2209,7 @@ const qo = e.object({
2184
2209
  is_signup_enabled: e.boolean().default(!0).openapi({
2185
2210
  description: "Whether signup is enabled for this connection"
2186
2211
  })
2187
- }), ut = e.object({
2212
+ }), ft = e.object({
2188
2213
  client_credentials: e.object({
2189
2214
  enforce: e.boolean().default(!1).openapi({
2190
2215
  description: "Whether to enforce token quota limits"
@@ -2196,7 +2221,7 @@ const qo = e.object({
2196
2221
  description: "Maximum tokens per hour (0 = unlimited)"
2197
2222
  })
2198
2223
  }).optional()
2199
- }).optional(), mt = e.object({
2224
+ }).optional(), Et = e.object({
2200
2225
  id: e.string().optional(),
2201
2226
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2202
2227
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2206,34 +2231,34 @@ const qo = e.object({
2206
2231
  display_name: e.string().optional().openapi({
2207
2232
  description: "The display name of the organization"
2208
2233
  }),
2209
- branding: dt,
2234
+ branding: ht,
2210
2235
  metadata: e.record(e.any()).default({}).optional().openapi({
2211
2236
  description: "Custom metadata for the organization"
2212
2237
  }),
2213
- enabled_connections: e.array(gt).default([]).optional().openapi({
2238
+ enabled_connections: e.array(bt).default([]).optional().openapi({
2214
2239
  description: "List of enabled connections for the organization"
2215
2240
  }),
2216
- token_quota: ut
2217
- }), hn = e.object({
2218
- ...mt.shape,
2219
- ...r.shape,
2241
+ token_quota: ft
2242
+ }), An = e.object({
2243
+ ...Et.shape,
2244
+ ...s.shape,
2220
2245
  id: e.string(),
2221
2246
  // Override name to be lenient when reading from database (to support existing uppercase names)
2222
2247
  name: e.string().min(1).openapi({
2223
2248
  description: "The name of the organization"
2224
2249
  })
2225
- }), ht = e.object({
2250
+ }), St = e.object({
2226
2251
  user_id: e.string().openapi({
2227
2252
  description: "ID of the user"
2228
2253
  }),
2229
2254
  organization_id: e.string().openapi({
2230
2255
  description: "ID of the organization"
2231
2256
  })
2232
- }), bn = e.object({
2233
- ...ht.shape,
2234
- ...r.shape,
2257
+ }), yn = e.object({
2258
+ ...St.shape,
2259
+ ...s.shape,
2235
2260
  id: e.string()
2236
- }), fn = e.object({
2261
+ }), In = e.object({
2237
2262
  // Session settings
2238
2263
  idle_session_lifetime: e.number().optional(),
2239
2264
  session_lifetime: e.number().optional(),
@@ -2333,7 +2358,7 @@ const qo = e.object({
2333
2358
  message: e.string().optional()
2334
2359
  }).optional()
2335
2360
  }).optional()
2336
- }), En = e.object({
2361
+ }), Cn = e.object({
2337
2362
  date: e.string().openapi({
2338
2363
  description: "Date these events occurred in ISO 8601 format",
2339
2364
  example: "2025-12-19"
@@ -2358,10 +2383,10 @@ const qo = e.object({
2358
2383
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2359
2384
  example: "2025-12-19T00:00:00.000Z"
2360
2385
  })
2361
- }), Sn = e.number().openapi({
2386
+ }), On = e.number().openapi({
2362
2387
  description: "Number of active users in the last 30 days",
2363
2388
  example: 1234
2364
- }), bt = e.enum([
2389
+ }), At = e.enum([
2365
2390
  "login",
2366
2391
  "login-id",
2367
2392
  "login-password",
@@ -2390,17 +2415,17 @@ const qo = e.object({
2390
2415
  "custom-form",
2391
2416
  "login-passwordless",
2392
2417
  "mfa-login-options"
2393
- ]), ft = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2418
+ ]), yt = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2394
2419
  type: "object",
2395
2420
  additionalProperties: {
2396
2421
  type: "object",
2397
2422
  additionalProperties: { type: "string" }
2398
2423
  }
2399
- }), An = e.object({
2400
- prompt: bt,
2424
+ }), Tn = e.object({
2425
+ prompt: At,
2401
2426
  language: e.string(),
2402
- custom_text: ft
2403
- }), yn = {
2427
+ custom_text: yt
2428
+ }), Nn = {
2404
2429
  EMAIL: "email",
2405
2430
  SMS: "sms",
2406
2431
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2415,11 +2440,11 @@ const qo = e.object({
2415
2440
  SAMLP: "samlp",
2416
2441
  WAAD: "waad",
2417
2442
  ADFS: "adfs"
2418
- }, In = {
2443
+ }, wn = {
2419
2444
  DATABASE: "database",
2420
2445
  SOCIAL: "social",
2421
2446
  PASSWORDLESS: "passwordless"
2422
- }, Et = e.enum([
2447
+ }, It = e.enum([
2423
2448
  "phone",
2424
2449
  "totp",
2425
2450
  "email",
@@ -2427,9 +2452,9 @@ const qo = e.object({
2427
2452
  "webauthn-roaming",
2428
2453
  "webauthn-platform",
2429
2454
  "passkey"
2430
- ]), H = e.object({
2455
+ ]), G = e.object({
2431
2456
  user_id: e.string(),
2432
- type: Et,
2457
+ type: It,
2433
2458
  // Phone-specific
2434
2459
  phone_number: e.string().optional(),
2435
2460
  // TOTP-specific
@@ -2444,7 +2469,7 @@ const qo = e.object({
2444
2469
  // Common
2445
2470
  confirmed: e.boolean().default(!1)
2446
2471
  });
2447
- function G(o, t) {
2472
+ function B(o, t) {
2448
2473
  o.type === "phone" && !o.phone_number && t.addIssue({
2449
2474
  code: e.ZodIssueCode.custom,
2450
2475
  message: "phone_number is required when type is 'phone'",
@@ -2463,40 +2488,40 @@ function G(o, t) {
2463
2488
  path: ["public_key"]
2464
2489
  }));
2465
2490
  }
2466
- const Cn = H.superRefine(G), On = e.object({
2467
- ...H.shape,
2491
+ const jn = G.superRefine(B), Rn = e.object({
2492
+ ...G.shape,
2468
2493
  id: e.string(),
2469
2494
  created_at: e.string(),
2470
2495
  updated_at: e.string()
2471
- }).superRefine(G);
2472
- function Tn(o) {
2496
+ }).superRefine(B);
2497
+ function Dn(o) {
2473
2498
  const [t, i] = o.split("|");
2474
2499
  if (!t || !i)
2475
2500
  throw new Error(`Invalid user_id: ${o}`);
2476
2501
  return { connection: t, id: i };
2477
2502
  }
2478
- function Nn(o) {
2503
+ function Ln(o) {
2479
2504
  const {
2480
2505
  primary: t,
2481
2506
  secondaries: i,
2482
2507
  syncMethods: T = ["create", "update", "remove", "delete", "set"]
2483
2508
  } = o, E = {
2484
- get(p, a) {
2509
+ get(c, a) {
2485
2510
  if (typeof a == "symbol")
2486
- return p[a];
2487
- const c = p[a];
2488
- return typeof c != "function" ? c : T.includes(a) ? async (..._) => {
2489
- const S = await c.apply(p, _), d = [];
2490
- for (const s of i) {
2491
- const h = s.adapter[a];
2511
+ return c[a];
2512
+ const _ = c[a];
2513
+ return typeof _ != "function" ? _ : T.includes(a) ? async (...d) => {
2514
+ const S = await _.apply(c, d), g = [];
2515
+ for (const r of i) {
2516
+ const h = r.adapter[a];
2492
2517
  if (typeof h != "function")
2493
2518
  continue;
2494
2519
  const A = (async () => {
2495
2520
  try {
2496
- await h.apply(s.adapter, _);
2521
+ await h.apply(r.adapter, d);
2497
2522
  } catch (b) {
2498
2523
  try {
2499
- s.onError ? s.onError(b, a, _) : console.error(
2524
+ r.onError ? r.onError(b, a, d) : console.error(
2500
2525
  `Passthrough adapter: secondary write failed for ${a}:`,
2501
2526
  b
2502
2527
  );
@@ -2508,19 +2533,19 @@ function Nn(o) {
2508
2533
  }
2509
2534
  }
2510
2535
  })();
2511
- s.blocking && d.push(A);
2536
+ r.blocking && g.push(A);
2512
2537
  }
2513
- return d.length > 0 && await Promise.all(d), S;
2514
- } : c.bind(p);
2538
+ return g.length > 0 && await Promise.all(g), S;
2539
+ } : _.bind(c);
2515
2540
  }
2516
2541
  };
2517
2542
  return new Proxy(t, E);
2518
2543
  }
2519
- function wn(o) {
2544
+ function vn(o) {
2520
2545
  return o;
2521
2546
  }
2522
- function jn(o) {
2523
- var E, p, a, c, _, S, d, s, h, A, b, y;
2547
+ function kn(o) {
2548
+ var E, c, a, _, d, S, g, r, h, A, b, y;
2524
2549
  const t = o == null ? void 0 : o.options;
2525
2550
  if (!t)
2526
2551
  return {
@@ -2531,12 +2556,12 @@ function jn(o) {
2531
2556
  };
2532
2557
  const i = t.attributes;
2533
2558
  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;
2559
+ 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
2560
  return {
2536
- usernameIdentifierActive: B,
2537
- emailIdentifierActive: W,
2538
- usernameMinLength: K,
2539
- usernameMaxLength: z
2561
+ usernameIdentifierActive: W,
2562
+ emailIdentifierActive: K,
2563
+ usernameMinLength: z,
2564
+ usernameMaxLength: q
2540
2565
  };
2541
2566
  }
2542
2567
  return {
@@ -2547,172 +2572,174 @@ function jn(o) {
2547
2572
  };
2548
2573
  }
2549
2574
  export {
2550
- It as Auth0ActionEnum,
2551
- Mo as Auth0Client,
2575
+ Nt as Auth0ActionEnum,
2576
+ Wo as Auth0Client,
2552
2577
  D as AuthorizationResponseMode,
2553
2578
  R as AuthorizationResponseType,
2554
2579
  L as CodeChallengeMethod,
2555
2580
  j as ComponentCategory,
2556
2581
  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
- Te 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
- Tt as auth0QuerySchema,
2579
- oe as auth0UpdateUserActionSchema,
2580
- wt as auth0UserResponseSchema,
2581
- Le as authParamsSchema,
2582
- Cn as authenticationMethodInsertSchema,
2583
- On as authenticationMethodSchema,
2584
- Et as authenticationMethodTypeSchema,
2582
+ wt as EmailActionEnum,
2583
+ Gt as FORM_FIELD_TYPES,
2584
+ Tt as FlowActionTypeEnum,
2585
+ Yo as GrantType,
2586
+ Ko as LocationInfo,
2587
+ Go as LogTypes,
2588
+ M as LoginSessionState,
2589
+ Ce as NodeType,
2590
+ ie as RedirectTargetEnum,
2591
+ Nn as Strategy,
2592
+ wn as StrategyType,
2593
+ Ne as actionNodeSchema,
2594
+ On as activeUsersResponseSchema,
2595
+ V as actorSchema,
2596
+ ce as addressSchema,
2597
+ X as auditCategorySchema,
2598
+ ee as auditEventInsertSchema,
2599
+ Ot as auditEventSchema,
2600
+ J as auth0ClientSchema,
2601
+ Ft as auth0FlowInsertSchema,
2602
+ Le as auth0FlowSchema,
2603
+ Rt as auth0QuerySchema,
2604
+ te as auth0UpdateUserActionSchema,
2605
+ Lt as auth0UserResponseSchema,
2606
+ ve as authParamsSchema,
2607
+ jn as authenticationMethodInsertSchema,
2608
+ Rn as authenticationMethodSchema,
2609
+ It as authenticationMethodTypeSchema,
2585
2610
  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
- Ot as flowSchema,
2621
- Se as flowsFieldComponentSchema,
2622
- Oe as flowsFlowNodeSchema,
2623
- Ce as flowsStepNodeSchema,
2624
- g as fontDetailsSchema,
2625
- Vo as fontsSchema,
2626
- Pt as formControlSchema,
2627
- yo as formInsertSchema,
2611
+ ho as blockComponentSchema,
2612
+ Qo as bordersSchema,
2613
+ xt as brandingSchema,
2614
+ Ee as buttonComponentSchema,
2615
+ he as clientGrantInsertSchema,
2616
+ Ut as clientGrantListSchema,
2617
+ be as clientGrantSchema,
2618
+ me as clientInsertSchema,
2619
+ kt as clientSchema,
2620
+ Ue as codeInsertSchema,
2621
+ Pt as codeSchema,
2622
+ ke as codeTypeSchema,
2623
+ Zo as colorsSchema,
2624
+ Co as componentMessageSchema,
2625
+ Ie as componentSchema,
2626
+ xe as connectionInsertSchema,
2627
+ Fe as connectionOptionsSchema,
2628
+ Mt as connectionSchema,
2629
+ m as coordinatesSchema,
2630
+ Ln as createPassthroughAdapter,
2631
+ vn as createWriteOnlyAdapter,
2632
+ Pe as customDomainInsertSchema,
2633
+ He as customDomainSchema,
2634
+ Ht as customDomainWithTenantIdSchema,
2635
+ Tn as customTextEntrySchema,
2636
+ yt as customTextSchema,
2637
+ Cn as dailyStatsSchema,
2638
+ _n as emailProviderSchema,
2639
+ oe as emailVerificationRulesSchema,
2640
+ ne as emailVerifyActionSchema,
2641
+ De as endingSchema,
2642
+ fo as fieldComponentSchema,
2643
+ se as flowActionStepSchema,
2644
+ re as flowInsertSchema,
2645
+ jt as flowSchema,
2646
+ Ae as flowsFieldComponentSchema,
2647
+ Te as flowsFlowNodeSchema,
2648
+ Oe as flowsStepNodeSchema,
2649
+ u as fontDetailsSchema,
2650
+ $o as fontsSchema,
2651
+ Bt as formControlSchema,
2652
+ Io as formInsertSchema,
2628
2653
  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
- Tn 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
2654
+ yo as formNodeSchema,
2655
+ Wt as formSchema,
2656
+ ye as genericComponentSchema,
2657
+ we as genericNodeSchema,
2658
+ kn as getConnectionIdentifierConfig,
2659
+ ko as hookCodeInsertSchema,
2660
+ Zt as hookCodeSchema,
2661
+ Yt as hookInsertSchema,
2662
+ Qt as hookSchema,
2663
+ P as hookTemplateId,
2664
+ Vt as hookTemplates,
2665
+ pe as identitySchema,
2666
+ xo as inviteInsertSchema,
2667
+ $t as inviteSchema,
2668
+ Fo as inviteeSchema,
2669
+ Uo as inviterSchema,
2670
+ zt as isBlockComponent,
2671
+ Xt as isFieldComponent,
2672
+ qt as isWidgetComponent,
2673
+ Jt as jwksKeySchema,
2674
+ Po as jwksSchema,
2675
+ Se as legalComponentSchema,
2676
+ $ as locationInfoSchema,
2677
+ zo as logInsertSchema,
2678
+ tn as logSchema,
2679
+ Ho as loginSessionInsertSchema,
2680
+ on as loginSessionSchema,
2681
+ Mo as loginSessionStateSchema,
2682
+ je as nodeSchema,
2683
+ en as openIDConfigurationSchema,
2684
+ ht as organizationBrandingSchema,
2685
+ bt as organizationEnabledConnectionSchema,
2686
+ Et as organizationInsertSchema,
2687
+ An as organizationSchema,
2688
+ ft as organizationTokenQuotaSchema,
2689
+ Jo as pageBackgroundSchema,
2690
+ Dn as parseUserId,
2691
+ qo as passwordInsertSchema,
2692
+ nn as passwordSchema,
2693
+ le as profileDataSchema,
2694
+ At as promptScreenSchema,
2695
+ cn as promptSettingSchema,
2696
+ ae as redirectActionSchema,
2697
+ tt as refreshTokenInsertSchema,
2698
+ dn as refreshTokenSchema,
2699
+ Q as requestContextSchema,
2700
+ at as resourceServerInsertSchema,
2701
+ mn as resourceServerListSchema,
2702
+ it as resourceServerOptionsSchema,
2703
+ st as resourceServerSchema,
2704
+ nt as resourceServerScopeSchema,
2705
+ Z as responseContextSchema,
2706
+ fe as richTextComponentSchema,
2707
+ ut as roleInsertSchema,
2708
+ Sn as roleListSchema,
2709
+ rt as rolePermissionInsertSchema,
2710
+ hn as rolePermissionListSchema,
2711
+ lt as rolePermissionSchema,
2712
+ mt as roleSchema,
2713
+ Oo as screenLinkSchema,
2714
+ Xo as sessionInsertSchema,
2715
+ an as sessionSchema,
2716
+ sn as signingKeySchema,
2717
+ un as smsProviderSchema,
2718
+ gn as smsSendParamsSchema,
2719
+ Re as startSchema,
2720
+ Y as targetSchema,
2721
+ Vo as tenantInsertSchema,
2722
+ rn as tenantSchema,
2723
+ In as tenantSettingsSchema,
2724
+ ot as themeInsertSchema,
2725
+ pn as themeSchema,
2726
+ ln as tokenResponseSchema,
2727
+ Dt as totalsSchema,
2728
+ Kt as uiScreenSchema,
2729
+ _e as userInsertSchema,
2730
+ St as userOrganizationInsertSchema,
2731
+ yn as userOrganizationSchema,
2732
+ pt as userPermissionInsertSchema,
2733
+ bn as userPermissionListSchema,
2734
+ ct as userPermissionSchema,
2735
+ fn as userPermissionWithDetailsListSchema,
2736
+ _t as userPermissionWithDetailsSchema,
2737
+ vt as userResponseSchema,
2738
+ dt as userRoleInsertSchema,
2739
+ En as userRoleListSchema,
2740
+ gt as userRoleSchema,
2741
+ de as userSchema,
2742
+ Me as verificationMethodsSchema,
2743
+ bo as widgetComponentSchema,
2744
+ et as widgetSchema
2718
2745
  };