@authhero/adapter-interfaces 1.10.2 → 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(),
@@ -1572,8 +1624,10 @@ const U = e.enum([
1572
1624
  jwks_uri: e.string(),
1573
1625
  registration_endpoint: e.string().optional(),
1574
1626
  revocation_endpoint: e.string(),
1627
+ end_session_endpoint: e.string().optional(),
1575
1628
  scopes_supported: e.array(e.string()),
1576
1629
  response_types_supported: e.array(e.string()),
1630
+ grant_types_supported: e.array(e.string()).optional(),
1577
1631
  code_challenge_methods_supported: e.array(e.string()),
1578
1632
  response_modes_supported: e.array(e.string()),
1579
1633
  subject_types_supported: e.array(e.string()),
@@ -1584,21 +1638,21 @@ const U = e.enum([
1584
1638
  request_parameter_supported: e.boolean(),
1585
1639
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1586
1640
  });
1587
- 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 || {});
1588
- 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({
1589
1643
  strategy: e.string(),
1590
1644
  strategy_type: e.string()
1591
- }), qt = e.object({
1645
+ }), Vt = e.object({
1592
1646
  csrf_token: e.string(),
1593
1647
  auth0Client: e.string().optional(),
1594
- authParams: Me,
1648
+ authParams: Ge,
1595
1649
  expires_at: e.string(),
1596
1650
  deleted_at: e.string().optional(),
1597
1651
  ip: e.string().optional(),
1598
1652
  useragent: e.string().optional(),
1599
1653
  session_id: e.string().optional(),
1600
1654
  authorization_url: e.string().optional(),
1601
- state: Kt.optional().default(
1655
+ state: qt.optional().default(
1602
1656
  "pending"
1603
1657
  /* PENDING */
1604
1658
  ),
@@ -1609,19 +1663,19 @@ const Kt = e.nativeEnum(H), zt = e.object({
1609
1663
  // Set once user is authenticated
1610
1664
  auth_connection: e.string().optional(),
1611
1665
  // The connection used to authenticate (may differ from primary user's connection)
1612
- auth_strategy: zt.optional(),
1666
+ auth_strategy: Xt.optional(),
1613
1667
  authenticated_at: e.string().optional()
1614
1668
  // ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
1615
1669
  }).openapi({
1616
1670
  description: "This represents a login sesion"
1617
- }), dn = e.object({
1618
- ...qt.shape,
1671
+ }), In = e.object({
1672
+ ...Vt.shape,
1619
1673
  id: e.string().openapi({
1620
1674
  description: "This is is used as the state in the universal login"
1621
1675
  }),
1622
1676
  created_at: e.string(),
1623
1677
  updated_at: e.string()
1624
- }), Xt = {
1678
+ }), Yt = {
1625
1679
  // Network & System
1626
1680
  ACLS_SUMMARY: "acls_summary",
1627
1681
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1793,24 +1847,24 @@ const Kt = e.nativeEnum(H), zt = e.object({
1793
1847
  WARNING_DURING_LOGIN: "w",
1794
1848
  WARNING_SENDING_NOTIFICATION: "wn",
1795
1849
  WARNING_USER_MANAGEMENT: "wum"
1796
- }, Vt = e.string().refine(
1797
- (t) => Object.values(Xt).includes(t),
1850
+ }, Qt = e.string().refine(
1851
+ (t) => Object.values(Yt).includes(t),
1798
1852
  { message: "Invalid log type" }
1799
- ), Yt = e.object({
1853
+ ), Zt = e.object({
1800
1854
  name: e.string(),
1801
1855
  version: e.string(),
1802
1856
  env: e.object({
1803
1857
  node: e.string().optional()
1804
1858
  }).optional()
1805
- }), Qt = e.object({
1859
+ }), $t = e.object({
1806
1860
  country_code: e.string().length(2),
1807
1861
  city_name: e.string(),
1808
1862
  latitude: e.string(),
1809
1863
  longitude: e.string(),
1810
1864
  time_zone: e.string(),
1811
1865
  continent_code: e.string()
1812
- }), Zt = e.object({
1813
- type: Vt,
1866
+ }), Jt = e.object({
1867
+ type: Qt,
1814
1868
  date: e.string(),
1815
1869
  description: e.string().optional(),
1816
1870
  ip: e.string().optional(),
@@ -1829,30 +1883,93 @@ const Kt = e.nativeEnum(H), zt = e.object({
1829
1883
  strategy: e.string().optional(),
1830
1884
  strategy_type: e.string().optional(),
1831
1885
  hostname: e.string().optional(),
1832
- auth0_client: Yt.optional(),
1886
+ auth0_client: Zt.optional(),
1833
1887
  log_id: e.string().optional(),
1834
- location_info: Qt.optional()
1835
- }), gn = e.object({
1836
- ...Zt.shape,
1888
+ location_info: $t.optional()
1889
+ }), Cn = e.object({
1890
+ ...Jt.shape,
1837
1891
  log_id: e.string()
1838
- }), $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({
1839
1956
  id: e.string().optional(),
1840
1957
  user_id: e.string(),
1841
1958
  password: e.string(),
1842
1959
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1843
1960
  is_current: e.boolean().default(!0)
1844
- }), un = $t.extend({
1961
+ }), On = so.extend({
1845
1962
  id: e.string(),
1846
1963
  created_at: e.string(),
1847
1964
  updated_at: e.string()
1848
- }), G = e.object({
1965
+ }), W = e.object({
1849
1966
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1850
1967
  initial_ip: e.string().describe("First IP address associated with this session"),
1851
1968
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1852
1969
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1853
1970
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1854
1971
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1855
- }), Jt = e.object({
1972
+ }), lo = e.object({
1856
1973
  id: e.string(),
1857
1974
  revoked_at: e.string().optional(),
1858
1975
  used_at: e.string().optional(),
@@ -1860,17 +1977,17 @@ const Kt = e.nativeEnum(H), zt = e.object({
1860
1977
  expires_at: e.string().optional(),
1861
1978
  login_session_id: e.string(),
1862
1979
  idle_expires_at: e.string().optional(),
1863
- device: G.describe(
1980
+ device: W.describe(
1864
1981
  "Metadata related to the device used in the session"
1865
1982
  ),
1866
1983
  clients: e.array(e.string()).describe("List of client details for the session")
1867
- }), mn = e.object({
1984
+ }), Nn = e.object({
1868
1985
  created_at: e.string(),
1869
1986
  updated_at: e.string(),
1870
1987
  authenticated_at: e.string(),
1871
1988
  last_interaction_at: e.string(),
1872
- ...Jt.shape
1873
- }), hn = e.object({
1989
+ ...lo.shape
1990
+ }), wn = e.object({
1874
1991
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1875
1992
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1876
1993
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1895,7 +2012,7 @@ const Kt = e.nativeEnum(H), zt = e.object({
1895
2012
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
1896
2013
  description: "The type of the signing key"
1897
2014
  })
1898
- }), eo = e.object({
2015
+ }), po = e.object({
1899
2016
  id: e.string().optional(),
1900
2017
  // Basic settings
1901
2018
  audience: e.string(),
@@ -1926,7 +2043,7 @@ const Kt = e.nativeEnum(H), zt = e.object({
1926
2043
  html: e.string().optional(),
1927
2044
  show_log_link: e.boolean().optional(),
1928
2045
  url: e.string().optional()
1929
- }).optional(),
2046
+ }).nullish(),
1930
2047
  // Flags
1931
2048
  flags: e.object({
1932
2049
  allow_changing_enable_sso: e.boolean().optional(),
@@ -2016,7 +2133,7 @@ const Kt = e.nativeEnum(H), zt = e.object({
2016
2133
  organizations: e.object({
2017
2134
  client_credentials: e.record(e.any()).optional()
2018
2135
  }).optional()
2019
- }).optional(),
2136
+ }).nullish(),
2020
2137
  // Default audience
2021
2138
  default_audience: e.string().optional(),
2022
2139
  // Default organization
@@ -2038,10 +2155,12 @@ const Kt = e.nativeEnum(H), zt = e.object({
2038
2155
  // mTLS settings
2039
2156
  mtls: e.object({
2040
2157
  enable_endpoint_aliases: e.boolean().optional()
2041
- }).optional(),
2158
+ }).nullish(),
2042
2159
  // Authorization settings
2043
2160
  pushed_authorization_requests_supported: e.boolean().optional(),
2044
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(),
2045
2164
  // Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
2046
2165
  mfa: e.object({
2047
2166
  // MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
@@ -2073,14 +2192,14 @@ const Kt = e.nativeEnum(H), zt = e.object({
2073
2192
  message: e.string().optional()
2074
2193
  }).optional()
2075
2194
  }).optional()
2076
- }), bn = e.object({
2195
+ }), jn = e.object({
2077
2196
  created_at: e.string().nullable().transform((t) => t ?? ""),
2078
2197
  updated_at: e.string().nullable().transform((t) => t ?? ""),
2079
- ...eo.shape,
2198
+ ...po.shape,
2080
2199
  id: e.string()
2081
2200
  });
2082
- 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 || {});
2083
- 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({
2084
2203
  access_token: e.string(),
2085
2204
  id_token: e.string().optional(),
2086
2205
  scope: e.string().optional(),
@@ -2093,7 +2212,7 @@ e.object({
2093
2212
  code: e.string(),
2094
2213
  state: e.string().optional()
2095
2214
  });
2096
- const oo = e.object({
2215
+ const _o = e.object({
2097
2216
  button_border_radius: e.number(),
2098
2217
  button_border_weight: e.number(),
2099
2218
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -2103,7 +2222,7 @@ const oo = e.object({
2103
2222
  show_widget_shadow: e.boolean(),
2104
2223
  widget_border_weight: e.number(),
2105
2224
  widget_corner_radius: e.number()
2106
- }), no = e.object({
2225
+ }), go = e.object({
2107
2226
  base_focus_color: e.string(),
2108
2227
  base_hover_color: e.string(),
2109
2228
  body_text: e.string(),
@@ -2126,7 +2245,7 @@ const oo = e.object({
2126
2245
  }), u = e.object({
2127
2246
  bold: e.boolean(),
2128
2247
  size: e.number()
2129
- }), io = e.object({
2248
+ }), uo = e.object({
2130
2249
  body_text: u,
2131
2250
  buttons_text: u,
2132
2251
  font_url: e.string(),
@@ -2136,62 +2255,38 @@ const oo = e.object({
2136
2255
  reference_text_size: e.number(),
2137
2256
  subtitle: u,
2138
2257
  title: u
2139
- }), ao = e.object({
2258
+ }), mo = e.object({
2140
2259
  background_color: e.string(),
2141
2260
  background_image_url: e.string(),
2142
2261
  page_layout: e.enum(["center", "left", "right"])
2143
- }), so = e.object({
2262
+ }), ho = e.object({
2144
2263
  header_text_alignment: e.enum(["center", "left", "right"]),
2145
2264
  logo_height: e.number(),
2146
2265
  logo_position: e.enum(["center", "left", "none", "right"]),
2147
2266
  logo_url: e.string(),
2148
2267
  social_buttons_layout: e.enum(["bottom", "top"])
2149
- }), ro = e.object({
2150
- borders: oo,
2151
- colors: no,
2268
+ }), bo = e.object({
2269
+ borders: _o,
2270
+ colors: go,
2152
2271
  displayName: e.string(),
2153
- fonts: io,
2154
- page_background: ao,
2155
- widget: so
2156
- }), En = ro.extend({
2272
+ fonts: uo,
2273
+ page_background: mo,
2274
+ widget: ho
2275
+ }), kn = bo.extend({
2157
2276
  themeId: e.string()
2158
- }), Sn = e.object({
2277
+ }), Dn = e.object({
2159
2278
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2160
2279
  identifier_first: e.boolean().default(!0),
2161
2280
  password_first: e.boolean().default(!1),
2162
2281
  webauthn_platform_first_factor: e.boolean()
2163
- }), yn = e.object({
2282
+ }), vn = e.object({
2164
2283
  name: e.string(),
2165
2284
  enabled: e.boolean().optional().default(!0),
2166
2285
  default_from_address: e.string().optional(),
2167
- credentials: e.union([
2168
- e.object({
2169
- accessKeyId: e.string(),
2170
- secretAccessKey: e.string(),
2171
- region: e.string()
2172
- }),
2173
- e.object({
2174
- smtp_host: e.array(e.string()),
2175
- smtp_port: e.number(),
2176
- smtp_user: e.string(),
2177
- smtp_pass: e.string()
2178
- }),
2179
- e.object({
2180
- api_key: e.string(),
2181
- domain: e.string().optional()
2182
- }),
2183
- e.object({
2184
- connectionString: e.string()
2185
- }),
2186
- e.object({
2187
- tenantId: e.string(),
2188
- clientId: e.string(),
2189
- clientSecret: e.string()
2190
- })
2191
- ]),
2286
+ credentials: e.record(e.string(), e.unknown()),
2192
2287
  settings: e.object({}).optional()
2193
- }), lo = e.object({
2194
- // 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.
2195
2290
  id: e.string(),
2196
2291
  // Link to the login session
2197
2292
  login_id: e.string(),
@@ -2203,31 +2298,44 @@ const oo = e.object({
2203
2298
  idle_expires_at: e.string().optional(),
2204
2299
  // When the token was last used.
2205
2300
  last_exchanged_at: e.string().optional(),
2206
- device: G,
2301
+ device: W,
2207
2302
  resource_servers: e.array(
2208
2303
  e.object({
2209
2304
  audience: e.string(),
2210
2305
  scopes: e.string()
2211
2306
  })
2212
2307
  ),
2213
- rotating: e.boolean()
2214
- }), 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({
2215
2323
  // When the refresh token record was created.
2216
2324
  created_at: e.string(),
2217
2325
  // When the token was explicitly revoked (null = still active).
2218
2326
  revoked_at: e.string().optional(),
2219
2327
  // Spread in the rest of the refresh token properties.
2220
- ...lo.shape
2221
- }), In = e.object({
2328
+ ...fo.shape
2329
+ }), Un = e.object({
2222
2330
  to: e.string(),
2223
2331
  message: e.string()
2224
- }), Cn = e.object({
2332
+ }), xn = e.object({
2225
2333
  name: e.string(),
2226
2334
  options: e.object({})
2227
- }), co = e.object({
2335
+ }), Eo = e.object({
2228
2336
  value: e.string(),
2229
2337
  description: e.string().optional()
2230
- }), po = e.object({
2338
+ }), So = e.object({
2231
2339
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2232
2340
  enforce_policies: e.boolean().optional(),
2233
2341
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2237,11 +2345,11 @@ const oo = e.object({
2237
2345
  mtls: e.object({
2238
2346
  bound_access_tokens: e.boolean().optional()
2239
2347
  }).optional()
2240
- }), _o = e.object({
2348
+ }), yo = e.object({
2241
2349
  id: e.string().optional(),
2242
2350
  name: e.string(),
2243
2351
  identifier: e.string(),
2244
- scopes: e.array(co).optional(),
2352
+ scopes: e.array(Eo).optional(),
2245
2353
  signing_alg: e.string().optional(),
2246
2354
  signing_secret: e.string().optional(),
2247
2355
  token_lifetime: e.number().default(86400),
@@ -2249,30 +2357,30 @@ const oo = e.object({
2249
2357
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2250
2358
  allow_offline_access: e.boolean().optional(),
2251
2359
  verificationKey: e.string().optional(),
2252
- options: po.optional(),
2360
+ options: So.optional(),
2253
2361
  is_system: e.boolean().optional(),
2254
2362
  metadata: e.record(e.any()).optional()
2255
- }), go = e.object({
2256
- ..._o.shape,
2363
+ }), Ao = e.object({
2364
+ ...yo.shape,
2257
2365
  created_at: e.string().optional(),
2258
2366
  updated_at: e.string().optional()
2259
- }), Tn = e.array(go), uo = e.object({
2367
+ }), Fn = e.array(Ao), Io = e.object({
2260
2368
  role_id: e.string(),
2261
2369
  resource_server_identifier: e.string(),
2262
2370
  permission_name: e.string()
2263
- }), mo = e.object({
2264
- ...uo.shape,
2371
+ }), Co = e.object({
2372
+ ...Io.shape,
2265
2373
  created_at: e.string()
2266
- }), On = e.array(mo), ho = e.object({
2374
+ }), Pn = e.array(Co), To = e.object({
2267
2375
  user_id: e.string(),
2268
2376
  resource_server_identifier: e.string(),
2269
2377
  permission_name: e.string(),
2270
2378
  organization_id: e.string().optional()
2271
- }), bo = e.object({
2272
- ...ho.shape,
2379
+ }), Oo = e.object({
2380
+ ...To.shape,
2273
2381
  tenant_id: e.string(),
2274
2382
  created_at: e.string().optional()
2275
- }), Nn = e.array(bo), fo = e.object({
2383
+ }), Mn = e.array(Oo), No = e.object({
2276
2384
  user_id: e.string(),
2277
2385
  resource_server_identifier: e.string(),
2278
2386
  resource_server_name: e.string(),
@@ -2280,17 +2388,17 @@ const oo = e.object({
2280
2388
  description: e.string().nullable().optional(),
2281
2389
  created_at: e.string().optional(),
2282
2390
  organization_id: e.string().optional()
2283
- }), wn = e.array(
2284
- fo
2285
- ), Eo = e.object({
2391
+ }), Hn = e.array(
2392
+ No
2393
+ ), wo = e.object({
2286
2394
  user_id: e.string(),
2287
2395
  role_id: e.string(),
2288
2396
  organization_id: e.string().optional()
2289
- }), So = e.object({
2290
- ...Eo.shape,
2397
+ }), jo = e.object({
2398
+ ...wo.shape,
2291
2399
  tenant_id: e.string(),
2292
2400
  created_at: e.string().optional()
2293
- }), jn = e.array(So), yo = e.object({
2401
+ }), Gn = e.array(jo), Ro = e.object({
2294
2402
  id: e.string().optional().openapi({
2295
2403
  description: "The unique identifier of the role. If not provided, one will be generated."
2296
2404
  }),
@@ -2304,13 +2412,13 @@ const oo = e.object({
2304
2412
  metadata: e.record(e.any()).optional().openapi({
2305
2413
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2306
2414
  })
2307
- }), Ao = yo.extend({
2415
+ }), ko = Ro.extend({
2308
2416
  id: e.string().openapi({
2309
2417
  description: "The unique identifier of the role"
2310
2418
  }),
2311
2419
  created_at: e.string().optional(),
2312
2420
  updated_at: e.string().optional()
2313
- }), Rn = e.array(Ao), Io = e.object({
2421
+ }), Bn = e.array(ko), Do = e.object({
2314
2422
  logo_url: e.string().optional().openapi({
2315
2423
  description: "URL of the organization's logo"
2316
2424
  }),
@@ -2322,7 +2430,7 @@ const oo = e.object({
2322
2430
  description: "Page background color in hex format (e.g., #FFFFFF)"
2323
2431
  })
2324
2432
  }).optional()
2325
- }).optional(), Co = e.object({
2433
+ }).optional(), vo = e.object({
2326
2434
  connection_id: e.string().openapi({
2327
2435
  description: "ID of the connection"
2328
2436
  }),
@@ -2335,7 +2443,7 @@ const oo = e.object({
2335
2443
  is_signup_enabled: e.boolean().default(!0).openapi({
2336
2444
  description: "Whether signup is enabled for this connection"
2337
2445
  })
2338
- }), To = e.object({
2446
+ }), Lo = e.object({
2339
2447
  client_credentials: e.object({
2340
2448
  enforce: e.boolean().default(!1).openapi({
2341
2449
  description: "Whether to enforce token quota limits"
@@ -2347,7 +2455,7 @@ const oo = e.object({
2347
2455
  description: "Maximum tokens per hour (0 = unlimited)"
2348
2456
  })
2349
2457
  }).optional()
2350
- }).optional(), Oo = e.object({
2458
+ }).optional(), Uo = e.object({
2351
2459
  id: e.string().optional(),
2352
2460
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
2353
2461
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -2357,34 +2465,52 @@ const oo = e.object({
2357
2465
  display_name: e.string().optional().openapi({
2358
2466
  description: "The display name of the organization"
2359
2467
  }),
2360
- branding: Io,
2468
+ branding: Do,
2361
2469
  metadata: e.record(e.any()).default({}).optional().openapi({
2362
2470
  description: "Custom metadata for the organization"
2363
2471
  }),
2364
- enabled_connections: e.array(Co).default([]).optional().openapi({
2472
+ enabled_connections: e.array(vo).default([]).optional().openapi({
2365
2473
  description: "List of enabled connections for the organization"
2366
2474
  }),
2367
- token_quota: To
2368
- }), Dn = e.object({
2369
- ...Oo.shape,
2370
- ...s.shape,
2475
+ token_quota: Lo
2476
+ }), Wn = e.object({
2477
+ ...Uo.shape,
2478
+ ...r.shape,
2371
2479
  id: e.string(),
2372
2480
  // Override name to be lenient when reading from database (to support existing uppercase names)
2373
2481
  name: e.string().min(1).openapi({
2374
2482
  description: "The name of the organization"
2375
2483
  })
2376
- }), 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({
2377
2503
  user_id: e.string().openapi({
2378
2504
  description: "ID of the user"
2379
2505
  }),
2380
2506
  organization_id: e.string().openapi({
2381
2507
  description: "ID of the organization"
2382
2508
  })
2383
- }), Ln = e.object({
2384
- ...No.shape,
2385
- ...s.shape,
2509
+ }), Kn = e.object({
2510
+ ...Po.shape,
2511
+ ...r.shape,
2386
2512
  id: e.string()
2387
- }), vn = e.object({
2513
+ }), qn = e.object({
2388
2514
  // Session settings
2389
2515
  idle_session_lifetime: e.number().default(72),
2390
2516
  session_lifetime: e.number().default(168),
@@ -2484,7 +2610,7 @@ const oo = e.object({
2484
2610
  message: e.string().optional()
2485
2611
  }).optional()
2486
2612
  }).optional()
2487
- }), kn = e.object({
2613
+ }), Xn = e.object({
2488
2614
  date: e.string().openapi({
2489
2615
  description: "Date these events occurred in ISO 8601 format",
2490
2616
  example: "2025-12-19"
@@ -2509,10 +2635,10 @@ const oo = e.object({
2509
2635
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2510
2636
  example: "2025-12-19T00:00:00.000Z"
2511
2637
  })
2512
- }), Un = e.number().openapi({
2638
+ }), Vn = e.number().openapi({
2513
2639
  description: "Number of active users in the last 30 days",
2514
2640
  example: 1234
2515
- }), wo = e.enum([
2641
+ }), Mo = e.enum([
2516
2642
  "login",
2517
2643
  "login-id",
2518
2644
  "login-password",
@@ -2541,17 +2667,17 @@ const oo = e.object({
2541
2667
  "custom-form",
2542
2668
  "login-passwordless",
2543
2669
  "mfa-login-options"
2544
- ]), 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({
2545
2671
  type: "object",
2546
2672
  additionalProperties: {
2547
2673
  type: "object",
2548
2674
  additionalProperties: { type: "string" }
2549
2675
  }
2550
- }), Fn = e.object({
2551
- prompt: wo,
2676
+ }), Yn = e.object({
2677
+ prompt: Mo,
2552
2678
  language: e.string(),
2553
- custom_text: jo
2554
- }), xn = {
2679
+ custom_text: Ho
2680
+ }), Qn = {
2555
2681
  EMAIL: "email",
2556
2682
  SMS: "sms",
2557
2683
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2566,11 +2692,11 @@ const oo = e.object({
2566
2692
  SAMLP: "samlp",
2567
2693
  WAAD: "waad",
2568
2694
  ADFS: "adfs"
2569
- }, Pn = {
2695
+ }, Zn = {
2570
2696
  DATABASE: "database",
2571
2697
  SOCIAL: "social",
2572
2698
  PASSWORDLESS: "passwordless"
2573
- }, Ro = e.enum([
2699
+ }, Go = e.enum([
2574
2700
  "phone",
2575
2701
  "totp",
2576
2702
  "email",
@@ -2578,9 +2704,9 @@ const oo = e.object({
2578
2704
  "webauthn-roaming",
2579
2705
  "webauthn-platform",
2580
2706
  "passkey"
2581
- ]), B = e.object({
2707
+ ]), z = e.object({
2582
2708
  user_id: e.string(),
2583
- type: Ro,
2709
+ type: Go,
2584
2710
  // Phone-specific
2585
2711
  phone_number: e.string().optional(),
2586
2712
  // TOTP-specific
@@ -2595,7 +2721,7 @@ const oo = e.object({
2595
2721
  // Common
2596
2722
  confirmed: e.boolean().default(!1)
2597
2723
  });
2598
- function W(t, o) {
2724
+ function K(t, o) {
2599
2725
  t.type === "phone" && !t.phone_number && o.addIssue({
2600
2726
  code: e.ZodIssueCode.custom,
2601
2727
  message: "phone_number is required when type is 'phone'",
@@ -2614,64 +2740,64 @@ function W(t, o) {
2614
2740
  path: ["public_key"]
2615
2741
  }));
2616
2742
  }
2617
- const Mn = B.superRefine(W), Hn = e.object({
2618
- ...B.shape,
2743
+ const $n = z.superRefine(K), Jn = e.object({
2744
+ ...z.shape,
2619
2745
  id: e.string(),
2620
2746
  created_at: e.string(),
2621
2747
  updated_at: e.string()
2622
- }).superRefine(W);
2623
- function Gn(t) {
2748
+ }).superRefine(K);
2749
+ function ei(t) {
2624
2750
  const [o, i] = t.split("|");
2625
2751
  if (!o || !i)
2626
2752
  throw new Error(`Invalid user_id: ${t}`);
2627
2753
  return { connection: o, id: i };
2628
2754
  }
2629
- function Bn(t) {
2755
+ function ti(t) {
2630
2756
  const {
2631
2757
  primary: o,
2632
2758
  secondaries: i,
2633
- syncMethods: O = ["create", "rawCreate", "update", "remove", "delete", "set"]
2634
- } = t, E = {
2635
- get(p, a) {
2759
+ syncMethods: h = ["create", "rawCreate", "update", "remove", "delete", "set"]
2760
+ } = t, S = {
2761
+ get(c, a) {
2636
2762
  if (typeof a == "symbol")
2637
- return p[a];
2638
- const _ = p[a];
2639
- return typeof _ != "function" ? _ : O.includes(a) ? async (...d) => {
2640
- const S = await _.apply(p, d), g = [];
2641
- for (const r of i) {
2642
- const h = r.adapter[a];
2643
- 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")
2644
2770
  continue;
2645
- const y = (async () => {
2771
+ const A = (async () => {
2646
2772
  try {
2647
- await h.apply(r.adapter, d);
2648
- } catch (b) {
2773
+ await b.apply(s.adapter, _);
2774
+ } catch (f) {
2649
2775
  try {
2650
- r.onError ? r.onError(b, a, d) : console.error(
2776
+ s.onError ? s.onError(f, a, _) : console.error(
2651
2777
  `Passthrough adapter: secondary write failed for ${a}:`,
2652
- b
2778
+ f
2653
2779
  );
2654
- } catch (A) {
2780
+ } catch (I) {
2655
2781
  console.error(
2656
2782
  `Passthrough adapter: onError handler threw for ${a}:`,
2657
- A
2783
+ I
2658
2784
  );
2659
2785
  }
2660
2786
  }
2661
2787
  })();
2662
- r.blocking && g.push(y);
2788
+ s.blocking && g.push(A);
2663
2789
  }
2664
- return g.length > 0 && await Promise.all(g), S;
2665
- } : _.bind(p);
2790
+ return g.length > 0 && await Promise.all(g), y;
2791
+ } : d.bind(c);
2666
2792
  }
2667
2793
  };
2668
- return new Proxy(o, E);
2794
+ return new Proxy(o, S);
2669
2795
  }
2670
- function Wn(t) {
2796
+ function oi(t) {
2671
2797
  return t;
2672
2798
  }
2673
- function Kn(t) {
2674
- 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;
2675
2801
  const o = t == null ? void 0 : t.options;
2676
2802
  if (!o)
2677
2803
  return {
@@ -2682,204 +2808,216 @@ function Kn(t) {
2682
2808
  };
2683
2809
  const i = o.attributes;
2684
2810
  if (i) {
2685
- 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;
2686
2812
  return {
2687
- usernameIdentifierActive: K,
2688
- emailIdentifierActive: z,
2689
- usernameMinLength: q,
2690
- usernameMaxLength: X
2813
+ usernameIdentifierActive: q,
2814
+ emailIdentifierActive: X,
2815
+ usernameMinLength: V,
2816
+ usernameMaxLength: Y
2691
2817
  };
2692
2818
  }
2693
2819
  return {
2694
2820
  usernameIdentifierActive: o.requires_username === !0,
2695
2821
  emailIdentifierActive: !0,
2696
- usernameMinLength: ((y = (h = o.validation) == null ? void 0 : h.username) == null ? void 0 : y.min) ?? 1,
2697
- 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
2698
2824
  };
2699
2825
  }
2700
- function zn(t) {
2826
+ function ii(t) {
2701
2827
  return typeof t == "object" && t !== null && !Array.isArray(t);
2702
2828
  }
2703
2829
  export {
2704
- Fo as Auth0ActionEnum,
2705
- Yt as Auth0Client,
2706
- L as AuthorizationResponseMode,
2830
+ Xo as Auth0ActionEnum,
2831
+ Zt as Auth0Client,
2832
+ v as AuthorizationResponseMode,
2707
2833
  D as AuthorizationResponseType,
2708
- v as CodeChallengeMethod,
2709
- R as ComponentCategory,
2710
- j as ComponentType,
2711
- xo as EmailActionEnum,
2712
- Zo as FORM_FIELD_TYPES,
2713
- Uo as FlowActionTypeEnum,
2714
- to as GrantType,
2715
- Qt as LocationInfo,
2716
- Xt as LogTypes,
2717
- H as LoginSessionState,
2718
- Re as NodeType,
2719
- le as RedirectTargetEnum,
2720
- xn as Strategy,
2721
- Pn as StrategyType,
2722
- Y as actionDependencySchema,
2723
- N as actionInsertSchema,
2724
- ve as actionNodeSchema,
2725
- vo as actionSchema,
2726
- Q as actionSecretSchema,
2727
- V as actionTriggerSchema,
2728
- Lo as actionUpdateSchema,
2729
- Un as activeUsersResponseSchema,
2730
- $ as actorSchema,
2731
- ue as addressSchema,
2732
- Z as auditCategorySchema,
2733
- ie as auditEventInsertSchema,
2734
- ko as auditEventSchema,
2735
- ne as auth0ClientSchema,
2736
- qo as auth0FlowInsertSchema,
2737
- Pe as auth0FlowSchema,
2738
- Mo as auth0QuerySchema,
2739
- se as auth0UpdateUserActionSchema,
2740
- Go as auth0UserResponseSchema,
2741
- Me as authParamsSchema,
2742
- Mn as authenticationMethodInsertSchema,
2743
- Hn as authenticationMethodSchema,
2744
- Ro as authenticationMethodTypeSchema,
2745
- w as baseUserSchema,
2746
- yt as blockComponentSchema,
2747
- oo as bordersSchema,
2748
- Xo as brandingSchema,
2749
- Te as buttonComponentSchema,
2750
- Se as clientGrantInsertSchema,
2751
- Ko as clientGrantListSchema,
2752
- ye as clientGrantSchema,
2753
- Ee as clientInsertSchema,
2754
- Ie as clientRegistrationTokenInsertSchema,
2755
- zo as clientRegistrationTokenSchema,
2756
- Ae as clientRegistrationTokenTypeSchema,
2757
- Wo as clientSchema,
2758
- Ge as codeInsertSchema,
2759
- Vo as codeSchema,
2760
- He as codeTypeSchema,
2761
- no as colorsSchema,
2762
- jt as componentMessageSchema,
2763
- je as componentSchema,
2764
- We as connectionInsertSchema,
2765
- Be as connectionOptionsSchema,
2766
- 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,
2767
2896
  m as coordinatesSchema,
2768
- Bn as createPassthroughAdapter,
2769
- Wn as createWriteOnlyAdapter,
2770
- Ke as customDomainInsertSchema,
2771
- qe as customDomainSchema,
2772
- Qo as customDomainWithTenantIdSchema,
2773
- Fn as customTextEntrySchema,
2774
- jo as customTextSchema,
2775
- kn as dailyStatsSchema,
2776
- yn as emailProviderSchema,
2777
- ae as emailVerificationRulesSchema,
2778
- re as emailVerifyActionSchema,
2779
- xe as endingSchema,
2780
- It as fieldComponentSchema,
2781
- pe as flowActionStepSchema,
2782
- _e as flowInsertSchema,
2783
- Po as flowSchema,
2784
- 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,
2785
2914
  Le as flowsFlowNodeSchema,
2786
- De as flowsStepNodeSchema,
2915
+ ve as flowsStepNodeSchema,
2787
2916
  u as fontDetailsSchema,
2788
- io as fontsSchema,
2789
- $o as formControlSchema,
2790
- wt as formInsertSchema,
2791
- k as formNodeComponentDefinition,
2792
- Nt as formNodeSchema,
2793
- Jo as formSchema,
2794
- we as genericComponentSchema,
2795
- ke as genericNodeSchema,
2796
- Kn as getConnectionIdentifierConfig,
2797
- Mt as hookCodeInsertSchema,
2798
- ln as hookCodeSchema,
2799
- sn as hookInsertSchema,
2800
- rn as hookSchema,
2801
- M as hookTemplateId,
2802
- an as hookTemplates,
2803
- ge as identitySchema,
2804
- Bt as inviteInsertSchema,
2805
- cn as inviteSchema,
2806
- Gt as inviteeSchema,
2807
- Ht as inviterSchema,
2808
- tn as isBlockComponent,
2809
- nn as isFieldComponent,
2810
- zn as isPlainObject,
2811
- on as isWidgetComponent,
2812
- pn as jwksKeySchema,
2813
- Wt as jwksSchema,
2814
- Oe as legalComponentSchema,
2815
- oe as locationInfoSchema,
2816
- Zt as logInsertSchema,
2817
- gn as logSchema,
2818
- zt as loginSessionAuthStrategySchema,
2819
- qt as loginSessionInsertSchema,
2820
- dn as loginSessionSchema,
2821
- Kt as loginSessionStateSchema,
2822
- Ue as nodeSchema,
2823
- _n as openIDConfigurationSchema,
2824
- Io as organizationBrandingSchema,
2825
- Co as organizationEnabledConnectionSchema,
2826
- Oo as organizationInsertSchema,
2827
- Dn as organizationSchema,
2828
- To as organizationTokenQuotaSchema,
2829
- ao as pageBackgroundSchema,
2830
- Gn as parseUserId,
2831
- $t as passwordInsertSchema,
2832
- un as passwordSchema,
2833
- de as profileDataSchema,
2834
- wo as promptScreenSchema,
2835
- Sn as promptSettingSchema,
2836
- ce as redirectActionSchema,
2837
- lo as refreshTokenInsertSchema,
2838
- An as refreshTokenSchema,
2839
- ee as requestContextSchema,
2840
- _o as resourceServerInsertSchema,
2841
- Tn as resourceServerListSchema,
2842
- po as resourceServerOptionsSchema,
2843
- go as resourceServerSchema,
2844
- co as resourceServerScopeSchema,
2845
- te as responseContextSchema,
2846
- Ce as richTextComponentSchema,
2847
- yo as roleInsertSchema,
2848
- Rn as roleListSchema,
2849
- uo as rolePermissionInsertSchema,
2850
- On as rolePermissionListSchema,
2851
- mo as rolePermissionSchema,
2852
- Ao as roleSchema,
2853
- Rt as screenLinkSchema,
2854
- Jt as sessionInsertSchema,
2855
- mn as sessionSchema,
2856
- hn as signingKeySchema,
2857
- Cn as smsProviderSchema,
2858
- In as smsSendParamsSchema,
2859
- Fe as startSchema,
2860
- J as targetSchema,
2861
- eo as tenantInsertSchema,
2862
- bn as tenantSchema,
2863
- vn as tenantSettingsSchema,
2864
- ro as themeInsertSchema,
2865
- En as themeSchema,
2866
- fn as tokenResponseSchema,
2867
- Ho as totalsSchema,
2868
- en as uiScreenSchema,
2869
- me as userInsertSchema,
2870
- No as userOrganizationInsertSchema,
2871
- Ln as userOrganizationSchema,
2872
- ho as userPermissionInsertSchema,
2873
- Nn as userPermissionListSchema,
2874
- bo as userPermissionSchema,
2875
- wn as userPermissionWithDetailsListSchema,
2876
- fo as userPermissionWithDetailsSchema,
2877
- Bo as userResponseSchema,
2878
- Eo as userRoleInsertSchema,
2879
- jn as userRoleListSchema,
2880
- So as userRoleSchema,
2881
- he as userSchema,
2882
- ze as verificationMethodsSchema,
2883
- At as widgetComponentSchema,
2884
- 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
2885
3023
  };