@authhero/adapter-interfaces 4.21.0 → 4.22.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,7 @@ 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",
1554
1583
  FAILED_LOGIN: "f",
1555
1584
  FAILED_BY_CONNECTOR: "fc",
1556
1585
  FAILED_CHANGE_EMAIL: "fce",
@@ -1698,7 +1727,7 @@ var z = e.enum(["impersonate"]), B = e.enum([
1698
1727
  WARNING_DURING_LOGIN: "w",
1699
1728
  WARNING_SENDING_NOTIFICATION: "wn",
1700
1729
  WARNING_USER_MANAGEMENT: "wum"
1701
- }, Bn = e.string().refine((e) => Object.values(U).includes(e), { message: "Invalid log type" }), Vn = {
1730
+ }, Wn = e.string().refine((e) => Object.values(U).includes(e), { message: "Invalid log type" }), Gn = {
1702
1731
  [U.ACLS_SUMMARY]: "ACLs Summary",
1703
1732
  [U.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1704
1733
  [U.API_LIMIT]: "API Rate Limit Reached",
@@ -1711,6 +1740,7 @@ var z = e.enum(["impersonate"]), B = e.enum([
1711
1740
  [U.CODE_LINK_SENT]: "Code/Link Sent",
1712
1741
  [U.CODE_SENT]: "Code Sent",
1713
1742
  [U.DEPRECATION_NOTICE]: "Deprecation Notice",
1743
+ [U.CONFIG_INHERITANCE_DIFF]: "Config Inheritance Shadow Difference",
1714
1744
  [U.FAILED_LOGIN]: "Failed Login",
1715
1745
  [U.FAILED_BY_CONNECTOR]: "Failed by Connector",
1716
1746
  [U.FAILED_CHANGE_EMAIL]: "Failed Change Email",
@@ -1858,30 +1888,30 @@ var z = e.enum(["impersonate"]), B = e.enum([
1858
1888
  [U.WARNING_DURING_LOGIN]: "Warning During Login",
1859
1889
  [U.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1860
1890
  [U.WARNING_USER_MANAGEMENT]: "Warning User Management"
1861
- }, Hn = (() => {
1891
+ }, Kn = (() => {
1862
1892
  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";
1893
+ 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 === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1864
1894
  return e;
1865
1895
  })();
1866
- function Un(e) {
1867
- return Vn[e] ?? e;
1896
+ function qn(e) {
1897
+ return Gn[e] ?? e;
1868
1898
  }
1869
- function Wn(e) {
1870
- return Hn[e] ?? "other";
1899
+ function Jn(e) {
1900
+ return Kn[e] ?? "other";
1871
1901
  }
1872
- var Gn = e.object({
1902
+ var Yn = e.object({
1873
1903
  name: e.string(),
1874
1904
  version: e.string(),
1875
1905
  env: e.object({ node: e.string().optional() }).optional()
1876
- }), Kn = e.object({
1906
+ }), Xn = e.object({
1877
1907
  country_code: e.string().length(2),
1878
1908
  city_name: e.string(),
1879
1909
  latitude: e.string(),
1880
1910
  longitude: e.string(),
1881
1911
  time_zone: e.string(),
1882
1912
  continent_code: e.string()
1883
- }), qn = e.object({
1884
- type: Bn,
1913
+ }), Zn = e.object({
1914
+ type: Wn,
1885
1915
  date: e.string(),
1886
1916
  description: e.string().optional(),
1887
1917
  ip: e.string().optional(),
@@ -1899,10 +1929,10 @@ var Gn = e.object({
1899
1929
  strategy: e.string().optional(),
1900
1930
  strategy_type: e.string().optional(),
1901
1931
  hostname: e.string().optional(),
1902
- auth0_client: Gn.optional(),
1932
+ auth0_client: Yn.optional(),
1903
1933
  log_id: e.string().optional(),
1904
- location_info: Kn.optional()
1905
- }), Jn = qn.extend({ log_id: e.string() }), Yn = e.enum([
1934
+ location_info: Xn.optional()
1935
+ }), Qn = Zn.extend({ log_id: e.string() }), $n = e.enum([
1906
1936
  "http",
1907
1937
  "eventbridge",
1908
1938
  "eventgrid",
@@ -1913,44 +1943,44 @@ var Gn = e.object({
1913
1943
  "active",
1914
1944
  "paused",
1915
1945
  "suspended"
1916
- ]), Xn = e.object({
1946
+ ]), er = e.object({
1917
1947
  type: e.string(),
1918
1948
  name: e.string()
1919
- }), Zn = e.object({
1949
+ }), tr = e.object({
1920
1950
  name: e.string(),
1921
- type: Yn,
1951
+ type: $n,
1922
1952
  status: W.optional(),
1923
1953
  sink: e.record(e.string(), e.unknown()),
1924
- filters: e.array(Xn).optional(),
1954
+ filters: e.array(er).optional(),
1925
1955
  isPriority: e.boolean().optional()
1926
- }), Qn = Zn.extend({
1956
+ }), nr = tr.extend({
1927
1957
  id: e.string(),
1928
1958
  status: W,
1929
1959
  created_at: e.string().optional(),
1930
1960
  updated_at: e.string().optional()
1931
- }), $n = e.enum([
1961
+ }), rr = e.enum([
1932
1962
  "auth0",
1933
1963
  "cognito",
1934
1964
  "okta",
1935
1965
  "oidc"
1936
- ]), er = e.object({
1966
+ ]), ir = e.object({
1937
1967
  domain: e.string(),
1938
1968
  client_id: e.string(),
1939
1969
  client_secret: e.string(),
1940
1970
  audience: e.string().optional(),
1941
1971
  scope: e.string().optional()
1942
- }), tr = e.object({
1972
+ }), ar = e.object({
1943
1973
  id: e.string().optional(),
1944
1974
  name: e.string(),
1945
- provider: $n,
1975
+ provider: rr,
1946
1976
  connection: e.string(),
1947
1977
  enabled: e.boolean().default(!0),
1948
- credentials: er
1949
- }), nr = e.object({
1978
+ credentials: ir
1979
+ }), or = e.object({
1950
1980
  id: e.string(),
1951
1981
  created_at: e.string(),
1952
1982
  updated_at: e.string()
1953
- }).extend(tr.shape), rr = e.object({
1983
+ }).extend(ar.shape), sr = e.object({
1954
1984
  enabled: e.boolean().optional(),
1955
1985
  shields: e.array(e.string()).optional(),
1956
1986
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -1959,13 +1989,13 @@ var Gn = e.object({
1959
1989
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
1960
1990
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
1961
1991
  }).optional()
1962
- }), ir = e.object({
1992
+ }), cr = e.object({
1963
1993
  enabled: e.boolean().optional(),
1964
1994
  shields: e.array(e.string()).optional(),
1965
1995
  allowlist: e.array(e.string()).optional(),
1966
1996
  mode: e.string().optional(),
1967
1997
  max_attempts: e.number().optional()
1968
- }), ar = e.object({
1998
+ }), lr = e.object({
1969
1999
  enabled: e.boolean().optional(),
1970
2000
  shields: e.array(e.string()).optional(),
1971
2001
  allowlist: e.array(e.string()).optional(),
@@ -1979,28 +2009,28 @@ var Gn = e.object({
1979
2009
  rate: e.number().optional()
1980
2010
  }).optional()
1981
2011
  }).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({
2012
+ }), ur = e.object({
2013
+ breached_password_detection: sr.optional(),
2014
+ brute_force_protection: cr.optional(),
2015
+ suspicious_ip_throttling: lr.optional()
2016
+ }), dr = e.object({
1987
2017
  id: e.string().optional(),
1988
2018
  user_id: e.string(),
1989
2019
  password: e.string(),
1990
2020
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1991
2021
  is_current: e.boolean().default(!0)
1992
- }), cr = sr.extend({
2022
+ }), fr = dr.extend({
1993
2023
  id: e.string(),
1994
2024
  created_at: e.string(),
1995
2025
  updated_at: e.string()
1996
- }), lr = e.object({
2026
+ }), pr = e.object({
1997
2027
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1998
2028
  initial_ip: e.string().describe("First IP address associated with this session"),
1999
2029
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
2000
2030
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
2001
2031
  last_ip: e.string().describe("Last IP address from which this user logged in"),
2002
2032
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
2003
- }), ur = e.object({
2033
+ }), mr = e.object({
2004
2034
  id: e.string(),
2005
2035
  revoked_at: e.string().optional(),
2006
2036
  used_at: e.string().optional(),
@@ -2008,14 +2038,14 @@ var Gn = e.object({
2008
2038
  expires_at: e.string().optional(),
2009
2039
  login_session_id: e.string(),
2010
2040
  idle_expires_at: e.string().optional(),
2011
- device: lr.describe("Metadata related to the device used in the session"),
2041
+ device: pr.describe("Metadata related to the device used in the session"),
2012
2042
  clients: e.array(e.string()).describe("List of client details for the session")
2013
- }), dr = e.object({
2043
+ }), hr = e.object({
2014
2044
  created_at: e.string(),
2015
2045
  updated_at: e.string(),
2016
2046
  authenticated_at: e.string(),
2017
2047
  last_interaction_at: e.string()
2018
- }).extend(ur.shape), fr = e.object({
2048
+ }).extend(mr.shape), gr = e.object({
2019
2049
  kid: e.string().openapi({ description: "The key id of the signing key" }),
2020
2050
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
2021
2051
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -2031,8 +2061,9 @@ var Gn = e.object({
2031
2061
  revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
2032
2062
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
2033
2063
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
2034
- }), pr = e.object({
2064
+ }), _r = e.object({
2035
2065
  id: e.string().optional(),
2066
+ parent_tenant_id: e.string().nullish(),
2036
2067
  audience: e.string().optional(),
2037
2068
  friendly_name: e.string(),
2038
2069
  picture_url: e.string().optional(),
@@ -2149,7 +2180,7 @@ var Gn = e.object({
2149
2180
  "shared_planetscale"
2150
2181
  ]).optional(),
2151
2182
  d1_database_id: e.string().max(64).optional(),
2152
- attack_protection: or.optional(),
2183
+ attack_protection: ur.optional(),
2153
2184
  mfa: e.object({
2154
2185
  policy: e.enum(["never", "always"]).default("never").optional(),
2155
2186
  factors: e.object({
@@ -2176,38 +2207,38 @@ var Gn = e.object({
2176
2207
  }).optional(),
2177
2208
  phone_message: e.object({ message: e.string().optional() }).optional()
2178
2209
  }).optional()
2179
- }), mr = e.object({
2210
+ }), vr = e.object({
2180
2211
  created_at: e.string().nullable().transform((e) => e ?? ""),
2181
2212
  updated_at: e.string().nullable().transform((e) => e ?? "")
2182
- }).extend(pr.shape).extend({
2213
+ }).extend(_r.shape).extend({
2183
2214
  id: e.string(),
2184
2215
  is_control_plane: e.boolean().optional()
2185
- }), hr = e.enum([
2216
+ }), yr = e.enum([
2186
2217
  "provision",
2187
2218
  "seed",
2188
2219
  "upgrade",
2189
2220
  "backup",
2190
2221
  "deprovision",
2191
2222
  "users_import"
2192
- ]), gr = e.enum([
2223
+ ]), br = e.enum([
2193
2224
  "pending",
2194
2225
  "running",
2195
2226
  "succeeded",
2196
2227
  "failed",
2197
2228
  "cancelled"
2198
- ]), _r = e.string().max(64), vr = ["inline", "cloudflare-workflows"], yr = e.object({
2229
+ ]), xr = e.string().max(64), Sr = ["inline", "cloudflare-workflows"], Cr = e.object({
2199
2230
  tenant_id: e.string().max(255).nullable().default(null),
2200
2231
  rollout_id: e.string().max(255).nullable().optional(),
2201
- kind: hr,
2202
- engine: _r,
2232
+ kind: yr,
2233
+ engine: xr,
2203
2234
  engine_instance_id: e.string().max(100).nullable().optional(),
2204
2235
  target_worker_version: e.string().max(255).nullable().optional(),
2205
2236
  target_database_version: e.string().max(255).nullable().optional(),
2206
2237
  initiated_by: e.string().max(255).nullable().optional(),
2207
2238
  input: e.record(e.string(), e.unknown()).nullable().optional()
2208
- }), br = yr.extend({
2239
+ }), wr = Cr.extend({
2209
2240
  id: e.string(),
2210
- status: gr,
2241
+ status: br,
2211
2242
  current_step: e.string().max(255).nullable().optional(),
2212
2243
  error: e.string().nullable().optional(),
2213
2244
  result: e.record(e.string(), e.unknown()).nullable().optional(),
@@ -2216,7 +2247,7 @@ var Gn = e.object({
2216
2247
  created_at: e.string(),
2217
2248
  updated_at: e.string(),
2218
2249
  finished_at: e.string().nullable().optional()
2219
- }), xr = br.pick({
2250
+ }), Tr = wr.pick({
2220
2251
  status: !0,
2221
2252
  current_step: !0,
2222
2253
  engine_instance_id: !0,
@@ -2227,20 +2258,20 @@ var Gn = e.object({
2227
2258
  claimed_by: !0,
2228
2259
  claim_expires_at: !0,
2229
2260
  finished_at: !0
2230
- }).partial(), Sr = e.enum([
2261
+ }).partial(), Er = e.enum([
2231
2262
  "started",
2232
2263
  "succeeded",
2233
2264
  "failed",
2234
2265
  "retried",
2235
2266
  "skipped",
2236
2267
  "reconciled"
2237
- ]), Cr = e.object({
2268
+ ]), Dr = e.object({
2238
2269
  operation_id: e.string().max(255),
2239
2270
  step: e.string().max(255),
2240
- outcome: Sr,
2271
+ outcome: Er,
2241
2272
  detail: e.record(e.string(), e.unknown()).nullable().optional(),
2242
2273
  attempt: e.number().int().min(1).default(1)
2243
- }), wr = Cr.extend({
2274
+ }), Or = Dr.extend({
2244
2275
  id: e.string(),
2245
2276
  created_at: e.string()
2246
2277
  }), G = e.enum([
@@ -2249,12 +2280,12 @@ var Gn = e.object({
2249
2280
  "updated",
2250
2281
  "failed",
2251
2282
  "skipped"
2252
- ]), Tr = [
2283
+ ]), kr = [
2253
2284
  "inserted",
2254
2285
  "updated",
2255
2286
  "failed",
2256
2287
  "skipped"
2257
- ], Er = e.object({
2288
+ ], Ar = e.object({
2258
2289
  operation_id: e.string().max(255),
2259
2290
  seq: e.number().int().min(0),
2260
2291
  payload: e.record(e.string(), e.unknown()),
@@ -2263,51 +2294,51 @@ var Gn = e.object({
2263
2294
  error_message: e.string().nullable().optional(),
2264
2295
  error_path: e.string().max(255).nullable().optional(),
2265
2296
  entity_id: e.string().max(255).nullable().optional()
2266
- }), Dr = Er.extend({
2297
+ }), jr = Ar.extend({
2267
2298
  status: G,
2268
2299
  created_at: e.string(),
2269
2300
  updated_at: e.string()
2270
- }), Or = e.object({
2301
+ }), Mr = e.object({
2271
2302
  seq: e.number().int().min(0),
2272
2303
  status: G,
2273
2304
  error_code: e.string().max(64).nullable().optional(),
2274
2305
  error_message: e.string().nullable().optional(),
2275
2306
  error_path: e.string().max(255).nullable().optional(),
2276
2307
  entity_id: e.string().max(255).nullable().optional()
2277
- }), kr = e.enum([
2308
+ }), Nr = e.enum([
2278
2309
  "upgrade",
2279
2310
  "reseed",
2280
2311
  "backup"
2281
- ]), Ar = e.enum([
2312
+ ]), Pr = e.enum([
2282
2313
  "pending",
2283
2314
  "canary",
2284
2315
  "rolling",
2285
2316
  "paused",
2286
2317
  "done",
2287
2318
  "failed"
2288
- ]), jr = e.object({
2289
- kind: kr,
2319
+ ]), Fr = e.object({
2320
+ kind: Nr,
2290
2321
  target_worker_version: e.string().max(255).nullable().optional(),
2291
2322
  target_database_version: e.string().max(255).nullable().optional(),
2292
2323
  wave_size: e.number().int().min(1).default(10),
2293
2324
  canary_tenant_ids: e.array(e.string()).nullable().optional(),
2294
2325
  filter: e.record(e.string(), e.unknown()).nullable().optional(),
2295
2326
  initiated_by: e.string().max(255).nullable().optional()
2296
- }), Mr = jr.extend({
2327
+ }), Ir = Fr.extend({
2297
2328
  id: e.string(),
2298
- status: Ar,
2329
+ status: Pr,
2299
2330
  created_at: e.string(),
2300
2331
  updated_at: e.string(),
2301
2332
  finished_at: e.string().nullable().optional()
2302
- }), Nr = Mr.pick({
2333
+ }), Lr = Ir.pick({
2303
2334
  status: !0,
2304
2335
  wave_size: !0,
2305
2336
  canary_tenant_ids: !0,
2306
2337
  filter: !0,
2307
2338
  finished_at: !0
2308
- }).partial(), Pr = /* @__PURE__ */ function(e) {
2339
+ }).partial(), Rr = /* @__PURE__ */ function(e) {
2309
2340
  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({
2341
+ }({}), zr = e.object({
2311
2342
  access_token: e.string(),
2312
2343
  id_token: e.string().optional(),
2313
2344
  scope: e.string().optional(),
@@ -2322,7 +2353,7 @@ e.object({
2322
2353
  });
2323
2354
  //#endregion
2324
2355
  //#region src/types/Theme.ts
2325
- var Ir = e.object({
2356
+ var Br = e.object({
2326
2357
  button_border_radius: e.number(),
2327
2358
  button_border_weight: e.number(),
2328
2359
  buttons_style: e.enum([
@@ -2340,7 +2371,7 @@ var Ir = e.object({
2340
2371
  show_widget_shadow: e.boolean(),
2341
2372
  widget_border_weight: e.number(),
2342
2373
  widget_corner_radius: e.number()
2343
- }), Lr = e.object({
2374
+ }), Vr = e.object({
2344
2375
  base_focus_color: e.string(),
2345
2376
  base_hover_color: e.string(),
2346
2377
  body_text: e.string(),
@@ -2367,7 +2398,7 @@ var Ir = e.object({
2367
2398
  }), K = e.object({
2368
2399
  bold: e.boolean(),
2369
2400
  size: e.number()
2370
- }), Rr = e.object({
2401
+ }), Hr = e.object({
2371
2402
  body_text: K,
2372
2403
  buttons_text: K,
2373
2404
  font_url: e.string(),
@@ -2377,7 +2408,7 @@ var Ir = e.object({
2377
2408
  reference_text_size: e.number(),
2378
2409
  subtitle: K,
2379
2410
  title: K
2380
- }), zr = e.object({
2411
+ }), Ur = e.object({
2381
2412
  background_color: e.string(),
2382
2413
  background_image_url: e.string(),
2383
2414
  page_layout: e.enum([
@@ -2390,7 +2421,7 @@ var Ir = e.object({
2390
2421
  "chip",
2391
2422
  "none"
2392
2423
  ]).optional()
2393
- }), Br = e.object({
2424
+ }), Wr = e.object({
2394
2425
  header_text_alignment: e.enum([
2395
2426
  "center",
2396
2427
  "left",
@@ -2405,43 +2436,44 @@ var Ir = e.object({
2405
2436
  ]),
2406
2437
  logo_url: e.string(),
2407
2438
  social_buttons_layout: e.enum(["bottom", "top"])
2408
- }), Vr = e.object({
2409
- borders: Ir,
2410
- colors: Lr,
2439
+ }), Gr = e.object({
2440
+ borders: Br,
2441
+ colors: Vr,
2411
2442
  displayName: e.string(),
2412
- fonts: Rr,
2413
- page_background: zr,
2414
- widget: Br
2415
- }), Hr = Vr.extend({ themeId: e.string() }), Ur = e.object({
2443
+ fonts: Hr,
2444
+ page_background: Ur,
2445
+ widget: Wr
2446
+ }), Kr = Gr.extend({ themeId: e.string() }), qr = e.object({
2447
+ ...i,
2416
2448
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2417
2449
  identifier_first: e.boolean().default(!0),
2418
2450
  password_first: e.boolean().default(!1),
2419
2451
  show_last_used_connection: e.boolean().default(!1),
2420
2452
  webauthn_platform_first_factor: e.boolean()
2421
- }), Wr = e.object({
2453
+ }), Jr = e.object({
2422
2454
  hosts: e.array(e.string()).optional(),
2423
2455
  methods: e.array(e.string()).optional(),
2424
2456
  path: e.string().default("/*"),
2425
2457
  headers: e.record(e.string(), e.string()).optional(),
2426
2458
  query: e.record(e.string(), e.string()).optional()
2427
- }), Gr = e.object({
2459
+ }), Yr = e.object({
2428
2460
  type: e.string(),
2429
2461
  options: e.record(e.string(), e.unknown()).default({})
2430
2462
  }), q = e.object({
2431
2463
  id: e.string().optional(),
2432
2464
  custom_domain_id: e.string(),
2433
2465
  priority: e.number().int().default(100),
2434
- match: Wr,
2435
- handlers: e.array(Gr).min(1)
2436
- }), Kr = q.extend({
2466
+ match: Jr,
2467
+ handlers: e.array(Yr).min(1)
2468
+ }), Xr = q.extend({
2437
2469
  id: e.string(),
2438
2470
  tenant_id: e.string(),
2439
2471
  created_at: e.string(),
2440
2472
  updated_at: e.string()
2441
- }), qr = q.partial().omit({
2473
+ }), Zr = q.partial().omit({
2442
2474
  id: !0,
2443
2475
  custom_domain_id: !0
2444
- }), Jr = "custom_authentication", Yr = [
2476
+ }), Qr = "custom_authentication", $r = [
2445
2477
  "urn:ietf:params:oauth:",
2446
2478
  "urn:auth0",
2447
2479
  "urn:okta",
@@ -2449,71 +2481,72 @@ var Ir = e.object({
2449
2481
  "https://auth0.com",
2450
2482
  "http://okta.com",
2451
2483
  "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([
2484
+ ], 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
2485
  "RS256",
2454
2486
  "RS384",
2455
2487
  "RS512",
2456
2488
  "ES256",
2457
2489
  "ES384",
2458
2490
  "ES512"
2459
- ]), Zr = e.discriminatedUnion("type", [e.object({
2491
+ ]), ti = e.discriminatedUnion("type", [e.object({
2460
2492
  type: e.literal("connection"),
2461
2493
  connection: e.string().min(1),
2462
2494
  create_if_not_exists: e.boolean().default(!0),
2463
2495
  trust_email_verified: e.boolean().default(!1)
2464
2496
  }), e.object({ type: e.literal("user_id") })]), Y = e.object({
2465
2497
  issuer: e.string().min(1).max(2048),
2466
- jwks: Pn.optional(),
2498
+ jwks: Rn.optional(),
2467
2499
  jwks_uri: e.string().url().optional(),
2468
2500
  audience: e.array(e.string().min(1)).min(1).optional(),
2469
- algorithms: e.array(Xr).min(1).optional(),
2501
+ algorithms: e.array(ei).min(1).optional(),
2470
2502
  max_lifetime_seconds: e.number().int().min(1).max(3600).default(300),
2471
2503
  require_jti: e.boolean().default(!0),
2472
- user_mapping: Zr
2473
- }), Qr = e.object({
2504
+ user_mapping: ti
2505
+ }), ni = e.object({
2474
2506
  name: e.string().min(1).max(255),
2475
2507
  subject_token_type: J,
2476
2508
  action_id: e.string().min(1).optional(),
2477
- type: e.literal(Jr),
2509
+ type: e.literal(Qr),
2478
2510
  jwt_verification: Y.optional()
2479
- }), $r = Qr.extend({
2511
+ }), ri = ni.extend({
2480
2512
  id: e.string(),
2481
2513
  created_at: e.string(),
2482
2514
  updated_at: e.string()
2483
- }), ei = e.object({
2515
+ }), ii = e.object({
2484
2516
  name: e.string().min(1).max(255).optional(),
2485
2517
  subject_token_type: J.optional(),
2486
2518
  jwt_verification: Y.optional()
2487
- }), ti = e.object({
2519
+ }), ai = e.object({
2488
2520
  scim: e.string(),
2489
2521
  auth0: e.string()
2490
- }), ni = e.object({
2522
+ }), oi = e.object({
2491
2523
  connection_id: e.string(),
2492
2524
  user_id_attribute: e.string().default("externalId"),
2493
- mapping: e.array(ti).default([])
2494
- }), ri = e.object({
2525
+ mapping: e.array(ai).default([])
2526
+ }), si = e.object({
2495
2527
  created_at: e.string(),
2496
2528
  updated_at: e.string()
2497
- }).extend(ni.shape), ii = e.object({
2529
+ }).extend(oi.shape), ci = e.object({
2498
2530
  token_id: e.string(),
2499
2531
  connection_id: e.string(),
2500
2532
  token_hash: e.string(),
2501
2533
  scopes: e.array(e.string()).default([]),
2502
2534
  valid_until: e.string().optional()
2503
- }), ai = e.object({
2535
+ }), li = e.object({
2504
2536
  created_at: e.string(),
2505
2537
  last_used_at: e.string().optional()
2506
- }).extend(ii.shape), oi = e.object({
2538
+ }).extend(ci.shape), ui = e.object({
2507
2539
  connection_id: e.string(),
2508
2540
  external_id: e.string(),
2509
2541
  user_id: e.string()
2510
- }), si = e.object({ created_at: e.string() }).extend(oi.shape), ci = e.object({
2542
+ }), di = e.object({ created_at: e.string() }).extend(ui.shape), fi = e.object({
2543
+ ...i,
2511
2544
  name: e.string(),
2512
2545
  enabled: e.boolean().optional().default(!0),
2513
2546
  default_from_address: e.string().optional(),
2514
2547
  credentials: e.record(e.string(), e.unknown()),
2515
2548
  settings: e.object({}).optional()
2516
- }), li = e.enum([
2549
+ }), pi = e.enum([
2517
2550
  "verify_email",
2518
2551
  "verify_email_by_code",
2519
2552
  "reset_email",
@@ -2526,8 +2559,8 @@ var Ir = e.object({
2526
2559
  "change_password",
2527
2560
  "password_reset",
2528
2561
  "user_invitation"
2529
- ]), ui = e.object({
2530
- template: li,
2562
+ ]), mi = e.object({
2563
+ template: pi,
2531
2564
  body: e.string(),
2532
2565
  from: e.string(),
2533
2566
  subject: e.string(),
@@ -2536,7 +2569,7 @@ var Ir = e.object({
2536
2569
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2537
2570
  includeEmailInRedirect: e.boolean().default(!1),
2538
2571
  enabled: e.boolean().default(!0)
2539
- }), di = e.object({
2572
+ }), hi = e.object({
2540
2573
  id: e.string(),
2541
2574
  login_id: e.string(),
2542
2575
  session_id: e.string().optional(),
@@ -2548,7 +2581,7 @@ var Ir = e.object({
2548
2581
  expires_at: e.string().optional(),
2549
2582
  idle_expires_at: e.string().optional(),
2550
2583
  last_exchanged_at: e.string().optional(),
2551
- device: lr,
2584
+ device: pr,
2552
2585
  resource_servers: e.array(e.object({
2553
2586
  audience: e.string(),
2554
2587
  scopes: e.string()
@@ -2559,19 +2592,19 @@ var Ir = e.object({
2559
2592
  family_id: e.string().optional(),
2560
2593
  rotated_to: e.string().optional(),
2561
2594
  rotated_at: e.string().optional()
2562
- }), fi = di.extend({
2595
+ }), gi = hi.extend({
2563
2596
  created_at: e.string(),
2564
2597
  revoked_at: e.string().optional()
2565
- }), pi = e.object({
2598
+ }), _i = e.object({
2566
2599
  to: e.string(),
2567
2600
  message: e.string()
2568
- }), mi = e.object({
2601
+ }), vi = e.object({
2569
2602
  name: e.string(),
2570
2603
  options: e.object({})
2571
- }), hi = e.object({
2604
+ }), yi = e.object({
2572
2605
  value: e.string(),
2573
2606
  description: e.string().optional()
2574
- }), gi = e.object({
2607
+ }), bi = e.object({
2575
2608
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2576
2609
  enforce_policies: e.boolean().optional(),
2577
2610
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2579,11 +2612,11 @@ var Ir = e.object({
2579
2612
  persist_client_authorization: e.boolean().optional(),
2580
2613
  enable_introspection_endpoint: e.boolean().optional(),
2581
2614
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
2582
- }), _i = e.object({
2615
+ }), xi = e.object({
2583
2616
  id: e.string().optional(),
2584
2617
  name: e.string(),
2585
2618
  identifier: e.string(),
2586
- scopes: e.array(hi).optional(),
2619
+ scopes: e.array(yi).optional(),
2587
2620
  signing_alg: e.string().optional(),
2588
2621
  signing_secret: e.string().optional(),
2589
2622
  token_lifetime: e.number().default(86400),
@@ -2591,37 +2624,38 @@ var Ir = e.object({
2591
2624
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2592
2625
  allow_offline_access: e.boolean().optional(),
2593
2626
  verificationKey: e.string().optional(),
2594
- options: gi.optional(),
2627
+ options: bi.optional(),
2595
2628
  is_system: e.boolean().optional(),
2629
+ ...i,
2596
2630
  metadata: e.record(e.string(), e.any()).optional()
2597
- }), vi = _i.extend({
2631
+ }), Si = xi.extend({
2598
2632
  created_at: e.string().optional(),
2599
2633
  updated_at: e.string().optional()
2600
- }), yi = e.array(vi), bi = e.object({
2634
+ }), Ci = e.array(Si), wi = e.object({
2601
2635
  role_id: e.string(),
2602
2636
  resource_server_identifier: e.string(),
2603
2637
  permission_name: e.string()
2604
- }), xi = bi.extend({ created_at: e.string() }), Si = e.array(xi), Ci = e.object({
2638
+ }), Ti = wi.extend({ created_at: e.string() }), Ei = e.array(Ti), Di = e.object({
2605
2639
  user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
2606
2640
  clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
2607
2641
  audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
2608
2642
  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({
2643
+ }), Oi = Di.extend({ id: e.string() }), ki = e.object({
2610
2644
  user_id: e.string(),
2611
2645
  last_login: e.string().optional(),
2612
2646
  last_ip: e.string().optional(),
2613
2647
  login_count: e.number().default(0),
2614
2648
  failed_logins: e.array(e.string()).optional(),
2615
2649
  last_password_reset: e.string().optional()
2616
- }), Ei = e.object({
2650
+ }), Ai = e.object({
2617
2651
  user_id: e.string(),
2618
2652
  resource_server_identifier: e.string(),
2619
2653
  permission_name: e.string(),
2620
2654
  organization_id: e.string().optional()
2621
- }), Di = Ei.extend({
2655
+ }), ji = Ai.extend({
2622
2656
  tenant_id: e.string(),
2623
2657
  created_at: e.string().optional()
2624
- }), Oi = e.array(Di), ki = e.object({
2658
+ }), Mi = e.array(ji), Ni = e.object({
2625
2659
  user_id: e.string(),
2626
2660
  resource_server_identifier: e.string(),
2627
2661
  resource_server_name: e.string(),
@@ -2629,65 +2663,65 @@ var Ir = e.object({
2629
2663
  description: e.string().nullable().optional(),
2630
2664
  created_at: e.string().optional(),
2631
2665
  organization_id: e.string().optional()
2632
- }), Ai = e.array(ki), ji = e.object({
2666
+ }), Pi = e.array(Ni), Fi = e.object({
2633
2667
  user_id: e.string(),
2634
2668
  role_id: e.string(),
2635
2669
  organization_id: e.string().optional()
2636
- }), Mi = ji.extend({
2670
+ }), Ii = Fi.extend({
2637
2671
  tenant_id: e.string(),
2638
2672
  created_at: e.string().optional()
2639
- }), Ni = e.array(Mi), Pi = e.object({
2673
+ }), Li = e.array(Ii), Ri = e.object({
2640
2674
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
2641
2675
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
2642
2676
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
2643
2677
  is_system: e.boolean().optional(),
2644
2678
  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({
2679
+ }), zi = Ri.extend({
2646
2680
  id: e.string().openapi({ description: "The unique identifier of the role" }),
2647
2681
  created_at: e.string().optional(),
2648
2682
  updated_at: e.string().optional()
2649
- }), Ii = e.array(Fi), Li = e.object({
2683
+ }), Bi = e.array(zi), Vi = e.object({
2650
2684
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
2651
2685
  colors: e.object({
2652
2686
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
2653
2687
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
2654
2688
  }).optional()
2655
- }).optional(), Ri = e.object({
2689
+ }).optional(), Hi = e.object({
2656
2690
  connection_id: e.string().openapi({ description: "ID of the connection" }),
2657
2691
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
2658
2692
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
2659
2693
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
2660
- }), zi = e.object({ client_credentials: e.object({
2694
+ }), Ui = e.object({ client_credentials: e.object({
2661
2695
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
2662
2696
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
2663
2697
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
2664
- }).optional() }).optional(), Bi = e.object({
2698
+ }).optional() }).optional(), Wi = e.object({
2665
2699
  id: e.string().optional(),
2666
2700
  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
2701
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
2668
- branding: Li,
2702
+ branding: Vi,
2669
2703
  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({
2704
+ enabled_connections: e.array(Hi).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2705
+ token_quota: Ui
2706
+ }), Gi = Wi.extend(t.shape).extend({
2673
2707
  id: e.string(),
2674
2708
  name: e.string().min(1).openapi({ description: "The name of the organization" })
2675
- }), Hi = e.object({
2709
+ }), Ki = e.object({
2676
2710
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
2677
2711
  assign_membership_on_login: e.boolean().optional().default(!1),
2678
2712
  show_as_button: e.boolean().optional().default(!0),
2679
2713
  is_signup_enabled: e.boolean().optional().default(!0)
2680
- }), Ui = Hi.extend({
2714
+ }), qi = Ki.extend({
2681
2715
  connection: e.object({
2682
2716
  name: e.string().optional(),
2683
2717
  strategy: e.string().optional()
2684
2718
  }).optional(),
2685
2719
  created_at: e.string().optional(),
2686
2720
  updated_at: e.string().optional()
2687
- }), Wi = e.array(Ui), Gi = e.object({
2721
+ }), Ji = e.array(qi), Yi = e.object({
2688
2722
  user_id: e.string().openapi({ description: "ID of the user" }),
2689
2723
  organization_id: e.string().openapi({ description: "ID of the organization" })
2690
- }), Ki = Gi.extend(t.shape).extend({ id: e.string() }), qi = e.object({
2724
+ }), Xi = Yi.extend(t.shape).extend({ id: e.string() }), Zi = e.object({
2691
2725
  idle_session_lifetime: e.number().default(72),
2692
2726
  session_lifetime: e.number().default(168),
2693
2727
  session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
@@ -2766,7 +2800,7 @@ var Ir = e.object({
2766
2800
  }).optional(),
2767
2801
  phone_message: e.object({ message: e.string().optional() }).optional()
2768
2802
  }).optional()
2769
- }), Ji = e.object({
2803
+ }), Qi = e.object({
2770
2804
  date: e.string().openapi({
2771
2805
  description: "Date these events occurred in ISO 8601 format",
2772
2806
  example: "2025-12-19"
@@ -2791,10 +2825,10 @@ var Ir = e.object({
2791
2825
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2792
2826
  example: "2025-12-19T00:00:00.000Z"
2793
2827
  })
2794
- }), Yi = e.number().openapi({
2828
+ }), $i = e.number().openapi({
2795
2829
  description: "Number of active users in the last 30 days",
2796
2830
  example: 1234
2797
- }), Xi = e.enum([
2831
+ }), ea = e.enum([
2798
2832
  "active-users",
2799
2833
  "logins",
2800
2834
  "signups",
@@ -2806,81 +2840,81 @@ var Ir = e.object({
2806
2840
  "mfa",
2807
2841
  "email-verifications",
2808
2842
  "codes-sent"
2809
- ]), Zi = e.enum([
2843
+ ]), ta = e.enum([
2810
2844
  "hour",
2811
2845
  "day",
2812
2846
  "week",
2813
2847
  "month"
2814
- ]), Qi = e.enum([
2848
+ ]), na = e.enum([
2815
2849
  "time",
2816
2850
  "connection",
2817
2851
  "client_id",
2818
2852
  "user_type",
2819
2853
  "event"
2820
- ]), $i = e.enum([
2854
+ ]), ra = e.enum([
2821
2855
  "password",
2822
2856
  "social",
2823
2857
  "passwordless",
2824
2858
  "enterprise"
2825
- ]), ea = e.object({
2859
+ ]), ia = e.object({
2826
2860
  cohort: e.string(),
2827
2861
  sessions: e.number(),
2828
2862
  active: e.array(e.number())
2829
- }), ta = e.object({
2863
+ }), aa = e.object({
2830
2864
  interval: e.literal("week"),
2831
2865
  from: e.string(),
2832
2866
  to: e.string(),
2833
- cohorts: e.array(ea)
2834
- }), na = e.object({
2867
+ cohorts: e.array(ia)
2868
+ }), oa = e.object({
2835
2869
  cohort: e.string(),
2836
2870
  tokens: e.number(),
2837
2871
  active: e.array(e.number())
2838
- }), ra = e.object({
2872
+ }), sa = e.object({
2839
2873
  interval: e.literal("week"),
2840
2874
  from: e.string(),
2841
2875
  to: e.string(),
2842
- cohorts: e.array(na)
2843
- }), ia = e.object({
2876
+ cohorts: e.array(oa)
2877
+ }), ca = e.object({
2844
2878
  name: e.string(),
2845
2879
  type: e.string()
2846
- }), aa = e.object({
2880
+ }), la = e.object({
2847
2881
  elapsed: e.number(),
2848
2882
  rows_read: e.number().optional(),
2849
2883
  bytes_read: e.number().optional()
2850
- }), oa = e.object({
2851
- meta: e.array(ia),
2884
+ }), ua = e.object({
2885
+ meta: e.array(ca),
2852
2886
  data: e.array(e.record(e.string(), e.any())),
2853
2887
  rows: e.number(),
2854
2888
  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({
2889
+ statistics: la.optional()
2890
+ }), 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
2891
  type: "object",
2858
2892
  additionalProperties: {
2859
2893
  type: "object",
2860
2894
  additionalProperties: { type: "string" }
2861
2895
  }
2862
- }), la = e.object({
2863
- prompt: sa,
2896
+ }), pa = e.object({
2897
+ prompt: da,
2864
2898
  language: e.string(),
2865
- custom_text: ca
2866
- }), ua = [
2899
+ custom_text: fa
2900
+ }), ma = [
2867
2901
  "form-content-start",
2868
2902
  "form-content-end",
2869
2903
  "form-footer-start",
2870
2904
  "form-footer-end",
2871
2905
  "secondary-actions-start",
2872
2906
  "secondary-actions-end"
2873
- ], da = e.object({
2907
+ ], ha = e.object({
2874
2908
  "form-content-start": e.string().optional(),
2875
2909
  "form-content-end": e.string().optional(),
2876
2910
  "form-footer-start": e.string().optional(),
2877
2911
  "form-footer-end": e.string().optional(),
2878
2912
  "secondary-actions-start": e.string().optional(),
2879
2913
  "secondary-actions-end": e.string().optional()
2880
- }).strict(), fa = e.record(e.string(), da), pa = e.object({
2914
+ }).strict(), ga = e.record(e.string(), ha), _a = e.object({
2881
2915
  prompt: e.string(),
2882
- partials: fa
2883
- }), ma = {
2916
+ partials: ga
2917
+ }), va = {
2884
2918
  EMAIL: "email",
2885
2919
  SMS: "sms",
2886
2920
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2896,17 +2930,17 @@ var Ir = e.object({
2896
2930
  WAAD: "waad",
2897
2931
  ADFS: "adfs",
2898
2932
  OKTA: "okta"
2899
- }, ha = {
2933
+ }, ya = {
2900
2934
  DATABASE: "database",
2901
2935
  SOCIAL: "social",
2902
2936
  PASSWORDLESS: "passwordless"
2903
- }, ga = "auth0";
2904
- function _a(e) {
2905
- return e === "auth0" || e === ma.USERNAME_PASSWORD || e === "auth2";
2937
+ }, ba = "auth0";
2938
+ function xa(e) {
2939
+ return e === "auth0" || e === va.USERNAME_PASSWORD || e === "auth2";
2906
2940
  }
2907
2941
  //#endregion
2908
2942
  //#region src/types/AuthenticationMethod.ts
2909
- var va = e.enum([
2943
+ var Sa = e.enum([
2910
2944
  "phone",
2911
2945
  "totp",
2912
2946
  "email",
@@ -2914,9 +2948,9 @@ var va = e.enum([
2914
2948
  "webauthn-roaming",
2915
2949
  "webauthn-platform",
2916
2950
  "passkey"
2917
- ]), ya = e.object({
2951
+ ]), Ca = e.object({
2918
2952
  user_id: e.string(),
2919
- type: va,
2953
+ type: Sa,
2920
2954
  phone_number: e.string().optional(),
2921
2955
  totp_secret: e.string().optional(),
2922
2956
  credential_id: e.string().optional(),
@@ -2927,7 +2961,7 @@ var va = e.enum([
2927
2961
  friendly_name: e.string().optional(),
2928
2962
  confirmed: e.boolean().default(!1)
2929
2963
  });
2930
- function ba(t, n) {
2964
+ function wa(t, n) {
2931
2965
  t.type === "phone" && !t.phone_number && n.addIssue({
2932
2966
  code: e.ZodIssueCode.custom,
2933
2967
  message: "phone_number is required when type is 'phone'",
@@ -2950,15 +2984,15 @@ function ba(t, n) {
2950
2984
  path: ["public_key"]
2951
2985
  }));
2952
2986
  }
2953
- var xa = ya.superRefine(ba), Sa = ya.extend({
2987
+ var Ta = Ca.superRefine(wa), Ea = Ca.extend({
2954
2988
  id: e.string(),
2955
2989
  created_at: e.string(),
2956
2990
  updated_at: e.string()
2957
- }).superRefine(ba), Ca = e.object({
2991
+ }).superRefine(wa), Da = e.object({
2958
2992
  id: e.string().optional(),
2959
2993
  created_at: e.string().datetime({ offset: !0 }).optional(),
2960
2994
  updated_at: e.string().datetime({ offset: !0 }).optional()
2961
- }), wa = {
2995
+ }), Oa = {
2962
2996
  "post-user-login": {
2963
2997
  accessToken: ["setCustomClaim"],
2964
2998
  idToken: ["setCustomClaim"],
@@ -2986,7 +3020,7 @@ var xa = ya.superRefine(ba), Sa = ya.extend({
2986
3020
  authentication: ["setUserById", "setUserByConnection"],
2987
3021
  access: ["deny", "rejectInvalidSubjectToken"]
2988
3022
  }
2989
- }, Ta = {
3023
+ }, ka = {
2990
3024
  "post-user-login": "onExecutePostLogin",
2991
3025
  "credentials-exchange": "onExecuteCredentialsExchange",
2992
3026
  "pre-user-registration": "onExecutePreUserRegistration",
@@ -2995,7 +3029,7 @@ var xa = ya.superRefine(ba), Sa = ya.extend({
2995
3029
  };
2996
3030
  //#endregion
2997
3031
  //#region src/utils/user-id.ts
2998
- function Ea(e) {
3032
+ function Aa(e) {
2999
3033
  let t = e.indexOf("|"), n = e.slice(0, t), r = e.slice(t + 1);
3000
3034
  if (t === -1 || !n || !r) throw Error(`Invalid user_id: ${e}`);
3001
3035
  return {
@@ -3005,10 +3039,10 @@ function Ea(e) {
3005
3039
  }
3006
3040
  //#endregion
3007
3041
  //#region src/utils/http.ts
3008
- var Da = "x-authhero-preserve-location";
3042
+ var ja = "x-authhero-preserve-location";
3009
3043
  //#endregion
3010
3044
  //#region src/utils/passthrough.ts
3011
- function Oa(e) {
3045
+ function Ma(e) {
3012
3046
  let { primary: t, secondaries: n, syncMethods: r = [
3013
3047
  "create",
3014
3048
  "rawCreate",
@@ -3042,12 +3076,12 @@ function Oa(e) {
3042
3076
  } : i.bind(e) : i;
3043
3077
  } });
3044
3078
  }
3045
- function ka(e) {
3079
+ function Na(e) {
3046
3080
  return e;
3047
3081
  }
3048
3082
  //#endregion
3049
3083
  //#region src/utils/connection-attributes.ts
3050
- function Aa(e) {
3084
+ function Pa(e) {
3051
3085
  let t = e?.options;
3052
3086
  if (!t) return {
3053
3087
  usernameIdentifierActive: !1,
@@ -3070,35 +3104,35 @@ function Aa(e) {
3070
3104
  }
3071
3105
  //#endregion
3072
3106
  //#region src/utils/guards.ts
3073
- function ja(e) {
3107
+ function Fa(e) {
3074
3108
  return typeof e == "object" && !!e && !Array.isArray(e);
3075
3109
  }
3076
3110
  //#endregion
3077
3111
  //#region src/utils/base64url.ts
3078
- function Ma(e) {
3112
+ function Ia(e) {
3079
3113
  let t = "";
3080
3114
  for (let n of e) t += String.fromCharCode(n);
3081
3115
  return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
3082
3116
  }
3083
- function Na(e) {
3117
+ function La(e) {
3084
3118
  let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
3085
3119
  for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
3086
3120
  return r;
3087
3121
  }
3088
- function Pa(e) {
3089
- return Ma(new TextEncoder().encode(e));
3122
+ function Ra(e) {
3123
+ return Ia(new TextEncoder().encode(e));
3090
3124
  }
3091
- function Fa(e) {
3092
- return new TextDecoder().decode(Na(e));
3125
+ function za(e) {
3126
+ return new TextDecoder().decode(La(e));
3093
3127
  }
3094
3128
  //#endregion
3095
3129
  //#region src/utils/base64.ts
3096
- function Ia(e) {
3130
+ function Ba(e) {
3097
3131
  let t = "";
3098
3132
  for (let n of e) t += String.fromCharCode(n);
3099
3133
  return btoa(t);
3100
3134
  }
3101
- function La(e) {
3135
+ function Va(e) {
3102
3136
  let t = atob(e), n = new Uint8Array(t.length);
3103
3137
  for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
3104
3138
  return n;
@@ -3106,12 +3140,12 @@ function La(e) {
3106
3140
  //#endregion
3107
3141
  //#region src/utils/base32.ts
3108
3142
  var X = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
3109
- function Ra(e) {
3143
+ function Ha(e) {
3110
3144
  let t = "", n = 0, r = 0;
3111
3145
  for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += X[n >> r & 31];
3112
3146
  return r > 0 && (t += X[n << 5 - r & 31]), t;
3113
3147
  }
3114
- function za(e) {
3148
+ function Ua(e) {
3115
3149
  let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
3116
3150
  if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
3117
3151
  let r = [], i = 0, a = 0;
@@ -3125,19 +3159,19 @@ function za(e) {
3125
3159
  }
3126
3160
  //#endregion
3127
3161
  //#region src/utils/hex.ts
3128
- function Ba(e) {
3162
+ function Wa(e) {
3129
3163
  let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
3130
3164
  for (let e of t) n += e.toString(16).padStart(2, "0");
3131
3165
  return n;
3132
3166
  }
3133
3167
  //#endregion
3134
3168
  //#region src/utils/cursor.ts
3135
- function Va(e) {
3136
- return Pa(JSON.stringify(e));
3169
+ function Ga(e) {
3170
+ return Ra(JSON.stringify(e));
3137
3171
  }
3138
- function Ha(e) {
3172
+ function Ka(e) {
3139
3173
  try {
3140
- let t = JSON.parse(Fa(e));
3174
+ let t = JSON.parse(za(e));
3141
3175
  return t && typeof t == "object" && typeof t.i == "string" ? t : null;
3142
3176
  } catch {
3143
3177
  return null;
@@ -3145,7 +3179,7 @@ function Ha(e) {
3145
3179
  }
3146
3180
  //#endregion
3147
3181
  //#region src/utils/lucene.ts
3148
- function Ua(e) {
3182
+ function qa(e) {
3149
3183
  let t = [], n = "", r = !1;
3150
3184
  for (let i = 0; i < e.length; i++) {
3151
3185
  let a = e[i];
@@ -3153,53 +3187,53 @@ function Ua(e) {
3153
3187
  }
3154
3188
  return n.trim() && t.push(n.trim()), t;
3155
3189
  }
3156
- function Wa(e) {
3190
+ function Ja(e) {
3157
3191
  return e.replace(/\\([\\"+\-!(){}[\]^~*?:/&|])/g, "$1");
3158
3192
  }
3159
- function Ga(e) {
3193
+ function Ya(e) {
3160
3194
  return `"${e.replace(/([\\"])/g, "\\$1")}"`;
3161
3195
  }
3162
- function Ka(e) {
3196
+ function Xa(e) {
3163
3197
  let t = e.trim();
3164
- return Wa(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
3198
+ return Ja(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
3165
3199
  }
3166
- function qa(e) {
3200
+ function Za(e) {
3167
3201
  let t = [], n = [];
3168
- for (let r of Ua(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
3202
+ for (let r of qa(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
3169
3203
  return t.push(n), t.filter((e) => e.length > 0);
3170
3204
  }
3171
- function Ja(e, t) {
3205
+ function Qa(e, t) {
3172
3206
  let n = new Set(t), r = (e) => {
3173
3207
  let t = e.replace(/^([^:]+)=/, "$1:"), r = t.startsWith("-") ? t.slice(1) : t;
3174
3208
  if (r.startsWith("_exists_:")) return n.has(r.slice(9));
3175
3209
  let i = r.indexOf(":");
3176
3210
  return i > 0 ? n.has(r.slice(0, i)) : !0;
3177
3211
  };
3178
- return qa(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
3212
+ return Za(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
3179
3213
  }
3180
- var Ya = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
3181
- function Xa(e) {
3182
- return Ya.test(e);
3214
+ var $a = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
3215
+ function eo(e) {
3216
+ return $a.test(e);
3183
3217
  }
3184
3218
  //#endregion
3185
3219
  //#region src/utils/session-retention.ts
3186
3220
  var Z = 10080 * 60 * 1e3, Q = 4320 * 60 * 1e3;
3187
- function Za(e) {
3221
+ function to(e) {
3188
3222
  return Math.floor((e + Q) / Z);
3189
3223
  }
3190
3224
  function $(e) {
3191
3225
  return e * Z - Q;
3192
3226
  }
3193
- function Qa(e, t = Date.now()) {
3194
- let n = Za(t), r = n - e + 1;
3227
+ function no(e, t = Date.now()) {
3228
+ let n = to(t), r = n - e + 1;
3195
3229
  return {
3196
3230
  currentWeek: n,
3197
3231
  firstWeek: r,
3198
3232
  sinceMs: $(r)
3199
3233
  };
3200
3234
  }
3201
- function $a(e, t, n = Date.now()) {
3202
- let { currentWeek: r, firstWeek: i, sinceMs: a } = Qa(t, n), o = /* @__PURE__ */ new Map();
3235
+ function ro(e, t, n = Date.now()) {
3236
+ let { currentWeek: r, firstWeek: i, sinceMs: a } = no(t, n), o = /* @__PURE__ */ new Map();
3203
3237
  for (let t of e) {
3204
3238
  if (t.created_week < i || t.created_week > r) continue;
3205
3239
  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 +3256,8 @@ function $a(e, t, n = Date.now()) {
3222
3256
  cohorts: s
3223
3257
  };
3224
3258
  }
3225
- function eo(e, t, n = Date.now()) {
3226
- let r = $a(e, t, n);
3259
+ function io(e, t, n = Date.now()) {
3260
+ let r = ro(e, t, n);
3227
3261
  return {
3228
3262
  interval: r.interval,
3229
3263
  from: r.from,
@@ -3237,16 +3271,16 @@ function eo(e, t, n = Date.now()) {
3237
3271
  }
3238
3272
  //#endregion
3239
3273
  //#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);
3274
+ 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.";
3275
+ function co(e) {
3276
+ return ao.test(e);
3243
3277
  }
3244
- function ao(e) {
3278
+ function lo(e) {
3245
3279
  return e.toLowerCase();
3246
3280
  }
3247
- function oo(e, t) {
3248
- if (e.includes("@")) return ro;
3249
- if (!io(e)) return no;
3281
+ function uo(e, t) {
3282
+ if (e.includes("@")) return so;
3283
+ if (!co(e)) return oo;
3250
3284
  if (t) {
3251
3285
  let n = [...e].length;
3252
3286
  if (n < t.min) return `Username must be at least ${t.min} characters`;
@@ -3256,15 +3290,15 @@ function oo(e, t) {
3256
3290
  }
3257
3291
  //#endregion
3258
3292
  //#region src/utils/feature-not-supported.ts
3259
- var so = class extends Error {
3293
+ var fo = class extends Error {
3260
3294
  feature;
3261
3295
  adapter;
3262
3296
  constructor(e, t, n) {
3263
3297
  super(`${e} is not supported by the ${t} adapter.` + (n ? ` ${n}` : "")), this.name = "FeatureNotSupportedError", this.feature = e, this.adapter = t;
3264
3298
  }
3265
3299
  };
3266
- function co(e) {
3300
+ function po(e) {
3267
3301
  return e instanceof Error && e.name === "FeatureNotSupportedError";
3268
3302
  }
3269
3303
  //#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 };
3304
+ 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 };