@authhero/adapter-interfaces 4.19.0 → 4.21.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.
@@ -33,23 +33,23 @@ var t = e.object({
33
33
  name: e.string(),
34
34
  value: e.string().optional()
35
35
  })).optional()
36
- }).extend(t.shape), ee = e.object({ name: e.string() }), te = s.extend({ secrets: e.array(ee).optional() }), ne = e.string(), c = e.enum([
36
+ }).extend(t.shape), ee = e.object({ name: e.string() }), te = s.extend({ secrets: e.array(ee).optional() }), c = e.string(), l = e.enum([
37
37
  "unspecified",
38
38
  "pending",
39
39
  "final",
40
40
  "partial",
41
41
  "canceled",
42
42
  "suspended"
43
- ]), re = e.object({
43
+ ]), ne = e.object({
44
44
  id: e.string(),
45
45
  msg: e.string(),
46
46
  url: e.string().optional()
47
- }), ie = e.object({
47
+ }), re = e.object({
48
48
  action_name: e.string(),
49
- error: re.nullable(),
49
+ error: ne.nullable(),
50
50
  started_at: e.string(),
51
51
  ended_at: e.string()
52
- }), ae = e.object({
52
+ }), ie = e.object({
53
53
  level: e.enum([
54
54
  "log",
55
55
  "info",
@@ -58,23 +58,23 @@ var t = e.object({
58
58
  "debug"
59
59
  ]),
60
60
  message: e.string()
61
- }), oe = e.array(e.object({
61
+ }), ae = e.array(e.object({
62
62
  action_name: e.string(),
63
- lines: e.array(ae)
64
- })), se = e.object({
63
+ lines: e.array(ie)
64
+ })), oe = e.object({
65
65
  id: e.string(),
66
66
  tenant_id: e.string(),
67
- trigger_id: ne,
68
- status: c,
69
- results: e.array(ie),
70
- logs: oe.optional(),
67
+ trigger_id: c,
68
+ status: l,
69
+ results: e.array(re),
70
+ logs: ae.optional(),
71
71
  created_at: e.string(),
72
72
  updated_at: e.string()
73
- }), ce = se.omit({
73
+ }), se = oe.omit({
74
74
  tenant_id: !0,
75
75
  created_at: !0,
76
76
  updated_at: !0
77
- }), le = e.object({
77
+ }), ce = e.object({
78
78
  action_id: e.string(),
79
79
  code: e.string().max(1e5),
80
80
  runtime: e.string().max(50).optional(),
@@ -82,16 +82,16 @@ var t = e.object({
82
82
  secrets: e.array(i).optional(),
83
83
  supported_triggers: e.array(n).optional(),
84
84
  deployed: e.boolean().default(!0)
85
- }), ue = le.extend({
85
+ }), le = ce.extend({
86
86
  id: e.string(),
87
87
  tenant_id: e.string(),
88
88
  number: e.number().int()
89
- }).extend(t.shape), de = e.enum([
89
+ }).extend(t.shape), ue = e.enum([
90
90
  "user_action",
91
91
  "admin_action",
92
92
  "system",
93
93
  "api"
94
- ]), fe = e.object({
94
+ ]), de = e.object({
95
95
  type: e.enum([
96
96
  "user",
97
97
  "admin",
@@ -105,7 +105,7 @@ var t = e.object({
105
105
  org_name: e.string().optional(),
106
106
  scopes: e.array(e.string()).optional(),
107
107
  client_id: e.string().optional()
108
- }), pe = e.object({
108
+ }), fe = e.object({
109
109
  type: e.string(),
110
110
  id: e.string(),
111
111
  before: e.record(e.string(), e.unknown()).optional(),
@@ -114,7 +114,7 @@ var t = e.object({
114
114
  old: e.unknown(),
115
115
  new: e.unknown()
116
116
  })).optional()
117
- }), me = e.object({
117
+ }), pe = e.object({
118
118
  method: e.string(),
119
119
  path: e.string(),
120
120
  query: e.record(e.string(), e.string()).optional(),
@@ -124,30 +124,30 @@ var t = e.object({
124
124
  correlation_id: e.string().optional(),
125
125
  redirect_uri: e.string().optional(),
126
126
  authorization_url: e.string().optional()
127
- }), he = e.object({
127
+ }), me = e.object({
128
128
  status_code: e.number(),
129
129
  body: e.unknown().optional()
130
- }), ge = e.object({
130
+ }), he = e.object({
131
131
  country_code: e.string(),
132
132
  city_name: e.string(),
133
133
  latitude: e.string(),
134
134
  longitude: e.string(),
135
135
  time_zone: e.string(),
136
136
  continent_code: e.string()
137
- }), _e = e.object({
137
+ }), ge = e.object({
138
138
  name: e.string(),
139
139
  version: e.string(),
140
140
  env: e.record(e.string(), e.string()).optional()
141
- }), ve = e.object({
141
+ }), _e = e.object({
142
142
  tenant_id: e.string(),
143
143
  event_type: e.string(),
144
144
  log_type: e.string(),
145
145
  description: e.string().optional(),
146
- category: de,
147
- actor: fe,
148
- target: pe,
149
- request: me,
150
- response: he.optional(),
146
+ category: ue,
147
+ actor: de,
148
+ target: fe,
149
+ request: pe,
150
+ response: me.optional(),
151
151
  connection: e.string().optional(),
152
152
  connection_id: e.string().optional(),
153
153
  client_name: e.string().optional(),
@@ -155,30 +155,32 @@ var t = e.object({
155
155
  strategy_type: e.string().optional(),
156
156
  audience: e.string().optional(),
157
157
  scope: e.string().optional(),
158
- location: ge.optional(),
159
- auth0_client: _e.optional(),
158
+ location: he.optional(),
159
+ auth0_client: ge.optional(),
160
160
  hostname: e.string(),
161
161
  is_mobile: e.boolean().optional(),
162
162
  execution_id: e.string().optional(),
163
+ details: e.record(e.string(), e.unknown()).optional(),
164
+ login_session_id: e.string().optional(),
163
165
  timestamp: e.string()
164
- }), ye = ve.extend({ id: e.string() }), be = e.enum([
166
+ }), ve = _e.extend({ id: e.string() }), ye = e.enum([
165
167
  "AUTH0",
166
168
  "EMAIL",
167
169
  "REDIRECT"
168
- ]), xe = e.enum([
170
+ ]), be = e.enum([
169
171
  "CREATE_USER",
170
172
  "GET_USER",
171
173
  "UPDATE_USER",
172
174
  "SEND_REQUEST",
173
175
  "SEND_EMAIL"
174
- ]), Se = e.enum(["VERIFY_EMAIL"]), Ce = e.object({
176
+ ]), xe = e.enum(["VERIFY_EMAIL"]), Se = e.object({
175
177
  require_mx_record: e.boolean().optional(),
176
178
  block_aliases: e.boolean().optional(),
177
179
  block_free_emails: e.boolean().optional(),
178
180
  block_disposable_emails: e.boolean().optional(),
179
181
  blocklist: e.array(e.string()).optional(),
180
182
  allowlist: e.array(e.string()).optional()
181
- }), we = e.object({
183
+ }), Ce = e.object({
182
184
  id: e.string(),
183
185
  alias: e.string().max(100).optional(),
184
186
  type: e.literal("AUTH0"),
@@ -190,7 +192,7 @@ var t = e.object({
190
192
  user_id: e.string(),
191
193
  changes: e.record(e.string(), e.any())
192
194
  })
193
- }), Te = e.object({
195
+ }), we = e.object({
194
196
  id: e.string(),
195
197
  alias: e.string().max(100).optional(),
196
198
  type: e.literal("EMAIL"),
@@ -199,13 +201,13 @@ var t = e.object({
199
201
  mask_output: e.boolean().optional(),
200
202
  params: e.object({
201
203
  email: e.string(),
202
- rules: Ce.optional()
204
+ rules: Se.optional()
203
205
  })
204
- }), Ee = e.enum([
206
+ }), Te = e.enum([
205
207
  "change-email",
206
208
  "account",
207
209
  "custom"
208
- ]), De = e.object({
210
+ ]), Ee = e.object({
209
211
  id: e.string(),
210
212
  alias: e.string().max(100).optional(),
211
213
  type: e.literal("REDIRECT"),
@@ -213,32 +215,32 @@ var t = e.object({
213
215
  allow_failure: e.boolean().optional(),
214
216
  mask_output: e.boolean().optional(),
215
217
  params: e.object({
216
- target: Ee.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
218
+ target: Te.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
217
219
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
218
220
  })
219
- }), Oe = e.union([
221
+ }), De = e.union([
222
+ Ce,
220
223
  we,
221
- Te,
222
- De
223
- ]), ke = e.object({
224
+ Ee
225
+ ]), Oe = e.object({
224
226
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
225
- actions: e.array(Oe).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
226
- }), Ae = ke.extend(t.shape).extend({ id: e.string().openapi({
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({
227
229
  description: "Unique identifier for the flow",
228
230
  example: "af_12tMpdJ3iek7svMyZkSh5M"
229
- }) }), je = e.object({
231
+ }) }), Ae = e.object({
230
232
  page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
231
233
  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." }),
232
234
  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" }),
233
235
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
234
236
  q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
235
- }), Me = e.object({
237
+ }), je = e.object({
236
238
  start: e.number(),
237
239
  limit: e.number(),
238
240
  length: e.number(),
239
241
  total: e.number().optional(),
240
242
  next: e.string().optional()
241
- }), Ne = e.object({
243
+ }), u = e.object({
242
244
  email: e.string().optional(),
243
245
  email_verified: e.boolean().optional(),
244
246
  name: e.string().optional(),
@@ -247,7 +249,7 @@ var t = e.object({
247
249
  phone_number: e.string().optional(),
248
250
  phone_verified: e.boolean().optional(),
249
251
  family_name: e.string().optional()
250
- }).catchall(e.any()), Pe = e.object({
252
+ }).catchall(e.any()), Me = e.object({
251
253
  connection: e.string(),
252
254
  user_id: e.string(),
253
255
  provider: e.string(),
@@ -260,15 +262,15 @@ var t = e.object({
260
262
  access_token: e.string().optional(),
261
263
  access_token_secret: e.string().optional(),
262
264
  refresh_token: e.string().optional(),
263
- profileData: Ne.optional()
264
- }), Fe = e.object({
265
+ profileData: u.optional()
266
+ }), d = e.object({
265
267
  formatted: e.string().optional(),
266
268
  street_address: e.string().optional(),
267
269
  locality: e.string().optional(),
268
270
  region: e.string().optional(),
269
271
  postal_code: e.string().optional(),
270
272
  country: e.string().optional()
271
- }).optional(), l = e.object({
273
+ }).optional(), f = e.object({
272
274
  email: e.string().transform((e) => e.toLowerCase()).optional(),
273
275
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
274
276
  phone_number: e.string().optional(),
@@ -291,8 +293,8 @@ var t = e.object({
291
293
  gender: e.string().optional(),
292
294
  birthdate: e.string().optional(),
293
295
  zoneinfo: e.string().optional(),
294
- address: Fe
295
- }), Ie = l.extend({
296
+ address: d
297
+ }), p = f.extend({
296
298
  email_verified: e.boolean().default(!1),
297
299
  verify_email: e.boolean().optional(),
298
300
  last_ip: e.string().optional(),
@@ -307,29 +309,29 @@ var t = e.object({
307
309
  hash: e.string(),
308
310
  algorithm: e.string()
309
311
  }).optional()
310
- }), Le = Ie.omit({ password: !0 }).extend(t.shape).extend({
312
+ }), m = p.omit({ password: !0 }).extend(t.shape).extend({
311
313
  user_id: e.string(),
312
314
  provider: e.string(),
313
315
  is_social: e.boolean(),
314
316
  email: e.string().optional(),
315
317
  login_count: e.number().default(0),
316
- identities: e.array(Pe).optional()
317
- }), Re = Le.omit({ registration_completed_at: !0 }), ze = l.extend({
318
+ identities: e.array(Me).optional()
319
+ }), Ne = m.omit({ registration_completed_at: !0 }), Pe = f.extend({
318
320
  login_count: e.number(),
319
321
  multifactor: e.array(e.string()).optional(),
320
322
  last_ip: e.string().optional(),
321
323
  last_login: e.string().optional(),
322
324
  user_id: e.string()
323
- }).catchall(e.any()), Be = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ve = (e = 21) => {
325
+ }).catchall(e.any()), Fe = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ie = (e = 21) => {
324
326
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
325
- for (; e--;) t += Be[n[e] & 63];
327
+ for (; e--;) t += Fe[n[e] & 63];
326
328
  return t;
327
- }, He = e.object({
329
+ }, h = e.object({
328
330
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
329
331
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
330
332
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
331
333
  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)." }),
332
- client_secret: e.string().default(() => Ve()).optional().openapi({ description: "Client secret (which you must not make public)." }),
334
+ client_secret: e.string().default(() => Ie()).optional().openapi({ description: "Client secret (which you must not make public)." }),
333
335
  app_type: e.enum([
334
336
  "native",
335
337
  "spa",
@@ -443,10 +445,10 @@ var t = e.object({
443
445
  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." }),
444
446
  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." }),
445
447
  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." })
446
- }), Ue = e.object({
448
+ }), Le = e.object({
447
449
  created_at: e.string(),
448
450
  updated_at: e.string()
449
- }).extend(He.shape).extend({ client_id: e.string() }), We = e.object({
451
+ }).extend(h.shape).extend({ client_id: e.string() }), g = e.object({
450
452
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
451
453
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
452
454
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -459,38 +461,38 @@ var t = e.object({
459
461
  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." }),
460
462
  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." }),
461
463
  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." })
462
- }), Ge = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(We.shape).extend({
464
+ }), _ = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(g.shape).extend({
463
465
  created_at: e.string().optional(),
464
466
  updated_at: e.string().optional()
465
- }), Ke = e.array(Ge), qe = e.enum(["iat", "rat"]), Je = e.object({
467
+ }), Re = e.array(_), v = e.enum(["iat", "rat"]), y = e.object({
466
468
  id: e.string(),
467
469
  token_hash: e.string(),
468
- type: qe,
470
+ type: v,
469
471
  client_id: e.string().optional(),
470
472
  sub: e.string().optional(),
471
473
  constraints: e.record(e.string(), e.unknown()).optional(),
472
474
  single_use: e.boolean().default(!1),
473
475
  expires_at: e.string().optional()
474
- }), Ye = e.object({
476
+ }), ze = e.object({
475
477
  created_at: e.string(),
476
478
  used_at: e.string().optional(),
477
479
  revoked_at: e.string().optional()
478
- }).extend(Je.shape), u = e.object({
480
+ }).extend(y.shape), b = e.object({
479
481
  x: e.number(),
480
482
  y: e.number()
481
- }), d = /* @__PURE__ */ function(e) {
483
+ }), x = /* @__PURE__ */ function(e) {
482
484
  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;
483
- }({}), f = /* @__PURE__ */ function(e) {
485
+ }({}), S = /* @__PURE__ */ function(e) {
484
486
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
485
- }({}), p = e.object({
487
+ }({}), C = e.object({
486
488
  id: e.string(),
487
- category: e.nativeEnum(f),
488
- type: e.nativeEnum(d)
489
- }), m = p.extend({
489
+ category: e.nativeEnum(S),
490
+ type: e.nativeEnum(x)
491
+ }), Be = C.extend({
490
492
  category: e.literal("BLOCK"),
491
493
  type: e.literal("RICH_TEXT"),
492
494
  config: e.object({ content: e.string() }).passthrough()
493
- }), h = p.extend({
495
+ }), Ve = C.extend({
494
496
  category: e.literal("BLOCK"),
495
497
  type: e.union([
496
498
  e.literal("NEXT_BUTTON"),
@@ -498,13 +500,13 @@ var t = e.object({
498
500
  e.literal("SUBMIT_BUTTON")
499
501
  ]),
500
502
  config: e.object({ text: e.string() }).passthrough()
501
- }), g = p.extend({
503
+ }), He = C.extend({
502
504
  category: e.literal("FIELD"),
503
505
  type: e.literal("LEGAL"),
504
506
  required: e.boolean().optional(),
505
507
  sensitive: e.boolean().optional(),
506
508
  config: e.object({ text: e.string() }).passthrough()
507
- }), _ = p.extend({
509
+ }), Ue = C.extend({
508
510
  category: e.literal("FIELD"),
509
511
  type: e.union([
510
512
  e.literal("TEXT"),
@@ -524,40 +526,40 @@ var t = e.object({
524
526
  label: e.string().optional(),
525
527
  placeholder: e.string().optional()
526
528
  }).passthrough()
527
- }), v = e.object({
529
+ }), We = e.object({
528
530
  id: e.string(),
529
531
  category: e.string(),
530
532
  type: e.string()
531
- }).passthrough(), y = e.union([
532
- m,
533
- h,
534
- g,
535
- _,
536
- v
537
- ]), Xe = /* @__PURE__ */ function(e) {
533
+ }).passthrough(), Ge = e.union([
534
+ Be,
535
+ Ve,
536
+ He,
537
+ Ue,
538
+ We
539
+ ]), Ke = /* @__PURE__ */ function(e) {
538
540
  return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
539
- }({}), b = e.object({
541
+ }({}), qe = e.object({
540
542
  id: e.string(),
541
543
  type: e.literal("STEP"),
542
- coordinates: u,
544
+ coordinates: b,
543
545
  alias: e.string().optional(),
544
546
  config: e.object({
545
- components: e.array(y),
547
+ components: e.array(Ge),
546
548
  next_node: e.string()
547
549
  }).passthrough()
548
- }), x = e.object({
550
+ }), Je = e.object({
549
551
  id: e.string(),
550
552
  type: e.literal("FLOW"),
551
- coordinates: u,
553
+ coordinates: b,
552
554
  alias: e.string().optional(),
553
555
  config: e.object({
554
556
  flow_id: e.string(),
555
557
  next_node: e.string()
556
558
  })
557
- }), S = e.object({
559
+ }), Ye = e.object({
558
560
  id: e.string(),
559
561
  type: e.literal("ACTION"),
560
- coordinates: u,
562
+ coordinates: b,
561
563
  alias: e.string().optional(),
562
564
  config: e.object({
563
565
  action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
@@ -569,56 +571,56 @@ var t = e.object({
569
571
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
570
572
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
571
573
  }).passthrough()
572
- }), Ze = e.object({
574
+ }), Xe = e.object({
573
575
  id: e.string(),
574
576
  type: e.string(),
575
- coordinates: u
576
- }).passthrough(), Qe = e.union([
577
- b,
578
- x,
579
- S,
580
- Ze
581
- ]), $e = e.object({
577
+ coordinates: b
578
+ }).passthrough(), Ze = e.union([
579
+ qe,
580
+ Je,
581
+ Ye,
582
+ Xe
583
+ ]), Qe = e.object({
582
584
  next_node: e.string(),
583
- coordinates: u
584
- }).passthrough(), et = e.object({
585
+ coordinates: b
586
+ }).passthrough(), $e = e.object({
585
587
  resume_flow: e.boolean().optional(),
586
- coordinates: u
587
- }).passthrough(), tt = e.object({
588
+ coordinates: b
589
+ }).passthrough(), et = e.object({
588
590
  id: e.string(),
589
591
  name: e.string(),
590
592
  languages: e.object({ primary: e.string() }).passthrough(),
591
- nodes: e.array(Qe),
592
- start: $e,
593
- ending: et,
593
+ nodes: e.array(Ze),
594
+ start: Qe,
595
+ ending: $e,
594
596
  created_at: e.string(),
595
597
  updated_at: e.string(),
596
598
  links: e.object({
597
599
  sdkSrc: e.string().optional(),
598
600
  sdk_src: e.string().optional()
599
601
  }).passthrough()
600
- }).passthrough(), nt = tt.omit({
602
+ }).passthrough(), tt = et.omit({
601
603
  id: !0,
602
604
  created_at: !0,
603
605
  updated_at: !0
604
- }), C = /* @__PURE__ */ function(e) {
606
+ }), w = /* @__PURE__ */ function(e) {
605
607
  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;
606
- }({}), w = /* @__PURE__ */ function(e) {
608
+ }({}), T = /* @__PURE__ */ function(e) {
607
609
  return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
608
- }({}), rt = /* @__PURE__ */ function(e) {
610
+ }({}), nt = /* @__PURE__ */ function(e) {
609
611
  return e.S256 = "S256", e.Plain = "plain", e;
610
- }({}), it = e.union([e.null(), e.object({
612
+ }({}), rt = e.union([e.null(), e.object({
611
613
  essential: e.boolean().optional(),
612
614
  value: e.unknown().optional(),
613
615
  values: e.array(e.unknown()).optional()
614
- })]).nullable(), at = e.object({
615
- userinfo: e.record(e.string(), it).optional(),
616
- id_token: e.record(e.string(), it).optional()
617
- }), ot = e.object({
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({
618
620
  client_id: e.string(),
619
621
  act_as: e.string().optional(),
620
- response_type: e.nativeEnum(C).optional(),
621
- response_mode: e.nativeEnum(w).optional(),
622
+ response_type: e.nativeEnum(w).optional(),
623
+ response_mode: e.nativeEnum(T).optional(),
622
624
  redirect_uri: e.string().optional(),
623
625
  audience: e.string().optional(),
624
626
  organization: e.string().optional(),
@@ -626,15 +628,15 @@ var t = e.object({
626
628
  nonce: e.string().optional(),
627
629
  scope: e.string().optional(),
628
630
  prompt: e.string().optional(),
629
- code_challenge_method: e.nativeEnum(rt).optional(),
631
+ code_challenge_method: e.nativeEnum(nt).optional(),
630
632
  code_challenge: e.string().optional(),
631
633
  username: e.string().optional(),
632
634
  ui_locales: e.string().optional(),
633
635
  max_age: e.number().optional(),
634
636
  acr_values: e.string().optional(),
635
- claims: at.optional(),
637
+ claims: it.optional(),
636
638
  vendor_id: e.string().optional()
637
- }), st = e.object({
639
+ }), ot = e.object({
638
640
  colors: e.object({
639
641
  primary: e.string(),
640
642
  page_background: e.union([e.string(), e.object({
@@ -653,7 +655,7 @@ var t = e.object({
653
655
  "light",
654
656
  "auto"
655
657
  ]).optional()
656
- }), ct = e.enum([
658
+ }), st = e.enum([
657
659
  "password_reset",
658
660
  "email_verification",
659
661
  "otp",
@@ -663,11 +665,11 @@ var t = e.object({
663
665
  "ticket",
664
666
  "client_assertion_jti",
665
667
  "subject_token_jti"
666
- ]), lt = e.object({
668
+ ]), ct = e.object({
667
669
  code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
668
670
  login_id: e.string().optional().openapi({ description: "The id of the login session that the code is connected to" }),
669
671
  connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
670
- code_type: ct,
672
+ code_type: st,
671
673
  code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
672
674
  code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
673
675
  code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
@@ -678,7 +680,7 @@ var t = e.object({
678
680
  expires_at: e.string(),
679
681
  used_at: e.string().optional(),
680
682
  user_id: e.string().optional()
681
- }), ut = lt.extend({ created_at: e.string() }), dt = e.object({
683
+ }), lt = ct.extend({ created_at: e.string() }), ut = e.object({
682
684
  kid: e.string().optional(),
683
685
  team_id: e.string().optional(),
684
686
  realms: e.string().optional(),
@@ -798,35 +800,35 @@ var t = e.object({
798
800
  "never_on_login"
799
801
  ]).optional()
800
802
  });
801
- function T(e) {
803
+ function E(e) {
802
804
  if (e !== null) {
803
- if (Array.isArray(e)) return e.filter((e) => e !== null).map(T);
805
+ if (Array.isArray(e)) return e.filter((e) => e !== null).map(E);
804
806
  if (e && typeof e == "object") {
805
807
  let t = {};
806
- for (let [n, r] of Object.entries(e)) r !== null && (t[n] = T(r));
808
+ for (let [n, r] of Object.entries(e)) r !== null && (t[n] = E(r));
807
809
  return t;
808
810
  }
809
811
  return e;
810
812
  }
811
813
  }
812
- var ft = e.object({
814
+ var dt = e.object({
813
815
  id: e.string().optional(),
814
816
  name: e.string(),
815
817
  display_name: e.string().optional(),
816
818
  strategy: e.string(),
817
- options: e.preprocess((e) => e === null ? {} : T(e), dt).default({}),
819
+ options: e.preprocess((e) => e === null ? {} : E(e), ut).default({}),
818
820
  enabled_clients: e.array(e.string()).default([]).optional(),
819
- response_type: e.nativeEnum(C).optional(),
820
- response_mode: e.nativeEnum(w).optional(),
821
+ response_type: e.nativeEnum(w).optional(),
822
+ response_mode: e.nativeEnum(T).optional(),
821
823
  is_domain_connection: e.boolean().optional(),
822
824
  show_as_button: e.boolean().optional(),
823
825
  metadata: e.record(e.string(), e.any()).optional(),
824
826
  is_system: e.boolean().optional()
825
- }), pt = e.object({
827
+ }), ft = e.object({
826
828
  id: e.string(),
827
829
  created_at: e.string().transform((e) => e === null ? "" : e),
828
830
  updated_at: e.string().transform((e) => e === null ? "" : e)
829
- }).extend(ft.shape), E = e.object({
831
+ }).extend(dt.shape), D = e.object({
830
832
  domain: e.string(),
831
833
  custom_domain_id: e.string().optional(),
832
834
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -840,7 +842,7 @@ var ft = e.object({
840
842
  "null"
841
843
  ]).optional(),
842
844
  domain_metadata: e.record(e.string(), e.string().max(255)).optional()
843
- }), mt = e.discriminatedUnion("name", [e.object({
845
+ }), pt = e.discriminatedUnion("name", [e.object({
844
846
  name: e.literal("txt"),
845
847
  record: e.string(),
846
848
  domain: e.string()
@@ -848,7 +850,7 @@ var ft = e.object({
848
850
  name: e.literal("http"),
849
851
  http_body: e.string(),
850
852
  http_url: e.string()
851
- })]), ht = E.extend({
853
+ })]), mt = D.extend({
852
854
  custom_domain_id: e.string(),
853
855
  primary: e.boolean(),
854
856
  status: e.enum([
@@ -858,26 +860,26 @@ var ft = e.object({
858
860
  "ready"
859
861
  ]),
860
862
  origin_domain_name: e.string().optional(),
861
- verification: e.object({ methods: e.array(mt) }).optional(),
863
+ verification: e.object({ methods: e.array(pt) }).optional(),
862
864
  tls_policy: e.string().optional()
863
- }), gt = E.pick({
865
+ }), ht = D.pick({
864
866
  tls_policy: !0,
865
867
  custom_client_ip_header: !0,
866
868
  domain_metadata: !0
867
- }).strict(), _t = ht.extend({ tenant_id: e.string() }), vt = e.object({
869
+ }).strict(), gt = mt.extend({ tenant_id: e.string() }), _t = e.object({
868
870
  certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
869
871
  private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
870
- }), D = e.object({
872
+ }), O = e.object({
871
873
  id: e.string(),
872
874
  order: e.number().optional(),
873
875
  visible: e.boolean().optional().default(!0)
874
- }), O = D.extend({ category: e.literal("BLOCK").optional() }), yt = O.extend({
876
+ }), k = O.extend({ category: e.literal("BLOCK").optional() }), vt = k.extend({
875
877
  type: e.literal("DIVIDER"),
876
878
  config: e.object({ text: e.string().optional() }).optional()
877
- }), bt = O.extend({
879
+ }), yt = k.extend({
878
880
  type: e.literal("HTML"),
879
881
  config: e.object({ content: e.string().optional() }).optional()
880
- }), xt = O.extend({
882
+ }), bt = k.extend({
881
883
  type: e.literal("IMAGE"),
882
884
  config: e.object({
883
885
  src: e.string().optional(),
@@ -885,47 +887,47 @@ var ft = e.object({
885
887
  width: e.number().optional(),
886
888
  height: e.number().optional()
887
889
  }).optional()
888
- }), St = O.extend({
890
+ }), xt = k.extend({
889
891
  type: e.literal("JUMP_BUTTON"),
890
892
  config: e.object({
891
893
  text: e.string().optional(),
892
894
  target_step: e.string().optional()
893
895
  })
894
- }), Ct = O.extend({
896
+ }), St = k.extend({
895
897
  type: e.literal("RESEND_BUTTON"),
896
898
  config: e.object({
897
899
  text: e.string().optional(),
898
900
  resend_action: e.string().optional()
899
901
  })
900
- }), wt = O.extend({
902
+ }), Ct = k.extend({
901
903
  type: e.literal("NEXT_BUTTON"),
902
904
  config: e.object({
903
905
  text: e.string().optional(),
904
906
  variant: e.enum(["primary", "secondary"]).optional(),
905
907
  skip_validation: e.boolean().optional()
906
908
  })
907
- }), Tt = O.extend({
909
+ }), wt = k.extend({
908
910
  type: e.literal("PREVIOUS_BUTTON"),
909
911
  config: e.object({ text: e.string().optional() })
910
- }), Et = O.extend({
912
+ }), Tt = k.extend({
911
913
  type: e.literal("RICH_TEXT"),
912
914
  config: e.object({ content: e.string().optional() }).optional()
913
- }), k = D.extend({
915
+ }), A = O.extend({
914
916
  category: e.literal("WIDGET").optional(),
915
917
  label: e.string().min(1).optional(),
916
918
  hint: e.string().min(1).max(500).optional(),
917
919
  required: e.boolean().optional(),
918
920
  sensitive: e.boolean().optional()
919
- }), Dt = k.extend({
921
+ }), Et = A.extend({
920
922
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
921
923
  config: e.object({ credential_type: e.string().optional() })
922
- }), Ot = k.extend({
924
+ }), Dt = A.extend({
923
925
  type: e.literal("GMAPS_ADDRESS"),
924
926
  config: e.object({ api_key: e.string().optional() })
925
- }), kt = k.extend({
927
+ }), Ot = A.extend({
926
928
  type: e.literal("RECAPTCHA"),
927
929
  config: e.object({ site_key: e.string().optional() })
928
- }), A = D.extend({
930
+ }), j = O.extend({
929
931
  category: e.literal("FIELD").optional(),
930
932
  label: e.string().min(1).optional(),
931
933
  hint: e.string().min(1).max(500).optional(),
@@ -941,10 +943,10 @@ var ft = e.object({
941
943
  })).optional(),
942
944
  required: e.boolean().optional(),
943
945
  sensitive: e.boolean().optional()
944
- }), At = A.extend({
946
+ }), kt = j.extend({
945
947
  type: e.literal("BOOLEAN"),
946
948
  config: e.object({ default_value: e.boolean().optional() }).optional()
947
- }), jt = A.extend({
949
+ }), At = j.extend({
948
950
  type: e.literal("CARDS"),
949
951
  config: e.object({
950
952
  options: e.array(e.object({
@@ -955,7 +957,7 @@ var ft = e.object({
955
957
  })).optional(),
956
958
  multi_select: e.boolean().optional()
957
959
  }).optional()
958
- }), Mt = A.extend({
960
+ }), jt = j.extend({
959
961
  type: e.literal("CHOICE"),
960
962
  config: e.object({
961
963
  options: e.array(e.object({
@@ -966,7 +968,7 @@ var ft = e.object({
966
968
  multiple: e.boolean().optional(),
967
969
  default_value: e.union([e.string(), e.array(e.string())]).optional()
968
970
  }).optional()
969
- }), Nt = A.extend({
971
+ }), Mt = j.extend({
970
972
  type: e.literal("CODE"),
971
973
  config: e.object({
972
974
  length: e.number().int().positive().max(100).optional(),
@@ -983,7 +985,7 @@ var ft = e.object({
983
985
  message: "default_value is longer than the configured length",
984
986
  path: ["default_value"]
985
987
  }).optional()
986
- }), Pt = A.extend({
988
+ }), Nt = j.extend({
987
989
  type: e.literal("CUSTOM"),
988
990
  config: e.object({
989
991
  component: e.string().optional(),
@@ -991,7 +993,7 @@ var ft = e.object({
991
993
  schema: e.record(e.string(), e.any()).optional(),
992
994
  code: e.string().optional()
993
995
  })
994
- }), Ft = A.extend({
996
+ }), Pt = j.extend({
995
997
  type: e.literal("DATE"),
996
998
  config: e.object({
997
999
  format: e.string().optional(),
@@ -999,7 +1001,7 @@ var ft = e.object({
999
1001
  max: e.string().optional(),
1000
1002
  default_value: e.string().optional()
1001
1003
  }).optional()
1002
- }), It = A.extend({
1004
+ }), Ft = j.extend({
1003
1005
  type: e.literal("DROPDOWN"),
1004
1006
  config: e.object({
1005
1007
  options: e.array(e.object({
@@ -1011,7 +1013,7 @@ var ft = e.object({
1011
1013
  multiple: e.boolean().optional(),
1012
1014
  default_value: e.union([e.string(), e.array(e.string())]).optional()
1013
1015
  }).optional()
1014
- }), Lt = A.extend({
1016
+ }), It = j.extend({
1015
1017
  type: e.literal("EMAIL"),
1016
1018
  config: e.object({
1017
1019
  placeholder: e.string().optional(),
@@ -1019,20 +1021,20 @@ var ft = e.object({
1019
1021
  last_used: e.boolean().optional(),
1020
1022
  last_used_label: e.string().optional()
1021
1023
  }).optional()
1022
- }), Rt = A.extend({
1024
+ }), Lt = j.extend({
1023
1025
  type: e.literal("FILE"),
1024
1026
  config: e.object({
1025
1027
  accept: e.string().optional(),
1026
1028
  max_size: e.number().optional(),
1027
1029
  multiple: e.boolean().optional()
1028
1030
  }).optional()
1029
- }), zt = A.extend({
1031
+ }), Rt = j.extend({
1030
1032
  type: e.literal("LEGAL"),
1031
1033
  config: e.object({
1032
1034
  text: e.string(),
1033
1035
  html: e.boolean().optional()
1034
1036
  }).optional()
1035
- }), Bt = A.extend({
1037
+ }), zt = j.extend({
1036
1038
  type: e.literal("NUMBER"),
1037
1039
  config: e.object({
1038
1040
  placeholder: e.string().optional(),
@@ -1041,7 +1043,7 @@ var ft = e.object({
1041
1043
  step: e.number().optional(),
1042
1044
  default_value: e.string().optional()
1043
1045
  }).optional()
1044
- }), Vt = A.extend({
1046
+ }), Bt = j.extend({
1045
1047
  type: e.literal("PASSWORD"),
1046
1048
  config: e.object({
1047
1049
  placeholder: e.string().optional(),
@@ -1050,13 +1052,13 @@ var ft = e.object({
1050
1052
  forgot_password_link: e.string().optional(),
1051
1053
  default_value: e.string().optional()
1052
1054
  }).optional()
1053
- }), Ht = A.extend({
1055
+ }), Vt = j.extend({
1054
1056
  type: e.literal("PAYMENT"),
1055
1057
  config: e.object({
1056
1058
  provider: e.string().optional(),
1057
1059
  currency: e.string().optional()
1058
1060
  }).optional()
1059
- }), Ut = A.extend({
1061
+ }), Ht = j.extend({
1060
1062
  type: e.literal("SOCIAL"),
1061
1063
  config: e.object({
1062
1064
  providers: e.array(e.string()).optional(),
@@ -1071,7 +1073,7 @@ var ft = e.object({
1071
1073
  last_used_label: e.string().optional()
1072
1074
  })).optional()
1073
1075
  }).optional()
1074
- }), Wt = A.extend({
1076
+ }), Ut = j.extend({
1075
1077
  type: e.literal("TEL"),
1076
1078
  config: e.object({
1077
1079
  placeholder: e.string().optional(),
@@ -1079,7 +1081,7 @@ var ft = e.object({
1079
1081
  default_value: e.string().optional(),
1080
1082
  allow_email: e.boolean().optional()
1081
1083
  }).optional()
1082
- }), Gt = A.extend({
1084
+ }), Wt = j.extend({
1083
1085
  type: e.literal("TEXT"),
1084
1086
  config: e.object({
1085
1087
  placeholder: e.string().optional(),
@@ -1089,37 +1091,38 @@ var ft = e.object({
1089
1091
  last_used: e.boolean().optional(),
1090
1092
  last_used_label: e.string().optional()
1091
1093
  }).optional()
1092
- }), Kt = A.extend({
1094
+ }), Gt = j.extend({
1093
1095
  type: e.literal("COUNTRY"),
1094
1096
  config: e.object({
1095
1097
  placeholder: e.string().optional(),
1096
1098
  default_value: e.string().optional()
1097
1099
  }).optional()
1098
- }), qt = A.extend({
1100
+ }), Kt = j.extend({
1099
1101
  type: e.literal("URL"),
1100
1102
  config: e.object({
1101
1103
  placeholder: e.string().optional(),
1102
1104
  default_value: e.string().optional()
1103
1105
  }).optional()
1104
- }), Jt = e.discriminatedUnion("type", [
1106
+ }), qt = e.discriminatedUnion("type", [
1107
+ vt,
1105
1108
  yt,
1106
1109
  bt,
1107
1110
  xt,
1108
1111
  St,
1109
1112
  Ct,
1110
1113
  wt,
1111
- Tt,
1112
- Et
1113
- ]), Yt = e.discriminatedUnion("type", [
1114
+ Tt
1115
+ ]), Jt = e.discriminatedUnion("type", [
1116
+ Et,
1114
1117
  Dt,
1115
- Ot,
1116
- kt
1117
- ]), Xt = e.discriminatedUnion("type", [
1118
+ Ot
1119
+ ]), Yt = e.discriminatedUnion("type", [
1120
+ kt,
1118
1121
  At,
1119
1122
  jt,
1120
1123
  Mt,
1124
+ Gt,
1121
1125
  Nt,
1122
- Kt,
1123
1126
  Pt,
1124
1127
  Ft,
1125
1128
  It,
@@ -1131,13 +1134,12 @@ var ft = e.object({
1131
1134
  Ht,
1132
1135
  Ut,
1133
1136
  Wt,
1134
- Gt,
1135
- qt
1136
- ]), j = e.union([
1137
+ Kt
1138
+ ]), M = e.union([
1139
+ qt,
1137
1140
  Jt,
1138
- Yt,
1139
- Xt
1140
- ]), Zt = new Set([
1141
+ Yt
1142
+ ]), Xt = new Set([
1141
1143
  "BOOLEAN",
1142
1144
  "CARDS",
1143
1145
  "CHOICE",
@@ -1152,7 +1154,7 @@ var ft = e.object({
1152
1154
  "TEL",
1153
1155
  "TEXT",
1154
1156
  "URL"
1155
- ]), Qt = e.object({
1157
+ ]), Zt = e.object({
1156
1158
  id: e.string(),
1157
1159
  type: e.literal("submit"),
1158
1160
  label: e.string(),
@@ -1161,22 +1163,22 @@ var ft = e.object({
1161
1163
  order: e.number().optional(),
1162
1164
  visible: e.boolean().optional().default(!0),
1163
1165
  customizations: e.record(e.string(), e.any()).optional()
1164
- }), M = e.object({
1166
+ }), N = e.object({
1165
1167
  x: e.number(),
1166
1168
  y: e.number()
1167
- }), $t = e.object({
1169
+ }), Qt = e.object({
1168
1170
  id: e.string(),
1169
1171
  type: e.literal("FLOW"),
1170
- coordinates: M,
1172
+ coordinates: N,
1171
1173
  alias: e.string().min(1).max(150).optional(),
1172
1174
  config: e.object({
1173
1175
  flow_id: e.string().max(30),
1174
1176
  next_node: e.string().optional()
1175
1177
  })
1176
- }), en = e.object({
1178
+ }), $t = e.object({
1177
1179
  id: e.string(),
1178
1180
  type: e.literal("ROUTER"),
1179
- coordinates: M,
1181
+ coordinates: N,
1180
1182
  alias: e.string().min(1).max(150),
1181
1183
  config: e.object({
1182
1184
  rules: e.array(e.object({
@@ -1187,20 +1189,20 @@ var ft = e.object({
1187
1189
  })),
1188
1190
  fallback: e.string()
1189
1191
  })
1190
- }), tn = e.object({
1192
+ }), en = e.object({
1191
1193
  id: e.string(),
1192
1194
  type: e.literal("STEP"),
1193
- coordinates: M,
1195
+ coordinates: N,
1194
1196
  alias: e.string().min(1).max(150).optional(),
1195
1197
  config: e.object({
1196
- components: e.array(j),
1198
+ components: e.array(M),
1197
1199
  next_node: e.string().optional()
1198
1200
  })
1199
- }), nn = e.discriminatedUnion("type", [
1201
+ }), tn = e.discriminatedUnion("type", [
1202
+ Qt,
1200
1203
  $t,
1201
- en,
1202
- tn
1203
- ]), rn = e.object({
1204
+ en
1205
+ ]), nn = e.object({
1204
1206
  name: e.string().openapi({ description: "The name of the form" }),
1205
1207
  messages: e.object({
1206
1208
  errors: e.record(e.string(), e.any()).optional(),
@@ -1211,14 +1213,14 @@ var ft = e.object({
1211
1213
  default: e.string().optional()
1212
1214
  }).optional(),
1213
1215
  translations: e.record(e.string(), e.any()).optional(),
1214
- nodes: e.array(nn).optional(),
1216
+ nodes: e.array(tn).optional(),
1215
1217
  start: e.object({
1216
1218
  hidden_fields: e.array(e.object({
1217
1219
  key: e.string(),
1218
1220
  value: e.string()
1219
1221
  })).optional(),
1220
1222
  next_node: e.string().optional(),
1221
- coordinates: M.optional()
1223
+ coordinates: N.optional()
1222
1224
  }).optional(),
1223
1225
  ending: e.object({
1224
1226
  redirection: e.object({
@@ -1226,7 +1228,7 @@ var ft = e.object({
1226
1228
  target: e.string().optional()
1227
1229
  }).optional(),
1228
1230
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1229
- coordinates: M.optional(),
1231
+ coordinates: N.optional(),
1230
1232
  resume_flow: e.boolean().optional()
1231
1233
  }).optional(),
1232
1234
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1234,7 +1236,7 @@ var ft = e.object({
1234
1236
  sdkSrc: e.string().optional(),
1235
1237
  sdk_src: e.string().optional()
1236
1238
  }).optional()
1237
- }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), an = t.extend(rn.shape).extend({ id: e.string() }), on = e.object({
1239
+ }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), rn = t.extend(nn.shape).extend({ id: e.string() }), an = e.object({
1238
1240
  id: e.number().optional(),
1239
1241
  text: e.string(),
1240
1242
  type: e.enum([
@@ -1243,20 +1245,28 @@ var ft = e.object({
1243
1245
  "success",
1244
1246
  "warning"
1245
1247
  ])
1246
- }), sn = e.object({
1248
+ }), on = e.object({
1247
1249
  id: e.string().optional(),
1248
1250
  text: e.string(),
1249
1251
  href: e.string(),
1250
1252
  linkText: e.string().optional()
1251
- }), cn = e.object({
1253
+ }), sn = e.object({
1254
+ "form-content-start": e.string().optional(),
1255
+ "form-content-end": e.string().optional(),
1256
+ "form-footer-start": e.string().optional(),
1257
+ "form-footer-end": e.string().optional(),
1258
+ "secondary-actions-start": e.string().optional(),
1259
+ "secondary-actions-end": e.string().optional()
1260
+ }).strict(), cn = e.object({
1252
1261
  name: e.string().optional(),
1253
1262
  action: e.string(),
1254
1263
  method: e.enum(["POST", "GET"]),
1255
1264
  title: e.string().optional(),
1256
1265
  description: e.string().optional(),
1257
- components: e.array(j),
1258
- messages: e.array(on).optional(),
1259
- links: e.array(sn).optional(),
1266
+ components: e.array(M),
1267
+ messages: e.array(an).optional(),
1268
+ links: e.array(on).optional(),
1269
+ partials: sn.optional(),
1260
1270
  footer: e.string().optional()
1261
1271
  });
1262
1272
  function ln(e) {
@@ -1270,7 +1280,7 @@ function dn(e) {
1270
1280
  }
1271
1281
  //#endregion
1272
1282
  //#region src/types/Hook.ts
1273
- var N = e.enum([
1283
+ var P = e.enum([
1274
1284
  "pre-user-registration",
1275
1285
  "post-user-registration",
1276
1286
  "post-user-login",
@@ -1278,36 +1288,36 @@ var N = e.enum([
1278
1288
  "validate-registration-username",
1279
1289
  "pre-user-deletion",
1280
1290
  "post-user-deletion"
1281
- ]), P = e.enum(["post-user-login"]), F = e.enum([
1291
+ ]), F = e.enum(["post-user-login"]), I = e.enum([
1282
1292
  "post-user-login",
1283
1293
  "post-user-registration",
1284
1294
  "post-user-update",
1285
1295
  "credentials-exchange"
1286
- ]), I = e.enum([
1296
+ ]), L = e.enum([
1287
1297
  "post-user-login",
1288
1298
  "credentials-exchange",
1289
1299
  "pre-user-registration",
1290
1300
  "post-user-registration"
1291
- ]), L = e.enum(["post-user-login"]), fn = [
1301
+ ]), R = e.enum(["post-user-login"]), fn = [
1292
1302
  {
1293
1303
  field: "url",
1294
- triggers: N.options
1304
+ triggers: P.options
1295
1305
  },
1296
1306
  {
1297
1307
  field: "form_id",
1298
- triggers: P.options
1308
+ triggers: F.options
1299
1309
  },
1300
1310
  {
1301
1311
  field: "template_id",
1302
- triggers: F.options
1312
+ triggers: I.options
1303
1313
  },
1304
1314
  {
1305
1315
  field: "code_id",
1306
- triggers: I.options
1316
+ triggers: L.options
1307
1317
  },
1308
1318
  {
1309
1319
  field: "page_id",
1310
- triggers: L.options
1320
+ triggers: R.options
1311
1321
  }
1312
1322
  ];
1313
1323
  function pn(e) {
@@ -1315,7 +1325,7 @@ function pn(e) {
1315
1325
  for (let t of fn) if (typeof Reflect.get(e, t.field) == "string") return t.triggers;
1316
1326
  }
1317
1327
  }
1318
- var R = e.enum(["impersonate"]), z = e.enum([
1328
+ var z = e.enum(["impersonate"]), B = e.enum([
1319
1329
  "ensure-username",
1320
1330
  "set-preferred-username",
1321
1331
  "account-linking"
@@ -1339,32 +1349,32 @@ var R = e.enum(["impersonate"]), z = e.enum([
1339
1349
  "post-user-update"
1340
1350
  ]
1341
1351
  }
1342
- }, B = {
1352
+ }, V = {
1343
1353
  enabled: e.boolean().default(!1),
1344
1354
  synchronous: e.boolean().default(!1),
1345
1355
  priority: e.number().optional(),
1346
1356
  hook_id: e.string().optional(),
1347
1357
  metadata: e.record(e.string(), e.unknown()).optional()
1348
1358
  }, hn = e.object({
1349
- ...B,
1350
- trigger_id: N,
1359
+ ...V,
1360
+ trigger_id: P,
1351
1361
  url: e.string()
1352
1362
  }), gn = e.object({
1353
- ...B,
1354
- trigger_id: P,
1363
+ ...V,
1364
+ trigger_id: F,
1355
1365
  form_id: e.string()
1356
1366
  }), _n = e.object({
1357
- ...B,
1358
- trigger_id: F,
1359
- template_id: z
1360
- }), vn = e.object({
1361
- ...B,
1367
+ ...V,
1362
1368
  trigger_id: I,
1369
+ template_id: B
1370
+ }), vn = e.object({
1371
+ ...V,
1372
+ trigger_id: L,
1363
1373
  code_id: e.string()
1364
1374
  }), yn = e.object({
1365
- ...B,
1366
- trigger_id: L,
1367
- page_id: R,
1375
+ ...V,
1376
+ trigger_id: R,
1377
+ page_id: z,
1368
1378
  permission_required: e.string().optional()
1369
1379
  }), bn = e.union([
1370
1380
  hn,
@@ -1373,35 +1383,35 @@ var R = e.enum(["impersonate"]), z = e.enum([
1373
1383
  vn,
1374
1384
  yn
1375
1385
  ]), xn = e.object({
1376
- ...B,
1377
- trigger_id: N
1386
+ ...V,
1387
+ trigger_id: P
1378
1388
  }).extend(t.shape).extend({
1379
1389
  hook_id: e.string(),
1380
1390
  url: e.string()
1381
1391
  }), Sn = e.object({
1382
- ...B,
1383
- trigger_id: P
1392
+ ...V,
1393
+ trigger_id: F
1384
1394
  }).extend(t.shape).extend({
1385
1395
  hook_id: e.string(),
1386
1396
  form_id: e.string()
1387
1397
  }), Cn = e.object({
1388
- ...B,
1389
- trigger_id: F
1398
+ ...V,
1399
+ trigger_id: I
1390
1400
  }).extend(t.shape).extend({
1391
1401
  hook_id: e.string(),
1392
- template_id: z
1402
+ template_id: B
1393
1403
  }), wn = e.object({
1394
- ...B,
1395
- trigger_id: I
1404
+ ...V,
1405
+ trigger_id: L
1396
1406
  }).extend(t.shape).extend({
1397
1407
  hook_id: e.string(),
1398
1408
  code_id: e.string()
1399
1409
  }), Tn = e.object({
1400
- ...B,
1401
- trigger_id: L
1410
+ ...V,
1411
+ trigger_id: R
1402
1412
  }).extend(t.shape).extend({
1403
1413
  hook_id: e.string(),
1404
- page_id: R,
1414
+ page_id: z,
1405
1415
  permission_required: e.string().optional()
1406
1416
  }), En = e.union([
1407
1417
  xn,
@@ -1504,13 +1514,13 @@ var R = e.enum(["impersonate"]), z = e.enum([
1504
1514
  backchannel_logout_session_supported: e.boolean().optional()
1505
1515
  }), In = /* @__PURE__ */ function(e) {
1506
1516
  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;
1507
- }({}), Ln = e.nativeEnum(In), V = e.object({
1517
+ }({}), Ln = e.nativeEnum(In), H = e.object({
1508
1518
  strategy: e.string(),
1509
1519
  strategy_type: e.string()
1510
1520
  }), Rn = e.object({
1511
1521
  csrf_token: e.string(),
1512
1522
  auth0Client: e.string().optional(),
1513
- authParams: ot,
1523
+ authParams: at,
1514
1524
  expires_at: e.string(),
1515
1525
  deleted_at: e.string().optional(),
1516
1526
  ip: e.string().optional(),
@@ -1522,13 +1532,13 @@ var R = e.enum(["impersonate"]), z = e.enum([
1522
1532
  failure_reason: e.string().optional(),
1523
1533
  user_id: e.string().optional(),
1524
1534
  auth_connection: e.string().optional(),
1525
- auth_strategy: V.optional(),
1535
+ auth_strategy: H.optional(),
1526
1536
  authenticated_at: e.string().optional()
1527
1537
  }).openapi({ description: "This represents a login sesion" }), zn = Rn.extend({
1528
1538
  id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
1529
1539
  created_at: e.string(),
1530
1540
  updated_at: e.string()
1531
- }), H = {
1541
+ }), U = {
1532
1542
  ACLS_SUMMARY: "acls_summary",
1533
1543
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
1534
1544
  API_LIMIT: "api_limit",
@@ -1688,169 +1698,169 @@ var R = e.enum(["impersonate"]), z = e.enum([
1688
1698
  WARNING_DURING_LOGIN: "w",
1689
1699
  WARNING_SENDING_NOTIFICATION: "wn",
1690
1700
  WARNING_USER_MANAGEMENT: "wum"
1691
- }, Bn = e.string().refine((e) => Object.values(H).includes(e), { message: "Invalid log type" }), Vn = {
1692
- [H.ACLS_SUMMARY]: "ACLs Summary",
1693
- [H.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1694
- [H.API_LIMIT]: "API Rate Limit Reached",
1695
- [H.API_LIMIT_WARNING]: "API Rate Limit Warning",
1696
- [H.APPI]: "API Operation",
1697
- [H.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
1698
- [H.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
1699
- [H.CIBA_START_FAILED]: "CIBA Start Failed",
1700
- [H.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
1701
- [H.CODE_LINK_SENT]: "Code/Link Sent",
1702
- [H.CODE_SENT]: "Code Sent",
1703
- [H.DEPRECATION_NOTICE]: "Deprecation Notice",
1704
- [H.FAILED_LOGIN]: "Failed Login",
1705
- [H.FAILED_BY_CONNECTOR]: "Failed by Connector",
1706
- [H.FAILED_CHANGE_EMAIL]: "Failed Change Email",
1707
- [H.FAILED_BY_CORS]: "Failed by CORS",
1708
- [H.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
1709
- [H.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
1710
- [H.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
1711
- [H.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
1712
- [H.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
1713
- [H.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
1714
- [H.FAILED_CHANGE_USERNAME]: "Failed Change Username",
1715
- [H.FAILED_DELEGATION]: "Failed Delegation",
1716
- [H.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
1717
- [H.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
1718
- [H.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
1719
- [H.FAILED_USER_DELETION]: "Failed User Deletion",
1720
- [H.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
1721
- [H.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
1722
- [H.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
1723
- [H.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
1724
- [H.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
1725
- [H.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
1726
- [H.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
1727
- [H.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
1728
- [H.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
1729
- [H.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
1730
- [H.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
1731
- [H.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
1732
- [H.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
1733
- [H.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
1734
- [H.FAILED_HOOK]: "Failed Hook",
1735
- [H.FAILED_IMPERSONATION]: "Failed Impersonation",
1736
- [H.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
1737
- [H.FAILED_LOGOUT]: "Failed Logout",
1738
- [H.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
1739
- [H.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
1740
- [H.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
1741
- [H.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
1742
- [H.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
1743
- [H.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
1744
- [H.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
1745
- [H.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
1746
- [H.FAILED_SIGNUP]: "Failed Signup",
1747
- [H.FAILED_SILENT_AUTH]: "Failed Silent Auth",
1748
- [H.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
1749
- [H.FAILED_USERS_IMPORT]: "Failed Users Import",
1750
- [H.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
1751
- [H.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
1752
- [H.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
1753
- [H.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
1754
- [H.MFA_AUTH_FAILED]: "MFA Auth Failed",
1755
- [H.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
1756
- [H.MFA_AUTH_SUCCESS]: "MFA Auth Success",
1757
- [H.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
1758
- [H.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
1759
- [H.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
1760
- [H.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
1761
- [H.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
1762
- [H.MFA_EMAIL_SENT]: "MFA Email Sent",
1763
- [H.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
1764
- [H.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
1765
- [H.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
1766
- [H.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
1767
- [H.MFA_SMS_SENT]: "MFA SMS Sent",
1768
- [H.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
1769
- [H.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
1770
- [H.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
1771
- [H.SECOND_FACTOR_STARTED]: "Second Factor Started",
1772
- [H.MFA_ENROLL_STARTED]: "MFA Enroll Started",
1773
- [H.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
1774
- [H.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
1775
- [H.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
1776
- [H.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
1777
- [H.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
1778
- [H.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
1779
- [H.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
1780
- [H.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
1781
- [H.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
1782
- [H.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
1783
- [H.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
1784
- [H.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
1785
- [H.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
1786
- [H.INFORMATION]: "Information",
1787
- [H.MFA_REQUIRED]: "MFA Required",
1788
- [H.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
1789
- [H.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
1790
- [H.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
1791
- [H.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
1792
- [H.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
1793
- [H.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
1794
- [H.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
1795
- [H.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
1796
- [H.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
1797
- [H.BREACHED_PASSWORD]: "Breached Password",
1798
- [H.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
1799
- [H.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
1800
- [H.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
1801
- [H.SUCCESS_LOGIN]: "Success Login",
1802
- [H.SUCCESS_API_OPERATION]: "Success API Operation",
1803
- [H.FAILED_API_OPERATION]: "Failed API Operation",
1804
- [H.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
1805
- [H.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
1806
- [H.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
1807
- [H.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
1808
- [H.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
1809
- [H.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
1810
- [H.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
1811
- [H.SUCCESS_DELEGATION]: "Success Delegation",
1812
- [H.SUCCESS_USER_DELETION]: "Success User Deletion",
1813
- [H.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
1814
- [H.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
1815
- [H.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
1816
- [H.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
1817
- [H.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
1818
- [H.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
1819
- [H.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
1820
- [H.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
1821
- [H.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
1822
- [H.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
1823
- [H.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
1824
- [H.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
1825
- [H.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
1826
- [H.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
1827
- [H.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
1828
- [H.SUCCESS_IMPERSONATION]: "Success Impersonation",
1829
- [H.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
1830
- [H.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
1831
- [H.SUCCESS_LOGOUT]: "Success Logout",
1832
- [H.SUCCESS_HOOK]: "Success Hook",
1833
- [H.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
1834
- [H.SUCCESS_REVOCATION]: "Success Revocation",
1835
- [H.SUCCESS_SIGNUP]: "Success Signup",
1836
- [H.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
1837
- [H.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
1838
- [H.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
1839
- [H.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
1840
- [H.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
1841
- [H.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
1842
- [H.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
1843
- [H.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
1844
- [H.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
1845
- [H.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
1846
- [H.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
1847
- [H.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
1848
- [H.WARNING_DURING_LOGIN]: "Warning During Login",
1849
- [H.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1850
- [H.WARNING_USER_MANAGEMENT]: "Warning User Management"
1701
+ }, Bn = e.string().refine((e) => Object.values(U).includes(e), { message: "Invalid log type" }), Vn = {
1702
+ [U.ACLS_SUMMARY]: "ACLs Summary",
1703
+ [U.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1704
+ [U.API_LIMIT]: "API Rate Limit Reached",
1705
+ [U.API_LIMIT_WARNING]: "API Rate Limit Warning",
1706
+ [U.APPI]: "API Operation",
1707
+ [U.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
1708
+ [U.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
1709
+ [U.CIBA_START_FAILED]: "CIBA Start Failed",
1710
+ [U.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
1711
+ [U.CODE_LINK_SENT]: "Code/Link Sent",
1712
+ [U.CODE_SENT]: "Code Sent",
1713
+ [U.DEPRECATION_NOTICE]: "Deprecation Notice",
1714
+ [U.FAILED_LOGIN]: "Failed Login",
1715
+ [U.FAILED_BY_CONNECTOR]: "Failed by Connector",
1716
+ [U.FAILED_CHANGE_EMAIL]: "Failed Change Email",
1717
+ [U.FAILED_BY_CORS]: "Failed by CORS",
1718
+ [U.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
1719
+ [U.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
1720
+ [U.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
1721
+ [U.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
1722
+ [U.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
1723
+ [U.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
1724
+ [U.FAILED_CHANGE_USERNAME]: "Failed Change Username",
1725
+ [U.FAILED_DELEGATION]: "Failed Delegation",
1726
+ [U.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
1727
+ [U.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
1728
+ [U.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
1729
+ [U.FAILED_USER_DELETION]: "Failed User Deletion",
1730
+ [U.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
1731
+ [U.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
1732
+ [U.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
1733
+ [U.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
1734
+ [U.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
1735
+ [U.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
1736
+ [U.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
1737
+ [U.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
1738
+ [U.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
1739
+ [U.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
1740
+ [U.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
1741
+ [U.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
1742
+ [U.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
1743
+ [U.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
1744
+ [U.FAILED_HOOK]: "Failed Hook",
1745
+ [U.FAILED_IMPERSONATION]: "Failed Impersonation",
1746
+ [U.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
1747
+ [U.FAILED_LOGOUT]: "Failed Logout",
1748
+ [U.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
1749
+ [U.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
1750
+ [U.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
1751
+ [U.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
1752
+ [U.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
1753
+ [U.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
1754
+ [U.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
1755
+ [U.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
1756
+ [U.FAILED_SIGNUP]: "Failed Signup",
1757
+ [U.FAILED_SILENT_AUTH]: "Failed Silent Auth",
1758
+ [U.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
1759
+ [U.FAILED_USERS_IMPORT]: "Failed Users Import",
1760
+ [U.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
1761
+ [U.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
1762
+ [U.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
1763
+ [U.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
1764
+ [U.MFA_AUTH_FAILED]: "MFA Auth Failed",
1765
+ [U.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
1766
+ [U.MFA_AUTH_SUCCESS]: "MFA Auth Success",
1767
+ [U.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
1768
+ [U.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
1769
+ [U.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
1770
+ [U.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
1771
+ [U.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
1772
+ [U.MFA_EMAIL_SENT]: "MFA Email Sent",
1773
+ [U.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
1774
+ [U.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
1775
+ [U.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
1776
+ [U.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
1777
+ [U.MFA_SMS_SENT]: "MFA SMS Sent",
1778
+ [U.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
1779
+ [U.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
1780
+ [U.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
1781
+ [U.SECOND_FACTOR_STARTED]: "Second Factor Started",
1782
+ [U.MFA_ENROLL_STARTED]: "MFA Enroll Started",
1783
+ [U.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
1784
+ [U.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
1785
+ [U.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
1786
+ [U.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
1787
+ [U.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
1788
+ [U.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
1789
+ [U.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
1790
+ [U.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
1791
+ [U.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
1792
+ [U.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
1793
+ [U.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
1794
+ [U.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
1795
+ [U.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
1796
+ [U.INFORMATION]: "Information",
1797
+ [U.MFA_REQUIRED]: "MFA Required",
1798
+ [U.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
1799
+ [U.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
1800
+ [U.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
1801
+ [U.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
1802
+ [U.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
1803
+ [U.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
1804
+ [U.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
1805
+ [U.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
1806
+ [U.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
1807
+ [U.BREACHED_PASSWORD]: "Breached Password",
1808
+ [U.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
1809
+ [U.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
1810
+ [U.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
1811
+ [U.SUCCESS_LOGIN]: "Success Login",
1812
+ [U.SUCCESS_API_OPERATION]: "Success API Operation",
1813
+ [U.FAILED_API_OPERATION]: "Failed API Operation",
1814
+ [U.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
1815
+ [U.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
1816
+ [U.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
1817
+ [U.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
1818
+ [U.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
1819
+ [U.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
1820
+ [U.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
1821
+ [U.SUCCESS_DELEGATION]: "Success Delegation",
1822
+ [U.SUCCESS_USER_DELETION]: "Success User Deletion",
1823
+ [U.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
1824
+ [U.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
1825
+ [U.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
1826
+ [U.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
1827
+ [U.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
1828
+ [U.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
1829
+ [U.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
1830
+ [U.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
1831
+ [U.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
1832
+ [U.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
1833
+ [U.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
1834
+ [U.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
1835
+ [U.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
1836
+ [U.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
1837
+ [U.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
1838
+ [U.SUCCESS_IMPERSONATION]: "Success Impersonation",
1839
+ [U.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
1840
+ [U.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
1841
+ [U.SUCCESS_LOGOUT]: "Success Logout",
1842
+ [U.SUCCESS_HOOK]: "Success Hook",
1843
+ [U.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
1844
+ [U.SUCCESS_REVOCATION]: "Success Revocation",
1845
+ [U.SUCCESS_SIGNUP]: "Success Signup",
1846
+ [U.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
1847
+ [U.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
1848
+ [U.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
1849
+ [U.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
1850
+ [U.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
1851
+ [U.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
1852
+ [U.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
1853
+ [U.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
1854
+ [U.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
1855
+ [U.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
1856
+ [U.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
1857
+ [U.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
1858
+ [U.WARNING_DURING_LOGIN]: "Warning During Login",
1859
+ [U.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1860
+ [U.WARNING_USER_MANAGEMENT]: "Warning User Management"
1851
1861
  }, Hn = (() => {
1852
1862
  let e = {};
1853
- for (let [t, n] of Object.entries(H)) 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";
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";
1854
1864
  return e;
1855
1865
  })();
1856
1866
  function Un(e) {
@@ -1899,7 +1909,7 @@ var Gn = e.object({
1899
1909
  "splunk",
1900
1910
  "datadog",
1901
1911
  "sumo"
1902
- ]), U = e.enum([
1912
+ ]), W = e.enum([
1903
1913
  "active",
1904
1914
  "paused",
1905
1915
  "suspended"
@@ -1909,13 +1919,13 @@ var Gn = e.object({
1909
1919
  }), Zn = e.object({
1910
1920
  name: e.string(),
1911
1921
  type: Yn,
1912
- status: U.optional(),
1922
+ status: W.optional(),
1913
1923
  sink: e.record(e.string(), e.unknown()),
1914
1924
  filters: e.array(Xn).optional(),
1915
1925
  isPriority: e.boolean().optional()
1916
1926
  }), Qn = Zn.extend({
1917
1927
  id: e.string(),
1918
- status: U,
1928
+ status: W,
1919
1929
  created_at: e.string().optional(),
1920
1930
  updated_at: e.string().optional()
1921
1931
  }), $n = e.enum([
@@ -1923,24 +1933,24 @@ var Gn = e.object({
1923
1933
  "cognito",
1924
1934
  "okta",
1925
1935
  "oidc"
1926
- ]), W = e.object({
1936
+ ]), er = e.object({
1927
1937
  domain: e.string(),
1928
1938
  client_id: e.string(),
1929
1939
  client_secret: e.string(),
1930
1940
  audience: e.string().optional(),
1931
1941
  scope: e.string().optional()
1932
- }), er = e.object({
1942
+ }), tr = e.object({
1933
1943
  id: e.string().optional(),
1934
1944
  name: e.string(),
1935
1945
  provider: $n,
1936
1946
  connection: e.string(),
1937
1947
  enabled: e.boolean().default(!0),
1938
- credentials: W
1939
- }), tr = e.object({
1948
+ credentials: er
1949
+ }), nr = e.object({
1940
1950
  id: e.string(),
1941
1951
  created_at: e.string(),
1942
1952
  updated_at: e.string()
1943
- }).extend(er.shape), nr = e.object({
1953
+ }).extend(tr.shape), rr = e.object({
1944
1954
  enabled: e.boolean().optional(),
1945
1955
  shields: e.array(e.string()).optional(),
1946
1956
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -1949,13 +1959,13 @@ var Gn = e.object({
1949
1959
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
1950
1960
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
1951
1961
  }).optional()
1952
- }), rr = e.object({
1962
+ }), ir = e.object({
1953
1963
  enabled: e.boolean().optional(),
1954
1964
  shields: e.array(e.string()).optional(),
1955
1965
  allowlist: e.array(e.string()).optional(),
1956
1966
  mode: e.string().optional(),
1957
1967
  max_attempts: e.number().optional()
1958
- }), ir = e.object({
1968
+ }), ar = e.object({
1959
1969
  enabled: e.boolean().optional(),
1960
1970
  shields: e.array(e.string()).optional(),
1961
1971
  allowlist: e.array(e.string()).optional(),
@@ -1969,28 +1979,28 @@ var Gn = e.object({
1969
1979
  rate: e.number().optional()
1970
1980
  }).optional()
1971
1981
  }).optional()
1972
- }), ar = e.object({
1973
- breached_password_detection: nr.optional(),
1974
- brute_force_protection: rr.optional(),
1975
- suspicious_ip_throttling: ir.optional()
1976
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({
1977
1987
  id: e.string().optional(),
1978
1988
  user_id: e.string(),
1979
1989
  password: e.string(),
1980
1990
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1981
1991
  is_current: e.boolean().default(!0)
1982
- }), sr = or.extend({
1992
+ }), cr = sr.extend({
1983
1993
  id: e.string(),
1984
1994
  created_at: e.string(),
1985
1995
  updated_at: e.string()
1986
- }), cr = e.object({
1996
+ }), lr = e.object({
1987
1997
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1988
1998
  initial_ip: e.string().describe("First IP address associated with this session"),
1989
1999
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1990
2000
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1991
2001
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1992
2002
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1993
- }), lr = e.object({
2003
+ }), ur = e.object({
1994
2004
  id: e.string(),
1995
2005
  revoked_at: e.string().optional(),
1996
2006
  used_at: e.string().optional(),
@@ -1998,14 +2008,14 @@ var Gn = e.object({
1998
2008
  expires_at: e.string().optional(),
1999
2009
  login_session_id: e.string(),
2000
2010
  idle_expires_at: e.string().optional(),
2001
- device: cr.describe("Metadata related to the device used in the session"),
2011
+ device: lr.describe("Metadata related to the device used in the session"),
2002
2012
  clients: e.array(e.string()).describe("List of client details for the session")
2003
- }), ur = e.object({
2013
+ }), dr = e.object({
2004
2014
  created_at: e.string(),
2005
2015
  updated_at: e.string(),
2006
2016
  authenticated_at: e.string(),
2007
2017
  last_interaction_at: e.string()
2008
- }).extend(lr.shape), dr = e.object({
2018
+ }).extend(ur.shape), fr = e.object({
2009
2019
  kid: e.string().openapi({ description: "The key id of the signing key" }),
2010
2020
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
2011
2021
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -2021,7 +2031,7 @@ var Gn = e.object({
2021
2031
  revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
2022
2032
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
2023
2033
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
2024
- }), fr = e.object({
2034
+ }), pr = e.object({
2025
2035
  id: e.string().optional(),
2026
2036
  audience: e.string().optional(),
2027
2037
  friendly_name: e.string(),
@@ -2139,7 +2149,7 @@ var Gn = e.object({
2139
2149
  "shared_planetscale"
2140
2150
  ]).optional(),
2141
2151
  d1_database_id: e.string().max(64).optional(),
2142
- attack_protection: ar.optional(),
2152
+ attack_protection: or.optional(),
2143
2153
  mfa: e.object({
2144
2154
  policy: e.enum(["never", "always"]).default("never").optional(),
2145
2155
  factors: e.object({
@@ -2166,38 +2176,38 @@ var Gn = e.object({
2166
2176
  }).optional(),
2167
2177
  phone_message: e.object({ message: e.string().optional() }).optional()
2168
2178
  }).optional()
2169
- }), pr = e.object({
2179
+ }), mr = e.object({
2170
2180
  created_at: e.string().nullable().transform((e) => e ?? ""),
2171
2181
  updated_at: e.string().nullable().transform((e) => e ?? "")
2172
- }).extend(fr.shape).extend({
2182
+ }).extend(pr.shape).extend({
2173
2183
  id: e.string(),
2174
2184
  is_control_plane: e.boolean().optional()
2175
- }), mr = e.enum([
2185
+ }), hr = e.enum([
2176
2186
  "provision",
2177
2187
  "seed",
2178
2188
  "upgrade",
2179
2189
  "backup",
2180
2190
  "deprovision",
2181
2191
  "users_import"
2182
- ]), hr = e.enum([
2192
+ ]), gr = e.enum([
2183
2193
  "pending",
2184
2194
  "running",
2185
2195
  "succeeded",
2186
2196
  "failed",
2187
2197
  "cancelled"
2188
- ]), gr = e.string().max(64), _r = ["inline", "cloudflare-workflows"], vr = e.object({
2198
+ ]), _r = e.string().max(64), vr = ["inline", "cloudflare-workflows"], yr = e.object({
2189
2199
  tenant_id: e.string().max(255).nullable().default(null),
2190
2200
  rollout_id: e.string().max(255).nullable().optional(),
2191
- kind: mr,
2192
- engine: gr,
2201
+ kind: hr,
2202
+ engine: _r,
2193
2203
  engine_instance_id: e.string().max(100).nullable().optional(),
2194
2204
  target_worker_version: e.string().max(255).nullable().optional(),
2195
2205
  target_database_version: e.string().max(255).nullable().optional(),
2196
2206
  initiated_by: e.string().max(255).nullable().optional(),
2197
2207
  input: e.record(e.string(), e.unknown()).nullable().optional()
2198
- }), yr = vr.extend({
2208
+ }), br = yr.extend({
2199
2209
  id: e.string(),
2200
- status: hr,
2210
+ status: gr,
2201
2211
  current_step: e.string().max(255).nullable().optional(),
2202
2212
  error: e.string().nullable().optional(),
2203
2213
  result: e.record(e.string(), e.unknown()).nullable().optional(),
@@ -2206,7 +2216,7 @@ var Gn = e.object({
2206
2216
  created_at: e.string(),
2207
2217
  updated_at: e.string(),
2208
2218
  finished_at: e.string().nullable().optional()
2209
- }), br = yr.pick({
2219
+ }), xr = br.pick({
2210
2220
  status: !0,
2211
2221
  current_step: !0,
2212
2222
  engine_instance_id: !0,
@@ -2217,20 +2227,20 @@ var Gn = e.object({
2217
2227
  claimed_by: !0,
2218
2228
  claim_expires_at: !0,
2219
2229
  finished_at: !0
2220
- }).partial(), xr = e.enum([
2230
+ }).partial(), Sr = e.enum([
2221
2231
  "started",
2222
2232
  "succeeded",
2223
2233
  "failed",
2224
2234
  "retried",
2225
2235
  "skipped",
2226
2236
  "reconciled"
2227
- ]), Sr = e.object({
2237
+ ]), Cr = e.object({
2228
2238
  operation_id: e.string().max(255),
2229
2239
  step: e.string().max(255),
2230
- outcome: xr,
2240
+ outcome: Sr,
2231
2241
  detail: e.record(e.string(), e.unknown()).nullable().optional(),
2232
2242
  attempt: e.number().int().min(1).default(1)
2233
- }), Cr = Sr.extend({
2243
+ }), wr = Cr.extend({
2234
2244
  id: e.string(),
2235
2245
  created_at: e.string()
2236
2246
  }), G = e.enum([
@@ -2239,12 +2249,12 @@ var Gn = e.object({
2239
2249
  "updated",
2240
2250
  "failed",
2241
2251
  "skipped"
2242
- ]), wr = [
2252
+ ]), Tr = [
2243
2253
  "inserted",
2244
2254
  "updated",
2245
2255
  "failed",
2246
2256
  "skipped"
2247
- ], Tr = e.object({
2257
+ ], Er = e.object({
2248
2258
  operation_id: e.string().max(255),
2249
2259
  seq: e.number().int().min(0),
2250
2260
  payload: e.record(e.string(), e.unknown()),
@@ -2253,51 +2263,51 @@ var Gn = e.object({
2253
2263
  error_message: e.string().nullable().optional(),
2254
2264
  error_path: e.string().max(255).nullable().optional(),
2255
2265
  entity_id: e.string().max(255).nullable().optional()
2256
- }), Er = Tr.extend({
2266
+ }), Dr = Er.extend({
2257
2267
  status: G,
2258
2268
  created_at: e.string(),
2259
2269
  updated_at: e.string()
2260
- }), Dr = e.object({
2270
+ }), Or = e.object({
2261
2271
  seq: e.number().int().min(0),
2262
2272
  status: G,
2263
2273
  error_code: e.string().max(64).nullable().optional(),
2264
2274
  error_message: e.string().nullable().optional(),
2265
2275
  error_path: e.string().max(255).nullable().optional(),
2266
2276
  entity_id: e.string().max(255).nullable().optional()
2267
- }), Or = e.enum([
2277
+ }), kr = e.enum([
2268
2278
  "upgrade",
2269
2279
  "reseed",
2270
2280
  "backup"
2271
- ]), kr = e.enum([
2281
+ ]), Ar = e.enum([
2272
2282
  "pending",
2273
2283
  "canary",
2274
2284
  "rolling",
2275
2285
  "paused",
2276
2286
  "done",
2277
2287
  "failed"
2278
- ]), Ar = e.object({
2279
- kind: Or,
2288
+ ]), jr = e.object({
2289
+ kind: kr,
2280
2290
  target_worker_version: e.string().max(255).nullable().optional(),
2281
2291
  target_database_version: e.string().max(255).nullable().optional(),
2282
2292
  wave_size: e.number().int().min(1).default(10),
2283
2293
  canary_tenant_ids: e.array(e.string()).nullable().optional(),
2284
2294
  filter: e.record(e.string(), e.unknown()).nullable().optional(),
2285
2295
  initiated_by: e.string().max(255).nullable().optional()
2286
- }), jr = Ar.extend({
2296
+ }), Mr = jr.extend({
2287
2297
  id: e.string(),
2288
- status: kr,
2298
+ status: Ar,
2289
2299
  created_at: e.string(),
2290
2300
  updated_at: e.string(),
2291
2301
  finished_at: e.string().nullable().optional()
2292
- }), Mr = jr.pick({
2302
+ }), Nr = Mr.pick({
2293
2303
  status: !0,
2294
2304
  wave_size: !0,
2295
2305
  canary_tenant_ids: !0,
2296
2306
  filter: !0,
2297
2307
  finished_at: !0
2298
- }).partial(), Nr = /* @__PURE__ */ function(e) {
2308
+ }).partial(), Pr = /* @__PURE__ */ function(e) {
2299
2309
  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;
2300
- }({}), Pr = e.object({
2310
+ }({}), Fr = e.object({
2301
2311
  access_token: e.string(),
2302
2312
  id_token: e.string().optional(),
2303
2313
  scope: e.string().optional(),
@@ -2312,7 +2322,7 @@ e.object({
2312
2322
  });
2313
2323
  //#endregion
2314
2324
  //#region src/types/Theme.ts
2315
- var Fr = e.object({
2325
+ var Ir = e.object({
2316
2326
  button_border_radius: e.number(),
2317
2327
  button_border_weight: e.number(),
2318
2328
  buttons_style: e.enum([
@@ -2330,7 +2340,7 @@ var Fr = e.object({
2330
2340
  show_widget_shadow: e.boolean(),
2331
2341
  widget_border_weight: e.number(),
2332
2342
  widget_corner_radius: e.number()
2333
- }), Ir = e.object({
2343
+ }), Lr = e.object({
2334
2344
  base_focus_color: e.string(),
2335
2345
  base_hover_color: e.string(),
2336
2346
  body_text: e.string(),
@@ -2357,7 +2367,7 @@ var Fr = e.object({
2357
2367
  }), K = e.object({
2358
2368
  bold: e.boolean(),
2359
2369
  size: e.number()
2360
- }), Lr = e.object({
2370
+ }), Rr = e.object({
2361
2371
  body_text: K,
2362
2372
  buttons_text: K,
2363
2373
  font_url: e.string(),
@@ -2367,7 +2377,7 @@ var Fr = e.object({
2367
2377
  reference_text_size: e.number(),
2368
2378
  subtitle: K,
2369
2379
  title: K
2370
- }), Rr = e.object({
2380
+ }), zr = e.object({
2371
2381
  background_color: e.string(),
2372
2382
  background_image_url: e.string(),
2373
2383
  page_layout: e.enum([
@@ -2380,7 +2390,7 @@ var Fr = e.object({
2380
2390
  "chip",
2381
2391
  "none"
2382
2392
  ]).optional()
2383
- }), zr = e.object({
2393
+ }), Br = e.object({
2384
2394
  header_text_alignment: e.enum([
2385
2395
  "center",
2386
2396
  "left",
@@ -2395,43 +2405,43 @@ var Fr = e.object({
2395
2405
  ]),
2396
2406
  logo_url: e.string(),
2397
2407
  social_buttons_layout: e.enum(["bottom", "top"])
2398
- }), Br = e.object({
2399
- borders: Fr,
2400
- colors: Ir,
2408
+ }), Vr = e.object({
2409
+ borders: Ir,
2410
+ colors: Lr,
2401
2411
  displayName: e.string(),
2402
- fonts: Lr,
2403
- page_background: Rr,
2404
- widget: zr
2405
- }), Vr = Br.extend({ themeId: e.string() }), Hr = e.object({
2412
+ fonts: Rr,
2413
+ page_background: zr,
2414
+ widget: Br
2415
+ }), Hr = Vr.extend({ themeId: e.string() }), Ur = e.object({
2406
2416
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2407
2417
  identifier_first: e.boolean().default(!0),
2408
2418
  password_first: e.boolean().default(!1),
2409
2419
  show_last_used_connection: e.boolean().default(!1),
2410
2420
  webauthn_platform_first_factor: e.boolean()
2411
- }), Ur = e.object({
2421
+ }), Wr = e.object({
2412
2422
  hosts: e.array(e.string()).optional(),
2413
2423
  methods: e.array(e.string()).optional(),
2414
2424
  path: e.string().default("/*"),
2415
2425
  headers: e.record(e.string(), e.string()).optional(),
2416
2426
  query: e.record(e.string(), e.string()).optional()
2417
- }), Wr = e.object({
2427
+ }), Gr = e.object({
2418
2428
  type: e.string(),
2419
2429
  options: e.record(e.string(), e.unknown()).default({})
2420
2430
  }), q = e.object({
2421
2431
  id: e.string().optional(),
2422
2432
  custom_domain_id: e.string(),
2423
2433
  priority: e.number().int().default(100),
2424
- match: Ur,
2425
- handlers: e.array(Wr).min(1)
2426
- }), Gr = q.extend({
2434
+ match: Wr,
2435
+ handlers: e.array(Gr).min(1)
2436
+ }), Kr = q.extend({
2427
2437
  id: e.string(),
2428
2438
  tenant_id: e.string(),
2429
2439
  created_at: e.string(),
2430
2440
  updated_at: e.string()
2431
- }), Kr = q.partial().omit({
2441
+ }), qr = q.partial().omit({
2432
2442
  id: !0,
2433
2443
  custom_domain_id: !0
2434
- }), qr = "custom_authentication", Jr = [
2444
+ }), Jr = "custom_authentication", Yr = [
2435
2445
  "urn:ietf:params:oauth:",
2436
2446
  "urn:auth0",
2437
2447
  "urn:okta",
@@ -2439,14 +2449,14 @@ var Fr = e.object({
2439
2449
  "https://auth0.com",
2440
2450
  "http://okta.com",
2441
2451
  "https://okta.com"
2442
- ], 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) => !Jr.some((t) => e.toLowerCase().startsWith(t)), { message: "subject_token_type uses a reserved namespace" }), Yr = e.enum([
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([
2443
2453
  "RS256",
2444
2454
  "RS384",
2445
2455
  "RS512",
2446
2456
  "ES256",
2447
2457
  "ES384",
2448
2458
  "ES512"
2449
- ]), Xr = e.discriminatedUnion("type", [e.object({
2459
+ ]), Zr = e.discriminatedUnion("type", [e.object({
2450
2460
  type: e.literal("connection"),
2451
2461
  connection: e.string().min(1),
2452
2462
  create_if_not_exists: e.boolean().default(!0),
@@ -2456,54 +2466,54 @@ var Fr = e.object({
2456
2466
  jwks: Pn.optional(),
2457
2467
  jwks_uri: e.string().url().optional(),
2458
2468
  audience: e.array(e.string().min(1)).min(1).optional(),
2459
- algorithms: e.array(Yr).min(1).optional(),
2469
+ algorithms: e.array(Xr).min(1).optional(),
2460
2470
  max_lifetime_seconds: e.number().int().min(1).max(3600).default(300),
2461
2471
  require_jti: e.boolean().default(!0),
2462
- user_mapping: Xr
2463
- }), Zr = e.object({
2472
+ user_mapping: Zr
2473
+ }), Qr = e.object({
2464
2474
  name: e.string().min(1).max(255),
2465
2475
  subject_token_type: J,
2466
2476
  action_id: e.string().min(1).optional(),
2467
- type: e.literal(qr),
2477
+ type: e.literal(Jr),
2468
2478
  jwt_verification: Y.optional()
2469
- }), Qr = Zr.extend({
2479
+ }), $r = Qr.extend({
2470
2480
  id: e.string(),
2471
2481
  created_at: e.string(),
2472
2482
  updated_at: e.string()
2473
- }), $r = e.object({
2483
+ }), ei = e.object({
2474
2484
  name: e.string().min(1).max(255).optional(),
2475
2485
  subject_token_type: J.optional(),
2476
2486
  jwt_verification: Y.optional()
2477
- }), ei = e.object({
2487
+ }), ti = e.object({
2478
2488
  scim: e.string(),
2479
2489
  auth0: e.string()
2480
- }), ti = e.object({
2490
+ }), ni = e.object({
2481
2491
  connection_id: e.string(),
2482
2492
  user_id_attribute: e.string().default("externalId"),
2483
- mapping: e.array(ei).default([])
2484
- }), ni = e.object({
2493
+ mapping: e.array(ti).default([])
2494
+ }), ri = e.object({
2485
2495
  created_at: e.string(),
2486
2496
  updated_at: e.string()
2487
- }).extend(ti.shape), ri = e.object({
2497
+ }).extend(ni.shape), ii = e.object({
2488
2498
  token_id: e.string(),
2489
2499
  connection_id: e.string(),
2490
2500
  token_hash: e.string(),
2491
2501
  scopes: e.array(e.string()).default([]),
2492
2502
  valid_until: e.string().optional()
2493
- }), ii = e.object({
2503
+ }), ai = e.object({
2494
2504
  created_at: e.string(),
2495
2505
  last_used_at: e.string().optional()
2496
- }).extend(ri.shape), ai = e.object({
2506
+ }).extend(ii.shape), oi = e.object({
2497
2507
  connection_id: e.string(),
2498
2508
  external_id: e.string(),
2499
2509
  user_id: e.string()
2500
- }), oi = e.object({ created_at: e.string() }).extend(ai.shape), si = e.object({
2510
+ }), si = e.object({ created_at: e.string() }).extend(oi.shape), ci = e.object({
2501
2511
  name: e.string(),
2502
2512
  enabled: e.boolean().optional().default(!0),
2503
2513
  default_from_address: e.string().optional(),
2504
2514
  credentials: e.record(e.string(), e.unknown()),
2505
2515
  settings: e.object({}).optional()
2506
- }), ci = e.enum([
2516
+ }), li = e.enum([
2507
2517
  "verify_email",
2508
2518
  "verify_email_by_code",
2509
2519
  "reset_email",
@@ -2516,8 +2526,8 @@ var Fr = e.object({
2516
2526
  "change_password",
2517
2527
  "password_reset",
2518
2528
  "user_invitation"
2519
- ]), li = e.object({
2520
- template: ci,
2529
+ ]), ui = e.object({
2530
+ template: li,
2521
2531
  body: e.string(),
2522
2532
  from: e.string(),
2523
2533
  subject: e.string(),
@@ -2526,19 +2536,19 @@ var Fr = e.object({
2526
2536
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2527
2537
  includeEmailInRedirect: e.boolean().default(!1),
2528
2538
  enabled: e.boolean().default(!0)
2529
- }), ui = e.object({
2539
+ }), di = e.object({
2530
2540
  id: e.string(),
2531
2541
  login_id: e.string(),
2532
2542
  session_id: e.string().optional(),
2533
2543
  organization: e.string().optional(),
2534
2544
  auth_connection: e.string().optional(),
2535
- auth_strategy: V.optional(),
2545
+ auth_strategy: H.optional(),
2536
2546
  user_id: e.string(),
2537
2547
  client_id: e.string(),
2538
2548
  expires_at: e.string().optional(),
2539
2549
  idle_expires_at: e.string().optional(),
2540
2550
  last_exchanged_at: e.string().optional(),
2541
- device: cr,
2551
+ device: lr,
2542
2552
  resource_servers: e.array(e.object({
2543
2553
  audience: e.string(),
2544
2554
  scopes: e.string()
@@ -2549,19 +2559,19 @@ var Fr = e.object({
2549
2559
  family_id: e.string().optional(),
2550
2560
  rotated_to: e.string().optional(),
2551
2561
  rotated_at: e.string().optional()
2552
- }), di = ui.extend({
2562
+ }), fi = di.extend({
2553
2563
  created_at: e.string(),
2554
2564
  revoked_at: e.string().optional()
2555
- }), fi = e.object({
2565
+ }), pi = e.object({
2556
2566
  to: e.string(),
2557
2567
  message: e.string()
2558
- }), pi = e.object({
2568
+ }), mi = e.object({
2559
2569
  name: e.string(),
2560
2570
  options: e.object({})
2561
- }), mi = e.object({
2571
+ }), hi = e.object({
2562
2572
  value: e.string(),
2563
2573
  description: e.string().optional()
2564
- }), hi = e.object({
2574
+ }), gi = e.object({
2565
2575
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2566
2576
  enforce_policies: e.boolean().optional(),
2567
2577
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2569,11 +2579,11 @@ var Fr = e.object({
2569
2579
  persist_client_authorization: e.boolean().optional(),
2570
2580
  enable_introspection_endpoint: e.boolean().optional(),
2571
2581
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
2572
- }), gi = e.object({
2582
+ }), _i = e.object({
2573
2583
  id: e.string().optional(),
2574
2584
  name: e.string(),
2575
2585
  identifier: e.string(),
2576
- scopes: e.array(mi).optional(),
2586
+ scopes: e.array(hi).optional(),
2577
2587
  signing_alg: e.string().optional(),
2578
2588
  signing_secret: e.string().optional(),
2579
2589
  token_lifetime: e.number().default(86400),
@@ -2581,37 +2591,37 @@ var Fr = e.object({
2581
2591
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2582
2592
  allow_offline_access: e.boolean().optional(),
2583
2593
  verificationKey: e.string().optional(),
2584
- options: hi.optional(),
2594
+ options: gi.optional(),
2585
2595
  is_system: e.boolean().optional(),
2586
2596
  metadata: e.record(e.string(), e.any()).optional()
2587
- }), _i = gi.extend({
2597
+ }), vi = _i.extend({
2588
2598
  created_at: e.string().optional(),
2589
2599
  updated_at: e.string().optional()
2590
- }), vi = e.array(_i), yi = e.object({
2600
+ }), yi = e.array(vi), bi = e.object({
2591
2601
  role_id: e.string(),
2592
2602
  resource_server_identifier: e.string(),
2593
2603
  permission_name: e.string()
2594
- }), bi = yi.extend({ created_at: e.string() }), xi = e.array(bi), Si = e.object({
2604
+ }), xi = bi.extend({ created_at: e.string() }), Si = e.array(xi), Ci = e.object({
2595
2605
  user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
2596
2606
  clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
2597
2607
  audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
2598
2608
  scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
2599
- }), Ci = Si.extend({ id: e.string() }), wi = e.object({
2609
+ }), wi = Ci.extend({ id: e.string() }), Ti = e.object({
2600
2610
  user_id: e.string(),
2601
2611
  last_login: e.string().optional(),
2602
2612
  last_ip: e.string().optional(),
2603
2613
  login_count: e.number().default(0),
2604
2614
  failed_logins: e.array(e.string()).optional(),
2605
2615
  last_password_reset: e.string().optional()
2606
- }), Ti = e.object({
2616
+ }), Ei = e.object({
2607
2617
  user_id: e.string(),
2608
2618
  resource_server_identifier: e.string(),
2609
2619
  permission_name: e.string(),
2610
2620
  organization_id: e.string().optional()
2611
- }), Ei = Ti.extend({
2621
+ }), Di = Ei.extend({
2612
2622
  tenant_id: e.string(),
2613
2623
  created_at: e.string().optional()
2614
- }), Di = e.array(Ei), Oi = e.object({
2624
+ }), Oi = e.array(Di), ki = e.object({
2615
2625
  user_id: e.string(),
2616
2626
  resource_server_identifier: e.string(),
2617
2627
  resource_server_name: e.string(),
@@ -2619,65 +2629,65 @@ var Fr = e.object({
2619
2629
  description: e.string().nullable().optional(),
2620
2630
  created_at: e.string().optional(),
2621
2631
  organization_id: e.string().optional()
2622
- }), ki = e.array(Oi), Ai = e.object({
2632
+ }), Ai = e.array(ki), ji = e.object({
2623
2633
  user_id: e.string(),
2624
2634
  role_id: e.string(),
2625
2635
  organization_id: e.string().optional()
2626
- }), ji = Ai.extend({
2636
+ }), Mi = ji.extend({
2627
2637
  tenant_id: e.string(),
2628
2638
  created_at: e.string().optional()
2629
- }), Mi = e.array(ji), Ni = e.object({
2639
+ }), Ni = e.array(Mi), Pi = e.object({
2630
2640
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
2631
2641
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
2632
2642
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
2633
2643
  is_system: e.boolean().optional(),
2634
2644
  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." })
2635
- }), Pi = Ni.extend({
2645
+ }), Fi = Pi.extend({
2636
2646
  id: e.string().openapi({ description: "The unique identifier of the role" }),
2637
2647
  created_at: e.string().optional(),
2638
2648
  updated_at: e.string().optional()
2639
- }), Fi = e.array(Pi), Ii = e.object({
2649
+ }), Ii = e.array(Fi), Li = e.object({
2640
2650
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
2641
2651
  colors: e.object({
2642
2652
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
2643
2653
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
2644
2654
  }).optional()
2645
- }).optional(), Li = e.object({
2655
+ }).optional(), Ri = e.object({
2646
2656
  connection_id: e.string().openapi({ description: "ID of the connection" }),
2647
2657
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
2648
2658
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
2649
2659
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
2650
- }), Ri = e.object({ client_credentials: e.object({
2660
+ }), zi = e.object({ client_credentials: e.object({
2651
2661
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
2652
2662
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
2653
2663
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
2654
- }).optional() }).optional(), zi = e.object({
2664
+ }).optional() }).optional(), Bi = e.object({
2655
2665
  id: e.string().optional(),
2656
2666
  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." }),
2657
2667
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
2658
- branding: Ii,
2668
+ branding: Li,
2659
2669
  metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
2660
- enabled_connections: e.array(Li).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2661
- token_quota: Ri
2662
- }), Bi = zi.extend(t.shape).extend({
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({
2663
2673
  id: e.string(),
2664
2674
  name: e.string().min(1).openapi({ description: "The name of the organization" })
2665
- }), Vi = e.object({
2675
+ }), Hi = e.object({
2666
2676
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
2667
2677
  assign_membership_on_login: e.boolean().optional().default(!1),
2668
2678
  show_as_button: e.boolean().optional().default(!0),
2669
2679
  is_signup_enabled: e.boolean().optional().default(!0)
2670
- }), Hi = Vi.extend({
2680
+ }), Ui = Hi.extend({
2671
2681
  connection: e.object({
2672
2682
  name: e.string().optional(),
2673
2683
  strategy: e.string().optional()
2674
2684
  }).optional(),
2675
2685
  created_at: e.string().optional(),
2676
2686
  updated_at: e.string().optional()
2677
- }), Ui = e.array(Hi), Wi = e.object({
2687
+ }), Wi = e.array(Ui), Gi = e.object({
2678
2688
  user_id: e.string().openapi({ description: "ID of the user" }),
2679
2689
  organization_id: e.string().openapi({ description: "ID of the organization" })
2680
- }), Gi = Wi.extend(t.shape).extend({ id: e.string() }), Ki = e.object({
2690
+ }), Ki = Gi.extend(t.shape).extend({ id: e.string() }), qi = e.object({
2681
2691
  idle_session_lifetime: e.number().default(72),
2682
2692
  session_lifetime: e.number().default(168),
2683
2693
  session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
@@ -2756,7 +2766,7 @@ var Fr = e.object({
2756
2766
  }).optional(),
2757
2767
  phone_message: e.object({ message: e.string().optional() }).optional()
2758
2768
  }).optional()
2759
- }), qi = e.object({
2769
+ }), Ji = e.object({
2760
2770
  date: e.string().openapi({
2761
2771
  description: "Date these events occurred in ISO 8601 format",
2762
2772
  example: "2025-12-19"
@@ -2781,10 +2791,10 @@ var Fr = e.object({
2781
2791
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2782
2792
  example: "2025-12-19T00:00:00.000Z"
2783
2793
  })
2784
- }), Ji = e.number().openapi({
2794
+ }), Yi = e.number().openapi({
2785
2795
  description: "Number of active users in the last 30 days",
2786
2796
  example: 1234
2787
- }), Yi = e.enum([
2797
+ }), Xi = e.enum([
2788
2798
  "active-users",
2789
2799
  "logins",
2790
2800
  "signups",
@@ -2796,64 +2806,81 @@ var Fr = e.object({
2796
2806
  "mfa",
2797
2807
  "email-verifications",
2798
2808
  "codes-sent"
2799
- ]), Xi = e.enum([
2809
+ ]), Zi = e.enum([
2800
2810
  "hour",
2801
2811
  "day",
2802
2812
  "week",
2803
2813
  "month"
2804
- ]), Zi = e.enum([
2814
+ ]), Qi = e.enum([
2805
2815
  "time",
2806
2816
  "connection",
2807
2817
  "client_id",
2808
2818
  "user_type",
2809
2819
  "event"
2810
- ]), Qi = e.enum([
2820
+ ]), $i = e.enum([
2811
2821
  "password",
2812
2822
  "social",
2813
2823
  "passwordless",
2814
2824
  "enterprise"
2815
- ]), $i = e.object({
2825
+ ]), ea = e.object({
2816
2826
  cohort: e.string(),
2817
2827
  sessions: e.number(),
2818
2828
  active: e.array(e.number())
2819
- }), ea = e.object({
2829
+ }), ta = e.object({
2820
2830
  interval: e.literal("week"),
2821
2831
  from: e.string(),
2822
2832
  to: e.string(),
2823
- cohorts: e.array($i)
2824
- }), ta = e.object({
2833
+ cohorts: e.array(ea)
2834
+ }), na = e.object({
2825
2835
  cohort: e.string(),
2826
2836
  tokens: e.number(),
2827
2837
  active: e.array(e.number())
2828
- }), na = e.object({
2838
+ }), ra = e.object({
2829
2839
  interval: e.literal("week"),
2830
2840
  from: e.string(),
2831
2841
  to: e.string(),
2832
- cohorts: e.array(ta)
2833
- }), ra = e.object({
2842
+ cohorts: e.array(na)
2843
+ }), ia = e.object({
2834
2844
  name: e.string(),
2835
2845
  type: e.string()
2836
- }), ia = e.object({
2846
+ }), aa = e.object({
2837
2847
  elapsed: e.number(),
2838
2848
  rows_read: e.number().optional(),
2839
2849
  bytes_read: e.number().optional()
2840
- }), aa = e.object({
2841
- meta: e.array(ra),
2850
+ }), oa = e.object({
2851
+ meta: e.array(ia),
2842
2852
  data: e.array(e.record(e.string(), e.any())),
2843
2853
  rows: e.number(),
2844
2854
  rows_before_limit_at_least: e.number().optional(),
2845
- statistics: ia.optional()
2846
- }), oa = 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(".")), sa = e.record(e.string(), e.record(e.string(), e.string())).openapi({
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({
2847
2857
  type: "object",
2848
2858
  additionalProperties: {
2849
2859
  type: "object",
2850
2860
  additionalProperties: { type: "string" }
2851
2861
  }
2852
- }), ca = e.object({
2853
- prompt: oa,
2862
+ }), la = e.object({
2863
+ prompt: sa,
2854
2864
  language: e.string(),
2855
- custom_text: sa
2856
- }), la = {
2865
+ custom_text: ca
2866
+ }), ua = [
2867
+ "form-content-start",
2868
+ "form-content-end",
2869
+ "form-footer-start",
2870
+ "form-footer-end",
2871
+ "secondary-actions-start",
2872
+ "secondary-actions-end"
2873
+ ], da = e.object({
2874
+ "form-content-start": e.string().optional(),
2875
+ "form-content-end": e.string().optional(),
2876
+ "form-footer-start": e.string().optional(),
2877
+ "form-footer-end": e.string().optional(),
2878
+ "secondary-actions-start": e.string().optional(),
2879
+ "secondary-actions-end": e.string().optional()
2880
+ }).strict(), fa = e.record(e.string(), da), pa = e.object({
2881
+ prompt: e.string(),
2882
+ partials: fa
2883
+ }), ma = {
2857
2884
  EMAIL: "email",
2858
2885
  SMS: "sms",
2859
2886
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2869,17 +2896,17 @@ var Fr = e.object({
2869
2896
  WAAD: "waad",
2870
2897
  ADFS: "adfs",
2871
2898
  OKTA: "okta"
2872
- }, ua = {
2899
+ }, ha = {
2873
2900
  DATABASE: "database",
2874
2901
  SOCIAL: "social",
2875
2902
  PASSWORDLESS: "passwordless"
2876
- }, da = "auth0";
2877
- function fa(e) {
2878
- return e === "auth0" || e === la.USERNAME_PASSWORD || e === "auth2";
2903
+ }, ga = "auth0";
2904
+ function _a(e) {
2905
+ return e === "auth0" || e === ma.USERNAME_PASSWORD || e === "auth2";
2879
2906
  }
2880
2907
  //#endregion
2881
2908
  //#region src/types/AuthenticationMethod.ts
2882
- var pa = e.enum([
2909
+ var va = e.enum([
2883
2910
  "phone",
2884
2911
  "totp",
2885
2912
  "email",
@@ -2887,9 +2914,9 @@ var pa = e.enum([
2887
2914
  "webauthn-roaming",
2888
2915
  "webauthn-platform",
2889
2916
  "passkey"
2890
- ]), ma = e.object({
2917
+ ]), ya = e.object({
2891
2918
  user_id: e.string(),
2892
- type: pa,
2919
+ type: va,
2893
2920
  phone_number: e.string().optional(),
2894
2921
  totp_secret: e.string().optional(),
2895
2922
  credential_id: e.string().optional(),
@@ -2900,7 +2927,7 @@ var pa = e.enum([
2900
2927
  friendly_name: e.string().optional(),
2901
2928
  confirmed: e.boolean().default(!1)
2902
2929
  });
2903
- function ha(t, n) {
2930
+ function ba(t, n) {
2904
2931
  t.type === "phone" && !t.phone_number && n.addIssue({
2905
2932
  code: e.ZodIssueCode.custom,
2906
2933
  message: "phone_number is required when type is 'phone'",
@@ -2923,15 +2950,15 @@ function ha(t, n) {
2923
2950
  path: ["public_key"]
2924
2951
  }));
2925
2952
  }
2926
- var ga = ma.superRefine(ha), _a = ma.extend({
2953
+ var xa = ya.superRefine(ba), Sa = ya.extend({
2927
2954
  id: e.string(),
2928
2955
  created_at: e.string(),
2929
2956
  updated_at: e.string()
2930
- }).superRefine(ha), va = e.object({
2957
+ }).superRefine(ba), Ca = e.object({
2931
2958
  id: e.string().optional(),
2932
2959
  created_at: e.string().datetime({ offset: !0 }).optional(),
2933
2960
  updated_at: e.string().datetime({ offset: !0 }).optional()
2934
- }), ya = {
2961
+ }), wa = {
2935
2962
  "post-user-login": {
2936
2963
  accessToken: ["setCustomClaim"],
2937
2964
  idToken: ["setCustomClaim"],
@@ -2946,15 +2973,20 @@ var ga = ma.superRefine(ha), _a = ma.extend({
2946
2973
  access: ["deny"]
2947
2974
  },
2948
2975
  "pre-user-registration": {
2949
- user: ["setUserMetadata", "setLinkedTo"],
2950
- access: ["deny"]
2976
+ user: [
2977
+ "setUserMetadata",
2978
+ "setAppMetadata",
2979
+ "setLinkedTo"
2980
+ ],
2981
+ access: ["deny"],
2982
+ validation: ["error"]
2951
2983
  },
2952
2984
  "post-user-registration": {},
2953
2985
  "custom-token-exchange": {
2954
2986
  authentication: ["setUserById", "setUserByConnection"],
2955
2987
  access: ["deny", "rejectInvalidSubjectToken"]
2956
2988
  }
2957
- }, ba = {
2989
+ }, Ta = {
2958
2990
  "post-user-login": "onExecutePostLogin",
2959
2991
  "credentials-exchange": "onExecuteCredentialsExchange",
2960
2992
  "pre-user-registration": "onExecutePreUserRegistration",
@@ -2963,7 +2995,7 @@ var ga = ma.superRefine(ha), _a = ma.extend({
2963
2995
  };
2964
2996
  //#endregion
2965
2997
  //#region src/utils/user-id.ts
2966
- function xa(e) {
2998
+ function Ea(e) {
2967
2999
  let t = e.indexOf("|"), n = e.slice(0, t), r = e.slice(t + 1);
2968
3000
  if (t === -1 || !n || !r) throw Error(`Invalid user_id: ${e}`);
2969
3001
  return {
@@ -2973,10 +3005,10 @@ function xa(e) {
2973
3005
  }
2974
3006
  //#endregion
2975
3007
  //#region src/utils/http.ts
2976
- var Sa = "x-authhero-preserve-location";
3008
+ var Da = "x-authhero-preserve-location";
2977
3009
  //#endregion
2978
3010
  //#region src/utils/passthrough.ts
2979
- function Ca(e) {
3011
+ function Oa(e) {
2980
3012
  let { primary: t, secondaries: n, syncMethods: r = [
2981
3013
  "create",
2982
3014
  "rawCreate",
@@ -3010,12 +3042,12 @@ function Ca(e) {
3010
3042
  } : i.bind(e) : i;
3011
3043
  } });
3012
3044
  }
3013
- function wa(e) {
3045
+ function ka(e) {
3014
3046
  return e;
3015
3047
  }
3016
3048
  //#endregion
3017
3049
  //#region src/utils/connection-attributes.ts
3018
- function Ta(e) {
3050
+ function Aa(e) {
3019
3051
  let t = e?.options;
3020
3052
  if (!t) return {
3021
3053
  usernameIdentifierActive: !1,
@@ -3038,35 +3070,35 @@ function Ta(e) {
3038
3070
  }
3039
3071
  //#endregion
3040
3072
  //#region src/utils/guards.ts
3041
- function Ea(e) {
3073
+ function ja(e) {
3042
3074
  return typeof e == "object" && !!e && !Array.isArray(e);
3043
3075
  }
3044
3076
  //#endregion
3045
3077
  //#region src/utils/base64url.ts
3046
- function Da(e) {
3078
+ function Ma(e) {
3047
3079
  let t = "";
3048
3080
  for (let n of e) t += String.fromCharCode(n);
3049
3081
  return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
3050
3082
  }
3051
- function Oa(e) {
3083
+ function Na(e) {
3052
3084
  let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
3053
3085
  for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
3054
3086
  return r;
3055
3087
  }
3056
- function ka(e) {
3057
- return Da(new TextEncoder().encode(e));
3088
+ function Pa(e) {
3089
+ return Ma(new TextEncoder().encode(e));
3058
3090
  }
3059
- function Aa(e) {
3060
- return new TextDecoder().decode(Oa(e));
3091
+ function Fa(e) {
3092
+ return new TextDecoder().decode(Na(e));
3061
3093
  }
3062
3094
  //#endregion
3063
3095
  //#region src/utils/base64.ts
3064
- function ja(e) {
3096
+ function Ia(e) {
3065
3097
  let t = "";
3066
3098
  for (let n of e) t += String.fromCharCode(n);
3067
3099
  return btoa(t);
3068
3100
  }
3069
- function Ma(e) {
3101
+ function La(e) {
3070
3102
  let t = atob(e), n = new Uint8Array(t.length);
3071
3103
  for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
3072
3104
  return n;
@@ -3074,12 +3106,12 @@ function Ma(e) {
3074
3106
  //#endregion
3075
3107
  //#region src/utils/base32.ts
3076
3108
  var X = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
3077
- function Na(e) {
3109
+ function Ra(e) {
3078
3110
  let t = "", n = 0, r = 0;
3079
3111
  for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += X[n >> r & 31];
3080
3112
  return r > 0 && (t += X[n << 5 - r & 31]), t;
3081
3113
  }
3082
- function Pa(e) {
3114
+ function za(e) {
3083
3115
  let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
3084
3116
  if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
3085
3117
  let r = [], i = 0, a = 0;
@@ -3093,19 +3125,19 @@ function Pa(e) {
3093
3125
  }
3094
3126
  //#endregion
3095
3127
  //#region src/utils/hex.ts
3096
- function Fa(e) {
3128
+ function Ba(e) {
3097
3129
  let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
3098
3130
  for (let e of t) n += e.toString(16).padStart(2, "0");
3099
3131
  return n;
3100
3132
  }
3101
3133
  //#endregion
3102
3134
  //#region src/utils/cursor.ts
3103
- function Ia(e) {
3104
- return ka(JSON.stringify(e));
3135
+ function Va(e) {
3136
+ return Pa(JSON.stringify(e));
3105
3137
  }
3106
- function La(e) {
3138
+ function Ha(e) {
3107
3139
  try {
3108
- let t = JSON.parse(Aa(e));
3140
+ let t = JSON.parse(Fa(e));
3109
3141
  return t && typeof t == "object" && typeof t.i == "string" ? t : null;
3110
3142
  } catch {
3111
3143
  return null;
@@ -3113,7 +3145,7 @@ function La(e) {
3113
3145
  }
3114
3146
  //#endregion
3115
3147
  //#region src/utils/lucene.ts
3116
- function Ra(e) {
3148
+ function Ua(e) {
3117
3149
  let t = [], n = "", r = !1;
3118
3150
  for (let i = 0; i < e.length; i++) {
3119
3151
  let a = e[i];
@@ -3121,53 +3153,53 @@ function Ra(e) {
3121
3153
  }
3122
3154
  return n.trim() && t.push(n.trim()), t;
3123
3155
  }
3124
- function za(e) {
3156
+ function Wa(e) {
3125
3157
  return e.replace(/\\([\\"+\-!(){}[\]^~*?:/&|])/g, "$1");
3126
3158
  }
3127
- function Ba(e) {
3159
+ function Ga(e) {
3128
3160
  return `"${e.replace(/([\\"])/g, "\\$1")}"`;
3129
3161
  }
3130
- function Va(e) {
3162
+ function Ka(e) {
3131
3163
  let t = e.trim();
3132
- return za(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
3164
+ return Wa(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
3133
3165
  }
3134
- function Ha(e) {
3166
+ function qa(e) {
3135
3167
  let t = [], n = [];
3136
- for (let r of Ra(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
3168
+ for (let r of Ua(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
3137
3169
  return t.push(n), t.filter((e) => e.length > 0);
3138
3170
  }
3139
- function Ua(e, t) {
3171
+ function Ja(e, t) {
3140
3172
  let n = new Set(t), r = (e) => {
3141
3173
  let t = e.replace(/^([^:]+)=/, "$1:"), r = t.startsWith("-") ? t.slice(1) : t;
3142
3174
  if (r.startsWith("_exists_:")) return n.has(r.slice(9));
3143
3175
  let i = r.indexOf(":");
3144
3176
  return i > 0 ? n.has(r.slice(0, i)) : !0;
3145
3177
  };
3146
- return Ha(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
3178
+ return qa(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
3147
3179
  }
3148
- var Wa = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
3149
- function Ga(e) {
3150
- return Wa.test(e);
3180
+ var Ya = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
3181
+ function Xa(e) {
3182
+ return Ya.test(e);
3151
3183
  }
3152
3184
  //#endregion
3153
3185
  //#region src/utils/session-retention.ts
3154
3186
  var Z = 10080 * 60 * 1e3, Q = 4320 * 60 * 1e3;
3155
- function Ka(e) {
3187
+ function Za(e) {
3156
3188
  return Math.floor((e + Q) / Z);
3157
3189
  }
3158
3190
  function $(e) {
3159
3191
  return e * Z - Q;
3160
3192
  }
3161
- function qa(e, t = Date.now()) {
3162
- let n = Ka(t), r = n - e + 1;
3193
+ function Qa(e, t = Date.now()) {
3194
+ let n = Za(t), r = n - e + 1;
3163
3195
  return {
3164
3196
  currentWeek: n,
3165
3197
  firstWeek: r,
3166
3198
  sinceMs: $(r)
3167
3199
  };
3168
3200
  }
3169
- function Ja(e, t, n = Date.now()) {
3170
- let { currentWeek: r, firstWeek: i, sinceMs: a } = qa(t, n), o = /* @__PURE__ */ new Map();
3201
+ function $a(e, t, n = Date.now()) {
3202
+ let { currentWeek: r, firstWeek: i, sinceMs: a } = Qa(t, n), o = /* @__PURE__ */ new Map();
3171
3203
  for (let t of e) {
3172
3204
  if (t.created_week < i || t.created_week > r) continue;
3173
3205
  let e = Math.min(Math.max(0, t.used_week - t.created_week), r - t.created_week), n = o.get(t.created_week);
@@ -3190,8 +3222,8 @@ function Ja(e, t, n = Date.now()) {
3190
3222
  cohorts: s
3191
3223
  };
3192
3224
  }
3193
- function Ya(e, t, n = Date.now()) {
3194
- let r = Ja(e, t, n);
3225
+ function eo(e, t, n = Date.now()) {
3226
+ let r = $a(e, t, n);
3195
3227
  return {
3196
3228
  interval: r.interval,
3197
3229
  from: r.from,
@@ -3205,16 +3237,16 @@ function Ya(e, t, n = Date.now()) {
3205
3237
  }
3206
3238
  //#endregion
3207
3239
  //#region src/utils/username-validation.ts
3208
- var Xa = /^[A-Za-z0-9_+\-.!#$'^`~]+$/, Za = "Username can only contain alphanumeric characters and the following characters: '_', '+', '-', '.', '!', '#', '$', \"'\", '^', '`', '~'", Qa = "Usernames must not contain \"@\". Use the email field for email addresses.";
3209
- function $a(e) {
3210
- return Xa.test(e);
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);
3211
3243
  }
3212
- function eo(e) {
3244
+ function ao(e) {
3213
3245
  return e.toLowerCase();
3214
3246
  }
3215
- function to(e, t) {
3216
- if (e.includes("@")) return Qa;
3217
- if (!$a(e)) return Za;
3247
+ function oo(e, t) {
3248
+ if (e.includes("@")) return ro;
3249
+ if (!io(e)) return no;
3218
3250
  if (t) {
3219
3251
  let n = [...e].length;
3220
3252
  if (n < t.min) return `Username must be at least ${t.min} characters`;
@@ -3224,15 +3256,15 @@ function to(e, t) {
3224
3256
  }
3225
3257
  //#endregion
3226
3258
  //#region src/utils/feature-not-supported.ts
3227
- var no = class extends Error {
3259
+ var so = class extends Error {
3228
3260
  feature;
3229
3261
  adapter;
3230
3262
  constructor(e, t, n) {
3231
3263
  super(`${e} is not supported by the ${t} adapter.` + (n ? ` ${n}` : "")), this.name = "FeatureNotSupportedError", this.feature = e, this.adapter = t;
3232
3264
  }
3233
3265
  };
3234
- function ro(e) {
3266
+ function co(e) {
3235
3267
  return e instanceof Error && e.name === "FeatureNotSupportedError";
3236
3268
  }
3237
3269
  //#endregion
3238
- export { xe as Auth0ActionEnum, Gn as Auth0Client, w as AuthorizationResponseMode, C as AuthorizationResponseType, rt as CodeChallengeMethod, f as ComponentCategory, d as ComponentType, da as DATABASE_CONNECTION_STRATEGY, Se as EmailActionEnum, Zt as FORM_FIELD_TYPES, no as FeatureNotSupportedError, be as FlowActionTypeEnum, Nr as GrantType, _r as KNOWN_TENANT_OPERATION_ENGINES, Kn as LocationInfo, H as LogTypes, In as LoginSessionState, Q as MONDAY_EPOCH_SHIFT_MS, Xe as NodeType, Sa as PRESERVE_LOCATION_HEADER, Jr as RESERVED_SUBJECT_TOKEN_TYPE_PREFIXES, Ee as RedirectTargetEnum, la as Strategy, ua as StrategyType, wr as TERMINAL_TENANT_OPERATION_ROW_STATUSES, qr as TOKEN_EXCHANGE_PROFILE_TYPE, ya as TRIGGER_API_SHAPES, ba as TRIGGER_FUNCTION_NAMES, Qa as USERNAME_CONTAINS_AT_MESSAGE, Za as USERNAME_INVALID_CHARACTERS_MESSAGE, Z as WEEK_MS, r as actionDependencySchema, re as actionExecutionErrorSchema, ce as actionExecutionInsertSchema, ae as actionExecutionLogEntrySchema, oe as actionExecutionLogsSchema, ie as actionExecutionResultSchema, se as actionExecutionSchema, c as actionExecutionStatusSchema, ne as actionExecutionTriggerIdSchema, a as actionInsertSchema, S as actionNodeSchema, te as actionResponseSchema, s as actionSchema, ee as actionSecretNameSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, le as actionVersionInsertSchema, ue as actionVersionSchema, Ji as activeUsersResponseSchema, fe as actorSchema, Fe as addressSchema, pn as allowedTriggersForHook, ra as analyticsColumnMetaSchema, Zi as analyticsGroupBySchema, Xi as analyticsIntervalSchema, aa as analyticsQueryResponseSchema, Yi as analyticsResourceSchema, ia as analyticsStatisticsSchema, Qi as analyticsUserTypeSchema, ar as attackProtectionSchema, de as auditCategorySchema, ve as auditEventInsertSchema, ye as auditEventSchema, _e as auth0ClientSchema, nt as auth0FlowInsertSchema, tt as auth0FlowSchema, je as auth0QuerySchema, we as auth0UpdateUserActionSchema, Re as auth0UserResponseSchema, ot as authParamsSchema, ga as authenticationMethodInsertSchema, _a as authenticationMethodSchema, pa as authenticationMethodTypeSchema, l as baseUserSchema, Jt as blockComponentSchema, Fr as bordersSchema, st as brandingSchema, nr as breachedPasswordDetectionSchema, rr as bruteForceProtectionSchema, Ya as buildRefreshTokenRetention, Ja as buildSessionRetention, h as buttonComponentSchema, at as claimsRequestSchema, We as clientGrantInsertSchema, Ke as clientGrantListSchema, Ge as clientGrantSchema, He as clientInsertSchema, Je as clientRegistrationTokenInsertSchema, Ye as clientRegistrationTokenSchema, qe as clientRegistrationTokenTypeSchema, Ue as clientSchema, lt as codeInsertSchema, ut as codeSchema, ct as codeTypeSchema, Ir as colorsSchema, on as componentMessageSchema, y as componentSchema, ft as connectionInsertSchema, dt as connectionOptionsSchema, pt as connectionSchema, u as coordinatesSchema, Ca as createPassthroughAdapter, wa as createWriteOnlyAdapter, vt as customDomainCertificateUploadSchema, E as customDomainInsertSchema, ht as customDomainSchema, gt as customDomainUpdateSchema, _t as customDomainWithTenantIdSchema, ca as customTextEntrySchema, sa as customTextSchema, qi as dailyStatsSchema, Pa as decodeBase32, Ma as decodeBase64, Oa as decodeBase64Url, Aa as decodeBase64UrlString, La as decodeCursor, si as emailProviderSchema, ci as emailTemplateNameSchema, li as emailTemplateSchema, Ce as emailVerificationRulesSchema, Te as emailVerifyActionSchema, Na as encodeBase32, ja as encodeBase64, Da as encodeBase64Url, ka as encodeBase64UrlString, Ia as encodeCursor, Fa as encodeHex, et as endingSchema, Ba as escapeLuceneValue, Xt as fieldComponentSchema, Oe as flowActionStepSchema, ke as flowInsertSchema, Ae as flowSchema, _ as flowsFieldComponentSchema, x as flowsFlowNodeSchema, b as flowsStepNodeSchema, K as fontDetailsSchema, Lr as fontsSchema, Qt as formControlSchema, rn as formInsertSchema, j as formNodeComponentDefinition, nn as formNodeSchema, an as formSchema, v as genericComponentSchema, Ze as genericNodeSchema, Ta as getConnectionIdentifierConfig, Wn as getLogTypeCategory, Un as getLogTypeDescription, Si as grantInsertSchema, Ci as grantSchema, Wr as handlerConfigSchema, Dn as hookCodeInsertSchema, On as hookCodeSchema, bn as hookInsertSchema, R as hookPageId, En as hookSchema, z as hookTemplateId, mn as hookTemplates, Pe as identitySchema, va as importMetadataSchema, jn as inviteInsertSchema, Mn as inviteSchema, An as inviteeSchema, kn as inviterSchema, ln as isBlockComponent, fa as isDatabaseConnectionStrategy, Ga as isEmailSearchTerm, ro as isFeatureNotSupportedError, dn as isFieldComponent, Ea as isPlainObject, un as isWidgetComponent, Pn as jwksKeySchema, Nn as jwksSchema, g as legalComponentSchema, ge as locationInfoSchema, qn as logInsertSchema, Jn as logSchema, Xn as logStreamFilterSchema, Zn as logStreamInsertSchema, Qn as logStreamSchema, U as logStreamStatusSchema, Yn as logStreamTypeSchema, Hn as logTypeCategories, Vn as logTypeDescriptions, V as loginSessionAuthStrategySchema, Rn as loginSessionInsertSchema, zn as loginSessionSchema, Ln as loginSessionStateSchema, Ur as matchSchema, $n as migrationProviderTypeSchema, W as migrationSourceCredentialsSchema, er as migrationSourceInsertSchema, tr as migrationSourceSchema, Qe as nodeSchema, eo as normalizeUsername, Fn as openIDConfigurationSchema, Ii as organizationBrandingSchema, Vi as organizationConnectionInsertSchema, Ui as organizationConnectionListSchema, Hi as organizationConnectionSchema, Li as organizationEnabledConnectionSchema, zi as organizationInsertSchema, Bi as organizationSchema, Ri as organizationTokenQuotaSchema, Rr as pageBackgroundSchema, xa as parseUserId, or as passwordInsertSchema, sr as passwordSchema, Ne as profileDataSchema, oa as promptScreenSchema, Hr as promptSettingSchema, q as proxyRouteInsertSchema, Gr as proxyRouteSchema, Kr as proxyRouteUpdateSchema, De as redirectActionSchema, ui as refreshTokenInsertSchema, ta as refreshTokenRetentionCohortSchema, na as refreshTokenRetentionResponseSchema, di as refreshTokenSchema, me as requestContextSchema, gi as resourceServerInsertSchema, vi as resourceServerListSchema, hi as resourceServerOptionsSchema, _i as resourceServerSchema, mi as resourceServerScopeSchema, he as responseContextSchema, m as richTextComponentSchema, Ni as roleInsertSchema, Fi as roleListSchema, yi as rolePermissionInsertSchema, xi as rolePermissionListSchema, bi as rolePermissionSchema, Pi as roleSchema, Ar as rolloutInsertSchema, Or as rolloutKindSchema, jr as rolloutSchema, kr as rolloutStatusSchema, Mr as rolloutUpdateSchema, Ua as sanitizeLuceneQuery, ti as scimConfigurationInsertSchema, ni as scimConfigurationSchema, ai as scimExternalIdInsertSchema, oi as scimExternalIdSchema, ei as scimMappingEntrySchema, ri as scimTokenInsertSchema, ii as scimTokenSchema, sn as screenLinkSchema, lr as sessionInsertSchema, $i as sessionRetentionCohortSchema, ea as sessionRetentionResponseSchema, qa as sessionRetentionWindow, ur as sessionSchema, dr as signingKeySchema, pi as smsProviderSchema, fi as smsSendParamsSchema, Ha as splitLuceneOrGroups, $e as startSchema, J as subjectTokenTypeSchema, ir as suspiciousIpThrottlingSchema, pe as targetSchema, fr as tenantInsertSchema, gr as tenantOperationEngineSchema, Sr as tenantOperationEventInsertSchema, xr as tenantOperationEventOutcomeSchema, Cr as tenantOperationEventSchema, vr as tenantOperationInsertSchema, mr as tenantOperationKindSchema, Tr as tenantOperationRowInsertSchema, Dr as tenantOperationRowOutcomeSchema, Er as tenantOperationRowSchema, G as tenantOperationRowStatusSchema, yr as tenantOperationSchema, hr as tenantOperationStatusSchema, br as tenantOperationUpdateSchema, pr as tenantSchema, Ki as tenantSettingsSchema, Br as themeInsertSchema, Vr as themeSchema, Yr as tokenExchangeJwtAlgorithmSchema, Y as tokenExchangeJwtVerificationSchema, Zr as tokenExchangeProfileInsertSchema, Qr as tokenExchangeProfileSchema, $r as tokenExchangeProfileUpdateSchema, Xr as tokenExchangeUserMappingSchema, Pr as tokenResponseSchema, Ra as tokenizeLuceneQuery, Me as totalsSchema, cn as uiScreenSchema, za as unescapeLuceneValue, Va as unquoteLuceneValue, wi as userActivitySchema, Ie as userInsertSchema, Wi as userOrganizationInsertSchema, Gi as userOrganizationSchema, Ti as userPermissionInsertSchema, Di as userPermissionListSchema, Ei as userPermissionSchema, ki as userPermissionWithDetailsListSchema, Oi as userPermissionWithDetailsSchema, ze as userResponseSchema, Ai as userRoleInsertSchema, Mi as userRoleListSchema, ji as userRoleSchema, Le as userSchema, $a as usernameHasOnlyAllowedCharacters, to as validateUsername, mt as verificationMethodsSchema, Ka as weekIndex, $ as weekStartMs, Yt as widgetComponentSchema, zr as widgetSchema };
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 };