@authhero/adapter-interfaces 0.122.0 → 0.123.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.
@@ -2,13 +2,13 @@ import { z as e } from "@hono/zod-openapi";
2
2
  const r = e.object({
3
3
  created_at: e.string(),
4
4
  updated_at: e.string()
5
- }), eo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), to = e.enum([
5
+ }), to = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), oo = e.enum([
6
6
  "CREATE_USER",
7
7
  "GET_USER",
8
8
  "UPDATE_USER",
9
9
  "SEND_REQUEST",
10
10
  "SEND_EMAIL"
11
- ]), oo = e.enum(["VERIFY_EMAIL"]), P = e.object({
11
+ ]), no = e.enum(["VERIFY_EMAIL"]), P = e.object({
12
12
  require_mx_record: e.boolean().optional(),
13
13
  block_aliases: e.boolean().optional(),
14
14
  block_free_emails: e.boolean().optional(),
@@ -65,13 +65,13 @@ const r = e.object({
65
65
  actions: e.array(K).optional().default([]).openapi({
66
66
  description: "The list of actions to execute in sequence"
67
67
  })
68
- }), no = W.extend({
68
+ }), io = W.extend({
69
69
  ...r.shape,
70
70
  id: e.string().openapi({
71
71
  description: "Unique identifier for the flow",
72
72
  example: "af_12tMpdJ3iek7svMyZkSh5M"
73
73
  })
74
- }), io = e.object({
74
+ }), ao = e.object({
75
75
  page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
76
76
  description: "The page number where 0 is the first page"
77
77
  }),
@@ -87,7 +87,7 @@ const r = e.object({
87
87
  q: e.string().optional().openapi({
88
88
  description: "A lucene query string used to filter the results"
89
89
  })
90
- }), ao = e.object({
90
+ }), ro = e.object({
91
91
  start: e.number(),
92
92
  limit: e.number(),
93
93
  length: e.number(),
@@ -110,10 +110,25 @@ const r = e.object({
110
110
  access_token_secret: e.string().optional(),
111
111
  refresh_token: e.string().optional(),
112
112
  profileData: z.optional()
113
- }), I = e.object({
113
+ }), V = e.object({
114
+ formatted: e.string().optional(),
115
+ // Full mailing address
116
+ street_address: e.string().optional(),
117
+ // Full street address (may be multi-line)
118
+ locality: e.string().optional(),
119
+ // City or locality
120
+ region: e.string().optional(),
121
+ // State, province, prefecture, or region
122
+ postal_code: e.string().optional(),
123
+ // Zip code or postal code
124
+ country: e.string().optional()
125
+ // Country name
126
+ }).optional(), I = e.object({
114
127
  email: e.string().optional().transform((t) => t && t.toLowerCase()),
115
128
  username: e.string().optional(),
116
129
  phone_number: e.string().optional(),
130
+ phone_verified: e.boolean().optional(),
131
+ // OIDC phone scope claim (phone_number_verified)
117
132
  given_name: e.string().optional(),
118
133
  family_name: e.string().optional(),
119
134
  nickname: e.string().optional(),
@@ -124,8 +139,22 @@ const r = e.object({
124
139
  profileData: e.string().optional(),
125
140
  user_id: e.string().optional(),
126
141
  app_metadata: e.any().default({}).optional(),
127
- user_metadata: e.any().default({}).optional()
128
- }), V = I.extend({
142
+ user_metadata: e.any().default({}).optional(),
143
+ // Additional OIDC profile claims (OIDC Core 5.1)
144
+ middle_name: e.string().optional(),
145
+ preferred_username: e.string().optional(),
146
+ // Shorthand name the user wishes to be referred to
147
+ profile: e.string().optional(),
148
+ // URL of profile page
149
+ website: e.string().optional(),
150
+ gender: e.string().optional(),
151
+ birthdate: e.string().optional(),
152
+ // ISO 8601:2004 YYYY-MM-DD format
153
+ zoneinfo: e.string().optional(),
154
+ // e.g., "Europe/Paris"
155
+ // OIDC address claim (OIDC Core 5.1.1)
156
+ address: V
157
+ }), q = I.extend({
129
158
  email_verified: e.boolean().default(!1),
130
159
  verify_email: e.boolean().optional(),
131
160
  last_ip: e.string().optional(),
@@ -134,8 +163,8 @@ const r = e.object({
134
163
  provider: e.string().optional(),
135
164
  connection: e.string(),
136
165
  is_social: e.boolean().optional()
137
- }), q = e.object({
138
- ...V.shape,
166
+ }), Y = e.object({
167
+ ...q.shape,
139
168
  ...r.shape,
140
169
  user_id: e.string(),
141
170
  provider: e.string(),
@@ -143,20 +172,20 @@ const r = e.object({
143
172
  email: e.string().optional(),
144
173
  login_count: e.number().default(0),
145
174
  identities: e.array(X).optional()
146
- }), ro = q, so = I.extend({
175
+ }), so = Y, lo = I.extend({
147
176
  login_count: e.number(),
148
177
  multifactor: e.array(e.string()).optional(),
149
178
  last_ip: e.string().optional(),
150
179
  last_login: e.string().optional(),
151
180
  user_id: e.string()
152
- }).catchall(e.any()), Y = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
153
- let Q = (t = 21) => {
181
+ }).catchall(e.any()), Q = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
182
+ let J = (t = 21) => {
154
183
  let a = "", s = crypto.getRandomValues(new Uint8Array(t |= 0));
155
184
  for (; t--; )
156
- a += Y[s[t] & 63];
185
+ a += Q[s[t] & 63];
157
186
  return a;
158
187
  };
159
- const J = e.object({
188
+ const Z = e.object({
160
189
  client_id: e.string().openapi({
161
190
  description: "ID of this client."
162
191
  }),
@@ -169,7 +198,7 @@ const J = e.object({
169
198
  global: e.boolean().default(!1).openapi({
170
199
  description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
171
200
  }),
172
- client_secret: e.string().default(() => Q()).optional().openapi({
201
+ client_secret: e.string().default(() => J()).optional().openapi({
173
202
  description: "Client secret (which you must not make public)."
174
203
  }),
175
204
  app_type: e.enum([
@@ -210,6 +239,9 @@ const J = e.object({
210
239
  oidc_conformant: e.boolean().default(!0).openapi({
211
240
  description: "Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false)."
212
241
  }),
242
+ auth0_conformant: e.boolean().default(!0).openapi({
243
+ description: "Whether this client follows Auth0-compatible behavior (true) or strict OIDC behavior (false). When true, profile/email claims are included in the ID token when scopes are requested. When false, these claims are only available from the userinfo endpoint (strict OIDC 5.4 compliance)."
244
+ }),
213
245
  callbacks: e.array(e.string()).default([]).optional().openapi({
214
246
  description: "Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication."
215
247
  }),
@@ -326,11 +358,11 @@ const J = e.object({
326
358
  description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
327
359
  }),
328
360
  token_quota: e.record(e.any()).default({}).optional()
329
- }), Z = e.object({
361
+ }), $ = e.object({
330
362
  created_at: e.string(),
331
363
  updated_at: e.string(),
332
- ...J.shape
333
- }), $ = e.object({
364
+ ...Z.shape
365
+ }), ee = e.object({
334
366
  client_id: e.string().min(1).openapi({
335
367
  description: "ID of the client."
336
368
  }),
@@ -355,14 +387,14 @@ const J = e.object({
355
387
  authorization_details_types: e.array(e.string()).optional().openapi({
356
388
  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."
357
389
  })
358
- }), ee = e.object({
390
+ }), te = e.object({
359
391
  id: e.string().openapi({
360
392
  description: "ID of the client grant."
361
393
  }),
362
- ...$.shape,
394
+ ...ee.shape,
363
395
  created_at: e.string().optional(),
364
396
  updated_at: e.string().optional()
365
- }), lo = e.array(ee), c = e.object({
397
+ }), co = e.array(te), c = e.object({
366
398
  x: e.number(),
367
399
  y: e.number()
368
400
  });
@@ -371,7 +403,7 @@ const u = e.object({
371
403
  id: e.string(),
372
404
  category: e.nativeEnum(y),
373
405
  type: e.nativeEnum(C)
374
- }), te = u.extend({
406
+ }), oe = u.extend({
375
407
  category: e.literal(
376
408
  "BLOCK"
377
409
  /* BLOCK */
@@ -383,7 +415,7 @@ const u = e.object({
383
415
  config: e.object({
384
416
  content: e.string()
385
417
  }).passthrough()
386
- }), oe = u.extend({
418
+ }), ne = u.extend({
387
419
  category: e.literal(
388
420
  "BLOCK"
389
421
  /* BLOCK */
@@ -405,7 +437,7 @@ const u = e.object({
405
437
  config: e.object({
406
438
  text: e.string()
407
439
  }).passthrough()
408
- }), ne = u.extend({
440
+ }), ie = u.extend({
409
441
  category: e.literal(
410
442
  "FIELD"
411
443
  /* FIELD */
@@ -419,7 +451,7 @@ const u = e.object({
419
451
  config: e.object({
420
452
  text: e.string()
421
453
  }).passthrough()
422
- }), ie = u.extend({
454
+ }), ae = u.extend({
423
455
  category: e.literal(
424
456
  "FIELD"
425
457
  /* FIELD */
@@ -472,19 +504,19 @@ const u = e.object({
472
504
  label: e.string().optional(),
473
505
  placeholder: e.string().optional()
474
506
  }).passthrough()
475
- }), ae = e.object({
507
+ }), re = e.object({
476
508
  id: e.string(),
477
509
  category: e.string(),
478
510
  type: e.string()
479
- }).passthrough(), re = e.union([
480
- te,
511
+ }).passthrough(), se = e.union([
481
512
  oe,
482
513
  ne,
483
514
  ie,
484
- ae
515
+ ae,
516
+ re
485
517
  ]);
486
- var se = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(se || {});
487
- const le = e.object({
518
+ var le = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(le || {});
519
+ const ce = e.object({
488
520
  id: e.string(),
489
521
  type: e.literal(
490
522
  "STEP"
@@ -493,10 +525,10 @@ const le = e.object({
493
525
  coordinates: c,
494
526
  alias: e.string().optional(),
495
527
  config: e.object({
496
- components: e.array(re),
528
+ components: e.array(se),
497
529
  next_node: e.string()
498
530
  }).passthrough()
499
- }), ce = e.object({
531
+ }), pe = e.object({
500
532
  id: e.string(),
501
533
  type: e.literal(
502
534
  "FLOW"
@@ -508,7 +540,7 @@ const le = e.object({
508
540
  flow_id: e.string(),
509
541
  next_node: e.string()
510
542
  })
511
- }), pe = e.object({
543
+ }), _e = e.object({
512
544
  id: e.string(),
513
545
  type: e.literal(
514
546
  "ACTION"
@@ -530,47 +562,47 @@ const le = e.object({
530
562
  description: "The next node to navigate to after action (for non-redirect actions)"
531
563
  })
532
564
  }).passthrough()
533
- }), _e = e.object({
565
+ }), de = e.object({
534
566
  id: e.string(),
535
567
  type: e.string(),
536
568
  coordinates: c
537
- }).passthrough(), de = e.union([
538
- le,
569
+ }).passthrough(), ge = e.union([
539
570
  ce,
540
571
  pe,
541
- _e
542
- ]), ge = e.object({
572
+ _e,
573
+ de
574
+ ]), ue = e.object({
543
575
  next_node: e.string(),
544
576
  coordinates: c
545
- }).passthrough(), ue = e.object({
577
+ }).passthrough(), me = e.object({
546
578
  resume_flow: e.boolean().optional(),
547
579
  coordinates: c
548
- }).passthrough(), me = e.object({
580
+ }).passthrough(), he = e.object({
549
581
  id: e.string(),
550
582
  name: e.string(),
551
583
  languages: e.object({
552
584
  primary: e.string()
553
585
  }).passthrough(),
554
- nodes: e.array(de),
555
- start: ge,
556
- ending: ue,
586
+ nodes: e.array(ge),
587
+ start: ue,
588
+ ending: me,
557
589
  created_at: e.string(),
558
590
  updated_at: e.string(),
559
591
  links: e.object({
560
592
  sdkSrc: e.string().optional(),
561
593
  sdk_src: e.string().optional()
562
594
  }).passthrough()
563
- }).passthrough(), co = me.omit({
595
+ }).passthrough(), po = he.omit({
564
596
  id: !0,
565
597
  created_at: !0,
566
598
  updated_at: !0
567
599
  });
568
- var T = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(T || {}), O = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(O || {}), N = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(N || {});
569
- const he = e.object({
600
+ var O = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(O || {}), T = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(T || {}), N = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(N || {});
601
+ const be = e.object({
570
602
  client_id: e.string(),
571
603
  act_as: e.string().optional(),
572
- response_type: e.nativeEnum(T).optional(),
573
- response_mode: e.nativeEnum(O).optional(),
604
+ response_type: e.nativeEnum(O).optional(),
605
+ response_mode: e.nativeEnum(T).optional(),
574
606
  redirect_uri: e.string().optional(),
575
607
  audience: e.string().optional(),
576
608
  organization: e.string().optional(),
@@ -582,9 +614,15 @@ const he = e.object({
582
614
  code_challenge: e.string().optional(),
583
615
  username: e.string().optional(),
584
616
  ui_locales: e.string().optional(),
617
+ // OIDC Core 3.1.2.1 - max_age specifies the allowable elapsed time in seconds
618
+ // since the last time the End-User was actively authenticated
619
+ max_age: e.number().optional(),
620
+ // OIDC Core 3.1.2.1 - acr_values is a space-separated string of requested
621
+ // Authentication Context Class Reference values
622
+ acr_values: e.string().optional(),
585
623
  // The following fields are not available in Auth0
586
624
  vendor_id: e.string().optional()
587
- }), po = e.object({
625
+ }), _o = e.object({
588
626
  colors: e.object({
589
627
  primary: e.string(),
590
628
  page_background: e.object({
@@ -600,7 +638,7 @@ const he = e.object({
600
638
  font: e.object({
601
639
  url: e.string()
602
640
  }).optional()
603
- }), be = e.object({
641
+ }), fe = e.object({
604
642
  kid: e.string().optional(),
605
643
  team_id: e.string().optional(),
606
644
  realms: e.string().optional(),
@@ -620,12 +658,12 @@ const he = e.object({
620
658
  twilio_sid: e.string().optional(),
621
659
  twilio_token: e.string().optional(),
622
660
  icon_url: e.string().optional()
623
- }), fe = e.object({
661
+ }), Ee = e.object({
624
662
  id: e.string().optional(),
625
663
  name: e.string(),
626
664
  display_name: e.string().optional(),
627
665
  strategy: e.string(),
628
- options: be.default({}),
666
+ options: fe.default({}),
629
667
  enabled_clients: e.array(e.string()).default([]).optional(),
630
668
  response_type: e.custom().optional(),
631
669
  response_mode: e.custom().optional(),
@@ -633,11 +671,11 @@ const he = e.object({
633
671
  show_as_button: e.boolean().optional(),
634
672
  metadata: e.record(e.any()).optional(),
635
673
  is_system: e.boolean().optional()
636
- }), Ee = e.object({
674
+ }), Se = e.object({
637
675
  id: e.string(),
638
676
  created_at: e.string().transform((t) => t === null ? "" : t),
639
677
  updated_at: e.string().transform((t) => t === null ? "" : t)
640
- }).extend(fe.shape), Se = e.object({
678
+ }).extend(Ee.shape), Ae = e.object({
641
679
  id: e.string().optional(),
642
680
  // Basic settings
643
681
  audience: e.string(),
@@ -761,23 +799,23 @@ const he = e.object({
761
799
  // Authorization settings
762
800
  pushed_authorization_requests_supported: e.boolean().optional(),
763
801
  authorization_response_iss_parameter_supported: e.boolean().optional()
764
- }), Ae = e.object({
802
+ }), Ie = e.object({
765
803
  created_at: e.string().nullable().transform((t) => t ?? ""),
766
804
  updated_at: e.string().nullable().transform((t) => t ?? ""),
767
- ...Se.shape,
805
+ ...Ae.shape,
768
806
  id: e.string()
769
- }), _o = e.object({
770
- ...Z.shape,
771
- tenant: Ae,
772
- connections: e.array(Ee)
773
- }), Ie = e.enum([
807
+ }), go = e.object({
808
+ ...$.shape,
809
+ tenant: Ie,
810
+ connections: e.array(Se)
811
+ }), Ce = e.enum([
774
812
  "password_reset",
775
813
  "email_verification",
776
814
  "otp",
777
815
  "authorization_code",
778
816
  "oauth2_state",
779
817
  "ticket"
780
- ]), Ce = e.object({
818
+ ]), ye = e.object({
781
819
  code_id: e.string().openapi({
782
820
  description: "The code that will be used in for instance an email verification flow"
783
821
  }),
@@ -787,7 +825,7 @@ const he = e.object({
787
825
  connection_id: e.string().optional().openapi({
788
826
  description: "The connection that the code is connected to"
789
827
  }),
790
- code_type: Ie,
828
+ code_type: Ce,
791
829
  code_verifier: e.string().optional().openapi({
792
830
  description: "The code verifier used in PKCE in outbound flows"
793
831
  }),
@@ -809,10 +847,10 @@ const he = e.object({
809
847
  expires_at: e.string(),
810
848
  used_at: e.string().optional(),
811
849
  user_id: e.string().optional()
812
- }), go = e.object({
813
- ...Ce.shape,
850
+ }), uo = e.object({
851
+ ...ye.shape,
814
852
  created_at: e.string()
815
- }), ye = e.object({
853
+ }), Oe = e.object({
816
854
  domain: e.string(),
817
855
  custom_domain_id: e.string().optional(),
818
856
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -830,8 +868,8 @@ const he = e.object({
830
868
  name: e.literal("txt"),
831
869
  record: e.string(),
832
870
  domain: e.string()
833
- }), Oe = e.object({
834
- ...ye.shape,
871
+ }), Ne = e.object({
872
+ ...Oe.shape,
835
873
  custom_domain_id: e.string(),
836
874
  primary: e.boolean(),
837
875
  status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
@@ -840,7 +878,7 @@ const he = e.object({
840
878
  methods: e.array(Te)
841
879
  }).optional(),
842
880
  tls_policy: e.string().optional()
843
- }), uo = Oe.extend({
881
+ }), mo = Ne.extend({
844
882
  tenant_id: e.string()
845
883
  }), f = e.object({
846
884
  id: e.string(),
@@ -848,15 +886,15 @@ const he = e.object({
848
886
  visible: e.boolean().optional().default(!0)
849
887
  }), i = f.extend({
850
888
  category: e.literal("BLOCK").optional()
851
- }), Ne = i.extend({
889
+ }), Re = i.extend({
852
890
  type: e.literal("DIVIDER"),
853
891
  config: e.object({}).optional()
854
- }), Re = i.extend({
892
+ }), De = i.extend({
855
893
  type: e.literal("HTML"),
856
894
  config: e.object({
857
895
  content: e.string().optional()
858
896
  }).optional()
859
- }), De = i.extend({
897
+ }), Le = i.extend({
860
898
  type: e.literal("IMAGE"),
861
899
  config: e.object({
862
900
  src: e.string().optional(),
@@ -864,29 +902,29 @@ const he = e.object({
864
902
  width: e.number().optional(),
865
903
  height: e.number().optional()
866
904
  }).optional()
867
- }), Le = i.extend({
905
+ }), we = i.extend({
868
906
  type: e.literal("JUMP_BUTTON"),
869
907
  config: e.object({
870
908
  text: e.string().optional(),
871
909
  target_step: e.string().optional()
872
910
  })
873
- }), we = i.extend({
911
+ }), je = i.extend({
874
912
  type: e.literal("RESEND_BUTTON"),
875
913
  config: e.object({
876
914
  text: e.string().optional(),
877
915
  resend_action: e.string().optional()
878
916
  })
879
- }), je = i.extend({
917
+ }), Ue = i.extend({
880
918
  type: e.literal("NEXT_BUTTON"),
881
919
  config: e.object({
882
920
  text: e.string().optional()
883
921
  })
884
- }), Ue = i.extend({
922
+ }), Fe = i.extend({
885
923
  type: e.literal("PREVIOUS_BUTTON"),
886
924
  config: e.object({
887
925
  text: e.string().optional()
888
926
  })
889
- }), Fe = i.extend({
927
+ }), ke = i.extend({
890
928
  type: e.literal("RICH_TEXT"),
891
929
  config: e.object({
892
930
  content: e.string().optional()
@@ -897,17 +935,17 @@ const he = e.object({
897
935
  hint: e.string().min(1).max(500).optional(),
898
936
  required: e.boolean().optional(),
899
937
  sensitive: e.boolean().optional()
900
- }), ke = E.extend({
938
+ }), ve = E.extend({
901
939
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
902
940
  config: e.object({
903
941
  credential_type: e.string().optional()
904
942
  })
905
- }), ve = E.extend({
943
+ }), xe = E.extend({
906
944
  type: e.literal("GMAPS_ADDRESS"),
907
945
  config: e.object({
908
946
  api_key: e.string().optional()
909
947
  })
910
- }), xe = E.extend({
948
+ }), Pe = E.extend({
911
949
  type: e.literal("RECAPTCHA"),
912
950
  config: e.object({
913
951
  site_key: e.string().optional()
@@ -918,12 +956,12 @@ const he = e.object({
918
956
  hint: e.string().min(1).max(500).optional(),
919
957
  required: e.boolean().optional(),
920
958
  sensitive: e.boolean().optional()
921
- }), Pe = o.extend({
959
+ }), Me = o.extend({
922
960
  type: e.literal("BOOLEAN"),
923
961
  config: e.object({
924
962
  default_value: e.boolean().optional()
925
963
  }).optional()
926
- }), Me = o.extend({
964
+ }), He = o.extend({
927
965
  type: e.literal("CARDS"),
928
966
  config: e.object({
929
967
  options: e.array(
@@ -936,7 +974,7 @@ const he = e.object({
936
974
  ).optional(),
937
975
  multi_select: e.boolean().optional()
938
976
  }).optional()
939
- }), He = o.extend({
977
+ }), Ge = o.extend({
940
978
  type: e.literal("CHOICE"),
941
979
  config: e.object({
942
980
  options: e.array(
@@ -947,20 +985,20 @@ const he = e.object({
947
985
  ).optional(),
948
986
  display: e.enum(["radio", "checkbox"]).optional()
949
987
  }).optional()
950
- }), Ge = o.extend({
988
+ }), Be = o.extend({
951
989
  type: e.literal("CUSTOM"),
952
990
  config: e.object({
953
991
  component: e.string().optional(),
954
992
  props: e.record(e.any()).optional()
955
993
  })
956
- }), Be = o.extend({
994
+ }), Ke = o.extend({
957
995
  type: e.literal("DATE"),
958
996
  config: e.object({
959
997
  format: e.string().optional(),
960
998
  min: e.string().optional(),
961
999
  max: e.string().optional()
962
1000
  }).optional()
963
- }), Ke = o.extend({
1001
+ }), We = o.extend({
964
1002
  type: e.literal("DROPDOWN"),
965
1003
  config: e.object({
966
1004
  options: e.array(
@@ -972,25 +1010,25 @@ const he = e.object({
972
1010
  placeholder: e.string().optional(),
973
1011
  searchable: e.boolean().optional()
974
1012
  }).optional()
975
- }), We = o.extend({
1013
+ }), ze = o.extend({
976
1014
  type: e.literal("EMAIL"),
977
1015
  config: e.object({
978
1016
  placeholder: e.string().optional()
979
1017
  }).optional()
980
- }), ze = o.extend({
1018
+ }), Xe = o.extend({
981
1019
  type: e.literal("FILE"),
982
1020
  config: e.object({
983
1021
  accept: e.string().optional(),
984
1022
  max_size: e.number().optional(),
985
1023
  multiple: e.boolean().optional()
986
1024
  }).optional()
987
- }), Xe = o.extend({
1025
+ }), Ve = o.extend({
988
1026
  type: e.literal("LEGAL"),
989
1027
  config: e.object({
990
1028
  text: e.string(),
991
1029
  html: e.boolean().optional()
992
1030
  }).optional()
993
- }), Ve = o.extend({
1031
+ }), qe = o.extend({
994
1032
  type: e.literal("NUMBER"),
995
1033
  config: e.object({
996
1034
  placeholder: e.string().optional(),
@@ -998,7 +1036,7 @@ const he = e.object({
998
1036
  max: e.number().optional(),
999
1037
  step: e.number().optional()
1000
1038
  }).optional()
1001
- }), qe = o.extend({
1039
+ }), Ye = o.extend({
1002
1040
  type: e.literal("PASSWORD"),
1003
1041
  config: e.object({
1004
1042
  placeholder: e.string().optional(),
@@ -1006,50 +1044,49 @@ const he = e.object({
1006
1044
  show_toggle: e.boolean().optional(),
1007
1045
  forgot_password_link: e.string().optional()
1008
1046
  }).optional()
1009
- }), Ye = o.extend({
1047
+ }), Qe = o.extend({
1010
1048
  type: e.literal("PAYMENT"),
1011
1049
  config: e.object({
1012
1050
  provider: e.string().optional(),
1013
1051
  currency: e.string().optional()
1014
1052
  }).optional()
1015
- }), Qe = o.extend({
1053
+ }), Je = o.extend({
1016
1054
  type: e.literal("SOCIAL"),
1017
1055
  config: e.object({
1018
1056
  providers: e.array(e.string()).optional()
1019
1057
  }).optional()
1020
- }), Je = o.extend({
1058
+ }), Ze = o.extend({
1021
1059
  type: e.literal("TEL"),
1022
1060
  config: e.object({
1023
1061
  placeholder: e.string().optional(),
1024
1062
  default_country: e.string().optional()
1025
1063
  }).optional()
1026
- }), Ze = o.extend({
1064
+ }), $e = o.extend({
1027
1065
  type: e.literal("TEXT"),
1028
1066
  config: e.object({
1029
1067
  placeholder: e.string().optional(),
1030
1068
  multiline: e.boolean().optional(),
1031
1069
  max_length: e.number().optional()
1032
1070
  }).optional()
1033
- }), $e = o.extend({
1071
+ }), et = o.extend({
1034
1072
  type: e.literal("URL"),
1035
1073
  config: e.object({
1036
1074
  placeholder: e.string().optional()
1037
1075
  }).optional()
1038
- }), et = e.discriminatedUnion("type", [
1039
- Ne,
1076
+ }), tt = e.discriminatedUnion("type", [
1040
1077
  Re,
1041
1078
  De,
1042
1079
  Le,
1043
1080
  we,
1044
1081
  je,
1045
1082
  Ue,
1046
- Fe
1047
- ]), tt = e.discriminatedUnion("type", [
1048
- ke,
1049
- ve,
1050
- xe
1083
+ Fe,
1084
+ ke
1051
1085
  ]), ot = e.discriminatedUnion("type", [
1052
- Pe,
1086
+ ve,
1087
+ xe,
1088
+ Pe
1089
+ ]), nt = e.discriminatedUnion("type", [
1053
1090
  Me,
1054
1091
  He,
1055
1092
  Ge,
@@ -1064,12 +1101,13 @@ const he = e.object({
1064
1101
  Qe,
1065
1102
  Je,
1066
1103
  Ze,
1067
- $e
1104
+ $e,
1105
+ et
1068
1106
  ]), R = e.union([
1069
- et,
1070
1107
  tt,
1071
- ot
1072
- ]), mo = e.object({
1108
+ ot,
1109
+ nt
1110
+ ]), ho = e.object({
1073
1111
  id: e.string(),
1074
1112
  type: e.literal("submit"),
1075
1113
  label: e.string(),
@@ -1081,7 +1119,7 @@ const he = e.object({
1081
1119
  }), _ = e.object({
1082
1120
  x: e.number(),
1083
1121
  y: e.number()
1084
- }), nt = e.object({
1122
+ }), it = e.object({
1085
1123
  id: e.string(),
1086
1124
  type: e.literal("FLOW"),
1087
1125
  coordinates: _,
@@ -1090,7 +1128,7 @@ const he = e.object({
1090
1128
  flow_id: e.string().max(30),
1091
1129
  next_node: e.string().optional()
1092
1130
  })
1093
- }), it = e.object({
1131
+ }), at = e.object({
1094
1132
  id: e.string(),
1095
1133
  type: e.literal("ROUTER"),
1096
1134
  coordinates: _,
@@ -1106,7 +1144,7 @@ const he = e.object({
1106
1144
  ),
1107
1145
  fallback: e.string()
1108
1146
  })
1109
- }), at = e.object({
1147
+ }), rt = e.object({
1110
1148
  id: e.string(),
1111
1149
  type: e.literal("STEP"),
1112
1150
  coordinates: _,
@@ -1115,11 +1153,11 @@ const he = e.object({
1115
1153
  components: e.array(R),
1116
1154
  next_node: e.string().optional()
1117
1155
  })
1118
- }), rt = e.discriminatedUnion("type", [
1119
- nt,
1156
+ }), st = e.discriminatedUnion("type", [
1120
1157
  it,
1121
- at
1122
- ]), st = e.object({
1158
+ at,
1159
+ rt
1160
+ ]), lt = e.object({
1123
1161
  name: e.string().openapi({
1124
1162
  description: "The name of the form"
1125
1163
  }),
@@ -1132,7 +1170,7 @@ const he = e.object({
1132
1170
  default: e.string().optional()
1133
1171
  }).optional(),
1134
1172
  translations: e.record(e.string(), e.any()).optional(),
1135
- nodes: e.array(rt).optional(),
1173
+ nodes: e.array(st).optional(),
1136
1174
  start: e.object({
1137
1175
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1138
1176
  next_node: e.string().optional(),
@@ -1150,35 +1188,35 @@ const he = e.object({
1150
1188
  style: e.object({ css: e.string().optional() }).optional()
1151
1189
  }).openapi({
1152
1190
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1153
- }), ho = e.object({
1191
+ }), bo = e.object({
1154
1192
  ...r.shape,
1155
- ...st.shape,
1193
+ ...lt.shape,
1156
1194
  id: e.string()
1157
- }), lt = e.object({
1195
+ }), ct = e.object({
1158
1196
  id: e.number().optional(),
1159
1197
  text: e.string(),
1160
1198
  type: e.enum(["info", "error", "success", "warning"])
1161
- }), ct = e.object({
1199
+ }), pt = e.object({
1162
1200
  id: e.string().optional(),
1163
1201
  text: e.string(),
1164
1202
  href: e.string(),
1165
1203
  linkText: e.string().optional()
1166
- }), bo = e.object({
1204
+ }), fo = e.object({
1167
1205
  action: e.string(),
1168
1206
  method: e.enum(["POST", "GET"]),
1169
1207
  title: e.string().optional(),
1170
1208
  description: e.string().optional(),
1171
1209
  components: e.array(R),
1172
- messages: e.array(lt).optional(),
1173
- links: e.array(ct).optional()
1210
+ messages: e.array(ct).optional(),
1211
+ links: e.array(pt).optional()
1174
1212
  });
1175
- function fo(t) {
1213
+ function Eo(t) {
1176
1214
  return t.category === "BLOCK";
1177
1215
  }
1178
- function Eo(t) {
1216
+ function So(t) {
1179
1217
  return t.category === "WIDGET";
1180
1218
  }
1181
- function So(t) {
1219
+ function Ao(t) {
1182
1220
  return t.category === "FIELD";
1183
1221
  }
1184
1222
  const D = e.enum([
@@ -1201,37 +1239,37 @@ const D = e.enum([
1201
1239
  synchronous: e.boolean().default(!1),
1202
1240
  priority: e.number().optional(),
1203
1241
  hook_id: e.string().optional()
1204
- }, pt = e.object({
1242
+ }, _t = e.object({
1205
1243
  ...m,
1206
1244
  trigger_id: D,
1207
1245
  url: e.string()
1208
- }), _t = e.object({
1246
+ }), dt = e.object({
1209
1247
  ...m,
1210
1248
  trigger_id: L,
1211
1249
  form_id: e.string()
1212
- }), Ao = e.union([
1213
- pt,
1214
- _t
1215
- ]), dt = e.object({
1250
+ }), Io = e.union([
1251
+ _t,
1252
+ dt
1253
+ ]), gt = e.object({
1216
1254
  ...m,
1217
1255
  trigger_id: D,
1218
1256
  ...r.shape,
1219
1257
  hook_id: e.string(),
1220
1258
  url: e.string()
1221
- }), gt = e.object({
1259
+ }), ut = e.object({
1222
1260
  ...m,
1223
1261
  trigger_id: L,
1224
1262
  ...r.shape,
1225
1263
  hook_id: e.string(),
1226
1264
  form_id: e.string()
1227
- }), Io = e.union([dt, gt]), ut = e.object({
1265
+ }), Co = e.union([gt, ut]), mt = e.object({
1228
1266
  name: e.string().optional()
1229
- }), mt = e.object({
1230
- email: e.string().optional()
1231
1267
  }), ht = e.object({
1268
+ email: e.string().optional()
1269
+ }), bt = e.object({
1232
1270
  organization_id: e.string().max(50),
1233
- inviter: ut,
1234
- invitee: mt,
1271
+ inviter: mt,
1272
+ invitee: ht,
1235
1273
  invitation_url: e.string().url(),
1236
1274
  client_id: e.string(),
1237
1275
  connection_id: e.string().optional(),
@@ -1240,13 +1278,13 @@ const D = e.enum([
1240
1278
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1241
1279
  roles: e.array(e.string()).default([]).optional(),
1242
1280
  send_invitation_email: e.boolean().default(!0).optional()
1243
- }), Co = e.object({
1281
+ }), yo = e.object({
1244
1282
  id: e.string(),
1245
1283
  organization_id: e.string().max(50),
1246
1284
  created_at: e.string().datetime(),
1247
1285
  expires_at: e.string().datetime(),
1248
1286
  ticket_id: e.string().optional()
1249
- }).extend(ht.shape), bt = e.object({
1287
+ }).extend(bt.shape), ft = e.object({
1250
1288
  alg: e.enum([
1251
1289
  "RS256",
1252
1290
  "RS384",
@@ -1265,8 +1303,8 @@ const D = e.enum([
1265
1303
  x5t: e.string().optional(),
1266
1304
  x5c: e.array(e.string()).optional(),
1267
1305
  use: e.enum(["sig", "enc"]).optional()
1268
- }), yo = e.object({
1269
- keys: e.array(bt)
1306
+ }), Oo = e.object({
1307
+ keys: e.array(ft)
1270
1308
  }), To = e.object({
1271
1309
  issuer: e.string(),
1272
1310
  authorization_endpoint: e.string(),
@@ -1290,17 +1328,17 @@ const D = e.enum([
1290
1328
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
1291
1329
  });
1292
1330
  var w = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(w || {});
1293
- const ft = e.nativeEnum(w), Et = e.object({
1331
+ const Et = e.nativeEnum(w), St = e.object({
1294
1332
  csrf_token: e.string(),
1295
1333
  auth0Client: e.string().optional(),
1296
- authParams: he,
1334
+ authParams: be,
1297
1335
  expires_at: e.string(),
1298
1336
  deleted_at: e.string().optional(),
1299
1337
  ip: e.string().optional(),
1300
1338
  useragent: e.string().optional(),
1301
1339
  session_id: e.string().optional(),
1302
1340
  authorization_url: e.string().optional(),
1303
- state: ft.optional().default(
1341
+ state: Et.optional().default(
1304
1342
  "pending"
1305
1343
  /* PENDING */
1306
1344
  ),
@@ -1311,14 +1349,14 @@ const ft = e.nativeEnum(w), Et = e.object({
1311
1349
  // Set once user is authenticated
1312
1350
  }).openapi({
1313
1351
  description: "This represents a login sesion"
1314
- }), Oo = e.object({
1315
- ...Et.shape,
1352
+ }), No = e.object({
1353
+ ...St.shape,
1316
1354
  id: e.string().openapi({
1317
1355
  description: "This is is used as the state in the universal login"
1318
1356
  }),
1319
1357
  created_at: e.string(),
1320
1358
  updated_at: e.string()
1321
- }), St = {
1359
+ }), At = {
1322
1360
  // Network & System
1323
1361
  ACLS_SUMMARY: "acls_summary",
1324
1362
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1489,24 +1527,24 @@ const ft = e.nativeEnum(w), Et = e.object({
1489
1527
  WARNING_DURING_LOGIN: "w",
1490
1528
  WARNING_SENDING_NOTIFICATION: "wn",
1491
1529
  WARNING_USER_MANAGEMENT: "wum"
1492
- }, At = e.string().refine(
1493
- (t) => Object.values(St).includes(t),
1530
+ }, It = e.string().refine(
1531
+ (t) => Object.values(At).includes(t),
1494
1532
  { message: "Invalid log type" }
1495
- ), It = e.object({
1533
+ ), Ct = e.object({
1496
1534
  name: e.string(),
1497
1535
  version: e.string(),
1498
1536
  env: e.object({
1499
1537
  node: e.string().optional()
1500
1538
  }).optional()
1501
- }), Ct = e.object({
1539
+ }), yt = e.object({
1502
1540
  country_code: e.string().length(2),
1503
1541
  city_name: e.string(),
1504
1542
  latitude: e.string(),
1505
1543
  longitude: e.string(),
1506
1544
  time_zone: e.string(),
1507
1545
  continent_code: e.string()
1508
- }), yt = e.object({
1509
- type: At,
1546
+ }), Ot = e.object({
1547
+ type: It,
1510
1548
  date: e.string(),
1511
1549
  description: e.string().optional(),
1512
1550
  ip: e.string().optional(),
@@ -1525,11 +1563,11 @@ const ft = e.nativeEnum(w), Et = e.object({
1525
1563
  strategy: e.string().optional(),
1526
1564
  strategy_type: e.string().optional(),
1527
1565
  hostname: e.string().optional(),
1528
- auth0_client: It.optional(),
1566
+ auth0_client: Ct.optional(),
1529
1567
  log_id: e.string().optional(),
1530
- location_info: Ct.optional()
1531
- }), No = e.object({
1532
- ...yt.shape,
1568
+ location_info: yt.optional()
1569
+ }), Ro = e.object({
1570
+ ...Ot.shape,
1533
1571
  log_id: e.string()
1534
1572
  }), Tt = e.object({
1535
1573
  id: e.string().optional(),
@@ -1537,7 +1575,7 @@ const ft = e.nativeEnum(w), Et = e.object({
1537
1575
  password: e.string(),
1538
1576
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1539
1577
  is_current: e.boolean().default(!0)
1540
- }), Ro = Tt.extend({
1578
+ }), Do = Tt.extend({
1541
1579
  id: e.string(),
1542
1580
  created_at: e.string(),
1543
1581
  updated_at: e.string()
@@ -1548,7 +1586,7 @@ const ft = e.nativeEnum(w), Et = e.object({
1548
1586
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1549
1587
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1550
1588
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1551
- }), Ot = e.object({
1589
+ }), Nt = e.object({
1552
1590
  id: e.string(),
1553
1591
  revoked_at: e.string().optional(),
1554
1592
  used_at: e.string().optional(),
@@ -1560,13 +1598,13 @@ const ft = e.nativeEnum(w), Et = e.object({
1560
1598
  "Metadata related to the device used in the session"
1561
1599
  ),
1562
1600
  clients: e.array(e.string()).describe("List of client details for the session")
1563
- }), Do = e.object({
1601
+ }), Lo = e.object({
1564
1602
  created_at: e.string(),
1565
1603
  updated_at: e.string(),
1566
1604
  authenticated_at: e.string(),
1567
1605
  last_interaction_at: e.string(),
1568
- ...Ot.shape
1569
- }), Lo = e.object({
1606
+ ...Nt.shape
1607
+ }), wo = e.object({
1570
1608
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1571
1609
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1572
1610
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1592,8 +1630,8 @@ const ft = e.nativeEnum(w), Et = e.object({
1592
1630
  description: "The type of the signing key"
1593
1631
  })
1594
1632
  });
1595
- var Nt = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(Nt || {});
1596
- const wo = e.object({
1633
+ var Rt = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(Rt || {});
1634
+ const jo = e.object({
1597
1635
  access_token: e.string(),
1598
1636
  id_token: e.string().optional(),
1599
1637
  scope: e.string().optional(),
@@ -1606,7 +1644,7 @@ e.object({
1606
1644
  code: e.string(),
1607
1645
  state: e.string().optional()
1608
1646
  });
1609
- const Rt = e.object({
1647
+ const Dt = e.object({
1610
1648
  button_border_radius: e.number(),
1611
1649
  button_border_weight: e.number(),
1612
1650
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1616,7 +1654,7 @@ const Rt = e.object({
1616
1654
  show_widget_shadow: e.boolean(),
1617
1655
  widget_border_weight: e.number(),
1618
1656
  widget_corner_radius: e.number()
1619
- }), Dt = e.object({
1657
+ }), Lt = e.object({
1620
1658
  base_focus_color: e.string(),
1621
1659
  base_hover_color: e.string(),
1622
1660
  body_text: e.string(),
@@ -1639,7 +1677,7 @@ const Rt = e.object({
1639
1677
  }), l = e.object({
1640
1678
  bold: e.boolean(),
1641
1679
  size: e.number()
1642
- }), Lt = e.object({
1680
+ }), wt = e.object({
1643
1681
  body_text: l,
1644
1682
  buttons_text: l,
1645
1683
  font_url: e.string(),
@@ -1649,31 +1687,31 @@ const Rt = e.object({
1649
1687
  reference_text_size: e.number(),
1650
1688
  subtitle: l,
1651
1689
  title: l
1652
- }), wt = e.object({
1690
+ }), jt = e.object({
1653
1691
  background_color: e.string(),
1654
1692
  background_image_url: e.string(),
1655
1693
  page_layout: e.enum(["center", "left", "right"])
1656
- }), jt = e.object({
1694
+ }), Ut = e.object({
1657
1695
  header_text_alignment: e.enum(["center", "left", "right"]),
1658
1696
  logo_height: e.number(),
1659
1697
  logo_position: e.enum(["center", "left", "none", "right"]),
1660
1698
  logo_url: e.string(),
1661
1699
  social_buttons_layout: e.enum(["bottom", "top"])
1662
- }), Ut = e.object({
1663
- borders: Rt,
1664
- colors: Dt,
1700
+ }), Ft = e.object({
1701
+ borders: Dt,
1702
+ colors: Lt,
1665
1703
  displayName: e.string(),
1666
- fonts: Lt,
1667
- page_background: wt,
1668
- widget: jt
1669
- }), jo = Ut.extend({
1704
+ fonts: wt,
1705
+ page_background: jt,
1706
+ widget: Ut
1707
+ }), Uo = Ft.extend({
1670
1708
  themeId: e.string()
1671
- }), Uo = e.object({
1709
+ }), Fo = e.object({
1672
1710
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1673
1711
  identifier_first: e.boolean().default(!0),
1674
1712
  password_first: e.boolean().default(!1),
1675
1713
  webauthn_platform_first_factor: e.boolean()
1676
- }), Fo = e.object({
1714
+ }), ko = e.object({
1677
1715
  name: e.string(),
1678
1716
  enabled: e.boolean().optional().default(!0),
1679
1717
  default_from_address: e.string().optional(),
@@ -1703,7 +1741,7 @@ const Rt = e.object({
1703
1741
  })
1704
1742
  ]),
1705
1743
  settings: e.object({}).optional()
1706
- }), Ft = e.object({
1744
+ }), kt = e.object({
1707
1745
  // The actual refresh token value (primary key).
1708
1746
  id: e.string(),
1709
1747
  // Link to the session record
@@ -1724,21 +1762,21 @@ const Rt = e.object({
1724
1762
  })
1725
1763
  ),
1726
1764
  rotating: e.boolean()
1727
- }), ko = e.object({
1765
+ }), vo = e.object({
1728
1766
  // When the refresh token record was created.
1729
1767
  created_at: e.string(),
1730
1768
  // Spread in the rest of the refresh token properties.
1731
- ...Ft.shape
1732
- }), vo = e.object({
1769
+ ...kt.shape
1770
+ }), xo = e.object({
1733
1771
  to: e.string(),
1734
1772
  message: e.string()
1735
- }), xo = e.object({
1773
+ }), Po = e.object({
1736
1774
  name: e.string(),
1737
1775
  options: e.object({})
1738
- }), kt = e.object({
1776
+ }), vt = e.object({
1739
1777
  value: e.string(),
1740
1778
  description: e.string().optional()
1741
- }), vt = e.object({
1779
+ }), xt = e.object({
1742
1780
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
1743
1781
  enforce_policies: e.boolean().optional(),
1744
1782
  allow_skipping_userinfo: e.boolean().optional(),
@@ -1748,11 +1786,11 @@ const Rt = e.object({
1748
1786
  mtls: e.object({
1749
1787
  bound_access_tokens: e.boolean().optional()
1750
1788
  }).optional()
1751
- }), xt = e.object({
1789
+ }), Pt = e.object({
1752
1790
  id: e.string().optional(),
1753
1791
  name: e.string(),
1754
1792
  identifier: e.string(),
1755
- scopes: e.array(kt).optional(),
1793
+ scopes: e.array(vt).optional(),
1756
1794
  signing_alg: e.string().optional(),
1757
1795
  signing_secret: e.string().optional(),
1758
1796
  token_lifetime: e.number().optional(),
@@ -1760,30 +1798,30 @@ const Rt = e.object({
1760
1798
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
1761
1799
  allow_offline_access: e.boolean().optional(),
1762
1800
  verificationKey: e.string().optional(),
1763
- options: vt.optional(),
1801
+ options: xt.optional(),
1764
1802
  is_system: e.boolean().optional(),
1765
1803
  metadata: e.record(e.any()).optional()
1766
- }), Pt = e.object({
1767
- ...xt.shape,
1804
+ }), Mt = e.object({
1805
+ ...Pt.shape,
1768
1806
  created_at: e.string().optional(),
1769
1807
  updated_at: e.string().optional()
1770
- }), Po = e.array(Pt), Mt = e.object({
1808
+ }), Mo = e.array(Mt), Ht = e.object({
1771
1809
  role_id: e.string(),
1772
1810
  resource_server_identifier: e.string(),
1773
1811
  permission_name: e.string()
1774
- }), Ht = e.object({
1775
- ...Mt.shape,
1812
+ }), Gt = e.object({
1813
+ ...Ht.shape,
1776
1814
  created_at: e.string()
1777
- }), Mo = e.array(Ht), Gt = e.object({
1815
+ }), Ho = e.array(Gt), Bt = e.object({
1778
1816
  user_id: e.string(),
1779
1817
  resource_server_identifier: e.string(),
1780
1818
  permission_name: e.string(),
1781
1819
  organization_id: e.string().optional()
1782
- }), Bt = e.object({
1783
- ...Gt.shape,
1820
+ }), Kt = e.object({
1821
+ ...Bt.shape,
1784
1822
  tenant_id: e.string(),
1785
1823
  created_at: e.string().optional()
1786
- }), Ho = e.array(Bt), Kt = e.object({
1824
+ }), Go = e.array(Kt), Wt = e.object({
1787
1825
  user_id: e.string(),
1788
1826
  resource_server_identifier: e.string(),
1789
1827
  resource_server_name: e.string(),
@@ -1791,17 +1829,17 @@ const Rt = e.object({
1791
1829
  description: e.string().nullable().optional(),
1792
1830
  created_at: e.string().optional(),
1793
1831
  organization_id: e.string().optional()
1794
- }), Go = e.array(
1795
- Kt
1796
- ), Wt = e.object({
1832
+ }), Bo = e.array(
1833
+ Wt
1834
+ ), zt = e.object({
1797
1835
  user_id: e.string(),
1798
1836
  role_id: e.string(),
1799
1837
  organization_id: e.string().optional()
1800
- }), zt = e.object({
1801
- ...Wt.shape,
1838
+ }), Xt = e.object({
1839
+ ...zt.shape,
1802
1840
  tenant_id: e.string(),
1803
1841
  created_at: e.string().optional()
1804
- }), Bo = e.array(zt), Xt = e.object({
1842
+ }), Ko = e.array(Xt), Vt = e.object({
1805
1843
  id: e.string().optional().openapi({
1806
1844
  description: "The unique identifier of the role. If not provided, one will be generated."
1807
1845
  }),
@@ -1815,13 +1853,13 @@ const Rt = e.object({
1815
1853
  metadata: e.record(e.any()).optional().openapi({
1816
1854
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
1817
1855
  })
1818
- }), Vt = Xt.extend({
1856
+ }), qt = Vt.extend({
1819
1857
  id: e.string().openapi({
1820
1858
  description: "The unique identifier of the role"
1821
1859
  }),
1822
1860
  created_at: e.string().optional(),
1823
1861
  updated_at: e.string().optional()
1824
- }), Ko = e.array(Vt), qt = e.object({
1862
+ }), Wo = e.array(qt), Yt = e.object({
1825
1863
  logo_url: e.string().optional().openapi({
1826
1864
  description: "URL of the organization's logo"
1827
1865
  }),
@@ -1833,7 +1871,7 @@ const Rt = e.object({
1833
1871
  description: "Page background color in hex format (e.g., #FFFFFF)"
1834
1872
  })
1835
1873
  }).optional()
1836
- }).optional(), Yt = e.object({
1874
+ }).optional(), Qt = e.object({
1837
1875
  connection_id: e.string().openapi({
1838
1876
  description: "ID of the connection"
1839
1877
  }),
@@ -1846,7 +1884,7 @@ const Rt = e.object({
1846
1884
  is_signup_enabled: e.boolean().default(!0).openapi({
1847
1885
  description: "Whether signup is enabled for this connection"
1848
1886
  })
1849
- }), Qt = e.object({
1887
+ }), Jt = e.object({
1850
1888
  client_credentials: e.object({
1851
1889
  enforce: e.boolean().default(!1).openapi({
1852
1890
  description: "Whether to enforce token quota limits"
@@ -1858,7 +1896,7 @@ const Rt = e.object({
1858
1896
  description: "Maximum tokens per hour (0 = unlimited)"
1859
1897
  })
1860
1898
  }).optional()
1861
- }).optional(), Jt = e.object({
1899
+ }).optional(), Zt = e.object({
1862
1900
  id: e.string().optional(),
1863
1901
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
1864
1902
  message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
@@ -1868,34 +1906,34 @@ const Rt = e.object({
1868
1906
  display_name: e.string().optional().openapi({
1869
1907
  description: "The display name of the organization"
1870
1908
  }),
1871
- branding: qt,
1909
+ branding: Yt,
1872
1910
  metadata: e.record(e.any()).default({}).optional().openapi({
1873
1911
  description: "Custom metadata for the organization"
1874
1912
  }),
1875
- enabled_connections: e.array(Yt).default([]).optional().openapi({
1913
+ enabled_connections: e.array(Qt).default([]).optional().openapi({
1876
1914
  description: "List of enabled connections for the organization"
1877
1915
  }),
1878
- token_quota: Qt
1879
- }), Wo = e.object({
1880
- ...Jt.shape,
1916
+ token_quota: Jt
1917
+ }), zo = e.object({
1918
+ ...Zt.shape,
1881
1919
  ...r.shape,
1882
1920
  id: e.string(),
1883
1921
  // Override name to be lenient when reading from database (to support existing uppercase names)
1884
1922
  name: e.string().min(1).openapi({
1885
1923
  description: "The name of the organization"
1886
1924
  })
1887
- }), Zt = e.object({
1925
+ }), $t = e.object({
1888
1926
  user_id: e.string().openapi({
1889
1927
  description: "ID of the user"
1890
1928
  }),
1891
1929
  organization_id: e.string().openapi({
1892
1930
  description: "ID of the organization"
1893
1931
  })
1894
- }), zo = e.object({
1895
- ...Zt.shape,
1932
+ }), Xo = e.object({
1933
+ ...$t.shape,
1896
1934
  ...r.shape,
1897
1935
  id: e.string()
1898
- }), Xo = e.object({
1936
+ }), Vo = e.object({
1899
1937
  // Session settings
1900
1938
  idle_session_lifetime: e.number().optional(),
1901
1939
  session_lifetime: e.number().optional(),
@@ -1964,7 +2002,7 @@ const Rt = e.object({
1964
2002
  sessions: e.object({
1965
2003
  oidc_logout_prompt_enabled: e.boolean().optional()
1966
2004
  }).optional()
1967
- }), Vo = e.object({
2005
+ }), qo = e.object({
1968
2006
  date: e.string().openapi({
1969
2007
  description: "Date these events occurred in ISO 8601 format",
1970
2008
  example: "2025-12-19"
@@ -1989,17 +2027,17 @@ const Rt = e.object({
1989
2027
  description: "Approximate date and time the first event occurred in ISO 8601 format",
1990
2028
  example: "2025-12-19T00:00:00.000Z"
1991
2029
  })
1992
- }), qo = e.number().openapi({
2030
+ }), Yo = e.number().openapi({
1993
2031
  description: "Number of active users in the last 30 days",
1994
2032
  example: 1234
1995
2033
  });
1996
- function Yo(t) {
2034
+ function Qo(t) {
1997
2035
  const [a, s] = t.split("|");
1998
2036
  if (!a || !s)
1999
2037
  throw new Error(`Invalid user_id: ${t}`);
2000
2038
  return { connection: a, id: s };
2001
2039
  }
2002
- function Qo(t) {
2040
+ function Jo(t) {
2003
2041
  const {
2004
2042
  primary: a,
2005
2043
  secondaries: s,
@@ -2040,155 +2078,156 @@ function Qo(t) {
2040
2078
  };
2041
2079
  return new Proxy(a, F);
2042
2080
  }
2043
- function Jo(t) {
2081
+ function Zo(t) {
2044
2082
  return t;
2045
2083
  }
2046
2084
  export {
2047
- to as Auth0ActionEnum,
2048
- It as Auth0Client,
2049
- O as AuthorizationResponseMode,
2050
- T as AuthorizationResponseType,
2085
+ oo as Auth0ActionEnum,
2086
+ Ct as Auth0Client,
2087
+ T as AuthorizationResponseMode,
2088
+ O as AuthorizationResponseType,
2051
2089
  N as CodeChallengeMethod,
2052
2090
  y as ComponentCategory,
2053
2091
  C as ComponentType,
2054
- oo as EmailActionEnum,
2055
- eo as FlowActionTypeEnum,
2056
- Nt as GrantType,
2057
- Ct as LocationInfo,
2058
- St as LogTypes,
2092
+ no as EmailActionEnum,
2093
+ to as FlowActionTypeEnum,
2094
+ Rt as GrantType,
2095
+ yt as LocationInfo,
2096
+ At as LogTypes,
2059
2097
  w as LoginSessionState,
2060
- se as NodeType,
2098
+ le as NodeType,
2061
2099
  G as RedirectTargetEnum,
2062
- pe as actionNodeSchema,
2063
- qo as activeUsersResponseSchema,
2064
- co as auth0FlowInsertSchema,
2065
- me as auth0FlowSchema,
2066
- io as auth0QuerySchema,
2100
+ _e as actionNodeSchema,
2101
+ Yo as activeUsersResponseSchema,
2102
+ V as addressSchema,
2103
+ po as auth0FlowInsertSchema,
2104
+ he as auth0FlowSchema,
2105
+ ao as auth0QuerySchema,
2067
2106
  M as auth0UpdateUserActionSchema,
2068
- ro as auth0UserResponseSchema,
2069
- he as authParamsSchema,
2107
+ so as auth0UserResponseSchema,
2108
+ be as authParamsSchema,
2070
2109
  I as baseUserSchema,
2071
- et as blockComponentSchema,
2072
- Rt as bordersSchema,
2073
- po as brandingSchema,
2074
- oe as buttonComponentSchema,
2075
- $ as clientGrantInsertSchema,
2076
- lo as clientGrantListSchema,
2077
- ee as clientGrantSchema,
2078
- J as clientInsertSchema,
2079
- Z as clientSchema,
2080
- Ce as codeInsertSchema,
2081
- go as codeSchema,
2082
- Ie as codeTypeSchema,
2083
- Dt as colorsSchema,
2084
- lt as componentMessageSchema,
2085
- re as componentSchema,
2086
- fe as connectionInsertSchema,
2087
- be as connectionOptionsSchema,
2088
- Ee as connectionSchema,
2110
+ tt as blockComponentSchema,
2111
+ Dt as bordersSchema,
2112
+ _o as brandingSchema,
2113
+ ne as buttonComponentSchema,
2114
+ ee as clientGrantInsertSchema,
2115
+ co as clientGrantListSchema,
2116
+ te as clientGrantSchema,
2117
+ Z as clientInsertSchema,
2118
+ $ as clientSchema,
2119
+ ye as codeInsertSchema,
2120
+ uo as codeSchema,
2121
+ Ce as codeTypeSchema,
2122
+ Lt as colorsSchema,
2123
+ ct as componentMessageSchema,
2124
+ se as componentSchema,
2125
+ Ee as connectionInsertSchema,
2126
+ fe as connectionOptionsSchema,
2127
+ Se as connectionSchema,
2089
2128
  c as coordinatesSchema,
2090
- Qo as createPassthroughAdapter,
2091
- Jo as createWriteOnlyAdapter,
2092
- ye as customDomainInsertSchema,
2093
- Oe as customDomainSchema,
2094
- uo as customDomainWithTenantIdSchema,
2095
- Vo as dailyStatsSchema,
2096
- Fo as emailProviderSchema,
2129
+ Jo as createPassthroughAdapter,
2130
+ Zo as createWriteOnlyAdapter,
2131
+ Oe as customDomainInsertSchema,
2132
+ Ne as customDomainSchema,
2133
+ mo as customDomainWithTenantIdSchema,
2134
+ qo as dailyStatsSchema,
2135
+ ko as emailProviderSchema,
2097
2136
  P as emailVerificationRulesSchema,
2098
2137
  H as emailVerifyActionSchema,
2099
- ue as endingSchema,
2100
- ot as fieldComponentSchema,
2138
+ me as endingSchema,
2139
+ nt as fieldComponentSchema,
2101
2140
  K as flowActionStepSchema,
2102
2141
  W as flowInsertSchema,
2103
- no as flowSchema,
2104
- ie as flowsFieldComponentSchema,
2105
- ce as flowsFlowNodeSchema,
2106
- le as flowsStepNodeSchema,
2142
+ io as flowSchema,
2143
+ ae as flowsFieldComponentSchema,
2144
+ pe as flowsFlowNodeSchema,
2145
+ ce as flowsStepNodeSchema,
2107
2146
  l as fontDetailsSchema,
2108
- Lt as fontsSchema,
2109
- mo as formControlSchema,
2110
- st as formInsertSchema,
2147
+ wt as fontsSchema,
2148
+ ho as formControlSchema,
2149
+ lt as formInsertSchema,
2111
2150
  R as formNodeComponentDefinition,
2112
- rt as formNodeSchema,
2113
- ho as formSchema,
2114
- ae as genericComponentSchema,
2115
- _e as genericNodeSchema,
2116
- Ao as hookInsertSchema,
2117
- Io as hookSchema,
2151
+ st as formNodeSchema,
2152
+ bo as formSchema,
2153
+ re as genericComponentSchema,
2154
+ de as genericNodeSchema,
2155
+ Io as hookInsertSchema,
2156
+ Co as hookSchema,
2118
2157
  X as identitySchema,
2119
- ht as inviteInsertSchema,
2120
- Co as inviteSchema,
2121
- mt as inviteeSchema,
2122
- ut as inviterSchema,
2123
- fo as isBlockComponent,
2124
- So as isFieldComponent,
2125
- Eo as isWidgetComponent,
2126
- yo as jwksKeySchema,
2127
- bt as jwksSchema,
2128
- _o as legacyClientSchema,
2129
- ne as legalComponentSchema,
2130
- yt as logInsertSchema,
2131
- No as logSchema,
2132
- Et as loginSessionInsertSchema,
2133
- Oo as loginSessionSchema,
2134
- ft as loginSessionStateSchema,
2135
- de as nodeSchema,
2158
+ bt as inviteInsertSchema,
2159
+ yo as inviteSchema,
2160
+ ht as inviteeSchema,
2161
+ mt as inviterSchema,
2162
+ Eo as isBlockComponent,
2163
+ Ao as isFieldComponent,
2164
+ So as isWidgetComponent,
2165
+ Oo as jwksKeySchema,
2166
+ ft as jwksSchema,
2167
+ go as legacyClientSchema,
2168
+ ie as legalComponentSchema,
2169
+ Ot as logInsertSchema,
2170
+ Ro as logSchema,
2171
+ St as loginSessionInsertSchema,
2172
+ No as loginSessionSchema,
2173
+ Et as loginSessionStateSchema,
2174
+ ge as nodeSchema,
2136
2175
  To as openIDConfigurationSchema,
2137
- qt as organizationBrandingSchema,
2138
- Yt as organizationEnabledConnectionSchema,
2139
- Jt as organizationInsertSchema,
2140
- Wo as organizationSchema,
2141
- Qt as organizationTokenQuotaSchema,
2142
- wt as pageBackgroundSchema,
2143
- Yo as parseUserId,
2176
+ Yt as organizationBrandingSchema,
2177
+ Qt as organizationEnabledConnectionSchema,
2178
+ Zt as organizationInsertSchema,
2179
+ zo as organizationSchema,
2180
+ Jt as organizationTokenQuotaSchema,
2181
+ jt as pageBackgroundSchema,
2182
+ Qo as parseUserId,
2144
2183
  Tt as passwordInsertSchema,
2145
- Ro as passwordSchema,
2184
+ Do as passwordSchema,
2146
2185
  z as profileDataSchema,
2147
- Uo as promptSettingSchema,
2186
+ Fo as promptSettingSchema,
2148
2187
  B as redirectActionSchema,
2149
- Ft as refreshTokenInsertSchema,
2150
- ko as refreshTokenSchema,
2151
- xt as resourceServerInsertSchema,
2152
- Po as resourceServerListSchema,
2153
- vt as resourceServerOptionsSchema,
2154
- Pt as resourceServerSchema,
2155
- kt as resourceServerScopeSchema,
2156
- te as richTextComponentSchema,
2157
- Xt as roleInsertSchema,
2158
- Ko as roleListSchema,
2159
- Mt as rolePermissionInsertSchema,
2160
- Mo as rolePermissionListSchema,
2161
- Ht as rolePermissionSchema,
2162
- Vt as roleSchema,
2163
- ct as screenLinkSchema,
2164
- Ot as sessionInsertSchema,
2165
- Do as sessionSchema,
2166
- Lo as signingKeySchema,
2167
- xo as smsProviderSchema,
2168
- vo as smsSendParamsSchema,
2169
- ge as startSchema,
2170
- Se as tenantInsertSchema,
2171
- Ae as tenantSchema,
2172
- Xo as tenantSettingsSchema,
2173
- Ut as themeInsertSchema,
2174
- jo as themeSchema,
2175
- wo as tokenResponseSchema,
2176
- ao as totalsSchema,
2177
- bo as uiScreenSchema,
2178
- V as userInsertSchema,
2179
- Zt as userOrganizationInsertSchema,
2180
- zo as userOrganizationSchema,
2181
- Gt as userPermissionInsertSchema,
2182
- Ho as userPermissionListSchema,
2183
- Bt as userPermissionSchema,
2184
- Go as userPermissionWithDetailsListSchema,
2185
- Kt as userPermissionWithDetailsSchema,
2186
- so as userResponseSchema,
2187
- Wt as userRoleInsertSchema,
2188
- Bo as userRoleListSchema,
2189
- zt as userRoleSchema,
2190
- q as userSchema,
2188
+ kt as refreshTokenInsertSchema,
2189
+ vo as refreshTokenSchema,
2190
+ Pt as resourceServerInsertSchema,
2191
+ Mo as resourceServerListSchema,
2192
+ xt as resourceServerOptionsSchema,
2193
+ Mt as resourceServerSchema,
2194
+ vt as resourceServerScopeSchema,
2195
+ oe as richTextComponentSchema,
2196
+ Vt as roleInsertSchema,
2197
+ Wo as roleListSchema,
2198
+ Ht as rolePermissionInsertSchema,
2199
+ Ho as rolePermissionListSchema,
2200
+ Gt as rolePermissionSchema,
2201
+ qt as roleSchema,
2202
+ pt as screenLinkSchema,
2203
+ Nt as sessionInsertSchema,
2204
+ Lo as sessionSchema,
2205
+ wo as signingKeySchema,
2206
+ Po as smsProviderSchema,
2207
+ xo as smsSendParamsSchema,
2208
+ ue as startSchema,
2209
+ Ae as tenantInsertSchema,
2210
+ Ie as tenantSchema,
2211
+ Vo as tenantSettingsSchema,
2212
+ Ft as themeInsertSchema,
2213
+ Uo as themeSchema,
2214
+ jo as tokenResponseSchema,
2215
+ ro as totalsSchema,
2216
+ fo as uiScreenSchema,
2217
+ q as userInsertSchema,
2218
+ $t as userOrganizationInsertSchema,
2219
+ Xo as userOrganizationSchema,
2220
+ Bt as userPermissionInsertSchema,
2221
+ Go as userPermissionListSchema,
2222
+ Kt as userPermissionSchema,
2223
+ Bo as userPermissionWithDetailsListSchema,
2224
+ Wt as userPermissionWithDetailsSchema,
2225
+ lo as userResponseSchema,
2226
+ zt as userRoleInsertSchema,
2227
+ Ko as userRoleListSchema,
2228
+ Xt as userRoleSchema,
2229
+ Y as userSchema,
2191
2230
  Te as verificationMethodsSchema,
2192
- tt as widgetComponentSchema,
2193
- jt as widgetSchema
2231
+ ot as widgetComponentSchema,
2232
+ Ut as widgetSchema
2194
2233
  };