@authhero/adapter-interfaces 2.5.0 → 2.6.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.
@@ -42,9 +42,8 @@ const s = e.object({
42
42
  name: e.string(),
43
43
  value: e.string().optional()
44
44
  })
45
- ).optional(),
46
- ...s.shape
47
- }), te = e.string(), oe = e.enum([
45
+ ).optional()
46
+ }).extend(s.shape), te = e.string(), oe = e.enum([
48
47
  "unspecified",
49
48
  "pending",
50
49
  "final",
@@ -77,7 +76,7 @@ const s = e.object({
77
76
  logs: se.optional(),
78
77
  created_at: e.string(),
79
78
  updated_at: e.string()
80
- }), pn = re.omit({
79
+ }), _n = re.omit({
81
80
  tenant_id: !0,
82
81
  created_at: !0,
83
82
  updated_at: !0
@@ -89,17 +88,16 @@ const s = e.object({
89
88
  secrets: e.array(U).optional(),
90
89
  supported_triggers: e.array(D).optional(),
91
90
  deployed: e.boolean().default(!0)
92
- }), _n = le.extend({
91
+ }), pn = le.extend({
93
92
  id: e.string(),
94
93
  tenant_id: e.string(),
95
- number: e.number().int(),
96
- ...s.shape
97
- }), ce = e.enum([
94
+ number: e.number().int()
95
+ }).extend(s.shape), ce = e.enum([
98
96
  "user_action",
99
97
  "admin_action",
100
98
  "system",
101
99
  "api"
102
- ]), pe = e.object({
100
+ ]), _e = e.object({
103
101
  type: e.enum(["user", "admin", "system", "api_key", "client_credentials"]),
104
102
  id: e.string().optional(),
105
103
  email: e.string().optional(),
@@ -107,16 +105,16 @@ const s = e.object({
107
105
  org_name: e.string().optional(),
108
106
  scopes: e.array(e.string()).optional(),
109
107
  client_id: e.string().optional()
110
- }), _e = e.object({
108
+ }), pe = e.object({
111
109
  type: e.string(),
112
110
  id: e.string(),
113
- before: e.record(e.unknown()).optional(),
114
- after: e.record(e.unknown()).optional(),
115
- diff: e.record(e.object({ old: e.unknown(), new: e.unknown() })).optional()
111
+ before: e.record(e.string(), e.unknown()).optional(),
112
+ after: e.record(e.string(), e.unknown()).optional(),
113
+ diff: e.record(e.string(), e.object({ old: e.unknown(), new: e.unknown() })).optional()
116
114
  }), de = e.object({
117
115
  method: e.string(),
118
116
  path: e.string(),
119
- query: e.record(e.string()).optional(),
117
+ query: e.record(e.string(), e.string()).optional(),
120
118
  body: e.unknown().optional(),
121
119
  ip: e.string(),
122
120
  user_agent: e.string().optional(),
@@ -134,15 +132,15 @@ const s = e.object({
134
132
  }), me = e.object({
135
133
  name: e.string(),
136
134
  version: e.string(),
137
- env: e.record(e.string()).optional()
135
+ env: e.record(e.string(), e.string()).optional()
138
136
  }), Ee = e.object({
139
137
  tenant_id: e.string(),
140
138
  event_type: e.string(),
141
139
  log_type: e.string(),
142
140
  description: e.string().optional(),
143
141
  category: ce,
144
- actor: pe,
145
- target: _e,
142
+ actor: _e,
143
+ target: pe,
146
144
  request: de,
147
145
  response: ge.optional(),
148
146
  connection: e.string().optional(),
@@ -182,7 +180,7 @@ const s = e.object({
182
180
  user_id: e.string(),
183
181
  changes: e.record(e.string(), e.any())
184
182
  })
185
- }), be = e.object({
183
+ }), Ae = e.object({
186
184
  id: e.string(),
187
185
  alias: e.string().max(100).optional(),
188
186
  type: e.literal("EMAIL"),
@@ -193,7 +191,7 @@ const s = e.object({
193
191
  email: e.string(),
194
192
  rules: Se.optional()
195
193
  })
196
- }), Ae = e.enum(["change-email", "account", "custom"]), fe = e.object({
194
+ }), be = e.enum(["change-email", "account", "custom"]), fe = e.object({
197
195
  id: e.string(),
198
196
  alias: e.string().max(100).optional(),
199
197
  type: e.literal("REDIRECT"),
@@ -201,7 +199,7 @@ const s = e.object({
201
199
  allow_failure: e.boolean().optional(),
202
200
  mask_output: e.boolean().optional(),
203
201
  params: e.object({
204
- target: Ae.openapi({
202
+ target: be.openapi({
205
203
  description: "The predefined target to redirect to, or 'custom' for a custom URL"
206
204
  }),
207
205
  custom_url: e.string().optional().openapi({
@@ -210,7 +208,7 @@ const s = e.object({
210
208
  })
211
209
  }), Ce = e.union([
212
210
  he,
213
- be,
211
+ Ae,
214
212
  fe
215
213
  ]), Ie = e.object({
216
214
  name: e.string().min(1).max(150).openapi({
@@ -220,8 +218,7 @@ const s = e.object({
220
218
  actions: e.array(Ce).optional().default([]).openapi({
221
219
  description: "The list of actions to execute in sequence"
222
220
  })
223
- }), En = Ie.extend({
224
- ...s.shape,
221
+ }), En = Ie.extend(s.shape).extend({
225
222
  id: e.string().openapi({
226
223
  description: "Unique identifier for the flow",
227
224
  example: "af_12tMpdJ3iek7svMyZkSh5M"
@@ -284,7 +281,11 @@ const s = e.object({
284
281
  country: e.string().optional()
285
282
  // Country name
286
283
  }).optional(), k = e.object({
287
- email: e.string().optional().transform((o) => o && o.toLowerCase()),
284
+ // Apply the lowercase transform *before* `.optional()` so the key remains
285
+ // optional (`email?: string`) in inference. Zod 4 strips the optional-key
286
+ // marker when a transform runs over an `.optional()` schema, which made
287
+ // User/UserInsert types diverge.
288
+ email: e.string().transform((o) => o.toLowerCase()).optional(),
288
289
  username: e.string().refine((o) => !o.includes("@"), {
289
290
  message: 'Usernames must not contain "@". Use the email field for email addresses.'
290
291
  }).optional(),
@@ -339,18 +340,16 @@ const s = e.object({
339
340
  hash: e.string(),
340
341
  algorithm: e.string()
341
342
  }).optional()
342
- }), Re = e.object({
343
- ...ye.omit({ password: !0 }).shape,
344
- ...s.shape,
343
+ }), Re = ye.omit({ password: !0 }).extend(s.shape).extend({
345
344
  user_id: e.string(),
346
345
  provider: e.string(),
347
346
  is_social: e.boolean(),
348
347
  email: e.string().optional(),
349
348
  login_count: e.number().default(0),
350
349
  identities: e.array(Te).optional()
351
- }), bn = Re.omit({
350
+ }), An = Re.omit({
352
351
  registration_completed_at: !0
353
- }), An = k.extend({
352
+ }), bn = k.extend({
354
353
  login_count: e.number(),
355
354
  multifactor: e.array(e.string()).optional(),
356
355
  last_ip: e.string().optional(),
@@ -441,22 +440,22 @@ const Fe = e.object({
441
440
  allowed_logout_urls: e.array(e.string()).default([]).optional().openapi({
442
441
  description: "Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains."
443
442
  }),
444
- session_transfer: e.record(e.any()).default({}).optional().openapi({
443
+ session_transfer: e.record(e.string(), e.any()).default({}).optional().openapi({
445
444
  description: "Native to Web SSO Configuration"
446
445
  }),
447
- oidc_logout: e.record(e.any()).default({}).optional().openapi({
446
+ oidc_logout: e.record(e.string(), e.any()).default({}).optional().openapi({
448
447
  description: "Configuration for OIDC backchannel logout"
449
448
  }),
450
449
  grant_types: e.array(e.string()).default([]).optional().openapi({
451
450
  description: "List of grant types supported for this application. Can include authorization_code, implicit, refresh_token, client_credentials, password, http://auth0.com/oauth/grant-type/password-realm, http://auth0.com/oauth/grant-type/mfa-oob, http://auth0.com/oauth/grant-type/mfa-otp, http://auth0.com/oauth/grant-type/mfa-recovery-code, urn:openid:params:grant-type:ciba, and urn:ietf:params:oauth:grant-type:device_code."
452
451
  }),
453
- jwt_configuration: e.record(e.any()).default({}).optional().openapi({
452
+ jwt_configuration: e.record(e.string(), e.any()).default({}).optional().openapi({
454
453
  description: "Configuration related to JWTs for the client."
455
454
  }),
456
- signing_keys: e.array(e.record(e.any())).default([]).optional().openapi({
455
+ signing_keys: e.array(e.record(e.string(), e.any())).default([]).optional().openapi({
457
456
  description: "Signing certificates associated with this client."
458
457
  }),
459
- encryption_key: e.record(e.any()).default({}).optional().openapi({
458
+ encryption_key: e.record(e.string(), e.any()).default({}).optional().openapi({
460
459
  description: "Encryption used for WsFed responses with this client."
461
460
  }),
462
461
  sso: e.boolean().default(!1).openapi({
@@ -483,7 +482,7 @@ const Fe = e.object({
483
482
  form_template: e.string().optional().openapi({
484
483
  description: "HTML form template to be used for WS-Federation."
485
484
  }),
486
- addons: e.record(e.any()).default({}).optional().openapi({
485
+ addons: e.record(e.string(), e.any()).default({}).optional().openapi({
487
486
  description: "Addons enabled for this client and their associated configurations."
488
487
  }),
489
488
  token_endpoint_auth_method: e.enum([
@@ -495,19 +494,19 @@ const Fe = e.object({
495
494
  ]).default("client_secret_basic").optional().openapi({
496
495
  description: "Defines the requested authentication method for the token endpoint. `none` (public client), `client_secret_post` / `client_secret_basic` (HTTP POST / Basic), `client_secret_jwt` (RFC 7523 HMAC assertion using client_secret), or `private_key_jwt` (RFC 7523 asymmetric assertion verified against the client's `jwks` / `jwks_uri`)."
497
496
  }),
498
- client_metadata: e.record(e.string().max(255)).default({}).optional().openapi({
497
+ client_metadata: e.record(e.string(), e.string().max(255)).default({}).optional().openapi({
499
498
  description: 'Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: :,-+=_*?"/()<>@ [Tab][Space]'
500
499
  }),
501
500
  hide_sign_up_disabled_error: e.boolean().default(!1).optional().openapi({
502
501
  description: "Enumeration-safe variant of the connection-level `disable_signup` flag. When a signup is blocked by the password connection and this is true, the identifier screen does not reveal that an email is unknown — it advances to the OTP/password challenge as if the account existed and fails at credential check. Mitigates email enumeration at the cost of UX: users without an account see a generic credential failure instead of an explicit signup-disabled message."
503
502
  }),
504
- mobile: e.record(e.any()).default({}).optional().openapi({
503
+ mobile: e.record(e.string(), e.any()).default({}).optional().openapi({
505
504
  description: "Additional configuration for native mobile apps."
506
505
  }),
507
506
  initiate_login_uri: e.string().url().optional().openapi({
508
507
  description: "Initiate login uri, must be https"
509
508
  }),
510
- native_social_login: e.record(e.any()).default({}).optional(),
509
+ native_social_login: e.record(e.string(), e.any()).default({}).optional(),
511
510
  refresh_token: e.object({
512
511
  rotation_type: e.enum(["rotating", "non-rotating"]).optional().openapi({
513
512
  description: "Whether refresh tokens for this client are rotated on every exchange (Auth0 'rotating' behavior) or kept stable (legacy non-rotating). Defaults to 'non-rotating' when unset."
@@ -538,7 +537,7 @@ const Fe = e.object({
538
537
  }).default({}).optional().openapi({
539
538
  description: "Refresh token configuration"
540
539
  }),
541
- default_organization: e.record(e.any()).default({}).optional().openapi({
540
+ default_organization: e.record(e.string(), e.any()).default({}).optional().openapi({
542
541
  description: "Defines the default Organization ID and flows"
543
542
  }),
544
543
  organization_usage: e.enum(["deny", "allow", "require"]).default("deny").optional().openapi({
@@ -547,7 +546,7 @@ const Fe = e.object({
547
546
  organization_require_behavior: e.enum(["no_prompt", "pre_login_prompt", "post_login_prompt"]).default("no_prompt").optional().openapi({
548
547
  description: "Defines how to proceed during an authentication transaction when client.organization_usage: 'require'. Can be no_prompt (default), pre_login_prompt or post_login_prompt. post_login_prompt requires oidc_conformant: true."
549
548
  }),
550
- client_authentication_methods: e.record(e.any()).default({}).optional().openapi({
549
+ client_authentication_methods: e.record(e.string(), e.any()).default({}).optional().openapi({
551
550
  description: "Defines client authentication methods."
552
551
  }),
553
552
  require_pushed_authorization_requests: e.boolean().default(!1).openapi({
@@ -556,7 +555,7 @@ const Fe = e.object({
556
555
  require_proof_of_possession: e.boolean().default(!1).openapi({
557
556
  description: "Makes the use of Proof-of-Possession mandatory for this client"
558
557
  }),
559
- signed_request_object: e.record(e.any()).default({}).optional().openapi({
558
+ signed_request_object: e.record(e.string(), e.any()).default({}).optional().openapi({
560
559
  description: "JWT-secured Authorization Requests (JAR) settings."
561
560
  }),
562
561
  compliance_level: e.enum([
@@ -571,14 +570,14 @@ const Fe = e.object({
571
570
  par_request_expiry: e.number().optional().openapi({
572
571
  description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
573
572
  }),
574
- token_quota: e.record(e.any()).default({}).optional(),
573
+ token_quota: e.record(e.string(), e.any()).default({}).optional(),
575
574
  owner_user_id: e.string().optional().openapi({
576
575
  description: "User ID of the consenting user when this client was created via IAT-gated Dynamic Client Registration. NULL for clients created via the Management API or open DCR."
577
576
  }),
578
577
  registration_type: e.enum(["manual", "open_dcr", "iat_dcr"]).optional().openapi({
579
578
  description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token."
580
579
  }),
581
- registration_metadata: e.record(e.any()).default({}).optional().openapi({
580
+ registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({
582
581
  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."
583
582
  }),
584
583
  user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({
@@ -586,8 +585,8 @@ const Fe = e.object({
586
585
  })
587
586
  }), fn = e.object({
588
587
  created_at: e.string(),
589
- updated_at: e.string(),
590
- ...Fe.shape,
588
+ updated_at: e.string()
589
+ }).extend(Fe.shape).extend({
591
590
  // Insert allows omitting (server-generated to match Auth0). The read schema
592
591
  // always has it — the row in storage is non-null.
593
592
  client_id: e.string()
@@ -619,34 +618,33 @@ const Fe = e.object({
619
618
  }), we = e.object({
620
619
  id: e.string().openapi({
621
620
  description: "ID of the client grant."
622
- }),
623
- ...Ue.shape,
621
+ })
622
+ }).extend(Ue.shape).extend({
624
623
  created_at: e.string().optional(),
625
624
  updated_at: e.string().optional()
626
- }), Cn = e.array(we), ke = e.enum(["iat", "rat"]), je = e.object({
625
+ }), Cn = e.array(we), ke = e.enum(["iat", "rat"]), Me = e.object({
627
626
  id: e.string(),
628
627
  token_hash: e.string(),
629
628
  type: ke,
630
629
  client_id: e.string().optional(),
631
630
  sub: e.string().optional(),
632
- constraints: e.record(e.unknown()).optional(),
631
+ constraints: e.record(e.string(), e.unknown()).optional(),
633
632
  single_use: e.boolean().default(!1),
634
633
  expires_at: e.string().optional()
635
634
  }), In = e.object({
636
635
  created_at: e.string(),
637
636
  used_at: e.string().optional(),
638
- revoked_at: e.string().optional(),
639
- ...je.shape
640
- }), E = e.object({
637
+ revoked_at: e.string().optional()
638
+ }).extend(Me.shape), E = e.object({
641
639
  x: e.number(),
642
640
  y: e.number()
643
641
  });
644
- var j = /* @__PURE__ */ ((o) => (o.RICH_TEXT = "RICH_TEXT", o.NEXT_BUTTON = "NEXT_BUTTON", o.BACK_BUTTON = "BACK_BUTTON", o.SUBMIT_BUTTON = "SUBMIT_BUTTON", o.DIVIDER = "DIVIDER", o.TEXT = "TEXT", o.EMAIL = "EMAIL", o.PASSWORD = "PASSWORD", o.NUMBER = "NUMBER", o.PHONE = "PHONE", o.DATE = "DATE", o.CHECKBOX = "CHECKBOX", o.RADIO = "RADIO", o.SELECT = "SELECT", o.HIDDEN = "HIDDEN", o.LEGAL = "LEGAL", o))(j || {}), M = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(M || {});
642
+ var M = /* @__PURE__ */ ((o) => (o.RICH_TEXT = "RICH_TEXT", o.NEXT_BUTTON = "NEXT_BUTTON", o.BACK_BUTTON = "BACK_BUTTON", o.SUBMIT_BUTTON = "SUBMIT_BUTTON", o.DIVIDER = "DIVIDER", o.TEXT = "TEXT", o.EMAIL = "EMAIL", o.PASSWORD = "PASSWORD", o.NUMBER = "NUMBER", o.PHONE = "PHONE", o.DATE = "DATE", o.CHECKBOX = "CHECKBOX", o.RADIO = "RADIO", o.SELECT = "SELECT", o.HIDDEN = "HIDDEN", o.LEGAL = "LEGAL", o))(M || {}), v = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(v || {});
645
643
  const T = e.object({
646
644
  id: e.string(),
647
- category: e.nativeEnum(M),
648
- type: e.nativeEnum(j)
649
- }), Me = T.extend({
645
+ category: e.nativeEnum(v),
646
+ type: e.nativeEnum(M)
647
+ }), ve = T.extend({
650
648
  category: e.literal(
651
649
  "BLOCK"
652
650
  /* BLOCK */
@@ -680,7 +678,7 @@ const T = e.object({
680
678
  config: e.object({
681
679
  text: e.string()
682
680
  }).passthrough()
683
- }), ve = T.extend({
681
+ }), je = T.extend({
684
682
  category: e.literal(
685
683
  "FIELD"
686
684
  /* FIELD */
@@ -752,9 +750,9 @@ const T = e.object({
752
750
  category: e.string(),
753
751
  type: e.string()
754
752
  }).passthrough(), Ge = e.union([
755
- Me,
756
- Pe,
757
753
  ve,
754
+ Pe,
755
+ je,
758
756
  xe,
759
757
  He
760
758
  ]);
@@ -840,7 +838,7 @@ const Be = e.object({
840
838
  created_at: !0,
841
839
  updated_at: !0
842
840
  });
843
- var P = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "id_token token", o.CODE = "code", o.CODE_ID_TOKEN = "code id_token", o.CODE_TOKEN = "code token", o.CODE_ID_TOKEN_TOKEN = "code id_token token", o))(P || {}), v = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(v || {}), x = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(x || {});
841
+ var P = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "id_token token", o.CODE = "code", o.CODE_ID_TOKEN = "code id_token", o.CODE_TOKEN = "code token", o.CODE_ID_TOKEN_TOKEN = "code id_token token", o))(P || {}), j = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(j || {}), x = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(x || {});
844
842
  const L = e.union([
845
843
  e.null(),
846
844
  e.object({
@@ -855,7 +853,7 @@ const L = e.union([
855
853
  client_id: e.string(),
856
854
  act_as: e.string().optional(),
857
855
  response_type: e.nativeEnum(P).optional(),
858
- response_mode: e.nativeEnum(v).optional(),
856
+ response_mode: e.nativeEnum(j).optional(),
859
857
  redirect_uri: e.string().optional(),
860
858
  audience: e.string().optional(),
861
859
  organization: e.string().optional(),
@@ -946,8 +944,7 @@ const L = e.union([
946
944
  expires_at: e.string(),
947
945
  used_at: e.string().optional(),
948
946
  user_id: e.string().optional()
949
- }), Nn = e.object({
950
- ...et.shape,
947
+ }), Nn = et.extend({
951
948
  created_at: e.string()
952
949
  }), tt = e.object({
953
950
  kid: e.string().optional(),
@@ -1115,7 +1112,7 @@ const ot = e.object({
1115
1112
  response_mode: e.custom().optional(),
1116
1113
  is_domain_connection: e.boolean().optional(),
1117
1114
  show_as_button: e.boolean().optional(),
1118
- metadata: e.record(e.any()).optional(),
1115
+ metadata: e.record(e.string(), e.any()).optional(),
1119
1116
  is_system: e.boolean().optional()
1120
1117
  }), yn = e.object({
1121
1118
  id: e.string(),
@@ -1134,7 +1131,7 @@ const ot = e.object({
1134
1131
  "x-azure-clientip",
1135
1132
  "null"
1136
1133
  ]).optional(),
1137
- domain_metadata: e.record(e.string().max(255)).optional()
1134
+ domain_metadata: e.record(e.string(), e.string().max(255)).optional()
1138
1135
  }), it = e.discriminatedUnion("name", [
1139
1136
  e.object({
1140
1137
  name: e.literal("txt"),
@@ -1146,8 +1143,7 @@ const ot = e.object({
1146
1143
  http_body: e.string(),
1147
1144
  http_url: e.string()
1148
1145
  })
1149
- ]), at = e.object({
1150
- ...nt.shape,
1146
+ ]), at = nt.extend({
1151
1147
  custom_domain_id: e.string(),
1152
1148
  primary: e.boolean(),
1153
1149
  status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
@@ -1188,13 +1184,13 @@ const ot = e.object({
1188
1184
  text: e.string().optional(),
1189
1185
  target_step: e.string().optional()
1190
1186
  })
1191
- }), pt = c.extend({
1187
+ }), _t = c.extend({
1192
1188
  type: e.literal("RESEND_BUTTON"),
1193
1189
  config: e.object({
1194
1190
  text: e.string().optional(),
1195
1191
  resend_action: e.string().optional()
1196
1192
  })
1197
- }), _t = c.extend({
1193
+ }), pt = c.extend({
1198
1194
  type: e.literal("NEXT_BUTTON"),
1199
1195
  config: e.object({
1200
1196
  text: e.string().optional()
@@ -1261,7 +1257,7 @@ const ot = e.object({
1261
1257
  ).optional(),
1262
1258
  multi_select: e.boolean().optional()
1263
1259
  }).optional()
1264
- }), bt = a.extend({
1260
+ }), At = a.extend({
1265
1261
  type: e.literal("CHOICE"),
1266
1262
  config: e.object({
1267
1263
  options: e.array(
@@ -1274,12 +1270,12 @@ const ot = e.object({
1274
1270
  multiple: e.boolean().optional(),
1275
1271
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1276
1272
  }).optional()
1277
- }), At = a.extend({
1273
+ }), bt = a.extend({
1278
1274
  type: e.literal("CUSTOM"),
1279
1275
  config: e.object({
1280
1276
  component: e.string().optional(),
1281
- props: e.record(e.any()).optional(),
1282
- schema: e.record(e.any()).optional(),
1277
+ props: e.record(e.string(), e.any()).optional(),
1278
+ schema: e.record(e.string(), e.any()).optional(),
1283
1279
  code: e.string().optional()
1284
1280
  })
1285
1281
  }), ft = a.extend({
@@ -1395,20 +1391,20 @@ const ot = e.object({
1395
1391
  rt,
1396
1392
  lt,
1397
1393
  ct,
1398
- pt,
1399
1394
  _t,
1395
+ pt,
1400
1396
  dt,
1401
1397
  gt
1402
- ]), jt = e.discriminatedUnion("type", [
1398
+ ]), Mt = e.discriminatedUnion("type", [
1403
1399
  ut,
1404
1400
  mt,
1405
1401
  Et
1406
- ]), Mt = e.discriminatedUnion("type", [
1402
+ ]), vt = e.discriminatedUnion("type", [
1407
1403
  St,
1408
1404
  ht,
1409
- bt,
1410
- Ut,
1411
1405
  At,
1406
+ Ut,
1407
+ bt,
1412
1408
  ft,
1413
1409
  Ct,
1414
1410
  It,
@@ -1423,8 +1419,8 @@ const ot = e.object({
1423
1419
  wt
1424
1420
  ]), H = e.union([
1425
1421
  kt,
1426
- jt,
1427
- Mt
1422
+ Mt,
1423
+ vt
1428
1424
  ]), Ln = /* @__PURE__ */ new Set([
1429
1425
  "BOOLEAN",
1430
1426
  "CARDS",
@@ -1448,22 +1444,22 @@ const ot = e.object({
1448
1444
  order: e.number().optional(),
1449
1445
  visible: e.boolean().optional().default(!0),
1450
1446
  customizations: e.record(e.string(), e.any()).optional()
1451
- }), A = e.object({
1447
+ }), b = e.object({
1452
1448
  x: e.number(),
1453
1449
  y: e.number()
1454
1450
  }), Pt = e.object({
1455
1451
  id: e.string(),
1456
1452
  type: e.literal("FLOW"),
1457
- coordinates: A,
1453
+ coordinates: b,
1458
1454
  alias: e.string().min(1).max(150).optional(),
1459
1455
  config: e.object({
1460
1456
  flow_id: e.string().max(30),
1461
1457
  next_node: e.string().optional()
1462
1458
  })
1463
- }), vt = e.object({
1459
+ }), jt = e.object({
1464
1460
  id: e.string(),
1465
1461
  type: e.literal("ROUTER"),
1466
- coordinates: A,
1462
+ coordinates: b,
1467
1463
  alias: e.string().min(1).max(150),
1468
1464
  config: e.object({
1469
1465
  rules: e.array(
@@ -1479,7 +1475,7 @@ const ot = e.object({
1479
1475
  }), xt = e.object({
1480
1476
  id: e.string(),
1481
1477
  type: e.literal("STEP"),
1482
- coordinates: A,
1478
+ coordinates: b,
1483
1479
  alias: e.string().min(1).max(150).optional(),
1484
1480
  config: e.object({
1485
1481
  components: e.array(H),
@@ -1487,7 +1483,7 @@ const ot = e.object({
1487
1483
  })
1488
1484
  }), Ht = e.discriminatedUnion("type", [
1489
1485
  Pt,
1490
- vt,
1486
+ jt,
1491
1487
  xt
1492
1488
  ]), Gt = e.object({
1493
1489
  name: e.string().openapi({
@@ -1506,7 +1502,7 @@ const ot = e.object({
1506
1502
  start: e.object({
1507
1503
  hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
1508
1504
  next_node: e.string().optional(),
1509
- coordinates: A.optional()
1505
+ coordinates: b.optional()
1510
1506
  }).optional(),
1511
1507
  ending: e.object({
1512
1508
  redirection: e.object({
@@ -1514,7 +1510,7 @@ const ot = e.object({
1514
1510
  target: e.string().optional()
1515
1511
  }).optional(),
1516
1512
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1517
- coordinates: A.optional(),
1513
+ coordinates: b.optional(),
1518
1514
  resume_flow: e.boolean().optional()
1519
1515
  }).optional(),
1520
1516
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1524,9 +1520,7 @@ const ot = e.object({
1524
1520
  }).optional()
1525
1521
  }).openapi({
1526
1522
  description: "Schema for flow-based forms (matches Auth0 Forms structure)"
1527
- }), Fn = e.object({
1528
- ...s.shape,
1529
- ...Gt.shape,
1523
+ }), Fn = s.extend(Gt.shape).extend({
1530
1524
  id: e.string()
1531
1525
  }), Wt = e.object({
1532
1526
  id: e.number().optional(),
@@ -1556,7 +1550,7 @@ function wn(o) {
1556
1550
  function kn(o) {
1557
1551
  return o.category === "WIDGET";
1558
1552
  }
1559
- function jn(o) {
1553
+ function Mn(o) {
1560
1554
  return o.category === "FIELD";
1561
1555
  }
1562
1556
  const G = e.enum([
@@ -1589,7 +1583,7 @@ const G = e.enum([
1589
1583
  "ensure-username",
1590
1584
  "set-preferred-username",
1591
1585
  "account-linking"
1592
- ]), Mn = {
1586
+ ]), vn = {
1593
1587
  "ensure-username": {
1594
1588
  name: "Ensure Username",
1595
1589
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1609,7 +1603,7 @@ const G = e.enum([
1609
1603
  "post-user-update"
1610
1604
  ]
1611
1605
  }
1612
- }, p = {
1606
+ }, _ = {
1613
1607
  enabled: e.boolean().default(!1),
1614
1608
  synchronous: e.boolean().default(!1),
1615
1609
  priority: e.number().optional(),
@@ -1625,21 +1619,21 @@ const G = e.enum([
1625
1619
  *
1626
1620
  * Everything else is opaque to the runtime. Persisted as JSON.
1627
1621
  */
1628
- metadata: e.record(e.unknown()).optional()
1622
+ metadata: e.record(e.string(), e.unknown()).optional()
1629
1623
  }, Kt = e.object({
1630
- ...p,
1624
+ ..._,
1631
1625
  trigger_id: G,
1632
1626
  url: e.string()
1633
1627
  }), Vt = e.object({
1634
- ...p,
1628
+ ..._,
1635
1629
  trigger_id: W,
1636
1630
  form_id: e.string()
1637
1631
  }), Xt = e.object({
1638
- ...p,
1632
+ ..._,
1639
1633
  trigger_id: B,
1640
1634
  template_id: V
1641
1635
  }), qt = e.object({
1642
- ...p,
1636
+ ..._,
1643
1637
  trigger_id: K,
1644
1638
  code_id: e.string()
1645
1639
  }), Pn = e.union([
@@ -1648,42 +1642,41 @@ const G = e.enum([
1648
1642
  Xt,
1649
1643
  qt
1650
1644
  ]), zt = e.object({
1651
- ...p,
1652
- trigger_id: G,
1653
- ...s.shape,
1645
+ ..._,
1646
+ trigger_id: G
1647
+ }).extend(s.shape).extend({
1654
1648
  hook_id: e.string(),
1655
1649
  url: e.string()
1656
1650
  }), Yt = e.object({
1657
- ...p,
1658
- trigger_id: W,
1659
- ...s.shape,
1651
+ ..._,
1652
+ trigger_id: W
1653
+ }).extend(s.shape).extend({
1660
1654
  hook_id: e.string(),
1661
1655
  form_id: e.string()
1662
1656
  }), Qt = e.object({
1663
- ...p,
1664
- trigger_id: B,
1665
- ...s.shape,
1657
+ ..._,
1658
+ trigger_id: B
1659
+ }).extend(s.shape).extend({
1666
1660
  hook_id: e.string(),
1667
1661
  template_id: V
1668
1662
  }), Zt = e.object({
1669
- ...p,
1670
- trigger_id: K,
1671
- ...s.shape,
1663
+ ..._,
1664
+ trigger_id: K
1665
+ }).extend(s.shape).extend({
1672
1666
  hook_id: e.string(),
1673
1667
  code_id: e.string()
1674
- }), vn = e.union([
1668
+ }), jn = e.union([
1675
1669
  zt,
1676
1670
  Yt,
1677
1671
  Qt,
1678
1672
  Zt
1679
1673
  ]), Jt = e.object({
1680
1674
  code: e.string().max(1e5),
1681
- secrets: e.record(e.string()).optional()
1675
+ secrets: e.record(e.string(), e.string()).optional()
1682
1676
  }), xn = Jt.extend({
1683
1677
  id: e.string(),
1684
- tenant_id: e.string(),
1685
- ...s.shape
1686
- }), $t = e.object({
1678
+ tenant_id: e.string()
1679
+ }).extend(s.shape), $t = e.object({
1687
1680
  name: e.string().optional()
1688
1681
  }), eo = e.object({
1689
1682
  email: e.string().optional()
@@ -1695,8 +1688,8 @@ const G = e.enum([
1695
1688
  invitation_url: e.string().url(),
1696
1689
  client_id: e.string(),
1697
1690
  connection_id: e.string().optional(),
1698
- app_metadata: e.record(e.any()).default({}).optional(),
1699
- user_metadata: e.record(e.any()).default({}).optional(),
1691
+ app_metadata: e.record(e.string(), e.any()).default({}).optional(),
1692
+ user_metadata: e.record(e.string(), e.any()).default({}).optional(),
1700
1693
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1701
1694
  roles: e.array(e.string()).default([]).optional(),
1702
1695
  send_invitation_email: e.boolean().default(!0).optional()
@@ -1801,8 +1794,7 @@ const no = e.nativeEnum(X), io = e.object({
1801
1794
  // ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
1802
1795
  }).openapi({
1803
1796
  description: "This represents a login sesion"
1804
- }), Bn = e.object({
1805
- ...ao.shape,
1797
+ }), Bn = ao.extend({
1806
1798
  id: e.string().openapi({
1807
1799
  description: "This is is used as the state in the universal login"
1808
1800
  }),
@@ -2166,14 +2158,14 @@ const co = e.object({
2166
2158
  env: e.object({
2167
2159
  node: e.string().optional()
2168
2160
  }).optional()
2169
- }), po = e.object({
2161
+ }), _o = e.object({
2170
2162
  country_code: e.string().length(2),
2171
2163
  city_name: e.string(),
2172
2164
  latitude: e.string(),
2173
2165
  longitude: e.string(),
2174
2166
  time_zone: e.string(),
2175
2167
  continent_code: e.string()
2176
- }), _o = e.object({
2168
+ }), po = e.object({
2177
2169
  type: so,
2178
2170
  date: e.string(),
2179
2171
  description: e.string().optional(),
@@ -2195,9 +2187,8 @@ const co = e.object({
2195
2187
  hostname: e.string().optional(),
2196
2188
  auth0_client: co.optional(),
2197
2189
  log_id: e.string().optional(),
2198
- location_info: po.optional()
2199
- }), Xn = e.object({
2200
- ..._o.shape,
2190
+ location_info: _o.optional()
2191
+ }), Xn = po.extend({
2201
2192
  log_id: e.string()
2202
2193
  }), go = e.enum([
2203
2194
  "http",
@@ -2243,7 +2234,7 @@ const co = e.object({
2243
2234
  id: e.string(),
2244
2235
  created_at: e.string(),
2245
2236
  updated_at: e.string()
2246
- }).extend(ho.shape), bo = e.object({
2237
+ }).extend(ho.shape), Ao = e.object({
2247
2238
  enabled: e.boolean().optional(),
2248
2239
  shields: e.array(e.string()).optional(),
2249
2240
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -2256,7 +2247,7 @@ const co = e.object({
2256
2247
  shields: e.array(e.string()).optional()
2257
2248
  }).optional()
2258
2249
  }).optional()
2259
- }), Ao = e.object({
2250
+ }), bo = e.object({
2260
2251
  enabled: e.boolean().optional(),
2261
2252
  shields: e.array(e.string()).optional(),
2262
2253
  allowlist: e.array(e.string()).optional(),
@@ -2277,8 +2268,8 @@ const co = e.object({
2277
2268
  }).optional()
2278
2269
  }).optional()
2279
2270
  }), Co = e.object({
2280
- breached_password_detection: bo.optional(),
2281
- brute_force_protection: Ao.optional(),
2271
+ breached_password_detection: Ao.optional(),
2272
+ brute_force_protection: bo.optional(),
2282
2273
  suspicious_ip_throttling: fo.optional()
2283
2274
  }), Io = e.object({
2284
2275
  id: e.string().optional(),
@@ -2313,9 +2304,8 @@ const co = e.object({
2313
2304
  created_at: e.string(),
2314
2305
  updated_at: e.string(),
2315
2306
  authenticated_at: e.string(),
2316
- last_interaction_at: e.string(),
2317
- ...Oo.shape
2318
- }), Zn = e.object({
2307
+ last_interaction_at: e.string()
2308
+ }).extend(Oo.shape), Zn = e.object({
2319
2309
  kid: e.string().openapi({ description: "The key id of the signing key" }),
2320
2310
  tenant_id: e.string().optional().openapi({
2321
2311
  description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped."
@@ -2464,10 +2454,10 @@ const co = e.object({
2464
2454
  // Default token quota
2465
2455
  default_token_quota: e.object({
2466
2456
  clients: e.object({
2467
- client_credentials: e.record(e.any()).optional()
2457
+ client_credentials: e.record(e.string(), e.any()).optional()
2468
2458
  }).optional(),
2469
2459
  organizations: e.object({
2470
- client_credentials: e.record(e.any()).optional()
2460
+ client_credentials: e.record(e.string(), e.any()).optional()
2471
2461
  }).optional()
2472
2462
  }).nullish(),
2473
2463
  // Default audience
@@ -2530,8 +2520,8 @@ const co = e.object({
2530
2520
  }).optional()
2531
2521
  }), Jn = e.object({
2532
2522
  created_at: e.string().nullable().transform((o) => o ?? ""),
2533
- updated_at: e.string().nullable().transform((o) => o ?? ""),
2534
- ...To.shape,
2523
+ updated_at: e.string().nullable().transform((o) => o ?? "")
2524
+ }).extend(To.shape).extend({
2535
2525
  id: e.string(),
2536
2526
  // Computed server-side: true when this tenant is the deployment's control
2537
2527
  // plane (either `multiTenancyConfig.controlPlaneTenantId` matches the
@@ -2692,23 +2682,21 @@ const yo = e.object({
2692
2682
  // ISO of the *first* rotation. Anchors the leeway window so siblings minted
2693
2683
  // within the window don't extend the parent's exposure.
2694
2684
  rotated_at: e.string().optional()
2695
- }), ii = e.object({
2685
+ }), ii = ko.extend({
2696
2686
  // When the refresh token record was created.
2697
2687
  created_at: e.string(),
2698
2688
  // When the token was explicitly revoked (null = still active).
2699
- revoked_at: e.string().optional(),
2700
- // Spread in the rest of the refresh token properties.
2701
- ...ko.shape
2689
+ revoked_at: e.string().optional()
2702
2690
  }), ai = e.object({
2703
2691
  to: e.string(),
2704
2692
  message: e.string()
2705
2693
  }), si = e.object({
2706
2694
  name: e.string(),
2707
2695
  options: e.object({})
2708
- }), jo = e.object({
2696
+ }), Mo = e.object({
2709
2697
  value: e.string(),
2710
2698
  description: e.string().optional()
2711
- }), Mo = e.object({
2699
+ }), vo = e.object({
2712
2700
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2713
2701
  enforce_policies: e.boolean().optional(),
2714
2702
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2722,7 +2710,7 @@ const yo = e.object({
2722
2710
  id: e.string().optional(),
2723
2711
  name: e.string(),
2724
2712
  identifier: e.string(),
2725
- scopes: e.array(jo).optional(),
2713
+ scopes: e.array(Mo).optional(),
2726
2714
  signing_alg: e.string().optional(),
2727
2715
  signing_secret: e.string().optional(),
2728
2716
  token_lifetime: e.number().default(86400),
@@ -2730,27 +2718,24 @@ const yo = e.object({
2730
2718
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2731
2719
  allow_offline_access: e.boolean().optional(),
2732
2720
  verificationKey: e.string().optional(),
2733
- options: Mo.optional(),
2721
+ options: vo.optional(),
2734
2722
  is_system: e.boolean().optional(),
2735
- metadata: e.record(e.any()).optional()
2736
- }), vo = e.object({
2737
- ...Po.shape,
2723
+ metadata: e.record(e.string(), e.any()).optional()
2724
+ }), jo = Po.extend({
2738
2725
  created_at: e.string().optional(),
2739
2726
  updated_at: e.string().optional()
2740
- }), ri = e.array(vo), xo = e.object({
2727
+ }), ri = e.array(jo), xo = e.object({
2741
2728
  role_id: e.string(),
2742
2729
  resource_server_identifier: e.string(),
2743
2730
  permission_name: e.string()
2744
- }), Ho = e.object({
2745
- ...xo.shape,
2731
+ }), Ho = xo.extend({
2746
2732
  created_at: e.string()
2747
2733
  }), li = e.array(Ho), Go = e.object({
2748
2734
  user_id: e.string(),
2749
2735
  resource_server_identifier: e.string(),
2750
2736
  permission_name: e.string(),
2751
2737
  organization_id: e.string().optional()
2752
- }), Wo = e.object({
2753
- ...Go.shape,
2738
+ }), Wo = Go.extend({
2754
2739
  tenant_id: e.string(),
2755
2740
  created_at: e.string().optional()
2756
2741
  }), ci = e.array(Wo), Bo = e.object({
@@ -2761,17 +2746,16 @@ const yo = e.object({
2761
2746
  description: e.string().nullable().optional(),
2762
2747
  created_at: e.string().optional(),
2763
2748
  organization_id: e.string().optional()
2764
- }), pi = e.array(
2749
+ }), _i = e.array(
2765
2750
  Bo
2766
2751
  ), Ko = e.object({
2767
2752
  user_id: e.string(),
2768
2753
  role_id: e.string(),
2769
2754
  organization_id: e.string().optional()
2770
- }), Vo = e.object({
2771
- ...Ko.shape,
2755
+ }), Vo = Ko.extend({
2772
2756
  tenant_id: e.string(),
2773
2757
  created_at: e.string().optional()
2774
- }), _i = e.array(Vo), Xo = e.object({
2758
+ }), pi = e.array(Vo), Xo = e.object({
2775
2759
  id: e.string().optional().openapi({
2776
2760
  description: "The unique identifier of the role. If not provided, one will be generated."
2777
2761
  }),
@@ -2782,7 +2766,7 @@ const yo = e.object({
2782
2766
  description: "The description of the role"
2783
2767
  }),
2784
2768
  is_system: e.boolean().optional(),
2785
- metadata: e.record(e.any()).optional().openapi({
2769
+ metadata: e.record(e.string(), e.any()).optional().openapi({
2786
2770
  description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
2787
2771
  })
2788
2772
  }), qo = Xo.extend({
@@ -2839,16 +2823,14 @@ const yo = e.object({
2839
2823
  description: "The display name of the organization"
2840
2824
  }),
2841
2825
  branding: zo,
2842
- metadata: e.record(e.any()).default({}).optional().openapi({
2826
+ metadata: e.record(e.string(), e.any()).default({}).optional().openapi({
2843
2827
  description: "Custom metadata for the organization"
2844
2828
  }),
2845
2829
  enabled_connections: e.array(Yo).default([]).optional().openapi({
2846
2830
  description: "List of enabled connections for the organization"
2847
2831
  }),
2848
2832
  token_quota: Qo
2849
- }), gi = e.object({
2850
- ...Zo.shape,
2851
- ...s.shape,
2833
+ }), gi = Zo.extend(s.shape).extend({
2852
2834
  id: e.string(),
2853
2835
  // Override name to be lenient when reading from database (to support existing uppercase names)
2854
2836
  name: e.string().min(1).openapi({
@@ -2861,8 +2843,7 @@ const yo = e.object({
2861
2843
  assign_membership_on_login: e.boolean().optional().default(!1),
2862
2844
  show_as_button: e.boolean().optional().default(!0),
2863
2845
  is_signup_enabled: e.boolean().optional().default(!0)
2864
- }), $o = e.object({
2865
- ...Jo.shape,
2846
+ }), $o = Jo.extend({
2866
2847
  // Auth0 includes the embedded connection in GET responses.
2867
2848
  connection: e.object({
2868
2849
  name: e.string().optional(),
@@ -2879,9 +2860,7 @@ const yo = e.object({
2879
2860
  organization_id: e.string().openapi({
2880
2861
  description: "ID of the organization"
2881
2862
  })
2882
- }), mi = e.object({
2883
- ...en.shape,
2884
- ...s.shape,
2863
+ }), mi = en.extend(s.shape).extend({
2885
2864
  id: e.string()
2886
2865
  }), Ei = e.object({
2887
2866
  // Session settings
@@ -3011,13 +2990,13 @@ const yo = e.object({
3011
2990
  }), hi = e.number().openapi({
3012
2991
  description: "Number of active users in the last 30 days",
3013
2992
  example: 1234
3014
- }), bi = e.enum([
2993
+ }), Ai = e.enum([
3015
2994
  "active-users",
3016
2995
  "logins",
3017
2996
  "signups",
3018
2997
  "refresh-tokens",
3019
2998
  "sessions"
3020
- ]), Ai = e.enum(["hour", "day", "week", "month"]), fi = e.enum([
2999
+ ]), bi = e.enum(["hour", "day", "week", "month"]), fi = e.enum([
3021
3000
  "time",
3022
3001
  "connection",
3023
3002
  "client_id",
@@ -3143,8 +3122,7 @@ function Q(o, n) {
3143
3122
  path: ["public_key"]
3144
3123
  }));
3145
3124
  }
3146
- const yi = Y.superRefine(Q), Ri = e.object({
3147
- ...Y.shape,
3125
+ const yi = Y.superRefine(Q), Ri = Y.extend({
3148
3126
  id: e.string(),
3149
3127
  created_at: e.string(),
3150
3128
  updated_at: e.string()
@@ -3161,12 +3139,12 @@ function Di(o) {
3161
3139
  secondaries: i,
3162
3140
  syncMethods: S = ["create", "rawCreate", "update", "remove", "delete", "set"]
3163
3141
  } = o, f = {
3164
- get(_, r) {
3142
+ get(p, r) {
3165
3143
  if (typeof r == "symbol")
3166
- return _[r];
3167
- const d = _[r];
3144
+ return p[r];
3145
+ const d = p[r];
3168
3146
  return typeof d != "function" ? d : S.includes(r) ? async (...g) => {
3169
- const C = await d.apply(_, g), u = [];
3147
+ const C = await d.apply(p, g), u = [];
3170
3148
  for (const l of i) {
3171
3149
  const h = l.adapter[r];
3172
3150
  if (typeof h != "function")
@@ -3174,11 +3152,11 @@ function Di(o) {
3174
3152
  const I = (async () => {
3175
3153
  try {
3176
3154
  await h.apply(l.adapter, g);
3177
- } catch (b) {
3155
+ } catch (A) {
3178
3156
  try {
3179
- l.onError ? l.onError(b, r, g) : console.error(
3157
+ l.onError ? l.onError(A, r, g) : console.error(
3180
3158
  `Passthrough adapter: secondary write failed for ${r}:`,
3181
- b
3159
+ A
3182
3160
  );
3183
3161
  } catch (O) {
3184
3162
  console.error(
@@ -3191,7 +3169,7 @@ function Di(o) {
3191
3169
  l.blocking && u.push(I);
3192
3170
  }
3193
3171
  return u.length > 0 && await Promise.all(u), C;
3194
- } : d.bind(_);
3172
+ } : d.bind(p);
3195
3173
  }
3196
3174
  };
3197
3175
  return new Proxy(n, f);
@@ -3200,7 +3178,7 @@ function Fi(o) {
3200
3178
  return o;
3201
3179
  }
3202
3180
  function Ui(o) {
3203
- var f, _, r, d, g, C, u, l, h, I, b, O;
3181
+ var f, p, r, d, g, C, u, l, h, I, A, O;
3204
3182
  const n = o == null ? void 0 : o.options;
3205
3183
  if (!n)
3206
3184
  return {
@@ -3211,7 +3189,7 @@ function Ui(o) {
3211
3189
  };
3212
3190
  const i = n.attributes;
3213
3191
  if (i) {
3214
- const Z = ((_ = (f = i.username) == null ? void 0 : f.identifier) == null ? void 0 : _.active) === !0, J = ((d = (r = i.email) == null ? void 0 : r.identifier) == null ? void 0 : d.active) !== !1, $ = ((C = (g = i.username) == null ? void 0 : g.validation) == null ? void 0 : C.min_length) ?? 1, ee = ((l = (u = i.username) == null ? void 0 : u.validation) == null ? void 0 : l.max_length) ?? 15;
3192
+ const Z = ((p = (f = i.username) == null ? void 0 : f.identifier) == null ? void 0 : p.active) === !0, J = ((d = (r = i.email) == null ? void 0 : r.identifier) == null ? void 0 : d.active) !== !1, $ = ((C = (g = i.username) == null ? void 0 : g.validation) == null ? void 0 : C.min_length) ?? 1, ee = ((l = (u = i.username) == null ? void 0 : u.validation) == null ? void 0 : l.max_length) ?? 15;
3215
3193
  return {
3216
3194
  usernameIdentifierActive: Z,
3217
3195
  emailIdentifierActive: J,
@@ -3223,7 +3201,7 @@ function Ui(o) {
3223
3201
  usernameIdentifierActive: n.requires_username === !0,
3224
3202
  emailIdentifierActive: !0,
3225
3203
  usernameMinLength: ((I = (h = n.validation) == null ? void 0 : h.username) == null ? void 0 : I.min) ?? 1,
3226
- usernameMaxLength: ((O = (b = n.validation) == null ? void 0 : b.username) == null ? void 0 : O.max) ?? 15
3204
+ usernameMaxLength: ((O = (A = n.validation) == null ? void 0 : A.username) == null ? void 0 : O.max) ?? 15
3227
3205
  };
3228
3206
  }
3229
3207
  function wi(o) {
@@ -3232,25 +3210,25 @@ function wi(o) {
3232
3210
  export {
3233
3211
  un as Auth0ActionEnum,
3234
3212
  co as Auth0Client,
3235
- v as AuthorizationResponseMode,
3213
+ j as AuthorizationResponseMode,
3236
3214
  P as AuthorizationResponseType,
3237
3215
  x as CodeChallengeMethod,
3238
- M as ComponentCategory,
3239
- j as ComponentType,
3216
+ v as ComponentCategory,
3217
+ M as ComponentType,
3240
3218
  mn as EmailActionEnum,
3241
3219
  Ln as FORM_FIELD_TYPES,
3242
3220
  gn as FlowActionTypeEnum,
3243
3221
  No as GrantType,
3244
- po as LocationInfo,
3222
+ _o as LocationInfo,
3245
3223
  t as LogTypes,
3246
3224
  X as LoginSessionState,
3247
3225
  We as NodeType,
3248
- Ae as RedirectTargetEnum,
3226
+ be as RedirectTargetEnum,
3249
3227
  Ti as Strategy,
3250
3228
  Ni as StrategyType,
3251
3229
  F as actionDependencySchema,
3252
3230
  ne as actionExecutionErrorSchema,
3253
- pn as actionExecutionInsertSchema,
3231
+ _n as actionExecutionInsertSchema,
3254
3232
  ae as actionExecutionLogEntrySchema,
3255
3233
  se as actionExecutionLogsSchema,
3256
3234
  ie as actionExecutionResultSchema,
@@ -3264,15 +3242,15 @@ export {
3264
3242
  D as actionTriggerSchema,
3265
3243
  ln as actionUpdateSchema,
3266
3244
  le as actionVersionInsertSchema,
3267
- _n as actionVersionSchema,
3245
+ pn as actionVersionSchema,
3268
3246
  hi as activeUsersResponseSchema,
3269
- pe as actorSchema,
3247
+ _e as actorSchema,
3270
3248
  Ne as addressSchema,
3271
3249
  tn as analyticsColumnMetaSchema,
3272
3250
  fi as analyticsGroupBySchema,
3273
- Ai as analyticsIntervalSchema,
3251
+ bi as analyticsIntervalSchema,
3274
3252
  Ii as analyticsQueryResponseSchema,
3275
- bi as analyticsResourceSchema,
3253
+ Ai as analyticsResourceSchema,
3276
3254
  on as analyticsStatisticsSchema,
3277
3255
  Ci as analyticsUserTypeSchema,
3278
3256
  Co as attackProtectionSchema,
@@ -3284,7 +3262,7 @@ export {
3284
3262
  Qe as auth0FlowSchema,
3285
3263
  Sn as auth0QuerySchema,
3286
3264
  he as auth0UpdateUserActionSchema,
3287
- bn as auth0UserResponseSchema,
3265
+ An as auth0UserResponseSchema,
3288
3266
  Je as authParamsSchema,
3289
3267
  yi as authenticationMethodInsertSchema,
3290
3268
  Ri as authenticationMethodSchema,
@@ -3293,15 +3271,15 @@ export {
3293
3271
  kt as blockComponentSchema,
3294
3272
  yo as bordersSchema,
3295
3273
  Tn as brandingSchema,
3296
- bo as breachedPasswordDetectionSchema,
3297
- Ao as bruteForceProtectionSchema,
3274
+ Ao as breachedPasswordDetectionSchema,
3275
+ bo as bruteForceProtectionSchema,
3298
3276
  Pe as buttonComponentSchema,
3299
3277
  Ze as claimsRequestSchema,
3300
3278
  Ue as clientGrantInsertSchema,
3301
3279
  Cn as clientGrantListSchema,
3302
3280
  we as clientGrantSchema,
3303
3281
  Fe as clientInsertSchema,
3304
- je as clientRegistrationTokenInsertSchema,
3282
+ Me as clientRegistrationTokenInsertSchema,
3305
3283
  In as clientRegistrationTokenSchema,
3306
3284
  ke as clientRegistrationTokenTypeSchema,
3307
3285
  fn as clientSchema,
@@ -3327,9 +3305,9 @@ export {
3327
3305
  wo as emailTemplateNameSchema,
3328
3306
  ni as emailTemplateSchema,
3329
3307
  Se as emailVerificationRulesSchema,
3330
- be as emailVerifyActionSchema,
3308
+ Ae as emailVerifyActionSchema,
3331
3309
  Ye as endingSchema,
3332
- Mt as fieldComponentSchema,
3310
+ vt as fieldComponentSchema,
3333
3311
  Ce as flowActionStepSchema,
3334
3312
  Ie as flowInsertSchema,
3335
3313
  En as flowSchema,
@@ -3351,23 +3329,23 @@ export {
3351
3329
  Jt as hookCodeInsertSchema,
3352
3330
  xn as hookCodeSchema,
3353
3331
  Pn as hookInsertSchema,
3354
- vn as hookSchema,
3332
+ jn as hookSchema,
3355
3333
  V as hookTemplateId,
3356
- Mn as hookTemplates,
3334
+ vn as hookTemplates,
3357
3335
  Te as identitySchema,
3358
3336
  to as inviteInsertSchema,
3359
3337
  Hn as inviteSchema,
3360
3338
  eo as inviteeSchema,
3361
3339
  $t as inviterSchema,
3362
3340
  wn as isBlockComponent,
3363
- jn as isFieldComponent,
3341
+ Mn as isFieldComponent,
3364
3342
  wi as isPlainObject,
3365
3343
  kn as isWidgetComponent,
3366
3344
  Gn as jwksKeySchema,
3367
3345
  oo as jwksSchema,
3368
- ve as legalComponentSchema,
3346
+ je as legalComponentSchema,
3369
3347
  ue as locationInfoSchema,
3370
- _o as logInsertSchema,
3348
+ po as logInsertSchema,
3371
3349
  Xn as logSchema,
3372
3350
  uo as logStreamFilterSchema,
3373
3351
  mo as logStreamInsertSchema,
@@ -3407,11 +3385,11 @@ export {
3407
3385
  de as requestContextSchema,
3408
3386
  Po as resourceServerInsertSchema,
3409
3387
  ri as resourceServerListSchema,
3410
- Mo as resourceServerOptionsSchema,
3411
- vo as resourceServerSchema,
3412
- jo as resourceServerScopeSchema,
3388
+ vo as resourceServerOptionsSchema,
3389
+ jo as resourceServerSchema,
3390
+ Mo as resourceServerScopeSchema,
3413
3391
  ge as responseContextSchema,
3414
- Me as richTextComponentSchema,
3392
+ ve as richTextComponentSchema,
3415
3393
  Xo as roleInsertSchema,
3416
3394
  di as roleListSchema,
3417
3395
  xo as rolePermissionInsertSchema,
@@ -3426,7 +3404,7 @@ export {
3426
3404
  ai as smsSendParamsSchema,
3427
3405
  ze as startSchema,
3428
3406
  fo as suspiciousIpThrottlingSchema,
3429
- _e as targetSchema,
3407
+ pe as targetSchema,
3430
3408
  To as tenantInsertSchema,
3431
3409
  Jn as tenantSchema,
3432
3410
  Ei as tenantSettingsSchema,
@@ -3441,14 +3419,14 @@ export {
3441
3419
  Go as userPermissionInsertSchema,
3442
3420
  ci as userPermissionListSchema,
3443
3421
  Wo as userPermissionSchema,
3444
- pi as userPermissionWithDetailsListSchema,
3422
+ _i as userPermissionWithDetailsListSchema,
3445
3423
  Bo as userPermissionWithDetailsSchema,
3446
- An as userResponseSchema,
3424
+ bn as userResponseSchema,
3447
3425
  Ko as userRoleInsertSchema,
3448
- _i as userRoleListSchema,
3426
+ pi as userRoleListSchema,
3449
3427
  Vo as userRoleSchema,
3450
3428
  Re as userSchema,
3451
3429
  it as verificationMethodsSchema,
3452
- jt as widgetComponentSchema,
3430
+ Mt as widgetComponentSchema,
3453
3431
  Fo as widgetSchema
3454
3432
  };