@authhero/adapter-interfaces 4.21.0 → 4.23.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.
@@ -3,28 +3,41 @@ import { z as e } from "@hono/zod-openapi";
3
3
  var t = e.object({
4
4
  created_at: e.string(),
5
5
  updated_at: e.string()
6
- }), n = e.object({
6
+ }), n = e.enum([
7
+ "local",
8
+ "shared",
9
+ "platform"
10
+ ]), r = e.enum([
11
+ "none",
12
+ "secrets",
13
+ "fields"
14
+ ]), i = {
15
+ scope: n.optional(),
16
+ override: r.optional(),
17
+ enforce: e.boolean().optional()
18
+ }, a = e.object({
7
19
  id: e.string(),
8
20
  version: e.string().optional()
9
- }), r = e.object({
21
+ }), o = e.object({
10
22
  name: e.string(),
11
23
  version: e.string()
12
- }), i = e.object({
24
+ }), s = e.object({
13
25
  name: e.string(),
14
26
  value: e.string().optional()
15
- }), a = e.object({
27
+ }), c = e.object({
16
28
  name: e.string().max(255),
17
29
  code: e.string().max(1e5),
18
- supported_triggers: e.array(n).optional(),
30
+ supported_triggers: e.array(a).optional(),
19
31
  runtime: e.string().max(50).optional(),
20
- dependencies: e.array(r).optional(),
21
- secrets: e.array(i).optional(),
32
+ dependencies: e.array(o).optional(),
33
+ secrets: e.array(s).optional(),
22
34
  is_system: e.boolean().optional(),
35
+ ...i,
23
36
  inherit: e.boolean().optional()
24
- }), o = a.partial().extend({
37
+ }), ee = c.partial().extend({
25
38
  status: e.enum(["draft", "built"]).optional(),
26
39
  deployed_at: e.string().optional()
27
- }), s = a.extend({
40
+ }), l = c.extend({
28
41
  id: e.string(),
29
42
  tenant_id: e.string(),
30
43
  status: e.enum(["draft", "built"]).default("built"),
@@ -33,23 +46,23 @@ var t = e.object({
33
46
  name: e.string(),
34
47
  value: e.string().optional()
35
48
  })).optional()
36
- }).extend(t.shape), ee = e.object({ name: e.string() }), te = s.extend({ secrets: e.array(ee).optional() }), c = e.string(), l = e.enum([
49
+ }).extend(t.shape), te = e.object({ name: e.string() }), ne = l.extend({ secrets: e.array(te).optional() }), re = e.string(), ie = e.enum([
37
50
  "unspecified",
38
51
  "pending",
39
52
  "final",
40
53
  "partial",
41
54
  "canceled",
42
55
  "suspended"
43
- ]), ne = e.object({
56
+ ]), ae = e.object({
44
57
  id: e.string(),
45
58
  msg: e.string(),
46
59
  url: e.string().optional()
47
- }), re = e.object({
60
+ }), oe = e.object({
48
61
  action_name: e.string(),
49
- error: ne.nullable(),
62
+ error: ae.nullable(),
50
63
  started_at: e.string(),
51
64
  ended_at: e.string()
52
- }), ie = e.object({
65
+ }), se = e.object({
53
66
  level: e.enum([
54
67
  "log",
55
68
  "info",
@@ -58,40 +71,40 @@ var t = e.object({
58
71
  "debug"
59
72
  ]),
60
73
  message: e.string()
61
- }), ae = e.array(e.object({
74
+ }), ce = e.array(e.object({
62
75
  action_name: e.string(),
63
- lines: e.array(ie)
64
- })), oe = e.object({
76
+ lines: e.array(se)
77
+ })), le = e.object({
65
78
  id: e.string(),
66
79
  tenant_id: e.string(),
67
- trigger_id: c,
68
- status: l,
69
- results: e.array(re),
70
- logs: ae.optional(),
80
+ trigger_id: re,
81
+ status: ie,
82
+ results: e.array(oe),
83
+ logs: ce.optional(),
71
84
  created_at: e.string(),
72
85
  updated_at: e.string()
73
- }), se = oe.omit({
86
+ }), ue = le.omit({
74
87
  tenant_id: !0,
75
88
  created_at: !0,
76
89
  updated_at: !0
77
- }), ce = e.object({
90
+ }), de = e.object({
78
91
  action_id: e.string(),
79
92
  code: e.string().max(1e5),
80
93
  runtime: e.string().max(50).optional(),
81
- dependencies: e.array(r).optional(),
82
- secrets: e.array(i).optional(),
83
- supported_triggers: e.array(n).optional(),
94
+ dependencies: e.array(o).optional(),
95
+ secrets: e.array(s).optional(),
96
+ supported_triggers: e.array(a).optional(),
84
97
  deployed: e.boolean().default(!0)
85
- }), le = ce.extend({
98
+ }), fe = de.extend({
86
99
  id: e.string(),
87
100
  tenant_id: e.string(),
88
101
  number: e.number().int()
89
- }).extend(t.shape), ue = e.enum([
102
+ }).extend(t.shape), pe = e.enum([
90
103
  "user_action",
91
104
  "admin_action",
92
105
  "system",
93
106
  "api"
94
- ]), de = e.object({
107
+ ]), me = e.object({
95
108
  type: e.enum([
96
109
  "user",
97
110
  "admin",
@@ -105,7 +118,7 @@ var t = e.object({
105
118
  org_name: e.string().optional(),
106
119
  scopes: e.array(e.string()).optional(),
107
120
  client_id: e.string().optional()
108
- }), fe = e.object({
121
+ }), he = e.object({
109
122
  type: e.string(),
110
123
  id: e.string(),
111
124
  before: e.record(e.string(), e.unknown()).optional(),
@@ -114,7 +127,18 @@ var t = e.object({
114
127
  old: e.unknown(),
115
128
  new: e.unknown()
116
129
  })).optional()
117
- }), pe = e.object({
130
+ }), ge = e.object({
131
+ user: e.object({
132
+ user_id: e.string(),
133
+ name: e.string().optional(),
134
+ email: e.string().optional()
135
+ }).optional(),
136
+ strategy: e.string(),
137
+ credentials: e.object({
138
+ jti: e.string().optional(),
139
+ scopes: e.array(e.string()).optional()
140
+ }).optional()
141
+ }), _e = e.object({
118
142
  method: e.string(),
119
143
  path: e.string(),
120
144
  query: e.record(e.string(), e.string()).optional(),
@@ -123,31 +147,32 @@ var t = e.object({
123
147
  user_agent: e.string().optional(),
124
148
  correlation_id: e.string().optional(),
125
149
  redirect_uri: e.string().optional(),
126
- authorization_url: e.string().optional()
127
- }), me = e.object({
150
+ authorization_url: e.string().optional(),
151
+ auth: ge.optional()
152
+ }), ve = e.object({
128
153
  status_code: e.number(),
129
154
  body: e.unknown().optional()
130
- }), he = e.object({
155
+ }), ye = e.object({
131
156
  country_code: e.string(),
132
157
  city_name: e.string(),
133
158
  latitude: e.string(),
134
159
  longitude: e.string(),
135
160
  time_zone: e.string(),
136
161
  continent_code: e.string()
137
- }), ge = e.object({
162
+ }), be = e.object({
138
163
  name: e.string(),
139
164
  version: e.string(),
140
165
  env: e.record(e.string(), e.string()).optional()
141
- }), _e = e.object({
166
+ }), xe = e.object({
142
167
  tenant_id: e.string(),
143
168
  event_type: e.string(),
144
169
  log_type: e.string(),
145
170
  description: e.string().optional(),
146
- category: ue,
147
- actor: de,
148
- target: fe,
149
- request: pe,
150
- response: me.optional(),
171
+ category: pe,
172
+ actor: me,
173
+ target: he,
174
+ request: _e,
175
+ response: ve.optional(),
151
176
  connection: e.string().optional(),
152
177
  connection_id: e.string().optional(),
153
178
  client_name: e.string().optional(),
@@ -155,32 +180,32 @@ var t = e.object({
155
180
  strategy_type: e.string().optional(),
156
181
  audience: e.string().optional(),
157
182
  scope: e.string().optional(),
158
- location: he.optional(),
159
- auth0_client: ge.optional(),
183
+ location: ye.optional(),
184
+ auth0_client: be.optional(),
160
185
  hostname: e.string(),
161
186
  is_mobile: e.boolean().optional(),
162
187
  execution_id: e.string().optional(),
163
188
  details: e.record(e.string(), e.unknown()).optional(),
164
189
  login_session_id: e.string().optional(),
165
190
  timestamp: e.string()
166
- }), ve = _e.extend({ id: e.string() }), ye = e.enum([
191
+ }), Se = xe.extend({ id: e.string() }), Ce = e.enum([
167
192
  "AUTH0",
168
193
  "EMAIL",
169
194
  "REDIRECT"
170
- ]), be = e.enum([
195
+ ]), we = e.enum([
171
196
  "CREATE_USER",
172
197
  "GET_USER",
173
198
  "UPDATE_USER",
174
199
  "SEND_REQUEST",
175
200
  "SEND_EMAIL"
176
- ]), xe = e.enum(["VERIFY_EMAIL"]), Se = e.object({
201
+ ]), Te = e.enum(["VERIFY_EMAIL"]), Ee = e.object({
177
202
  require_mx_record: e.boolean().optional(),
178
203
  block_aliases: e.boolean().optional(),
179
204
  block_free_emails: e.boolean().optional(),
180
205
  block_disposable_emails: e.boolean().optional(),
181
206
  blocklist: e.array(e.string()).optional(),
182
207
  allowlist: e.array(e.string()).optional()
183
- }), Ce = e.object({
208
+ }), De = e.object({
184
209
  id: e.string(),
185
210
  alias: e.string().max(100).optional(),
186
211
  type: e.literal("AUTH0"),
@@ -192,7 +217,7 @@ var t = e.object({
192
217
  user_id: e.string(),
193
218
  changes: e.record(e.string(), e.any())
194
219
  })
195
- }), we = e.object({
220
+ }), Oe = e.object({
196
221
  id: e.string(),
197
222
  alias: e.string().max(100).optional(),
198
223
  type: e.literal("EMAIL"),
@@ -201,13 +226,13 @@ var t = e.object({
201
226
  mask_output: e.boolean().optional(),
202
227
  params: e.object({
203
228
  email: e.string(),
204
- rules: Se.optional()
229
+ rules: Ee.optional()
205
230
  })
206
- }), Te = e.enum([
231
+ }), ke = e.enum([
207
232
  "change-email",
208
233
  "account",
209
234
  "custom"
210
- ]), Ee = e.object({
235
+ ]), Ae = e.object({
211
236
  id: e.string(),
212
237
  alias: e.string().max(100).optional(),
213
238
  type: e.literal("REDIRECT"),
@@ -215,32 +240,32 @@ var t = e.object({
215
240
  allow_failure: e.boolean().optional(),
216
241
  mask_output: e.boolean().optional(),
217
242
  params: e.object({
218
- target: Te.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
243
+ target: ke.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
219
244
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
220
245
  })
221
- }), De = e.union([
222
- Ce,
223
- we,
224
- Ee
225
- ]), Oe = e.object({
246
+ }), je = e.union([
247
+ De,
248
+ Oe,
249
+ Ae
250
+ ]), u = e.object({
226
251
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
227
- actions: e.array(De).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
228
- }), ke = Oe.extend(t.shape).extend({ id: e.string().openapi({
252
+ actions: e.array(je).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
253
+ }), Me = u.extend(t.shape).extend({ id: e.string().openapi({
229
254
  description: "Unique identifier for the flow",
230
255
  example: "af_12tMpdJ3iek7svMyZkSh5M"
231
- }) }), Ae = e.object({
256
+ }) }), Ne = e.object({
232
257
  page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
233
258
  per_page: e.string().min(1).optional().default("50").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page. Defaults to 50." }),
234
259
  include_totals: e.string().optional().default("false").transform((e) => e === "true").openapi({ description: "If the total number of items should be included in the response" }),
235
260
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
236
261
  q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
237
- }), je = e.object({
262
+ }), Pe = e.object({
238
263
  start: e.number(),
239
264
  limit: e.number(),
240
265
  length: e.number(),
241
266
  total: e.number().optional(),
242
267
  next: e.string().optional()
243
- }), u = e.object({
268
+ }), d = e.object({
244
269
  email: e.string().optional(),
245
270
  email_verified: e.boolean().optional(),
246
271
  name: e.string().optional(),
@@ -249,7 +274,7 @@ var t = e.object({
249
274
  phone_number: e.string().optional(),
250
275
  phone_verified: e.boolean().optional(),
251
276
  family_name: e.string().optional()
252
- }).catchall(e.any()), Me = e.object({
277
+ }).catchall(e.any()), f = e.object({
253
278
  connection: e.string(),
254
279
  user_id: e.string(),
255
280
  provider: e.string(),
@@ -262,15 +287,15 @@ var t = e.object({
262
287
  access_token: e.string().optional(),
263
288
  access_token_secret: e.string().optional(),
264
289
  refresh_token: e.string().optional(),
265
- profileData: u.optional()
266
- }), d = e.object({
290
+ profileData: d.optional()
291
+ }), p = e.object({
267
292
  formatted: e.string().optional(),
268
293
  street_address: e.string().optional(),
269
294
  locality: e.string().optional(),
270
295
  region: e.string().optional(),
271
296
  postal_code: e.string().optional(),
272
297
  country: e.string().optional()
273
- }).optional(), f = e.object({
298
+ }).optional(), m = e.object({
274
299
  email: e.string().transform((e) => e.toLowerCase()).optional(),
275
300
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
276
301
  phone_number: e.string().optional(),
@@ -293,8 +318,8 @@ var t = e.object({
293
318
  gender: e.string().optional(),
294
319
  birthdate: e.string().optional(),
295
320
  zoneinfo: e.string().optional(),
296
- address: d
297
- }), p = f.extend({
321
+ address: p
322
+ }), h = m.extend({
298
323
  email_verified: e.boolean().default(!1),
299
324
  verify_email: e.boolean().optional(),
300
325
  last_ip: e.string().optional(),
@@ -309,29 +334,29 @@ var t = e.object({
309
334
  hash: e.string(),
310
335
  algorithm: e.string()
311
336
  }).optional()
312
- }), m = p.omit({ password: !0 }).extend(t.shape).extend({
337
+ }), g = h.omit({ password: !0 }).extend(t.shape).extend({
313
338
  user_id: e.string(),
314
339
  provider: e.string(),
315
340
  is_social: e.boolean(),
316
341
  email: e.string().optional(),
317
342
  login_count: e.number().default(0),
318
- identities: e.array(Me).optional()
319
- }), Ne = m.omit({ registration_completed_at: !0 }), Pe = f.extend({
343
+ identities: e.array(f).optional()
344
+ }), Fe = g.omit({ registration_completed_at: !0 }), Ie = m.extend({
320
345
  login_count: e.number(),
321
346
  multifactor: e.array(e.string()).optional(),
322
347
  last_ip: e.string().optional(),
323
348
  last_login: e.string().optional(),
324
349
  user_id: e.string()
325
- }).catchall(e.any()), Fe = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ie = (e = 21) => {
350
+ }).catchall(e.any()), Le = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Re = (e = 21) => {
326
351
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
327
- for (; e--;) t += Fe[n[e] & 63];
352
+ for (; e--;) t += Le[n[e] & 63];
328
353
  return t;
329
- }, h = e.object({
354
+ }, _ = e.object({
330
355
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
331
356
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
332
357
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
333
358
  global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
334
- client_secret: e.string().default(() => Ie()).optional().openapi({ description: "Client secret (which you must not make public)." }),
359
+ client_secret: e.string().default(() => Re()).optional().openapi({ description: "Client secret (which you must not make public)." }),
335
360
  app_type: e.enum([
336
361
  "native",
337
362
  "spa",
@@ -445,10 +470,10 @@ var t = e.object({
445
470
  registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability." }),
446
471
  token_exchange: e.object({ allow_any_profile_of_type: e.array(e.literal("custom_authentication")).optional() }).optional().openapi({ description: "Custom Token Exchange settings. Set `allow_any_profile_of_type` to `[\"custom_authentication\"]` to let this client exchange subject tokens through the tenant's token exchange profiles." }),
447
472
  user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({ description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies." })
448
- }), Le = e.object({
473
+ }), ze = e.object({
449
474
  created_at: e.string(),
450
475
  updated_at: e.string()
451
- }).extend(h.shape).extend({ client_id: e.string() }), g = e.object({
476
+ }).extend(_.shape).extend({ client_id: e.string() }), v = e.object({
452
477
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
453
478
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
454
479
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -461,38 +486,38 @@ var t = e.object({
461
486
  is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
462
487
  subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
463
488
  authorization_details_types: e.array(e.string()).optional().openapi({ description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." })
464
- }), _ = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(g.shape).extend({
489
+ }), y = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(v.shape).extend({
465
490
  created_at: e.string().optional(),
466
491
  updated_at: e.string().optional()
467
- }), Re = e.array(_), v = e.enum(["iat", "rat"]), y = e.object({
492
+ }), Be = e.array(y), b = e.enum(["iat", "rat"]), x = e.object({
468
493
  id: e.string(),
469
494
  token_hash: e.string(),
470
- type: v,
495
+ type: b,
471
496
  client_id: e.string().optional(),
472
497
  sub: e.string().optional(),
473
498
  constraints: e.record(e.string(), e.unknown()).optional(),
474
499
  single_use: e.boolean().default(!1),
475
500
  expires_at: e.string().optional()
476
- }), ze = e.object({
501
+ }), Ve = e.object({
477
502
  created_at: e.string(),
478
503
  used_at: e.string().optional(),
479
504
  revoked_at: e.string().optional()
480
- }).extend(y.shape), b = e.object({
505
+ }).extend(x.shape), S = e.object({
481
506
  x: e.number(),
482
507
  y: e.number()
483
- }), x = /* @__PURE__ */ function(e) {
508
+ }), He = /* @__PURE__ */ function(e) {
484
509
  return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
485
- }({}), S = /* @__PURE__ */ function(e) {
510
+ }({}), Ue = /* @__PURE__ */ function(e) {
486
511
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
487
512
  }({}), C = e.object({
488
513
  id: e.string(),
489
- category: e.nativeEnum(S),
490
- type: e.nativeEnum(x)
491
- }), Be = C.extend({
514
+ category: e.nativeEnum(Ue),
515
+ type: e.nativeEnum(He)
516
+ }), We = C.extend({
492
517
  category: e.literal("BLOCK"),
493
518
  type: e.literal("RICH_TEXT"),
494
519
  config: e.object({ content: e.string() }).passthrough()
495
- }), Ve = C.extend({
520
+ }), Ge = C.extend({
496
521
  category: e.literal("BLOCK"),
497
522
  type: e.union([
498
523
  e.literal("NEXT_BUTTON"),
@@ -500,13 +525,13 @@ var t = e.object({
500
525
  e.literal("SUBMIT_BUTTON")
501
526
  ]),
502
527
  config: e.object({ text: e.string() }).passthrough()
503
- }), He = C.extend({
528
+ }), Ke = C.extend({
504
529
  category: e.literal("FIELD"),
505
530
  type: e.literal("LEGAL"),
506
531
  required: e.boolean().optional(),
507
532
  sensitive: e.boolean().optional(),
508
533
  config: e.object({ text: e.string() }).passthrough()
509
- }), Ue = C.extend({
534
+ }), qe = C.extend({
510
535
  category: e.literal("FIELD"),
511
536
  type: e.union([
512
537
  e.literal("TEXT"),
@@ -526,40 +551,40 @@ var t = e.object({
526
551
  label: e.string().optional(),
527
552
  placeholder: e.string().optional()
528
553
  }).passthrough()
529
- }), We = e.object({
554
+ }), Je = e.object({
530
555
  id: e.string(),
531
556
  category: e.string(),
532
557
  type: e.string()
533
- }).passthrough(), Ge = e.union([
534
- Be,
535
- Ve,
536
- He,
537
- Ue,
538
- We
539
- ]), Ke = /* @__PURE__ */ function(e) {
558
+ }).passthrough(), Ye = e.union([
559
+ We,
560
+ Ge,
561
+ Ke,
562
+ qe,
563
+ Je
564
+ ]), Xe = /* @__PURE__ */ function(e) {
540
565
  return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
541
- }({}), qe = e.object({
566
+ }({}), Ze = e.object({
542
567
  id: e.string(),
543
568
  type: e.literal("STEP"),
544
- coordinates: b,
569
+ coordinates: S,
545
570
  alias: e.string().optional(),
546
571
  config: e.object({
547
- components: e.array(Ge),
572
+ components: e.array(Ye),
548
573
  next_node: e.string()
549
574
  }).passthrough()
550
- }), Je = e.object({
575
+ }), Qe = e.object({
551
576
  id: e.string(),
552
577
  type: e.literal("FLOW"),
553
- coordinates: b,
578
+ coordinates: S,
554
579
  alias: e.string().optional(),
555
580
  config: e.object({
556
581
  flow_id: e.string(),
557
582
  next_node: e.string()
558
583
  })
559
- }), Ye = e.object({
584
+ }), $e = e.object({
560
585
  id: e.string(),
561
586
  type: e.literal("ACTION"),
562
- coordinates: b,
587
+ coordinates: S,
563
588
  alias: e.string().optional(),
564
589
  config: e.object({
565
590
  action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
@@ -571,35 +596,35 @@ var t = e.object({
571
596
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
572
597
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
573
598
  }).passthrough()
574
- }), Xe = e.object({
599
+ }), et = e.object({
575
600
  id: e.string(),
576
601
  type: e.string(),
577
- coordinates: b
578
- }).passthrough(), Ze = e.union([
579
- qe,
580
- Je,
581
- Ye,
582
- Xe
583
- ]), Qe = e.object({
602
+ coordinates: S
603
+ }).passthrough(), tt = e.union([
604
+ Ze,
605
+ Qe,
606
+ $e,
607
+ et
608
+ ]), nt = e.object({
584
609
  next_node: e.string(),
585
- coordinates: b
586
- }).passthrough(), $e = e.object({
610
+ coordinates: S
611
+ }).passthrough(), rt = e.object({
587
612
  resume_flow: e.boolean().optional(),
588
- coordinates: b
589
- }).passthrough(), et = e.object({
613
+ coordinates: S
614
+ }).passthrough(), it = e.object({
590
615
  id: e.string(),
591
616
  name: e.string(),
592
617
  languages: e.object({ primary: e.string() }).passthrough(),
593
- nodes: e.array(Ze),
594
- start: Qe,
595
- ending: $e,
618
+ nodes: e.array(tt),
619
+ start: nt,
620
+ ending: rt,
596
621
  created_at: e.string(),
597
622
  updated_at: e.string(),
598
623
  links: e.object({
599
624
  sdkSrc: e.string().optional(),
600
625
  sdk_src: e.string().optional()
601
626
  }).passthrough()
602
- }).passthrough(), tt = et.omit({
627
+ }).passthrough(), at = it.omit({
603
628
  id: !0,
604
629
  created_at: !0,
605
630
  updated_at: !0
@@ -607,16 +632,16 @@ var t = e.object({
607
632
  return e.TOKEN = "token", e.ID_TOKEN = "id_token", e.TOKEN_ID_TOKEN = "id_token token", e.CODE = "code", e.CODE_ID_TOKEN = "code id_token", e.CODE_TOKEN = "code token", e.CODE_ID_TOKEN_TOKEN = "code id_token token", e;
608
633
  }({}), T = /* @__PURE__ */ function(e) {
609
634
  return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
610
- }({}), nt = /* @__PURE__ */ function(e) {
635
+ }({}), ot = /* @__PURE__ */ function(e) {
611
636
  return e.S256 = "S256", e.Plain = "plain", e;
612
- }({}), rt = e.union([e.null(), e.object({
637
+ }({}), st = e.union([e.null(), e.object({
613
638
  essential: e.boolean().optional(),
614
639
  value: e.unknown().optional(),
615
640
  values: e.array(e.unknown()).optional()
616
- })]).nullable(), it = e.object({
617
- userinfo: e.record(e.string(), rt).optional(),
618
- id_token: e.record(e.string(), rt).optional()
619
- }), at = e.object({
641
+ })]).nullable(), ct = e.object({
642
+ userinfo: e.record(e.string(), st).optional(),
643
+ id_token: e.record(e.string(), st).optional()
644
+ }), lt = e.object({
620
645
  client_id: e.string(),
621
646
  act_as: e.string().optional(),
622
647
  response_type: e.nativeEnum(w).optional(),
@@ -628,15 +653,16 @@ var t = e.object({
628
653
  nonce: e.string().optional(),
629
654
  scope: e.string().optional(),
630
655
  prompt: e.string().optional(),
631
- code_challenge_method: e.nativeEnum(nt).optional(),
656
+ code_challenge_method: e.nativeEnum(ot).optional(),
632
657
  code_challenge: e.string().optional(),
633
658
  username: e.string().optional(),
634
659
  ui_locales: e.string().optional(),
635
660
  max_age: e.number().optional(),
636
661
  acr_values: e.string().optional(),
637
- claims: it.optional(),
662
+ claims: ct.optional(),
638
663
  vendor_id: e.string().optional()
639
- }), ot = e.object({
664
+ }), ut = e.object({
665
+ ...i,
640
666
  colors: e.object({
641
667
  primary: e.string(),
642
668
  page_background: e.union([e.string(), e.object({
@@ -655,7 +681,7 @@ var t = e.object({
655
681
  "light",
656
682
  "auto"
657
683
  ]).optional()
658
- }), st = e.enum([
684
+ }), dt = e.enum([
659
685
  "password_reset",
660
686
  "email_verification",
661
687
  "otp",
@@ -665,11 +691,11 @@ var t = e.object({
665
691
  "ticket",
666
692
  "client_assertion_jti",
667
693
  "subject_token_jti"
668
- ]), ct = e.object({
694
+ ]), ft = e.object({
669
695
  code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
670
696
  login_id: e.string().optional().openapi({ description: "The id of the login session that the code is connected to" }),
671
697
  connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
672
- code_type: st,
698
+ code_type: dt,
673
699
  code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
674
700
  code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
675
701
  code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
@@ -680,7 +706,7 @@ var t = e.object({
680
706
  expires_at: e.string(),
681
707
  used_at: e.string().optional(),
682
708
  user_id: e.string().optional()
683
- }), lt = ct.extend({ created_at: e.string() }), ut = e.object({
709
+ }), pt = ft.extend({ created_at: e.string() }), mt = e.object({
684
710
  kid: e.string().optional(),
685
711
  team_id: e.string().optional(),
686
712
  realms: e.string().optional(),
@@ -811,24 +837,25 @@ function E(e) {
811
837
  return e;
812
838
  }
813
839
  }
814
- var dt = e.object({
840
+ var ht = e.object({
815
841
  id: e.string().optional(),
816
842
  name: e.string(),
817
843
  display_name: e.string().optional(),
818
844
  strategy: e.string(),
819
- options: e.preprocess((e) => e === null ? {} : E(e), ut).default({}),
845
+ options: e.preprocess((e) => e === null ? {} : E(e), mt).default({}),
820
846
  enabled_clients: e.array(e.string()).default([]).optional(),
821
847
  response_type: e.nativeEnum(w).optional(),
822
848
  response_mode: e.nativeEnum(T).optional(),
823
849
  is_domain_connection: e.boolean().optional(),
824
850
  show_as_button: e.boolean().optional(),
825
851
  metadata: e.record(e.string(), e.any()).optional(),
826
- is_system: e.boolean().optional()
827
- }), ft = e.object({
852
+ is_system: e.boolean().optional(),
853
+ ...i
854
+ }), gt = e.object({
828
855
  id: e.string(),
829
856
  created_at: e.string().transform((e) => e === null ? "" : e),
830
857
  updated_at: e.string().transform((e) => e === null ? "" : e)
831
- }).extend(dt.shape), D = e.object({
858
+ }).extend(ht.shape), D = e.object({
832
859
  domain: e.string(),
833
860
  custom_domain_id: e.string().optional(),
834
861
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -842,7 +869,7 @@ var dt = e.object({
842
869
  "null"
843
870
  ]).optional(),
844
871
  domain_metadata: e.record(e.string(), e.string().max(255)).optional()
845
- }), pt = e.discriminatedUnion("name", [e.object({
872
+ }), _t = e.discriminatedUnion("name", [e.object({
846
873
  name: e.literal("txt"),
847
874
  record: e.string(),
848
875
  domain: e.string()
@@ -850,7 +877,7 @@ var dt = e.object({
850
877
  name: e.literal("http"),
851
878
  http_body: e.string(),
852
879
  http_url: e.string()
853
- })]), mt = D.extend({
880
+ })]), vt = D.extend({
854
881
  custom_domain_id: e.string(),
855
882
  primary: e.boolean(),
856
883
  status: e.enum([
@@ -860,26 +887,26 @@ var dt = e.object({
860
887
  "ready"
861
888
  ]),
862
889
  origin_domain_name: e.string().optional(),
863
- verification: e.object({ methods: e.array(pt) }).optional(),
890
+ verification: e.object({ methods: e.array(_t) }).optional(),
864
891
  tls_policy: e.string().optional()
865
- }), ht = D.pick({
892
+ }), yt = D.pick({
866
893
  tls_policy: !0,
867
894
  custom_client_ip_header: !0,
868
895
  domain_metadata: !0
869
- }).strict(), gt = mt.extend({ tenant_id: e.string() }), _t = e.object({
896
+ }).strict(), bt = vt.extend({ tenant_id: e.string() }), xt = e.object({
870
897
  certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
871
898
  private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
872
899
  }), O = e.object({
873
900
  id: e.string(),
874
901
  order: e.number().optional(),
875
902
  visible: e.boolean().optional().default(!0)
876
- }), k = O.extend({ category: e.literal("BLOCK").optional() }), vt = k.extend({
903
+ }), k = O.extend({ category: e.literal("BLOCK").optional() }), St = k.extend({
877
904
  type: e.literal("DIVIDER"),
878
905
  config: e.object({ text: e.string().optional() }).optional()
879
- }), yt = k.extend({
906
+ }), Ct = k.extend({
880
907
  type: e.literal("HTML"),
881
908
  config: e.object({ content: e.string().optional() }).optional()
882
- }), bt = k.extend({
909
+ }), wt = k.extend({
883
910
  type: e.literal("IMAGE"),
884
911
  config: e.object({
885
912
  src: e.string().optional(),
@@ -887,29 +914,29 @@ var dt = e.object({
887
914
  width: e.number().optional(),
888
915
  height: e.number().optional()
889
916
  }).optional()
890
- }), xt = k.extend({
917
+ }), Tt = k.extend({
891
918
  type: e.literal("JUMP_BUTTON"),
892
919
  config: e.object({
893
920
  text: e.string().optional(),
894
921
  target_step: e.string().optional()
895
922
  })
896
- }), St = k.extend({
923
+ }), Et = k.extend({
897
924
  type: e.literal("RESEND_BUTTON"),
898
925
  config: e.object({
899
926
  text: e.string().optional(),
900
927
  resend_action: e.string().optional()
901
928
  })
902
- }), Ct = k.extend({
929
+ }), Dt = k.extend({
903
930
  type: e.literal("NEXT_BUTTON"),
904
931
  config: e.object({
905
932
  text: e.string().optional(),
906
933
  variant: e.enum(["primary", "secondary"]).optional(),
907
934
  skip_validation: e.boolean().optional()
908
935
  })
909
- }), wt = k.extend({
936
+ }), Ot = k.extend({
910
937
  type: e.literal("PREVIOUS_BUTTON"),
911
938
  config: e.object({ text: e.string().optional() })
912
- }), Tt = k.extend({
939
+ }), kt = k.extend({
913
940
  type: e.literal("RICH_TEXT"),
914
941
  config: e.object({ content: e.string().optional() }).optional()
915
942
  }), A = O.extend({
@@ -918,13 +945,13 @@ var dt = e.object({
918
945
  hint: e.string().min(1).max(500).optional(),
919
946
  required: e.boolean().optional(),
920
947
  sensitive: e.boolean().optional()
921
- }), Et = A.extend({
948
+ }), At = A.extend({
922
949
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
923
950
  config: e.object({ credential_type: e.string().optional() })
924
- }), Dt = A.extend({
951
+ }), jt = A.extend({
925
952
  type: e.literal("GMAPS_ADDRESS"),
926
953
  config: e.object({ api_key: e.string().optional() })
927
- }), Ot = A.extend({
954
+ }), Mt = A.extend({
928
955
  type: e.literal("RECAPTCHA"),
929
956
  config: e.object({ site_key: e.string().optional() })
930
957
  }), j = O.extend({
@@ -943,10 +970,10 @@ var dt = e.object({
943
970
  })).optional(),
944
971
  required: e.boolean().optional(),
945
972
  sensitive: e.boolean().optional()
946
- }), kt = j.extend({
973
+ }), Nt = j.extend({
947
974
  type: e.literal("BOOLEAN"),
948
975
  config: e.object({ default_value: e.boolean().optional() }).optional()
949
- }), At = j.extend({
976
+ }), Pt = j.extend({
950
977
  type: e.literal("CARDS"),
951
978
  config: e.object({
952
979
  options: e.array(e.object({
@@ -957,7 +984,7 @@ var dt = e.object({
957
984
  })).optional(),
958
985
  multi_select: e.boolean().optional()
959
986
  }).optional()
960
- }), jt = j.extend({
987
+ }), Ft = j.extend({
961
988
  type: e.literal("CHOICE"),
962
989
  config: e.object({
963
990
  options: e.array(e.object({
@@ -968,7 +995,7 @@ var dt = e.object({
968
995
  multiple: e.boolean().optional(),
969
996
  default_value: e.union([e.string(), e.array(e.string())]).optional()
970
997
  }).optional()
971
- }), Mt = j.extend({
998
+ }), It = j.extend({
972
999
  type: e.literal("CODE"),
973
1000
  config: e.object({
974
1001
  length: e.number().int().positive().max(100).optional(),
@@ -985,7 +1012,7 @@ var dt = e.object({
985
1012
  message: "default_value is longer than the configured length",
986
1013
  path: ["default_value"]
987
1014
  }).optional()
988
- }), Nt = j.extend({
1015
+ }), Lt = j.extend({
989
1016
  type: e.literal("CUSTOM"),
990
1017
  config: e.object({
991
1018
  component: e.string().optional(),
@@ -993,7 +1020,7 @@ var dt = e.object({
993
1020
  schema: e.record(e.string(), e.any()).optional(),
994
1021
  code: e.string().optional()
995
1022
  })
996
- }), Pt = j.extend({
1023
+ }), Rt = j.extend({
997
1024
  type: e.literal("DATE"),
998
1025
  config: e.object({
999
1026
  format: e.string().optional(),
@@ -1001,7 +1028,7 @@ var dt = e.object({
1001
1028
  max: e.string().optional(),
1002
1029
  default_value: e.string().optional()
1003
1030
  }).optional()
1004
- }), Ft = j.extend({
1031
+ }), zt = j.extend({
1005
1032
  type: e.literal("DROPDOWN"),
1006
1033
  config: e.object({
1007
1034
  options: e.array(e.object({
@@ -1013,7 +1040,7 @@ var dt = e.object({
1013
1040
  multiple: e.boolean().optional(),
1014
1041
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1015
1042
  }).optional()
1016
- }), It = j.extend({
1043
+ }), Bt = j.extend({
1017
1044
  type: e.literal("EMAIL"),
1018
1045
  config: e.object({
1019
1046
  placeholder: e.string().optional(),
@@ -1021,20 +1048,20 @@ var dt = e.object({
1021
1048
  last_used: e.boolean().optional(),
1022
1049
  last_used_label: e.string().optional()
1023
1050
  }).optional()
1024
- }), Lt = j.extend({
1051
+ }), Vt = j.extend({
1025
1052
  type: e.literal("FILE"),
1026
1053
  config: e.object({
1027
1054
  accept: e.string().optional(),
1028
1055
  max_size: e.number().optional(),
1029
1056
  multiple: e.boolean().optional()
1030
1057
  }).optional()
1031
- }), Rt = j.extend({
1058
+ }), Ht = j.extend({
1032
1059
  type: e.literal("LEGAL"),
1033
1060
  config: e.object({
1034
1061
  text: e.string(),
1035
1062
  html: e.boolean().optional()
1036
1063
  }).optional()
1037
- }), zt = j.extend({
1064
+ }), Ut = j.extend({
1038
1065
  type: e.literal("NUMBER"),
1039
1066
  config: e.object({
1040
1067
  placeholder: e.string().optional(),
@@ -1043,7 +1070,7 @@ var dt = e.object({
1043
1070
  step: e.number().optional(),
1044
1071
  default_value: e.string().optional()
1045
1072
  }).optional()
1046
- }), Bt = j.extend({
1073
+ }), Wt = j.extend({
1047
1074
  type: e.literal("PASSWORD"),
1048
1075
  config: e.object({
1049
1076
  placeholder: e.string().optional(),
@@ -1052,13 +1079,13 @@ var dt = e.object({
1052
1079
  forgot_password_link: e.string().optional(),
1053
1080
  default_value: e.string().optional()
1054
1081
  }).optional()
1055
- }), Vt = j.extend({
1082
+ }), Gt = j.extend({
1056
1083
  type: e.literal("PAYMENT"),
1057
1084
  config: e.object({
1058
1085
  provider: e.string().optional(),
1059
1086
  currency: e.string().optional()
1060
1087
  }).optional()
1061
- }), Ht = j.extend({
1088
+ }), Kt = j.extend({
1062
1089
  type: e.literal("SOCIAL"),
1063
1090
  config: e.object({
1064
1091
  providers: e.array(e.string()).optional(),
@@ -1073,7 +1100,7 @@ var dt = e.object({
1073
1100
  last_used_label: e.string().optional()
1074
1101
  })).optional()
1075
1102
  }).optional()
1076
- }), Ut = j.extend({
1103
+ }), qt = j.extend({
1077
1104
  type: e.literal("TEL"),
1078
1105
  config: e.object({
1079
1106
  placeholder: e.string().optional(),
@@ -1081,7 +1108,7 @@ var dt = e.object({
1081
1108
  default_value: e.string().optional(),
1082
1109
  allow_email: e.boolean().optional()
1083
1110
  }).optional()
1084
- }), Wt = j.extend({
1111
+ }), Jt = j.extend({
1085
1112
  type: e.literal("TEXT"),
1086
1113
  config: e.object({
1087
1114
  placeholder: e.string().optional(),
@@ -1091,41 +1118,37 @@ var dt = e.object({
1091
1118
  last_used: e.boolean().optional(),
1092
1119
  last_used_label: e.string().optional()
1093
1120
  }).optional()
1094
- }), Gt = j.extend({
1121
+ }), Yt = j.extend({
1095
1122
  type: e.literal("COUNTRY"),
1096
1123
  config: e.object({
1097
1124
  placeholder: e.string().optional(),
1098
1125
  default_value: e.string().optional()
1099
1126
  }).optional()
1100
- }), Kt = j.extend({
1127
+ }), Xt = j.extend({
1101
1128
  type: e.literal("URL"),
1102
1129
  config: e.object({
1103
1130
  placeholder: e.string().optional(),
1104
1131
  default_value: e.string().optional()
1105
1132
  }).optional()
1106
- }), qt = e.discriminatedUnion("type", [
1107
- vt,
1108
- yt,
1109
- bt,
1110
- xt,
1133
+ }), Zt = e.discriminatedUnion("type", [
1111
1134
  St,
1112
1135
  Ct,
1113
1136
  wt,
1114
- Tt
1115
- ]), Jt = e.discriminatedUnion("type", [
1137
+ Tt,
1116
1138
  Et,
1117
1139
  Dt,
1118
- Ot
1119
- ]), Yt = e.discriminatedUnion("type", [
1120
- kt,
1140
+ Ot,
1141
+ kt
1142
+ ]), Qt = e.discriminatedUnion("type", [
1121
1143
  At,
1122
1144
  jt,
1123
- Mt,
1124
- Gt,
1145
+ Mt
1146
+ ]), $t = e.discriminatedUnion("type", [
1125
1147
  Nt,
1126
1148
  Pt,
1127
1149
  Ft,
1128
1150
  It,
1151
+ Yt,
1129
1152
  Lt,
1130
1153
  Rt,
1131
1154
  zt,
@@ -1134,12 +1157,16 @@ var dt = e.object({
1134
1157
  Ht,
1135
1158
  Ut,
1136
1159
  Wt,
1137
- Kt
1138
- ]), M = e.union([
1160
+ Gt,
1161
+ Kt,
1139
1162
  qt,
1140
1163
  Jt,
1141
- Yt
1142
- ]), Xt = new Set([
1164
+ Xt
1165
+ ]), M = e.union([
1166
+ Zt,
1167
+ Qt,
1168
+ $t
1169
+ ]), en = new Set([
1143
1170
  "BOOLEAN",
1144
1171
  "CARDS",
1145
1172
  "CHOICE",
@@ -1154,7 +1181,7 @@ var dt = e.object({
1154
1181
  "TEL",
1155
1182
  "TEXT",
1156
1183
  "URL"
1157
- ]), Zt = e.object({
1184
+ ]), tn = e.object({
1158
1185
  id: e.string(),
1159
1186
  type: e.literal("submit"),
1160
1187
  label: e.string(),
@@ -1166,7 +1193,7 @@ var dt = e.object({
1166
1193
  }), N = e.object({
1167
1194
  x: e.number(),
1168
1195
  y: e.number()
1169
- }), Qt = e.object({
1196
+ }), nn = e.object({
1170
1197
  id: e.string(),
1171
1198
  type: e.literal("FLOW"),
1172
1199
  coordinates: N,
@@ -1175,7 +1202,7 @@ var dt = e.object({
1175
1202
  flow_id: e.string().max(30),
1176
1203
  next_node: e.string().optional()
1177
1204
  })
1178
- }), $t = e.object({
1205
+ }), rn = e.object({
1179
1206
  id: e.string(),
1180
1207
  type: e.literal("ROUTER"),
1181
1208
  coordinates: N,
@@ -1189,7 +1216,7 @@ var dt = e.object({
1189
1216
  })),
1190
1217
  fallback: e.string()
1191
1218
  })
1192
- }), en = e.object({
1219
+ }), an = e.object({
1193
1220
  id: e.string(),
1194
1221
  type: e.literal("STEP"),
1195
1222
  coordinates: N,
@@ -1198,11 +1225,11 @@ var dt = e.object({
1198
1225
  components: e.array(M),
1199
1226
  next_node: e.string().optional()
1200
1227
  })
1201
- }), tn = e.discriminatedUnion("type", [
1202
- Qt,
1203
- $t,
1204
- en
1205
- ]), nn = e.object({
1228
+ }), on = e.discriminatedUnion("type", [
1229
+ nn,
1230
+ rn,
1231
+ an
1232
+ ]), sn = e.object({
1206
1233
  name: e.string().openapi({ description: "The name of the form" }),
1207
1234
  messages: e.object({
1208
1235
  errors: e.record(e.string(), e.any()).optional(),
@@ -1213,7 +1240,7 @@ var dt = e.object({
1213
1240
  default: e.string().optional()
1214
1241
  }).optional(),
1215
1242
  translations: e.record(e.string(), e.any()).optional(),
1216
- nodes: e.array(tn).optional(),
1243
+ nodes: e.array(on).optional(),
1217
1244
  start: e.object({
1218
1245
  hidden_fields: e.array(e.object({
1219
1246
  key: e.string(),
@@ -1236,7 +1263,7 @@ var dt = e.object({
1236
1263
  sdkSrc: e.string().optional(),
1237
1264
  sdk_src: e.string().optional()
1238
1265
  }).optional()
1239
- }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), rn = t.extend(nn.shape).extend({ id: e.string() }), an = e.object({
1266
+ }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), cn = t.extend(sn.shape).extend({ id: e.string() }), ln = e.object({
1240
1267
  id: e.number().optional(),
1241
1268
  text: e.string(),
1242
1269
  type: e.enum([
@@ -1245,37 +1272,37 @@ var dt = e.object({
1245
1272
  "success",
1246
1273
  "warning"
1247
1274
  ])
1248
- }), on = e.object({
1275
+ }), un = e.object({
1249
1276
  id: e.string().optional(),
1250
1277
  text: e.string(),
1251
1278
  href: e.string(),
1252
1279
  linkText: e.string().optional()
1253
- }), sn = e.object({
1280
+ }), dn = e.object({
1254
1281
  "form-content-start": e.string().optional(),
1255
1282
  "form-content-end": e.string().optional(),
1256
1283
  "form-footer-start": e.string().optional(),
1257
1284
  "form-footer-end": e.string().optional(),
1258
1285
  "secondary-actions-start": e.string().optional(),
1259
1286
  "secondary-actions-end": e.string().optional()
1260
- }).strict(), cn = e.object({
1287
+ }).strict(), fn = e.object({
1261
1288
  name: e.string().optional(),
1262
1289
  action: e.string(),
1263
1290
  method: e.enum(["POST", "GET"]),
1264
1291
  title: e.string().optional(),
1265
1292
  description: e.string().optional(),
1266
1293
  components: e.array(M),
1267
- messages: e.array(an).optional(),
1268
- links: e.array(on).optional(),
1269
- partials: sn.optional(),
1294
+ messages: e.array(ln).optional(),
1295
+ links: e.array(un).optional(),
1296
+ partials: dn.optional(),
1270
1297
  footer: e.string().optional()
1271
1298
  });
1272
- function ln(e) {
1299
+ function pn(e) {
1273
1300
  return e.category === "BLOCK";
1274
1301
  }
1275
- function un(e) {
1302
+ function mn(e) {
1276
1303
  return e.category === "WIDGET";
1277
1304
  }
1278
- function dn(e) {
1305
+ function hn(e) {
1279
1306
  return e.category === "FIELD";
1280
1307
  }
1281
1308
  //#endregion
@@ -1298,7 +1325,7 @@ var P = e.enum([
1298
1325
  "credentials-exchange",
1299
1326
  "pre-user-registration",
1300
1327
  "post-user-registration"
1301
- ]), R = e.enum(["post-user-login"]), fn = [
1328
+ ]), R = e.enum(["post-user-login"]), gn = [
1302
1329
  {
1303
1330
  field: "url",
1304
1331
  triggers: P.options
@@ -1320,16 +1347,16 @@ var P = e.enum([
1320
1347
  triggers: R.options
1321
1348
  }
1322
1349
  ];
1323
- function pn(e) {
1350
+ function _n(e) {
1324
1351
  if (!(!e || typeof e != "object")) {
1325
- for (let t of fn) if (typeof Reflect.get(e, t.field) == "string") return t.triggers;
1352
+ for (let t of gn) if (typeof Reflect.get(e, t.field) == "string") return t.triggers;
1326
1353
  }
1327
1354
  }
1328
1355
  var z = e.enum(["impersonate"]), B = e.enum([
1329
1356
  "ensure-username",
1330
1357
  "set-preferred-username",
1331
1358
  "account-linking"
1332
- ]), mn = {
1359
+ ]), vn = {
1333
1360
  "ensure-username": {
1334
1361
  name: "Ensure Username",
1335
1362
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1354,82 +1381,83 @@ var z = e.enum(["impersonate"]), B = e.enum([
1354
1381
  synchronous: e.boolean().default(!1),
1355
1382
  priority: e.number().optional(),
1356
1383
  hook_id: e.string().optional(),
1357
- metadata: e.record(e.string(), e.unknown()).optional()
1358
- }, hn = e.object({
1384
+ metadata: e.record(e.string(), e.unknown()).optional(),
1385
+ ...i
1386
+ }, yn = e.object({
1359
1387
  ...V,
1360
1388
  trigger_id: P,
1361
1389
  url: e.string()
1362
- }), gn = e.object({
1390
+ }), bn = e.object({
1363
1391
  ...V,
1364
1392
  trigger_id: F,
1365
1393
  form_id: e.string()
1366
- }), _n = e.object({
1394
+ }), xn = e.object({
1367
1395
  ...V,
1368
1396
  trigger_id: I,
1369
1397
  template_id: B
1370
- }), vn = e.object({
1398
+ }), Sn = e.object({
1371
1399
  ...V,
1372
1400
  trigger_id: L,
1373
1401
  code_id: e.string()
1374
- }), yn = e.object({
1402
+ }), Cn = e.object({
1375
1403
  ...V,
1376
1404
  trigger_id: R,
1377
1405
  page_id: z,
1378
1406
  permission_required: e.string().optional()
1379
- }), bn = e.union([
1380
- hn,
1381
- gn,
1382
- _n,
1383
- vn,
1384
- yn
1385
- ]), xn = e.object({
1407
+ }), wn = e.union([
1408
+ yn,
1409
+ bn,
1410
+ xn,
1411
+ Sn,
1412
+ Cn
1413
+ ]), Tn = e.object({
1386
1414
  ...V,
1387
1415
  trigger_id: P
1388
1416
  }).extend(t.shape).extend({
1389
1417
  hook_id: e.string(),
1390
1418
  url: e.string()
1391
- }), Sn = e.object({
1419
+ }), En = e.object({
1392
1420
  ...V,
1393
1421
  trigger_id: F
1394
1422
  }).extend(t.shape).extend({
1395
1423
  hook_id: e.string(),
1396
1424
  form_id: e.string()
1397
- }), Cn = e.object({
1425
+ }), Dn = e.object({
1398
1426
  ...V,
1399
1427
  trigger_id: I
1400
1428
  }).extend(t.shape).extend({
1401
1429
  hook_id: e.string(),
1402
1430
  template_id: B
1403
- }), wn = e.object({
1431
+ }), On = e.object({
1404
1432
  ...V,
1405
1433
  trigger_id: L
1406
1434
  }).extend(t.shape).extend({
1407
1435
  hook_id: e.string(),
1408
1436
  code_id: e.string()
1409
- }), Tn = e.object({
1437
+ }), kn = e.object({
1410
1438
  ...V,
1411
1439
  trigger_id: R
1412
1440
  }).extend(t.shape).extend({
1413
1441
  hook_id: e.string(),
1414
1442
  page_id: z,
1415
1443
  permission_required: e.string().optional()
1416
- }), En = e.union([
1417
- xn,
1418
- Sn,
1419
- Cn,
1420
- wn,
1421
- Tn
1422
- ]), Dn = e.object({
1444
+ }), An = e.union([
1445
+ Tn,
1446
+ En,
1447
+ Dn,
1448
+ On,
1449
+ kn
1450
+ ]), jn = e.object({
1423
1451
  code: e.string().max(1e5),
1424
1452
  secrets: e.record(e.string(), e.string()).optional()
1425
- }), On = Dn.extend({
1453
+ }), Mn = jn.extend({
1426
1454
  id: e.string(),
1427
1455
  tenant_id: e.string()
1428
- }).extend(t.shape), kn = e.object({ name: e.string().optional() }), An = e.object({ email: e.string().optional() }), jn = e.object({
1456
+ }).extend(t.shape), Nn = e.object({ name: e.string().optional() }), Pn = e.object({ email: e.string().optional() }), Fn = e.object({
1429
1457
  id: e.string().optional(),
1430
1458
  organization_id: e.string().max(50),
1431
- inviter: kn,
1432
- invitee: An,
1459
+ inviter: Nn,
1460
+ invitee: Pn,
1433
1461
  invitation_url: e.string().url(),
1434
1462
  client_id: e.string(),
1435
1463
  connection_id: e.string().optional(),
@@ -1438,13 +1466,13 @@ var z = e.enum(["impersonate"]), B = e.enum([
1438
1466
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1439
1467
  roles: e.array(e.string()).default([]).optional(),
1440
1468
  send_invitation_email: e.boolean().default(!0).optional()
1441
- }), Mn = e.object({
1469
+ }), In = e.object({
1442
1470
  id: e.string(),
1443
1471
  organization_id: e.string().max(50),
1444
1472
  created_at: e.string().datetime(),
1445
1473
  expires_at: e.string().datetime(),
1446
1474
  ticket_id: e.string().optional()
1447
- }).extend(jn.omit({ id: !0 }).shape), Nn = e.object({
1475
+ }).extend(Fn.omit({ id: !0 }).shape), Ln = e.object({
1448
1476
  alg: e.enum([
1449
1477
  "RS256",
1450
1478
  "RS384",
@@ -1486,7 +1514,7 @@ var z = e.enum(["impersonate"]), B = e.enum([
1486
1514
  path: [r],
1487
1515
  message: `EC JWK is missing required member '${r}'`
1488
1516
  });
1489
- }), Pn = e.object({ keys: e.array(Nn) }), Fn = e.object({
1517
+ }), Rn = e.object({ keys: e.array(Ln) }), zn = e.object({
1490
1518
  issuer: e.string(),
1491
1519
  authorization_endpoint: e.string(),
1492
1520
  token_endpoint: e.string(),
@@ -1512,29 +1540,29 @@ var z = e.enum(["impersonate"]), B = e.enum([
1512
1540
  client_id_metadata_document_supported: e.boolean().optional(),
1513
1541
  backchannel_logout_supported: e.boolean().optional(),
1514
1542
  backchannel_logout_session_supported: e.boolean().optional()
1515
- }), In = /* @__PURE__ */ function(e) {
1543
+ }), Bn = /* @__PURE__ */ function(e) {
1516
1544
  return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
1517
- }({}), Ln = e.nativeEnum(In), H = e.object({
1545
+ }({}), Vn = e.nativeEnum(Bn), H = e.object({
1518
1546
  strategy: e.string(),
1519
1547
  strategy_type: e.string()
1520
- }), Rn = e.object({
1548
+ }), Hn = e.object({
1521
1549
  csrf_token: e.string(),
1522
1550
  auth0Client: e.string().optional(),
1523
- authParams: at,
1551
+ authParams: lt,
1524
1552
  expires_at: e.string(),
1525
1553
  deleted_at: e.string().optional(),
1526
1554
  ip: e.string().optional(),
1527
1555
  useragent: e.string().optional(),
1528
1556
  session_id: e.string().optional(),
1529
1557
  authorization_url: e.string().optional(),
1530
- state: Ln.optional().default("pending"),
1558
+ state: Vn.optional().default("pending"),
1531
1559
  state_data: e.string().optional(),
1532
1560
  failure_reason: e.string().optional(),
1533
1561
  user_id: e.string().optional(),
1534
1562
  auth_connection: e.string().optional(),
1535
1563
  auth_strategy: H.optional(),
1536
1564
  authenticated_at: e.string().optional()
1537
- }).openapi({ description: "This represents a login sesion" }), zn = Rn.extend({
1565
+ }).openapi({ description: "This represents a login sesion" }), Un = Hn.extend({
1538
1566
  id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
1539
1567
  created_at: e.string(),
1540
1568
  updated_at: e.string()
@@ -1551,6 +1579,8 @@ var z = e.enum(["impersonate"]), B = e.enum([
1551
1579
  CODE_LINK_SENT: "cls",
1552
1580
  CODE_SENT: "cs",
1553
1581
  DEPRECATION_NOTICE: "depnote",
1582
+ CONFIG_INHERITANCE_DIFF: "cfgdiff",
1583
+ CONFIG_DRIFT: "cfgdrift",
1554
1584
  FAILED_LOGIN: "f",
1555
1585
  FAILED_BY_CONNECTOR: "fc",
1556
1586
  FAILED_CHANGE_EMAIL: "fce",
@@ -1698,7 +1728,7 @@ var z = e.enum(["impersonate"]), B = e.enum([
1698
1728
  WARNING_DURING_LOGIN: "w",
1699
1729
  WARNING_SENDING_NOTIFICATION: "wn",
1700
1730
  WARNING_USER_MANAGEMENT: "wum"
1701
- }, Bn = e.string().refine((e) => Object.values(U).includes(e), { message: "Invalid log type" }), Vn = {
1731
+ }, Wn = e.string().refine((e) => Object.values(U).includes(e), { message: "Invalid log type" }), Gn = {
1702
1732
  [U.ACLS_SUMMARY]: "ACLs Summary",
1703
1733
  [U.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1704
1734
  [U.API_LIMIT]: "API Rate Limit Reached",
@@ -1711,6 +1741,8 @@ var z = e.enum(["impersonate"]), B = e.enum([
1711
1741
  [U.CODE_LINK_SENT]: "Code/Link Sent",
1712
1742
  [U.CODE_SENT]: "Code Sent",
1713
1743
  [U.DEPRECATION_NOTICE]: "Deprecation Notice",
1744
+ [U.CONFIG_INHERITANCE_DIFF]: "Config Inheritance Shadow Difference",
1745
+ [U.CONFIG_DRIFT]: "Config Drift",
1714
1746
  [U.FAILED_LOGIN]: "Failed Login",
1715
1747
  [U.FAILED_BY_CONNECTOR]: "Failed by Connector",
1716
1748
  [U.FAILED_CHANGE_EMAIL]: "Failed Change Email",
@@ -1858,30 +1890,30 @@ var z = e.enum(["impersonate"]), B = e.enum([
1858
1890
  [U.WARNING_DURING_LOGIN]: "Warning During Login",
1859
1891
  [U.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1860
1892
  [U.WARNING_USER_MANAGEMENT]: "Warning User Management"
1861
- }, Hn = (() => {
1893
+ }, Kn = (() => {
1862
1894
  let e = {};
1863
- for (let [t, n] of Object.entries(U)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1895
+ for (let [t, n] of Object.entries(U)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "CONFIG_INHERITANCE_DIFF" || t === "CONFIG_DRIFT" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1864
1896
  return e;
1865
1897
  })();
1866
- function Un(e) {
1867
- return Vn[e] ?? e;
1898
+ function qn(e) {
1899
+ return Gn[e] ?? e;
1868
1900
  }
1869
- function Wn(e) {
1870
- return Hn[e] ?? "other";
1901
+ function Jn(e) {
1902
+ return Kn[e] ?? "other";
1871
1903
  }
1872
- var Gn = e.object({
1904
+ var Yn = e.object({
1873
1905
  name: e.string(),
1874
1906
  version: e.string(),
1875
1907
  env: e.object({ node: e.string().optional() }).optional()
1876
- }), Kn = e.object({
1908
+ }), Xn = e.object({
1877
1909
  country_code: e.string().length(2),
1878
1910
  city_name: e.string(),
1879
1911
  latitude: e.string(),
1880
1912
  longitude: e.string(),
1881
1913
  time_zone: e.string(),
1882
1914
  continent_code: e.string()
1883
- }), qn = e.object({
1884
- type: Bn,
1915
+ }), Zn = e.object({
1916
+ type: Wn,
1885
1917
  date: e.string(),
1886
1918
  description: e.string().optional(),
1887
1919
  ip: e.string().optional(),
@@ -1899,10 +1931,10 @@ var Gn = e.object({
1899
1931
  strategy: e.string().optional(),
1900
1932
  strategy_type: e.string().optional(),
1901
1933
  hostname: e.string().optional(),
1902
- auth0_client: Gn.optional(),
1934
+ auth0_client: Yn.optional(),
1903
1935
  log_id: e.string().optional(),
1904
- location_info: Kn.optional()
1905
- }), Jn = qn.extend({ log_id: e.string() }), Yn = e.enum([
1936
+ location_info: Xn.optional()
1937
+ }), Qn = Zn.extend({ log_id: e.string() }), $n = e.enum([
1906
1938
  "http",
1907
1939
  "eventbridge",
1908
1940
  "eventgrid",
@@ -1913,44 +1945,44 @@ var Gn = e.object({
1913
1945
  "active",
1914
1946
  "paused",
1915
1947
  "suspended"
1916
- ]), Xn = e.object({
1948
+ ]), er = e.object({
1917
1949
  type: e.string(),
1918
1950
  name: e.string()
1919
- }), Zn = e.object({
1951
+ }), tr = e.object({
1920
1952
  name: e.string(),
1921
- type: Yn,
1953
+ type: $n,
1922
1954
  status: W.optional(),
1923
1955
  sink: e.record(e.string(), e.unknown()),
1924
- filters: e.array(Xn).optional(),
1956
+ filters: e.array(er).optional(),
1925
1957
  isPriority: e.boolean().optional()
1926
- }), Qn = Zn.extend({
1958
+ }), nr = tr.extend({
1927
1959
  id: e.string(),
1928
1960
  status: W,
1929
1961
  created_at: e.string().optional(),
1930
1962
  updated_at: e.string().optional()
1931
- }), $n = e.enum([
1963
+ }), rr = e.enum([
1932
1964
  "auth0",
1933
1965
  "cognito",
1934
1966
  "okta",
1935
1967
  "oidc"
1936
- ]), er = e.object({
1968
+ ]), ir = e.object({
1937
1969
  domain: e.string(),
1938
1970
  client_id: e.string(),
1939
1971
  client_secret: e.string(),
1940
1972
  audience: e.string().optional(),
1941
1973
  scope: e.string().optional()
1942
- }), tr = e.object({
1974
+ }), ar = e.object({
1943
1975
  id: e.string().optional(),
1944
1976
  name: e.string(),
1945
- provider: $n,
1977
+ provider: rr,
1946
1978
  connection: e.string(),
1947
1979
  enabled: e.boolean().default(!0),
1948
- credentials: er
1949
- }), nr = e.object({
1980
+ credentials: ir
1981
+ }), or = e.object({
1950
1982
  id: e.string(),
1951
1983
  created_at: e.string(),
1952
1984
  updated_at: e.string()
1953
- }).extend(tr.shape), rr = e.object({
1985
+ }).extend(ar.shape), sr = e.object({
1954
1986
  enabled: e.boolean().optional(),
1955
1987
  shields: e.array(e.string()).optional(),
1956
1988
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -1959,13 +1991,13 @@ var Gn = e.object({
1959
1991
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
1960
1992
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
1961
1993
  }).optional()
1962
- }), ir = e.object({
1994
+ }), cr = e.object({
1963
1995
  enabled: e.boolean().optional(),
1964
1996
  shields: e.array(e.string()).optional(),
1965
1997
  allowlist: e.array(e.string()).optional(),
1966
1998
  mode: e.string().optional(),
1967
1999
  max_attempts: e.number().optional()
1968
- }), ar = e.object({
2000
+ }), lr = e.object({
1969
2001
  enabled: e.boolean().optional(),
1970
2002
  shields: e.array(e.string()).optional(),
1971
2003
  allowlist: e.array(e.string()).optional(),
@@ -1979,28 +2011,28 @@ var Gn = e.object({
1979
2011
  rate: e.number().optional()
1980
2012
  }).optional()
1981
2013
  }).optional()
1982
- }), or = e.object({
1983
- breached_password_detection: rr.optional(),
1984
- brute_force_protection: ir.optional(),
1985
- suspicious_ip_throttling: ar.optional()
1986
- }), sr = e.object({
2014
+ }), ur = e.object({
2015
+ breached_password_detection: sr.optional(),
2016
+ brute_force_protection: cr.optional(),
2017
+ suspicious_ip_throttling: lr.optional()
2018
+ }), dr = e.object({
1987
2019
  id: e.string().optional(),
1988
2020
  user_id: e.string(),
1989
2021
  password: e.string(),
1990
2022
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1991
2023
  is_current: e.boolean().default(!0)
1992
- }), cr = sr.extend({
2024
+ }), fr = dr.extend({
1993
2025
  id: e.string(),
1994
2026
  created_at: e.string(),
1995
2027
  updated_at: e.string()
1996
- }), lr = e.object({
2028
+ }), pr = e.object({
1997
2029
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1998
2030
  initial_ip: e.string().describe("First IP address associated with this session"),
1999
2031
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
2000
2032
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
2001
2033
  last_ip: e.string().describe("Last IP address from which this user logged in"),
2002
2034
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
2003
- }), ur = e.object({
2035
+ }), mr = e.object({
2004
2036
  id: e.string(),
2005
2037
  revoked_at: e.string().optional(),
2006
2038
  used_at: e.string().optional(),
@@ -2008,14 +2040,14 @@ var Gn = e.object({
2008
2040
  expires_at: e.string().optional(),
2009
2041
  login_session_id: e.string(),
2010
2042
  idle_expires_at: e.string().optional(),
2011
- device: lr.describe("Metadata related to the device used in the session"),
2043
+ device: pr.describe("Metadata related to the device used in the session"),
2012
2044
  clients: e.array(e.string()).describe("List of client details for the session")
2013
- }), dr = e.object({
2045
+ }), hr = e.object({
2014
2046
  created_at: e.string(),
2015
2047
  updated_at: e.string(),
2016
2048
  authenticated_at: e.string(),
2017
2049
  last_interaction_at: e.string()
2018
- }).extend(ur.shape), fr = e.object({
2050
+ }).extend(mr.shape), gr = e.object({
2019
2051
  kid: e.string().openapi({ description: "The key id of the signing key" }),
2020
2052
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
2021
2053
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -2031,8 +2063,12 @@ var Gn = e.object({
2031
2063
  revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
2032
2064
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
2033
2065
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
2034
- }), pr = e.object({
2066
+ }), _r = e.object({
2035
2067
  id: e.string().optional(),
2068
+ parent_tenant_id: e.string().nullish(),
2069
+ config_sync: e.enum(["inherit-on-read", "synced"]).nullish(),
2070
+ config_sync_hash: e.string().nullish(),
2071
+ config_synced_at: e.string().nullish(),
2036
2072
  audience: e.string().optional(),
2037
2073
  friendly_name: e.string(),
2038
2074
  picture_url: e.string().optional(),
@@ -2149,7 +2185,7 @@ var Gn = e.object({
2149
2185
  "shared_planetscale"
2150
2186
  ]).optional(),
2151
2187
  d1_database_id: e.string().max(64).optional(),
2152
- attack_protection: or.optional(),
2188
+ attack_protection: ur.optional(),
2153
2189
  mfa: e.object({
2154
2190
  policy: e.enum(["never", "always"]).default("never").optional(),
2155
2191
  factors: e.object({
@@ -2176,38 +2212,39 @@ var Gn = e.object({
2176
2212
  }).optional(),
2177
2213
  phone_message: e.object({ message: e.string().optional() }).optional()
2178
2214
  }).optional()
2179
- }), mr = e.object({
2215
+ }), vr = e.object({
2180
2216
  created_at: e.string().nullable().transform((e) => e ?? ""),
2181
2217
  updated_at: e.string().nullable().transform((e) => e ?? "")
2182
- }).extend(pr.shape).extend({
2218
+ }).extend(_r.shape).extend({
2183
2219
  id: e.string(),
2184
2220
  is_control_plane: e.boolean().optional()
2185
- }), hr = e.enum([
2221
+ }), yr = e.enum([
2186
2222
  "provision",
2187
2223
  "seed",
2188
2224
  "upgrade",
2189
2225
  "backup",
2190
2226
  "deprovision",
2191
- "users_import"
2192
- ]), gr = e.enum([
2227
+ "users_import",
2228
+ "sync-defaults"
2229
+ ]), br = e.enum([
2193
2230
  "pending",
2194
2231
  "running",
2195
2232
  "succeeded",
2196
2233
  "failed",
2197
2234
  "cancelled"
2198
- ]), _r = e.string().max(64), vr = ["inline", "cloudflare-workflows"], yr = e.object({
2235
+ ]), xr = e.string().max(64), Sr = ["inline", "cloudflare-workflows"], Cr = e.object({
2199
2236
  tenant_id: e.string().max(255).nullable().default(null),
2200
2237
  rollout_id: e.string().max(255).nullable().optional(),
2201
- kind: hr,
2202
- engine: _r,
2238
+ kind: yr,
2239
+ engine: xr,
2203
2240
  engine_instance_id: e.string().max(100).nullable().optional(),
2204
2241
  target_worker_version: e.string().max(255).nullable().optional(),
2205
2242
  target_database_version: e.string().max(255).nullable().optional(),
2206
2243
  initiated_by: e.string().max(255).nullable().optional(),
2207
2244
  input: e.record(e.string(), e.unknown()).nullable().optional()
2208
- }), br = yr.extend({
2245
+ }), wr = Cr.extend({
2209
2246
  id: e.string(),
2210
- status: gr,
2247
+ status: br,
2211
2248
  current_step: e.string().max(255).nullable().optional(),
2212
2249
  error: e.string().nullable().optional(),
2213
2250
  result: e.record(e.string(), e.unknown()).nullable().optional(),
@@ -2216,7 +2253,7 @@ var Gn = e.object({
2216
2253
  created_at: e.string(),
2217
2254
  updated_at: e.string(),
2218
2255
  finished_at: e.string().nullable().optional()
2219
- }), xr = br.pick({
2256
+ }), Tr = wr.pick({
2220
2257
  status: !0,
2221
2258
  current_step: !0,
2222
2259
  engine_instance_id: !0,
@@ -2227,20 +2264,20 @@ var Gn = e.object({
2227
2264
  claimed_by: !0,
2228
2265
  claim_expires_at: !0,
2229
2266
  finished_at: !0
2230
- }).partial(), Sr = e.enum([
2267
+ }).partial(), Er = e.enum([
2231
2268
  "started",
2232
2269
  "succeeded",
2233
2270
  "failed",
2234
2271
  "retried",
2235
2272
  "skipped",
2236
2273
  "reconciled"
2237
- ]), Cr = e.object({
2274
+ ]), Dr = e.object({
2238
2275
  operation_id: e.string().max(255),
2239
2276
  step: e.string().max(255),
2240
- outcome: Sr,
2277
+ outcome: Er,
2241
2278
  detail: e.record(e.string(), e.unknown()).nullable().optional(),
2242
2279
  attempt: e.number().int().min(1).default(1)
2243
- }), wr = Cr.extend({
2280
+ }), Or = Dr.extend({
2244
2281
  id: e.string(),
2245
2282
  created_at: e.string()
2246
2283
  }), G = e.enum([
@@ -2249,12 +2286,12 @@ var Gn = e.object({
2249
2286
  "updated",
2250
2287
  "failed",
2251
2288
  "skipped"
2252
- ]), Tr = [
2289
+ ]), kr = [
2253
2290
  "inserted",
2254
2291
  "updated",
2255
2292
  "failed",
2256
2293
  "skipped"
2257
- ], Er = e.object({
2294
+ ], Ar = e.object({
2258
2295
  operation_id: e.string().max(255),
2259
2296
  seq: e.number().int().min(0),
2260
2297
  payload: e.record(e.string(), e.unknown()),
@@ -2263,51 +2300,56 @@ var Gn = e.object({
2263
2300
  error_message: e.string().nullable().optional(),
2264
2301
  error_path: e.string().max(255).nullable().optional(),
2265
2302
  entity_id: e.string().max(255).nullable().optional()
2266
- }), Dr = Er.extend({
2303
+ }), jr = Ar.extend({
2267
2304
  status: G,
2268
2305
  created_at: e.string(),
2269
2306
  updated_at: e.string()
2270
- }), Or = e.object({
2307
+ }), Mr = e.object({
2271
2308
  seq: e.number().int().min(0),
2272
2309
  status: G,
2273
2310
  error_code: e.string().max(64).nullable().optional(),
2274
2311
  error_message: e.string().nullable().optional(),
2275
2312
  error_path: e.string().max(255).nullable().optional(),
2276
2313
  entity_id: e.string().max(255).nullable().optional()
2277
- }), kr = e.enum([
2314
+ }), Nr = e.enum([
2278
2315
  "upgrade",
2279
2316
  "reseed",
2280
- "backup"
2281
- ]), Ar = e.enum([
2317
+ "backup",
2318
+ "config-sync"
2319
+ ]), Pr = e.enum([
2282
2320
  "pending",
2283
2321
  "canary",
2284
2322
  "rolling",
2285
2323
  "paused",
2286
2324
  "done",
2287
2325
  "failed"
2288
- ]), jr = e.object({
2289
- kind: kr,
2326
+ ]), Fr = e.object({
2327
+ kind: Nr,
2290
2328
  target_worker_version: e.string().max(255).nullable().optional(),
2291
2329
  target_database_version: e.string().max(255).nullable().optional(),
2292
2330
  wave_size: e.number().int().min(1).default(10),
2293
2331
  canary_tenant_ids: e.array(e.string()).nullable().optional(),
2294
2332
  filter: e.record(e.string(), e.unknown()).nullable().optional(),
2295
- initiated_by: e.string().max(255).nullable().optional()
2296
- }), Mr = jr.extend({
2333
+ initiated_by: e.string().max(255).nullable().optional(),
2334
+ config: e.record(e.string(), e.unknown()).nullable().optional()
2335
+ }), Ir = Fr.extend({
2297
2336
  id: e.string(),
2298
- status: Ar,
2337
+ status: Pr,
2299
2338
  created_at: e.string(),
2300
2339
  updated_at: e.string(),
2301
- finished_at: e.string().nullable().optional()
2302
- }), Nr = Mr.pick({
2340
+ finished_at: e.string().nullable().optional(),
2341
+ paused_reason: e.string().nullable().optional()
2342
+ }), Lr = Ir.pick({
2303
2343
  status: !0,
2304
2344
  wave_size: !0,
2305
2345
  canary_tenant_ids: !0,
2306
2346
  filter: !0,
2347
+ config: !0,
2348
+ paused_reason: !0,
2307
2349
  finished_at: !0
2308
- }).partial(), Pr = /* @__PURE__ */ function(e) {
2350
+ }).partial(), Rr = /* @__PURE__ */ function(e) {
2309
2351
  return e.RefreshToken = "refresh_token", e.AuthorizationCode = "authorization_code", e.ClientCredential = "client_credentials", e.Passwordless = "passwordless", e.Password = "password", e.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", e.TokenExchange = "urn:ietf:params:oauth:grant-type:token-exchange", e;
2310
- }({}), Fr = e.object({
2352
+ }({}), zr = e.object({
2311
2353
  access_token: e.string(),
2312
2354
  id_token: e.string().optional(),
2313
2355
  scope: e.string().optional(),
@@ -2322,7 +2364,7 @@ e.object({
2322
2364
  });
2323
2365
  //#endregion
2324
2366
  //#region src/types/Theme.ts
2325
- var Ir = e.object({
2367
+ var Br = e.object({
2326
2368
  button_border_radius: e.number(),
2327
2369
  button_border_weight: e.number(),
2328
2370
  buttons_style: e.enum([
@@ -2340,7 +2382,7 @@ var Ir = e.object({
2340
2382
  show_widget_shadow: e.boolean(),
2341
2383
  widget_border_weight: e.number(),
2342
2384
  widget_corner_radius: e.number()
2343
- }), Lr = e.object({
2385
+ }), Vr = e.object({
2344
2386
  base_focus_color: e.string(),
2345
2387
  base_hover_color: e.string(),
2346
2388
  body_text: e.string(),
@@ -2367,7 +2409,7 @@ var Ir = e.object({
2367
2409
  }), K = e.object({
2368
2410
  bold: e.boolean(),
2369
2411
  size: e.number()
2370
- }), Rr = e.object({
2412
+ }), Hr = e.object({
2371
2413
  body_text: K,
2372
2414
  buttons_text: K,
2373
2415
  font_url: e.string(),
@@ -2377,7 +2419,7 @@ var Ir = e.object({
2377
2419
  reference_text_size: e.number(),
2378
2420
  subtitle: K,
2379
2421
  title: K
2380
- }), zr = e.object({
2422
+ }), Ur = e.object({
2381
2423
  background_color: e.string(),
2382
2424
  background_image_url: e.string(),
2383
2425
  page_layout: e.enum([
@@ -2390,7 +2432,7 @@ var Ir = e.object({
2390
2432
  "chip",
2391
2433
  "none"
2392
2434
  ]).optional()
2393
- }), Br = e.object({
2435
+ }), Wr = e.object({
2394
2436
  header_text_alignment: e.enum([
2395
2437
  "center",
2396
2438
  "left",
@@ -2405,43 +2447,44 @@ var Ir = e.object({
2405
2447
  ]),
2406
2448
  logo_url: e.string(),
2407
2449
  social_buttons_layout: e.enum(["bottom", "top"])
2408
- }), Vr = e.object({
2409
- borders: Ir,
2410
- colors: Lr,
2450
+ }), Gr = e.object({
2451
+ borders: Br,
2452
+ colors: Vr,
2411
2453
  displayName: e.string(),
2412
- fonts: Rr,
2413
- page_background: zr,
2414
- widget: Br
2415
- }), Hr = Vr.extend({ themeId: e.string() }), Ur = e.object({
2454
+ fonts: Hr,
2455
+ page_background: Ur,
2456
+ widget: Wr
2457
+ }), Kr = Gr.extend({ themeId: e.string() }), qr = e.object({
2458
+ ...i,
2416
2459
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2417
2460
  identifier_first: e.boolean().default(!0),
2418
2461
  password_first: e.boolean().default(!1),
2419
2462
  show_last_used_connection: e.boolean().default(!1),
2420
2463
  webauthn_platform_first_factor: e.boolean()
2421
- }), Wr = e.object({
2464
+ }), Jr = e.object({
2422
2465
  hosts: e.array(e.string()).optional(),
2423
2466
  methods: e.array(e.string()).optional(),
2424
2467
  path: e.string().default("/*"),
2425
2468
  headers: e.record(e.string(), e.string()).optional(),
2426
2469
  query: e.record(e.string(), e.string()).optional()
2427
- }), Gr = e.object({
2470
+ }), Yr = e.object({
2428
2471
  type: e.string(),
2429
2472
  options: e.record(e.string(), e.unknown()).default({})
2430
2473
  }), q = e.object({
2431
2474
  id: e.string().optional(),
2432
2475
  custom_domain_id: e.string(),
2433
2476
  priority: e.number().int().default(100),
2434
- match: Wr,
2435
- handlers: e.array(Gr).min(1)
2436
- }), Kr = q.extend({
2477
+ match: Jr,
2478
+ handlers: e.array(Yr).min(1)
2479
+ }), Xr = q.extend({
2437
2480
  id: e.string(),
2438
2481
  tenant_id: e.string(),
2439
2482
  created_at: e.string(),
2440
2483
  updated_at: e.string()
2441
- }), qr = q.partial().omit({
2484
+ }), Zr = q.partial().omit({
2442
2485
  id: !0,
2443
2486
  custom_domain_id: !0
2444
- }), Jr = "custom_authentication", Yr = [
2487
+ }), Qr = "custom_authentication", $r = [
2445
2488
  "urn:ietf:params:oauth:",
2446
2489
  "urn:auth0",
2447
2490
  "urn:okta",
@@ -2449,71 +2492,72 @@ var Ir = e.object({
2449
2492
  "https://auth0.com",
2450
2493
  "http://okta.com",
2451
2494
  "https://okta.com"
2452
- ], J = e.string().min(1).max(200).refine((e) => e.startsWith("https://") || e.startsWith("urn:"), { message: "subject_token_type must be a URI starting with https:// or urn:" }).refine((e) => !Yr.some((t) => e.toLowerCase().startsWith(t)), { message: "subject_token_type uses a reserved namespace" }), Xr = e.enum([
2495
+ ], J = e.string().min(1).max(200).refine((e) => e.startsWith("https://") || e.startsWith("urn:"), { message: "subject_token_type must be a URI starting with https:// or urn:" }).refine((e) => !$r.some((t) => e.toLowerCase().startsWith(t)), { message: "subject_token_type uses a reserved namespace" }), ei = e.enum([
2453
2496
  "RS256",
2454
2497
  "RS384",
2455
2498
  "RS512",
2456
2499
  "ES256",
2457
2500
  "ES384",
2458
2501
  "ES512"
2459
- ]), Zr = e.discriminatedUnion("type", [e.object({
2502
+ ]), ti = e.discriminatedUnion("type", [e.object({
2460
2503
  type: e.literal("connection"),
2461
2504
  connection: e.string().min(1),
2462
2505
  create_if_not_exists: e.boolean().default(!0),
2463
2506
  trust_email_verified: e.boolean().default(!1)
2464
2507
  }), e.object({ type: e.literal("user_id") })]), Y = e.object({
2465
2508
  issuer: e.string().min(1).max(2048),
2466
- jwks: Pn.optional(),
2509
+ jwks: Rn.optional(),
2467
2510
  jwks_uri: e.string().url().optional(),
2468
2511
  audience: e.array(e.string().min(1)).min(1).optional(),
2469
- algorithms: e.array(Xr).min(1).optional(),
2512
+ algorithms: e.array(ei).min(1).optional(),
2470
2513
  max_lifetime_seconds: e.number().int().min(1).max(3600).default(300),
2471
2514
  require_jti: e.boolean().default(!0),
2472
- user_mapping: Zr
2473
- }), Qr = e.object({
2515
+ user_mapping: ti
2516
+ }), ni = e.object({
2474
2517
  name: e.string().min(1).max(255),
2475
2518
  subject_token_type: J,
2476
2519
  action_id: e.string().min(1).optional(),
2477
- type: e.literal(Jr),
2520
+ type: e.literal(Qr),
2478
2521
  jwt_verification: Y.optional()
2479
- }), $r = Qr.extend({
2522
+ }), ri = ni.extend({
2480
2523
  id: e.string(),
2481
2524
  created_at: e.string(),
2482
2525
  updated_at: e.string()
2483
- }), ei = e.object({
2526
+ }), ii = e.object({
2484
2527
  name: e.string().min(1).max(255).optional(),
2485
2528
  subject_token_type: J.optional(),
2486
2529
  jwt_verification: Y.optional()
2487
- }), ti = e.object({
2530
+ }), ai = e.object({
2488
2531
  scim: e.string(),
2489
2532
  auth0: e.string()
2490
- }), ni = e.object({
2533
+ }), oi = e.object({
2491
2534
  connection_id: e.string(),
2492
2535
  user_id_attribute: e.string().default("externalId"),
2493
- mapping: e.array(ti).default([])
2494
- }), ri = e.object({
2536
+ mapping: e.array(ai).default([])
2537
+ }), si = e.object({
2495
2538
  created_at: e.string(),
2496
2539
  updated_at: e.string()
2497
- }).extend(ni.shape), ii = e.object({
2540
+ }).extend(oi.shape), ci = e.object({
2498
2541
  token_id: e.string(),
2499
2542
  connection_id: e.string(),
2500
2543
  token_hash: e.string(),
2501
2544
  scopes: e.array(e.string()).default([]),
2502
2545
  valid_until: e.string().optional()
2503
- }), ai = e.object({
2546
+ }), li = e.object({
2504
2547
  created_at: e.string(),
2505
2548
  last_used_at: e.string().optional()
2506
- }).extend(ii.shape), oi = e.object({
2549
+ }).extend(ci.shape), ui = e.object({
2507
2550
  connection_id: e.string(),
2508
2551
  external_id: e.string(),
2509
2552
  user_id: e.string()
2510
- }), si = e.object({ created_at: e.string() }).extend(oi.shape), ci = e.object({
2553
+ }), di = e.object({ created_at: e.string() }).extend(ui.shape), fi = e.object({
2554
+ ...i,
2511
2555
  name: e.string(),
2512
2556
  enabled: e.boolean().optional().default(!0),
2513
2557
  default_from_address: e.string().optional(),
2514
2558
  credentials: e.record(e.string(), e.unknown()),
2515
2559
  settings: e.object({}).optional()
2516
- }), li = e.enum([
2560
+ }), pi = e.enum([
2517
2561
  "verify_email",
2518
2562
  "verify_email_by_code",
2519
2563
  "reset_email",
@@ -2526,8 +2570,8 @@ var Ir = e.object({
2526
2570
  "change_password",
2527
2571
  "password_reset",
2528
2572
  "user_invitation"
2529
- ]), ui = e.object({
2530
- template: li,
2573
+ ]), mi = e.object({
2574
+ template: pi,
2531
2575
  body: e.string(),
2532
2576
  from: e.string(),
2533
2577
  subject: e.string(),
@@ -2536,7 +2580,7 @@ var Ir = e.object({
2536
2580
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2537
2581
  includeEmailInRedirect: e.boolean().default(!1),
2538
2582
  enabled: e.boolean().default(!0)
2539
- }), di = e.object({
2583
+ }), hi = e.object({
2540
2584
  id: e.string(),
2541
2585
  login_id: e.string(),
2542
2586
  session_id: e.string().optional(),
@@ -2548,7 +2592,7 @@ var Ir = e.object({
2548
2592
  expires_at: e.string().optional(),
2549
2593
  idle_expires_at: e.string().optional(),
2550
2594
  last_exchanged_at: e.string().optional(),
2551
- device: lr,
2595
+ device: pr,
2552
2596
  resource_servers: e.array(e.object({
2553
2597
  audience: e.string(),
2554
2598
  scopes: e.string()
@@ -2559,19 +2603,19 @@ var Ir = e.object({
2559
2603
  family_id: e.string().optional(),
2560
2604
  rotated_to: e.string().optional(),
2561
2605
  rotated_at: e.string().optional()
2562
- }), fi = di.extend({
2606
+ }), gi = hi.extend({
2563
2607
  created_at: e.string(),
2564
2608
  revoked_at: e.string().optional()
2565
- }), pi = e.object({
2609
+ }), _i = e.object({
2566
2610
  to: e.string(),
2567
2611
  message: e.string()
2568
- }), mi = e.object({
2612
+ }), vi = e.object({
2569
2613
  name: e.string(),
2570
2614
  options: e.object({})
2571
- }), hi = e.object({
2615
+ }), yi = e.object({
2572
2616
  value: e.string(),
2573
2617
  description: e.string().optional()
2574
- }), gi = e.object({
2618
+ }), bi = e.object({
2575
2619
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2576
2620
  enforce_policies: e.boolean().optional(),
2577
2621
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2579,11 +2623,11 @@ var Ir = e.object({
2579
2623
  persist_client_authorization: e.boolean().optional(),
2580
2624
  enable_introspection_endpoint: e.boolean().optional(),
2581
2625
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
2582
- }), _i = e.object({
2626
+ }), xi = e.object({
2583
2627
  id: e.string().optional(),
2584
2628
  name: e.string(),
2585
2629
  identifier: e.string(),
2586
- scopes: e.array(hi).optional(),
2630
+ scopes: e.array(yi).optional(),
2587
2631
  signing_alg: e.string().optional(),
2588
2632
  signing_secret: e.string().optional(),
2589
2633
  token_lifetime: e.number().default(86400),
@@ -2591,37 +2635,38 @@ var Ir = e.object({
2591
2635
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2592
2636
  allow_offline_access: e.boolean().optional(),
2593
2637
  verificationKey: e.string().optional(),
2594
- options: gi.optional(),
2638
+ options: bi.optional(),
2595
2639
  is_system: e.boolean().optional(),
2640
+ ...i,
2596
2641
  metadata: e.record(e.string(), e.any()).optional()
2597
- }), vi = _i.extend({
2642
+ }), Si = xi.extend({
2598
2643
  created_at: e.string().optional(),
2599
2644
  updated_at: e.string().optional()
2600
- }), yi = e.array(vi), bi = e.object({
2645
+ }), Ci = e.array(Si), wi = e.object({
2601
2646
  role_id: e.string(),
2602
2647
  resource_server_identifier: e.string(),
2603
2648
  permission_name: e.string()
2604
- }), xi = bi.extend({ created_at: e.string() }), Si = e.array(xi), Ci = e.object({
2649
+ }), Ti = wi.extend({ created_at: e.string() }), Ei = e.array(Ti), Di = e.object({
2605
2650
  user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
2606
2651
  clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
2607
2652
  audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
2608
2653
  scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
2609
- }), wi = Ci.extend({ id: e.string() }), Ti = e.object({
2654
+ }), Oi = Di.extend({ id: e.string() }), ki = e.object({
2610
2655
  user_id: e.string(),
2611
2656
  last_login: e.string().optional(),
2612
2657
  last_ip: e.string().optional(),
2613
2658
  login_count: e.number().default(0),
2614
2659
  failed_logins: e.array(e.string()).optional(),
2615
2660
  last_password_reset: e.string().optional()
2616
- }), Ei = e.object({
2661
+ }), Ai = e.object({
2617
2662
  user_id: e.string(),
2618
2663
  resource_server_identifier: e.string(),
2619
2664
  permission_name: e.string(),
2620
2665
  organization_id: e.string().optional()
2621
- }), Di = Ei.extend({
2666
+ }), ji = Ai.extend({
2622
2667
  tenant_id: e.string(),
2623
2668
  created_at: e.string().optional()
2624
- }), Oi = e.array(Di), ki = e.object({
2669
+ }), Mi = e.array(ji), Ni = e.object({
2625
2670
  user_id: e.string(),
2626
2671
  resource_server_identifier: e.string(),
2627
2672
  resource_server_name: e.string(),
@@ -2629,65 +2674,65 @@ var Ir = e.object({
2629
2674
  description: e.string().nullable().optional(),
2630
2675
  created_at: e.string().optional(),
2631
2676
  organization_id: e.string().optional()
2632
- }), Ai = e.array(ki), ji = e.object({
2677
+ }), Pi = e.array(Ni), Fi = e.object({
2633
2678
  user_id: e.string(),
2634
2679
  role_id: e.string(),
2635
2680
  organization_id: e.string().optional()
2636
- }), Mi = ji.extend({
2681
+ }), Ii = Fi.extend({
2637
2682
  tenant_id: e.string(),
2638
2683
  created_at: e.string().optional()
2639
- }), Ni = e.array(Mi), Pi = e.object({
2684
+ }), Li = e.array(Ii), Ri = e.object({
2640
2685
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
2641
2686
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
2642
2687
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
2643
2688
  is_system: e.boolean().optional(),
2644
2689
  metadata: e.record(e.string(), e.any()).optional().openapi({ description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios." })
2645
- }), Fi = Pi.extend({
2690
+ }), zi = Ri.extend({
2646
2691
  id: e.string().openapi({ description: "The unique identifier of the role" }),
2647
2692
  created_at: e.string().optional(),
2648
2693
  updated_at: e.string().optional()
2649
- }), Ii = e.array(Fi), Li = e.object({
2694
+ }), Bi = e.array(zi), Vi = e.object({
2650
2695
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
2651
2696
  colors: e.object({
2652
2697
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
2653
2698
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
2654
2699
  }).optional()
2655
- }).optional(), Ri = e.object({
2700
+ }).optional(), Hi = e.object({
2656
2701
  connection_id: e.string().openapi({ description: "ID of the connection" }),
2657
2702
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
2658
2703
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
2659
2704
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
2660
- }), zi = e.object({ client_credentials: e.object({
2705
+ }), Ui = e.object({ client_credentials: e.object({
2661
2706
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
2662
2707
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
2663
2708
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
2664
- }).optional() }).optional(), Bi = e.object({
2709
+ }).optional() }).optional(), Wi = e.object({
2665
2710
  id: e.string().optional(),
2666
2711
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, { message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores" }).openapi({ description: "The name of the organization. Must be lowercase and can only contain letters, numbers, hyphens, and underscores." }),
2667
2712
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
2668
- branding: Li,
2713
+ branding: Vi,
2669
2714
  metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
2670
- enabled_connections: e.array(Ri).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2671
- token_quota: zi
2672
- }), Vi = Bi.extend(t.shape).extend({
2715
+ enabled_connections: e.array(Hi).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2716
+ token_quota: Ui
2717
+ }), Gi = Wi.extend(t.shape).extend({
2673
2718
  id: e.string(),
2674
2719
  name: e.string().min(1).openapi({ description: "The name of the organization" })
2675
- }), Hi = e.object({
2720
+ }), Ki = e.object({
2676
2721
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
2677
2722
  assign_membership_on_login: e.boolean().optional().default(!1),
2678
2723
  show_as_button: e.boolean().optional().default(!0),
2679
2724
  is_signup_enabled: e.boolean().optional().default(!0)
2680
- }), Ui = Hi.extend({
2725
+ }), qi = Ki.extend({
2681
2726
  connection: e.object({
2682
2727
  name: e.string().optional(),
2683
2728
  strategy: e.string().optional()
2684
2729
  }).optional(),
2685
2730
  created_at: e.string().optional(),
2686
2731
  updated_at: e.string().optional()
2687
- }), Wi = e.array(Ui), Gi = e.object({
2732
+ }), Ji = e.array(qi), Yi = e.object({
2688
2733
  user_id: e.string().openapi({ description: "ID of the user" }),
2689
2734
  organization_id: e.string().openapi({ description: "ID of the organization" })
2690
- }), Ki = Gi.extend(t.shape).extend({ id: e.string() }), qi = e.object({
2735
+ }), Xi = Yi.extend(t.shape).extend({ id: e.string() }), Zi = e.object({
2691
2736
  idle_session_lifetime: e.number().default(72),
2692
2737
  session_lifetime: e.number().default(168),
2693
2738
  session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
@@ -2766,7 +2811,7 @@ var Ir = e.object({
2766
2811
  }).optional(),
2767
2812
  phone_message: e.object({ message: e.string().optional() }).optional()
2768
2813
  }).optional()
2769
- }), Ji = e.object({
2814
+ }), Qi = e.object({
2770
2815
  date: e.string().openapi({
2771
2816
  description: "Date these events occurred in ISO 8601 format",
2772
2817
  example: "2025-12-19"
@@ -2791,10 +2836,10 @@ var Ir = e.object({
2791
2836
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2792
2837
  example: "2025-12-19T00:00:00.000Z"
2793
2838
  })
2794
- }), Yi = e.number().openapi({
2839
+ }), $i = e.number().openapi({
2795
2840
  description: "Number of active users in the last 30 days",
2796
2841
  example: 1234
2797
- }), Xi = e.enum([
2842
+ }), ea = e.enum([
2798
2843
  "active-users",
2799
2844
  "logins",
2800
2845
  "signups",
@@ -2806,81 +2851,81 @@ var Ir = e.object({
2806
2851
  "mfa",
2807
2852
  "email-verifications",
2808
2853
  "codes-sent"
2809
- ]), Zi = e.enum([
2854
+ ]), ta = e.enum([
2810
2855
  "hour",
2811
2856
  "day",
2812
2857
  "week",
2813
2858
  "month"
2814
- ]), Qi = e.enum([
2859
+ ]), na = e.enum([
2815
2860
  "time",
2816
2861
  "connection",
2817
2862
  "client_id",
2818
2863
  "user_type",
2819
2864
  "event"
2820
- ]), $i = e.enum([
2865
+ ]), ra = e.enum([
2821
2866
  "password",
2822
2867
  "social",
2823
2868
  "passwordless",
2824
2869
  "enterprise"
2825
- ]), ea = e.object({
2870
+ ]), ia = e.object({
2826
2871
  cohort: e.string(),
2827
2872
  sessions: e.number(),
2828
2873
  active: e.array(e.number())
2829
- }), ta = e.object({
2874
+ }), aa = e.object({
2830
2875
  interval: e.literal("week"),
2831
2876
  from: e.string(),
2832
2877
  to: e.string(),
2833
- cohorts: e.array(ea)
2834
- }), na = e.object({
2878
+ cohorts: e.array(ia)
2879
+ }), oa = e.object({
2835
2880
  cohort: e.string(),
2836
2881
  tokens: e.number(),
2837
2882
  active: e.array(e.number())
2838
- }), ra = e.object({
2883
+ }), sa = e.object({
2839
2884
  interval: e.literal("week"),
2840
2885
  from: e.string(),
2841
2886
  to: e.string(),
2842
- cohorts: e.array(na)
2843
- }), ia = e.object({
2887
+ cohorts: e.array(oa)
2888
+ }), ca = e.object({
2844
2889
  name: e.string(),
2845
2890
  type: e.string()
2846
- }), aa = e.object({
2891
+ }), la = e.object({
2847
2892
  elapsed: e.number(),
2848
2893
  rows_read: e.number().optional(),
2849
2894
  bytes_read: e.number().optional()
2850
- }), oa = e.object({
2851
- meta: e.array(ia),
2895
+ }), ua = e.object({
2896
+ meta: e.array(ca),
2852
2897
  data: e.array(e.record(e.string(), e.any())),
2853
2898
  rows: e.number(),
2854
2899
  rows_before_limit_at_least: e.number().optional(),
2855
- statistics: aa.optional()
2856
- }), sa = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), ca = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2900
+ statistics: la.optional()
2901
+ }), da = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), fa = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2857
2902
  type: "object",
2858
2903
  additionalProperties: {
2859
2904
  type: "object",
2860
2905
  additionalProperties: { type: "string" }
2861
2906
  }
2862
- }), la = e.object({
2863
- prompt: sa,
2907
+ }), pa = e.object({
2908
+ prompt: da,
2864
2909
  language: e.string(),
2865
- custom_text: ca
2866
- }), ua = [
2910
+ custom_text: fa
2911
+ }), ma = [
2867
2912
  "form-content-start",
2868
2913
  "form-content-end",
2869
2914
  "form-footer-start",
2870
2915
  "form-footer-end",
2871
2916
  "secondary-actions-start",
2872
2917
  "secondary-actions-end"
2873
- ], da = e.object({
2918
+ ], ha = e.object({
2874
2919
  "form-content-start": e.string().optional(),
2875
2920
  "form-content-end": e.string().optional(),
2876
2921
  "form-footer-start": e.string().optional(),
2877
2922
  "form-footer-end": e.string().optional(),
2878
2923
  "secondary-actions-start": e.string().optional(),
2879
2924
  "secondary-actions-end": e.string().optional()
2880
- }).strict(), fa = e.record(e.string(), da), pa = e.object({
2925
+ }).strict(), ga = e.record(e.string(), ha), _a = e.object({
2881
2926
  prompt: e.string(),
2882
- partials: fa
2883
- }), ma = {
2927
+ partials: ga
2928
+ }), va = {
2884
2929
  EMAIL: "email",
2885
2930
  SMS: "sms",
2886
2931
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2896,17 +2941,17 @@ var Ir = e.object({
2896
2941
  WAAD: "waad",
2897
2942
  ADFS: "adfs",
2898
2943
  OKTA: "okta"
2899
- }, ha = {
2944
+ }, ya = {
2900
2945
  DATABASE: "database",
2901
2946
  SOCIAL: "social",
2902
2947
  PASSWORDLESS: "passwordless"
2903
- }, ga = "auth0";
2904
- function _a(e) {
2905
- return e === "auth0" || e === ma.USERNAME_PASSWORD || e === "auth2";
2948
+ }, ba = "auth0";
2949
+ function xa(e) {
2950
+ return e === "auth0" || e === va.USERNAME_PASSWORD || e === "auth2";
2906
2951
  }
2907
2952
  //#endregion
2908
2953
  //#region src/types/AuthenticationMethod.ts
2909
- var va = e.enum([
2954
+ var Sa = e.enum([
2910
2955
  "phone",
2911
2956
  "totp",
2912
2957
  "email",
@@ -2914,9 +2959,9 @@ var va = e.enum([
2914
2959
  "webauthn-roaming",
2915
2960
  "webauthn-platform",
2916
2961
  "passkey"
2917
- ]), ya = e.object({
2962
+ ]), Ca = e.object({
2918
2963
  user_id: e.string(),
2919
- type: va,
2964
+ type: Sa,
2920
2965
  phone_number: e.string().optional(),
2921
2966
  totp_secret: e.string().optional(),
2922
2967
  credential_id: e.string().optional(),
@@ -2927,7 +2972,7 @@ var va = e.enum([
2927
2972
  friendly_name: e.string().optional(),
2928
2973
  confirmed: e.boolean().default(!1)
2929
2974
  });
2930
- function ba(t, n) {
2975
+ function wa(t, n) {
2931
2976
  t.type === "phone" && !t.phone_number && n.addIssue({
2932
2977
  code: e.ZodIssueCode.custom,
2933
2978
  message: "phone_number is required when type is 'phone'",
@@ -2950,15 +2995,15 @@ function ba(t, n) {
2950
2995
  path: ["public_key"]
2951
2996
  }));
2952
2997
  }
2953
- var xa = ya.superRefine(ba), Sa = ya.extend({
2998
+ var Ta = Ca.superRefine(wa), Ea = Ca.extend({
2954
2999
  id: e.string(),
2955
3000
  created_at: e.string(),
2956
3001
  updated_at: e.string()
2957
- }).superRefine(ba), Ca = e.object({
3002
+ }).superRefine(wa), Da = e.object({
2958
3003
  id: e.string().optional(),
2959
3004
  created_at: e.string().datetime({ offset: !0 }).optional(),
2960
3005
  updated_at: e.string().datetime({ offset: !0 }).optional()
2961
- }), wa = {
3006
+ }), Oa = {
2962
3007
  "post-user-login": {
2963
3008
  accessToken: ["setCustomClaim"],
2964
3009
  idToken: ["setCustomClaim"],
@@ -2986,7 +3031,7 @@ var xa = ya.superRefine(ba), Sa = ya.extend({
2986
3031
  authentication: ["setUserById", "setUserByConnection"],
2987
3032
  access: ["deny", "rejectInvalidSubjectToken"]
2988
3033
  }
2989
- }, Ta = {
3034
+ }, ka = {
2990
3035
  "post-user-login": "onExecutePostLogin",
2991
3036
  "credentials-exchange": "onExecuteCredentialsExchange",
2992
3037
  "pre-user-registration": "onExecutePreUserRegistration",
@@ -2995,7 +3040,7 @@ var xa = ya.superRefine(ba), Sa = ya.extend({
2995
3040
  };
2996
3041
  //#endregion
2997
3042
  //#region src/utils/user-id.ts
2998
- function Ea(e) {
3043
+ function Aa(e) {
2999
3044
  let t = e.indexOf("|"), n = e.slice(0, t), r = e.slice(t + 1);
3000
3045
  if (t === -1 || !n || !r) throw Error(`Invalid user_id: ${e}`);
3001
3046
  return {
@@ -3005,10 +3050,10 @@ function Ea(e) {
3005
3050
  }
3006
3051
  //#endregion
3007
3052
  //#region src/utils/http.ts
3008
- var Da = "x-authhero-preserve-location";
3053
+ var ja = "x-authhero-preserve-location";
3009
3054
  //#endregion
3010
3055
  //#region src/utils/passthrough.ts
3011
- function Oa(e) {
3056
+ function Ma(e) {
3012
3057
  let { primary: t, secondaries: n, syncMethods: r = [
3013
3058
  "create",
3014
3059
  "rawCreate",
@@ -3042,12 +3087,12 @@ function Oa(e) {
3042
3087
  } : i.bind(e) : i;
3043
3088
  } });
3044
3089
  }
3045
- function ka(e) {
3090
+ function Na(e) {
3046
3091
  return e;
3047
3092
  }
3048
3093
  //#endregion
3049
3094
  //#region src/utils/connection-attributes.ts
3050
- function Aa(e) {
3095
+ function Pa(e) {
3051
3096
  let t = e?.options;
3052
3097
  if (!t) return {
3053
3098
  usernameIdentifierActive: !1,
@@ -3070,35 +3115,35 @@ function Aa(e) {
3070
3115
  }
3071
3116
  //#endregion
3072
3117
  //#region src/utils/guards.ts
3073
- function ja(e) {
3118
+ function Fa(e) {
3074
3119
  return typeof e == "object" && !!e && !Array.isArray(e);
3075
3120
  }
3076
3121
  //#endregion
3077
3122
  //#region src/utils/base64url.ts
3078
- function Ma(e) {
3123
+ function Ia(e) {
3079
3124
  let t = "";
3080
3125
  for (let n of e) t += String.fromCharCode(n);
3081
3126
  return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
3082
3127
  }
3083
- function Na(e) {
3128
+ function La(e) {
3084
3129
  let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
3085
3130
  for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
3086
3131
  return r;
3087
3132
  }
3088
- function Pa(e) {
3089
- return Ma(new TextEncoder().encode(e));
3133
+ function Ra(e) {
3134
+ return Ia(new TextEncoder().encode(e));
3090
3135
  }
3091
- function Fa(e) {
3092
- return new TextDecoder().decode(Na(e));
3136
+ function za(e) {
3137
+ return new TextDecoder().decode(La(e));
3093
3138
  }
3094
3139
  //#endregion
3095
3140
  //#region src/utils/base64.ts
3096
- function Ia(e) {
3141
+ function Ba(e) {
3097
3142
  let t = "";
3098
3143
  for (let n of e) t += String.fromCharCode(n);
3099
3144
  return btoa(t);
3100
3145
  }
3101
- function La(e) {
3146
+ function Va(e) {
3102
3147
  let t = atob(e), n = new Uint8Array(t.length);
3103
3148
  for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
3104
3149
  return n;
@@ -3106,12 +3151,12 @@ function La(e) {
3106
3151
  //#endregion
3107
3152
  //#region src/utils/base32.ts
3108
3153
  var X = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
3109
- function Ra(e) {
3154
+ function Ha(e) {
3110
3155
  let t = "", n = 0, r = 0;
3111
3156
  for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += X[n >> r & 31];
3112
3157
  return r > 0 && (t += X[n << 5 - r & 31]), t;
3113
3158
  }
3114
- function za(e) {
3159
+ function Ua(e) {
3115
3160
  let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
3116
3161
  if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
3117
3162
  let r = [], i = 0, a = 0;
@@ -3125,19 +3170,19 @@ function za(e) {
3125
3170
  }
3126
3171
  //#endregion
3127
3172
  //#region src/utils/hex.ts
3128
- function Ba(e) {
3173
+ function Wa(e) {
3129
3174
  let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
3130
3175
  for (let e of t) n += e.toString(16).padStart(2, "0");
3131
3176
  return n;
3132
3177
  }
3133
3178
  //#endregion
3134
3179
  //#region src/utils/cursor.ts
3135
- function Va(e) {
3136
- return Pa(JSON.stringify(e));
3180
+ function Ga(e) {
3181
+ return Ra(JSON.stringify(e));
3137
3182
  }
3138
- function Ha(e) {
3183
+ function Ka(e) {
3139
3184
  try {
3140
- let t = JSON.parse(Fa(e));
3185
+ let t = JSON.parse(za(e));
3141
3186
  return t && typeof t == "object" && typeof t.i == "string" ? t : null;
3142
3187
  } catch {
3143
3188
  return null;
@@ -3145,7 +3190,7 @@ function Ha(e) {
3145
3190
  }
3146
3191
  //#endregion
3147
3192
  //#region src/utils/lucene.ts
3148
- function Ua(e) {
3193
+ function qa(e) {
3149
3194
  let t = [], n = "", r = !1;
3150
3195
  for (let i = 0; i < e.length; i++) {
3151
3196
  let a = e[i];
@@ -3153,53 +3198,53 @@ function Ua(e) {
3153
3198
  }
3154
3199
  return n.trim() && t.push(n.trim()), t;
3155
3200
  }
3156
- function Wa(e) {
3201
+ function Ja(e) {
3157
3202
  return e.replace(/\\([\\"+\-!(){}[\]^~*?:/&|])/g, "$1");
3158
3203
  }
3159
- function Ga(e) {
3204
+ function Ya(e) {
3160
3205
  return `"${e.replace(/([\\"])/g, "\\$1")}"`;
3161
3206
  }
3162
- function Ka(e) {
3207
+ function Xa(e) {
3163
3208
  let t = e.trim();
3164
- return Wa(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
3209
+ return Ja(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
3165
3210
  }
3166
- function qa(e) {
3211
+ function Za(e) {
3167
3212
  let t = [], n = [];
3168
- for (let r of Ua(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
3213
+ for (let r of qa(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
3169
3214
  return t.push(n), t.filter((e) => e.length > 0);
3170
3215
  }
3171
- function Ja(e, t) {
3216
+ function Qa(e, t) {
3172
3217
  let n = new Set(t), r = (e) => {
3173
3218
  let t = e.replace(/^([^:]+)=/, "$1:"), r = t.startsWith("-") ? t.slice(1) : t;
3174
3219
  if (r.startsWith("_exists_:")) return n.has(r.slice(9));
3175
3220
  let i = r.indexOf(":");
3176
3221
  return i > 0 ? n.has(r.slice(0, i)) : !0;
3177
3222
  };
3178
- return qa(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
3223
+ return Za(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
3179
3224
  }
3180
- var Ya = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
3181
- function Xa(e) {
3182
- return Ya.test(e);
3225
+ var $a = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
3226
+ function eo(e) {
3227
+ return $a.test(e);
3183
3228
  }
3184
3229
  //#endregion
3185
3230
  //#region src/utils/session-retention.ts
3186
3231
  var Z = 10080 * 60 * 1e3, Q = 4320 * 60 * 1e3;
3187
- function Za(e) {
3232
+ function to(e) {
3188
3233
  return Math.floor((e + Q) / Z);
3189
3234
  }
3190
3235
  function $(e) {
3191
3236
  return e * Z - Q;
3192
3237
  }
3193
- function Qa(e, t = Date.now()) {
3194
- let n = Za(t), r = n - e + 1;
3238
+ function no(e, t = Date.now()) {
3239
+ let n = to(t), r = n - e + 1;
3195
3240
  return {
3196
3241
  currentWeek: n,
3197
3242
  firstWeek: r,
3198
3243
  sinceMs: $(r)
3199
3244
  };
3200
3245
  }
3201
- function $a(e, t, n = Date.now()) {
3202
- let { currentWeek: r, firstWeek: i, sinceMs: a } = Qa(t, n), o = /* @__PURE__ */ new Map();
3246
+ function ro(e, t, n = Date.now()) {
3247
+ let { currentWeek: r, firstWeek: i, sinceMs: a } = no(t, n), o = /* @__PURE__ */ new Map();
3203
3248
  for (let t of e) {
3204
3249
  if (t.created_week < i || t.created_week > r) continue;
3205
3250
  let e = Math.min(Math.max(0, t.used_week - t.created_week), r - t.created_week), n = o.get(t.created_week);
@@ -3222,8 +3267,8 @@ function $a(e, t, n = Date.now()) {
3222
3267
  cohorts: s
3223
3268
  };
3224
3269
  }
3225
- function eo(e, t, n = Date.now()) {
3226
- let r = $a(e, t, n);
3270
+ function io(e, t, n = Date.now()) {
3271
+ let r = ro(e, t, n);
3227
3272
  return {
3228
3273
  interval: r.interval,
3229
3274
  from: r.from,
@@ -3237,16 +3282,16 @@ function eo(e, t, n = Date.now()) {
3237
3282
  }
3238
3283
  //#endregion
3239
3284
  //#region src/utils/username-validation.ts
3240
- var to = /^[A-Za-z0-9_+\-.!#$'^`~]+$/, no = "Username can only contain alphanumeric characters and the following characters: '_', '+', '-', '.', '!', '#', '$', \"'\", '^', '`', '~'", ro = "Usernames must not contain \"@\". Use the email field for email addresses.";
3241
- function io(e) {
3242
- return to.test(e);
3285
+ var ao = /^[A-Za-z0-9_+\-.!#$'^`~]+$/, oo = "Username can only contain alphanumeric characters and the following characters: '_', '+', '-', '.', '!', '#', '$', \"'\", '^', '`', '~'", so = "Usernames must not contain \"@\". Use the email field for email addresses.";
3286
+ function co(e) {
3287
+ return ao.test(e);
3243
3288
  }
3244
- function ao(e) {
3289
+ function lo(e) {
3245
3290
  return e.toLowerCase();
3246
3291
  }
3247
- function oo(e, t) {
3248
- if (e.includes("@")) return ro;
3249
- if (!io(e)) return no;
3292
+ function uo(e, t) {
3293
+ if (e.includes("@")) return so;
3294
+ if (!co(e)) return oo;
3250
3295
  if (t) {
3251
3296
  let n = [...e].length;
3252
3297
  if (n < t.min) return `Username must be at least ${t.min} characters`;
@@ -3256,15 +3301,15 @@ function oo(e, t) {
3256
3301
  }
3257
3302
  //#endregion
3258
3303
  //#region src/utils/feature-not-supported.ts
3259
- var so = class extends Error {
3304
+ var fo = class extends Error {
3260
3305
  feature;
3261
3306
  adapter;
3262
3307
  constructor(e, t, n) {
3263
3308
  super(`${e} is not supported by the ${t} adapter.` + (n ? ` ${n}` : "")), this.name = "FeatureNotSupportedError", this.feature = e, this.adapter = t;
3264
3309
  }
3265
3310
  };
3266
- function co(e) {
3311
+ function po(e) {
3267
3312
  return e instanceof Error && e.name === "FeatureNotSupportedError";
3268
3313
  }
3269
3314
  //#endregion
3270
- export { be as Auth0ActionEnum, Gn as Auth0Client, T as AuthorizationResponseMode, w as AuthorizationResponseType, nt as CodeChallengeMethod, S as ComponentCategory, x as ComponentType, ga as DATABASE_CONNECTION_STRATEGY, xe as EmailActionEnum, Xt as FORM_FIELD_TYPES, so as FeatureNotSupportedError, ye as FlowActionTypeEnum, Pr as GrantType, vr as KNOWN_TENANT_OPERATION_ENGINES, Kn as LocationInfo, U as LogTypes, In as LoginSessionState, Q as MONDAY_EPOCH_SHIFT_MS, Ke as NodeType, Da as PRESERVE_LOCATION_HEADER, Yr as RESERVED_SUBJECT_TOKEN_TYPE_PREFIXES, Te as RedirectTargetEnum, ma as Strategy, ha as StrategyType, Tr as TERMINAL_TENANT_OPERATION_ROW_STATUSES, Jr as TOKEN_EXCHANGE_PROFILE_TYPE, wa as TRIGGER_API_SHAPES, Ta as TRIGGER_FUNCTION_NAMES, ro as USERNAME_CONTAINS_AT_MESSAGE, no as USERNAME_INVALID_CHARACTERS_MESSAGE, Z as WEEK_MS, r as actionDependencySchema, ne as actionExecutionErrorSchema, se as actionExecutionInsertSchema, ie as actionExecutionLogEntrySchema, ae as actionExecutionLogsSchema, re as actionExecutionResultSchema, oe as actionExecutionSchema, l as actionExecutionStatusSchema, c as actionExecutionTriggerIdSchema, a as actionInsertSchema, Ye as actionNodeSchema, te as actionResponseSchema, s as actionSchema, ee as actionSecretNameSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, ce as actionVersionInsertSchema, le as actionVersionSchema, Yi as activeUsersResponseSchema, de as actorSchema, d as addressSchema, pn as allowedTriggersForHook, ia as analyticsColumnMetaSchema, Qi as analyticsGroupBySchema, Zi as analyticsIntervalSchema, oa as analyticsQueryResponseSchema, Xi as analyticsResourceSchema, aa as analyticsStatisticsSchema, $i as analyticsUserTypeSchema, or as attackProtectionSchema, ue as auditCategorySchema, _e as auditEventInsertSchema, ve as auditEventSchema, ge as auth0ClientSchema, tt as auth0FlowInsertSchema, et as auth0FlowSchema, Ae as auth0QuerySchema, Ce as auth0UpdateUserActionSchema, Ne as auth0UserResponseSchema, at as authParamsSchema, xa as authenticationMethodInsertSchema, Sa as authenticationMethodSchema, va as authenticationMethodTypeSchema, f as baseUserSchema, qt as blockComponentSchema, Ir as bordersSchema, ot as brandingSchema, rr as breachedPasswordDetectionSchema, ir as bruteForceProtectionSchema, eo as buildRefreshTokenRetention, $a as buildSessionRetention, Ve as buttonComponentSchema, it as claimsRequestSchema, g as clientGrantInsertSchema, Re as clientGrantListSchema, _ as clientGrantSchema, h as clientInsertSchema, y as clientRegistrationTokenInsertSchema, ze as clientRegistrationTokenSchema, v as clientRegistrationTokenTypeSchema, Le as clientSchema, ct as codeInsertSchema, lt as codeSchema, st as codeTypeSchema, Lr as colorsSchema, an as componentMessageSchema, Ge as componentSchema, dt as connectionInsertSchema, ut as connectionOptionsSchema, ft as connectionSchema, b as coordinatesSchema, Oa as createPassthroughAdapter, ka as createWriteOnlyAdapter, _t as customDomainCertificateUploadSchema, D as customDomainInsertSchema, mt as customDomainSchema, ht as customDomainUpdateSchema, gt as customDomainWithTenantIdSchema, la as customTextEntrySchema, ca as customTextSchema, Ji as dailyStatsSchema, za as decodeBase32, La as decodeBase64, Na as decodeBase64Url, Fa as decodeBase64UrlString, Ha as decodeCursor, ci as emailProviderSchema, li as emailTemplateNameSchema, ui as emailTemplateSchema, Se as emailVerificationRulesSchema, we as emailVerifyActionSchema, Ra as encodeBase32, Ia as encodeBase64, Ma as encodeBase64Url, Pa as encodeBase64UrlString, Va as encodeCursor, Ba as encodeHex, $e as endingSchema, Ga as escapeLuceneValue, Yt as fieldComponentSchema, De as flowActionStepSchema, Oe as flowInsertSchema, ke as flowSchema, Ue as flowsFieldComponentSchema, Je as flowsFlowNodeSchema, qe as flowsStepNodeSchema, K as fontDetailsSchema, Rr as fontsSchema, Zt as formControlSchema, nn as formInsertSchema, M as formNodeComponentDefinition, tn as formNodeSchema, rn as formSchema, We as genericComponentSchema, Xe as genericNodeSchema, Aa as getConnectionIdentifierConfig, Wn as getLogTypeCategory, Un as getLogTypeDescription, Ci as grantInsertSchema, wi as grantSchema, Gr as handlerConfigSchema, Dn as hookCodeInsertSchema, On as hookCodeSchema, bn as hookInsertSchema, z as hookPageId, En as hookSchema, B as hookTemplateId, mn as hookTemplates, Me as identitySchema, Ca as importMetadataSchema, jn as inviteInsertSchema, Mn as inviteSchema, An as inviteeSchema, kn as inviterSchema, ln as isBlockComponent, _a as isDatabaseConnectionStrategy, Xa as isEmailSearchTerm, co as isFeatureNotSupportedError, dn as isFieldComponent, ja as isPlainObject, un as isWidgetComponent, Pn as jwksKeySchema, Nn as jwksSchema, He as legalComponentSchema, he as locationInfoSchema, qn as logInsertSchema, Jn as logSchema, Xn as logStreamFilterSchema, Zn as logStreamInsertSchema, Qn as logStreamSchema, W as logStreamStatusSchema, Yn as logStreamTypeSchema, Hn as logTypeCategories, Vn as logTypeDescriptions, H as loginSessionAuthStrategySchema, Rn as loginSessionInsertSchema, zn as loginSessionSchema, Ln as loginSessionStateSchema, Wr as matchSchema, $n as migrationProviderTypeSchema, er as migrationSourceCredentialsSchema, tr as migrationSourceInsertSchema, nr as migrationSourceSchema, Ze as nodeSchema, ao as normalizeUsername, Fn as openIDConfigurationSchema, Li as organizationBrandingSchema, Hi as organizationConnectionInsertSchema, Wi as organizationConnectionListSchema, Ui as organizationConnectionSchema, Ri as organizationEnabledConnectionSchema, Bi as organizationInsertSchema, Vi as organizationSchema, zi as organizationTokenQuotaSchema, zr as pageBackgroundSchema, Ea as parseUserId, sr as passwordInsertSchema, cr as passwordSchema, u as profileDataSchema, ua as promptPartialInsertionPoints, pa as promptPartialsEntrySchema, fa as promptPartialsSchema, sa as promptScreenSchema, Ur as promptSettingSchema, q as proxyRouteInsertSchema, Kr as proxyRouteSchema, qr as proxyRouteUpdateSchema, Ee as redirectActionSchema, di as refreshTokenInsertSchema, na as refreshTokenRetentionCohortSchema, ra as refreshTokenRetentionResponseSchema, fi as refreshTokenSchema, pe as requestContextSchema, _i as resourceServerInsertSchema, yi as resourceServerListSchema, gi as resourceServerOptionsSchema, vi as resourceServerSchema, hi as resourceServerScopeSchema, me as responseContextSchema, Be as richTextComponentSchema, Pi as roleInsertSchema, Ii as roleListSchema, bi as rolePermissionInsertSchema, Si as rolePermissionListSchema, xi as rolePermissionSchema, Fi as roleSchema, jr as rolloutInsertSchema, kr as rolloutKindSchema, Mr as rolloutSchema, Ar as rolloutStatusSchema, Nr as rolloutUpdateSchema, Ja as sanitizeLuceneQuery, ni as scimConfigurationInsertSchema, ri as scimConfigurationSchema, oi as scimExternalIdInsertSchema, si as scimExternalIdSchema, ti as scimMappingEntrySchema, ii as scimTokenInsertSchema, ai as scimTokenSchema, on as screenLinkSchema, ur as sessionInsertSchema, ea as sessionRetentionCohortSchema, ta as sessionRetentionResponseSchema, Qa as sessionRetentionWindow, dr as sessionSchema, fr as signingKeySchema, mi as smsProviderSchema, pi as smsSendParamsSchema, qa as splitLuceneOrGroups, Qe as startSchema, J as subjectTokenTypeSchema, ar as suspiciousIpThrottlingSchema, fe as targetSchema, pr as tenantInsertSchema, _r as tenantOperationEngineSchema, Cr as tenantOperationEventInsertSchema, Sr as tenantOperationEventOutcomeSchema, wr as tenantOperationEventSchema, yr as tenantOperationInsertSchema, hr as tenantOperationKindSchema, Er as tenantOperationRowInsertSchema, Or as tenantOperationRowOutcomeSchema, Dr as tenantOperationRowSchema, G as tenantOperationRowStatusSchema, br as tenantOperationSchema, gr as tenantOperationStatusSchema, xr as tenantOperationUpdateSchema, mr as tenantSchema, qi as tenantSettingsSchema, Vr as themeInsertSchema, Hr as themeSchema, Xr as tokenExchangeJwtAlgorithmSchema, Y as tokenExchangeJwtVerificationSchema, Qr as tokenExchangeProfileInsertSchema, $r as tokenExchangeProfileSchema, ei as tokenExchangeProfileUpdateSchema, Zr as tokenExchangeUserMappingSchema, Fr as tokenResponseSchema, Ua as tokenizeLuceneQuery, je as totalsSchema, sn as uiScreenPartialsSchema, cn as uiScreenSchema, Wa as unescapeLuceneValue, Ka as unquoteLuceneValue, Ti as userActivitySchema, p as userInsertSchema, Gi as userOrganizationInsertSchema, Ki as userOrganizationSchema, Ei as userPermissionInsertSchema, Oi as userPermissionListSchema, Di as userPermissionSchema, Ai as userPermissionWithDetailsListSchema, ki as userPermissionWithDetailsSchema, Pe as userResponseSchema, ji as userRoleInsertSchema, Ni as userRoleListSchema, Mi as userRoleSchema, m as userSchema, io as usernameHasOnlyAllowedCharacters, oo as validateUsername, pt as verificationMethodsSchema, Za as weekIndex, $ as weekStartMs, Jt as widgetComponentSchema, Br as widgetSchema };
3315
+ export { we as Auth0ActionEnum, Yn as Auth0Client, T as AuthorizationResponseMode, w as AuthorizationResponseType, ot as CodeChallengeMethod, Ue as ComponentCategory, He as ComponentType, ba as DATABASE_CONNECTION_STRATEGY, Te as EmailActionEnum, en as FORM_FIELD_TYPES, fo as FeatureNotSupportedError, Ce as FlowActionTypeEnum, Rr as GrantType, Sr as KNOWN_TENANT_OPERATION_ENGINES, Xn as LocationInfo, U as LogTypes, Bn as LoginSessionState, Q as MONDAY_EPOCH_SHIFT_MS, Xe as NodeType, ja as PRESERVE_LOCATION_HEADER, $r as RESERVED_SUBJECT_TOKEN_TYPE_PREFIXES, ke as RedirectTargetEnum, va as Strategy, ya as StrategyType, kr as TERMINAL_TENANT_OPERATION_ROW_STATUSES, Qr as TOKEN_EXCHANGE_PROFILE_TYPE, Oa as TRIGGER_API_SHAPES, ka as TRIGGER_FUNCTION_NAMES, so as USERNAME_CONTAINS_AT_MESSAGE, oo as USERNAME_INVALID_CHARACTERS_MESSAGE, Z as WEEK_MS, o as actionDependencySchema, ae as actionExecutionErrorSchema, ue as actionExecutionInsertSchema, se as actionExecutionLogEntrySchema, ce as actionExecutionLogsSchema, oe as actionExecutionResultSchema, le as actionExecutionSchema, ie as actionExecutionStatusSchema, re as actionExecutionTriggerIdSchema, c as actionInsertSchema, $e as actionNodeSchema, ne as actionResponseSchema, l as actionSchema, te as actionSecretNameSchema, s as actionSecretSchema, a as actionTriggerSchema, ee as actionUpdateSchema, de as actionVersionInsertSchema, fe as actionVersionSchema, $i as activeUsersResponseSchema, me as actorSchema, p as addressSchema, _n as allowedTriggersForHook, ca as analyticsColumnMetaSchema, na as analyticsGroupBySchema, ta as analyticsIntervalSchema, ua as analyticsQueryResponseSchema, ea as analyticsResourceSchema, la as analyticsStatisticsSchema, ra as analyticsUserTypeSchema, ur as attackProtectionSchema, pe as auditCategorySchema, xe as auditEventInsertSchema, Se as auditEventSchema, be as auth0ClientSchema, at as auth0FlowInsertSchema, it as auth0FlowSchema, Ne as auth0QuerySchema, De as auth0UpdateUserActionSchema, Fe as auth0UserResponseSchema, lt as authParamsSchema, Ta as authenticationMethodInsertSchema, Ea as authenticationMethodSchema, Sa as authenticationMethodTypeSchema, m as baseUserSchema, Zt as blockComponentSchema, Br as bordersSchema, ut as brandingSchema, sr as breachedPasswordDetectionSchema, cr as bruteForceProtectionSchema, io as buildRefreshTokenRetention, ro as buildSessionRetention, Ge as buttonComponentSchema, ct as claimsRequestSchema, v as clientGrantInsertSchema, Be as clientGrantListSchema, y as clientGrantSchema, _ as clientInsertSchema, x as clientRegistrationTokenInsertSchema, Ve as clientRegistrationTokenSchema, b as clientRegistrationTokenTypeSchema, ze as clientSchema, ft as codeInsertSchema, pt as codeSchema, dt as codeTypeSchema, Vr as colorsSchema, ln as componentMessageSchema, Ye as componentSchema, i as configInheritanceShape, r as configOverrideSchema, n as configScopeSchema, ht as connectionInsertSchema, mt as connectionOptionsSchema, gt as connectionSchema, S as coordinatesSchema, Ma as createPassthroughAdapter, Na as createWriteOnlyAdapter, xt as customDomainCertificateUploadSchema, D as customDomainInsertSchema, vt as customDomainSchema, yt as customDomainUpdateSchema, bt as customDomainWithTenantIdSchema, pa as customTextEntrySchema, fa as customTextSchema, Qi as dailyStatsSchema, Ua as decodeBase32, Va as decodeBase64, La as decodeBase64Url, za as decodeBase64UrlString, Ka as decodeCursor, fi as emailProviderSchema, pi as emailTemplateNameSchema, mi as emailTemplateSchema, Ee as emailVerificationRulesSchema, Oe as emailVerifyActionSchema, Ha as encodeBase32, Ba as encodeBase64, Ia as encodeBase64Url, Ra as encodeBase64UrlString, Ga as encodeCursor, Wa as encodeHex, rt as endingSchema, Ya as escapeLuceneValue, $t as fieldComponentSchema, je as flowActionStepSchema, u as flowInsertSchema, Me as flowSchema, qe as flowsFieldComponentSchema, Qe as flowsFlowNodeSchema, Ze as flowsStepNodeSchema, K as fontDetailsSchema, Hr as fontsSchema, tn as formControlSchema, sn as formInsertSchema, M as formNodeComponentDefinition, on as formNodeSchema, cn as formSchema, Je as genericComponentSchema, et as genericNodeSchema, Pa as getConnectionIdentifierConfig, Jn as getLogTypeCategory, qn as getLogTypeDescription, Di as grantInsertSchema, Oi as grantSchema, Yr as handlerConfigSchema, jn as hookCodeInsertSchema, Mn as hookCodeSchema, wn as hookInsertSchema, z as hookPageId, An as hookSchema, B as hookTemplateId, vn as hookTemplates, f as identitySchema, Da as importMetadataSchema, Fn as inviteInsertSchema, In as inviteSchema, Pn as inviteeSchema, Nn as inviterSchema, pn as isBlockComponent, xa as isDatabaseConnectionStrategy, eo as isEmailSearchTerm, po as isFeatureNotSupportedError, hn as isFieldComponent, Fa as isPlainObject, mn as isWidgetComponent, Rn as jwksKeySchema, Ln as jwksSchema, Ke as legalComponentSchema, ye as locationInfoSchema, Zn as logInsertSchema, Qn as logSchema, er as logStreamFilterSchema, tr as logStreamInsertSchema, nr as logStreamSchema, W as logStreamStatusSchema, $n as logStreamTypeSchema, Kn as logTypeCategories, Gn as logTypeDescriptions, H as loginSessionAuthStrategySchema, Hn as loginSessionInsertSchema, Un as loginSessionSchema, Vn as loginSessionStateSchema, Jr as matchSchema, rr as migrationProviderTypeSchema, ir as migrationSourceCredentialsSchema, ar as migrationSourceInsertSchema, or as migrationSourceSchema, tt as nodeSchema, lo as normalizeUsername, zn as openIDConfigurationSchema, Vi as organizationBrandingSchema, Ki as organizationConnectionInsertSchema, Ji as organizationConnectionListSchema, qi as organizationConnectionSchema, Hi as organizationEnabledConnectionSchema, Wi as organizationInsertSchema, Gi as organizationSchema, Ui as organizationTokenQuotaSchema, Ur as pageBackgroundSchema, Aa as parseUserId, dr as passwordInsertSchema, fr as passwordSchema, d as profileDataSchema, ma as promptPartialInsertionPoints, _a as promptPartialsEntrySchema, ga as promptPartialsSchema, da as promptScreenSchema, qr as promptSettingSchema, q as proxyRouteInsertSchema, Xr as proxyRouteSchema, Zr as proxyRouteUpdateSchema, Ae as redirectActionSchema, hi as refreshTokenInsertSchema, oa as refreshTokenRetentionCohortSchema, sa as refreshTokenRetentionResponseSchema, gi as refreshTokenSchema, ge as requestAuthSchema, _e as requestContextSchema, xi as resourceServerInsertSchema, Ci as resourceServerListSchema, bi as resourceServerOptionsSchema, Si as resourceServerSchema, yi as resourceServerScopeSchema, ve as responseContextSchema, We as richTextComponentSchema, Ri as roleInsertSchema, Bi as roleListSchema, wi as rolePermissionInsertSchema, Ei as rolePermissionListSchema, Ti as rolePermissionSchema, zi as roleSchema, Fr as rolloutInsertSchema, Nr as rolloutKindSchema, Ir as rolloutSchema, Pr as rolloutStatusSchema, Lr as rolloutUpdateSchema, Qa as sanitizeLuceneQuery, oi as scimConfigurationInsertSchema, si as scimConfigurationSchema, ui as scimExternalIdInsertSchema, di as scimExternalIdSchema, ai as scimMappingEntrySchema, ci as scimTokenInsertSchema, li as scimTokenSchema, un as screenLinkSchema, mr as sessionInsertSchema, ia as sessionRetentionCohortSchema, aa as sessionRetentionResponseSchema, no as sessionRetentionWindow, hr as sessionSchema, gr as signingKeySchema, vi as smsProviderSchema, _i as smsSendParamsSchema, Za as splitLuceneOrGroups, nt as startSchema, J as subjectTokenTypeSchema, lr as suspiciousIpThrottlingSchema, he as targetSchema, _r as tenantInsertSchema, xr as tenantOperationEngineSchema, Dr as tenantOperationEventInsertSchema, Er as tenantOperationEventOutcomeSchema, Or as tenantOperationEventSchema, Cr as tenantOperationInsertSchema, yr as tenantOperationKindSchema, Ar as tenantOperationRowInsertSchema, Mr as tenantOperationRowOutcomeSchema, jr as tenantOperationRowSchema, G as tenantOperationRowStatusSchema, wr as tenantOperationSchema, br as tenantOperationStatusSchema, Tr as tenantOperationUpdateSchema, vr as tenantSchema, Zi as tenantSettingsSchema, Gr as themeInsertSchema, Kr as themeSchema, ei as tokenExchangeJwtAlgorithmSchema, Y as tokenExchangeJwtVerificationSchema, ni as tokenExchangeProfileInsertSchema, ri as tokenExchangeProfileSchema, ii as tokenExchangeProfileUpdateSchema, ti as tokenExchangeUserMappingSchema, zr as tokenResponseSchema, qa as tokenizeLuceneQuery, Pe as totalsSchema, dn as uiScreenPartialsSchema, fn as uiScreenSchema, Ja as unescapeLuceneValue, Xa as unquoteLuceneValue, ki as userActivitySchema, h as userInsertSchema, Yi as userOrganizationInsertSchema, Xi as userOrganizationSchema, Ai as userPermissionInsertSchema, Mi as userPermissionListSchema, ji as userPermissionSchema, Pi as userPermissionWithDetailsListSchema, Ni as userPermissionWithDetailsSchema, Ie as userResponseSchema, Fi as userRoleInsertSchema, Li as userRoleListSchema, Ii as userRoleSchema, g as userSchema, co as usernameHasOnlyAllowedCharacters, uo as validateUsername, _t as verificationMethodsSchema, to as weekIndex, $ as weekStartMs, Qt as widgetComponentSchema, Wr as widgetSchema };