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