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