@authhero/adapter-interfaces 2.7.0 → 2.9.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.
@@ -185,7 +185,7 @@ var t = e.object({
185
185
  user_id: e.string(),
186
186
  changes: e.record(e.string(), e.any())
187
187
  })
188
- }), u = e.object({
188
+ }), Se = e.object({
189
189
  id: e.string(),
190
190
  alias: e.string().max(100).optional(),
191
191
  type: e.literal("EMAIL"),
@@ -196,11 +196,11 @@ var t = e.object({
196
196
  email: e.string(),
197
197
  rules: be.optional()
198
198
  })
199
- }), d = e.enum([
199
+ }), u = e.enum([
200
200
  "change-email",
201
201
  "account",
202
202
  "custom"
203
- ]), f = e.object({
203
+ ]), d = e.object({
204
204
  id: e.string(),
205
205
  alias: e.string().max(100).optional(),
206
206
  type: e.literal("REDIRECT"),
@@ -208,31 +208,31 @@ var t = e.object({
208
208
  allow_failure: e.boolean().optional(),
209
209
  mask_output: e.boolean().optional(),
210
210
  params: e.object({
211
- target: d.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
211
+ target: u.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
212
212
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
213
213
  })
214
- }), p = e.union([
214
+ }), f = e.union([
215
215
  xe,
216
- u,
217
- f
218
- ]), m = e.object({
216
+ Se,
217
+ d
218
+ ]), p = e.object({
219
219
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
220
- actions: e.array(p).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
221
- }), Se = m.extend(t.shape).extend({ id: e.string().openapi({
220
+ actions: e.array(f).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
221
+ }), Ce = p.extend(t.shape).extend({ id: e.string().openapi({
222
222
  description: "Unique identifier for the flow",
223
223
  example: "af_12tMpdJ3iek7svMyZkSh5M"
224
- }) }), Ce = e.object({
224
+ }) }), we = e.object({
225
225
  page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
226
226
  per_page: e.string().min(1).optional().default("10").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page" }),
227
227
  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" }),
228
228
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
229
229
  q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
230
- }), we = e.object({
230
+ }), Te = e.object({
231
231
  start: e.number(),
232
232
  limit: e.number(),
233
233
  length: e.number(),
234
234
  total: e.number().optional()
235
- }), h = e.object({
235
+ }), m = e.object({
236
236
  email: e.string().optional(),
237
237
  email_verified: e.boolean().optional(),
238
238
  name: e.string().optional(),
@@ -241,7 +241,7 @@ var t = e.object({
241
241
  phone_number: e.string().optional(),
242
242
  phone_verified: e.boolean().optional(),
243
243
  family_name: e.string().optional()
244
- }).catchall(e.any()), g = e.object({
244
+ }).catchall(e.any()), h = e.object({
245
245
  connection: e.string(),
246
246
  user_id: e.string(),
247
247
  provider: e.string(),
@@ -254,15 +254,15 @@ var t = e.object({
254
254
  access_token: e.string().optional(),
255
255
  access_token_secret: e.string().optional(),
256
256
  refresh_token: e.string().optional(),
257
- profileData: h.optional()
258
- }), _ = e.object({
257
+ profileData: m.optional()
258
+ }), g = e.object({
259
259
  formatted: e.string().optional(),
260
260
  street_address: e.string().optional(),
261
261
  locality: e.string().optional(),
262
262
  region: e.string().optional(),
263
263
  postal_code: e.string().optional(),
264
264
  country: e.string().optional()
265
- }).optional(), v = e.object({
265
+ }).optional(), _ = e.object({
266
266
  email: e.string().transform((e) => e.toLowerCase()).optional(),
267
267
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
268
268
  phone_number: e.string().optional(),
@@ -285,8 +285,8 @@ var t = e.object({
285
285
  gender: e.string().optional(),
286
286
  birthdate: e.string().optional(),
287
287
  zoneinfo: e.string().optional(),
288
- address: _
289
- }), y = v.extend({
288
+ address: g
289
+ }), v = _.extend({
290
290
  email_verified: e.boolean().default(!1),
291
291
  verify_email: e.boolean().optional(),
292
292
  last_ip: e.string().optional(),
@@ -300,29 +300,29 @@ var t = e.object({
300
300
  hash: e.string(),
301
301
  algorithm: e.string()
302
302
  }).optional()
303
- }), b = y.omit({ password: !0 }).extend(t.shape).extend({
303
+ }), y = v.omit({ password: !0 }).extend(t.shape).extend({
304
304
  user_id: e.string(),
305
305
  provider: e.string(),
306
306
  is_social: e.boolean(),
307
307
  email: e.string().optional(),
308
308
  login_count: e.number().default(0),
309
- identities: e.array(g).optional()
310
- }), Te = b.omit({ registration_completed_at: !0 }), Ee = v.extend({
309
+ identities: e.array(h).optional()
310
+ }), Ee = y.omit({ registration_completed_at: !0 }), De = _.extend({
311
311
  login_count: e.number(),
312
312
  multifactor: e.array(e.string()).optional(),
313
313
  last_ip: e.string().optional(),
314
314
  last_login: e.string().optional(),
315
315
  user_id: e.string()
316
- }).catchall(e.any()), De = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Oe = (e = 21) => {
316
+ }).catchall(e.any()), Oe = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ke = (e = 21) => {
317
317
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
318
- for (; e--;) t += De[n[e] & 63];
318
+ for (; e--;) t += Oe[n[e] & 63];
319
319
  return t;
320
- }, x = e.object({
320
+ }, b = e.object({
321
321
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
322
322
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
323
323
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
324
324
  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)." }),
325
- client_secret: e.string().default(() => Oe()).optional().openapi({ description: "Client secret (which you must not make public)." }),
325
+ client_secret: e.string().default(() => ke()).optional().openapi({ description: "Client secret (which you must not make public)." }),
326
326
  app_type: e.enum([
327
327
  "native",
328
328
  "spa",
@@ -429,10 +429,10 @@ var t = e.object({
429
429
  ]).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." }),
430
430
  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." }),
431
431
  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." })
432
- }), ke = e.object({
432
+ }), Ae = e.object({
433
433
  created_at: e.string(),
434
434
  updated_at: e.string()
435
- }).extend(x.shape).extend({ client_id: e.string() }), S = e.object({
435
+ }).extend(b.shape).extend({ client_id: e.string() }), x = e.object({
436
436
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
437
437
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
438
438
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -445,38 +445,38 @@ var t = e.object({
445
445
  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." }),
446
446
  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." }),
447
447
  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." })
448
- }), C = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(S.shape).extend({
448
+ }), S = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(x.shape).extend({
449
449
  created_at: e.string().optional(),
450
450
  updated_at: e.string().optional()
451
- }), Ae = e.array(C), w = e.enum(["iat", "rat"]), T = e.object({
451
+ }), je = e.array(S), C = e.enum(["iat", "rat"]), w = e.object({
452
452
  id: e.string(),
453
453
  token_hash: e.string(),
454
- type: w,
454
+ type: C,
455
455
  client_id: e.string().optional(),
456
456
  sub: e.string().optional(),
457
457
  constraints: e.record(e.string(), e.unknown()).optional(),
458
458
  single_use: e.boolean().default(!1),
459
459
  expires_at: e.string().optional()
460
- }), je = e.object({
460
+ }), Me = e.object({
461
461
  created_at: e.string(),
462
462
  used_at: e.string().optional(),
463
463
  revoked_at: e.string().optional()
464
- }).extend(T.shape), E = e.object({
464
+ }).extend(w.shape), T = e.object({
465
465
  x: e.number(),
466
466
  y: e.number()
467
- }), D = /* @__PURE__ */ function(e) {
467
+ }), E = /* @__PURE__ */ function(e) {
468
468
  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;
469
- }({}), O = /* @__PURE__ */ function(e) {
469
+ }({}), D = /* @__PURE__ */ function(e) {
470
470
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
471
- }({}), k = e.object({
471
+ }({}), O = e.object({
472
472
  id: e.string(),
473
- category: e.nativeEnum(O),
474
- type: e.nativeEnum(D)
475
- }), A = k.extend({
473
+ category: e.nativeEnum(D),
474
+ type: e.nativeEnum(E)
475
+ }), k = O.extend({
476
476
  category: e.literal("BLOCK"),
477
477
  type: e.literal("RICH_TEXT"),
478
478
  config: e.object({ content: e.string() }).passthrough()
479
- }), j = k.extend({
479
+ }), A = O.extend({
480
480
  category: e.literal("BLOCK"),
481
481
  type: e.union([
482
482
  e.literal("NEXT_BUTTON"),
@@ -484,13 +484,13 @@ var t = e.object({
484
484
  e.literal("SUBMIT_BUTTON")
485
485
  ]),
486
486
  config: e.object({ text: e.string() }).passthrough()
487
- }), M = k.extend({
487
+ }), j = O.extend({
488
488
  category: e.literal("FIELD"),
489
489
  type: e.literal("LEGAL"),
490
490
  required: e.boolean().optional(),
491
491
  sensitive: e.boolean().optional(),
492
492
  config: e.object({ text: e.string() }).passthrough()
493
- }), N = k.extend({
493
+ }), M = O.extend({
494
494
  category: e.literal("FIELD"),
495
495
  type: e.union([
496
496
  e.literal("TEXT"),
@@ -510,40 +510,40 @@ var t = e.object({
510
510
  label: e.string().optional(),
511
511
  placeholder: e.string().optional()
512
512
  }).passthrough()
513
- }), P = e.object({
513
+ }), N = e.object({
514
514
  id: e.string(),
515
515
  category: e.string(),
516
516
  type: e.string()
517
- }).passthrough(), F = e.union([
517
+ }).passthrough(), P = e.union([
518
+ k,
518
519
  A,
519
520
  j,
520
521
  M,
521
- N,
522
- P
523
- ]), Me = /* @__PURE__ */ function(e) {
522
+ N
523
+ ]), Ne = /* @__PURE__ */ function(e) {
524
524
  return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
525
- }({}), I = e.object({
525
+ }({}), F = e.object({
526
526
  id: e.string(),
527
527
  type: e.literal("STEP"),
528
- coordinates: E,
528
+ coordinates: T,
529
529
  alias: e.string().optional(),
530
530
  config: e.object({
531
- components: e.array(F),
531
+ components: e.array(P),
532
532
  next_node: e.string()
533
533
  }).passthrough()
534
- }), L = e.object({
534
+ }), I = e.object({
535
535
  id: e.string(),
536
536
  type: e.literal("FLOW"),
537
- coordinates: E,
537
+ coordinates: T,
538
538
  alias: e.string().optional(),
539
539
  config: e.object({
540
540
  flow_id: e.string(),
541
541
  next_node: e.string()
542
542
  })
543
- }), R = e.object({
543
+ }), L = e.object({
544
544
  id: e.string(),
545
545
  type: e.literal("ACTION"),
546
- coordinates: E,
546
+ coordinates: T,
547
547
  alias: e.string().optional(),
548
548
  config: e.object({
549
549
  action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
@@ -555,56 +555,56 @@ var t = e.object({
555
555
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
556
556
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
557
557
  }).passthrough()
558
- }), z = e.object({
558
+ }), R = e.object({
559
559
  id: e.string(),
560
560
  type: e.string(),
561
- coordinates: E
562
- }).passthrough(), B = e.union([
561
+ coordinates: T
562
+ }).passthrough(), z = e.union([
563
+ F,
563
564
  I,
564
565
  L,
565
- R,
566
- z
567
- ]), Ne = e.object({
566
+ R
567
+ ]), Pe = e.object({
568
568
  next_node: e.string(),
569
- coordinates: E
570
- }).passthrough(), Pe = e.object({
571
- resume_flow: e.boolean().optional(),
572
- coordinates: E
569
+ coordinates: T
573
570
  }).passthrough(), Fe = e.object({
571
+ resume_flow: e.boolean().optional(),
572
+ coordinates: T
573
+ }).passthrough(), Ie = e.object({
574
574
  id: e.string(),
575
575
  name: e.string(),
576
576
  languages: e.object({ primary: e.string() }).passthrough(),
577
- nodes: e.array(B),
578
- start: Ne,
579
- ending: Pe,
577
+ nodes: e.array(z),
578
+ start: Pe,
579
+ ending: Fe,
580
580
  created_at: e.string(),
581
581
  updated_at: e.string(),
582
582
  links: e.object({
583
583
  sdkSrc: e.string().optional(),
584
584
  sdk_src: e.string().optional()
585
585
  }).passthrough()
586
- }).passthrough(), Ie = Fe.omit({
586
+ }).passthrough(), Le = Ie.omit({
587
587
  id: !0,
588
588
  created_at: !0,
589
589
  updated_at: !0
590
- }), Le = /* @__PURE__ */ function(e) {
590
+ }), Re = /* @__PURE__ */ function(e) {
591
591
  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;
592
- }({}), Re = /* @__PURE__ */ function(e) {
593
- return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
594
592
  }({}), ze = /* @__PURE__ */ function(e) {
593
+ return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
594
+ }({}), Be = /* @__PURE__ */ function(e) {
595
595
  return e.S256 = "S256", e.Plain = "plain", e;
596
- }({}), Be = e.union([e.null(), e.object({
596
+ }({}), Ve = e.union([e.null(), e.object({
597
597
  essential: e.boolean().optional(),
598
598
  value: e.unknown().optional(),
599
599
  values: e.array(e.unknown()).optional()
600
- })]).nullable(), Ve = e.object({
601
- userinfo: e.record(e.string(), Be).optional(),
602
- id_token: e.record(e.string(), Be).optional()
603
- }), He = e.object({
600
+ })]).nullable(), He = e.object({
601
+ userinfo: e.record(e.string(), Ve).optional(),
602
+ id_token: e.record(e.string(), Ve).optional()
603
+ }), Ue = e.object({
604
604
  client_id: e.string(),
605
605
  act_as: e.string().optional(),
606
- response_type: e.nativeEnum(Le).optional(),
607
- response_mode: e.nativeEnum(Re).optional(),
606
+ response_type: e.nativeEnum(Re).optional(),
607
+ response_mode: e.nativeEnum(ze).optional(),
608
608
  redirect_uri: e.string().optional(),
609
609
  audience: e.string().optional(),
610
610
  organization: e.string().optional(),
@@ -612,15 +612,15 @@ var t = e.object({
612
612
  nonce: e.string().optional(),
613
613
  scope: e.string().optional(),
614
614
  prompt: e.string().optional(),
615
- code_challenge_method: e.nativeEnum(ze).optional(),
615
+ code_challenge_method: e.nativeEnum(Be).optional(),
616
616
  code_challenge: e.string().optional(),
617
617
  username: e.string().optional(),
618
618
  ui_locales: e.string().optional(),
619
619
  max_age: e.number().optional(),
620
620
  acr_values: e.string().optional(),
621
- claims: Ve.optional(),
621
+ claims: He.optional(),
622
622
  vendor_id: e.string().optional()
623
- }), Ue = e.object({
623
+ }), We = e.object({
624
624
  colors: e.object({
625
625
  primary: e.string(),
626
626
  page_background: e.union([e.string(), e.object({
@@ -639,7 +639,7 @@ var t = e.object({
639
639
  "light",
640
640
  "auto"
641
641
  ]).optional()
642
- }), We = e.enum([
642
+ }), Ge = e.enum([
643
643
  "password_reset",
644
644
  "email_verification",
645
645
  "otp",
@@ -647,11 +647,11 @@ var t = e.object({
647
647
  "authorization_code",
648
648
  "oauth2_state",
649
649
  "ticket"
650
- ]), Ge = e.object({
650
+ ]), Ke = e.object({
651
651
  code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
652
652
  login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
653
653
  connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
654
- code_type: We,
654
+ code_type: Ge,
655
655
  code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
656
656
  code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
657
657
  code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
@@ -662,7 +662,7 @@ var t = e.object({
662
662
  expires_at: e.string(),
663
663
  used_at: e.string().optional(),
664
664
  user_id: e.string().optional()
665
- }), Ke = Ge.extend({ created_at: e.string() }), qe = e.object({
665
+ }), qe = Ke.extend({ created_at: e.string() }), Je = e.object({
666
666
  kid: e.string().optional(),
667
667
  team_id: e.string().optional(),
668
668
  realms: e.string().optional(),
@@ -778,23 +778,23 @@ var t = e.object({
778
778
  "never_on_login"
779
779
  ]).optional()
780
780
  });
781
- function V(e) {
781
+ function B(e) {
782
782
  if (e !== null) {
783
- if (Array.isArray(e)) return e.filter((e) => e !== null).map(V);
783
+ if (Array.isArray(e)) return e.filter((e) => e !== null).map(B);
784
784
  if (e && typeof e == "object") {
785
785
  let t = {};
786
- for (let [n, r] of Object.entries(e)) r !== null && (t[n] = V(r));
786
+ for (let [n, r] of Object.entries(e)) r !== null && (t[n] = B(r));
787
787
  return t;
788
788
  }
789
789
  return e;
790
790
  }
791
791
  }
792
- var Je = e.object({
792
+ var Ye = e.object({
793
793
  id: e.string().optional(),
794
794
  name: e.string(),
795
795
  display_name: e.string().optional(),
796
796
  strategy: e.string(),
797
- options: e.preprocess((e) => e === null ? {} : V(e), qe).default({}),
797
+ options: e.preprocess((e) => e === null ? {} : B(e), Je).default({}),
798
798
  enabled_clients: e.array(e.string()).default([]).optional(),
799
799
  response_type: e.custom().optional(),
800
800
  response_mode: e.custom().optional(),
@@ -802,11 +802,11 @@ var Je = e.object({
802
802
  show_as_button: e.boolean().optional(),
803
803
  metadata: e.record(e.string(), e.any()).optional(),
804
804
  is_system: e.boolean().optional()
805
- }), Ye = e.object({
805
+ }), Xe = e.object({
806
806
  id: e.string(),
807
807
  created_at: e.string().transform((e) => e === null ? "" : e),
808
808
  updated_at: e.string().transform((e) => e === null ? "" : e)
809
- }).extend(Je.shape), Xe = e.object({
809
+ }).extend(Ye.shape), Ze = e.object({
810
810
  domain: e.string(),
811
811
  custom_domain_id: e.string().optional(),
812
812
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -820,7 +820,7 @@ var Je = e.object({
820
820
  "null"
821
821
  ]).optional(),
822
822
  domain_metadata: e.record(e.string(), e.string().max(255)).optional()
823
- }), Ze = e.discriminatedUnion("name", [e.object({
823
+ }), Qe = e.discriminatedUnion("name", [e.object({
824
824
  name: e.literal("txt"),
825
825
  record: e.string(),
826
826
  domain: e.string()
@@ -828,7 +828,7 @@ var Je = e.object({
828
828
  name: e.literal("http"),
829
829
  http_body: e.string(),
830
830
  http_url: e.string()
831
- })]), Qe = Xe.extend({
831
+ })]), $e = Ze.extend({
832
832
  custom_domain_id: e.string(),
833
833
  primary: e.boolean(),
834
834
  status: e.enum([
@@ -838,19 +838,19 @@ var Je = e.object({
838
838
  "ready"
839
839
  ]),
840
840
  origin_domain_name: e.string().optional(),
841
- verification: e.object({ methods: e.array(Ze) }).optional(),
841
+ verification: e.object({ methods: e.array(Qe) }).optional(),
842
842
  tls_policy: e.string().optional()
843
- }), $e = Qe.extend({ tenant_id: e.string() }), H = e.object({
843
+ }), et = $e.extend({ tenant_id: e.string() }), V = e.object({
844
844
  id: e.string(),
845
845
  order: e.number().optional(),
846
846
  visible: e.boolean().optional().default(!0)
847
- }), U = H.extend({ category: e.literal("BLOCK").optional() }), et = U.extend({
847
+ }), H = V.extend({ category: e.literal("BLOCK").optional() }), tt = H.extend({
848
848
  type: e.literal("DIVIDER"),
849
849
  config: e.object({ text: e.string().optional() }).optional()
850
- }), tt = U.extend({
850
+ }), nt = H.extend({
851
851
  type: e.literal("HTML"),
852
852
  config: e.object({ content: e.string().optional() }).optional()
853
- }), nt = U.extend({
853
+ }), rt = H.extend({
854
854
  type: e.literal("IMAGE"),
855
855
  config: e.object({
856
856
  src: e.string().optional(),
@@ -858,43 +858,43 @@ var Je = e.object({
858
858
  width: e.number().optional(),
859
859
  height: e.number().optional()
860
860
  }).optional()
861
- }), rt = U.extend({
861
+ }), it = H.extend({
862
862
  type: e.literal("JUMP_BUTTON"),
863
863
  config: e.object({
864
864
  text: e.string().optional(),
865
865
  target_step: e.string().optional()
866
866
  })
867
- }), it = U.extend({
867
+ }), at = H.extend({
868
868
  type: e.literal("RESEND_BUTTON"),
869
869
  config: e.object({
870
870
  text: e.string().optional(),
871
871
  resend_action: e.string().optional()
872
872
  })
873
- }), at = U.extend({
873
+ }), ot = H.extend({
874
874
  type: e.literal("NEXT_BUTTON"),
875
875
  config: e.object({ text: e.string().optional() })
876
- }), ot = U.extend({
876
+ }), st = H.extend({
877
877
  type: e.literal("PREVIOUS_BUTTON"),
878
878
  config: e.object({ text: e.string().optional() })
879
- }), st = U.extend({
879
+ }), ct = H.extend({
880
880
  type: e.literal("RICH_TEXT"),
881
881
  config: e.object({ content: e.string().optional() }).optional()
882
- }), W = H.extend({
882
+ }), U = V.extend({
883
883
  category: e.literal("WIDGET").optional(),
884
884
  label: e.string().min(1).optional(),
885
885
  hint: e.string().min(1).max(500).optional(),
886
886
  required: e.boolean().optional(),
887
887
  sensitive: e.boolean().optional()
888
- }), ct = W.extend({
888
+ }), lt = U.extend({
889
889
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
890
890
  config: e.object({ credential_type: e.string().optional() })
891
- }), lt = W.extend({
891
+ }), ut = U.extend({
892
892
  type: e.literal("GMAPS_ADDRESS"),
893
893
  config: e.object({ api_key: e.string().optional() })
894
- }), ut = W.extend({
894
+ }), dt = U.extend({
895
895
  type: e.literal("RECAPTCHA"),
896
896
  config: e.object({ site_key: e.string().optional() })
897
- }), G = H.extend({
897
+ }), W = V.extend({
898
898
  category: e.literal("FIELD").optional(),
899
899
  label: e.string().min(1).optional(),
900
900
  hint: e.string().min(1).max(500).optional(),
@@ -910,10 +910,10 @@ var Je = e.object({
910
910
  })).optional(),
911
911
  required: e.boolean().optional(),
912
912
  sensitive: e.boolean().optional()
913
- }), dt = G.extend({
913
+ }), ft = W.extend({
914
914
  type: e.literal("BOOLEAN"),
915
915
  config: e.object({ default_value: e.boolean().optional() }).optional()
916
- }), ft = G.extend({
916
+ }), pt = W.extend({
917
917
  type: e.literal("CARDS"),
918
918
  config: e.object({
919
919
  options: e.array(e.object({
@@ -924,7 +924,7 @@ var Je = e.object({
924
924
  })).optional(),
925
925
  multi_select: e.boolean().optional()
926
926
  }).optional()
927
- }), pt = G.extend({
927
+ }), mt = W.extend({
928
928
  type: e.literal("CHOICE"),
929
929
  config: e.object({
930
930
  options: e.array(e.object({
@@ -935,7 +935,7 @@ var Je = e.object({
935
935
  multiple: e.boolean().optional(),
936
936
  default_value: e.union([e.string(), e.array(e.string())]).optional()
937
937
  }).optional()
938
- }), mt = G.extend({
938
+ }), ht = W.extend({
939
939
  type: e.literal("CUSTOM"),
940
940
  config: e.object({
941
941
  component: e.string().optional(),
@@ -943,7 +943,7 @@ var Je = e.object({
943
943
  schema: e.record(e.string(), e.any()).optional(),
944
944
  code: e.string().optional()
945
945
  })
946
- }), ht = G.extend({
946
+ }), gt = W.extend({
947
947
  type: e.literal("DATE"),
948
948
  config: e.object({
949
949
  format: e.string().optional(),
@@ -951,7 +951,7 @@ var Je = e.object({
951
951
  max: e.string().optional(),
952
952
  default_value: e.string().optional()
953
953
  }).optional()
954
- }), gt = G.extend({
954
+ }), _t = W.extend({
955
955
  type: e.literal("DROPDOWN"),
956
956
  config: e.object({
957
957
  options: e.array(e.object({
@@ -963,26 +963,26 @@ var Je = e.object({
963
963
  multiple: e.boolean().optional(),
964
964
  default_value: e.union([e.string(), e.array(e.string())]).optional()
965
965
  }).optional()
966
- }), _t = G.extend({
966
+ }), vt = W.extend({
967
967
  type: e.literal("EMAIL"),
968
968
  config: e.object({
969
969
  placeholder: e.string().optional(),
970
970
  default_value: e.string().optional()
971
971
  }).optional()
972
- }), vt = G.extend({
972
+ }), yt = W.extend({
973
973
  type: e.literal("FILE"),
974
974
  config: e.object({
975
975
  accept: e.string().optional(),
976
976
  max_size: e.number().optional(),
977
977
  multiple: e.boolean().optional()
978
978
  }).optional()
979
- }), yt = G.extend({
979
+ }), bt = W.extend({
980
980
  type: e.literal("LEGAL"),
981
981
  config: e.object({
982
982
  text: e.string(),
983
983
  html: e.boolean().optional()
984
984
  }).optional()
985
- }), bt = G.extend({
985
+ }), xt = W.extend({
986
986
  type: e.literal("NUMBER"),
987
987
  config: e.object({
988
988
  placeholder: e.string().optional(),
@@ -991,7 +991,7 @@ var Je = e.object({
991
991
  step: e.number().optional(),
992
992
  default_value: e.string().optional()
993
993
  }).optional()
994
- }), xt = G.extend({
994
+ }), St = W.extend({
995
995
  type: e.literal("PASSWORD"),
996
996
  config: e.object({
997
997
  placeholder: e.string().optional(),
@@ -1000,13 +1000,13 @@ var Je = e.object({
1000
1000
  forgot_password_link: e.string().optional(),
1001
1001
  default_value: e.string().optional()
1002
1002
  }).optional()
1003
- }), St = G.extend({
1003
+ }), Ct = W.extend({
1004
1004
  type: e.literal("PAYMENT"),
1005
1005
  config: e.object({
1006
1006
  provider: e.string().optional(),
1007
1007
  currency: e.string().optional()
1008
1008
  }).optional()
1009
- }), Ct = G.extend({
1009
+ }), wt = W.extend({
1010
1010
  type: e.literal("SOCIAL"),
1011
1011
  config: e.object({
1012
1012
  providers: e.array(e.string()).optional(),
@@ -1018,7 +1018,7 @@ var Je = e.object({
1018
1018
  href: e.string().optional()
1019
1019
  })).optional()
1020
1020
  }).optional()
1021
- }), wt = G.extend({
1021
+ }), Tt = W.extend({
1022
1022
  type: e.literal("TEL"),
1023
1023
  config: e.object({
1024
1024
  placeholder: e.string().optional(),
@@ -1026,7 +1026,7 @@ var Je = e.object({
1026
1026
  default_value: e.string().optional(),
1027
1027
  allow_email: e.boolean().optional()
1028
1028
  }).optional()
1029
- }), Tt = G.extend({
1029
+ }), Et = W.extend({
1030
1030
  type: e.literal("TEXT"),
1031
1031
  config: e.object({
1032
1032
  placeholder: e.string().optional(),
@@ -1034,37 +1034,36 @@ var Je = e.object({
1034
1034
  max_length: e.number().optional(),
1035
1035
  default_value: e.string().optional()
1036
1036
  }).optional()
1037
- }), Et = G.extend({
1037
+ }), Dt = W.extend({
1038
1038
  type: e.literal("COUNTRY"),
1039
1039
  config: e.object({
1040
1040
  placeholder: e.string().optional(),
1041
1041
  default_value: e.string().optional()
1042
1042
  }).optional()
1043
- }), Dt = G.extend({
1043
+ }), Ot = W.extend({
1044
1044
  type: e.literal("URL"),
1045
1045
  config: e.object({
1046
1046
  placeholder: e.string().optional(),
1047
1047
  default_value: e.string().optional()
1048
1048
  }).optional()
1049
- }), Ot = e.discriminatedUnion("type", [
1050
- et,
1049
+ }), kt = e.discriminatedUnion("type", [
1051
1050
  tt,
1052
1051
  nt,
1053
1052
  rt,
1054
1053
  it,
1055
1054
  at,
1056
1055
  ot,
1057
- st
1058
- ]), kt = e.discriminatedUnion("type", [
1059
- ct,
1060
- lt,
1061
- ut
1056
+ st,
1057
+ ct
1062
1058
  ]), At = e.discriminatedUnion("type", [
1063
- dt,
1059
+ lt,
1060
+ ut,
1061
+ dt
1062
+ ]), jt = e.discriminatedUnion("type", [
1064
1063
  ft,
1065
1064
  pt,
1066
- Et,
1067
1065
  mt,
1066
+ Dt,
1068
1067
  ht,
1069
1068
  gt,
1070
1069
  _t,
@@ -1076,12 +1075,13 @@ var Je = e.object({
1076
1075
  Ct,
1077
1076
  wt,
1078
1077
  Tt,
1079
- Dt
1080
- ]), K = e.union([
1081
- Ot,
1078
+ Et,
1079
+ Ot
1080
+ ]), G = e.union([
1082
1081
  kt,
1083
- At
1084
- ]), jt = new Set([
1082
+ At,
1083
+ jt
1084
+ ]), Mt = new Set([
1085
1085
  "BOOLEAN",
1086
1086
  "CARDS",
1087
1087
  "CHOICE",
@@ -1095,7 +1095,7 @@ var Je = e.object({
1095
1095
  "TEL",
1096
1096
  "TEXT",
1097
1097
  "URL"
1098
- ]), Mt = e.object({
1098
+ ]), Nt = e.object({
1099
1099
  id: e.string(),
1100
1100
  type: e.literal("submit"),
1101
1101
  label: e.string(),
@@ -1104,22 +1104,22 @@ var Je = e.object({
1104
1104
  order: e.number().optional(),
1105
1105
  visible: e.boolean().optional().default(!0),
1106
1106
  customizations: e.record(e.string(), e.any()).optional()
1107
- }), q = e.object({
1107
+ }), K = e.object({
1108
1108
  x: e.number(),
1109
1109
  y: e.number()
1110
- }), Nt = e.object({
1110
+ }), Pt = e.object({
1111
1111
  id: e.string(),
1112
1112
  type: e.literal("FLOW"),
1113
- coordinates: q,
1113
+ coordinates: K,
1114
1114
  alias: e.string().min(1).max(150).optional(),
1115
1115
  config: e.object({
1116
1116
  flow_id: e.string().max(30),
1117
1117
  next_node: e.string().optional()
1118
1118
  })
1119
- }), Pt = e.object({
1119
+ }), Ft = e.object({
1120
1120
  id: e.string(),
1121
1121
  type: e.literal("ROUTER"),
1122
- coordinates: q,
1122
+ coordinates: K,
1123
1123
  alias: e.string().min(1).max(150),
1124
1124
  config: e.object({
1125
1125
  rules: e.array(e.object({
@@ -1130,20 +1130,20 @@ var Je = e.object({
1130
1130
  })),
1131
1131
  fallback: e.string()
1132
1132
  })
1133
- }), Ft = e.object({
1133
+ }), It = e.object({
1134
1134
  id: e.string(),
1135
1135
  type: e.literal("STEP"),
1136
- coordinates: q,
1136
+ coordinates: K,
1137
1137
  alias: e.string().min(1).max(150).optional(),
1138
1138
  config: e.object({
1139
- components: e.array(K),
1139
+ components: e.array(G),
1140
1140
  next_node: e.string().optional()
1141
1141
  })
1142
- }), It = e.discriminatedUnion("type", [
1143
- Nt,
1142
+ }), Lt = e.discriminatedUnion("type", [
1144
1143
  Pt,
1145
- Ft
1146
- ]), Lt = e.object({
1144
+ Ft,
1145
+ It
1146
+ ]), Rt = e.object({
1147
1147
  name: e.string().openapi({ description: "The name of the form" }),
1148
1148
  messages: e.object({
1149
1149
  errors: e.record(e.string(), e.any()).optional(),
@@ -1154,14 +1154,14 @@ var Je = e.object({
1154
1154
  default: e.string().optional()
1155
1155
  }).optional(),
1156
1156
  translations: e.record(e.string(), e.any()).optional(),
1157
- nodes: e.array(It).optional(),
1157
+ nodes: e.array(Lt).optional(),
1158
1158
  start: e.object({
1159
1159
  hidden_fields: e.array(e.object({
1160
1160
  key: e.string(),
1161
1161
  value: e.string()
1162
1162
  })).optional(),
1163
1163
  next_node: e.string().optional(),
1164
- coordinates: q.optional()
1164
+ coordinates: K.optional()
1165
1165
  }).optional(),
1166
1166
  ending: e.object({
1167
1167
  redirection: e.object({
@@ -1169,7 +1169,7 @@ var Je = e.object({
1169
1169
  target: e.string().optional()
1170
1170
  }).optional(),
1171
1171
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1172
- coordinates: q.optional(),
1172
+ coordinates: K.optional(),
1173
1173
  resume_flow: e.boolean().optional()
1174
1174
  }).optional(),
1175
1175
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1177,7 +1177,7 @@ var Je = e.object({
1177
1177
  sdkSrc: e.string().optional(),
1178
1178
  sdk_src: e.string().optional()
1179
1179
  }).optional()
1180
- }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), Rt = t.extend(Lt.shape).extend({ id: e.string() }), zt = e.object({
1180
+ }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), zt = t.extend(Rt.shape).extend({ id: e.string() }), Bt = e.object({
1181
1181
  id: e.number().optional(),
1182
1182
  text: e.string(),
1183
1183
  type: e.enum([
@@ -1186,34 +1186,34 @@ var Je = e.object({
1186
1186
  "success",
1187
1187
  "warning"
1188
1188
  ])
1189
- }), J = e.object({
1189
+ }), Vt = e.object({
1190
1190
  id: e.string().optional(),
1191
1191
  text: e.string(),
1192
1192
  href: e.string(),
1193
1193
  linkText: e.string().optional()
1194
- }), Bt = e.object({
1194
+ }), Ht = e.object({
1195
1195
  name: e.string().optional(),
1196
1196
  action: e.string(),
1197
1197
  method: e.enum(["POST", "GET"]),
1198
1198
  title: e.string().optional(),
1199
1199
  description: e.string().optional(),
1200
- components: e.array(K),
1201
- messages: e.array(zt).optional(),
1202
- links: e.array(J).optional(),
1200
+ components: e.array(G),
1201
+ messages: e.array(Bt).optional(),
1202
+ links: e.array(Vt).optional(),
1203
1203
  footer: e.string().optional()
1204
1204
  });
1205
- function Vt(e) {
1205
+ function Ut(e) {
1206
1206
  return e.category === "BLOCK";
1207
1207
  }
1208
- function Ht(e) {
1208
+ function Wt(e) {
1209
1209
  return e.category === "WIDGET";
1210
1210
  }
1211
- function Ut(e) {
1211
+ function Gt(e) {
1212
1212
  return e.category === "FIELD";
1213
1213
  }
1214
1214
  //#endregion
1215
1215
  //#region src/types/Hook.ts
1216
- var Wt = e.enum([
1216
+ var Kt = e.enum([
1217
1217
  "pre-user-registration",
1218
1218
  "post-user-registration",
1219
1219
  "post-user-login",
@@ -1221,28 +1221,28 @@ var Wt = e.enum([
1221
1221
  "validate-registration-username",
1222
1222
  "pre-user-deletion",
1223
1223
  "post-user-deletion"
1224
- ]), Gt = e.enum([
1224
+ ]), qt = e.enum([
1225
1225
  "pre-user-registration",
1226
1226
  "post-user-registration",
1227
1227
  "post-user-login",
1228
1228
  "validate-registration-username",
1229
1229
  "pre-user-deletion",
1230
1230
  "post-user-deletion"
1231
- ]), Kt = e.enum([
1231
+ ]), Jt = e.enum([
1232
1232
  "post-user-login",
1233
1233
  "post-user-registration",
1234
1234
  "post-user-update",
1235
1235
  "credentials-exchange"
1236
- ]), qt = e.enum([
1236
+ ]), Yt = e.enum([
1237
1237
  "post-user-login",
1238
1238
  "credentials-exchange",
1239
1239
  "pre-user-registration",
1240
1240
  "post-user-registration"
1241
- ]), Y = e.enum([
1241
+ ]), q = e.enum([
1242
1242
  "ensure-username",
1243
1243
  "set-preferred-username",
1244
1244
  "account-linking"
1245
- ]), Jt = {
1245
+ ]), Xt = {
1246
1246
  "ensure-username": {
1247
1247
  name: "Ensure Username",
1248
1248
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1262,73 +1262,73 @@ var Wt = e.enum([
1262
1262
  "post-user-update"
1263
1263
  ]
1264
1264
  }
1265
- }, X = {
1265
+ }, J = {
1266
1266
  enabled: e.boolean().default(!1),
1267
1267
  synchronous: e.boolean().default(!1),
1268
1268
  priority: e.number().optional(),
1269
1269
  hook_id: e.string().optional(),
1270
1270
  metadata: e.record(e.string(), e.unknown()).optional()
1271
- }, Yt = e.object({
1272
- ...X,
1273
- trigger_id: Wt,
1274
- url: e.string()
1275
- }), Xt = e.object({
1276
- ...X,
1277
- trigger_id: Gt,
1278
- form_id: e.string()
1279
- }), Zt = e.object({
1280
- ...X,
1271
+ }, Zt = e.object({
1272
+ ...J,
1281
1273
  trigger_id: Kt,
1282
- template_id: Y
1274
+ url: e.string()
1283
1275
  }), Qt = e.object({
1284
- ...X,
1276
+ ...J,
1285
1277
  trigger_id: qt,
1278
+ form_id: e.string()
1279
+ }), $t = e.object({
1280
+ ...J,
1281
+ trigger_id: Jt,
1282
+ template_id: q
1283
+ }), en = e.object({
1284
+ ...J,
1285
+ trigger_id: Yt,
1286
1286
  code_id: e.string()
1287
- }), $t = e.union([
1288
- Yt,
1289
- Xt,
1287
+ }), tn = e.union([
1290
1288
  Zt,
1291
- Qt
1292
- ]), en = e.object({
1293
- ...X,
1294
- trigger_id: Wt
1289
+ Qt,
1290
+ $t,
1291
+ en
1292
+ ]), nn = e.object({
1293
+ ...J,
1294
+ trigger_id: Kt
1295
1295
  }).extend(t.shape).extend({
1296
1296
  hook_id: e.string(),
1297
1297
  url: e.string()
1298
- }), tn = e.object({
1299
- ...X,
1300
- trigger_id: Gt
1298
+ }), rn = e.object({
1299
+ ...J,
1300
+ trigger_id: qt
1301
1301
  }).extend(t.shape).extend({
1302
1302
  hook_id: e.string(),
1303
1303
  form_id: e.string()
1304
- }), nn = e.object({
1305
- ...X,
1306
- trigger_id: Kt
1304
+ }), an = e.object({
1305
+ ...J,
1306
+ trigger_id: Jt
1307
1307
  }).extend(t.shape).extend({
1308
1308
  hook_id: e.string(),
1309
- template_id: Y
1310
- }), rn = e.object({
1311
- ...X,
1312
- trigger_id: qt
1309
+ template_id: q
1310
+ }), on = e.object({
1311
+ ...J,
1312
+ trigger_id: Yt
1313
1313
  }).extend(t.shape).extend({
1314
1314
  hook_id: e.string(),
1315
1315
  code_id: e.string()
1316
- }), an = e.union([
1317
- en,
1318
- tn,
1316
+ }), sn = e.union([
1319
1317
  nn,
1320
- rn
1321
- ]), on = e.object({
1318
+ rn,
1319
+ an,
1320
+ on
1321
+ ]), cn = e.object({
1322
1322
  code: e.string().max(1e5),
1323
1323
  secrets: e.record(e.string(), e.string()).optional()
1324
- }), sn = on.extend({
1324
+ }), ln = cn.extend({
1325
1325
  id: e.string(),
1326
1326
  tenant_id: e.string()
1327
- }).extend(t.shape), cn = e.object({ name: e.string().optional() }), ln = e.object({ email: e.string().optional() }), un = e.object({
1327
+ }).extend(t.shape), un = e.object({ name: e.string().optional() }), dn = e.object({ email: e.string().optional() }), Y = e.object({
1328
1328
  id: e.string().optional(),
1329
1329
  organization_id: e.string().max(50),
1330
- inviter: cn,
1331
- invitee: ln,
1330
+ inviter: un,
1331
+ invitee: dn,
1332
1332
  invitation_url: e.string().url(),
1333
1333
  client_id: e.string(),
1334
1334
  connection_id: e.string().optional(),
@@ -1337,13 +1337,13 @@ var Wt = e.enum([
1337
1337
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1338
1338
  roles: e.array(e.string()).default([]).optional(),
1339
1339
  send_invitation_email: e.boolean().default(!0).optional()
1340
- }), dn = e.object({
1340
+ }), fn = e.object({
1341
1341
  id: e.string(),
1342
1342
  organization_id: e.string().max(50),
1343
1343
  created_at: e.string().datetime(),
1344
1344
  expires_at: e.string().datetime(),
1345
1345
  ticket_id: e.string().optional()
1346
- }).extend(un.omit({ id: !0 }).shape), fn = e.object({
1346
+ }).extend(Y.omit({ id: !0 }).shape), pn = e.object({
1347
1347
  alg: e.enum([
1348
1348
  "RS256",
1349
1349
  "RS384",
@@ -1384,7 +1384,7 @@ var Wt = e.enum([
1384
1384
  path: [r],
1385
1385
  message: `EC JWK is missing required member '${r}'`
1386
1386
  });
1387
- }), pn = e.object({ keys: e.array(fn) }), mn = e.object({
1387
+ }), mn = e.object({ keys: e.array(pn) }), hn = e.object({
1388
1388
  issuer: e.string(),
1389
1389
  authorization_endpoint: e.string(),
1390
1390
  token_endpoint: e.string(),
@@ -1406,34 +1406,35 @@ var Wt = e.enum([
1406
1406
  request_parameter_supported: e.boolean(),
1407
1407
  claims_parameter_supported: e.boolean().optional(),
1408
1408
  request_object_signing_alg_values_supported: e.array(e.string()).optional(),
1409
- token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1410
- }), hn = /* @__PURE__ */ function(e) {
1409
+ token_endpoint_auth_signing_alg_values_supported: e.array(e.string()),
1410
+ client_id_metadata_document_supported: e.boolean().optional()
1411
+ }), gn = /* @__PURE__ */ function(e) {
1411
1412
  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.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
1412
- }({}), gn = e.nativeEnum(hn), _n = e.object({
1413
+ }({}), _n = e.nativeEnum(gn), vn = e.object({
1413
1414
  strategy: e.string(),
1414
1415
  strategy_type: e.string()
1415
- }), vn = e.object({
1416
+ }), yn = e.object({
1416
1417
  csrf_token: e.string(),
1417
1418
  auth0Client: e.string().optional(),
1418
- authParams: He,
1419
+ authParams: Ue,
1419
1420
  expires_at: e.string(),
1420
1421
  deleted_at: e.string().optional(),
1421
1422
  ip: e.string().optional(),
1422
1423
  useragent: e.string().optional(),
1423
1424
  session_id: e.string().optional(),
1424
1425
  authorization_url: e.string().optional(),
1425
- state: gn.optional().default("pending"),
1426
+ state: _n.optional().default("pending"),
1426
1427
  state_data: e.string().optional(),
1427
1428
  failure_reason: e.string().optional(),
1428
1429
  user_id: e.string().optional(),
1429
1430
  auth_connection: e.string().optional(),
1430
- auth_strategy: _n.optional(),
1431
+ auth_strategy: vn.optional(),
1431
1432
  authenticated_at: e.string().optional()
1432
- }).openapi({ description: "This represents a login sesion" }), yn = vn.extend({
1433
+ }).openapi({ description: "This represents a login sesion" }), bn = yn.extend({
1433
1434
  id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
1434
1435
  created_at: e.string(),
1435
1436
  updated_at: e.string()
1436
- }), Z = {
1437
+ }), X = {
1437
1438
  ACLS_SUMMARY: "acls_summary",
1438
1439
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
1439
1440
  API_LIMIT: "api_limit",
@@ -1591,188 +1592,188 @@ var Wt = e.enum([
1591
1592
  WARNING_DURING_LOGIN: "w",
1592
1593
  WARNING_SENDING_NOTIFICATION: "wn",
1593
1594
  WARNING_USER_MANAGEMENT: "wum"
1594
- }, bn = e.string().refine((e) => Object.values(Z).includes(e), { message: "Invalid log type" }), xn = {
1595
- [Z.ACLS_SUMMARY]: "ACLs Summary",
1596
- [Z.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1597
- [Z.API_LIMIT]: "API Rate Limit Reached",
1598
- [Z.API_LIMIT_WARNING]: "API Rate Limit Warning",
1599
- [Z.APPI]: "API Operation",
1600
- [Z.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
1601
- [Z.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
1602
- [Z.CIBA_START_FAILED]: "CIBA Start Failed",
1603
- [Z.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
1604
- [Z.CODE_LINK_SENT]: "Code/Link Sent",
1605
- [Z.CODE_SENT]: "Code Sent",
1606
- [Z.DEPRECATION_NOTICE]: "Deprecation Notice",
1607
- [Z.FAILED_LOGIN]: "Failed Login",
1608
- [Z.FAILED_BY_CONNECTOR]: "Failed by Connector",
1609
- [Z.FAILED_CHANGE_EMAIL]: "Failed Change Email",
1610
- [Z.FAILED_BY_CORS]: "Failed by CORS",
1611
- [Z.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
1612
- [Z.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
1613
- [Z.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
1614
- [Z.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
1615
- [Z.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
1616
- [Z.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
1617
- [Z.FAILED_CHANGE_USERNAME]: "Failed Change Username",
1618
- [Z.FAILED_DELEGATION]: "Failed Delegation",
1619
- [Z.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
1620
- [Z.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
1621
- [Z.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
1622
- [Z.FAILED_USER_DELETION]: "Failed User Deletion",
1623
- [Z.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
1624
- [Z.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
1625
- [Z.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
1626
- [Z.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
1627
- [Z.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
1628
- [Z.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
1629
- [Z.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
1630
- [Z.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
1631
- [Z.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
1632
- [Z.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
1633
- [Z.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
1634
- [Z.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
1635
- [Z.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
1636
- [Z.FAILED_HOOK]: "Failed Hook",
1637
- [Z.FAILED_IMPERSONATION]: "Failed Impersonation",
1638
- [Z.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
1639
- [Z.FAILED_LOGOUT]: "Failed Logout",
1640
- [Z.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
1641
- [Z.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
1642
- [Z.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
1643
- [Z.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
1644
- [Z.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
1645
- [Z.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
1646
- [Z.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
1647
- [Z.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
1648
- [Z.FAILED_SIGNUP]: "Failed Signup",
1649
- [Z.FAILED_SILENT_AUTH]: "Failed Silent Auth",
1650
- [Z.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
1651
- [Z.FAILED_USERS_IMPORT]: "Failed Users Import",
1652
- [Z.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
1653
- [Z.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
1654
- [Z.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
1655
- [Z.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
1656
- [Z.MFA_AUTH_FAILED]: "MFA Auth Failed",
1657
- [Z.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
1658
- [Z.MFA_AUTH_SUCCESS]: "MFA Auth Success",
1659
- [Z.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
1660
- [Z.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
1661
- [Z.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
1662
- [Z.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
1663
- [Z.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
1664
- [Z.MFA_EMAIL_SENT]: "MFA Email Sent",
1665
- [Z.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
1666
- [Z.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
1667
- [Z.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
1668
- [Z.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
1669
- [Z.MFA_SMS_SENT]: "MFA SMS Sent",
1670
- [Z.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
1671
- [Z.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
1672
- [Z.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
1673
- [Z.SECOND_FACTOR_STARTED]: "Second Factor Started",
1674
- [Z.MFA_ENROLL_STARTED]: "MFA Enroll Started",
1675
- [Z.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
1676
- [Z.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
1677
- [Z.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
1678
- [Z.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
1679
- [Z.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
1680
- [Z.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
1681
- [Z.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
1682
- [Z.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
1683
- [Z.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
1684
- [Z.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
1685
- [Z.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
1686
- [Z.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
1687
- [Z.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
1688
- [Z.INFORMATION]: "Information",
1689
- [Z.MFA_REQUIRED]: "MFA Required",
1690
- [Z.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
1691
- [Z.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
1692
- [Z.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
1693
- [Z.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
1694
- [Z.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
1695
- [Z.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
1696
- [Z.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
1697
- [Z.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
1698
- [Z.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
1699
- [Z.BREACHED_PASSWORD]: "Breached Password",
1700
- [Z.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
1701
- [Z.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
1702
- [Z.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
1703
- [Z.SUCCESS_LOGIN]: "Success Login",
1704
- [Z.SUCCESS_API_OPERATION]: "Success API Operation",
1705
- [Z.FAILED_API_OPERATION]: "Failed API Operation",
1706
- [Z.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
1707
- [Z.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
1708
- [Z.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
1709
- [Z.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
1710
- [Z.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
1711
- [Z.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
1712
- [Z.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
1713
- [Z.SUCCESS_DELEGATION]: "Success Delegation",
1714
- [Z.SUCCESS_USER_DELETION]: "Success User Deletion",
1715
- [Z.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
1716
- [Z.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
1717
- [Z.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
1718
- [Z.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
1719
- [Z.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
1720
- [Z.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
1721
- [Z.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
1722
- [Z.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
1723
- [Z.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
1724
- [Z.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
1725
- [Z.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
1726
- [Z.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
1727
- [Z.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
1728
- [Z.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
1729
- [Z.SUCCESS_IMPERSONATION]: "Success Impersonation",
1730
- [Z.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
1731
- [Z.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
1732
- [Z.SUCCESS_LOGOUT]: "Success Logout",
1733
- [Z.SUCCESS_HOOK]: "Success Hook",
1734
- [Z.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
1735
- [Z.SUCCESS_REVOCATION]: "Success Revocation",
1736
- [Z.SUCCESS_SIGNUP]: "Success Signup",
1737
- [Z.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
1738
- [Z.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
1739
- [Z.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
1740
- [Z.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
1741
- [Z.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
1742
- [Z.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
1743
- [Z.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
1744
- [Z.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
1745
- [Z.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
1746
- [Z.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
1747
- [Z.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
1748
- [Z.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
1749
- [Z.WARNING_DURING_LOGIN]: "Warning During Login",
1750
- [Z.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1751
- [Z.WARNING_USER_MANAGEMENT]: "Warning User Management"
1752
- }, Sn = (() => {
1595
+ }, xn = e.string().refine((e) => Object.values(X).includes(e), { message: "Invalid log type" }), Sn = {
1596
+ [X.ACLS_SUMMARY]: "ACLs Summary",
1597
+ [X.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1598
+ [X.API_LIMIT]: "API Rate Limit Reached",
1599
+ [X.API_LIMIT_WARNING]: "API Rate Limit Warning",
1600
+ [X.APPI]: "API Operation",
1601
+ [X.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
1602
+ [X.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
1603
+ [X.CIBA_START_FAILED]: "CIBA Start Failed",
1604
+ [X.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
1605
+ [X.CODE_LINK_SENT]: "Code/Link Sent",
1606
+ [X.CODE_SENT]: "Code Sent",
1607
+ [X.DEPRECATION_NOTICE]: "Deprecation Notice",
1608
+ [X.FAILED_LOGIN]: "Failed Login",
1609
+ [X.FAILED_BY_CONNECTOR]: "Failed by Connector",
1610
+ [X.FAILED_CHANGE_EMAIL]: "Failed Change Email",
1611
+ [X.FAILED_BY_CORS]: "Failed by CORS",
1612
+ [X.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
1613
+ [X.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
1614
+ [X.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
1615
+ [X.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
1616
+ [X.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
1617
+ [X.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
1618
+ [X.FAILED_CHANGE_USERNAME]: "Failed Change Username",
1619
+ [X.FAILED_DELEGATION]: "Failed Delegation",
1620
+ [X.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
1621
+ [X.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
1622
+ [X.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
1623
+ [X.FAILED_USER_DELETION]: "Failed User Deletion",
1624
+ [X.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
1625
+ [X.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
1626
+ [X.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
1627
+ [X.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
1628
+ [X.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
1629
+ [X.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
1630
+ [X.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
1631
+ [X.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
1632
+ [X.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
1633
+ [X.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
1634
+ [X.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
1635
+ [X.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
1636
+ [X.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
1637
+ [X.FAILED_HOOK]: "Failed Hook",
1638
+ [X.FAILED_IMPERSONATION]: "Failed Impersonation",
1639
+ [X.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
1640
+ [X.FAILED_LOGOUT]: "Failed Logout",
1641
+ [X.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
1642
+ [X.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
1643
+ [X.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
1644
+ [X.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
1645
+ [X.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
1646
+ [X.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
1647
+ [X.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
1648
+ [X.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
1649
+ [X.FAILED_SIGNUP]: "Failed Signup",
1650
+ [X.FAILED_SILENT_AUTH]: "Failed Silent Auth",
1651
+ [X.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
1652
+ [X.FAILED_USERS_IMPORT]: "Failed Users Import",
1653
+ [X.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
1654
+ [X.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
1655
+ [X.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
1656
+ [X.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
1657
+ [X.MFA_AUTH_FAILED]: "MFA Auth Failed",
1658
+ [X.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
1659
+ [X.MFA_AUTH_SUCCESS]: "MFA Auth Success",
1660
+ [X.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
1661
+ [X.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
1662
+ [X.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
1663
+ [X.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
1664
+ [X.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
1665
+ [X.MFA_EMAIL_SENT]: "MFA Email Sent",
1666
+ [X.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
1667
+ [X.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
1668
+ [X.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
1669
+ [X.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
1670
+ [X.MFA_SMS_SENT]: "MFA SMS Sent",
1671
+ [X.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
1672
+ [X.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
1673
+ [X.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
1674
+ [X.SECOND_FACTOR_STARTED]: "Second Factor Started",
1675
+ [X.MFA_ENROLL_STARTED]: "MFA Enroll Started",
1676
+ [X.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
1677
+ [X.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
1678
+ [X.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
1679
+ [X.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
1680
+ [X.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
1681
+ [X.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
1682
+ [X.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
1683
+ [X.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
1684
+ [X.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
1685
+ [X.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
1686
+ [X.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
1687
+ [X.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
1688
+ [X.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
1689
+ [X.INFORMATION]: "Information",
1690
+ [X.MFA_REQUIRED]: "MFA Required",
1691
+ [X.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
1692
+ [X.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
1693
+ [X.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
1694
+ [X.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
1695
+ [X.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
1696
+ [X.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
1697
+ [X.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
1698
+ [X.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
1699
+ [X.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
1700
+ [X.BREACHED_PASSWORD]: "Breached Password",
1701
+ [X.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
1702
+ [X.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
1703
+ [X.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
1704
+ [X.SUCCESS_LOGIN]: "Success Login",
1705
+ [X.SUCCESS_API_OPERATION]: "Success API Operation",
1706
+ [X.FAILED_API_OPERATION]: "Failed API Operation",
1707
+ [X.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
1708
+ [X.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
1709
+ [X.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
1710
+ [X.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
1711
+ [X.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
1712
+ [X.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
1713
+ [X.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
1714
+ [X.SUCCESS_DELEGATION]: "Success Delegation",
1715
+ [X.SUCCESS_USER_DELETION]: "Success User Deletion",
1716
+ [X.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
1717
+ [X.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
1718
+ [X.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
1719
+ [X.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
1720
+ [X.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
1721
+ [X.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
1722
+ [X.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
1723
+ [X.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
1724
+ [X.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
1725
+ [X.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
1726
+ [X.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
1727
+ [X.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
1728
+ [X.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
1729
+ [X.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
1730
+ [X.SUCCESS_IMPERSONATION]: "Success Impersonation",
1731
+ [X.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
1732
+ [X.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
1733
+ [X.SUCCESS_LOGOUT]: "Success Logout",
1734
+ [X.SUCCESS_HOOK]: "Success Hook",
1735
+ [X.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
1736
+ [X.SUCCESS_REVOCATION]: "Success Revocation",
1737
+ [X.SUCCESS_SIGNUP]: "Success Signup",
1738
+ [X.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
1739
+ [X.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
1740
+ [X.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
1741
+ [X.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
1742
+ [X.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
1743
+ [X.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
1744
+ [X.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
1745
+ [X.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
1746
+ [X.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
1747
+ [X.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
1748
+ [X.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
1749
+ [X.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
1750
+ [X.WARNING_DURING_LOGIN]: "Warning During Login",
1751
+ [X.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1752
+ [X.WARNING_USER_MANAGEMENT]: "Warning User Management"
1753
+ }, Cn = (() => {
1753
1754
  let e = {};
1754
- for (let [t, n] of Object.entries(Z)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1755
+ for (let [t, n] of Object.entries(X)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1755
1756
  return e;
1756
1757
  })();
1757
- function Cn(e) {
1758
- return xn[e] ?? e;
1759
- }
1760
1758
  function wn(e) {
1761
- return Sn[e] ?? "other";
1759
+ return Sn[e] ?? e;
1762
1760
  }
1763
- var Tn = e.object({
1761
+ function Tn(e) {
1762
+ return Cn[e] ?? "other";
1763
+ }
1764
+ var En = e.object({
1764
1765
  name: e.string(),
1765
1766
  version: e.string(),
1766
1767
  env: e.object({ node: e.string().optional() }).optional()
1767
- }), En = e.object({
1768
+ }), Dn = e.object({
1768
1769
  country_code: e.string().length(2),
1769
1770
  city_name: e.string(),
1770
1771
  latitude: e.string(),
1771
1772
  longitude: e.string(),
1772
1773
  time_zone: e.string(),
1773
1774
  continent_code: e.string()
1774
- }), Dn = e.object({
1775
- type: bn,
1775
+ }), On = e.object({
1776
+ type: xn,
1776
1777
  date: e.string(),
1777
1778
  description: e.string().optional(),
1778
1779
  ip: e.string().optional(),
@@ -1790,58 +1791,58 @@ var Tn = e.object({
1790
1791
  strategy: e.string().optional(),
1791
1792
  strategy_type: e.string().optional(),
1792
1793
  hostname: e.string().optional(),
1793
- auth0_client: Tn.optional(),
1794
+ auth0_client: En.optional(),
1794
1795
  log_id: e.string().optional(),
1795
- location_info: En.optional()
1796
- }), On = Dn.extend({ log_id: e.string() }), kn = e.enum([
1796
+ location_info: Dn.optional()
1797
+ }), kn = On.extend({ log_id: e.string() }), An = e.enum([
1797
1798
  "http",
1798
1799
  "eventbridge",
1799
1800
  "eventgrid",
1800
1801
  "splunk",
1801
1802
  "datadog",
1802
1803
  "sumo"
1803
- ]), Q = e.enum([
1804
+ ]), Z = e.enum([
1804
1805
  "active",
1805
1806
  "paused",
1806
1807
  "suspended"
1807
- ]), An = e.object({
1808
+ ]), jn = e.object({
1808
1809
  type: e.string(),
1809
1810
  name: e.string()
1810
- }), jn = e.object({
1811
+ }), Mn = e.object({
1811
1812
  name: e.string(),
1812
- type: kn,
1813
- status: Q.optional(),
1813
+ type: An,
1814
+ status: Z.optional(),
1814
1815
  sink: e.record(e.string(), e.unknown()),
1815
- filters: e.array(An).optional(),
1816
+ filters: e.array(jn).optional(),
1816
1817
  isPriority: e.boolean().optional()
1817
- }), Mn = jn.extend({
1818
+ }), Nn = Mn.extend({
1818
1819
  id: e.string(),
1819
- status: Q,
1820
+ status: Z,
1820
1821
  created_at: e.string().optional(),
1821
1822
  updated_at: e.string().optional()
1822
- }), Nn = e.enum([
1823
+ }), Pn = e.enum([
1823
1824
  "auth0",
1824
1825
  "cognito",
1825
1826
  "okta",
1826
1827
  "oidc"
1827
- ]), Pn = e.object({
1828
+ ]), Fn = e.object({
1828
1829
  domain: e.string(),
1829
1830
  client_id: e.string(),
1830
1831
  client_secret: e.string(),
1831
1832
  audience: e.string().optional(),
1832
1833
  scope: e.string().optional()
1833
- }), Fn = e.object({
1834
+ }), In = e.object({
1834
1835
  id: e.string().optional(),
1835
1836
  name: e.string(),
1836
- provider: Nn,
1837
+ provider: Pn,
1837
1838
  connection: e.string(),
1838
1839
  enabled: e.boolean().default(!0),
1839
- credentials: Pn
1840
- }), In = e.object({
1840
+ credentials: Fn
1841
+ }), Ln = e.object({
1841
1842
  id: e.string(),
1842
1843
  created_at: e.string(),
1843
1844
  updated_at: e.string()
1844
- }).extend(Fn.shape), Ln = e.object({
1845
+ }).extend(In.shape), Rn = e.object({
1845
1846
  enabled: e.boolean().optional(),
1846
1847
  shields: e.array(e.string()).optional(),
1847
1848
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -1850,13 +1851,13 @@ var Tn = e.object({
1850
1851
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
1851
1852
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
1852
1853
  }).optional()
1853
- }), Rn = e.object({
1854
+ }), zn = e.object({
1854
1855
  enabled: e.boolean().optional(),
1855
1856
  shields: e.array(e.string()).optional(),
1856
1857
  allowlist: e.array(e.string()).optional(),
1857
1858
  mode: e.string().optional(),
1858
1859
  max_attempts: e.number().optional()
1859
- }), zn = e.object({
1860
+ }), Bn = e.object({
1860
1861
  enabled: e.boolean().optional(),
1861
1862
  shields: e.array(e.string()).optional(),
1862
1863
  allowlist: e.array(e.string()).optional(),
@@ -1870,28 +1871,28 @@ var Tn = e.object({
1870
1871
  rate: e.number().optional()
1871
1872
  }).optional()
1872
1873
  }).optional()
1873
- }), Bn = e.object({
1874
- breached_password_detection: Ln.optional(),
1875
- brute_force_protection: Rn.optional(),
1876
- suspicious_ip_throttling: zn.optional()
1877
1874
  }), Vn = e.object({
1875
+ breached_password_detection: Rn.optional(),
1876
+ brute_force_protection: zn.optional(),
1877
+ suspicious_ip_throttling: Bn.optional()
1878
+ }), Hn = e.object({
1878
1879
  id: e.string().optional(),
1879
1880
  user_id: e.string(),
1880
1881
  password: e.string(),
1881
1882
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1882
1883
  is_current: e.boolean().default(!0)
1883
- }), Hn = Vn.extend({
1884
+ }), Un = Hn.extend({
1884
1885
  id: e.string(),
1885
1886
  created_at: e.string(),
1886
1887
  updated_at: e.string()
1887
- }), Un = e.object({
1888
+ }), Wn = e.object({
1888
1889
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1889
1890
  initial_ip: e.string().describe("First IP address associated with this session"),
1890
1891
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1891
1892
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1892
1893
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1893
1894
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1894
- }), Wn = e.object({
1895
+ }), Gn = e.object({
1895
1896
  id: e.string(),
1896
1897
  revoked_at: e.string().optional(),
1897
1898
  used_at: e.string().optional(),
@@ -1899,14 +1900,14 @@ var Tn = e.object({
1899
1900
  expires_at: e.string().optional(),
1900
1901
  login_session_id: e.string(),
1901
1902
  idle_expires_at: e.string().optional(),
1902
- device: Un.describe("Metadata related to the device used in the session"),
1903
+ device: Wn.describe("Metadata related to the device used in the session"),
1903
1904
  clients: e.array(e.string()).describe("List of client details for the session")
1904
- }), Gn = e.object({
1905
+ }), Kn = e.object({
1905
1906
  created_at: e.string(),
1906
1907
  updated_at: e.string(),
1907
1908
  authenticated_at: e.string(),
1908
1909
  last_interaction_at: e.string()
1909
- }).extend(Wn.shape), Kn = e.object({
1910
+ }).extend(Gn.shape), qn = e.object({
1910
1911
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1911
1912
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
1912
1913
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -1922,7 +1923,7 @@ var Tn = e.object({
1922
1923
  revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
1923
1924
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
1924
1925
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
1925
- }), qn = e.object({
1926
+ }), Jn = e.object({
1926
1927
  id: e.string().optional(),
1927
1928
  audience: e.string(),
1928
1929
  friendly_name: e.string(),
@@ -1952,6 +1953,7 @@ var Tn = e.object({
1952
1953
  allow_legacy_ro_grant_types: e.boolean().optional(),
1953
1954
  allow_legacy_tokeninfo_endpoint: e.boolean().optional(),
1954
1955
  change_pwd_flow_v1: e.boolean().optional(),
1956
+ client_id_metadata_document_registration: e.boolean().optional(),
1955
1957
  custom_domains_provisioning: e.boolean().optional(),
1956
1958
  dashboard_insights_view: e.boolean().optional(),
1957
1959
  dashboard_log_streams_next: e.boolean().optional(),
@@ -2020,7 +2022,7 @@ var Tn = e.object({
2020
2022
  mtls: e.object({ enable_endpoint_aliases: e.boolean().optional() }).nullish(),
2021
2023
  pushed_authorization_requests_supported: e.boolean().optional(),
2022
2024
  authorization_response_iss_parameter_supported: e.boolean().optional(),
2023
- attack_protection: Bn.optional(),
2025
+ attack_protection: Vn.optional(),
2024
2026
  mfa: e.object({
2025
2027
  policy: e.enum(["never", "always"]).default("never").optional(),
2026
2028
  factors: e.object({
@@ -2047,15 +2049,15 @@ var Tn = e.object({
2047
2049
  }).optional(),
2048
2050
  phone_message: e.object({ message: e.string().optional() }).optional()
2049
2051
  }).optional()
2050
- }), Jn = e.object({
2052
+ }), Yn = e.object({
2051
2053
  created_at: e.string().nullable().transform((e) => e ?? ""),
2052
2054
  updated_at: e.string().nullable().transform((e) => e ?? "")
2053
- }).extend(qn.shape).extend({
2055
+ }).extend(Jn.shape).extend({
2054
2056
  id: e.string(),
2055
2057
  is_control_plane: e.boolean().optional()
2056
- }), Yn = /* @__PURE__ */ function(e) {
2058
+ }), Xn = /* @__PURE__ */ function(e) {
2057
2059
  return e.RefreshToken = "refresh_token", e.AuthorizationCode = "authorization_code", e.ClientCredential = "client_credentials", e.Passwordless = "passwordless", e.Password = "password", e.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", e;
2058
- }({}), Xn = e.object({
2060
+ }({}), Zn = e.object({
2059
2061
  access_token: e.string(),
2060
2062
  id_token: e.string().optional(),
2061
2063
  scope: e.string().optional(),
@@ -2070,7 +2072,7 @@ e.object({
2070
2072
  });
2071
2073
  //#endregion
2072
2074
  //#region src/types/Theme.ts
2073
- var Zn = e.object({
2075
+ var Qn = e.object({
2074
2076
  button_border_radius: e.number(),
2075
2077
  button_border_weight: e.number(),
2076
2078
  buttons_style: e.enum([
@@ -2088,7 +2090,7 @@ var Zn = e.object({
2088
2090
  show_widget_shadow: e.boolean(),
2089
2091
  widget_border_weight: e.number(),
2090
2092
  widget_corner_radius: e.number()
2091
- }), Qn = e.object({
2093
+ }), $n = e.object({
2092
2094
  base_focus_color: e.string(),
2093
2095
  base_hover_color: e.string(),
2094
2096
  body_text: e.string(),
@@ -2112,20 +2114,20 @@ var Zn = e.object({
2112
2114
  success: e.string(),
2113
2115
  widget_background: e.string(),
2114
2116
  widget_border: e.string()
2115
- }), $ = e.object({
2117
+ }), Q = e.object({
2116
2118
  bold: e.boolean(),
2117
2119
  size: e.number()
2118
- }), $n = e.object({
2119
- body_text: $,
2120
- buttons_text: $,
2120
+ }), er = e.object({
2121
+ body_text: Q,
2122
+ buttons_text: Q,
2121
2123
  font_url: e.string(),
2122
- input_labels: $,
2123
- links: $,
2124
+ input_labels: Q,
2125
+ links: Q,
2124
2126
  links_style: e.enum(["normal", "underlined"]),
2125
2127
  reference_text_size: e.number(),
2126
- subtitle: $,
2127
- title: $
2128
- }), er = e.object({
2128
+ subtitle: Q,
2129
+ title: Q
2130
+ }), tr = e.object({
2129
2131
  background_color: e.string(),
2130
2132
  background_image_url: e.string(),
2131
2133
  page_layout: e.enum([
@@ -2138,7 +2140,7 @@ var Zn = e.object({
2138
2140
  "chip",
2139
2141
  "none"
2140
2142
  ]).optional()
2141
- }), tr = e.object({
2143
+ }), nr = e.object({
2142
2144
  header_text_alignment: e.enum([
2143
2145
  "center",
2144
2146
  "left",
@@ -2153,25 +2155,44 @@ var Zn = e.object({
2153
2155
  ]),
2154
2156
  logo_url: e.string(),
2155
2157
  social_buttons_layout: e.enum(["bottom", "top"])
2156
- }), nr = e.object({
2157
- borders: Zn,
2158
- colors: Qn,
2158
+ }), rr = e.object({
2159
+ borders: Qn,
2160
+ colors: $n,
2159
2161
  displayName: e.string(),
2160
- fonts: $n,
2161
- page_background: er,
2162
- widget: tr
2163
- }), rr = nr.extend({ themeId: e.string() }), ir = e.object({
2162
+ fonts: er,
2163
+ page_background: tr,
2164
+ widget: nr
2165
+ }), ir = rr.extend({ themeId: e.string() }), ar = e.object({
2164
2166
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2165
2167
  identifier_first: e.boolean().default(!0),
2166
2168
  password_first: e.boolean().default(!1),
2167
2169
  webauthn_platform_first_factor: e.boolean()
2168
- }), ar = e.object({
2170
+ }), or = e.object({
2171
+ hosts: e.array(e.string()).optional(),
2172
+ methods: e.array(e.string()).optional(),
2173
+ path: e.string().default("/*"),
2174
+ headers: e.record(e.string(), e.string()).optional(),
2175
+ query: e.record(e.string(), e.string()).optional()
2176
+ }), sr = e.object({
2177
+ type: e.string(),
2178
+ options: e.record(e.string(), e.unknown()).default({})
2179
+ }), $ = e.object({
2180
+ custom_domain_id: e.string(),
2181
+ priority: e.number().int().default(100),
2182
+ match: or,
2183
+ handlers: e.array(sr).min(1)
2184
+ }), cr = $.extend({
2185
+ id: e.string(),
2186
+ tenant_id: e.string(),
2187
+ created_at: e.string(),
2188
+ updated_at: e.string()
2189
+ }), lr = $.partial().omit({ custom_domain_id: !0 }), ur = e.object({
2169
2190
  name: e.string(),
2170
2191
  enabled: e.boolean().optional().default(!0),
2171
2192
  default_from_address: e.string().optional(),
2172
2193
  credentials: e.record(e.string(), e.unknown()),
2173
2194
  settings: e.object({}).optional()
2174
- }), or = e.enum([
2195
+ }), dr = e.enum([
2175
2196
  "verify_email",
2176
2197
  "verify_email_by_code",
2177
2198
  "reset_email",
@@ -2184,8 +2205,8 @@ var Zn = e.object({
2184
2205
  "change_password",
2185
2206
  "password_reset",
2186
2207
  "user_invitation"
2187
- ]), sr = e.object({
2188
- template: or,
2208
+ ]), fr = e.object({
2209
+ template: dr,
2189
2210
  body: e.string(),
2190
2211
  from: e.string(),
2191
2212
  subject: e.string(),
@@ -2194,7 +2215,7 @@ var Zn = e.object({
2194
2215
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2195
2216
  includeEmailInRedirect: e.boolean().default(!1),
2196
2217
  enabled: e.boolean().default(!0)
2197
- }), cr = e.object({
2218
+ }), pr = e.object({
2198
2219
  id: e.string(),
2199
2220
  login_id: e.string(),
2200
2221
  user_id: e.string(),
@@ -2202,7 +2223,7 @@ var Zn = e.object({
2202
2223
  expires_at: e.string().optional(),
2203
2224
  idle_expires_at: e.string().optional(),
2204
2225
  last_exchanged_at: e.string().optional(),
2205
- device: Un,
2226
+ device: Wn,
2206
2227
  resource_servers: e.array(e.object({
2207
2228
  audience: e.string(),
2208
2229
  scopes: e.string()
@@ -2213,19 +2234,19 @@ var Zn = e.object({
2213
2234
  family_id: e.string().optional(),
2214
2235
  rotated_to: e.string().optional(),
2215
2236
  rotated_at: e.string().optional()
2216
- }), lr = cr.extend({
2237
+ }), mr = pr.extend({
2217
2238
  created_at: e.string(),
2218
2239
  revoked_at: e.string().optional()
2219
- }), ur = e.object({
2240
+ }), hr = e.object({
2220
2241
  to: e.string(),
2221
2242
  message: e.string()
2222
- }), dr = e.object({
2243
+ }), gr = e.object({
2223
2244
  name: e.string(),
2224
2245
  options: e.object({})
2225
- }), fr = e.object({
2246
+ }), _r = e.object({
2226
2247
  value: e.string(),
2227
2248
  description: e.string().optional()
2228
- }), pr = e.object({
2249
+ }), vr = e.object({
2229
2250
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2230
2251
  enforce_policies: e.boolean().optional(),
2231
2252
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2233,11 +2254,11 @@ var Zn = e.object({
2233
2254
  persist_client_authorization: e.boolean().optional(),
2234
2255
  enable_introspection_endpoint: e.boolean().optional(),
2235
2256
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
2236
- }), mr = e.object({
2257
+ }), yr = e.object({
2237
2258
  id: e.string().optional(),
2238
2259
  name: e.string(),
2239
2260
  identifier: e.string(),
2240
- scopes: e.array(fr).optional(),
2261
+ scopes: e.array(_r).optional(),
2241
2262
  signing_alg: e.string().optional(),
2242
2263
  signing_secret: e.string().optional(),
2243
2264
  token_lifetime: e.number().default(86400),
@@ -2245,25 +2266,25 @@ var Zn = e.object({
2245
2266
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2246
2267
  allow_offline_access: e.boolean().optional(),
2247
2268
  verificationKey: e.string().optional(),
2248
- options: pr.optional(),
2269
+ options: vr.optional(),
2249
2270
  is_system: e.boolean().optional(),
2250
2271
  metadata: e.record(e.string(), e.any()).optional()
2251
- }), hr = mr.extend({
2272
+ }), br = yr.extend({
2252
2273
  created_at: e.string().optional(),
2253
2274
  updated_at: e.string().optional()
2254
- }), gr = e.array(hr), _r = e.object({
2275
+ }), xr = e.array(br), Sr = e.object({
2255
2276
  role_id: e.string(),
2256
2277
  resource_server_identifier: e.string(),
2257
2278
  permission_name: e.string()
2258
- }), vr = _r.extend({ created_at: e.string() }), yr = e.array(vr), br = e.object({
2279
+ }), Cr = Sr.extend({ created_at: e.string() }), wr = e.array(Cr), Tr = e.object({
2259
2280
  user_id: e.string(),
2260
2281
  resource_server_identifier: e.string(),
2261
2282
  permission_name: e.string(),
2262
2283
  organization_id: e.string().optional()
2263
- }), xr = br.extend({
2284
+ }), Er = Tr.extend({
2264
2285
  tenant_id: e.string(),
2265
2286
  created_at: e.string().optional()
2266
- }), Sr = e.array(xr), Cr = e.object({
2287
+ }), Dr = e.array(Er), Or = e.object({
2267
2288
  user_id: e.string(),
2268
2289
  resource_server_identifier: e.string(),
2269
2290
  resource_server_name: e.string(),
@@ -2271,65 +2292,65 @@ var Zn = e.object({
2271
2292
  description: e.string().nullable().optional(),
2272
2293
  created_at: e.string().optional(),
2273
2294
  organization_id: e.string().optional()
2274
- }), wr = e.array(Cr), Tr = e.object({
2295
+ }), kr = e.array(Or), Ar = e.object({
2275
2296
  user_id: e.string(),
2276
2297
  role_id: e.string(),
2277
2298
  organization_id: e.string().optional()
2278
- }), Er = Tr.extend({
2299
+ }), jr = Ar.extend({
2279
2300
  tenant_id: e.string(),
2280
2301
  created_at: e.string().optional()
2281
- }), Dr = e.array(Er), Or = e.object({
2302
+ }), Mr = e.array(jr), Nr = e.object({
2282
2303
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
2283
2304
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
2284
2305
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
2285
2306
  is_system: e.boolean().optional(),
2286
2307
  metadata: e.record(e.string(), e.any()).optional().openapi({ description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios." })
2287
- }), kr = Or.extend({
2308
+ }), Pr = Nr.extend({
2288
2309
  id: e.string().openapi({ description: "The unique identifier of the role" }),
2289
2310
  created_at: e.string().optional(),
2290
2311
  updated_at: e.string().optional()
2291
- }), Ar = e.array(kr), jr = e.object({
2312
+ }), Fr = e.array(Pr), Ir = e.object({
2292
2313
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
2293
2314
  colors: e.object({
2294
2315
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
2295
2316
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
2296
2317
  }).optional()
2297
- }).optional(), Mr = e.object({
2318
+ }).optional(), Lr = e.object({
2298
2319
  connection_id: e.string().openapi({ description: "ID of the connection" }),
2299
2320
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
2300
2321
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
2301
2322
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
2302
- }), Nr = e.object({ client_credentials: e.object({
2323
+ }), Rr = e.object({ client_credentials: e.object({
2303
2324
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
2304
2325
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
2305
2326
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
2306
- }).optional() }).optional(), Pr = e.object({
2327
+ }).optional() }).optional(), zr = e.object({
2307
2328
  id: e.string().optional(),
2308
2329
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, { message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores" }).openapi({ description: "The name of the organization. Must be lowercase and can only contain letters, numbers, hyphens, and underscores." }),
2309
2330
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
2310
- branding: jr,
2331
+ branding: Ir,
2311
2332
  metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
2312
- enabled_connections: e.array(Mr).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2313
- token_quota: Nr
2314
- }), Fr = Pr.extend(t.shape).extend({
2333
+ enabled_connections: e.array(Lr).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2334
+ token_quota: Rr
2335
+ }), Br = zr.extend(t.shape).extend({
2315
2336
  id: e.string(),
2316
2337
  name: e.string().min(1).openapi({ description: "The name of the organization" })
2317
- }), Ir = e.object({
2338
+ }), Vr = e.object({
2318
2339
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
2319
2340
  assign_membership_on_login: e.boolean().optional().default(!1),
2320
2341
  show_as_button: e.boolean().optional().default(!0),
2321
2342
  is_signup_enabled: e.boolean().optional().default(!0)
2322
- }), Lr = Ir.extend({
2343
+ }), Hr = Vr.extend({
2323
2344
  connection: e.object({
2324
2345
  name: e.string().optional(),
2325
2346
  strategy: e.string().optional()
2326
2347
  }).optional(),
2327
2348
  created_at: e.string().optional(),
2328
2349
  updated_at: e.string().optional()
2329
- }), Rr = e.array(Lr), zr = e.object({
2350
+ }), Ur = e.array(Hr), Wr = e.object({
2330
2351
  user_id: e.string().openapi({ description: "ID of the user" }),
2331
2352
  organization_id: e.string().openapi({ description: "ID of the organization" })
2332
- }), Br = zr.extend(t.shape).extend({ id: e.string() }), Vr = e.object({
2353
+ }), Gr = Wr.extend(t.shape).extend({ id: e.string() }), Kr = e.object({
2333
2354
  idle_session_lifetime: e.number().default(72),
2334
2355
  session_lifetime: e.number().default(168),
2335
2356
  session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
@@ -2408,7 +2429,7 @@ var Zn = e.object({
2408
2429
  }).optional(),
2409
2430
  phone_message: e.object({ message: e.string().optional() }).optional()
2410
2431
  }).optional()
2411
- }), Hr = e.object({
2432
+ }), qr = e.object({
2412
2433
  date: e.string().openapi({
2413
2434
  description: "Date these events occurred in ISO 8601 format",
2414
2435
  example: "2025-12-19"
@@ -2433,55 +2454,55 @@ var Zn = e.object({
2433
2454
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2434
2455
  example: "2025-12-19T00:00:00.000Z"
2435
2456
  })
2436
- }), Ur = e.number().openapi({
2457
+ }), Jr = e.number().openapi({
2437
2458
  description: "Number of active users in the last 30 days",
2438
2459
  example: 1234
2439
- }), Wr = e.enum([
2460
+ }), Yr = e.enum([
2440
2461
  "active-users",
2441
2462
  "logins",
2442
2463
  "signups",
2443
2464
  "refresh-tokens",
2444
2465
  "sessions"
2445
- ]), Gr = e.enum([
2466
+ ]), Xr = e.enum([
2446
2467
  "hour",
2447
2468
  "day",
2448
2469
  "week",
2449
2470
  "month"
2450
- ]), Kr = e.enum([
2471
+ ]), Zr = e.enum([
2451
2472
  "time",
2452
2473
  "connection",
2453
2474
  "client_id",
2454
2475
  "user_type",
2455
2476
  "event"
2456
- ]), qr = e.enum([
2477
+ ]), Qr = e.enum([
2457
2478
  "password",
2458
2479
  "social",
2459
2480
  "passwordless",
2460
2481
  "enterprise"
2461
- ]), Jr = e.object({
2482
+ ]), $r = e.object({
2462
2483
  name: e.string(),
2463
2484
  type: e.string()
2464
- }), Yr = e.object({
2485
+ }), ei = e.object({
2465
2486
  elapsed: e.number(),
2466
2487
  rows_read: e.number().optional(),
2467
2488
  bytes_read: e.number().optional()
2468
- }), Xr = e.object({
2469
- meta: e.array(Jr),
2489
+ }), ti = e.object({
2490
+ meta: e.array($r),
2470
2491
  data: e.array(e.record(e.string(), e.any())),
2471
2492
  rows: e.number(),
2472
2493
  rows_before_limit_at_least: e.number().optional(),
2473
- statistics: Yr.optional()
2474
- }), Zr = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), Qr = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2494
+ statistics: ei.optional()
2495
+ }), ni = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), ri = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2475
2496
  type: "object",
2476
2497
  additionalProperties: {
2477
2498
  type: "object",
2478
2499
  additionalProperties: { type: "string" }
2479
2500
  }
2480
- }), $r = e.object({
2481
- prompt: Zr,
2501
+ }), ii = e.object({
2502
+ prompt: ni,
2482
2503
  language: e.string(),
2483
- custom_text: Qr
2484
- }), ei = {
2504
+ custom_text: ri
2505
+ }), ai = {
2485
2506
  EMAIL: "email",
2486
2507
  SMS: "sms",
2487
2508
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2496,11 +2517,11 @@ var Zn = e.object({
2496
2517
  SAMLP: "samlp",
2497
2518
  WAAD: "waad",
2498
2519
  ADFS: "adfs"
2499
- }, ti = {
2520
+ }, oi = {
2500
2521
  DATABASE: "database",
2501
2522
  SOCIAL: "social",
2502
2523
  PASSWORDLESS: "passwordless"
2503
- }, ni = e.enum([
2524
+ }, si = e.enum([
2504
2525
  "phone",
2505
2526
  "totp",
2506
2527
  "email",
@@ -2508,9 +2529,9 @@ var Zn = e.object({
2508
2529
  "webauthn-roaming",
2509
2530
  "webauthn-platform",
2510
2531
  "passkey"
2511
- ]), ri = e.object({
2532
+ ]), ci = e.object({
2512
2533
  user_id: e.string(),
2513
- type: ni,
2534
+ type: si,
2514
2535
  phone_number: e.string().optional(),
2515
2536
  totp_secret: e.string().optional(),
2516
2537
  credential_id: e.string().optional(),
@@ -2521,7 +2542,7 @@ var Zn = e.object({
2521
2542
  friendly_name: e.string().optional(),
2522
2543
  confirmed: e.boolean().default(!1)
2523
2544
  });
2524
- function ii(t, n) {
2545
+ function li(t, n) {
2525
2546
  t.type === "phone" && !t.phone_number && n.addIssue({
2526
2547
  code: e.ZodIssueCode.custom,
2527
2548
  message: "phone_number is required when type is 'phone'",
@@ -2544,14 +2565,14 @@ function ii(t, n) {
2544
2565
  path: ["public_key"]
2545
2566
  }));
2546
2567
  }
2547
- var ai = ri.superRefine(ii), oi = ri.extend({
2568
+ var ui = ci.superRefine(li), di = ci.extend({
2548
2569
  id: e.string(),
2549
2570
  created_at: e.string(),
2550
2571
  updated_at: e.string()
2551
- }).superRefine(ii);
2572
+ }).superRefine(li);
2552
2573
  //#endregion
2553
2574
  //#region src/utils/user-id.ts
2554
- function si(e) {
2575
+ function fi(e) {
2555
2576
  let [t, n] = e.split("|");
2556
2577
  if (!t || !n) throw Error(`Invalid user_id: ${e}`);
2557
2578
  return {
@@ -2561,7 +2582,7 @@ function si(e) {
2561
2582
  }
2562
2583
  //#endregion
2563
2584
  //#region src/utils/passthrough.ts
2564
- function ci(e) {
2585
+ function pi(e) {
2565
2586
  let { primary: t, secondaries: n, syncMethods: r = [
2566
2587
  "create",
2567
2588
  "rawCreate",
@@ -2595,12 +2616,12 @@ function ci(e) {
2595
2616
  } : i.bind(e) : i;
2596
2617
  } });
2597
2618
  }
2598
- function li(e) {
2619
+ function mi(e) {
2599
2620
  return e;
2600
2621
  }
2601
2622
  //#endregion
2602
2623
  //#region src/utils/connection-attributes.ts
2603
- function ui(e) {
2624
+ function hi(e) {
2604
2625
  let t = e?.options;
2605
2626
  if (!t) return {
2606
2627
  usernameIdentifierActive: !1,
@@ -2623,8 +2644,8 @@ function ui(e) {
2623
2644
  }
2624
2645
  //#endregion
2625
2646
  //#region src/utils/guards.ts
2626
- function di(e) {
2647
+ function gi(e) {
2627
2648
  return typeof e == "object" && !!e && !Array.isArray(e);
2628
2649
  }
2629
2650
  //#endregion
2630
- export { ve as Auth0ActionEnum, Tn as Auth0Client, Re as AuthorizationResponseMode, Le as AuthorizationResponseType, ze as CodeChallengeMethod, O as ComponentCategory, D as ComponentType, ye as EmailActionEnum, jt as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, Yn as GrantType, En as LocationInfo, Z as LogTypes, hn as LoginSessionState, Me as NodeType, d as RedirectTargetEnum, ei as Strategy, ti 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, R as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, Ur as activeUsersResponseSchema, le as actorSchema, _ as addressSchema, Jr as analyticsColumnMetaSchema, Kr as analyticsGroupBySchema, Gr as analyticsIntervalSchema, Xr as analyticsQueryResponseSchema, Wr as analyticsResourceSchema, Yr as analyticsStatisticsSchema, qr as analyticsUserTypeSchema, Bn as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, Ie as auth0FlowInsertSchema, Fe as auth0FlowSchema, Ce as auth0QuerySchema, xe as auth0UpdateUserActionSchema, Te as auth0UserResponseSchema, He as authParamsSchema, ai as authenticationMethodInsertSchema, oi as authenticationMethodSchema, ni as authenticationMethodTypeSchema, v as baseUserSchema, Ot as blockComponentSchema, Zn as bordersSchema, Ue as brandingSchema, Ln as breachedPasswordDetectionSchema, Rn as bruteForceProtectionSchema, j as buttonComponentSchema, Ve as claimsRequestSchema, S as clientGrantInsertSchema, Ae as clientGrantListSchema, C as clientGrantSchema, x as clientInsertSchema, T as clientRegistrationTokenInsertSchema, je as clientRegistrationTokenSchema, w as clientRegistrationTokenTypeSchema, ke as clientSchema, Ge as codeInsertSchema, Ke as codeSchema, We as codeTypeSchema, Qn as colorsSchema, zt as componentMessageSchema, F as componentSchema, Je as connectionInsertSchema, qe as connectionOptionsSchema, Ye as connectionSchema, E as coordinatesSchema, ci as createPassthroughAdapter, li as createWriteOnlyAdapter, Xe as customDomainInsertSchema, Qe as customDomainSchema, $e as customDomainWithTenantIdSchema, $r as customTextEntrySchema, Qr as customTextSchema, Hr as dailyStatsSchema, ar as emailProviderSchema, or as emailTemplateNameSchema, sr as emailTemplateSchema, be as emailVerificationRulesSchema, u as emailVerifyActionSchema, Pe as endingSchema, At as fieldComponentSchema, p as flowActionStepSchema, m as flowInsertSchema, Se as flowSchema, N as flowsFieldComponentSchema, L as flowsFlowNodeSchema, I as flowsStepNodeSchema, $ as fontDetailsSchema, $n as fontsSchema, Mt as formControlSchema, Lt as formInsertSchema, K as formNodeComponentDefinition, It as formNodeSchema, Rt as formSchema, P as genericComponentSchema, z as genericNodeSchema, ui as getConnectionIdentifierConfig, wn as getLogTypeCategory, Cn as getLogTypeDescription, on as hookCodeInsertSchema, sn as hookCodeSchema, $t as hookInsertSchema, an as hookSchema, Y as hookTemplateId, Jt as hookTemplates, g as identitySchema, un as inviteInsertSchema, dn as inviteSchema, ln as inviteeSchema, cn as inviterSchema, Vt as isBlockComponent, Ut as isFieldComponent, di as isPlainObject, Ht as isWidgetComponent, pn as jwksKeySchema, fn as jwksSchema, M as legalComponentSchema, pe as locationInfoSchema, Dn as logInsertSchema, On as logSchema, An as logStreamFilterSchema, jn as logStreamInsertSchema, Mn as logStreamSchema, Q as logStreamStatusSchema, kn as logStreamTypeSchema, Sn as logTypeCategories, xn as logTypeDescriptions, _n as loginSessionAuthStrategySchema, vn as loginSessionInsertSchema, yn as loginSessionSchema, gn as loginSessionStateSchema, Nn as migrationProviderTypeSchema, Pn as migrationSourceCredentialsSchema, Fn as migrationSourceInsertSchema, In as migrationSourceSchema, B as nodeSchema, mn as openIDConfigurationSchema, jr as organizationBrandingSchema, Ir as organizationConnectionInsertSchema, Rr as organizationConnectionListSchema, Lr as organizationConnectionSchema, Mr as organizationEnabledConnectionSchema, Pr as organizationInsertSchema, Fr as organizationSchema, Nr as organizationTokenQuotaSchema, er as pageBackgroundSchema, si as parseUserId, Vn as passwordInsertSchema, Hn as passwordSchema, h as profileDataSchema, Zr as promptScreenSchema, ir as promptSettingSchema, f as redirectActionSchema, cr as refreshTokenInsertSchema, lr as refreshTokenSchema, de as requestContextSchema, mr as resourceServerInsertSchema, gr as resourceServerListSchema, pr as resourceServerOptionsSchema, hr as resourceServerSchema, fr as resourceServerScopeSchema, fe as responseContextSchema, A as richTextComponentSchema, Or as roleInsertSchema, Ar as roleListSchema, _r as rolePermissionInsertSchema, yr as rolePermissionListSchema, vr as rolePermissionSchema, kr as roleSchema, J as screenLinkSchema, Wn as sessionInsertSchema, Gn as sessionSchema, Kn as signingKeySchema, dr as smsProviderSchema, ur as smsSendParamsSchema, Ne as startSchema, zn as suspiciousIpThrottlingSchema, ue as targetSchema, qn as tenantInsertSchema, Jn as tenantSchema, Vr as tenantSettingsSchema, nr as themeInsertSchema, rr as themeSchema, Xn as tokenResponseSchema, we as totalsSchema, Bt as uiScreenSchema, y as userInsertSchema, zr as userOrganizationInsertSchema, Br as userOrganizationSchema, br as userPermissionInsertSchema, Sr as userPermissionListSchema, xr as userPermissionSchema, wr as userPermissionWithDetailsListSchema, Cr as userPermissionWithDetailsSchema, Ee as userResponseSchema, Tr as userRoleInsertSchema, Dr as userRoleListSchema, Er as userRoleSchema, b as userSchema, Ze as verificationMethodsSchema, kt as widgetComponentSchema, tr as widgetSchema };
2651
+ export { ve as Auth0ActionEnum, En as Auth0Client, ze as AuthorizationResponseMode, Re as AuthorizationResponseType, Be as CodeChallengeMethod, D as ComponentCategory, E as ComponentType, ye as EmailActionEnum, Mt as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, Xn as GrantType, Dn as LocationInfo, X as LogTypes, gn as LoginSessionState, Ne as NodeType, u as RedirectTargetEnum, ai as Strategy, oi 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, L as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, Jr as activeUsersResponseSchema, le as actorSchema, g as addressSchema, $r as analyticsColumnMetaSchema, Zr as analyticsGroupBySchema, Xr as analyticsIntervalSchema, ti as analyticsQueryResponseSchema, Yr as analyticsResourceSchema, ei as analyticsStatisticsSchema, Qr as analyticsUserTypeSchema, Vn as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, Le as auth0FlowInsertSchema, Ie as auth0FlowSchema, we as auth0QuerySchema, xe as auth0UpdateUserActionSchema, Ee as auth0UserResponseSchema, Ue as authParamsSchema, ui as authenticationMethodInsertSchema, di as authenticationMethodSchema, si as authenticationMethodTypeSchema, _ as baseUserSchema, kt as blockComponentSchema, Qn as bordersSchema, We as brandingSchema, Rn as breachedPasswordDetectionSchema, zn as bruteForceProtectionSchema, A as buttonComponentSchema, He as claimsRequestSchema, x as clientGrantInsertSchema, je as clientGrantListSchema, S as clientGrantSchema, b as clientInsertSchema, w as clientRegistrationTokenInsertSchema, Me as clientRegistrationTokenSchema, C as clientRegistrationTokenTypeSchema, Ae as clientSchema, Ke as codeInsertSchema, qe as codeSchema, Ge as codeTypeSchema, $n as colorsSchema, Bt as componentMessageSchema, P as componentSchema, Ye as connectionInsertSchema, Je as connectionOptionsSchema, Xe as connectionSchema, T as coordinatesSchema, pi as createPassthroughAdapter, mi as createWriteOnlyAdapter, Ze as customDomainInsertSchema, $e as customDomainSchema, et as customDomainWithTenantIdSchema, ii as customTextEntrySchema, ri as customTextSchema, qr as dailyStatsSchema, ur as emailProviderSchema, dr as emailTemplateNameSchema, fr as emailTemplateSchema, be as emailVerificationRulesSchema, Se as emailVerifyActionSchema, Fe as endingSchema, jt as fieldComponentSchema, f as flowActionStepSchema, p as flowInsertSchema, Ce as flowSchema, M as flowsFieldComponentSchema, I as flowsFlowNodeSchema, F as flowsStepNodeSchema, Q as fontDetailsSchema, er as fontsSchema, Nt as formControlSchema, Rt as formInsertSchema, G as formNodeComponentDefinition, Lt as formNodeSchema, zt as formSchema, N as genericComponentSchema, R as genericNodeSchema, hi as getConnectionIdentifierConfig, Tn as getLogTypeCategory, wn as getLogTypeDescription, sr as handlerConfigSchema, cn as hookCodeInsertSchema, ln as hookCodeSchema, tn as hookInsertSchema, sn as hookSchema, q as hookTemplateId, Xt as hookTemplates, h as identitySchema, Y as inviteInsertSchema, fn as inviteSchema, dn as inviteeSchema, un as inviterSchema, Ut as isBlockComponent, Gt as isFieldComponent, gi as isPlainObject, Wt as isWidgetComponent, mn as jwksKeySchema, pn as jwksSchema, j as legalComponentSchema, pe as locationInfoSchema, On as logInsertSchema, kn as logSchema, jn as logStreamFilterSchema, Mn as logStreamInsertSchema, Nn as logStreamSchema, Z as logStreamStatusSchema, An as logStreamTypeSchema, Cn as logTypeCategories, Sn as logTypeDescriptions, vn as loginSessionAuthStrategySchema, yn as loginSessionInsertSchema, bn as loginSessionSchema, _n as loginSessionStateSchema, or as matchSchema, Pn as migrationProviderTypeSchema, Fn as migrationSourceCredentialsSchema, In as migrationSourceInsertSchema, Ln as migrationSourceSchema, z as nodeSchema, hn as openIDConfigurationSchema, Ir as organizationBrandingSchema, Vr as organizationConnectionInsertSchema, Ur as organizationConnectionListSchema, Hr as organizationConnectionSchema, Lr as organizationEnabledConnectionSchema, zr as organizationInsertSchema, Br as organizationSchema, Rr as organizationTokenQuotaSchema, tr as pageBackgroundSchema, fi as parseUserId, Hn as passwordInsertSchema, Un as passwordSchema, m as profileDataSchema, ni as promptScreenSchema, ar as promptSettingSchema, $ as proxyRouteInsertSchema, cr as proxyRouteSchema, lr as proxyRouteUpdateSchema, d as redirectActionSchema, pr as refreshTokenInsertSchema, mr as refreshTokenSchema, de as requestContextSchema, yr as resourceServerInsertSchema, xr as resourceServerListSchema, vr as resourceServerOptionsSchema, br as resourceServerSchema, _r as resourceServerScopeSchema, fe as responseContextSchema, k as richTextComponentSchema, Nr as roleInsertSchema, Fr as roleListSchema, Sr as rolePermissionInsertSchema, wr as rolePermissionListSchema, Cr as rolePermissionSchema, Pr as roleSchema, Vt as screenLinkSchema, Gn as sessionInsertSchema, Kn as sessionSchema, qn as signingKeySchema, gr as smsProviderSchema, hr as smsSendParamsSchema, Pe as startSchema, Bn as suspiciousIpThrottlingSchema, ue as targetSchema, Jn as tenantInsertSchema, Yn as tenantSchema, Kr as tenantSettingsSchema, rr as themeInsertSchema, ir as themeSchema, Zn as tokenResponseSchema, Te as totalsSchema, Ht as uiScreenSchema, v as userInsertSchema, Wr as userOrganizationInsertSchema, Gr as userOrganizationSchema, Tr as userPermissionInsertSchema, Dr as userPermissionListSchema, Er as userPermissionSchema, kr as userPermissionWithDetailsListSchema, Or as userPermissionWithDetailsSchema, De as userResponseSchema, Ar as userRoleInsertSchema, Mr as userRoleListSchema, jr as userRoleSchema, y as userSchema, Qe as verificationMethodsSchema, At as widgetComponentSchema, nr as widgetSchema };