@authhero/adapter-interfaces 4.2.1 → 4.3.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.
@@ -121,7 +121,8 @@ var t = e.object({
121
121
  body: e.unknown().optional(),
122
122
  ip: e.string(),
123
123
  user_agent: e.string().optional(),
124
- correlation_id: e.string().optional()
124
+ correlation_id: e.string().optional(),
125
+ redirect_uri: e.string().optional()
125
126
  }), fe = e.object({
126
127
  status_code: e.number(),
127
128
  body: e.unknown().optional()
@@ -168,14 +169,14 @@ var t = e.object({
168
169
  "UPDATE_USER",
169
170
  "SEND_REQUEST",
170
171
  "SEND_EMAIL"
171
- ]), ye = e.enum(["VERIFY_EMAIL"]), u = e.object({
172
+ ]), ye = e.enum(["VERIFY_EMAIL"]), be = e.object({
172
173
  require_mx_record: e.boolean().optional(),
173
174
  block_aliases: e.boolean().optional(),
174
175
  block_free_emails: e.boolean().optional(),
175
176
  block_disposable_emails: e.boolean().optional(),
176
177
  blocklist: e.array(e.string()).optional(),
177
178
  allowlist: e.array(e.string()).optional()
178
- }), d = e.object({
179
+ }), xe = e.object({
179
180
  id: e.string(),
180
181
  alias: e.string().max(100).optional(),
181
182
  type: e.literal("AUTH0"),
@@ -187,7 +188,7 @@ var t = e.object({
187
188
  user_id: e.string(),
188
189
  changes: e.record(e.string(), e.any())
189
190
  })
190
- }), f = e.object({
191
+ }), Se = e.object({
191
192
  id: e.string(),
192
193
  alias: e.string().max(100).optional(),
193
194
  type: e.literal("EMAIL"),
@@ -196,13 +197,13 @@ var t = e.object({
196
197
  mask_output: e.boolean().optional(),
197
198
  params: e.object({
198
199
  email: e.string(),
199
- rules: u.optional()
200
+ rules: be.optional()
200
201
  })
201
- }), p = e.enum([
202
+ }), Ce = e.enum([
202
203
  "change-email",
203
204
  "account",
204
205
  "custom"
205
- ]), m = e.object({
206
+ ]), we = e.object({
206
207
  id: e.string(),
207
208
  alias: e.string().max(100).optional(),
208
209
  type: e.literal("REDIRECT"),
@@ -210,32 +211,32 @@ var t = e.object({
210
211
  allow_failure: e.boolean().optional(),
211
212
  mask_output: e.boolean().optional(),
212
213
  params: e.object({
213
- target: p.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
214
+ target: Ce.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
214
215
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
215
216
  })
216
- }), h = e.union([
217
- d,
218
- f,
219
- m
220
- ]), g = e.object({
217
+ }), u = e.union([
218
+ xe,
219
+ Se,
220
+ we
221
+ ]), d = e.object({
221
222
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
222
- actions: e.array(h).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
223
- }), be = g.extend(t.shape).extend({ id: e.string().openapi({
223
+ actions: e.array(u).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
224
+ }), Te = d.extend(t.shape).extend({ id: e.string().openapi({
224
225
  description: "Unique identifier for the flow",
225
226
  example: "af_12tMpdJ3iek7svMyZkSh5M"
226
- }) }), xe = e.object({
227
+ }) }), Ee = e.object({
227
228
  page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
228
229
  per_page: e.string().min(1).optional().default("50").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page. Defaults to 50." }),
229
230
  include_totals: e.string().optional().default("false").transform((e) => e === "true").openapi({ description: "If the total number of items should be included in the response" }),
230
231
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
231
232
  q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
232
- }), Se = e.object({
233
+ }), De = e.object({
233
234
  start: e.number(),
234
235
  limit: e.number(),
235
236
  length: e.number(),
236
237
  total: e.number().optional(),
237
238
  next: e.string().optional()
238
- }), _ = e.object({
239
+ }), f = e.object({
239
240
  email: e.string().optional(),
240
241
  email_verified: e.boolean().optional(),
241
242
  name: e.string().optional(),
@@ -244,7 +245,7 @@ var t = e.object({
244
245
  phone_number: e.string().optional(),
245
246
  phone_verified: e.boolean().optional(),
246
247
  family_name: e.string().optional()
247
- }).catchall(e.any()), v = e.object({
248
+ }).catchall(e.any()), p = e.object({
248
249
  connection: e.string(),
249
250
  user_id: e.string(),
250
251
  provider: e.string(),
@@ -257,15 +258,15 @@ var t = e.object({
257
258
  access_token: e.string().optional(),
258
259
  access_token_secret: e.string().optional(),
259
260
  refresh_token: e.string().optional(),
260
- profileData: _.optional()
261
- }), y = e.object({
261
+ profileData: f.optional()
262
+ }), m = e.object({
262
263
  formatted: e.string().optional(),
263
264
  street_address: e.string().optional(),
264
265
  locality: e.string().optional(),
265
266
  region: e.string().optional(),
266
267
  postal_code: e.string().optional(),
267
268
  country: e.string().optional()
268
- }).optional(), b = e.object({
269
+ }).optional(), h = e.object({
269
270
  email: e.string().transform((e) => e.toLowerCase()).optional(),
270
271
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
271
272
  phone_number: e.string().optional(),
@@ -288,8 +289,8 @@ var t = e.object({
288
289
  gender: e.string().optional(),
289
290
  birthdate: e.string().optional(),
290
291
  zoneinfo: e.string().optional(),
291
- address: y
292
- }), x = b.extend({
292
+ address: m
293
+ }), g = h.extend({
293
294
  email_verified: e.boolean().default(!1),
294
295
  verify_email: e.boolean().optional(),
295
296
  last_ip: e.string().optional(),
@@ -303,29 +304,29 @@ var t = e.object({
303
304
  hash: e.string(),
304
305
  algorithm: e.string()
305
306
  }).optional()
306
- }), S = x.omit({ password: !0 }).extend(t.shape).extend({
307
+ }), _ = g.omit({ password: !0 }).extend(t.shape).extend({
307
308
  user_id: e.string(),
308
309
  provider: e.string(),
309
310
  is_social: e.boolean(),
310
311
  email: e.string().optional(),
311
312
  login_count: e.number().default(0),
312
- identities: e.array(v).optional()
313
- }), Ce = S.omit({ registration_completed_at: !0 }), we = b.extend({
313
+ identities: e.array(p).optional()
314
+ }), Oe = _.omit({ registration_completed_at: !0 }), ke = h.extend({
314
315
  login_count: e.number(),
315
316
  multifactor: e.array(e.string()).optional(),
316
317
  last_ip: e.string().optional(),
317
318
  last_login: e.string().optional(),
318
319
  user_id: e.string()
319
- }).catchall(e.any()), Te = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ee = (e = 21) => {
320
+ }).catchall(e.any()), Ae = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", je = (e = 21) => {
320
321
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
321
- for (; e--;) t += Te[n[e] & 63];
322
+ for (; e--;) t += Ae[n[e] & 63];
322
323
  return t;
323
- }, C = e.object({
324
+ }, v = e.object({
324
325
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
325
326
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
326
327
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
327
328
  global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
328
- client_secret: e.string().default(() => Ee()).optional().openapi({ description: "Client secret (which you must not make public)." }),
329
+ client_secret: e.string().default(() => je()).optional().openapi({ description: "Client secret (which you must not make public)." }),
329
330
  app_type: e.enum([
330
331
  "native",
331
332
  "spa",
@@ -438,10 +439,10 @@ var t = e.object({
438
439
  ]).optional().openapi({ description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token." }),
439
440
  registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability." }),
440
441
  user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({ 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." })
441
- }), De = e.object({
442
+ }), Me = e.object({
442
443
  created_at: e.string(),
443
444
  updated_at: e.string()
444
- }).extend(C.shape).extend({ client_id: e.string() }), w = e.object({
445
+ }).extend(v.shape).extend({ client_id: e.string() }), y = e.object({
445
446
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
446
447
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
447
448
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -454,38 +455,38 @@ var t = e.object({
454
455
  is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
455
456
  subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
456
457
  authorization_details_types: e.array(e.string()).optional().openapi({ 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." })
457
- }), T = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(w.shape).extend({
458
+ }), b = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(y.shape).extend({
458
459
  created_at: e.string().optional(),
459
460
  updated_at: e.string().optional()
460
- }), Oe = e.array(T), E = e.enum(["iat", "rat"]), D = e.object({
461
+ }), Ne = e.array(b), x = e.enum(["iat", "rat"]), S = e.object({
461
462
  id: e.string(),
462
463
  token_hash: e.string(),
463
- type: E,
464
+ type: x,
464
465
  client_id: e.string().optional(),
465
466
  sub: e.string().optional(),
466
467
  constraints: e.record(e.string(), e.unknown()).optional(),
467
468
  single_use: e.boolean().default(!1),
468
469
  expires_at: e.string().optional()
469
- }), ke = e.object({
470
+ }), Pe = e.object({
470
471
  created_at: e.string(),
471
472
  used_at: e.string().optional(),
472
473
  revoked_at: e.string().optional()
473
- }).extend(D.shape), O = e.object({
474
+ }).extend(S.shape), C = e.object({
474
475
  x: e.number(),
475
476
  y: e.number()
476
- }), k = /* @__PURE__ */ function(e) {
477
+ }), w = /* @__PURE__ */ function(e) {
477
478
  return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
478
- }({}), A = /* @__PURE__ */ function(e) {
479
+ }({}), T = /* @__PURE__ */ function(e) {
479
480
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
480
- }({}), j = e.object({
481
+ }({}), E = e.object({
481
482
  id: e.string(),
482
- category: e.nativeEnum(A),
483
- type: e.nativeEnum(k)
484
- }), M = j.extend({
483
+ category: e.nativeEnum(T),
484
+ type: e.nativeEnum(w)
485
+ }), D = E.extend({
485
486
  category: e.literal("BLOCK"),
486
487
  type: e.literal("RICH_TEXT"),
487
488
  config: e.object({ content: e.string() }).passthrough()
488
- }), N = j.extend({
489
+ }), O = E.extend({
489
490
  category: e.literal("BLOCK"),
490
491
  type: e.union([
491
492
  e.literal("NEXT_BUTTON"),
@@ -493,13 +494,13 @@ var t = e.object({
493
494
  e.literal("SUBMIT_BUTTON")
494
495
  ]),
495
496
  config: e.object({ text: e.string() }).passthrough()
496
- }), P = j.extend({
497
+ }), k = E.extend({
497
498
  category: e.literal("FIELD"),
498
499
  type: e.literal("LEGAL"),
499
500
  required: e.boolean().optional(),
500
501
  sensitive: e.boolean().optional(),
501
502
  config: e.object({ text: e.string() }).passthrough()
502
- }), F = j.extend({
503
+ }), A = E.extend({
503
504
  category: e.literal("FIELD"),
504
505
  type: e.union([
505
506
  e.literal("TEXT"),
@@ -519,40 +520,40 @@ var t = e.object({
519
520
  label: e.string().optional(),
520
521
  placeholder: e.string().optional()
521
522
  }).passthrough()
522
- }), I = e.object({
523
+ }), j = e.object({
523
524
  id: e.string(),
524
525
  category: e.string(),
525
526
  type: e.string()
526
- }).passthrough(), L = e.union([
527
- M,
528
- N,
529
- P,
530
- F,
531
- I
532
- ]), Ae = /* @__PURE__ */ function(e) {
527
+ }).passthrough(), M = e.union([
528
+ D,
529
+ O,
530
+ k,
531
+ A,
532
+ j
533
+ ]), Fe = /* @__PURE__ */ function(e) {
533
534
  return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
534
- }({}), R = e.object({
535
+ }({}), N = e.object({
535
536
  id: e.string(),
536
537
  type: e.literal("STEP"),
537
- coordinates: O,
538
+ coordinates: C,
538
539
  alias: e.string().optional(),
539
540
  config: e.object({
540
- components: e.array(L),
541
+ components: e.array(M),
541
542
  next_node: e.string()
542
543
  }).passthrough()
543
- }), je = e.object({
544
+ }), P = e.object({
544
545
  id: e.string(),
545
546
  type: e.literal("FLOW"),
546
- coordinates: O,
547
+ coordinates: C,
547
548
  alias: e.string().optional(),
548
549
  config: e.object({
549
550
  flow_id: e.string(),
550
551
  next_node: e.string()
551
552
  })
552
- }), Me = e.object({
553
+ }), F = e.object({
553
554
  id: e.string(),
554
555
  type: e.literal("ACTION"),
555
- coordinates: O,
556
+ coordinates: C,
556
557
  alias: e.string().optional(),
557
558
  config: e.object({
558
559
  action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
@@ -564,56 +565,56 @@ var t = e.object({
564
565
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
565
566
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
566
567
  }).passthrough()
567
- }), Ne = e.object({
568
+ }), I = e.object({
568
569
  id: e.string(),
569
570
  type: e.string(),
570
- coordinates: O
571
- }).passthrough(), Pe = e.union([
572
- R,
573
- je,
574
- Me,
575
- Ne
576
- ]), Fe = e.object({
571
+ coordinates: C
572
+ }).passthrough(), L = e.union([
573
+ N,
574
+ P,
575
+ F,
576
+ I
577
+ ]), Ie = e.object({
577
578
  next_node: e.string(),
578
- coordinates: O
579
- }).passthrough(), Ie = e.object({
580
- resume_flow: e.boolean().optional(),
581
- coordinates: O
579
+ coordinates: C
582
580
  }).passthrough(), Le = e.object({
581
+ resume_flow: e.boolean().optional(),
582
+ coordinates: C
583
+ }).passthrough(), Re = e.object({
583
584
  id: e.string(),
584
585
  name: e.string(),
585
586
  languages: e.object({ primary: e.string() }).passthrough(),
586
- nodes: e.array(Pe),
587
- start: Fe,
588
- ending: Ie,
587
+ nodes: e.array(L),
588
+ start: Ie,
589
+ ending: Le,
589
590
  created_at: e.string(),
590
591
  updated_at: e.string(),
591
592
  links: e.object({
592
593
  sdkSrc: e.string().optional(),
593
594
  sdk_src: e.string().optional()
594
595
  }).passthrough()
595
- }).passthrough(), Re = Le.omit({
596
+ }).passthrough(), ze = Re.omit({
596
597
  id: !0,
597
598
  created_at: !0,
598
599
  updated_at: !0
599
- }), ze = /* @__PURE__ */ function(e) {
600
+ }), Be = /* @__PURE__ */ function(e) {
600
601
  return e.TOKEN = "token", e.ID_TOKEN = "id_token", e.TOKEN_ID_TOKEN = "id_token token", e.CODE = "code", e.CODE_ID_TOKEN = "code id_token", e.CODE_TOKEN = "code token", e.CODE_ID_TOKEN_TOKEN = "code id_token token", e;
601
- }({}), Be = /* @__PURE__ */ function(e) {
602
- return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
603
602
  }({}), Ve = /* @__PURE__ */ function(e) {
603
+ return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
604
+ }({}), He = /* @__PURE__ */ function(e) {
604
605
  return e.S256 = "S256", e.Plain = "plain", e;
605
- }({}), He = e.union([e.null(), e.object({
606
+ }({}), Ue = e.union([e.null(), e.object({
606
607
  essential: e.boolean().optional(),
607
608
  value: e.unknown().optional(),
608
609
  values: e.array(e.unknown()).optional()
609
- })]).nullable(), Ue = e.object({
610
- userinfo: e.record(e.string(), He).optional(),
611
- id_token: e.record(e.string(), He).optional()
612
- }), We = e.object({
610
+ })]).nullable(), We = e.object({
611
+ userinfo: e.record(e.string(), Ue).optional(),
612
+ id_token: e.record(e.string(), Ue).optional()
613
+ }), Ge = e.object({
613
614
  client_id: e.string(),
614
615
  act_as: e.string().optional(),
615
- response_type: e.nativeEnum(ze).optional(),
616
- response_mode: e.nativeEnum(Be).optional(),
616
+ response_type: e.nativeEnum(Be).optional(),
617
+ response_mode: e.nativeEnum(Ve).optional(),
617
618
  redirect_uri: e.string().optional(),
618
619
  audience: e.string().optional(),
619
620
  organization: e.string().optional(),
@@ -621,15 +622,15 @@ var t = e.object({
621
622
  nonce: e.string().optional(),
622
623
  scope: e.string().optional(),
623
624
  prompt: e.string().optional(),
624
- code_challenge_method: e.nativeEnum(Ve).optional(),
625
+ code_challenge_method: e.nativeEnum(He).optional(),
625
626
  code_challenge: e.string().optional(),
626
627
  username: e.string().optional(),
627
628
  ui_locales: e.string().optional(),
628
629
  max_age: e.number().optional(),
629
630
  acr_values: e.string().optional(),
630
- claims: Ue.optional(),
631
+ claims: We.optional(),
631
632
  vendor_id: e.string().optional()
632
- }), Ge = e.object({
633
+ }), Ke = e.object({
633
634
  colors: e.object({
634
635
  primary: e.string(),
635
636
  page_background: e.union([e.string(), e.object({
@@ -648,7 +649,7 @@ var t = e.object({
648
649
  "light",
649
650
  "auto"
650
651
  ]).optional()
651
- }), Ke = e.enum([
652
+ }), qe = e.enum([
652
653
  "password_reset",
653
654
  "email_verification",
654
655
  "otp",
@@ -656,11 +657,11 @@ var t = e.object({
656
657
  "authorization_code",
657
658
  "oauth2_state",
658
659
  "ticket"
659
- ]), qe = e.object({
660
+ ]), Je = e.object({
660
661
  code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
661
662
  login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
662
663
  connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
663
- code_type: Ke,
664
+ code_type: qe,
664
665
  code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
665
666
  code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
666
667
  code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
@@ -671,7 +672,7 @@ var t = e.object({
671
672
  expires_at: e.string(),
672
673
  used_at: e.string().optional(),
673
674
  user_id: e.string().optional()
674
- }), Je = qe.extend({ created_at: e.string() }), Ye = e.object({
675
+ }), Ye = Je.extend({ created_at: e.string() }), Xe = e.object({
675
676
  kid: e.string().optional(),
676
677
  team_id: e.string().optional(),
677
678
  realms: e.string().optional(),
@@ -787,23 +788,23 @@ var t = e.object({
787
788
  "never_on_login"
788
789
  ]).optional()
789
790
  });
790
- function z(e) {
791
+ function R(e) {
791
792
  if (e !== null) {
792
- if (Array.isArray(e)) return e.filter((e) => e !== null).map(z);
793
+ if (Array.isArray(e)) return e.filter((e) => e !== null).map(R);
793
794
  if (e && typeof e == "object") {
794
795
  let t = {};
795
- for (let [n, r] of Object.entries(e)) r !== null && (t[n] = z(r));
796
+ for (let [n, r] of Object.entries(e)) r !== null && (t[n] = R(r));
796
797
  return t;
797
798
  }
798
799
  return e;
799
800
  }
800
801
  }
801
- var Xe = e.object({
802
+ var Ze = e.object({
802
803
  id: e.string().optional(),
803
804
  name: e.string(),
804
805
  display_name: e.string().optional(),
805
806
  strategy: e.string(),
806
- options: e.preprocess((e) => e === null ? {} : z(e), Ye).default({}),
807
+ options: e.preprocess((e) => e === null ? {} : R(e), Xe).default({}),
807
808
  enabled_clients: e.array(e.string()).default([]).optional(),
808
809
  response_type: e.custom().optional(),
809
810
  response_mode: e.custom().optional(),
@@ -811,11 +812,11 @@ var Xe = e.object({
811
812
  show_as_button: e.boolean().optional(),
812
813
  metadata: e.record(e.string(), e.any()).optional(),
813
814
  is_system: e.boolean().optional()
814
- }), Ze = e.object({
815
+ }), Qe = e.object({
815
816
  id: e.string(),
816
817
  created_at: e.string().transform((e) => e === null ? "" : e),
817
818
  updated_at: e.string().transform((e) => e === null ? "" : e)
818
- }).extend(Xe.shape), B = e.object({
819
+ }).extend(Ze.shape), z = e.object({
819
820
  domain: e.string(),
820
821
  custom_domain_id: e.string().optional(),
821
822
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -829,7 +830,7 @@ var Xe = e.object({
829
830
  "null"
830
831
  ]).optional(),
831
832
  domain_metadata: e.record(e.string(), e.string().max(255)).optional()
832
- }), Qe = e.discriminatedUnion("name", [e.object({
833
+ }), $e = e.discriminatedUnion("name", [e.object({
833
834
  name: e.literal("txt"),
834
835
  record: e.string(),
835
836
  domain: e.string()
@@ -837,7 +838,7 @@ var Xe = e.object({
837
838
  name: e.literal("http"),
838
839
  http_body: e.string(),
839
840
  http_url: e.string()
840
- })]), $e = B.extend({
841
+ })]), et = z.extend({
841
842
  custom_domain_id: e.string(),
842
843
  primary: e.boolean(),
843
844
  status: e.enum([
@@ -847,26 +848,26 @@ var Xe = e.object({
847
848
  "ready"
848
849
  ]),
849
850
  origin_domain_name: e.string().optional(),
850
- verification: e.object({ methods: e.array(Qe) }).optional(),
851
+ verification: e.object({ methods: e.array($e) }).optional(),
851
852
  tls_policy: e.string().optional()
852
- }), et = B.pick({
853
+ }), tt = z.pick({
853
854
  tls_policy: !0,
854
855
  custom_client_ip_header: !0,
855
856
  domain_metadata: !0
856
- }).strict(), tt = $e.extend({ tenant_id: e.string() }), nt = e.object({
857
+ }).strict(), nt = et.extend({ tenant_id: e.string() }), rt = e.object({
857
858
  certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
858
859
  private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
859
- }), V = e.object({
860
+ }), B = e.object({
860
861
  id: e.string(),
861
862
  order: e.number().optional(),
862
863
  visible: e.boolean().optional().default(!0)
863
- }), H = V.extend({ category: e.literal("BLOCK").optional() }), rt = H.extend({
864
+ }), V = B.extend({ category: e.literal("BLOCK").optional() }), it = V.extend({
864
865
  type: e.literal("DIVIDER"),
865
866
  config: e.object({ text: e.string().optional() }).optional()
866
- }), it = H.extend({
867
+ }), at = V.extend({
867
868
  type: e.literal("HTML"),
868
869
  config: e.object({ content: e.string().optional() }).optional()
869
- }), at = H.extend({
870
+ }), ot = V.extend({
870
871
  type: e.literal("IMAGE"),
871
872
  config: e.object({
872
873
  src: e.string().optional(),
@@ -874,43 +875,43 @@ var Xe = e.object({
874
875
  width: e.number().optional(),
875
876
  height: e.number().optional()
876
877
  }).optional()
877
- }), ot = H.extend({
878
+ }), st = V.extend({
878
879
  type: e.literal("JUMP_BUTTON"),
879
880
  config: e.object({
880
881
  text: e.string().optional(),
881
882
  target_step: e.string().optional()
882
883
  })
883
- }), st = H.extend({
884
+ }), ct = V.extend({
884
885
  type: e.literal("RESEND_BUTTON"),
885
886
  config: e.object({
886
887
  text: e.string().optional(),
887
888
  resend_action: e.string().optional()
888
889
  })
889
- }), ct = H.extend({
890
+ }), lt = V.extend({
890
891
  type: e.literal("NEXT_BUTTON"),
891
892
  config: e.object({ text: e.string().optional() })
892
- }), lt = H.extend({
893
+ }), ut = V.extend({
893
894
  type: e.literal("PREVIOUS_BUTTON"),
894
895
  config: e.object({ text: e.string().optional() })
895
- }), ut = H.extend({
896
+ }), dt = V.extend({
896
897
  type: e.literal("RICH_TEXT"),
897
898
  config: e.object({ content: e.string().optional() }).optional()
898
- }), U = V.extend({
899
+ }), H = B.extend({
899
900
  category: e.literal("WIDGET").optional(),
900
901
  label: e.string().min(1).optional(),
901
902
  hint: e.string().min(1).max(500).optional(),
902
903
  required: e.boolean().optional(),
903
904
  sensitive: e.boolean().optional()
904
- }), dt = U.extend({
905
+ }), ft = H.extend({
905
906
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
906
907
  config: e.object({ credential_type: e.string().optional() })
907
- }), ft = U.extend({
908
+ }), pt = H.extend({
908
909
  type: e.literal("GMAPS_ADDRESS"),
909
910
  config: e.object({ api_key: e.string().optional() })
910
- }), pt = U.extend({
911
+ }), mt = H.extend({
911
912
  type: e.literal("RECAPTCHA"),
912
913
  config: e.object({ site_key: e.string().optional() })
913
- }), W = V.extend({
914
+ }), U = B.extend({
914
915
  category: e.literal("FIELD").optional(),
915
916
  label: e.string().min(1).optional(),
916
917
  hint: e.string().min(1).max(500).optional(),
@@ -926,10 +927,10 @@ var Xe = e.object({
926
927
  })).optional(),
927
928
  required: e.boolean().optional(),
928
929
  sensitive: e.boolean().optional()
929
- }), mt = W.extend({
930
+ }), ht = U.extend({
930
931
  type: e.literal("BOOLEAN"),
931
932
  config: e.object({ default_value: e.boolean().optional() }).optional()
932
- }), ht = W.extend({
933
+ }), gt = U.extend({
933
934
  type: e.literal("CARDS"),
934
935
  config: e.object({
935
936
  options: e.array(e.object({
@@ -940,7 +941,7 @@ var Xe = e.object({
940
941
  })).optional(),
941
942
  multi_select: e.boolean().optional()
942
943
  }).optional()
943
- }), gt = W.extend({
944
+ }), _t = U.extend({
944
945
  type: e.literal("CHOICE"),
945
946
  config: e.object({
946
947
  options: e.array(e.object({
@@ -951,7 +952,7 @@ var Xe = e.object({
951
952
  multiple: e.boolean().optional(),
952
953
  default_value: e.union([e.string(), e.array(e.string())]).optional()
953
954
  }).optional()
954
- }), _t = W.extend({
955
+ }), vt = U.extend({
955
956
  type: e.literal("CODE"),
956
957
  config: e.object({
957
958
  length: e.number().int().positive().max(100).optional(),
@@ -968,7 +969,7 @@ var Xe = e.object({
968
969
  message: "default_value is longer than the configured length",
969
970
  path: ["default_value"]
970
971
  }).optional()
971
- }), vt = W.extend({
972
+ }), yt = U.extend({
972
973
  type: e.literal("CUSTOM"),
973
974
  config: e.object({
974
975
  component: e.string().optional(),
@@ -976,7 +977,7 @@ var Xe = e.object({
976
977
  schema: e.record(e.string(), e.any()).optional(),
977
978
  code: e.string().optional()
978
979
  })
979
- }), yt = W.extend({
980
+ }), bt = U.extend({
980
981
  type: e.literal("DATE"),
981
982
  config: e.object({
982
983
  format: e.string().optional(),
@@ -984,7 +985,7 @@ var Xe = e.object({
984
985
  max: e.string().optional(),
985
986
  default_value: e.string().optional()
986
987
  }).optional()
987
- }), bt = W.extend({
988
+ }), xt = U.extend({
988
989
  type: e.literal("DROPDOWN"),
989
990
  config: e.object({
990
991
  options: e.array(e.object({
@@ -996,26 +997,26 @@ var Xe = e.object({
996
997
  multiple: e.boolean().optional(),
997
998
  default_value: e.union([e.string(), e.array(e.string())]).optional()
998
999
  }).optional()
999
- }), xt = W.extend({
1000
+ }), St = U.extend({
1000
1001
  type: e.literal("EMAIL"),
1001
1002
  config: e.object({
1002
1003
  placeholder: e.string().optional(),
1003
1004
  default_value: e.string().optional()
1004
1005
  }).optional()
1005
- }), St = W.extend({
1006
+ }), Ct = U.extend({
1006
1007
  type: e.literal("FILE"),
1007
1008
  config: e.object({
1008
1009
  accept: e.string().optional(),
1009
1010
  max_size: e.number().optional(),
1010
1011
  multiple: e.boolean().optional()
1011
1012
  }).optional()
1012
- }), Ct = W.extend({
1013
+ }), wt = U.extend({
1013
1014
  type: e.literal("LEGAL"),
1014
1015
  config: e.object({
1015
1016
  text: e.string(),
1016
1017
  html: e.boolean().optional()
1017
1018
  }).optional()
1018
- }), wt = W.extend({
1019
+ }), Tt = U.extend({
1019
1020
  type: e.literal("NUMBER"),
1020
1021
  config: e.object({
1021
1022
  placeholder: e.string().optional(),
@@ -1024,7 +1025,7 @@ var Xe = e.object({
1024
1025
  step: e.number().optional(),
1025
1026
  default_value: e.string().optional()
1026
1027
  }).optional()
1027
- }), Tt = W.extend({
1028
+ }), Et = U.extend({
1028
1029
  type: e.literal("PASSWORD"),
1029
1030
  config: e.object({
1030
1031
  placeholder: e.string().optional(),
@@ -1033,13 +1034,13 @@ var Xe = e.object({
1033
1034
  forgot_password_link: e.string().optional(),
1034
1035
  default_value: e.string().optional()
1035
1036
  }).optional()
1036
- }), Et = W.extend({
1037
+ }), Dt = U.extend({
1037
1038
  type: e.literal("PAYMENT"),
1038
1039
  config: e.object({
1039
1040
  provider: e.string().optional(),
1040
1041
  currency: e.string().optional()
1041
1042
  }).optional()
1042
- }), Dt = W.extend({
1043
+ }), Ot = U.extend({
1043
1044
  type: e.literal("SOCIAL"),
1044
1045
  config: e.object({
1045
1046
  providers: e.array(e.string()).optional(),
@@ -1051,7 +1052,7 @@ var Xe = e.object({
1051
1052
  href: e.string().optional()
1052
1053
  })).optional()
1053
1054
  }).optional()
1054
- }), Ot = W.extend({
1055
+ }), kt = U.extend({
1055
1056
  type: e.literal("TEL"),
1056
1057
  config: e.object({
1057
1058
  placeholder: e.string().optional(),
@@ -1059,7 +1060,7 @@ var Xe = e.object({
1059
1060
  default_value: e.string().optional(),
1060
1061
  allow_email: e.boolean().optional()
1061
1062
  }).optional()
1062
- }), kt = W.extend({
1063
+ }), At = U.extend({
1063
1064
  type: e.literal("TEXT"),
1064
1065
  config: e.object({
1065
1066
  placeholder: e.string().optional(),
@@ -1067,38 +1068,37 @@ var Xe = e.object({
1067
1068
  max_length: e.number().optional(),
1068
1069
  default_value: e.string().optional()
1069
1070
  }).optional()
1070
- }), At = W.extend({
1071
+ }), jt = U.extend({
1071
1072
  type: e.literal("COUNTRY"),
1072
1073
  config: e.object({
1073
1074
  placeholder: e.string().optional(),
1074
1075
  default_value: e.string().optional()
1075
1076
  }).optional()
1076
- }), jt = W.extend({
1077
+ }), Mt = U.extend({
1077
1078
  type: e.literal("URL"),
1078
1079
  config: e.object({
1079
1080
  placeholder: e.string().optional(),
1080
1081
  default_value: e.string().optional()
1081
1082
  }).optional()
1082
- }), Mt = e.discriminatedUnion("type", [
1083
- rt,
1083
+ }), Nt = e.discriminatedUnion("type", [
1084
1084
  it,
1085
1085
  at,
1086
1086
  ot,
1087
1087
  st,
1088
1088
  ct,
1089
1089
  lt,
1090
- ut
1091
- ]), Nt = e.discriminatedUnion("type", [
1092
- dt,
1093
- ft,
1094
- pt
1090
+ ut,
1091
+ dt
1095
1092
  ]), Pt = e.discriminatedUnion("type", [
1096
- mt,
1093
+ ft,
1094
+ pt,
1095
+ mt
1096
+ ]), Ft = e.discriminatedUnion("type", [
1097
1097
  ht,
1098
1098
  gt,
1099
1099
  _t,
1100
- At,
1101
1100
  vt,
1101
+ jt,
1102
1102
  yt,
1103
1103
  bt,
1104
1104
  xt,
@@ -1110,12 +1110,13 @@ var Xe = e.object({
1110
1110
  Dt,
1111
1111
  Ot,
1112
1112
  kt,
1113
- jt
1114
- ]), G = e.union([
1115
- Mt,
1113
+ At,
1114
+ Mt
1115
+ ]), W = e.union([
1116
1116
  Nt,
1117
- Pt
1118
- ]), Ft = /* @__PURE__ */ new Set([
1117
+ Pt,
1118
+ Ft
1119
+ ]), It = new Set([
1119
1120
  "BOOLEAN",
1120
1121
  "CARDS",
1121
1122
  "CHOICE",
@@ -1130,7 +1131,7 @@ var Xe = e.object({
1130
1131
  "TEL",
1131
1132
  "TEXT",
1132
1133
  "URL"
1133
- ]), It = e.object({
1134
+ ]), Lt = e.object({
1134
1135
  id: e.string(),
1135
1136
  type: e.literal("submit"),
1136
1137
  label: e.string(),
@@ -1139,22 +1140,22 @@ var Xe = e.object({
1139
1140
  order: e.number().optional(),
1140
1141
  visible: e.boolean().optional().default(!0),
1141
1142
  customizations: e.record(e.string(), e.any()).optional()
1142
- }), K = e.object({
1143
+ }), G = e.object({
1143
1144
  x: e.number(),
1144
1145
  y: e.number()
1145
- }), Lt = e.object({
1146
+ }), Rt = e.object({
1146
1147
  id: e.string(),
1147
1148
  type: e.literal("FLOW"),
1148
- coordinates: K,
1149
+ coordinates: G,
1149
1150
  alias: e.string().min(1).max(150).optional(),
1150
1151
  config: e.object({
1151
1152
  flow_id: e.string().max(30),
1152
1153
  next_node: e.string().optional()
1153
1154
  })
1154
- }), Rt = e.object({
1155
+ }), zt = e.object({
1155
1156
  id: e.string(),
1156
1157
  type: e.literal("ROUTER"),
1157
- coordinates: K,
1158
+ coordinates: G,
1158
1159
  alias: e.string().min(1).max(150),
1159
1160
  config: e.object({
1160
1161
  rules: e.array(e.object({
@@ -1165,20 +1166,20 @@ var Xe = e.object({
1165
1166
  })),
1166
1167
  fallback: e.string()
1167
1168
  })
1168
- }), zt = e.object({
1169
+ }), Bt = e.object({
1169
1170
  id: e.string(),
1170
1171
  type: e.literal("STEP"),
1171
- coordinates: K,
1172
+ coordinates: G,
1172
1173
  alias: e.string().min(1).max(150).optional(),
1173
1174
  config: e.object({
1174
- components: e.array(G),
1175
+ components: e.array(W),
1175
1176
  next_node: e.string().optional()
1176
1177
  })
1177
- }), Bt = e.discriminatedUnion("type", [
1178
- Lt,
1178
+ }), Vt = e.discriminatedUnion("type", [
1179
1179
  Rt,
1180
- zt
1181
- ]), Vt = e.object({
1180
+ zt,
1181
+ Bt
1182
+ ]), Ht = e.object({
1182
1183
  name: e.string().openapi({ description: "The name of the form" }),
1183
1184
  messages: e.object({
1184
1185
  errors: e.record(e.string(), e.any()).optional(),
@@ -1189,14 +1190,14 @@ var Xe = e.object({
1189
1190
  default: e.string().optional()
1190
1191
  }).optional(),
1191
1192
  translations: e.record(e.string(), e.any()).optional(),
1192
- nodes: e.array(Bt).optional(),
1193
+ nodes: e.array(Vt).optional(),
1193
1194
  start: e.object({
1194
1195
  hidden_fields: e.array(e.object({
1195
1196
  key: e.string(),
1196
1197
  value: e.string()
1197
1198
  })).optional(),
1198
1199
  next_node: e.string().optional(),
1199
- coordinates: K.optional()
1200
+ coordinates: G.optional()
1200
1201
  }).optional(),
1201
1202
  ending: e.object({
1202
1203
  redirection: e.object({
@@ -1204,7 +1205,7 @@ var Xe = e.object({
1204
1205
  target: e.string().optional()
1205
1206
  }).optional(),
1206
1207
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1207
- coordinates: K.optional(),
1208
+ coordinates: G.optional(),
1208
1209
  resume_flow: e.boolean().optional()
1209
1210
  }).optional(),
1210
1211
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1212,7 +1213,7 @@ var Xe = e.object({
1212
1213
  sdkSrc: e.string().optional(),
1213
1214
  sdk_src: e.string().optional()
1214
1215
  }).optional()
1215
- }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), Ht = t.extend(Vt.shape).extend({ id: e.string() }), Ut = e.object({
1216
+ }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), Ut = t.extend(Ht.shape).extend({ id: e.string() }), Wt = e.object({
1216
1217
  id: e.number().optional(),
1217
1218
  text: e.string(),
1218
1219
  type: e.enum([
@@ -1221,34 +1222,34 @@ var Xe = e.object({
1221
1222
  "success",
1222
1223
  "warning"
1223
1224
  ])
1224
- }), Wt = e.object({
1225
+ }), Gt = e.object({
1225
1226
  id: e.string().optional(),
1226
1227
  text: e.string(),
1227
1228
  href: e.string(),
1228
1229
  linkText: e.string().optional()
1229
- }), Gt = e.object({
1230
+ }), Kt = e.object({
1230
1231
  name: e.string().optional(),
1231
1232
  action: e.string(),
1232
1233
  method: e.enum(["POST", "GET"]),
1233
1234
  title: e.string().optional(),
1234
1235
  description: e.string().optional(),
1235
- components: e.array(G),
1236
- messages: e.array(Ut).optional(),
1237
- links: e.array(Wt).optional(),
1236
+ components: e.array(W),
1237
+ messages: e.array(Wt).optional(),
1238
+ links: e.array(Gt).optional(),
1238
1239
  footer: e.string().optional()
1239
1240
  });
1240
- function Kt(e) {
1241
+ function qt(e) {
1241
1242
  return e.category === "BLOCK";
1242
1243
  }
1243
- function qt(e) {
1244
+ function Jt(e) {
1244
1245
  return e.category === "WIDGET";
1245
1246
  }
1246
- function Jt(e) {
1247
+ function Yt(e) {
1247
1248
  return e.category === "FIELD";
1248
1249
  }
1249
1250
  //#endregion
1250
1251
  //#region src/types/Hook.ts
1251
- var Yt = e.enum([
1252
+ var Xt = e.enum([
1252
1253
  "pre-user-registration",
1253
1254
  "post-user-registration",
1254
1255
  "post-user-login",
@@ -1256,28 +1257,28 @@ var Yt = e.enum([
1256
1257
  "validate-registration-username",
1257
1258
  "pre-user-deletion",
1258
1259
  "post-user-deletion"
1259
- ]), Xt = e.enum([
1260
+ ]), Zt = e.enum([
1260
1261
  "pre-user-registration",
1261
1262
  "post-user-registration",
1262
1263
  "post-user-login",
1263
1264
  "validate-registration-username",
1264
1265
  "pre-user-deletion",
1265
1266
  "post-user-deletion"
1266
- ]), Zt = e.enum([
1267
+ ]), Qt = e.enum([
1267
1268
  "post-user-login",
1268
1269
  "post-user-registration",
1269
1270
  "post-user-update",
1270
1271
  "credentials-exchange"
1271
- ]), Qt = e.enum([
1272
+ ]), $t = e.enum([
1272
1273
  "post-user-login",
1273
1274
  "credentials-exchange",
1274
1275
  "pre-user-registration",
1275
1276
  "post-user-registration"
1276
- ]), q = e.enum([
1277
+ ]), K = e.enum([
1277
1278
  "ensure-username",
1278
1279
  "set-preferred-username",
1279
1280
  "account-linking"
1280
- ]), $t = {
1281
+ ]), en = {
1281
1282
  "ensure-username": {
1282
1283
  name: "Ensure Username",
1283
1284
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1297,73 +1298,73 @@ var Yt = e.enum([
1297
1298
  "post-user-update"
1298
1299
  ]
1299
1300
  }
1300
- }, J = {
1301
+ }, q = {
1301
1302
  enabled: e.boolean().default(!1),
1302
1303
  synchronous: e.boolean().default(!1),
1303
1304
  priority: e.number().optional(),
1304
1305
  hook_id: e.string().optional(),
1305
1306
  metadata: e.record(e.string(), e.unknown()).optional()
1306
- }, en = e.object({
1307
- ...J,
1308
- trigger_id: Yt,
1309
- url: e.string()
1310
- }), tn = e.object({
1311
- ...J,
1307
+ }, tn = e.object({
1308
+ ...q,
1312
1309
  trigger_id: Xt,
1313
- form_id: e.string()
1310
+ url: e.string()
1314
1311
  }), nn = e.object({
1315
- ...J,
1312
+ ...q,
1316
1313
  trigger_id: Zt,
1317
- template_id: q
1314
+ form_id: e.string()
1318
1315
  }), rn = e.object({
1319
- ...J,
1316
+ ...q,
1320
1317
  trigger_id: Qt,
1318
+ template_id: K
1319
+ }), an = e.object({
1320
+ ...q,
1321
+ trigger_id: $t,
1321
1322
  code_id: e.string()
1322
- }), an = e.union([
1323
- en,
1323
+ }), on = e.union([
1324
1324
  tn,
1325
1325
  nn,
1326
- rn
1327
- ]), on = e.object({
1328
- ...J,
1329
- trigger_id: Yt
1330
- }).extend(t.shape).extend({
1331
- hook_id: e.string(),
1332
- url: e.string()
1333
- }), sn = e.object({
1334
- ...J,
1326
+ rn,
1327
+ an
1328
+ ]), sn = e.object({
1329
+ ...q,
1335
1330
  trigger_id: Xt
1336
1331
  }).extend(t.shape).extend({
1337
1332
  hook_id: e.string(),
1338
- form_id: e.string()
1333
+ url: e.string()
1339
1334
  }), cn = e.object({
1340
- ...J,
1335
+ ...q,
1341
1336
  trigger_id: Zt
1342
1337
  }).extend(t.shape).extend({
1343
1338
  hook_id: e.string(),
1344
- template_id: q
1339
+ form_id: e.string()
1345
1340
  }), ln = e.object({
1346
- ...J,
1341
+ ...q,
1347
1342
  trigger_id: Qt
1343
+ }).extend(t.shape).extend({
1344
+ hook_id: e.string(),
1345
+ template_id: K
1346
+ }), un = e.object({
1347
+ ...q,
1348
+ trigger_id: $t
1348
1349
  }).extend(t.shape).extend({
1349
1350
  hook_id: e.string(),
1350
1351
  code_id: e.string()
1351
- }), un = e.union([
1352
- on,
1352
+ }), dn = e.union([
1353
1353
  sn,
1354
1354
  cn,
1355
- ln
1356
- ]), dn = e.object({
1355
+ ln,
1356
+ un
1357
+ ]), fn = e.object({
1357
1358
  code: e.string().max(1e5),
1358
1359
  secrets: e.record(e.string(), e.string()).optional()
1359
- }), fn = dn.extend({
1360
+ }), pn = fn.extend({
1360
1361
  id: e.string(),
1361
1362
  tenant_id: e.string()
1362
- }).extend(t.shape), pn = e.object({ name: e.string().optional() }), mn = e.object({ email: e.string().optional() }), hn = e.object({
1363
+ }).extend(t.shape), mn = e.object({ name: e.string().optional() }), hn = e.object({ email: e.string().optional() }), gn = e.object({
1363
1364
  id: e.string().optional(),
1364
1365
  organization_id: e.string().max(50),
1365
- inviter: pn,
1366
- invitee: mn,
1366
+ inviter: mn,
1367
+ invitee: hn,
1367
1368
  invitation_url: e.string().url(),
1368
1369
  client_id: e.string(),
1369
1370
  connection_id: e.string().optional(),
@@ -1372,13 +1373,13 @@ var Yt = e.enum([
1372
1373
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1373
1374
  roles: e.array(e.string()).default([]).optional(),
1374
1375
  send_invitation_email: e.boolean().default(!0).optional()
1375
- }), gn = e.object({
1376
+ }), _n = e.object({
1376
1377
  id: e.string(),
1377
1378
  organization_id: e.string().max(50),
1378
1379
  created_at: e.string().datetime(),
1379
1380
  expires_at: e.string().datetime(),
1380
1381
  ticket_id: e.string().optional()
1381
- }).extend(hn.omit({ id: !0 }).shape), _n = e.object({
1382
+ }).extend(gn.omit({ id: !0 }).shape), vn = e.object({
1382
1383
  alg: e.enum([
1383
1384
  "RS256",
1384
1385
  "RS384",
@@ -1419,7 +1420,7 @@ var Yt = e.enum([
1419
1420
  path: [r],
1420
1421
  message: `EC JWK is missing required member '${r}'`
1421
1422
  });
1422
- }), vn = e.object({ keys: e.array(_n) }), yn = e.object({
1423
+ }), yn = e.object({ keys: e.array(vn) }), bn = e.object({
1423
1424
  issuer: e.string(),
1424
1425
  authorization_endpoint: e.string(),
1425
1426
  token_endpoint: e.string(),
@@ -1445,15 +1446,15 @@ var Yt = e.enum([
1445
1446
  client_id_metadata_document_supported: e.boolean().optional(),
1446
1447
  backchannel_logout_supported: e.boolean().optional(),
1447
1448
  backchannel_logout_session_supported: e.boolean().optional()
1448
- }), bn = /* @__PURE__ */ function(e) {
1449
+ }), J = /* @__PURE__ */ function(e) {
1449
1450
  return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
1450
- }({}), xn = e.nativeEnum(bn), Sn = e.object({
1451
+ }({}), xn = e.nativeEnum(J), Sn = e.object({
1451
1452
  strategy: e.string(),
1452
1453
  strategy_type: e.string()
1453
1454
  }), Cn = e.object({
1454
1455
  csrf_token: e.string(),
1455
1456
  auth0Client: e.string().optional(),
1456
- authParams: We,
1457
+ authParams: Ge,
1457
1458
  expires_at: e.string(),
1458
1459
  deleted_at: e.string().optional(),
1459
1460
  ip: e.string().optional(),
@@ -2746,10 +2747,29 @@ var Ni = ji.superRefine(Mi), Pi = ji.extend({
2746
2747
  id: e.string().optional(),
2747
2748
  created_at: e.string().datetime({ offset: !0 }).optional(),
2748
2749
  updated_at: e.string().datetime({ offset: !0 }).optional()
2749
- });
2750
+ }), Ii = {
2751
+ "post-user-login": {
2752
+ accessToken: ["setCustomClaim"],
2753
+ idToken: ["setCustomClaim"],
2754
+ access: ["deny"],
2755
+ prompt: ["render"],
2756
+ redirect: ["sendUserTo"],
2757
+ user: ["setLinkedTo"]
2758
+ },
2759
+ "credentials-exchange": {
2760
+ accessToken: ["setCustomClaim"],
2761
+ idToken: ["setCustomClaim"],
2762
+ access: ["deny"]
2763
+ },
2764
+ "pre-user-registration": {
2765
+ user: ["setUserMetadata", "setLinkedTo"],
2766
+ access: ["deny"]
2767
+ },
2768
+ "post-user-registration": {}
2769
+ };
2750
2770
  //#endregion
2751
2771
  //#region src/utils/user-id.ts
2752
- function Ii(e) {
2772
+ function Li(e) {
2753
2773
  let [t, n] = e.split("|");
2754
2774
  if (!t || !n) throw Error(`Invalid user_id: ${e}`);
2755
2775
  return {
@@ -2759,7 +2779,7 @@ function Ii(e) {
2759
2779
  }
2760
2780
  //#endregion
2761
2781
  //#region src/utils/passthrough.ts
2762
- function Li(e) {
2782
+ function Ri(e) {
2763
2783
  let { primary: t, secondaries: n, syncMethods: r = [
2764
2784
  "create",
2765
2785
  "rawCreate",
@@ -2793,12 +2813,12 @@ function Li(e) {
2793
2813
  } : i.bind(e) : i;
2794
2814
  } });
2795
2815
  }
2796
- function Ri(e) {
2816
+ function zi(e) {
2797
2817
  return e;
2798
2818
  }
2799
2819
  //#endregion
2800
2820
  //#region src/utils/connection-attributes.ts
2801
- function zi(e) {
2821
+ function Bi(e) {
2802
2822
  let t = e?.options;
2803
2823
  if (!t) return {
2804
2824
  usernameIdentifierActive: !1,
@@ -2821,35 +2841,35 @@ function zi(e) {
2821
2841
  }
2822
2842
  //#endregion
2823
2843
  //#region src/utils/guards.ts
2824
- function Bi(e) {
2844
+ function Vi(e) {
2825
2845
  return typeof e == "object" && !!e && !Array.isArray(e);
2826
2846
  }
2827
2847
  //#endregion
2828
2848
  //#region src/utils/base64url.ts
2829
- function Vi(e) {
2849
+ function Hi(e) {
2830
2850
  let t = "";
2831
2851
  for (let n of e) t += String.fromCharCode(n);
2832
2852
  return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
2833
2853
  }
2834
- function Hi(e) {
2854
+ function Ui(e) {
2835
2855
  let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
2836
2856
  for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
2837
2857
  return r;
2838
2858
  }
2839
- function Ui(e) {
2840
- return Vi(new TextEncoder().encode(e));
2841
- }
2842
2859
  function Wi(e) {
2843
- return new TextDecoder().decode(Hi(e));
2860
+ return Hi(new TextEncoder().encode(e));
2861
+ }
2862
+ function Gi(e) {
2863
+ return new TextDecoder().decode(Ui(e));
2844
2864
  }
2845
2865
  //#endregion
2846
2866
  //#region src/utils/base64.ts
2847
- function Gi(e) {
2867
+ function Ki(e) {
2848
2868
  let t = "";
2849
2869
  for (let n of e) t += String.fromCharCode(n);
2850
2870
  return btoa(t);
2851
2871
  }
2852
- function Ki(e) {
2872
+ function qi(e) {
2853
2873
  let t = atob(e), n = new Uint8Array(t.length);
2854
2874
  for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
2855
2875
  return n;
@@ -2857,12 +2877,12 @@ function Ki(e) {
2857
2877
  //#endregion
2858
2878
  //#region src/utils/base32.ts
2859
2879
  var $ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
2860
- function qi(e) {
2880
+ function Ji(e) {
2861
2881
  let t = "", n = 0, r = 0;
2862
2882
  for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += $[n >> r & 31];
2863
2883
  return r > 0 && (t += $[n << 5 - r & 31]), t;
2864
2884
  }
2865
- function Ji(e) {
2885
+ function Yi(e) {
2866
2886
  let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
2867
2887
  if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
2868
2888
  let r = [], i = 0, a = 0;
@@ -2876,19 +2896,19 @@ function Ji(e) {
2876
2896
  }
2877
2897
  //#endregion
2878
2898
  //#region src/utils/hex.ts
2879
- function Yi(e) {
2899
+ function Xi(e) {
2880
2900
  let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
2881
2901
  for (let e of t) n += e.toString(16).padStart(2, "0");
2882
2902
  return n;
2883
2903
  }
2884
2904
  //#endregion
2885
2905
  //#region src/utils/cursor.ts
2886
- function Xi(e) {
2887
- return Ui(JSON.stringify(e));
2888
- }
2889
2906
  function Zi(e) {
2907
+ return Wi(JSON.stringify(e));
2908
+ }
2909
+ function Qi(e) {
2890
2910
  try {
2891
- let t = JSON.parse(Wi(e));
2911
+ let t = JSON.parse(Gi(e));
2892
2912
  return t && typeof t == "object" && typeof t.i == "string" ? t : null;
2893
2913
  } catch {
2894
2914
  return null;
@@ -2896,7 +2916,7 @@ function Zi(e) {
2896
2916
  }
2897
2917
  //#endregion
2898
2918
  //#region src/utils/lucene.ts
2899
- function Qi(e, t) {
2919
+ function $i(e, t) {
2900
2920
  let n = new Set(t), r = (e) => {
2901
2921
  let t = [], r = "", i = !1;
2902
2922
  for (let n = 0; n < e.length; n++) {
@@ -2913,4 +2933,4 @@ function Qi(e, t) {
2913
2933
  return i.length > 1 ? i.map(r).filter((e) => e.length > 0).join(" OR ") : r(e);
2914
2934
  }
2915
2935
  //#endregion
2916
- export { ve as Auth0ActionEnum, An as Auth0Client, Be as AuthorizationResponseMode, ze as AuthorizationResponseType, Ve as CodeChallengeMethod, A as ComponentCategory, k as ComponentType, Oi as DATABASE_CONNECTION_STRATEGY, ye as EmailActionEnum, Ft as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, mr as GrantType, jn as LocationInfo, Y as LogTypes, bn as LoginSessionState, Ae as NodeType, p as RedirectTargetEnum, Ei as Strategy, Di as StrategyType, r as actionDependencySchema, l as actionExecutionErrorSchema, ae as actionExecutionInsertSchema, ne as actionExecutionLogEntrySchema, re as actionExecutionLogsSchema, te as actionExecutionResultSchema, ie as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, Me as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, hi as activeUsersResponseSchema, le as actorSchema, y as addressSchema, bi as analyticsColumnMetaSchema, vi as analyticsGroupBySchema, _i as analyticsIntervalSchema, Si as analyticsQueryResponseSchema, gi as analyticsResourceSchema, xi as analyticsStatisticsSchema, yi as analyticsUserTypeSchema, Gn as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, Re as auth0FlowInsertSchema, Le as auth0FlowSchema, xe as auth0QuerySchema, d as auth0UpdateUserActionSchema, Ce as auth0UserResponseSchema, We as authParamsSchema, Ni as authenticationMethodInsertSchema, Pi as authenticationMethodSchema, Ai as authenticationMethodTypeSchema, b as baseUserSchema, Mt as blockComponentSchema, gr as bordersSchema, Ge as brandingSchema, Hn as breachedPasswordDetectionSchema, Un as bruteForceProtectionSchema, N as buttonComponentSchema, Ue as claimsRequestSchema, w as clientGrantInsertSchema, Oe as clientGrantListSchema, T as clientGrantSchema, C as clientInsertSchema, D as clientRegistrationTokenInsertSchema, ke as clientRegistrationTokenSchema, E as clientRegistrationTokenTypeSchema, De as clientSchema, qe as codeInsertSchema, Je as codeSchema, Ke as codeTypeSchema, _r as colorsSchema, Ut as componentMessageSchema, L as componentSchema, Xe as connectionInsertSchema, Ye as connectionOptionsSchema, Ze as connectionSchema, O as coordinatesSchema, Li as createPassthroughAdapter, Ri as createWriteOnlyAdapter, nt as customDomainCertificateUploadSchema, B as customDomainInsertSchema, $e as customDomainSchema, et as customDomainUpdateSchema, tt as customDomainWithTenantIdSchema, Ti as customTextEntrySchema, wi as customTextSchema, mi as dailyStatsSchema, Ji as decodeBase32, Ki as decodeBase64, Hi as decodeBase64Url, Wi as decodeBase64UrlString, Zi as decodeCursor, Or as emailProviderSchema, kr as emailTemplateNameSchema, Ar as emailTemplateSchema, u as emailVerificationRulesSchema, f as emailVerifyActionSchema, qi as encodeBase32, Gi as encodeBase64, Vi as encodeBase64Url, Ui as encodeBase64UrlString, Xi as encodeCursor, Yi as encodeHex, Ie as endingSchema, Pt as fieldComponentSchema, h as flowActionStepSchema, g as flowInsertSchema, be as flowSchema, F as flowsFieldComponentSchema, je as flowsFlowNodeSchema, R as flowsStepNodeSchema, Z as fontDetailsSchema, vr as fontsSchema, It as formControlSchema, Vt as formInsertSchema, G as formNodeComponentDefinition, Bt as formNodeSchema, Ht as formSchema, I as genericComponentSchema, Ne as genericNodeSchema, zi as getConnectionIdentifierConfig, kn as getLogTypeCategory, On as getLogTypeDescription, Ur as grantInsertSchema, Wr as grantSchema, Tr as handlerConfigSchema, dn as hookCodeInsertSchema, fn as hookCodeSchema, an as hookInsertSchema, un as hookSchema, q as hookTemplateId, $t as hookTemplates, v as identitySchema, Fi as importMetadataSchema, hn as inviteInsertSchema, gn as inviteSchema, mn as inviteeSchema, pn as inviterSchema, Kt as isBlockComponent, ki as isDatabaseConnectionStrategy, Jt as isFieldComponent, Bi as isPlainObject, qt as isWidgetComponent, vn as jwksKeySchema, _n as jwksSchema, P as legalComponentSchema, pe as locationInfoSchema, Mn as logInsertSchema, Nn as logSchema, Fn as logStreamFilterSchema, In as logStreamInsertSchema, Ln as logStreamSchema, X as logStreamStatusSchema, Pn as logStreamTypeSchema, Dn as logTypeCategories, En as logTypeDescriptions, Sn as loginSessionAuthStrategySchema, Cn as loginSessionInsertSchema, wn as loginSessionSchema, xn as loginSessionStateSchema, wr as matchSchema, Rn as migrationProviderTypeSchema, zn as migrationSourceCredentialsSchema, Bn as migrationSourceInsertSchema, Vn as migrationSourceSchema, Pe as nodeSchema, yn as openIDConfigurationSchema, ri as organizationBrandingSchema, ci as organizationConnectionInsertSchema, ui as organizationConnectionListSchema, li as organizationConnectionSchema, ii as organizationEnabledConnectionSchema, oi as organizationInsertSchema, si as organizationSchema, ai as organizationTokenQuotaSchema, yr as pageBackgroundSchema, Ii as parseUserId, Kn as passwordInsertSchema, qn as passwordSchema, _ as profileDataSchema, Ci as promptScreenSchema, Cr as promptSettingSchema, Q as proxyRouteInsertSchema, Er as proxyRouteSchema, Dr as proxyRouteUpdateSchema, m as redirectActionSchema, jr as refreshTokenInsertSchema, Mr as refreshTokenSchema, de as requestContextSchema, Lr as resourceServerInsertSchema, zr as resourceServerListSchema, Ir as resourceServerOptionsSchema, Rr as resourceServerSchema, Fr as resourceServerScopeSchema, fe as responseContextSchema, M as richTextComponentSchema, ei as roleInsertSchema, ni as roleListSchema, Br as rolePermissionInsertSchema, Hr as rolePermissionListSchema, Vr as rolePermissionSchema, ti as roleSchema, dr as rolloutInsertSchema, lr as rolloutKindSchema, fr as rolloutSchema, ur as rolloutStatusSchema, pr as rolloutUpdateSchema, Qi as sanitizeLuceneQuery, Wt as screenLinkSchema, Yn as sessionInsertSchema, Xn as sessionSchema, Zn as signingKeySchema, Pr as smsProviderSchema, Nr as smsSendParamsSchema, Fe as startSchema, Wn as suspiciousIpThrottlingSchema, ue as targetSchema, Qn as tenantInsertSchema, nr as tenantOperationEngineSchema, sr as tenantOperationEventInsertSchema, or as tenantOperationEventOutcomeSchema, cr as tenantOperationEventSchema, rr as tenantOperationInsertSchema, er as tenantOperationKindSchema, ir as tenantOperationSchema, tr as tenantOperationStatusSchema, ar as tenantOperationUpdateSchema, $n as tenantSchema, pi as tenantSettingsSchema, xr as themeInsertSchema, Sr as themeSchema, hr as tokenResponseSchema, Se as totalsSchema, Gt as uiScreenSchema, Gr as userActivitySchema, x as userInsertSchema, di as userOrganizationInsertSchema, fi as userOrganizationSchema, Kr as userPermissionInsertSchema, Jr as userPermissionListSchema, qr as userPermissionSchema, Xr as userPermissionWithDetailsListSchema, Yr as userPermissionWithDetailsSchema, we as userResponseSchema, Zr as userRoleInsertSchema, $r as userRoleListSchema, Qr as userRoleSchema, S as userSchema, Qe as verificationMethodsSchema, Nt as widgetComponentSchema, br as widgetSchema };
2936
+ export { ve as Auth0ActionEnum, An as Auth0Client, Ve as AuthorizationResponseMode, Be as AuthorizationResponseType, He as CodeChallengeMethod, T as ComponentCategory, w as ComponentType, Oi as DATABASE_CONNECTION_STRATEGY, ye as EmailActionEnum, It as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, mr as GrantType, jn as LocationInfo, Y as LogTypes, J as LoginSessionState, Fe as NodeType, Ce as RedirectTargetEnum, Ei as Strategy, Di as StrategyType, Ii as TRIGGER_API_SHAPES, r as actionDependencySchema, l as actionExecutionErrorSchema, ae as actionExecutionInsertSchema, ne as actionExecutionLogEntrySchema, re as actionExecutionLogsSchema, te as actionExecutionResultSchema, ie as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, F as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, hi as activeUsersResponseSchema, le as actorSchema, m as addressSchema, bi as analyticsColumnMetaSchema, vi as analyticsGroupBySchema, _i as analyticsIntervalSchema, Si as analyticsQueryResponseSchema, gi as analyticsResourceSchema, xi as analyticsStatisticsSchema, yi as analyticsUserTypeSchema, Gn as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, ze as auth0FlowInsertSchema, Re as auth0FlowSchema, Ee as auth0QuerySchema, xe as auth0UpdateUserActionSchema, Oe as auth0UserResponseSchema, Ge as authParamsSchema, Ni as authenticationMethodInsertSchema, Pi as authenticationMethodSchema, Ai as authenticationMethodTypeSchema, h as baseUserSchema, Nt as blockComponentSchema, gr as bordersSchema, Ke as brandingSchema, Hn as breachedPasswordDetectionSchema, Un as bruteForceProtectionSchema, O as buttonComponentSchema, We as claimsRequestSchema, y as clientGrantInsertSchema, Ne as clientGrantListSchema, b as clientGrantSchema, v as clientInsertSchema, S as clientRegistrationTokenInsertSchema, Pe as clientRegistrationTokenSchema, x as clientRegistrationTokenTypeSchema, Me as clientSchema, Je as codeInsertSchema, Ye as codeSchema, qe as codeTypeSchema, _r as colorsSchema, Wt as componentMessageSchema, M as componentSchema, Ze as connectionInsertSchema, Xe as connectionOptionsSchema, Qe as connectionSchema, C as coordinatesSchema, Ri as createPassthroughAdapter, zi as createWriteOnlyAdapter, rt as customDomainCertificateUploadSchema, z as customDomainInsertSchema, et as customDomainSchema, tt as customDomainUpdateSchema, nt as customDomainWithTenantIdSchema, Ti as customTextEntrySchema, wi as customTextSchema, mi as dailyStatsSchema, Yi as decodeBase32, qi as decodeBase64, Ui as decodeBase64Url, Gi as decodeBase64UrlString, Qi as decodeCursor, Or as emailProviderSchema, kr as emailTemplateNameSchema, Ar as emailTemplateSchema, be as emailVerificationRulesSchema, Se as emailVerifyActionSchema, Ji as encodeBase32, Ki as encodeBase64, Hi as encodeBase64Url, Wi as encodeBase64UrlString, Zi as encodeCursor, Xi as encodeHex, Le as endingSchema, Ft as fieldComponentSchema, u as flowActionStepSchema, d as flowInsertSchema, Te as flowSchema, A as flowsFieldComponentSchema, P as flowsFlowNodeSchema, N as flowsStepNodeSchema, Z as fontDetailsSchema, vr as fontsSchema, Lt as formControlSchema, Ht as formInsertSchema, W as formNodeComponentDefinition, Vt as formNodeSchema, Ut as formSchema, j as genericComponentSchema, I as genericNodeSchema, Bi as getConnectionIdentifierConfig, kn as getLogTypeCategory, On as getLogTypeDescription, Ur as grantInsertSchema, Wr as grantSchema, Tr as handlerConfigSchema, fn as hookCodeInsertSchema, pn as hookCodeSchema, on as hookInsertSchema, dn as hookSchema, K as hookTemplateId, en as hookTemplates, p as identitySchema, Fi as importMetadataSchema, gn as inviteInsertSchema, _n as inviteSchema, hn as inviteeSchema, mn as inviterSchema, qt as isBlockComponent, ki as isDatabaseConnectionStrategy, Yt as isFieldComponent, Vi as isPlainObject, Jt as isWidgetComponent, yn as jwksKeySchema, vn as jwksSchema, k as legalComponentSchema, pe as locationInfoSchema, Mn as logInsertSchema, Nn as logSchema, Fn as logStreamFilterSchema, In as logStreamInsertSchema, Ln as logStreamSchema, X as logStreamStatusSchema, Pn as logStreamTypeSchema, Dn as logTypeCategories, En as logTypeDescriptions, Sn as loginSessionAuthStrategySchema, Cn as loginSessionInsertSchema, wn as loginSessionSchema, xn as loginSessionStateSchema, wr as matchSchema, Rn as migrationProviderTypeSchema, zn as migrationSourceCredentialsSchema, Bn as migrationSourceInsertSchema, Vn as migrationSourceSchema, L as nodeSchema, bn as openIDConfigurationSchema, ri as organizationBrandingSchema, ci as organizationConnectionInsertSchema, ui as organizationConnectionListSchema, li as organizationConnectionSchema, ii as organizationEnabledConnectionSchema, oi as organizationInsertSchema, si as organizationSchema, ai as organizationTokenQuotaSchema, yr as pageBackgroundSchema, Li as parseUserId, Kn as passwordInsertSchema, qn as passwordSchema, f as profileDataSchema, Ci as promptScreenSchema, Cr as promptSettingSchema, Q as proxyRouteInsertSchema, Er as proxyRouteSchema, Dr as proxyRouteUpdateSchema, we as redirectActionSchema, jr as refreshTokenInsertSchema, Mr as refreshTokenSchema, de as requestContextSchema, Lr as resourceServerInsertSchema, zr as resourceServerListSchema, Ir as resourceServerOptionsSchema, Rr as resourceServerSchema, Fr as resourceServerScopeSchema, fe as responseContextSchema, D as richTextComponentSchema, ei as roleInsertSchema, ni as roleListSchema, Br as rolePermissionInsertSchema, Hr as rolePermissionListSchema, Vr as rolePermissionSchema, ti as roleSchema, dr as rolloutInsertSchema, lr as rolloutKindSchema, fr as rolloutSchema, ur as rolloutStatusSchema, pr as rolloutUpdateSchema, $i as sanitizeLuceneQuery, Gt as screenLinkSchema, Yn as sessionInsertSchema, Xn as sessionSchema, Zn as signingKeySchema, Pr as smsProviderSchema, Nr as smsSendParamsSchema, Ie as startSchema, Wn as suspiciousIpThrottlingSchema, ue as targetSchema, Qn as tenantInsertSchema, nr as tenantOperationEngineSchema, sr as tenantOperationEventInsertSchema, or as tenantOperationEventOutcomeSchema, cr as tenantOperationEventSchema, rr as tenantOperationInsertSchema, er as tenantOperationKindSchema, ir as tenantOperationSchema, tr as tenantOperationStatusSchema, ar as tenantOperationUpdateSchema, $n as tenantSchema, pi as tenantSettingsSchema, xr as themeInsertSchema, Sr as themeSchema, hr as tokenResponseSchema, De as totalsSchema, Kt as uiScreenSchema, Gr as userActivitySchema, g as userInsertSchema, di as userOrganizationInsertSchema, fi as userOrganizationSchema, Kr as userPermissionInsertSchema, Jr as userPermissionListSchema, qr as userPermissionSchema, Xr as userPermissionWithDetailsListSchema, Yr as userPermissionWithDetailsSchema, ke as userResponseSchema, Zr as userRoleInsertSchema, $r as userRoleListSchema, Qr as userRoleSchema, _ as userSchema, $e as verificationMethodsSchema, Pt as widgetComponentSchema, br as widgetSchema };