@authhero/adapter-interfaces 1.10.3 → 1.11.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,27 +1,27 @@
1
1
  import { z as e } from "@hono/zod-openapi";
2
- const s = e.object({
2
+ const r = e.object({
3
3
  created_at: e.string(),
4
4
  updated_at: e.string()
5
- }), V = e.object({
5
+ }), Q = e.object({
6
6
  id: e.string(),
7
7
  version: e.string().optional()
8
- }), Y = e.object({
8
+ }), Z = e.object({
9
9
  name: e.string(),
10
10
  version: e.string()
11
- }), Q = e.object({
11
+ }), $ = e.object({
12
12
  name: e.string(),
13
13
  value: e.string()
14
- }), N = e.object({
14
+ }), w = e.object({
15
15
  name: e.string().max(255),
16
16
  code: e.string().max(1e5),
17
- supported_triggers: e.array(V).optional(),
17
+ supported_triggers: e.array(Q).optional(),
18
18
  runtime: e.string().max(50).optional(),
19
- dependencies: e.array(Y).optional(),
20
- secrets: e.array(Q).optional()
21
- }), Lo = N.partial().extend({
19
+ dependencies: e.array(Z).optional(),
20
+ secrets: e.array($).optional()
21
+ }), Wo = w.partial().extend({
22
22
  status: e.enum(["draft", "built"]).optional(),
23
23
  deployed_at: e.string().optional()
24
- }), vo = N.extend({
24
+ }), zo = w.extend({
25
25
  id: e.string(),
26
26
  tenant_id: e.string(),
27
27
  status: e.enum(["draft", "built"]).default("built"),
@@ -33,13 +33,13 @@ const s = e.object({
33
33
  value: e.string().optional()
34
34
  })
35
35
  ).optional(),
36
- ...s.shape
37
- }), Z = e.enum([
36
+ ...r.shape
37
+ }), J = e.enum([
38
38
  "user_action",
39
39
  "admin_action",
40
40
  "system",
41
41
  "api"
42
- ]), $ = e.object({
42
+ ]), ee = e.object({
43
43
  type: e.enum(["user", "admin", "system", "api_key", "client_credentials"]),
44
44
  id: e.string().optional(),
45
45
  email: e.string().optional(),
@@ -47,13 +47,13 @@ const s = e.object({
47
47
  org_name: e.string().optional(),
48
48
  scopes: e.array(e.string()).optional(),
49
49
  client_id: e.string().optional()
50
- }), J = e.object({
50
+ }), te = e.object({
51
51
  type: e.string(),
52
52
  id: e.string(),
53
53
  before: e.record(e.unknown()).optional(),
54
54
  after: e.record(e.unknown()).optional(),
55
55
  diff: e.record(e.object({ old: e.unknown(), new: e.unknown() })).optional()
56
- }), ee = e.object({
56
+ }), oe = e.object({
57
57
  method: e.string(),
58
58
  path: e.string(),
59
59
  query: e.record(e.string()).optional(),
@@ -61,56 +61,56 @@ const s = e.object({
61
61
  ip: e.string(),
62
62
  user_agent: e.string().optional(),
63
63
  correlation_id: e.string().optional()
64
- }), te = e.object({
64
+ }), ne = e.object({
65
65
  status_code: e.number(),
66
66
  body: e.unknown().optional()
67
- }), oe = e.object({
67
+ }), ie = e.object({
68
68
  country_code: e.string(),
69
69
  city_name: e.string(),
70
70
  latitude: e.string(),
71
71
  longitude: e.string(),
72
72
  time_zone: e.string(),
73
73
  continent_code: e.string()
74
- }), ne = e.object({
74
+ }), ae = e.object({
75
75
  name: e.string(),
76
76
  version: e.string(),
77
77
  env: e.record(e.string()).optional()
78
- }), ie = e.object({
78
+ }), re = e.object({
79
79
  tenant_id: e.string(),
80
80
  event_type: e.string(),
81
81
  log_type: e.string(),
82
82
  description: e.string().optional(),
83
- category: Z,
84
- actor: $,
85
- target: J,
86
- request: ee,
87
- response: te.optional(),
83
+ category: J,
84
+ actor: ee,
85
+ target: te,
86
+ request: oe,
87
+ response: ne.optional(),
88
88
  connection: e.string().optional(),
89
89
  strategy: e.string().optional(),
90
90
  strategy_type: e.string().optional(),
91
91
  audience: e.string().optional(),
92
92
  scope: e.string().optional(),
93
- location: oe.optional(),
94
- auth0_client: ne.optional(),
93
+ location: ie.optional(),
94
+ auth0_client: ae.optional(),
95
95
  hostname: e.string(),
96
96
  is_mobile: e.boolean().optional(),
97
97
  timestamp: e.string()
98
- }), ko = ie.extend({
98
+ }), Ko = re.extend({
99
99
  id: e.string()
100
- }), Uo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), Fo = e.enum([
100
+ }), qo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), Xo = e.enum([
101
101
  "CREATE_USER",
102
102
  "GET_USER",
103
103
  "UPDATE_USER",
104
104
  "SEND_REQUEST",
105
105
  "SEND_EMAIL"
106
- ]), xo = e.enum(["VERIFY_EMAIL"]), ae = e.object({
106
+ ]), Vo = e.enum(["VERIFY_EMAIL"]), se = e.object({
107
107
  require_mx_record: e.boolean().optional(),
108
108
  block_aliases: e.boolean().optional(),
109
109
  block_free_emails: e.boolean().optional(),
110
110
  block_disposable_emails: e.boolean().optional(),
111
111
  blocklist: e.array(e.string()).optional(),
112
112
  allowlist: e.array(e.string()).optional()
113
- }), se = e.object({
113
+ }), le = e.object({
114
114
  id: e.string(),
115
115
  alias: e.string().max(100).optional(),
116
116
  type: e.literal("AUTH0"),
@@ -122,7 +122,7 @@ const s = e.object({
122
122
  user_id: e.string(),
123
123
  changes: e.record(e.string(), e.any())
124
124
  })
125
- }), re = e.object({
125
+ }), pe = e.object({
126
126
  id: e.string(),
127
127
  alias: e.string().max(100).optional(),
128
128
  type: e.literal("EMAIL"),
@@ -131,9 +131,9 @@ const s = e.object({
131
131
  mask_output: e.boolean().optional(),
132
132
  params: e.object({
133
133
  email: e.string(),
134
- rules: ae.optional()
134
+ rules: se.optional()
135
135
  })
136
- }), le = e.enum(["change-email", "account", "custom"]), ce = e.object({
136
+ }), ce = e.enum(["change-email", "account", "custom"]), de = e.object({
137
137
  id: e.string(),
138
138
  alias: e.string().max(100).optional(),
139
139
  type: e.literal("REDIRECT"),
@@ -141,32 +141,32 @@ const s = e.object({
141
141
  allow_failure: e.boolean().optional(),
142
142
  mask_output: e.boolean().optional(),
143
143
  params: e.object({
144
- target: le.openapi({
144
+ target: ce.openapi({
145
145
  description: "The predefined target to redirect to, or 'custom' for a custom URL"
146
146
  }),
147
147
  custom_url: e.string().optional().openapi({
148
148
  description: "Custom URL to redirect to when target is 'custom'"
149
149
  })
150
150
  })
151
- }), pe = e.union([
152
- se,
153
- re,
154
- ce
155
- ]), _e = e.object({
151
+ }), _e = e.union([
152
+ le,
153
+ pe,
154
+ de
155
+ ]), ge = e.object({
156
156
  name: e.string().min(1).max(150).openapi({
157
157
  description: "The name of the flow"
158
158
  }),
159
159
  // Actions is an array of action steps (Auth0 stores as JSON blob)
160
- actions: e.array(pe).optional().default([]).openapi({
160
+ actions: e.array(_e).optional().default([]).openapi({
161
161
  description: "The list of actions to execute in sequence"
162
162
  })
163
- }), Po = _e.extend({
164
- ...s.shape,
163
+ }), Yo = ge.extend({
164
+ ...r.shape,
165
165
  id: e.string().openapi({
166
166
  description: "Unique identifier for the flow",
167
167
  example: "af_12tMpdJ3iek7svMyZkSh5M"
168
168
  })
169
- }), Mo = e.object({
169
+ }), Qo = e.object({
170
170
  page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
171
171
  description: "The page number where 0 is the first page"
172
172
  }),
@@ -182,12 +182,12 @@ const s = e.object({
182
182
  q: e.string().optional().openapi({
183
183
  description: "A lucene query string used to filter the results"
184
184
  })
185
- }), Ho = e.object({
185
+ }), Zo = e.object({
186
186
  start: e.number(),
187
187
  limit: e.number(),
188
188
  length: e.number(),
189
189
  total: e.number().optional()
190
- }), de = e.object({
190
+ }), ue = e.object({
191
191
  email: e.string().optional(),
192
192
  email_verified: e.boolean().optional(),
193
193
  name: e.string().optional(),
@@ -196,7 +196,7 @@ const s = e.object({
196
196
  phone_number: e.string().optional(),
197
197
  phone_verified: e.boolean().optional(),
198
198
  family_name: e.string().optional()
199
- }).catchall(e.any()), ge = e.object({
199
+ }).catchall(e.any()), me = e.object({
200
200
  connection: e.string(),
201
201
  user_id: e.string(),
202
202
  provider: e.string(),
@@ -209,8 +209,8 @@ const s = e.object({
209
209
  access_token: e.string().optional(),
210
210
  access_token_secret: e.string().optional(),
211
211
  refresh_token: e.string().optional(),
212
- profileData: de.optional()
213
- }), ue = e.object({
212
+ profileData: ue.optional()
213
+ }), he = e.object({
214
214
  formatted: e.string().optional(),
215
215
  // Full mailing address
216
216
  street_address: e.string().optional(),
@@ -223,7 +223,7 @@ const s = e.object({
223
223
  // Zip code or postal code
224
224
  country: e.string().optional()
225
225
  // Country name
226
- }).optional(), w = e.object({
226
+ }).optional(), j = e.object({
227
227
  email: e.string().optional().transform((t) => t && t.toLowerCase()),
228
228
  username: e.string().refine((t) => !t.includes("@"), {
229
229
  message: 'Usernames must not contain "@". Use the email field for email addresses.'
@@ -255,8 +255,8 @@ const s = e.object({
255
255
  zoneinfo: e.string().optional(),
256
256
  // e.g., "Europe/Paris"
257
257
  // OIDC address claim (OIDC Core 5.1.1)
258
- address: ue
259
- }), me = w.extend({
258
+ address: he
259
+ }), be = j.extend({
260
260
  email_verified: e.boolean().default(!1),
261
261
  verify_email: e.boolean().optional(),
262
262
  last_ip: e.string().optional(),
@@ -279,33 +279,33 @@ const s = e.object({
279
279
  hash: e.string(),
280
280
  algorithm: e.string()
281
281
  }).optional()
282
- }), he = e.object({
283
- ...me.omit({ password: !0 }).shape,
284
- ...s.shape,
282
+ }), fe = e.object({
283
+ ...be.omit({ password: !0 }).shape,
284
+ ...r.shape,
285
285
  user_id: e.string(),
286
286
  provider: e.string(),
287
287
  is_social: e.boolean(),
288
288
  email: e.string().optional(),
289
289
  login_count: e.number().default(0),
290
- identities: e.array(ge).optional()
291
- }), Go = he.omit({
290
+ identities: e.array(me).optional()
291
+ }), $o = fe.omit({
292
292
  registration_completed_at: !0
293
- }), Bo = w.extend({
293
+ }), Jo = j.extend({
294
294
  login_count: e.number(),
295
295
  multifactor: e.array(e.string()).optional(),
296
296
  last_ip: e.string().optional(),
297
297
  last_login: e.string().optional(),
298
298
  user_id: e.string()
299
299
  }).catchall(e.any());
300
- let be = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", fe = (t = 21) => {
300
+ let Ee = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Se = (t = 21) => {
301
301
  let o = "", i = crypto.getRandomValues(new Uint8Array(t |= 0));
302
302
  for (; t--; )
303
- o += be[i[t] & 63];
303
+ o += Ee[i[t] & 63];
304
304
  return o;
305
305
  };
306
- const Ee = e.object({
307
- client_id: e.string().openapi({
308
- description: "ID of this client."
306
+ const ye = e.object({
307
+ client_id: e.string().optional().openapi({
308
+ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)."
309
309
  }),
310
310
  name: e.string().min(1).openapi({
311
311
  description: "Name of this client (min length: 1 character, does not allow < or >)."
@@ -316,7 +316,7 @@ const Ee = e.object({
316
316
  global: e.boolean().default(!1).openapi({
317
317
  description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
318
318
  }),
319
- client_secret: e.string().default(() => fe()).optional().openapi({
319
+ client_secret: e.string().default(() => Se()).optional().openapi({
320
320
  description: "Client secret (which you must not make public)."
321
321
  }),
322
322
  app_type: e.enum([
@@ -439,7 +439,34 @@ const Ee = e.object({
439
439
  description: "Initiate login uri, must be https"
440
440
  }),
441
441
  native_social_login: e.record(e.any()).default({}).optional(),
442
- refresh_token: e.record(e.any()).default({}).optional().openapi({
442
+ refresh_token: e.object({
443
+ rotation_type: e.enum(["rotating", "non-rotating"]).optional().openapi({
444
+ description: "Whether refresh tokens for this client are rotated on every exchange (Auth0 'rotating' behavior) or kept stable (legacy non-rotating). Defaults to 'non-rotating' when unset."
445
+ }),
446
+ leeway: e.number().int().min(0).max(600).optional().openapi({
447
+ description: "Seconds after a parent token's first rotation during which presenting it again still mints a fresh sibling child instead of triggering reuse-detection. Defaults to 30s when unset."
448
+ }),
449
+ // Auth0-compatible fields. Listed explicitly (rather than using
450
+ // .passthrough()) so they survive parse cycles AND keep type info,
451
+ // without tripping dts-bundle-generator's handling of zod's
452
+ // `objectInputType`. Not yet honored by the engine — added so values
453
+ // round-trip cleanly when migrating tenants from Auth0.
454
+ expiration_type: e.enum(["expiring", "non-expiring"]).optional().openapi({
455
+ description: "Auth0-compatible: whether refresh tokens expire."
456
+ }),
457
+ token_lifetime: e.number().int().min(0).optional().openapi({
458
+ description: "Auth0-compatible: refresh-token absolute lifetime in seconds."
459
+ }),
460
+ infinite_token_lifetime: e.boolean().optional().openapi({
461
+ description: "Auth0-compatible: when true, refresh tokens have no absolute expiry."
462
+ }),
463
+ idle_token_lifetime: e.number().int().min(0).optional().openapi({
464
+ description: "Auth0-compatible: refresh-token idle (sliding) lifetime in seconds."
465
+ }),
466
+ infinite_idle_token_lifetime: e.boolean().optional().openapi({
467
+ description: "Auth0-compatible: when true, refresh tokens have no idle expiry."
468
+ })
469
+ }).default({}).optional().openapi({
443
470
  description: "Refresh token configuration"
444
471
  }),
445
472
  default_organization: e.record(e.any()).default({}).optional().openapi({
@@ -488,11 +515,14 @@ const Ee = e.object({
488
515
  user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({
489
516
  description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies."
490
517
  })
491
- }), Wo = e.object({
518
+ }), en = e.object({
492
519
  created_at: e.string(),
493
520
  updated_at: e.string(),
494
- ...Ee.shape
495
- }), Se = e.object({
521
+ ...ye.shape,
522
+ // Insert allows omitting (server-generated to match Auth0). The read schema
523
+ // always has it — the row in storage is non-null.
524
+ client_id: e.string()
525
+ }), Ae = e.object({
496
526
  client_id: e.string().min(1).openapi({
497
527
  description: "ID of the client."
498
528
  }),
@@ -517,37 +547,37 @@ const Ee = e.object({
517
547
  authorization_details_types: e.array(e.string()).optional().openapi({
518
548
  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."
519
549
  })
520
- }), ye = e.object({
550
+ }), Ie = e.object({
521
551
  id: e.string().openapi({
522
552
  description: "ID of the client grant."
523
553
  }),
524
- ...Se.shape,
554
+ ...Ae.shape,
525
555
  created_at: e.string().optional(),
526
556
  updated_at: e.string().optional()
527
- }), Ko = e.array(ye), Ae = e.enum(["iat", "rat"]), Ie = e.object({
557
+ }), tn = e.array(Ie), Ce = e.enum(["iat", "rat"]), Te = e.object({
528
558
  id: e.string(),
529
559
  token_hash: e.string(),
530
- type: Ae,
560
+ type: Ce,
531
561
  client_id: e.string().optional(),
532
562
  sub: e.string().optional(),
533
563
  constraints: e.record(e.unknown()).optional(),
534
564
  single_use: e.boolean().default(!1),
535
565
  expires_at: e.string().optional()
536
- }), zo = e.object({
566
+ }), on = e.object({
537
567
  created_at: e.string(),
538
568
  used_at: e.string().optional(),
539
569
  revoked_at: e.string().optional(),
540
- ...Ie.shape
570
+ ...Te.shape
541
571
  }), m = e.object({
542
572
  x: e.number(),
543
573
  y: e.number()
544
574
  });
545
- var j = /* @__PURE__ */ ((t) => (t.RICH_TEXT = "RICH_TEXT", t.NEXT_BUTTON = "NEXT_BUTTON", t.BACK_BUTTON = "BACK_BUTTON", t.SUBMIT_BUTTON = "SUBMIT_BUTTON", t.DIVIDER = "DIVIDER", t.TEXT = "TEXT", t.EMAIL = "EMAIL", t.PASSWORD = "PASSWORD", t.NUMBER = "NUMBER", t.PHONE = "PHONE", t.DATE = "DATE", t.CHECKBOX = "CHECKBOX", t.RADIO = "RADIO", t.SELECT = "SELECT", t.HIDDEN = "HIDDEN", t.LEGAL = "LEGAL", t))(j || {}), R = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(R || {});
546
- const I = e.object({
575
+ var R = /* @__PURE__ */ ((t) => (t.RICH_TEXT = "RICH_TEXT", t.NEXT_BUTTON = "NEXT_BUTTON", t.BACK_BUTTON = "BACK_BUTTON", t.SUBMIT_BUTTON = "SUBMIT_BUTTON", t.DIVIDER = "DIVIDER", t.TEXT = "TEXT", t.EMAIL = "EMAIL", t.PASSWORD = "PASSWORD", t.NUMBER = "NUMBER", t.PHONE = "PHONE", t.DATE = "DATE", t.CHECKBOX = "CHECKBOX", t.RADIO = "RADIO", t.SELECT = "SELECT", t.HIDDEN = "HIDDEN", t.LEGAL = "LEGAL", t))(R || {}), k = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(k || {});
576
+ const C = e.object({
547
577
  id: e.string(),
548
- category: e.nativeEnum(R),
549
- type: e.nativeEnum(j)
550
- }), Ce = I.extend({
578
+ category: e.nativeEnum(k),
579
+ type: e.nativeEnum(R)
580
+ }), Oe = C.extend({
551
581
  category: e.literal(
552
582
  "BLOCK"
553
583
  /* BLOCK */
@@ -559,7 +589,7 @@ const I = e.object({
559
589
  config: e.object({
560
590
  content: e.string()
561
591
  }).passthrough()
562
- }), Te = I.extend({
592
+ }), Ne = C.extend({
563
593
  category: e.literal(
564
594
  "BLOCK"
565
595
  /* BLOCK */
@@ -581,7 +611,7 @@ const I = e.object({
581
611
  config: e.object({
582
612
  text: e.string()
583
613
  }).passthrough()
584
- }), Oe = I.extend({
614
+ }), we = C.extend({
585
615
  category: e.literal(
586
616
  "FIELD"
587
617
  /* FIELD */
@@ -595,7 +625,7 @@ const I = e.object({
595
625
  config: e.object({
596
626
  text: e.string()
597
627
  }).passthrough()
598
- }), Ne = I.extend({
628
+ }), je = C.extend({
599
629
  category: e.literal(
600
630
  "FIELD"
601
631
  /* FIELD */
@@ -648,19 +678,19 @@ const I = e.object({
648
678
  label: e.string().optional(),
649
679
  placeholder: e.string().optional()
650
680
  }).passthrough()
651
- }), we = e.object({
681
+ }), Re = e.object({
652
682
  id: e.string(),
653
683
  category: e.string(),
654
684
  type: e.string()
655
- }).passthrough(), je = e.union([
656
- Ce,
657
- Te,
685
+ }).passthrough(), ke = e.union([
658
686
  Oe,
659
687
  Ne,
660
- we
688
+ we,
689
+ je,
690
+ Re
661
691
  ]);
662
- var Re = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(Re || {});
663
- const De = e.object({
692
+ var De = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(De || {});
693
+ const ve = e.object({
664
694
  id: e.string(),
665
695
  type: e.literal(
666
696
  "STEP"
@@ -669,7 +699,7 @@ const De = e.object({
669
699
  coordinates: m,
670
700
  alias: e.string().optional(),
671
701
  config: e.object({
672
- components: e.array(je),
702
+ components: e.array(ke),
673
703
  next_node: e.string()
674
704
  }).passthrough()
675
705
  }), Le = e.object({
@@ -684,7 +714,7 @@ const De = e.object({
684
714
  flow_id: e.string(),
685
715
  next_node: e.string()
686
716
  })
687
- }), ve = e.object({
717
+ }), Ue = e.object({
688
718
  id: e.string(),
689
719
  type: e.literal(
690
720
  "ACTION"
@@ -706,47 +736,47 @@ const De = e.object({
706
736
  description: "The next node to navigate to after action (for non-redirect actions)"
707
737
  })
708
738
  }).passthrough()
709
- }), ke = e.object({
739
+ }), xe = e.object({
710
740
  id: e.string(),
711
741
  type: e.string(),
712
742
  coordinates: m
713
- }).passthrough(), Ue = e.union([
714
- De,
715
- Le,
743
+ }).passthrough(), Fe = e.union([
716
744
  ve,
717
- ke
718
- ]), Fe = e.object({
745
+ Le,
746
+ Ue,
747
+ xe
748
+ ]), Pe = e.object({
719
749
  next_node: e.string(),
720
750
  coordinates: m
721
- }).passthrough(), xe = e.object({
751
+ }).passthrough(), Me = e.object({
722
752
  resume_flow: e.boolean().optional(),
723
753
  coordinates: m
724
- }).passthrough(), Pe = e.object({
754
+ }).passthrough(), He = e.object({
725
755
  id: e.string(),
726
756
  name: e.string(),
727
757
  languages: e.object({
728
758
  primary: e.string()
729
759
  }).passthrough(),
730
- nodes: e.array(Ue),
731
- start: Fe,
732
- ending: xe,
760
+ nodes: e.array(Fe),
761
+ start: Pe,
762
+ ending: Me,
733
763
  created_at: e.string(),
734
764
  updated_at: e.string(),
735
765
  links: e.object({
736
766
  sdkSrc: e.string().optional(),
737
767
  sdk_src: e.string().optional()
738
768
  }).passthrough()
739
- }).passthrough(), qo = Pe.omit({
769
+ }).passthrough(), nn = He.omit({
740
770
  id: !0,
741
771
  created_at: !0,
742
772
  updated_at: !0
743
773
  });
744
- var D = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(D || {}), L = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(L || {}), v = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(v || {});
745
- const Me = e.object({
774
+ var D = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(D || {}), v = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(v || {}), L = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(L || {});
775
+ const Ge = e.object({
746
776
  client_id: e.string(),
747
777
  act_as: e.string().optional(),
748
778
  response_type: e.nativeEnum(D).optional(),
749
- response_mode: e.nativeEnum(L).optional(),
779
+ response_mode: e.nativeEnum(v).optional(),
750
780
  redirect_uri: e.string().optional(),
751
781
  audience: e.string().optional(),
752
782
  organization: e.string().optional(),
@@ -754,7 +784,7 @@ const Me = e.object({
754
784
  nonce: e.string().optional(),
755
785
  scope: e.string().optional(),
756
786
  prompt: e.string().optional(),
757
- code_challenge_method: e.nativeEnum(v).optional(),
787
+ code_challenge_method: e.nativeEnum(L).optional(),
758
788
  code_challenge: e.string().optional(),
759
789
  username: e.string().optional(),
760
790
  ui_locales: e.string().optional(),
@@ -766,15 +796,20 @@ const Me = e.object({
766
796
  acr_values: e.string().optional(),
767
797
  // The following fields are not available in Auth0
768
798
  vendor_id: e.string().optional()
769
- }), Xo = e.object({
799
+ }), an = e.object({
770
800
  colors: e.object({
771
801
  primary: e.string(),
772
- page_background: e.object({
773
- type: e.string().optional(),
774
- start: e.string().optional(),
775
- end: e.string().optional(),
776
- angle_deg: e.number().optional()
777
- }).optional()
802
+ // Auth0 supports either a hex color string ("#ffffff") or a gradient
803
+ // object. Match both shapes so SDK callers don't get rejected.
804
+ page_background: e.union([
805
+ e.string(),
806
+ e.object({
807
+ type: e.string().optional(),
808
+ start: e.string().optional(),
809
+ end: e.string().optional(),
810
+ angle_deg: e.number().optional()
811
+ })
812
+ ]).optional()
778
813
  }).optional(),
779
814
  logo_url: e.string().optional(),
780
815
  favicon_url: e.string().optional(),
@@ -782,7 +817,7 @@ const Me = e.object({
782
817
  font: e.object({
783
818
  url: e.string()
784
819
  }).optional()
785
- }), He = e.enum([
820
+ }), Be = e.enum([
786
821
  "password_reset",
787
822
  "email_verification",
788
823
  "otp",
@@ -790,7 +825,7 @@ const Me = e.object({
790
825
  "authorization_code",
791
826
  "oauth2_state",
792
827
  "ticket"
793
- ]), Ge = e.object({
828
+ ]), We = e.object({
794
829
  code_id: e.string().openapi({
795
830
  description: "The code that will be used in for instance an email verification flow"
796
831
  }),
@@ -800,7 +835,7 @@ const Me = e.object({
800
835
  connection_id: e.string().optional().openapi({
801
836
  description: "The connection that the code is connected to"
802
837
  }),
803
- code_type: He,
838
+ code_type: Be,
804
839
  code_verifier: e.string().optional().openapi({
805
840
  description: "The code verifier used in PKCE in outbound flows"
806
841
  }),
@@ -825,10 +860,10 @@ const Me = e.object({
825
860
  expires_at: e.string(),
826
861
  used_at: e.string().optional(),
827
862
  user_id: e.string().optional()
828
- }), Vo = e.object({
829
- ...Ge.shape,
863
+ }), rn = e.object({
864
+ ...We.shape,
830
865
  created_at: e.string()
831
- }), Be = e.object({
866
+ }), ze = e.object({
832
867
  kid: e.string().optional(),
833
868
  team_id: e.string().optional(),
834
869
  realms: e.string().optional(),
@@ -940,12 +975,29 @@ const Me = e.object({
940
975
  }).optional(),
941
976
  // Controls when root user attributes are updated from external IdP
942
977
  set_user_root_attributes: e.enum(["on_each_login", "on_first_login", "never_on_login"]).optional()
943
- }), We = e.object({
978
+ });
979
+ function T(t) {
980
+ if (t !== null) {
981
+ if (Array.isArray(t))
982
+ return t.filter((o) => o !== null).map(T);
983
+ if (t && typeof t == "object") {
984
+ const o = {};
985
+ for (const [i, h] of Object.entries(t))
986
+ h !== null && (o[i] = T(h));
987
+ return o;
988
+ }
989
+ return t;
990
+ }
991
+ }
992
+ const Ke = e.object({
944
993
  id: e.string().optional(),
945
994
  name: e.string(),
946
995
  display_name: e.string().optional(),
947
996
  strategy: e.string(),
948
- options: Be.default({}),
997
+ options: e.preprocess(
998
+ (t) => t === null ? {} : T(t),
999
+ ze
1000
+ ).default({}),
949
1001
  enabled_clients: e.array(e.string()).default([]).optional(),
950
1002
  response_type: e.custom().optional(),
951
1003
  response_mode: e.custom().optional(),
@@ -953,11 +1005,11 @@ const Me = e.object({
953
1005
  show_as_button: e.boolean().optional(),
954
1006
  metadata: e.record(e.any()).optional(),
955
1007
  is_system: e.boolean().optional()
956
- }), Yo = e.object({
1008
+ }), sn = e.object({
957
1009
  id: e.string(),
958
1010
  created_at: e.string().transform((t) => t === null ? "" : t),
959
1011
  updated_at: e.string().transform((t) => t === null ? "" : t)
960
- }).extend(We.shape), Ke = e.object({
1012
+ }).extend(Ke.shape), qe = e.object({
961
1013
  domain: e.string(),
962
1014
  custom_domain_id: e.string().optional(),
963
1015
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -971,7 +1023,7 @@ const Me = e.object({
971
1023
  "null"
972
1024
  ]).optional(),
973
1025
  domain_metadata: e.record(e.string().max(255)).optional()
974
- }), ze = e.discriminatedUnion("name", [
1026
+ }), Xe = e.discriminatedUnion("name", [
975
1027
  e.object({
976
1028
  name: e.literal("txt"),
977
1029
  record: e.string(),
@@ -982,35 +1034,35 @@ const Me = e.object({
982
1034
  http_body: e.string(),
983
1035
  http_url: e.string()
984
1036
  })
985
- ]), qe = e.object({
986
- ...Ke.shape,
1037
+ ]), Ve = e.object({
1038
+ ...qe.shape,
987
1039
  custom_domain_id: e.string(),
988
1040
  primary: e.boolean(),
989
1041
  status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
990
1042
  origin_domain_name: e.string().optional(),
991
1043
  verification: e.object({
992
- methods: e.array(ze)
1044
+ methods: e.array(Xe)
993
1045
  }).optional(),
994
1046
  tls_policy: e.string().optional()
995
- }), Qo = qe.extend({
1047
+ }), ln = Ve.extend({
996
1048
  tenant_id: e.string()
997
- }), C = e.object({
1049
+ }), O = e.object({
998
1050
  id: e.string(),
999
1051
  order: e.number().optional(),
1000
1052
  visible: e.boolean().optional().default(!0)
1001
- }), l = C.extend({
1053
+ }), l = O.extend({
1002
1054
  category: e.literal("BLOCK").optional()
1003
- }), Xe = l.extend({
1055
+ }), Ye = l.extend({
1004
1056
  type: e.literal("DIVIDER"),
1005
1057
  config: e.object({
1006
1058
  text: e.string().optional()
1007
1059
  }).optional()
1008
- }), Ve = l.extend({
1060
+ }), Qe = l.extend({
1009
1061
  type: e.literal("HTML"),
1010
1062
  config: e.object({
1011
1063
  content: e.string().optional()
1012
1064
  }).optional()
1013
- }), Ye = l.extend({
1065
+ }), Ze = l.extend({
1014
1066
  type: e.literal("IMAGE"),
1015
1067
  config: e.object({
1016
1068
  src: e.string().optional(),
@@ -1018,55 +1070,55 @@ const Me = e.object({
1018
1070
  width: e.number().optional(),
1019
1071
  height: e.number().optional()
1020
1072
  }).optional()
1021
- }), Qe = l.extend({
1073
+ }), $e = l.extend({
1022
1074
  type: e.literal("JUMP_BUTTON"),
1023
1075
  config: e.object({
1024
1076
  text: e.string().optional(),
1025
1077
  target_step: e.string().optional()
1026
1078
  })
1027
- }), Ze = l.extend({
1079
+ }), Je = l.extend({
1028
1080
  type: e.literal("RESEND_BUTTON"),
1029
1081
  config: e.object({
1030
1082
  text: e.string().optional(),
1031
1083
  resend_action: e.string().optional()
1032
1084
  })
1033
- }), $e = l.extend({
1085
+ }), et = l.extend({
1034
1086
  type: e.literal("NEXT_BUTTON"),
1035
1087
  config: e.object({
1036
1088
  text: e.string().optional()
1037
1089
  })
1038
- }), Je = l.extend({
1090
+ }), tt = l.extend({
1039
1091
  type: e.literal("PREVIOUS_BUTTON"),
1040
1092
  config: e.object({
1041
1093
  text: e.string().optional()
1042
1094
  })
1043
- }), et = l.extend({
1095
+ }), ot = l.extend({
1044
1096
  type: e.literal("RICH_TEXT"),
1045
1097
  config: e.object({
1046
1098
  content: e.string().optional()
1047
1099
  }).optional()
1048
- }), T = C.extend({
1100
+ }), N = O.extend({
1049
1101
  category: e.literal("WIDGET").optional(),
1050
1102
  label: e.string().min(1).optional(),
1051
1103
  hint: e.string().min(1).max(500).optional(),
1052
1104
  required: e.boolean().optional(),
1053
1105
  sensitive: e.boolean().optional()
1054
- }), tt = T.extend({
1106
+ }), nt = N.extend({
1055
1107
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
1056
1108
  config: e.object({
1057
1109
  credential_type: e.string().optional()
1058
1110
  })
1059
- }), ot = T.extend({
1111
+ }), it = N.extend({
1060
1112
  type: e.literal("GMAPS_ADDRESS"),
1061
1113
  config: e.object({
1062
1114
  api_key: e.string().optional()
1063
1115
  })
1064
- }), nt = T.extend({
1116
+ }), at = N.extend({
1065
1117
  type: e.literal("RECAPTCHA"),
1066
1118
  config: e.object({
1067
1119
  site_key: e.string().optional()
1068
1120
  })
1069
- }), n = C.extend({
1121
+ }), n = O.extend({
1070
1122
  category: e.literal("FIELD").optional(),
1071
1123
  label: e.string().min(1).optional(),
1072
1124
  hint: e.string().min(1).max(500).optional(),
@@ -1079,12 +1131,12 @@ const Me = e.object({
1079
1131
  ).optional(),
1080
1132
  required: e.boolean().optional(),
1081
1133
  sensitive: e.boolean().optional()
1082
- }), it = n.extend({
1134
+ }), rt = n.extend({
1083
1135
  type: e.literal("BOOLEAN"),
1084
1136
  config: e.object({
1085
1137
  default_value: e.boolean().optional()
1086
1138
  }).optional()
1087
- }), at = n.extend({
1139
+ }), st = n.extend({
1088
1140
  type: e.literal("CARDS"),
1089
1141
  config: e.object({
1090
1142
  options: e.array(
@@ -1097,7 +1149,7 @@ const Me = e.object({
1097
1149
  ).optional(),
1098
1150
  multi_select: e.boolean().optional()
1099
1151
  }).optional()
1100
- }), st = n.extend({
1152
+ }), lt = n.extend({
1101
1153
  type: e.literal("CHOICE"),
1102
1154
  config: e.object({
1103
1155
  options: e.array(
@@ -1110,7 +1162,7 @@ const Me = e.object({
1110
1162
  multiple: e.boolean().optional(),
1111
1163
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1112
1164
  }).optional()
1113
- }), rt = n.extend({
1165
+ }), pt = n.extend({
1114
1166
  type: e.literal("CUSTOM"),
1115
1167
  config: e.object({
1116
1168
  component: e.string().optional(),
@@ -1118,7 +1170,7 @@ const Me = e.object({
1118
1170
  schema: e.record(e.any()).optional(),
1119
1171
  code: e.string().optional()
1120
1172
  })
1121
- }), lt = n.extend({
1173
+ }), ct = n.extend({
1122
1174
  type: e.literal("DATE"),
1123
1175
  config: e.object({
1124
1176
  format: e.string().optional(),
@@ -1126,7 +1178,7 @@ const Me = e.object({
1126
1178
  max: e.string().optional(),
1127
1179
  default_value: e.string().optional()
1128
1180
  }).optional()
1129
- }), ct = n.extend({
1181
+ }), dt = n.extend({
1130
1182
  type: e.literal("DROPDOWN"),
1131
1183
  config: e.object({
1132
1184
  options: e.array(
@@ -1140,26 +1192,26 @@ const Me = e.object({
1140
1192
  multiple: e.boolean().optional(),
1141
1193
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1142
1194
  }).optional()
1143
- }), pt = n.extend({
1195
+ }), _t = n.extend({
1144
1196
  type: e.literal("EMAIL"),
1145
1197
  config: e.object({
1146
1198
  placeholder: e.string().optional(),
1147
1199
  default_value: e.string().optional()
1148
1200
  }).optional()
1149
- }), _t = n.extend({
1201
+ }), gt = n.extend({
1150
1202
  type: e.literal("FILE"),
1151
1203
  config: e.object({
1152
1204
  accept: e.string().optional(),
1153
1205
  max_size: e.number().optional(),
1154
1206
  multiple: e.boolean().optional()
1155
1207
  }).optional()
1156
- }), dt = n.extend({
1208
+ }), ut = n.extend({
1157
1209
  type: e.literal("LEGAL"),
1158
1210
  config: e.object({
1159
1211
  text: e.string(),
1160
1212
  html: e.boolean().optional()
1161
1213
  }).optional()
1162
- }), gt = n.extend({
1214
+ }), mt = n.extend({
1163
1215
  type: e.literal("NUMBER"),
1164
1216
  config: e.object({
1165
1217
  placeholder: e.string().optional(),
@@ -1168,7 +1220,7 @@ const Me = e.object({
1168
1220
  step: e.number().optional(),
1169
1221
  default_value: e.string().optional()
1170
1222
  }).optional()
1171
- }), ut = n.extend({
1223
+ }), ht = n.extend({
1172
1224
  type: e.literal("PASSWORD"),
1173
1225
  config: e.object({
1174
1226
  placeholder: e.string().optional(),
@@ -1177,13 +1229,13 @@ const Me = e.object({
1177
1229
  forgot_password_link: e.string().optional(),
1178
1230
  default_value: e.string().optional()
1179
1231
  }).optional()
1180
- }), mt = n.extend({
1232
+ }), bt = n.extend({
1181
1233
  type: e.literal("PAYMENT"),
1182
1234
  config: e.object({
1183
1235
  provider: e.string().optional(),
1184
1236
  currency: e.string().optional()
1185
1237
  }).optional()
1186
- }), ht = n.extend({
1238
+ }), ft = n.extend({
1187
1239
  type: e.literal("SOCIAL"),
1188
1240
  config: e.object({
1189
1241
  providers: e.array(e.string()).optional(),
@@ -1198,7 +1250,7 @@ const Me = e.object({
1198
1250
  })
1199
1251
  ).optional()
1200
1252
  }).optional()
1201
- }), bt = n.extend({
1253
+ }), Et = n.extend({
1202
1254
  type: e.literal("TEL"),
1203
1255
  config: e.object({
1204
1256
  placeholder: e.string().optional(),
@@ -1206,7 +1258,7 @@ const Me = e.object({
1206
1258
  default_value: e.string().optional(),
1207
1259
  allow_email: e.boolean().optional()
1208
1260
  }).optional()
1209
- }), ft = n.extend({
1261
+ }), St = n.extend({
1210
1262
  type: e.literal("TEXT"),
1211
1263
  config: e.object({
1212
1264
  placeholder: e.string().optional(),
@@ -1214,54 +1266,54 @@ const Me = e.object({
1214
1266
  max_length: e.number().optional(),
1215
1267
  default_value: e.string().optional()
1216
1268
  }).optional()
1217
- }), Et = n.extend({
1269
+ }), yt = n.extend({
1218
1270
  type: e.literal("COUNTRY"),
1219
1271
  config: e.object({
1220
1272
  placeholder: e.string().optional(),
1221
1273
  default_value: e.string().optional()
1222
1274
  }).optional()
1223
- }), St = n.extend({
1275
+ }), At = n.extend({
1224
1276
  type: e.literal("URL"),
1225
1277
  config: e.object({
1226
1278
  placeholder: e.string().optional(),
1227
1279
  default_value: e.string().optional()
1228
1280
  }).optional()
1229
- }), yt = e.discriminatedUnion("type", [
1230
- Xe,
1231
- Ve,
1281
+ }), It = e.discriminatedUnion("type", [
1232
1282
  Ye,
1233
1283
  Qe,
1234
1284
  Ze,
1235
1285
  $e,
1236
1286
  Je,
1237
- et
1238
- ]), At = e.discriminatedUnion("type", [
1287
+ et,
1239
1288
  tt,
1240
- ot,
1241
- nt
1242
- ]), It = e.discriminatedUnion("type", [
1289
+ ot
1290
+ ]), Ct = e.discriminatedUnion("type", [
1291
+ nt,
1243
1292
  it,
1244
- at,
1245
- st,
1246
- Et,
1293
+ at
1294
+ ]), Tt = e.discriminatedUnion("type", [
1247
1295
  rt,
1296
+ st,
1248
1297
  lt,
1249
- ct,
1298
+ yt,
1250
1299
  pt,
1251
- _t,
1300
+ ct,
1252
1301
  dt,
1302
+ _t,
1253
1303
  gt,
1254
1304
  ut,
1255
1305
  mt,
1256
1306
  ht,
1257
1307
  bt,
1258
1308
  ft,
1259
- St
1260
- ]), k = e.union([
1261
- yt,
1262
- At,
1263
- It
1264
- ]), Zo = /* @__PURE__ */ new Set([
1309
+ Et,
1310
+ St,
1311
+ At
1312
+ ]), U = e.union([
1313
+ It,
1314
+ Ct,
1315
+ Tt
1316
+ ]), pn = /* @__PURE__ */ new Set([
1265
1317
  "BOOLEAN",
1266
1318
  "CARDS",
1267
1319
  "CHOICE",
@@ -1275,7 +1327,7 @@ const Me = e.object({
1275
1327
  "TEL",
1276
1328
  "TEXT",
1277
1329
  "URL"
1278
- ]), $o = e.object({
1330
+ ]), cn = e.object({
1279
1331
  id: e.string(),
1280
1332
  type: e.literal("submit"),
1281
1333
  label: e.string(),
@@ -1284,22 +1336,22 @@ const Me = e.object({
1284
1336
  order: e.number().optional(),
1285
1337
  visible: e.boolean().optional().default(!0),
1286
1338
  customizations: e.record(e.string(), e.any()).optional()
1287
- }), f = e.object({
1339
+ }), E = e.object({
1288
1340
  x: e.number(),
1289
1341
  y: e.number()
1290
- }), Ct = e.object({
1342
+ }), Ot = e.object({
1291
1343
  id: e.string(),
1292
1344
  type: e.literal("FLOW"),
1293
- coordinates: f,
1345
+ coordinates: E,
1294
1346
  alias: e.string().min(1).max(150).optional(),
1295
1347
  config: e.object({
1296
1348
  flow_id: e.string().max(30),
1297
1349
  next_node: e.string().optional()
1298
1350
  })
1299
- }), Tt = e.object({
1351
+ }), Nt = e.object({
1300
1352
  id: e.string(),
1301
1353
  type: e.literal("ROUTER"),
1302
- coordinates: f,
1354
+ coordinates: E,
1303
1355
  alias: e.string().min(1).max(150),
1304
1356
  config: e.object({
1305
1357
  rules: e.array(
@@ -1312,20 +1364,20 @@ const Me = e.object({
1312
1364
  ),
1313
1365
  fallback: e.string()
1314
1366
  })
1315
- }), Ot = e.object({
1367
+ }), wt = e.object({
1316
1368
  id: e.string(),
1317
1369
  type: e.literal("STEP"),
1318
- coordinates: f,
1370
+ coordinates: E,
1319
1371
  alias: e.string().min(1).max(150).optional(),
1320
1372
  config: e.object({
1321
- components: e.array(k),
1373
+ components: e.array(U),
1322
1374
  next_node: e.string().optional()
1323
1375
  })
1324
- }), Nt = e.discriminatedUnion("type", [
1325
- Ct,
1326
- Tt,
1327
- Ot
1328
- ]), wt = e.object({
1376
+ }), jt = e.discriminatedUnion("type", [
1377
+ Ot,
1378
+ Nt,
1379
+ wt
1380
+ ]), Rt = e.object({
1329
1381
  name: e.string().openapi({
1330
1382
  description: "The name of the form"
1331
1383
  }),
@@ -1338,11 +1390,11 @@ const Me = e.object({
1338
1390
  default: e.string().optional()
1339
1391
  }).optional(),
1340
1392
  translations: e.record(e.string(), e.any()).optional(),
1341
- nodes: e.array(Nt).optional(),
1393
+ nodes: e.array(jt).optional(),
1342
1394
  start: e.object({
1343
1395
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1344
1396
  next_node: e.string().optional(),
1345
- coordinates: f.optional()
1397
+ coordinates: E.optional()
1346
1398
  }).optional(),
1347
1399
  ending: e.object({
1348
1400
  redirection: e.object({
@@ -1350,7 +1402,7 @@ const Me = e.object({
1350
1402
  target: e.string().optional()
1351
1403
  }).optional(),
1352
1404
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1353
- coordinates: f.optional(),
1405
+ coordinates: E.optional(),
1354
1406
  resume_flow: e.boolean().optional()
1355
1407
  }).optional(),
1356
1408
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1360,42 +1412,42 @@ const Me = e.object({
1360
1412
  }).optional()
1361
1413
  }).openapi({
1362
1414
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1363
- }), Jo = e.object({
1364
- ...s.shape,
1365
- ...wt.shape,
1415
+ }), dn = e.object({
1416
+ ...r.shape,
1417
+ ...Rt.shape,
1366
1418
  id: e.string()
1367
- }), jt = e.object({
1419
+ }), kt = e.object({
1368
1420
  id: e.number().optional(),
1369
1421
  text: e.string(),
1370
1422
  type: e.enum(["info", "error", "success", "warning"])
1371
- }), Rt = e.object({
1423
+ }), Dt = e.object({
1372
1424
  id: e.string().optional(),
1373
1425
  text: e.string(),
1374
1426
  href: e.string(),
1375
1427
  linkText: e.string().optional()
1376
- }), en = e.object({
1428
+ }), _n = e.object({
1377
1429
  /** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
1378
1430
  name: e.string().optional(),
1379
1431
  action: e.string(),
1380
1432
  method: e.enum(["POST", "GET"]),
1381
1433
  title: e.string().optional(),
1382
1434
  description: e.string().optional(),
1383
- components: e.array(k),
1384
- messages: e.array(jt).optional(),
1385
- links: e.array(Rt).optional(),
1435
+ components: e.array(U),
1436
+ messages: e.array(kt).optional(),
1437
+ links: e.array(Dt).optional(),
1386
1438
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
1387
1439
  footer: e.string().optional()
1388
1440
  });
1389
- function tn(t) {
1441
+ function gn(t) {
1390
1442
  return t.category === "BLOCK";
1391
1443
  }
1392
- function on(t) {
1444
+ function un(t) {
1393
1445
  return t.category === "WIDGET";
1394
1446
  }
1395
- function nn(t) {
1447
+ function mn(t) {
1396
1448
  return t.category === "FIELD";
1397
1449
  }
1398
- const U = e.enum([
1450
+ const x = e.enum([
1399
1451
  "pre-user-registration",
1400
1452
  "post-user-registration",
1401
1453
  "post-user-login",
@@ -1411,21 +1463,21 @@ const U = e.enum([
1411
1463
  "validate-registration-username",
1412
1464
  "pre-user-deletion",
1413
1465
  "post-user-deletion"
1414
- ]), x = e.enum([
1466
+ ]), P = e.enum([
1415
1467
  "post-user-login",
1416
1468
  "post-user-registration",
1417
1469
  "post-user-update",
1418
1470
  "credentials-exchange"
1419
- ]), P = e.enum([
1471
+ ]), M = e.enum([
1420
1472
  "post-user-login",
1421
1473
  "credentials-exchange",
1422
1474
  "pre-user-registration",
1423
1475
  "post-user-registration"
1424
- ]), M = e.enum([
1476
+ ]), H = e.enum([
1425
1477
  "ensure-username",
1426
1478
  "set-preferred-username",
1427
1479
  "account-linking"
1428
- ]), an = {
1480
+ ]), hn = {
1429
1481
  "ensure-username": {
1430
1482
  name: "Ensure Username",
1431
1483
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1445,7 +1497,7 @@ const U = e.enum([
1445
1497
  "post-user-update"
1446
1498
  ]
1447
1499
  }
1448
- }, c = {
1500
+ }, p = {
1449
1501
  enabled: e.boolean().default(!1),
1450
1502
  synchronous: e.boolean().default(!1),
1451
1503
  priority: e.number().optional(),
@@ -1462,71 +1514,71 @@ const U = e.enum([
1462
1514
  * Everything else is opaque to the runtime. Persisted as JSON.
1463
1515
  */
1464
1516
  metadata: e.record(e.unknown()).optional()
1465
- }, Dt = e.object({
1466
- ...c,
1467
- trigger_id: U,
1517
+ }, vt = e.object({
1518
+ ...p,
1519
+ trigger_id: x,
1468
1520
  url: e.string()
1469
1521
  }), Lt = e.object({
1470
- ...c,
1522
+ ...p,
1471
1523
  trigger_id: F,
1472
1524
  form_id: e.string()
1473
- }), vt = e.object({
1474
- ...c,
1475
- trigger_id: x,
1476
- template_id: M
1477
- }), kt = e.object({
1478
- ...c,
1525
+ }), Ut = e.object({
1526
+ ...p,
1479
1527
  trigger_id: P,
1528
+ template_id: H
1529
+ }), xt = e.object({
1530
+ ...p,
1531
+ trigger_id: M,
1480
1532
  code_id: e.string()
1481
- }), sn = e.union([
1482
- Dt,
1483
- Lt,
1533
+ }), bn = e.union([
1484
1534
  vt,
1485
- kt
1486
- ]), Ut = e.object({
1487
- ...c,
1488
- trigger_id: U,
1489
- ...s.shape,
1535
+ Lt,
1536
+ Ut,
1537
+ xt
1538
+ ]), Ft = e.object({
1539
+ ...p,
1540
+ trigger_id: x,
1541
+ ...r.shape,
1490
1542
  hook_id: e.string(),
1491
1543
  url: e.string()
1492
- }), Ft = e.object({
1493
- ...c,
1544
+ }), Pt = e.object({
1545
+ ...p,
1494
1546
  trigger_id: F,
1495
- ...s.shape,
1547
+ ...r.shape,
1496
1548
  hook_id: e.string(),
1497
1549
  form_id: e.string()
1498
- }), xt = e.object({
1499
- ...c,
1500
- trigger_id: x,
1501
- ...s.shape,
1502
- hook_id: e.string(),
1503
- template_id: M
1504
- }), Pt = e.object({
1505
- ...c,
1550
+ }), Mt = e.object({
1551
+ ...p,
1506
1552
  trigger_id: P,
1507
- ...s.shape,
1553
+ ...r.shape,
1554
+ hook_id: e.string(),
1555
+ template_id: H
1556
+ }), Ht = e.object({
1557
+ ...p,
1558
+ trigger_id: M,
1559
+ ...r.shape,
1508
1560
  hook_id: e.string(),
1509
1561
  code_id: e.string()
1510
- }), rn = e.union([
1511
- Ut,
1562
+ }), fn = e.union([
1512
1563
  Ft,
1513
- xt,
1514
- Pt
1515
- ]), Mt = e.object({
1564
+ Pt,
1565
+ Mt,
1566
+ Ht
1567
+ ]), Gt = e.object({
1516
1568
  code: e.string().max(1e5),
1517
1569
  secrets: e.record(e.string()).optional()
1518
- }), ln = Mt.extend({
1570
+ }), En = Gt.extend({
1519
1571
  id: e.string(),
1520
1572
  tenant_id: e.string(),
1521
- ...s.shape
1522
- }), Ht = e.object({
1573
+ ...r.shape
1574
+ }), Bt = e.object({
1523
1575
  name: e.string().optional()
1524
- }), Gt = e.object({
1576
+ }), Wt = e.object({
1525
1577
  email: e.string().optional()
1526
- }), Bt = e.object({
1578
+ }), zt = e.object({
1527
1579
  organization_id: e.string().max(50),
1528
- inviter: Ht,
1529
- invitee: Gt,
1580
+ inviter: Bt,
1581
+ invitee: Wt,
1530
1582
  invitation_url: e.string().url(),
1531
1583
  client_id: e.string(),
1532
1584
  connection_id: e.string().optional(),
@@ -1535,13 +1587,13 @@ const U = e.enum([
1535
1587
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1536
1588
  roles: e.array(e.string()).default([]).optional(),
1537
1589
  send_invitation_email: e.boolean().default(!0).optional()
1538
- }), cn = e.object({
1590
+ }), Sn = e.object({
1539
1591
  id: e.string(),
1540
1592
  organization_id: e.string().max(50),
1541
1593
  created_at: e.string().datetime(),
1542
1594
  expires_at: e.string().datetime(),
1543
1595
  ticket_id: e.string().optional()
1544
- }).extend(Bt.shape), Wt = e.object({
1596
+ }).extend(zt.shape), Kt = e.object({
1545
1597
  alg: e.enum([
1546
1598
  "RS256",
1547
1599
  "RS384",
@@ -1560,9 +1612,9 @@ const U = e.enum([
1560
1612
  x5t: e.string().optional(),
1561
1613
  x5c: e.array(e.string()).optional(),
1562
1614
  use: e.enum(["sig", "enc"]).optional()
1563
- }), pn = e.object({
1564
- keys: e.array(Wt)
1565
- }), _n = e.object({
1615
+ }), yn = e.object({
1616
+ keys: e.array(Kt)
1617
+ }), An = e.object({
1566
1618
  issuer: e.string(),
1567
1619
  authorization_endpoint: e.string(),
1568
1620
  token_endpoint: e.string(),
@@ -1586,21 +1638,21 @@ const U = e.enum([
1586
1638
  request_parameter_supported: e.boolean(),
1587
1639
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1588
1640
  });
1589
- var H = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_MFA = "awaiting_mfa", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(H || {});
1590
- const Kt = e.nativeEnum(H), zt = e.object({
1641
+ var G = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_MFA = "awaiting_mfa", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(G || {});
1642
+ const qt = e.nativeEnum(G), Xt = e.object({
1591
1643
  strategy: e.string(),
1592
1644
  strategy_type: e.string()
1593
- }), qt = e.object({
1645
+ }), Vt = e.object({
1594
1646
  csrf_token: e.string(),
1595
1647
  auth0Client: e.string().optional(),
1596
- authParams: Me,
1648
+ authParams: Ge,
1597
1649
  expires_at: e.string(),
1598
1650
  deleted_at: e.string().optional(),
1599
1651
  ip: e.string().optional(),
1600
1652
  useragent: e.string().optional(),
1601
1653
  session_id: e.string().optional(),
1602
1654
  authorization_url: e.string().optional(),
1603
- state: Kt.optional().default(
1655
+ state: qt.optional().default(
1604
1656
  "pending"
1605
1657
  /* PENDING */
1606
1658
  ),
@@ -1611,19 +1663,19 @@ const Kt = e.nativeEnum(H), zt = e.object({
1611
1663
  // Set once user is authenticated
1612
1664
  auth_connection: e.string().optional(),
1613
1665
  // The connection used to authenticate (may differ from primary user's connection)
1614
- auth_strategy: zt.optional(),
1666
+ auth_strategy: Xt.optional(),
1615
1667
  authenticated_at: e.string().optional()
1616
1668
  // ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
1617
1669
  }).openapi({
1618
1670
  description: "This represents a login sesion"
1619
- }), dn = e.object({
1620
- ...qt.shape,
1671
+ }), In = e.object({
1672
+ ...Vt.shape,
1621
1673
  id: e.string().openapi({
1622
1674
  description: "This is is used as the state in the universal login"
1623
1675
  }),
1624
1676
  created_at: e.string(),
1625
1677
  updated_at: e.string()
1626
- }), Xt = {
1678
+ }), Yt = {
1627
1679
  // Network & System
1628
1680
  ACLS_SUMMARY: "acls_summary",
1629
1681
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1795,24 +1847,24 @@ const Kt = e.nativeEnum(H), zt = e.object({
1795
1847
  WARNING_DURING_LOGIN: "w",
1796
1848
  WARNING_SENDING_NOTIFICATION: "wn",
1797
1849
  WARNING_USER_MANAGEMENT: "wum"
1798
- }, Vt = e.string().refine(
1799
- (t) => Object.values(Xt).includes(t),
1850
+ }, Qt = e.string().refine(
1851
+ (t) => Object.values(Yt).includes(t),
1800
1852
  { message: "Invalid log type" }
1801
- ), Yt = e.object({
1853
+ ), Zt = e.object({
1802
1854
  name: e.string(),
1803
1855
  version: e.string(),
1804
1856
  env: e.object({
1805
1857
  node: e.string().optional()
1806
1858
  }).optional()
1807
- }), Qt = e.object({
1859
+ }), $t = e.object({
1808
1860
  country_code: e.string().length(2),
1809
1861
  city_name: e.string(),
1810
1862
  latitude: e.string(),
1811
1863
  longitude: e.string(),
1812
1864
  time_zone: e.string(),
1813
1865
  continent_code: e.string()
1814
- }), Zt = e.object({
1815
- type: Vt,
1866
+ }), Jt = e.object({
1867
+ type: Qt,
1816
1868
  date: e.string(),
1817
1869
  description: e.string().optional(),
1818
1870
  ip: e.string().optional(),
@@ -1831,30 +1883,93 @@ const Kt = e.nativeEnum(H), zt = e.object({
1831
1883
  strategy: e.string().optional(),
1832
1884
  strategy_type: e.string().optional(),
1833
1885
  hostname: e.string().optional(),
1834
- auth0_client: Yt.optional(),
1886
+ auth0_client: Zt.optional(),
1835
1887
  log_id: e.string().optional(),
1836
- location_info: Qt.optional()
1837
- }), gn = e.object({
1838
- ...Zt.shape,
1888
+ location_info: $t.optional()
1889
+ }), Cn = e.object({
1890
+ ...Jt.shape,
1839
1891
  log_id: e.string()
1840
- }), $t = e.object({
1892
+ }), eo = e.enum([
1893
+ "http",
1894
+ "eventbridge",
1895
+ "eventgrid",
1896
+ "splunk",
1897
+ "datadog",
1898
+ "sumo"
1899
+ ]), B = e.enum([
1900
+ "active",
1901
+ "paused",
1902
+ "suspended"
1903
+ ]), to = e.object({
1904
+ type: e.string(),
1905
+ name: e.string()
1906
+ }), oo = e.object({
1907
+ name: e.string(),
1908
+ type: eo,
1909
+ status: B.optional(),
1910
+ sink: e.record(e.string(), e.unknown()),
1911
+ filters: e.array(to).optional(),
1912
+ isPriority: e.boolean().optional()
1913
+ }), Tn = oo.extend({
1914
+ id: e.string(),
1915
+ status: B,
1916
+ created_at: e.string().optional(),
1917
+ updated_at: e.string().optional()
1918
+ }), no = e.object({
1919
+ enabled: e.boolean().optional(),
1920
+ shields: e.array(e.string()).optional(),
1921
+ admin_notification_frequency: e.array(e.string()).optional(),
1922
+ method: e.string().optional(),
1923
+ stage: e.object({
1924
+ "pre-user-registration": e.object({
1925
+ shields: e.array(e.string()).optional()
1926
+ }).optional(),
1927
+ "pre-change-password": e.object({
1928
+ shields: e.array(e.string()).optional()
1929
+ }).optional()
1930
+ }).optional()
1931
+ }), io = e.object({
1932
+ enabled: e.boolean().optional(),
1933
+ shields: e.array(e.string()).optional(),
1934
+ allowlist: e.array(e.string()).optional(),
1935
+ mode: e.string().optional(),
1936
+ max_attempts: e.number().optional()
1937
+ }), ao = e.object({
1938
+ enabled: e.boolean().optional(),
1939
+ shields: e.array(e.string()).optional(),
1940
+ allowlist: e.array(e.string()).optional(),
1941
+ stage: e.object({
1942
+ "pre-login": e.object({
1943
+ max_attempts: e.number().optional(),
1944
+ rate: e.number().optional()
1945
+ }).optional(),
1946
+ "pre-user-registration": e.object({
1947
+ max_attempts: e.number().optional(),
1948
+ rate: e.number().optional()
1949
+ }).optional()
1950
+ }).optional()
1951
+ }), ro = e.object({
1952
+ breached_password_detection: no.optional(),
1953
+ brute_force_protection: io.optional(),
1954
+ suspicious_ip_throttling: ao.optional()
1955
+ }), so = e.object({
1841
1956
  id: e.string().optional(),
1842
1957
  user_id: e.string(),
1843
1958
  password: e.string(),
1844
1959
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1845
1960
  is_current: e.boolean().default(!0)
1846
- }), un = $t.extend({
1961
+ }), On = so.extend({
1847
1962
  id: e.string(),
1848
1963
  created_at: e.string(),
1849
1964
  updated_at: e.string()
1850
- }), G = e.object({
1965
+ }), W = e.object({
1851
1966
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1852
1967
  initial_ip: e.string().describe("First IP address associated with this session"),
1853
1968
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1854
1969
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1855
1970
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1856
1971
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1857
- }), Jt = e.object({
1972
+ }), lo = e.object({
1858
1973
  id: e.string(),
1859
1974
  revoked_at: e.string().optional(),
1860
1975
  used_at: e.string().optional(),
@@ -1862,17 +1977,17 @@ const Kt = e.nativeEnum(H), zt = e.object({
1862
1977
  expires_at: e.string().optional(),
1863
1978
  login_session_id: e.string(),
1864
1979
  idle_expires_at: e.string().optional(),
1865
- device: G.describe(
1980
+ device: W.describe(
1866
1981
  "Metadata related to the device used in the session"
1867
1982
  ),
1868
1983
  clients: e.array(e.string()).describe("List of client details for the session")
1869
- }), mn = e.object({
1984
+ }), Nn = e.object({
1870
1985
  created_at: e.string(),
1871
1986
  updated_at: e.string(),
1872
1987
  authenticated_at: e.string(),
1873
1988
  last_interaction_at: e.string(),
1874
- ...Jt.shape
1875
- }), hn = e.object({
1989
+ ...lo.shape
1990
+ }), wn = e.object({
1876
1991
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1877
1992
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1878
1993
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1897,7 +2012,7 @@ const Kt = e.nativeEnum(H), zt = e.object({
1897
2012
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1898
2013
  description: "The type of the signing key"
1899
2014
  })
1900
- }), eo = e.object({
2015
+ }), po = e.object({
1901
2016
  id: e.string().optional(),
1902
2017
  // Basic settings
1903
2018
  audience: e.string(),
@@ -1928,7 +2043,7 @@ const Kt = e.nativeEnum(H), zt = e.object({
1928
2043
  html: e.string().optional(),
1929
2044
  show_log_link: e.boolean().optional(),
1930
2045
  url: e.string().optional()
1931
- }).optional(),
2046
+ }).nullish(),
1932
2047
  // Flags
1933
2048
  flags: e.object({
1934
2049
  allow_changing_enable_sso: e.boolean().optional(),
@@ -2018,7 +2133,7 @@ const Kt = e.nativeEnum(H), zt = e.object({
2018
2133
  organizations: e.object({
2019
2134
  client_credentials: e.record(e.any()).optional()
2020
2135
  }).optional()
2021
- }).optional(),
2136
+ }).nullish(),
2022
2137
  // Default audience
2023
2138
  default_audience: e.string().optional(),
2024
2139
  // Default organization
@@ -2040,10 +2155,12 @@ const Kt = e.nativeEnum(H), zt = e.object({
2040
2155
  // mTLS settings
2041
2156
  mtls: e.object({
2042
2157
  enable_endpoint_aliases: e.boolean().optional()
2043
- }).optional(),
2158
+ }).nullish(),
2044
2159
  // Authorization settings
2045
2160
  pushed_authorization_requests_supported: e.boolean().optional(),
2046
2161
  authorization_response_iss_parameter_supported: e.boolean().optional(),
2162
+ // Attack-protection config (singleton, exposed via /api/v2/attack-protection)
2163
+ attack_protection: ro.optional(),
2047
2164
  // Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
2048
2165
  mfa: e.object({
2049
2166
  // MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
@@ -2075,14 +2192,14 @@ const Kt = e.nativeEnum(H), zt = e.object({
2075
2192
  message: e.string().optional()
2076
2193
  }).optional()
2077
2194
  }).optional()
2078
- }), bn = e.object({
2195
+ }), jn = e.object({
2079
2196
  created_at: e.string().nullable().transform((t) => t ?? ""),
2080
2197
  updated_at: e.string().nullable().transform((t) => t ?? ""),
2081
- ...eo.shape,
2198
+ ...po.shape,
2082
2199
  id: e.string()
2083
2200
  });
2084
- var to = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(to || {});
2085
- const fn = e.object({
2201
+ var co = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(co || {});
2202
+ const Rn = e.object({
2086
2203
  access_token: e.string(),
2087
2204
  id_token: e.string().optional(),
2088
2205
  scope: e.string().optional(),
@@ -2095,7 +2212,7 @@ e.object({
2095
2212
  code: e.string(),
2096
2213
  state: e.string().optional()
2097
2214
  });
2098
- const oo = e.object({
2215
+ const _o = e.object({
2099
2216
  button_border_radius: e.number(),
2100
2217
  button_border_weight: e.number(),
2101
2218
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -2105,7 +2222,7 @@ const oo = e.object({
2105
2222
  show_widget_shadow: e.boolean(),
2106
2223
  widget_border_weight: e.number(),
2107
2224
  widget_corner_radius: e.number()
2108
- }), no = e.object({
2225
+ }), go = e.object({
2109
2226
  base_focus_color: e.string(),
2110
2227
  base_hover_color: e.string(),
2111
2228
  body_text: e.string(),
@@ -2128,7 +2245,7 @@ const oo = e.object({
2128
2245
  }), u = e.object({
2129
2246
  bold: e.boolean(),
2130
2247
  size: e.number()
2131
- }), io = e.object({
2248
+ }), uo = e.object({
2132
2249
  body_text: u,
2133
2250
  buttons_text: u,
2134
2251
  font_url: e.string(),
@@ -2138,62 +2255,38 @@ const oo = e.object({
2138
2255
  reference_text_size: e.number(),
2139
2256
  subtitle: u,
2140
2257
  title: u
2141
- }), ao = e.object({
2258
+ }), mo = e.object({
2142
2259
  background_color: e.string(),
2143
2260
  background_image_url: e.string(),
2144
2261
  page_layout: e.enum(["center", "left", "right"])
2145
- }), so = e.object({
2262
+ }), ho = e.object({
2146
2263
  header_text_alignment: e.enum(["center", "left", "right"]),
2147
2264
  logo_height: e.number(),
2148
2265
  logo_position: e.enum(["center", "left", "none", "right"]),
2149
2266
  logo_url: e.string(),
2150
2267
  social_buttons_layout: e.enum(["bottom", "top"])
2151
- }), ro = e.object({
2152
- borders: oo,
2153
- colors: no,
2268
+ }), bo = e.object({
2269
+ borders: _o,
2270
+ colors: go,
2154
2271
  displayName: e.string(),
2155
- fonts: io,
2156
- page_background: ao,
2157
- widget: so
2158
- }), En = ro.extend({
2272
+ fonts: uo,
2273
+ page_background: mo,
2274
+ widget: ho
2275
+ }), kn = bo.extend({
2159
2276
  themeId: e.string()
2160
- }), Sn = e.object({
2277
+ }), Dn = e.object({
2161
2278
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2162
2279
  identifier_first: e.boolean().default(!0),
2163
2280
  password_first: e.boolean().default(!1),
2164
2281
  webauthn_platform_first_factor: e.boolean()
2165
- }), yn = e.object({
2282
+ }), vn = e.object({
2166
2283
  name: e.string(),
2167
2284
  enabled: e.boolean().optional().default(!0),
2168
2285
  default_from_address: e.string().optional(),
2169
- credentials: e.union([
2170
- e.object({
2171
- accessKeyId: e.string(),
2172
- secretAccessKey: e.string(),
2173
- region: e.string()
2174
- }),
2175
- e.object({
2176
- smtp_host: e.array(e.string()),
2177
- smtp_port: e.number(),
2178
- smtp_user: e.string(),
2179
- smtp_pass: e.string()
2180
- }),
2181
- e.object({
2182
- api_key: e.string(),
2183
- domain: e.string().optional()
2184
- }),
2185
- e.object({
2186
- connectionString: e.string()
2187
- }),
2188
- e.object({
2189
- tenantId: e.string(),
2190
- clientId: e.string(),
2191
- clientSecret: e.string()
2192
- })
2193
- ]),
2286
+ credentials: e.record(e.string(), e.unknown()),
2194
2287
  settings: e.object({}).optional()
2195
- }), lo = e.object({
2196
- // The actual refresh token value (primary key).
2288
+ }), fo = e.object({
2289
+ // Internal primary key (ULID). Never sent to clients in the new wire format.
2197
2290
  id: e.string(),
2198
2291
  // Link to the login session
2199
2292
  login_id: e.string(),
@@ -2205,31 +2298,44 @@ const oo = e.object({
2205
2298
  idle_expires_at: e.string().optional(),
2206
2299
  // When the token was last used.
2207
2300
  last_exchanged_at: e.string().optional(),
2208
- device: G,
2301
+ device: W,
2209
2302
  resource_servers: e.array(
2210
2303
  e.object({
2211
2304
  audience: e.string(),
2212
2305
  scopes: e.string()
2213
2306
  })
2214
2307
  ),
2215
- rotating: e.boolean()
2216
- }), An = e.object({
2308
+ rotating: e.boolean(),
2309
+ // Plaintext lookup slice extracted from the wire token. Indexed for the
2310
+ // refresh-grant path. NULL on legacy (pre-hashing) rows.
2311
+ token_lookup: e.string().optional(),
2312
+ // SHA-256 hex of the secret part of the wire token. NULL on legacy rows.
2313
+ token_hash: e.string().optional(),
2314
+ // Root token id of the rotation chain. NULL on legacy rows; for the first
2315
+ // token in a chain it equals `id`.
2316
+ family_id: e.string().optional(),
2317
+ // Most recently issued child id (debug/traceability). NULL until rotated.
2318
+ rotated_to: e.string().optional(),
2319
+ // ISO of the *first* rotation. Anchors the leeway window so siblings minted
2320
+ // within the window don't extend the parent's exposure.
2321
+ rotated_at: e.string().optional()
2322
+ }), Ln = e.object({
2217
2323
  // When the refresh token record was created.
2218
2324
  created_at: e.string(),
2219
2325
  // When the token was explicitly revoked (null = still active).
2220
2326
  revoked_at: e.string().optional(),
2221
2327
  // Spread in the rest of the refresh token properties.
2222
- ...lo.shape
2223
- }), In = e.object({
2328
+ ...fo.shape
2329
+ }), Un = e.object({
2224
2330
  to: e.string(),
2225
2331
  message: e.string()
2226
- }), Cn = e.object({
2332
+ }), xn = e.object({
2227
2333
  name: e.string(),
2228
2334
  options: e.object({})
2229
- }), co = e.object({
2335
+ }), Eo = e.object({
2230
2336
  value: e.string(),
2231
2337
  description: e.string().optional()
2232
- }), po = e.object({
2338
+ }), So = e.object({
2233
2339
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2234
2340
  enforce_policies: e.boolean().optional(),
2235
2341
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2239,11 +2345,11 @@ const oo = e.object({
2239
2345
  mtls: e.object({
2240
2346
  bound_access_tokens: e.boolean().optional()
2241
2347
  }).optional()
2242
- }), _o = e.object({
2348
+ }), yo = e.object({
2243
2349
  id: e.string().optional(),
2244
2350
  name: e.string(),
2245
2351
  identifier: e.string(),
2246
- scopes: e.array(co).optional(),
2352
+ scopes: e.array(Eo).optional(),
2247
2353
  signing_alg: e.string().optional(),
2248
2354
  signing_secret: e.string().optional(),
2249
2355
  token_lifetime: e.number().default(86400),
@@ -2251,30 +2357,30 @@ const oo = e.object({
2251
2357
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2252
2358
  allow_offline_access: e.boolean().optional(),
2253
2359
  verificationKey: e.string().optional(),
2254
- options: po.optional(),
2360
+ options: So.optional(),
2255
2361
  is_system: e.boolean().optional(),
2256
2362
  metadata: e.record(e.any()).optional()
2257
- }), go = e.object({
2258
- ..._o.shape,
2363
+ }), Ao = e.object({
2364
+ ...yo.shape,
2259
2365
  created_at: e.string().optional(),
2260
2366
  updated_at: e.string().optional()
2261
- }), Tn = e.array(go), uo = e.object({
2367
+ }), Fn = e.array(Ao), Io = e.object({
2262
2368
  role_id: e.string(),
2263
2369
  resource_server_identifier: e.string(),
2264
2370
  permission_name: e.string()
2265
- }), mo = e.object({
2266
- ...uo.shape,
2371
+ }), Co = e.object({
2372
+ ...Io.shape,
2267
2373
  created_at: e.string()
2268
- }), On = e.array(mo), ho = e.object({
2374
+ }), Pn = e.array(Co), To = e.object({
2269
2375
  user_id: e.string(),
2270
2376
  resource_server_identifier: e.string(),
2271
2377
  permission_name: e.string(),
2272
2378
  organization_id: e.string().optional()
2273
- }), bo = e.object({
2274
- ...ho.shape,
2379
+ }), Oo = e.object({
2380
+ ...To.shape,
2275
2381
  tenant_id: e.string(),
2276
2382
  created_at: e.string().optional()
2277
- }), Nn = e.array(bo), fo = e.object({
2383
+ }), Mn = e.array(Oo), No = e.object({
2278
2384
  user_id: e.string(),
2279
2385
  resource_server_identifier: e.string(),
2280
2386
  resource_server_name: e.string(),
@@ -2282,17 +2388,17 @@ const oo = e.object({
2282
2388
  description: e.string().nullable().optional(),
2283
2389
  created_at: e.string().optional(),
2284
2390
  organization_id: e.string().optional()
2285
- }), wn = e.array(
2286
- fo
2287
- ), Eo = e.object({
2391
+ }), Hn = e.array(
2392
+ No
2393
+ ), wo = e.object({
2288
2394
  user_id: e.string(),
2289
2395
  role_id: e.string(),
2290
2396
  organization_id: e.string().optional()
2291
- }), So = e.object({
2292
- ...Eo.shape,
2397
+ }), jo = e.object({
2398
+ ...wo.shape,
2293
2399
  tenant_id: e.string(),
2294
2400
  created_at: e.string().optional()
2295
- }), jn = e.array(So), yo = e.object({
2401
+ }), Gn = e.array(jo), Ro = e.object({
2296
2402
  id: e.string().optional().openapi({
2297
2403
  description: "The unique identifier of the role. If not provided, one will be generated."
2298
2404
  }),
@@ -2306,13 +2412,13 @@ const oo = e.object({
2306
2412
  metadata: e.record(e.any()).optional().openapi({
2307
2413
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2308
2414
  })
2309
- }), Ao = yo.extend({
2415
+ }), ko = Ro.extend({
2310
2416
  id: e.string().openapi({
2311
2417
  description: "The unique identifier of the role"
2312
2418
  }),
2313
2419
  created_at: e.string().optional(),
2314
2420
  updated_at: e.string().optional()
2315
- }), Rn = e.array(Ao), Io = e.object({
2421
+ }), Bn = e.array(ko), Do = e.object({
2316
2422
  logo_url: e.string().optional().openapi({
2317
2423
  description: "URL of the organization's logo"
2318
2424
  }),
@@ -2324,7 +2430,7 @@ const oo = e.object({
2324
2430
  description: "Page background color in hex format (e.g., #FFFFFF)"
2325
2431
  })
2326
2432
  }).optional()
2327
- }).optional(), Co = e.object({
2433
+ }).optional(), vo = e.object({
2328
2434
  connection_id: e.string().openapi({
2329
2435
  description: "ID of the connection"
2330
2436
  }),
@@ -2337,7 +2443,7 @@ const oo = e.object({
2337
2443
  is_signup_enabled: e.boolean().default(!0).openapi({
2338
2444
  description: "Whether signup is enabled for this connection"
2339
2445
  })
2340
- }), To = e.object({
2446
+ }), Lo = e.object({
2341
2447
  client_credentials: e.object({
2342
2448
  enforce: e.boolean().default(!1).openapi({
2343
2449
  description: "Whether to enforce token quota limits"
@@ -2349,7 +2455,7 @@ const oo = e.object({
2349
2455
  description: "Maximum tokens per hour (0 = unlimited)"
2350
2456
  })
2351
2457
  }).optional()
2352
- }).optional(), Oo = e.object({
2458
+ }).optional(), Uo = e.object({
2353
2459
  id: e.string().optional(),
2354
2460
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2355
2461
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2359,34 +2465,52 @@ const oo = e.object({
2359
2465
  display_name: e.string().optional().openapi({
2360
2466
  description: "The display name of the organization"
2361
2467
  }),
2362
- branding: Io,
2468
+ branding: Do,
2363
2469
  metadata: e.record(e.any()).default({}).optional().openapi({
2364
2470
  description: "Custom metadata for the organization"
2365
2471
  }),
2366
- enabled_connections: e.array(Co).default([]).optional().openapi({
2472
+ enabled_connections: e.array(vo).default([]).optional().openapi({
2367
2473
  description: "List of enabled connections for the organization"
2368
2474
  }),
2369
- token_quota: To
2370
- }), Dn = e.object({
2371
- ...Oo.shape,
2372
- ...s.shape,
2475
+ token_quota: Lo
2476
+ }), Wn = e.object({
2477
+ ...Uo.shape,
2478
+ ...r.shape,
2373
2479
  id: e.string(),
2374
2480
  // Override name to be lenient when reading from database (to support existing uppercase names)
2375
2481
  name: e.string().min(1).openapi({
2376
2482
  description: "The name of the organization"
2377
2483
  })
2378
- }), No = e.object({
2484
+ }), xo = e.object({
2485
+ connection_id: e.string().openapi({
2486
+ description: "ID of the tenant-level connection to enable for the org."
2487
+ }),
2488
+ assign_membership_on_login: e.boolean().optional().default(!1),
2489
+ show_as_button: e.boolean().optional().default(!0),
2490
+ is_signup_enabled: e.boolean().optional().default(!0)
2491
+ }), Fo = e.object({
2492
+ ...xo.shape,
2493
+ // Auth0 includes the embedded connection in GET responses.
2494
+ connection: e.object({
2495
+ name: e.string().optional(),
2496
+ strategy: e.string().optional()
2497
+ }).optional(),
2498
+ created_at: e.string().optional(),
2499
+ updated_at: e.string().optional()
2500
+ }), zn = e.array(
2501
+ Fo
2502
+ ), Po = e.object({
2379
2503
  user_id: e.string().openapi({
2380
2504
  description: "ID of the user"
2381
2505
  }),
2382
2506
  organization_id: e.string().openapi({
2383
2507
  description: "ID of the organization"
2384
2508
  })
2385
- }), Ln = e.object({
2386
- ...No.shape,
2387
- ...s.shape,
2509
+ }), Kn = e.object({
2510
+ ...Po.shape,
2511
+ ...r.shape,
2388
2512
  id: e.string()
2389
- }), vn = e.object({
2513
+ }), qn = e.object({
2390
2514
  // Session settings
2391
2515
  idle_session_lifetime: e.number().default(72),
2392
2516
  session_lifetime: e.number().default(168),
@@ -2486,7 +2610,7 @@ const oo = e.object({
2486
2610
  message: e.string().optional()
2487
2611
  }).optional()
2488
2612
  }).optional()
2489
- }), kn = e.object({
2613
+ }), Xn = e.object({
2490
2614
  date: e.string().openapi({
2491
2615
  description: "Date these events occurred in ISO 8601 format",
2492
2616
  example: "2025-12-19"
@@ -2511,10 +2635,10 @@ const oo = e.object({
2511
2635
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2512
2636
  example: "2025-12-19T00:00:00.000Z"
2513
2637
  })
2514
- }), Un = e.number().openapi({
2638
+ }), Vn = e.number().openapi({
2515
2639
  description: "Number of active users in the last 30 days",
2516
2640
  example: 1234
2517
- }), wo = e.enum([
2641
+ }), Mo = e.enum([
2518
2642
  "login",
2519
2643
  "login-id",
2520
2644
  "login-password",
@@ -2543,17 +2667,17 @@ const oo = e.object({
2543
2667
  "custom-form",
2544
2668
  "login-passwordless",
2545
2669
  "mfa-login-options"
2546
- ]), jo = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2670
+ ]), Ho = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2547
2671
  type: "object",
2548
2672
  additionalProperties: {
2549
2673
  type: "object",
2550
2674
  additionalProperties: { type: "string" }
2551
2675
  }
2552
- }), Fn = e.object({
2553
- prompt: wo,
2676
+ }), Yn = e.object({
2677
+ prompt: Mo,
2554
2678
  language: e.string(),
2555
- custom_text: jo
2556
- }), xn = {
2679
+ custom_text: Ho
2680
+ }), Qn = {
2557
2681
  EMAIL: "email",
2558
2682
  SMS: "sms",
2559
2683
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2568,11 +2692,11 @@ const oo = e.object({
2568
2692
  SAMLP: "samlp",
2569
2693
  WAAD: "waad",
2570
2694
  ADFS: "adfs"
2571
- }, Pn = {
2695
+ }, Zn = {
2572
2696
  DATABASE: "database",
2573
2697
  SOCIAL: "social",
2574
2698
  PASSWORDLESS: "passwordless"
2575
- }, Ro = e.enum([
2699
+ }, Go = e.enum([
2576
2700
  "phone",
2577
2701
  "totp",
2578
2702
  "email",
@@ -2580,9 +2704,9 @@ const oo = e.object({
2580
2704
  "webauthn-roaming",
2581
2705
  "webauthn-platform",
2582
2706
  "passkey"
2583
- ]), B = e.object({
2707
+ ]), z = e.object({
2584
2708
  user_id: e.string(),
2585
- type: Ro,
2709
+ type: Go,
2586
2710
  // Phone-specific
2587
2711
  phone_number: e.string().optional(),
2588
2712
  // TOTP-specific
@@ -2597,7 +2721,7 @@ const oo = e.object({
2597
2721
  // Common
2598
2722
  confirmed: e.boolean().default(!1)
2599
2723
  });
2600
- function W(t, o) {
2724
+ function K(t, o) {
2601
2725
  t.type === "phone" && !t.phone_number && o.addIssue({
2602
2726
  code: e.ZodIssueCode.custom,
2603
2727
  message: "phone_number is required when type is 'phone'",
@@ -2616,64 +2740,64 @@ function W(t, o) {
2616
2740
  path: ["public_key"]
2617
2741
  }));
2618
2742
  }
2619
- const Mn = B.superRefine(W), Hn = e.object({
2620
- ...B.shape,
2743
+ const $n = z.superRefine(K), Jn = e.object({
2744
+ ...z.shape,
2621
2745
  id: e.string(),
2622
2746
  created_at: e.string(),
2623
2747
  updated_at: e.string()
2624
- }).superRefine(W);
2625
- function Gn(t) {
2748
+ }).superRefine(K);
2749
+ function ei(t) {
2626
2750
  const [o, i] = t.split("|");
2627
2751
  if (!o || !i)
2628
2752
  throw new Error(`Invalid user_id: ${t}`);
2629
2753
  return { connection: o, id: i };
2630
2754
  }
2631
- function Bn(t) {
2755
+ function ti(t) {
2632
2756
  const {
2633
2757
  primary: o,
2634
2758
  secondaries: i,
2635
- syncMethods: O = ["create", "rawCreate", "update", "remove", "delete", "set"]
2636
- } = t, E = {
2637
- get(p, a) {
2759
+ syncMethods: h = ["create", "rawCreate", "update", "remove", "delete", "set"]
2760
+ } = t, S = {
2761
+ get(c, a) {
2638
2762
  if (typeof a == "symbol")
2639
- return p[a];
2640
- const _ = p[a];
2641
- return typeof _ != "function" ? _ : O.includes(a) ? async (...d) => {
2642
- const S = await _.apply(p, d), g = [];
2643
- for (const r of i) {
2644
- const h = r.adapter[a];
2645
- if (typeof h != "function")
2763
+ return c[a];
2764
+ const d = c[a];
2765
+ return typeof d != "function" ? d : h.includes(a) ? async (..._) => {
2766
+ const y = await d.apply(c, _), g = [];
2767
+ for (const s of i) {
2768
+ const b = s.adapter[a];
2769
+ if (typeof b != "function")
2646
2770
  continue;
2647
- const y = (async () => {
2771
+ const A = (async () => {
2648
2772
  try {
2649
- await h.apply(r.adapter, d);
2650
- } catch (b) {
2773
+ await b.apply(s.adapter, _);
2774
+ } catch (f) {
2651
2775
  try {
2652
- r.onError ? r.onError(b, a, d) : console.error(
2776
+ s.onError ? s.onError(f, a, _) : console.error(
2653
2777
  `Passthrough adapter: secondary write failed for ${a}:`,
2654
- b
2778
+ f
2655
2779
  );
2656
- } catch (A) {
2780
+ } catch (I) {
2657
2781
  console.error(
2658
2782
  `Passthrough adapter: onError handler threw for ${a}:`,
2659
- A
2783
+ I
2660
2784
  );
2661
2785
  }
2662
2786
  }
2663
2787
  })();
2664
- r.blocking && g.push(y);
2788
+ s.blocking && g.push(A);
2665
2789
  }
2666
- return g.length > 0 && await Promise.all(g), S;
2667
- } : _.bind(p);
2790
+ return g.length > 0 && await Promise.all(g), y;
2791
+ } : d.bind(c);
2668
2792
  }
2669
2793
  };
2670
- return new Proxy(o, E);
2794
+ return new Proxy(o, S);
2671
2795
  }
2672
- function Wn(t) {
2796
+ function oi(t) {
2673
2797
  return t;
2674
2798
  }
2675
- function Kn(t) {
2676
- var E, p, a, _, d, S, g, r, h, y, b, A;
2799
+ function ni(t) {
2800
+ var S, c, a, d, _, y, g, s, b, A, f, I;
2677
2801
  const o = t == null ? void 0 : t.options;
2678
2802
  if (!o)
2679
2803
  return {
@@ -2684,204 +2808,216 @@ function Kn(t) {
2684
2808
  };
2685
2809
  const i = o.attributes;
2686
2810
  if (i) {
2687
- const K = ((p = (E = i.username) == null ? void 0 : E.identifier) == null ? void 0 : p.active) === !0, z = ((_ = (a = i.email) == null ? void 0 : a.identifier) == null ? void 0 : _.active) !== !1, q = ((S = (d = i.username) == null ? void 0 : d.validation) == null ? void 0 : S.min_length) ?? 1, X = ((r = (g = i.username) == null ? void 0 : g.validation) == null ? void 0 : r.max_length) ?? 15;
2811
+ const q = ((c = (S = i.username) == null ? void 0 : S.identifier) == null ? void 0 : c.active) === !0, X = ((d = (a = i.email) == null ? void 0 : a.identifier) == null ? void 0 : d.active) !== !1, V = ((y = (_ = i.username) == null ? void 0 : _.validation) == null ? void 0 : y.min_length) ?? 1, Y = ((s = (g = i.username) == null ? void 0 : g.validation) == null ? void 0 : s.max_length) ?? 15;
2688
2812
  return {
2689
- usernameIdentifierActive: K,
2690
- emailIdentifierActive: z,
2691
- usernameMinLength: q,
2692
- usernameMaxLength: X
2813
+ usernameIdentifierActive: q,
2814
+ emailIdentifierActive: X,
2815
+ usernameMinLength: V,
2816
+ usernameMaxLength: Y
2693
2817
  };
2694
2818
  }
2695
2819
  return {
2696
2820
  usernameIdentifierActive: o.requires_username === !0,
2697
2821
  emailIdentifierActive: !0,
2698
- usernameMinLength: ((y = (h = o.validation) == null ? void 0 : h.username) == null ? void 0 : y.min) ?? 1,
2699
- usernameMaxLength: ((A = (b = o.validation) == null ? void 0 : b.username) == null ? void 0 : A.max) ?? 15
2822
+ usernameMinLength: ((A = (b = o.validation) == null ? void 0 : b.username) == null ? void 0 : A.min) ?? 1,
2823
+ usernameMaxLength: ((I = (f = o.validation) == null ? void 0 : f.username) == null ? void 0 : I.max) ?? 15
2700
2824
  };
2701
2825
  }
2702
- function zn(t) {
2826
+ function ii(t) {
2703
2827
  return typeof t == "object" && t !== null && !Array.isArray(t);
2704
2828
  }
2705
2829
  export {
2706
- Fo as Auth0ActionEnum,
2707
- Yt as Auth0Client,
2708
- L as AuthorizationResponseMode,
2830
+ Xo as Auth0ActionEnum,
2831
+ Zt as Auth0Client,
2832
+ v as AuthorizationResponseMode,
2709
2833
  D as AuthorizationResponseType,
2710
- v as CodeChallengeMethod,
2711
- R as ComponentCategory,
2712
- j as ComponentType,
2713
- xo as EmailActionEnum,
2714
- Zo as FORM_FIELD_TYPES,
2715
- Uo as FlowActionTypeEnum,
2716
- to as GrantType,
2717
- Qt as LocationInfo,
2718
- Xt as LogTypes,
2719
- H as LoginSessionState,
2720
- Re as NodeType,
2721
- le as RedirectTargetEnum,
2722
- xn as Strategy,
2723
- Pn as StrategyType,
2724
- Y as actionDependencySchema,
2725
- N as actionInsertSchema,
2726
- ve as actionNodeSchema,
2727
- vo as actionSchema,
2728
- Q as actionSecretSchema,
2729
- V as actionTriggerSchema,
2730
- Lo as actionUpdateSchema,
2731
- Un as activeUsersResponseSchema,
2732
- $ as actorSchema,
2733
- ue as addressSchema,
2734
- Z as auditCategorySchema,
2735
- ie as auditEventInsertSchema,
2736
- ko as auditEventSchema,
2737
- ne as auth0ClientSchema,
2738
- qo as auth0FlowInsertSchema,
2739
- Pe as auth0FlowSchema,
2740
- Mo as auth0QuerySchema,
2741
- se as auth0UpdateUserActionSchema,
2742
- Go as auth0UserResponseSchema,
2743
- Me as authParamsSchema,
2744
- Mn as authenticationMethodInsertSchema,
2745
- Hn as authenticationMethodSchema,
2746
- Ro as authenticationMethodTypeSchema,
2747
- w as baseUserSchema,
2748
- yt as blockComponentSchema,
2749
- oo as bordersSchema,
2750
- Xo as brandingSchema,
2751
- Te as buttonComponentSchema,
2752
- Se as clientGrantInsertSchema,
2753
- Ko as clientGrantListSchema,
2754
- ye as clientGrantSchema,
2755
- Ee as clientInsertSchema,
2756
- Ie as clientRegistrationTokenInsertSchema,
2757
- zo as clientRegistrationTokenSchema,
2758
- Ae as clientRegistrationTokenTypeSchema,
2759
- Wo as clientSchema,
2760
- Ge as codeInsertSchema,
2761
- Vo as codeSchema,
2762
- He as codeTypeSchema,
2763
- no as colorsSchema,
2764
- jt as componentMessageSchema,
2765
- je as componentSchema,
2766
- We as connectionInsertSchema,
2767
- Be as connectionOptionsSchema,
2768
- Yo as connectionSchema,
2834
+ L as CodeChallengeMethod,
2835
+ k as ComponentCategory,
2836
+ R as ComponentType,
2837
+ Vo as EmailActionEnum,
2838
+ pn as FORM_FIELD_TYPES,
2839
+ qo as FlowActionTypeEnum,
2840
+ co as GrantType,
2841
+ $t as LocationInfo,
2842
+ Yt as LogTypes,
2843
+ G as LoginSessionState,
2844
+ De as NodeType,
2845
+ ce as RedirectTargetEnum,
2846
+ Qn as Strategy,
2847
+ Zn as StrategyType,
2848
+ Z as actionDependencySchema,
2849
+ w as actionInsertSchema,
2850
+ Ue as actionNodeSchema,
2851
+ zo as actionSchema,
2852
+ $ as actionSecretSchema,
2853
+ Q as actionTriggerSchema,
2854
+ Wo as actionUpdateSchema,
2855
+ Vn as activeUsersResponseSchema,
2856
+ ee as actorSchema,
2857
+ he as addressSchema,
2858
+ ro as attackProtectionSchema,
2859
+ J as auditCategorySchema,
2860
+ re as auditEventInsertSchema,
2861
+ Ko as auditEventSchema,
2862
+ ae as auth0ClientSchema,
2863
+ nn as auth0FlowInsertSchema,
2864
+ He as auth0FlowSchema,
2865
+ Qo as auth0QuerySchema,
2866
+ le as auth0UpdateUserActionSchema,
2867
+ $o as auth0UserResponseSchema,
2868
+ Ge as authParamsSchema,
2869
+ $n as authenticationMethodInsertSchema,
2870
+ Jn as authenticationMethodSchema,
2871
+ Go as authenticationMethodTypeSchema,
2872
+ j as baseUserSchema,
2873
+ It as blockComponentSchema,
2874
+ _o as bordersSchema,
2875
+ an as brandingSchema,
2876
+ no as breachedPasswordDetectionSchema,
2877
+ io as bruteForceProtectionSchema,
2878
+ Ne as buttonComponentSchema,
2879
+ Ae as clientGrantInsertSchema,
2880
+ tn as clientGrantListSchema,
2881
+ Ie as clientGrantSchema,
2882
+ ye as clientInsertSchema,
2883
+ Te as clientRegistrationTokenInsertSchema,
2884
+ on as clientRegistrationTokenSchema,
2885
+ Ce as clientRegistrationTokenTypeSchema,
2886
+ en as clientSchema,
2887
+ We as codeInsertSchema,
2888
+ rn as codeSchema,
2889
+ Be as codeTypeSchema,
2890
+ go as colorsSchema,
2891
+ kt as componentMessageSchema,
2892
+ ke as componentSchema,
2893
+ Ke as connectionInsertSchema,
2894
+ ze as connectionOptionsSchema,
2895
+ sn as connectionSchema,
2769
2896
  m as coordinatesSchema,
2770
- Bn as createPassthroughAdapter,
2771
- Wn as createWriteOnlyAdapter,
2772
- Ke as customDomainInsertSchema,
2773
- qe as customDomainSchema,
2774
- Qo as customDomainWithTenantIdSchema,
2775
- Fn as customTextEntrySchema,
2776
- jo as customTextSchema,
2777
- kn as dailyStatsSchema,
2778
- yn as emailProviderSchema,
2779
- ae as emailVerificationRulesSchema,
2780
- re as emailVerifyActionSchema,
2781
- xe as endingSchema,
2782
- It as fieldComponentSchema,
2783
- pe as flowActionStepSchema,
2784
- _e as flowInsertSchema,
2785
- Po as flowSchema,
2786
- Ne as flowsFieldComponentSchema,
2897
+ ti as createPassthroughAdapter,
2898
+ oi as createWriteOnlyAdapter,
2899
+ qe as customDomainInsertSchema,
2900
+ Ve as customDomainSchema,
2901
+ ln as customDomainWithTenantIdSchema,
2902
+ Yn as customTextEntrySchema,
2903
+ Ho as customTextSchema,
2904
+ Xn as dailyStatsSchema,
2905
+ vn as emailProviderSchema,
2906
+ se as emailVerificationRulesSchema,
2907
+ pe as emailVerifyActionSchema,
2908
+ Me as endingSchema,
2909
+ Tt as fieldComponentSchema,
2910
+ _e as flowActionStepSchema,
2911
+ ge as flowInsertSchema,
2912
+ Yo as flowSchema,
2913
+ je as flowsFieldComponentSchema,
2787
2914
  Le as flowsFlowNodeSchema,
2788
- De as flowsStepNodeSchema,
2915
+ ve as flowsStepNodeSchema,
2789
2916
  u as fontDetailsSchema,
2790
- io as fontsSchema,
2791
- $o as formControlSchema,
2792
- wt as formInsertSchema,
2793
- k as formNodeComponentDefinition,
2794
- Nt as formNodeSchema,
2795
- Jo as formSchema,
2796
- we as genericComponentSchema,
2797
- ke as genericNodeSchema,
2798
- Kn as getConnectionIdentifierConfig,
2799
- Mt as hookCodeInsertSchema,
2800
- ln as hookCodeSchema,
2801
- sn as hookInsertSchema,
2802
- rn as hookSchema,
2803
- M as hookTemplateId,
2804
- an as hookTemplates,
2805
- ge as identitySchema,
2806
- Bt as inviteInsertSchema,
2807
- cn as inviteSchema,
2808
- Gt as inviteeSchema,
2809
- Ht as inviterSchema,
2810
- tn as isBlockComponent,
2811
- nn as isFieldComponent,
2812
- zn as isPlainObject,
2813
- on as isWidgetComponent,
2814
- pn as jwksKeySchema,
2815
- Wt as jwksSchema,
2816
- Oe as legalComponentSchema,
2817
- oe as locationInfoSchema,
2818
- Zt as logInsertSchema,
2819
- gn as logSchema,
2820
- zt as loginSessionAuthStrategySchema,
2821
- qt as loginSessionInsertSchema,
2822
- dn as loginSessionSchema,
2823
- Kt as loginSessionStateSchema,
2824
- Ue as nodeSchema,
2825
- _n as openIDConfigurationSchema,
2826
- Io as organizationBrandingSchema,
2827
- Co as organizationEnabledConnectionSchema,
2828
- Oo as organizationInsertSchema,
2829
- Dn as organizationSchema,
2830
- To as organizationTokenQuotaSchema,
2831
- ao as pageBackgroundSchema,
2832
- Gn as parseUserId,
2833
- $t as passwordInsertSchema,
2834
- un as passwordSchema,
2835
- de as profileDataSchema,
2836
- wo as promptScreenSchema,
2837
- Sn as promptSettingSchema,
2838
- ce as redirectActionSchema,
2839
- lo as refreshTokenInsertSchema,
2840
- An as refreshTokenSchema,
2841
- ee as requestContextSchema,
2842
- _o as resourceServerInsertSchema,
2843
- Tn as resourceServerListSchema,
2844
- po as resourceServerOptionsSchema,
2845
- go as resourceServerSchema,
2846
- co as resourceServerScopeSchema,
2847
- te as responseContextSchema,
2848
- Ce as richTextComponentSchema,
2849
- yo as roleInsertSchema,
2850
- Rn as roleListSchema,
2851
- uo as rolePermissionInsertSchema,
2852
- On as rolePermissionListSchema,
2853
- mo as rolePermissionSchema,
2854
- Ao as roleSchema,
2855
- Rt as screenLinkSchema,
2856
- Jt as sessionInsertSchema,
2857
- mn as sessionSchema,
2858
- hn as signingKeySchema,
2859
- Cn as smsProviderSchema,
2860
- In as smsSendParamsSchema,
2861
- Fe as startSchema,
2862
- J as targetSchema,
2863
- eo as tenantInsertSchema,
2864
- bn as tenantSchema,
2865
- vn as tenantSettingsSchema,
2866
- ro as themeInsertSchema,
2867
- En as themeSchema,
2868
- fn as tokenResponseSchema,
2869
- Ho as totalsSchema,
2870
- en as uiScreenSchema,
2871
- me as userInsertSchema,
2872
- No as userOrganizationInsertSchema,
2873
- Ln as userOrganizationSchema,
2874
- ho as userPermissionInsertSchema,
2875
- Nn as userPermissionListSchema,
2876
- bo as userPermissionSchema,
2877
- wn as userPermissionWithDetailsListSchema,
2878
- fo as userPermissionWithDetailsSchema,
2879
- Bo as userResponseSchema,
2880
- Eo as userRoleInsertSchema,
2881
- jn as userRoleListSchema,
2882
- So as userRoleSchema,
2883
- he as userSchema,
2884
- ze as verificationMethodsSchema,
2885
- At as widgetComponentSchema,
2886
- so as widgetSchema
2917
+ uo as fontsSchema,
2918
+ cn as formControlSchema,
2919
+ Rt as formInsertSchema,
2920
+ U as formNodeComponentDefinition,
2921
+ jt as formNodeSchema,
2922
+ dn as formSchema,
2923
+ Re as genericComponentSchema,
2924
+ xe as genericNodeSchema,
2925
+ ni as getConnectionIdentifierConfig,
2926
+ Gt as hookCodeInsertSchema,
2927
+ En as hookCodeSchema,
2928
+ bn as hookInsertSchema,
2929
+ fn as hookSchema,
2930
+ H as hookTemplateId,
2931
+ hn as hookTemplates,
2932
+ me as identitySchema,
2933
+ zt as inviteInsertSchema,
2934
+ Sn as inviteSchema,
2935
+ Wt as inviteeSchema,
2936
+ Bt as inviterSchema,
2937
+ gn as isBlockComponent,
2938
+ mn as isFieldComponent,
2939
+ ii as isPlainObject,
2940
+ un as isWidgetComponent,
2941
+ yn as jwksKeySchema,
2942
+ Kt as jwksSchema,
2943
+ we as legalComponentSchema,
2944
+ ie as locationInfoSchema,
2945
+ Jt as logInsertSchema,
2946
+ Cn as logSchema,
2947
+ to as logStreamFilterSchema,
2948
+ oo as logStreamInsertSchema,
2949
+ Tn as logStreamSchema,
2950
+ B as logStreamStatusSchema,
2951
+ eo as logStreamTypeSchema,
2952
+ Xt as loginSessionAuthStrategySchema,
2953
+ Vt as loginSessionInsertSchema,
2954
+ In as loginSessionSchema,
2955
+ qt as loginSessionStateSchema,
2956
+ Fe as nodeSchema,
2957
+ An as openIDConfigurationSchema,
2958
+ Do as organizationBrandingSchema,
2959
+ xo as organizationConnectionInsertSchema,
2960
+ zn as organizationConnectionListSchema,
2961
+ Fo as organizationConnectionSchema,
2962
+ vo as organizationEnabledConnectionSchema,
2963
+ Uo as organizationInsertSchema,
2964
+ Wn as organizationSchema,
2965
+ Lo as organizationTokenQuotaSchema,
2966
+ mo as pageBackgroundSchema,
2967
+ ei as parseUserId,
2968
+ so as passwordInsertSchema,
2969
+ On as passwordSchema,
2970
+ ue as profileDataSchema,
2971
+ Mo as promptScreenSchema,
2972
+ Dn as promptSettingSchema,
2973
+ de as redirectActionSchema,
2974
+ fo as refreshTokenInsertSchema,
2975
+ Ln as refreshTokenSchema,
2976
+ oe as requestContextSchema,
2977
+ yo as resourceServerInsertSchema,
2978
+ Fn as resourceServerListSchema,
2979
+ So as resourceServerOptionsSchema,
2980
+ Ao as resourceServerSchema,
2981
+ Eo as resourceServerScopeSchema,
2982
+ ne as responseContextSchema,
2983
+ Oe as richTextComponentSchema,
2984
+ Ro as roleInsertSchema,
2985
+ Bn as roleListSchema,
2986
+ Io as rolePermissionInsertSchema,
2987
+ Pn as rolePermissionListSchema,
2988
+ Co as rolePermissionSchema,
2989
+ ko as roleSchema,
2990
+ Dt as screenLinkSchema,
2991
+ lo as sessionInsertSchema,
2992
+ Nn as sessionSchema,
2993
+ wn as signingKeySchema,
2994
+ xn as smsProviderSchema,
2995
+ Un as smsSendParamsSchema,
2996
+ Pe as startSchema,
2997
+ ao as suspiciousIpThrottlingSchema,
2998
+ te as targetSchema,
2999
+ po as tenantInsertSchema,
3000
+ jn as tenantSchema,
3001
+ qn as tenantSettingsSchema,
3002
+ bo as themeInsertSchema,
3003
+ kn as themeSchema,
3004
+ Rn as tokenResponseSchema,
3005
+ Zo as totalsSchema,
3006
+ _n as uiScreenSchema,
3007
+ be as userInsertSchema,
3008
+ Po as userOrganizationInsertSchema,
3009
+ Kn as userOrganizationSchema,
3010
+ To as userPermissionInsertSchema,
3011
+ Mn as userPermissionListSchema,
3012
+ Oo as userPermissionSchema,
3013
+ Hn as userPermissionWithDetailsListSchema,
3014
+ No as userPermissionWithDetailsSchema,
3015
+ Jo as userResponseSchema,
3016
+ wo as userRoleInsertSchema,
3017
+ Gn as userRoleListSchema,
3018
+ jo as userRoleSchema,
3019
+ fe as userSchema,
3020
+ Xe as verificationMethodsSchema,
3021
+ Ct as widgetComponentSchema,
3022
+ ho as widgetSchema
2887
3023
  };