@authhero/adapter-interfaces 2.13.1 → 3.1.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.
@@ -40,16 +40,16 @@ var t = e.object({
40
40
  "partial",
41
41
  "canceled",
42
42
  "suspended"
43
- ]), l = e.object({
43
+ ]), te = e.object({
44
44
  id: e.string(),
45
45
  msg: e.string(),
46
46
  url: e.string().optional()
47
- }), te = e.object({
47
+ }), ne = e.object({
48
48
  action_name: e.string(),
49
- error: l.nullable(),
49
+ error: te.nullable(),
50
50
  started_at: e.string(),
51
51
  ended_at: e.string()
52
- }), ne = e.object({
52
+ }), re = e.object({
53
53
  level: e.enum([
54
54
  "log",
55
55
  "info",
@@ -58,23 +58,23 @@ var t = e.object({
58
58
  "debug"
59
59
  ]),
60
60
  message: e.string()
61
- }), re = e.array(e.object({
61
+ }), ie = e.array(e.object({
62
62
  action_name: e.string(),
63
- lines: e.array(ne)
64
- })), ie = e.object({
63
+ lines: e.array(re)
64
+ })), ae = e.object({
65
65
  id: e.string(),
66
66
  tenant_id: e.string(),
67
67
  trigger_id: s,
68
68
  status: c,
69
- results: e.array(te),
70
- logs: re.optional(),
69
+ results: e.array(ne),
70
+ logs: ie.optional(),
71
71
  created_at: e.string(),
72
72
  updated_at: e.string()
73
- }), ae = ie.omit({
73
+ }), oe = ae.omit({
74
74
  tenant_id: !0,
75
75
  created_at: !0,
76
76
  updated_at: !0
77
- }), u = e.object({
77
+ }), se = e.object({
78
78
  action_id: e.string(),
79
79
  code: e.string().max(1e5),
80
80
  runtime: e.string().max(50).optional(),
@@ -82,16 +82,16 @@ var t = e.object({
82
82
  secrets: e.array(i).optional(),
83
83
  supported_triggers: e.array(n).optional(),
84
84
  deployed: e.boolean().default(!0)
85
- }), oe = u.extend({
85
+ }), ce = se.extend({
86
86
  id: e.string(),
87
87
  tenant_id: e.string(),
88
88
  number: e.number().int()
89
- }).extend(t.shape), se = e.enum([
89
+ }).extend(t.shape), le = e.enum([
90
90
  "user_action",
91
91
  "admin_action",
92
92
  "system",
93
93
  "api"
94
- ]), ce = e.object({
94
+ ]), ue = e.object({
95
95
  type: e.enum([
96
96
  "user",
97
97
  "admin",
@@ -105,7 +105,7 @@ var t = e.object({
105
105
  org_name: e.string().optional(),
106
106
  scopes: e.array(e.string()).optional(),
107
107
  client_id: e.string().optional()
108
- }), le = e.object({
108
+ }), de = e.object({
109
109
  type: e.string(),
110
110
  id: e.string(),
111
111
  before: e.record(e.string(), e.unknown()).optional(),
@@ -114,7 +114,7 @@ var t = e.object({
114
114
  old: e.unknown(),
115
115
  new: e.unknown()
116
116
  })).optional()
117
- }), ue = e.object({
117
+ }), fe = e.object({
118
118
  method: e.string(),
119
119
  path: e.string(),
120
120
  query: e.record(e.string(), e.string()).optional(),
@@ -122,58 +122,58 @@ var t = e.object({
122
122
  ip: e.string(),
123
123
  user_agent: e.string().optional(),
124
124
  correlation_id: e.string().optional()
125
- }), de = e.object({
125
+ }), pe = e.object({
126
126
  status_code: e.number(),
127
127
  body: e.unknown().optional()
128
- }), fe = e.object({
128
+ }), me = e.object({
129
129
  country_code: e.string(),
130
130
  city_name: e.string(),
131
131
  latitude: e.string(),
132
132
  longitude: e.string(),
133
133
  time_zone: e.string(),
134
134
  continent_code: e.string()
135
- }), d = e.object({
135
+ }), he = e.object({
136
136
  name: e.string(),
137
137
  version: e.string(),
138
138
  env: e.record(e.string(), e.string()).optional()
139
- }), f = e.object({
139
+ }), l = e.object({
140
140
  tenant_id: e.string(),
141
141
  event_type: e.string(),
142
142
  log_type: e.string(),
143
143
  description: e.string().optional(),
144
- category: se,
145
- actor: ce,
146
- target: le,
147
- request: ue,
148
- response: de.optional(),
144
+ category: le,
145
+ actor: ue,
146
+ target: de,
147
+ request: fe,
148
+ response: pe.optional(),
149
149
  connection: e.string().optional(),
150
150
  strategy: e.string().optional(),
151
151
  strategy_type: e.string().optional(),
152
152
  audience: e.string().optional(),
153
153
  scope: e.string().optional(),
154
- location: fe.optional(),
155
- auth0_client: d.optional(),
154
+ location: me.optional(),
155
+ auth0_client: he.optional(),
156
156
  hostname: e.string(),
157
157
  is_mobile: e.boolean().optional(),
158
158
  timestamp: e.string()
159
- }), pe = f.extend({ id: e.string() }), me = e.enum([
159
+ }), ge = l.extend({ id: e.string() }), _e = e.enum([
160
160
  "AUTH0",
161
161
  "EMAIL",
162
162
  "REDIRECT"
163
- ]), he = e.enum([
163
+ ]), ve = e.enum([
164
164
  "CREATE_USER",
165
165
  "GET_USER",
166
166
  "UPDATE_USER",
167
167
  "SEND_REQUEST",
168
168
  "SEND_EMAIL"
169
- ]), ge = e.enum(["VERIFY_EMAIL"]), p = e.object({
169
+ ]), ye = e.enum(["VERIFY_EMAIL"]), u = e.object({
170
170
  require_mx_record: e.boolean().optional(),
171
171
  block_aliases: e.boolean().optional(),
172
172
  block_free_emails: e.boolean().optional(),
173
173
  block_disposable_emails: e.boolean().optional(),
174
174
  blocklist: e.array(e.string()).optional(),
175
175
  allowlist: e.array(e.string()).optional()
176
- }), m = e.object({
176
+ }), d = e.object({
177
177
  id: e.string(),
178
178
  alias: e.string().max(100).optional(),
179
179
  type: e.literal("AUTH0"),
@@ -185,7 +185,7 @@ var t = e.object({
185
185
  user_id: e.string(),
186
186
  changes: e.record(e.string(), e.any())
187
187
  })
188
- }), h = e.object({
188
+ }), f = e.object({
189
189
  id: e.string(),
190
190
  alias: e.string().max(100).optional(),
191
191
  type: e.literal("EMAIL"),
@@ -194,13 +194,13 @@ var t = e.object({
194
194
  mask_output: e.boolean().optional(),
195
195
  params: e.object({
196
196
  email: e.string(),
197
- rules: p.optional()
197
+ rules: u.optional()
198
198
  })
199
- }), g = e.enum([
199
+ }), p = e.enum([
200
200
  "change-email",
201
201
  "account",
202
202
  "custom"
203
- ]), _ = e.object({
203
+ ]), m = e.object({
204
204
  id: e.string(),
205
205
  alias: e.string().max(100).optional(),
206
206
  type: e.literal("REDIRECT"),
@@ -208,31 +208,31 @@ var t = e.object({
208
208
  allow_failure: e.boolean().optional(),
209
209
  mask_output: e.boolean().optional(),
210
210
  params: e.object({
211
- target: g.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
211
+ target: p.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
212
212
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
213
213
  })
214
- }), v = e.union([
215
- m,
216
- h,
217
- _
218
- ]), y = e.object({
214
+ }), h = e.union([
215
+ d,
216
+ f,
217
+ m
218
+ ]), g = e.object({
219
219
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
220
- actions: e.array(v).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
221
- }), _e = y.extend(t.shape).extend({ id: e.string().openapi({
220
+ actions: e.array(h).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
221
+ }), be = g.extend(t.shape).extend({ id: e.string().openapi({
222
222
  description: "Unique identifier for the flow",
223
223
  example: "af_12tMpdJ3iek7svMyZkSh5M"
224
- }) }), ve = e.object({
224
+ }) }), xe = e.object({
225
225
  page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
226
226
  per_page: e.string().min(1).optional().default("10").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page" }),
227
227
  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" }),
228
228
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
229
229
  q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
230
- }), ye = e.object({
230
+ }), Se = e.object({
231
231
  start: e.number(),
232
232
  limit: e.number(),
233
233
  length: e.number(),
234
234
  total: e.number().optional()
235
- }), be = e.object({
235
+ }), _ = e.object({
236
236
  email: e.string().optional(),
237
237
  email_verified: e.boolean().optional(),
238
238
  name: e.string().optional(),
@@ -241,7 +241,7 @@ var t = e.object({
241
241
  phone_number: e.string().optional(),
242
242
  phone_verified: e.boolean().optional(),
243
243
  family_name: e.string().optional()
244
- }).catchall(e.any()), b = e.object({
244
+ }).catchall(e.any()), Ce = e.object({
245
245
  connection: e.string(),
246
246
  user_id: e.string(),
247
247
  provider: e.string(),
@@ -254,15 +254,15 @@ var t = e.object({
254
254
  access_token: e.string().optional(),
255
255
  access_token_secret: e.string().optional(),
256
256
  refresh_token: e.string().optional(),
257
- profileData: be.optional()
258
- }), x = e.object({
257
+ profileData: _.optional()
258
+ }), v = e.object({
259
259
  formatted: e.string().optional(),
260
260
  street_address: e.string().optional(),
261
261
  locality: e.string().optional(),
262
262
  region: e.string().optional(),
263
263
  postal_code: e.string().optional(),
264
264
  country: e.string().optional()
265
- }).optional(), S = e.object({
265
+ }).optional(), y = e.object({
266
266
  email: e.string().transform((e) => e.toLowerCase()).optional(),
267
267
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
268
268
  phone_number: e.string().optional(),
@@ -285,8 +285,8 @@ var t = e.object({
285
285
  gender: e.string().optional(),
286
286
  birthdate: e.string().optional(),
287
287
  zoneinfo: e.string().optional(),
288
- address: x
289
- }), C = S.extend({
288
+ address: v
289
+ }), b = y.extend({
290
290
  email_verified: e.boolean().default(!1),
291
291
  verify_email: e.boolean().optional(),
292
292
  last_ip: e.string().optional(),
@@ -300,29 +300,29 @@ var t = e.object({
300
300
  hash: e.string(),
301
301
  algorithm: e.string()
302
302
  }).optional()
303
- }), w = C.omit({ password: !0 }).extend(t.shape).extend({
303
+ }), x = b.omit({ password: !0 }).extend(t.shape).extend({
304
304
  user_id: e.string(),
305
305
  provider: e.string(),
306
306
  is_social: e.boolean(),
307
307
  email: e.string().optional(),
308
308
  login_count: e.number().default(0),
309
- identities: e.array(b).optional()
310
- }), xe = w.omit({ registration_completed_at: !0 }), Se = S.extend({
309
+ identities: e.array(Ce).optional()
310
+ }), we = x.omit({ registration_completed_at: !0 }), Te = y.extend({
311
311
  login_count: e.number(),
312
312
  multifactor: e.array(e.string()).optional(),
313
313
  last_ip: e.string().optional(),
314
314
  last_login: e.string().optional(),
315
315
  user_id: e.string()
316
- }).catchall(e.any()), Ce = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", we = (e = 21) => {
316
+ }).catchall(e.any()), Ee = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", De = (e = 21) => {
317
317
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
318
- for (; e--;) t += Ce[n[e] & 63];
318
+ for (; e--;) t += Ee[n[e] & 63];
319
319
  return t;
320
- }, T = e.object({
320
+ }, S = e.object({
321
321
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
322
322
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
323
323
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
324
324
  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)." }),
325
- client_secret: e.string().default(() => we()).optional().openapi({ description: "Client secret (which you must not make public)." }),
325
+ client_secret: e.string().default(() => De()).optional().openapi({ description: "Client secret (which you must not make public)." }),
326
326
  app_type: e.enum([
327
327
  "native",
328
328
  "spa",
@@ -429,10 +429,10 @@ var t = e.object({
429
429
  ]).optional().openapi({ description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token." }),
430
430
  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." }),
431
431
  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." })
432
- }), Te = e.object({
432
+ }), Oe = e.object({
433
433
  created_at: e.string(),
434
434
  updated_at: e.string()
435
- }).extend(T.shape).extend({ client_id: e.string() }), E = e.object({
435
+ }).extend(S.shape).extend({ client_id: e.string() }), C = e.object({
436
436
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
437
437
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
438
438
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -445,38 +445,38 @@ var t = e.object({
445
445
  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." }),
446
446
  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." }),
447
447
  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." })
448
- }), D = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(E.shape).extend({
448
+ }), w = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(C.shape).extend({
449
449
  created_at: e.string().optional(),
450
450
  updated_at: e.string().optional()
451
- }), Ee = e.array(D), O = e.enum(["iat", "rat"]), k = e.object({
451
+ }), ke = e.array(w), T = e.enum(["iat", "rat"]), E = e.object({
452
452
  id: e.string(),
453
453
  token_hash: e.string(),
454
- type: O,
454
+ type: T,
455
455
  client_id: e.string().optional(),
456
456
  sub: e.string().optional(),
457
457
  constraints: e.record(e.string(), e.unknown()).optional(),
458
458
  single_use: e.boolean().default(!1),
459
459
  expires_at: e.string().optional()
460
- }), De = e.object({
460
+ }), Ae = e.object({
461
461
  created_at: e.string(),
462
462
  used_at: e.string().optional(),
463
463
  revoked_at: e.string().optional()
464
- }).extend(k.shape), A = e.object({
464
+ }).extend(E.shape), D = e.object({
465
465
  x: e.number(),
466
466
  y: e.number()
467
- }), j = /* @__PURE__ */ function(e) {
467
+ }), O = /* @__PURE__ */ function(e) {
468
468
  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;
469
- }({}), M = /* @__PURE__ */ function(e) {
469
+ }({}), k = /* @__PURE__ */ function(e) {
470
470
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
471
- }({}), N = e.object({
471
+ }({}), A = e.object({
472
472
  id: e.string(),
473
- category: e.nativeEnum(M),
474
- type: e.nativeEnum(j)
475
- }), P = N.extend({
473
+ category: e.nativeEnum(k),
474
+ type: e.nativeEnum(O)
475
+ }), j = A.extend({
476
476
  category: e.literal("BLOCK"),
477
477
  type: e.literal("RICH_TEXT"),
478
478
  config: e.object({ content: e.string() }).passthrough()
479
- }), F = N.extend({
479
+ }), M = A.extend({
480
480
  category: e.literal("BLOCK"),
481
481
  type: e.union([
482
482
  e.literal("NEXT_BUTTON"),
@@ -484,13 +484,13 @@ var t = e.object({
484
484
  e.literal("SUBMIT_BUTTON")
485
485
  ]),
486
486
  config: e.object({ text: e.string() }).passthrough()
487
- }), I = N.extend({
487
+ }), N = A.extend({
488
488
  category: e.literal("FIELD"),
489
489
  type: e.literal("LEGAL"),
490
490
  required: e.boolean().optional(),
491
491
  sensitive: e.boolean().optional(),
492
492
  config: e.object({ text: e.string() }).passthrough()
493
- }), L = N.extend({
493
+ }), P = A.extend({
494
494
  category: e.literal("FIELD"),
495
495
  type: e.union([
496
496
  e.literal("TEXT"),
@@ -510,40 +510,40 @@ var t = e.object({
510
510
  label: e.string().optional(),
511
511
  placeholder: e.string().optional()
512
512
  }).passthrough()
513
- }), R = e.object({
513
+ }), F = e.object({
514
514
  id: e.string(),
515
515
  category: e.string(),
516
516
  type: e.string()
517
- }).passthrough(), z = e.union([
517
+ }).passthrough(), I = e.union([
518
+ j,
519
+ M,
520
+ N,
518
521
  P,
519
- F,
520
- I,
521
- L,
522
- R
523
- ]), Oe = /* @__PURE__ */ function(e) {
522
+ F
523
+ ]), je = /* @__PURE__ */ function(e) {
524
524
  return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
525
- }({}), B = e.object({
525
+ }({}), L = e.object({
526
526
  id: e.string(),
527
527
  type: e.literal("STEP"),
528
- coordinates: A,
528
+ coordinates: D,
529
529
  alias: e.string().optional(),
530
530
  config: e.object({
531
- components: e.array(z),
531
+ components: e.array(I),
532
532
  next_node: e.string()
533
533
  }).passthrough()
534
- }), ke = e.object({
534
+ }), Me = e.object({
535
535
  id: e.string(),
536
536
  type: e.literal("FLOW"),
537
- coordinates: A,
537
+ coordinates: D,
538
538
  alias: e.string().optional(),
539
539
  config: e.object({
540
540
  flow_id: e.string(),
541
541
  next_node: e.string()
542
542
  })
543
- }), Ae = e.object({
543
+ }), Ne = e.object({
544
544
  id: e.string(),
545
545
  type: e.literal("ACTION"),
546
- coordinates: A,
546
+ coordinates: D,
547
547
  alias: e.string().optional(),
548
548
  config: e.object({
549
549
  action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
@@ -555,56 +555,56 @@ var t = e.object({
555
555
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
556
556
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
557
557
  }).passthrough()
558
- }), je = e.object({
558
+ }), Pe = e.object({
559
559
  id: e.string(),
560
560
  type: e.string(),
561
- coordinates: A
562
- }).passthrough(), Me = e.union([
563
- B,
564
- ke,
565
- Ae,
566
- je
567
- ]), Ne = e.object({
561
+ coordinates: D
562
+ }).passthrough(), Fe = e.union([
563
+ L,
564
+ Me,
565
+ Ne,
566
+ Pe
567
+ ]), Ie = e.object({
568
568
  next_node: e.string(),
569
- coordinates: A
570
- }).passthrough(), Pe = e.object({
569
+ coordinates: D
570
+ }).passthrough(), Le = e.object({
571
571
  resume_flow: e.boolean().optional(),
572
- coordinates: A
573
- }).passthrough(), Fe = e.object({
572
+ coordinates: D
573
+ }).passthrough(), Re = e.object({
574
574
  id: e.string(),
575
575
  name: e.string(),
576
576
  languages: e.object({ primary: e.string() }).passthrough(),
577
- nodes: e.array(Me),
578
- start: Ne,
579
- ending: Pe,
577
+ nodes: e.array(Fe),
578
+ start: Ie,
579
+ ending: Le,
580
580
  created_at: e.string(),
581
581
  updated_at: e.string(),
582
582
  links: e.object({
583
583
  sdkSrc: e.string().optional(),
584
584
  sdk_src: e.string().optional()
585
585
  }).passthrough()
586
- }).passthrough(), Ie = Fe.omit({
586
+ }).passthrough(), ze = Re.omit({
587
587
  id: !0,
588
588
  created_at: !0,
589
589
  updated_at: !0
590
- }), Le = /* @__PURE__ */ function(e) {
590
+ }), Be = /* @__PURE__ */ function(e) {
591
591
  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;
592
- }({}), Re = /* @__PURE__ */ function(e) {
592
+ }({}), Ve = /* @__PURE__ */ function(e) {
593
593
  return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
594
- }({}), ze = /* @__PURE__ */ function(e) {
594
+ }({}), He = /* @__PURE__ */ function(e) {
595
595
  return e.S256 = "S256", e.Plain = "plain", e;
596
- }({}), Be = e.union([e.null(), e.object({
596
+ }({}), Ue = e.union([e.null(), e.object({
597
597
  essential: e.boolean().optional(),
598
598
  value: e.unknown().optional(),
599
599
  values: e.array(e.unknown()).optional()
600
- })]).nullable(), Ve = e.object({
601
- userinfo: e.record(e.string(), Be).optional(),
602
- id_token: e.record(e.string(), Be).optional()
603
- }), He = e.object({
600
+ })]).nullable(), We = e.object({
601
+ userinfo: e.record(e.string(), Ue).optional(),
602
+ id_token: e.record(e.string(), Ue).optional()
603
+ }), Ge = e.object({
604
604
  client_id: e.string(),
605
605
  act_as: e.string().optional(),
606
- response_type: e.nativeEnum(Le).optional(),
607
- response_mode: e.nativeEnum(Re).optional(),
606
+ response_type: e.nativeEnum(Be).optional(),
607
+ response_mode: e.nativeEnum(Ve).optional(),
608
608
  redirect_uri: e.string().optional(),
609
609
  audience: e.string().optional(),
610
610
  organization: e.string().optional(),
@@ -612,15 +612,15 @@ var t = e.object({
612
612
  nonce: e.string().optional(),
613
613
  scope: e.string().optional(),
614
614
  prompt: e.string().optional(),
615
- code_challenge_method: e.nativeEnum(ze).optional(),
615
+ code_challenge_method: e.nativeEnum(He).optional(),
616
616
  code_challenge: e.string().optional(),
617
617
  username: e.string().optional(),
618
618
  ui_locales: e.string().optional(),
619
619
  max_age: e.number().optional(),
620
620
  acr_values: e.string().optional(),
621
- claims: Ve.optional(),
621
+ claims: We.optional(),
622
622
  vendor_id: e.string().optional()
623
- }), Ue = e.object({
623
+ }), Ke = e.object({
624
624
  colors: e.object({
625
625
  primary: e.string(),
626
626
  page_background: e.union([e.string(), e.object({
@@ -639,7 +639,7 @@ var t = e.object({
639
639
  "light",
640
640
  "auto"
641
641
  ]).optional()
642
- }), We = e.enum([
642
+ }), qe = e.enum([
643
643
  "password_reset",
644
644
  "email_verification",
645
645
  "otp",
@@ -647,11 +647,11 @@ var t = e.object({
647
647
  "authorization_code",
648
648
  "oauth2_state",
649
649
  "ticket"
650
- ]), Ge = e.object({
650
+ ]), Je = e.object({
651
651
  code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
652
652
  login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
653
653
  connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
654
- code_type: We,
654
+ code_type: qe,
655
655
  code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
656
656
  code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
657
657
  code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
@@ -662,7 +662,7 @@ var t = e.object({
662
662
  expires_at: e.string(),
663
663
  used_at: e.string().optional(),
664
664
  user_id: e.string().optional()
665
- }), Ke = Ge.extend({ created_at: e.string() }), qe = e.object({
665
+ }), Ye = Je.extend({ created_at: e.string() }), Xe = e.object({
666
666
  kid: e.string().optional(),
667
667
  team_id: e.string().optional(),
668
668
  realms: e.string().optional(),
@@ -778,23 +778,23 @@ var t = e.object({
778
778
  "never_on_login"
779
779
  ]).optional()
780
780
  });
781
- function V(e) {
781
+ function R(e) {
782
782
  if (e !== null) {
783
- if (Array.isArray(e)) return e.filter((e) => e !== null).map(V);
783
+ if (Array.isArray(e)) return e.filter((e) => e !== null).map(R);
784
784
  if (e && typeof e == "object") {
785
785
  let t = {};
786
- for (let [n, r] of Object.entries(e)) r !== null && (t[n] = V(r));
786
+ for (let [n, r] of Object.entries(e)) r !== null && (t[n] = R(r));
787
787
  return t;
788
788
  }
789
789
  return e;
790
790
  }
791
791
  }
792
- var Je = e.object({
792
+ var Ze = e.object({
793
793
  id: e.string().optional(),
794
794
  name: e.string(),
795
795
  display_name: e.string().optional(),
796
796
  strategy: e.string(),
797
- options: e.preprocess((e) => e === null ? {} : V(e), qe).default({}),
797
+ options: e.preprocess((e) => e === null ? {} : R(e), Xe).default({}),
798
798
  enabled_clients: e.array(e.string()).default([]).optional(),
799
799
  response_type: e.custom().optional(),
800
800
  response_mode: e.custom().optional(),
@@ -802,11 +802,11 @@ var Je = e.object({
802
802
  show_as_button: e.boolean().optional(),
803
803
  metadata: e.record(e.string(), e.any()).optional(),
804
804
  is_system: e.boolean().optional()
805
- }), Ye = e.object({
805
+ }), Qe = e.object({
806
806
  id: e.string(),
807
807
  created_at: e.string().transform((e) => e === null ? "" : e),
808
808
  updated_at: e.string().transform((e) => e === null ? "" : e)
809
- }).extend(Je.shape), Xe = e.object({
809
+ }).extend(Ze.shape), z = e.object({
810
810
  domain: e.string(),
811
811
  custom_domain_id: e.string().optional(),
812
812
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -820,7 +820,7 @@ var Je = e.object({
820
820
  "null"
821
821
  ]).optional(),
822
822
  domain_metadata: e.record(e.string(), e.string().max(255)).optional()
823
- }), Ze = e.discriminatedUnion("name", [e.object({
823
+ }), $e = e.discriminatedUnion("name", [e.object({
824
824
  name: e.literal("txt"),
825
825
  record: e.string(),
826
826
  domain: e.string()
@@ -828,7 +828,7 @@ var Je = e.object({
828
828
  name: e.literal("http"),
829
829
  http_body: e.string(),
830
830
  http_url: e.string()
831
- })]), Qe = Xe.extend({
831
+ })]), et = z.extend({
832
832
  custom_domain_id: e.string(),
833
833
  primary: e.boolean(),
834
834
  status: e.enum([
@@ -838,22 +838,26 @@ var Je = e.object({
838
838
  "ready"
839
839
  ]),
840
840
  origin_domain_name: e.string().optional(),
841
- verification: e.object({ methods: e.array(Ze) }).optional(),
841
+ verification: e.object({ methods: e.array($e) }).optional(),
842
842
  tls_policy: e.string().optional()
843
- }), $e = Qe.extend({ tenant_id: e.string() }), et = e.object({
843
+ }), tt = z.pick({
844
+ tls_policy: !0,
845
+ custom_client_ip_header: !0,
846
+ domain_metadata: !0
847
+ }).strict(), nt = et.extend({ tenant_id: e.string() }), rt = e.object({
844
848
  certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
845
849
  private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
846
- }), H = e.object({
850
+ }), B = e.object({
847
851
  id: e.string(),
848
852
  order: e.number().optional(),
849
853
  visible: e.boolean().optional().default(!0)
850
- }), U = H.extend({ category: e.literal("BLOCK").optional() }), tt = U.extend({
854
+ }), V = B.extend({ category: e.literal("BLOCK").optional() }), it = V.extend({
851
855
  type: e.literal("DIVIDER"),
852
856
  config: e.object({ text: e.string().optional() }).optional()
853
- }), nt = U.extend({
857
+ }), at = V.extend({
854
858
  type: e.literal("HTML"),
855
859
  config: e.object({ content: e.string().optional() }).optional()
856
- }), rt = U.extend({
860
+ }), ot = V.extend({
857
861
  type: e.literal("IMAGE"),
858
862
  config: e.object({
859
863
  src: e.string().optional(),
@@ -861,43 +865,43 @@ var Je = e.object({
861
865
  width: e.number().optional(),
862
866
  height: e.number().optional()
863
867
  }).optional()
864
- }), it = U.extend({
868
+ }), st = V.extend({
865
869
  type: e.literal("JUMP_BUTTON"),
866
870
  config: e.object({
867
871
  text: e.string().optional(),
868
872
  target_step: e.string().optional()
869
873
  })
870
- }), at = U.extend({
874
+ }), ct = V.extend({
871
875
  type: e.literal("RESEND_BUTTON"),
872
876
  config: e.object({
873
877
  text: e.string().optional(),
874
878
  resend_action: e.string().optional()
875
879
  })
876
- }), ot = U.extend({
880
+ }), lt = V.extend({
877
881
  type: e.literal("NEXT_BUTTON"),
878
882
  config: e.object({ text: e.string().optional() })
879
- }), st = U.extend({
883
+ }), ut = V.extend({
880
884
  type: e.literal("PREVIOUS_BUTTON"),
881
885
  config: e.object({ text: e.string().optional() })
882
- }), ct = U.extend({
886
+ }), dt = V.extend({
883
887
  type: e.literal("RICH_TEXT"),
884
888
  config: e.object({ content: e.string().optional() }).optional()
885
- }), W = H.extend({
889
+ }), H = B.extend({
886
890
  category: e.literal("WIDGET").optional(),
887
891
  label: e.string().min(1).optional(),
888
892
  hint: e.string().min(1).max(500).optional(),
889
893
  required: e.boolean().optional(),
890
894
  sensitive: e.boolean().optional()
891
- }), lt = W.extend({
895
+ }), ft = H.extend({
892
896
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
893
897
  config: e.object({ credential_type: e.string().optional() })
894
- }), ut = W.extend({
898
+ }), pt = H.extend({
895
899
  type: e.literal("GMAPS_ADDRESS"),
896
900
  config: e.object({ api_key: e.string().optional() })
897
- }), dt = W.extend({
901
+ }), mt = H.extend({
898
902
  type: e.literal("RECAPTCHA"),
899
903
  config: e.object({ site_key: e.string().optional() })
900
- }), G = H.extend({
904
+ }), U = B.extend({
901
905
  category: e.literal("FIELD").optional(),
902
906
  label: e.string().min(1).optional(),
903
907
  hint: e.string().min(1).max(500).optional(),
@@ -913,10 +917,10 @@ var Je = e.object({
913
917
  })).optional(),
914
918
  required: e.boolean().optional(),
915
919
  sensitive: e.boolean().optional()
916
- }), ft = G.extend({
920
+ }), ht = U.extend({
917
921
  type: e.literal("BOOLEAN"),
918
922
  config: e.object({ default_value: e.boolean().optional() }).optional()
919
- }), pt = G.extend({
923
+ }), gt = U.extend({
920
924
  type: e.literal("CARDS"),
921
925
  config: e.object({
922
926
  options: e.array(e.object({
@@ -927,7 +931,7 @@ var Je = e.object({
927
931
  })).optional(),
928
932
  multi_select: e.boolean().optional()
929
933
  }).optional()
930
- }), mt = G.extend({
934
+ }), _t = U.extend({
931
935
  type: e.literal("CHOICE"),
932
936
  config: e.object({
933
937
  options: e.array(e.object({
@@ -938,7 +942,7 @@ var Je = e.object({
938
942
  multiple: e.boolean().optional(),
939
943
  default_value: e.union([e.string(), e.array(e.string())]).optional()
940
944
  }).optional()
941
- }), ht = G.extend({
945
+ }), vt = U.extend({
942
946
  type: e.literal("CUSTOM"),
943
947
  config: e.object({
944
948
  component: e.string().optional(),
@@ -946,7 +950,7 @@ var Je = e.object({
946
950
  schema: e.record(e.string(), e.any()).optional(),
947
951
  code: e.string().optional()
948
952
  })
949
- }), gt = G.extend({
953
+ }), yt = U.extend({
950
954
  type: e.literal("DATE"),
951
955
  config: e.object({
952
956
  format: e.string().optional(),
@@ -954,7 +958,7 @@ var Je = e.object({
954
958
  max: e.string().optional(),
955
959
  default_value: e.string().optional()
956
960
  }).optional()
957
- }), _t = G.extend({
961
+ }), bt = U.extend({
958
962
  type: e.literal("DROPDOWN"),
959
963
  config: e.object({
960
964
  options: e.array(e.object({
@@ -966,26 +970,26 @@ var Je = e.object({
966
970
  multiple: e.boolean().optional(),
967
971
  default_value: e.union([e.string(), e.array(e.string())]).optional()
968
972
  }).optional()
969
- }), vt = G.extend({
973
+ }), xt = U.extend({
970
974
  type: e.literal("EMAIL"),
971
975
  config: e.object({
972
976
  placeholder: e.string().optional(),
973
977
  default_value: e.string().optional()
974
978
  }).optional()
975
- }), yt = G.extend({
979
+ }), St = U.extend({
976
980
  type: e.literal("FILE"),
977
981
  config: e.object({
978
982
  accept: e.string().optional(),
979
983
  max_size: e.number().optional(),
980
984
  multiple: e.boolean().optional()
981
985
  }).optional()
982
- }), bt = G.extend({
986
+ }), Ct = U.extend({
983
987
  type: e.literal("LEGAL"),
984
988
  config: e.object({
985
989
  text: e.string(),
986
990
  html: e.boolean().optional()
987
991
  }).optional()
988
- }), xt = G.extend({
992
+ }), wt = U.extend({
989
993
  type: e.literal("NUMBER"),
990
994
  config: e.object({
991
995
  placeholder: e.string().optional(),
@@ -994,7 +998,7 @@ var Je = e.object({
994
998
  step: e.number().optional(),
995
999
  default_value: e.string().optional()
996
1000
  }).optional()
997
- }), St = G.extend({
1001
+ }), Tt = U.extend({
998
1002
  type: e.literal("PASSWORD"),
999
1003
  config: e.object({
1000
1004
  placeholder: e.string().optional(),
@@ -1003,13 +1007,13 @@ var Je = e.object({
1003
1007
  forgot_password_link: e.string().optional(),
1004
1008
  default_value: e.string().optional()
1005
1009
  }).optional()
1006
- }), Ct = G.extend({
1010
+ }), Et = U.extend({
1007
1011
  type: e.literal("PAYMENT"),
1008
1012
  config: e.object({
1009
1013
  provider: e.string().optional(),
1010
1014
  currency: e.string().optional()
1011
1015
  }).optional()
1012
- }), wt = G.extend({
1016
+ }), Dt = U.extend({
1013
1017
  type: e.literal("SOCIAL"),
1014
1018
  config: e.object({
1015
1019
  providers: e.array(e.string()).optional(),
@@ -1021,7 +1025,7 @@ var Je = e.object({
1021
1025
  href: e.string().optional()
1022
1026
  })).optional()
1023
1027
  }).optional()
1024
- }), Tt = G.extend({
1028
+ }), Ot = U.extend({
1025
1029
  type: e.literal("TEL"),
1026
1030
  config: e.object({
1027
1031
  placeholder: e.string().optional(),
@@ -1029,7 +1033,7 @@ var Je = e.object({
1029
1033
  default_value: e.string().optional(),
1030
1034
  allow_email: e.boolean().optional()
1031
1035
  }).optional()
1032
- }), Et = G.extend({
1036
+ }), kt = U.extend({
1033
1037
  type: e.literal("TEXT"),
1034
1038
  config: e.object({
1035
1039
  placeholder: e.string().optional(),
@@ -1037,39 +1041,36 @@ var Je = e.object({
1037
1041
  max_length: e.number().optional(),
1038
1042
  default_value: e.string().optional()
1039
1043
  }).optional()
1040
- }), Dt = G.extend({
1044
+ }), At = U.extend({
1041
1045
  type: e.literal("COUNTRY"),
1042
1046
  config: e.object({
1043
1047
  placeholder: e.string().optional(),
1044
1048
  default_value: e.string().optional()
1045
1049
  }).optional()
1046
- }), Ot = G.extend({
1050
+ }), jt = U.extend({
1047
1051
  type: e.literal("URL"),
1048
1052
  config: e.object({
1049
1053
  placeholder: e.string().optional(),
1050
1054
  default_value: e.string().optional()
1051
1055
  }).optional()
1052
- }), kt = e.discriminatedUnion("type", [
1053
- tt,
1054
- nt,
1055
- rt,
1056
+ }), Mt = e.discriminatedUnion("type", [
1056
1057
  it,
1057
1058
  at,
1058
1059
  ot,
1059
1060
  st,
1060
- ct
1061
- ]), At = e.discriminatedUnion("type", [
1061
+ ct,
1062
1062
  lt,
1063
1063
  ut,
1064
1064
  dt
1065
- ]), jt = e.discriminatedUnion("type", [
1065
+ ]), Nt = e.discriminatedUnion("type", [
1066
1066
  ft,
1067
1067
  pt,
1068
- mt,
1069
- Dt,
1068
+ mt
1069
+ ]), Pt = e.discriminatedUnion("type", [
1070
1070
  ht,
1071
1071
  gt,
1072
1072
  _t,
1073
+ At,
1073
1074
  vt,
1074
1075
  yt,
1075
1076
  bt,
@@ -1079,12 +1080,15 @@ var Je = e.object({
1079
1080
  wt,
1080
1081
  Tt,
1081
1082
  Et,
1082
- Ot
1083
- ]), K = e.union([
1083
+ Dt,
1084
+ Ot,
1084
1085
  kt,
1085
- At,
1086
1086
  jt
1087
- ]), Mt = new Set([
1087
+ ]), W = e.union([
1088
+ Mt,
1089
+ Nt,
1090
+ Pt
1091
+ ]), Ft = new Set([
1088
1092
  "BOOLEAN",
1089
1093
  "CARDS",
1090
1094
  "CHOICE",
@@ -1098,7 +1102,7 @@ var Je = e.object({
1098
1102
  "TEL",
1099
1103
  "TEXT",
1100
1104
  "URL"
1101
- ]), Nt = e.object({
1105
+ ]), It = e.object({
1102
1106
  id: e.string(),
1103
1107
  type: e.literal("submit"),
1104
1108
  label: e.string(),
@@ -1107,22 +1111,22 @@ var Je = e.object({
1107
1111
  order: e.number().optional(),
1108
1112
  visible: e.boolean().optional().default(!0),
1109
1113
  customizations: e.record(e.string(), e.any()).optional()
1110
- }), q = e.object({
1114
+ }), G = e.object({
1111
1115
  x: e.number(),
1112
1116
  y: e.number()
1113
- }), Pt = e.object({
1117
+ }), Lt = e.object({
1114
1118
  id: e.string(),
1115
1119
  type: e.literal("FLOW"),
1116
- coordinates: q,
1120
+ coordinates: G,
1117
1121
  alias: e.string().min(1).max(150).optional(),
1118
1122
  config: e.object({
1119
1123
  flow_id: e.string().max(30),
1120
1124
  next_node: e.string().optional()
1121
1125
  })
1122
- }), Ft = e.object({
1126
+ }), Rt = e.object({
1123
1127
  id: e.string(),
1124
1128
  type: e.literal("ROUTER"),
1125
- coordinates: q,
1129
+ coordinates: G,
1126
1130
  alias: e.string().min(1).max(150),
1127
1131
  config: e.object({
1128
1132
  rules: e.array(e.object({
@@ -1133,20 +1137,20 @@ var Je = e.object({
1133
1137
  })),
1134
1138
  fallback: e.string()
1135
1139
  })
1136
- }), It = e.object({
1140
+ }), zt = e.object({
1137
1141
  id: e.string(),
1138
1142
  type: e.literal("STEP"),
1139
- coordinates: q,
1143
+ coordinates: G,
1140
1144
  alias: e.string().min(1).max(150).optional(),
1141
1145
  config: e.object({
1142
- components: e.array(K),
1146
+ components: e.array(W),
1143
1147
  next_node: e.string().optional()
1144
1148
  })
1145
- }), Lt = e.discriminatedUnion("type", [
1146
- Pt,
1147
- Ft,
1148
- It
1149
- ]), Rt = e.object({
1149
+ }), Bt = e.discriminatedUnion("type", [
1150
+ Lt,
1151
+ Rt,
1152
+ zt
1153
+ ]), Vt = e.object({
1150
1154
  name: e.string().openapi({ description: "The name of the form" }),
1151
1155
  messages: e.object({
1152
1156
  errors: e.record(e.string(), e.any()).optional(),
@@ -1157,14 +1161,14 @@ var Je = e.object({
1157
1161
  default: e.string().optional()
1158
1162
  }).optional(),
1159
1163
  translations: e.record(e.string(), e.any()).optional(),
1160
- nodes: e.array(Lt).optional(),
1164
+ nodes: e.array(Bt).optional(),
1161
1165
  start: e.object({
1162
1166
  hidden_fields: e.array(e.object({
1163
1167
  key: e.string(),
1164
1168
  value: e.string()
1165
1169
  })).optional(),
1166
1170
  next_node: e.string().optional(),
1167
- coordinates: q.optional()
1171
+ coordinates: G.optional()
1168
1172
  }).optional(),
1169
1173
  ending: e.object({
1170
1174
  redirection: e.object({
@@ -1172,7 +1176,7 @@ var Je = e.object({
1172
1176
  target: e.string().optional()
1173
1177
  }).optional(),
1174
1178
  after_submit: e.object({ flow_id: e.string().optional() }).optional(),
1175
- coordinates: q.optional(),
1179
+ coordinates: G.optional(),
1176
1180
  resume_flow: e.boolean().optional()
1177
1181
  }).optional(),
1178
1182
  style: e.object({ css: e.string().optional() }).optional(),
@@ -1180,7 +1184,7 @@ var Je = e.object({
1180
1184
  sdkSrc: e.string().optional(),
1181
1185
  sdk_src: e.string().optional()
1182
1186
  }).optional()
1183
- }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), zt = t.extend(Rt.shape).extend({ id: e.string() }), Bt = e.object({
1187
+ }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), Ht = t.extend(Vt.shape).extend({ id: e.string() }), Ut = e.object({
1184
1188
  id: e.number().optional(),
1185
1189
  text: e.string(),
1186
1190
  type: e.enum([
@@ -1189,34 +1193,34 @@ var Je = e.object({
1189
1193
  "success",
1190
1194
  "warning"
1191
1195
  ])
1192
- }), Vt = e.object({
1196
+ }), K = e.object({
1193
1197
  id: e.string().optional(),
1194
1198
  text: e.string(),
1195
1199
  href: e.string(),
1196
1200
  linkText: e.string().optional()
1197
- }), Ht = e.object({
1201
+ }), Wt = e.object({
1198
1202
  name: e.string().optional(),
1199
1203
  action: e.string(),
1200
1204
  method: e.enum(["POST", "GET"]),
1201
1205
  title: e.string().optional(),
1202
1206
  description: e.string().optional(),
1203
- components: e.array(K),
1204
- messages: e.array(Bt).optional(),
1205
- links: e.array(Vt).optional(),
1207
+ components: e.array(W),
1208
+ messages: e.array(Ut).optional(),
1209
+ links: e.array(K).optional(),
1206
1210
  footer: e.string().optional()
1207
1211
  });
1208
- function Ut(e) {
1212
+ function Gt(e) {
1209
1213
  return e.category === "BLOCK";
1210
1214
  }
1211
- function Wt(e) {
1215
+ function Kt(e) {
1212
1216
  return e.category === "WIDGET";
1213
1217
  }
1214
- function Gt(e) {
1218
+ function qt(e) {
1215
1219
  return e.category === "FIELD";
1216
1220
  }
1217
1221
  //#endregion
1218
1222
  //#region src/types/Hook.ts
1219
- var Kt = e.enum([
1223
+ var Jt = e.enum([
1220
1224
  "pre-user-registration",
1221
1225
  "post-user-registration",
1222
1226
  "post-user-login",
@@ -1224,28 +1228,28 @@ var Kt = e.enum([
1224
1228
  "validate-registration-username",
1225
1229
  "pre-user-deletion",
1226
1230
  "post-user-deletion"
1227
- ]), qt = e.enum([
1231
+ ]), Yt = e.enum([
1228
1232
  "pre-user-registration",
1229
1233
  "post-user-registration",
1230
1234
  "post-user-login",
1231
1235
  "validate-registration-username",
1232
1236
  "pre-user-deletion",
1233
1237
  "post-user-deletion"
1234
- ]), Jt = e.enum([
1238
+ ]), Xt = e.enum([
1235
1239
  "post-user-login",
1236
1240
  "post-user-registration",
1237
1241
  "post-user-update",
1238
1242
  "credentials-exchange"
1239
- ]), Yt = e.enum([
1243
+ ]), Zt = e.enum([
1240
1244
  "post-user-login",
1241
1245
  "credentials-exchange",
1242
1246
  "pre-user-registration",
1243
1247
  "post-user-registration"
1244
- ]), J = e.enum([
1248
+ ]), q = e.enum([
1245
1249
  "ensure-username",
1246
1250
  "set-preferred-username",
1247
1251
  "account-linking"
1248
- ]), Xt = {
1252
+ ]), Qt = {
1249
1253
  "ensure-username": {
1250
1254
  name: "Ensure Username",
1251
1255
  description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
@@ -1265,73 +1269,73 @@ var Kt = e.enum([
1265
1269
  "post-user-update"
1266
1270
  ]
1267
1271
  }
1268
- }, Y = {
1272
+ }, J = {
1269
1273
  enabled: e.boolean().default(!1),
1270
1274
  synchronous: e.boolean().default(!1),
1271
1275
  priority: e.number().optional(),
1272
1276
  hook_id: e.string().optional(),
1273
1277
  metadata: e.record(e.string(), e.unknown()).optional()
1274
- }, Zt = e.object({
1275
- ...Y,
1276
- trigger_id: Kt,
1277
- url: e.string()
1278
- }), Qt = e.object({
1279
- ...Y,
1280
- trigger_id: qt,
1281
- form_id: e.string()
1282
- }), $t = e.object({
1283
- ...Y,
1278
+ }, $t = e.object({
1279
+ ...J,
1284
1280
  trigger_id: Jt,
1285
- template_id: J
1281
+ url: e.string()
1286
1282
  }), en = e.object({
1287
- ...Y,
1283
+ ...J,
1288
1284
  trigger_id: Yt,
1285
+ form_id: e.string()
1286
+ }), tn = e.object({
1287
+ ...J,
1288
+ trigger_id: Xt,
1289
+ template_id: q
1290
+ }), nn = e.object({
1291
+ ...J,
1292
+ trigger_id: Zt,
1289
1293
  code_id: e.string()
1290
- }), tn = e.union([
1291
- Zt,
1292
- Qt,
1294
+ }), rn = e.union([
1293
1295
  $t,
1294
- en
1295
- ]), nn = e.object({
1296
- ...Y,
1297
- trigger_id: Kt
1296
+ en,
1297
+ tn,
1298
+ nn
1299
+ ]), an = e.object({
1300
+ ...J,
1301
+ trigger_id: Jt
1298
1302
  }).extend(t.shape).extend({
1299
1303
  hook_id: e.string(),
1300
1304
  url: e.string()
1301
- }), rn = e.object({
1302
- ...Y,
1303
- trigger_id: qt
1305
+ }), on = e.object({
1306
+ ...J,
1307
+ trigger_id: Yt
1304
1308
  }).extend(t.shape).extend({
1305
1309
  hook_id: e.string(),
1306
1310
  form_id: e.string()
1307
- }), an = e.object({
1308
- ...Y,
1309
- trigger_id: Jt
1311
+ }), sn = e.object({
1312
+ ...J,
1313
+ trigger_id: Xt
1310
1314
  }).extend(t.shape).extend({
1311
1315
  hook_id: e.string(),
1312
- template_id: J
1313
- }), on = e.object({
1314
- ...Y,
1315
- trigger_id: Yt
1316
+ template_id: q
1317
+ }), cn = e.object({
1318
+ ...J,
1319
+ trigger_id: Zt
1316
1320
  }).extend(t.shape).extend({
1317
1321
  hook_id: e.string(),
1318
1322
  code_id: e.string()
1319
- }), sn = e.union([
1320
- nn,
1321
- rn,
1323
+ }), ln = e.union([
1322
1324
  an,
1323
- on
1324
- ]), cn = e.object({
1325
+ on,
1326
+ sn,
1327
+ cn
1328
+ ]), un = e.object({
1325
1329
  code: e.string().max(1e5),
1326
1330
  secrets: e.record(e.string(), e.string()).optional()
1327
- }), ln = cn.extend({
1331
+ }), dn = un.extend({
1328
1332
  id: e.string(),
1329
1333
  tenant_id: e.string()
1330
- }).extend(t.shape), un = e.object({ name: e.string().optional() }), dn = e.object({ email: e.string().optional() }), fn = e.object({
1334
+ }).extend(t.shape), fn = e.object({ name: e.string().optional() }), pn = e.object({ email: e.string().optional() }), mn = e.object({
1331
1335
  id: e.string().optional(),
1332
1336
  organization_id: e.string().max(50),
1333
- inviter: un,
1334
- invitee: dn,
1337
+ inviter: fn,
1338
+ invitee: pn,
1335
1339
  invitation_url: e.string().url(),
1336
1340
  client_id: e.string(),
1337
1341
  connection_id: e.string().optional(),
@@ -1340,13 +1344,13 @@ var Kt = e.enum([
1340
1344
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
1341
1345
  roles: e.array(e.string()).default([]).optional(),
1342
1346
  send_invitation_email: e.boolean().default(!0).optional()
1343
- }), pn = e.object({
1347
+ }), hn = e.object({
1344
1348
  id: e.string(),
1345
1349
  organization_id: e.string().max(50),
1346
1350
  created_at: e.string().datetime(),
1347
1351
  expires_at: e.string().datetime(),
1348
1352
  ticket_id: e.string().optional()
1349
- }).extend(fn.omit({ id: !0 }).shape), mn = e.object({
1353
+ }).extend(mn.omit({ id: !0 }).shape), gn = e.object({
1350
1354
  alg: e.enum([
1351
1355
  "RS256",
1352
1356
  "RS384",
@@ -1387,7 +1391,7 @@ var Kt = e.enum([
1387
1391
  path: [r],
1388
1392
  message: `EC JWK is missing required member '${r}'`
1389
1393
  });
1390
- }), hn = e.object({ keys: e.array(mn) }), gn = e.object({
1394
+ }), _n = e.object({ keys: e.array(gn) }), vn = e.object({
1391
1395
  issuer: e.string(),
1392
1396
  authorization_endpoint: e.string(),
1393
1397
  token_endpoint: e.string(),
@@ -1411,33 +1415,33 @@ var Kt = e.enum([
1411
1415
  request_object_signing_alg_values_supported: e.array(e.string()).optional(),
1412
1416
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string()),
1413
1417
  client_id_metadata_document_supported: e.boolean().optional()
1414
- }), _n = /* @__PURE__ */ function(e) {
1418
+ }), yn = /* @__PURE__ */ function(e) {
1415
1419
  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;
1416
- }({}), vn = e.nativeEnum(_n), yn = e.object({
1420
+ }({}), bn = e.nativeEnum(yn), xn = e.object({
1417
1421
  strategy: e.string(),
1418
1422
  strategy_type: e.string()
1419
- }), bn = e.object({
1423
+ }), Sn = e.object({
1420
1424
  csrf_token: e.string(),
1421
1425
  auth0Client: e.string().optional(),
1422
- authParams: He,
1426
+ authParams: Ge,
1423
1427
  expires_at: e.string(),
1424
1428
  deleted_at: e.string().optional(),
1425
1429
  ip: e.string().optional(),
1426
1430
  useragent: e.string().optional(),
1427
1431
  session_id: e.string().optional(),
1428
1432
  authorization_url: e.string().optional(),
1429
- state: vn.optional().default("pending"),
1433
+ state: bn.optional().default("pending"),
1430
1434
  state_data: e.string().optional(),
1431
1435
  failure_reason: e.string().optional(),
1432
1436
  user_id: e.string().optional(),
1433
1437
  auth_connection: e.string().optional(),
1434
- auth_strategy: yn.optional(),
1438
+ auth_strategy: xn.optional(),
1435
1439
  authenticated_at: e.string().optional()
1436
- }).openapi({ description: "This represents a login sesion" }), xn = bn.extend({
1440
+ }).openapi({ description: "This represents a login sesion" }), Cn = Sn.extend({
1437
1441
  id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
1438
1442
  created_at: e.string(),
1439
1443
  updated_at: e.string()
1440
- }), X = {
1444
+ }), Y = {
1441
1445
  ACLS_SUMMARY: "acls_summary",
1442
1446
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
1443
1447
  API_LIMIT: "api_limit",
@@ -1597,190 +1601,190 @@ var Kt = e.enum([
1597
1601
  WARNING_DURING_LOGIN: "w",
1598
1602
  WARNING_SENDING_NOTIFICATION: "wn",
1599
1603
  WARNING_USER_MANAGEMENT: "wum"
1600
- }, Sn = e.string().refine((e) => Object.values(X).includes(e), { message: "Invalid log type" }), Cn = {
1601
- [X.ACLS_SUMMARY]: "ACLs Summary",
1602
- [X.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1603
- [X.API_LIMIT]: "API Rate Limit Reached",
1604
- [X.API_LIMIT_WARNING]: "API Rate Limit Warning",
1605
- [X.APPI]: "API Operation",
1606
- [X.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
1607
- [X.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
1608
- [X.CIBA_START_FAILED]: "CIBA Start Failed",
1609
- [X.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
1610
- [X.CODE_LINK_SENT]: "Code/Link Sent",
1611
- [X.CODE_SENT]: "Code Sent",
1612
- [X.DEPRECATION_NOTICE]: "Deprecation Notice",
1613
- [X.FAILED_LOGIN]: "Failed Login",
1614
- [X.FAILED_BY_CONNECTOR]: "Failed by Connector",
1615
- [X.FAILED_CHANGE_EMAIL]: "Failed Change Email",
1616
- [X.FAILED_BY_CORS]: "Failed by CORS",
1617
- [X.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
1618
- [X.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
1619
- [X.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
1620
- [X.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
1621
- [X.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
1622
- [X.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
1623
- [X.FAILED_CHANGE_USERNAME]: "Failed Change Username",
1624
- [X.FAILED_DELEGATION]: "Failed Delegation",
1625
- [X.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
1626
- [X.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
1627
- [X.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
1628
- [X.FAILED_USER_DELETION]: "Failed User Deletion",
1629
- [X.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
1630
- [X.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
1631
- [X.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
1632
- [X.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
1633
- [X.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
1634
- [X.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
1635
- [X.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
1636
- [X.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
1637
- [X.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
1638
- [X.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
1639
- [X.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
1640
- [X.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
1641
- [X.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
1642
- [X.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
1643
- [X.FAILED_HOOK]: "Failed Hook",
1644
- [X.FAILED_IMPERSONATION]: "Failed Impersonation",
1645
- [X.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
1646
- [X.FAILED_LOGOUT]: "Failed Logout",
1647
- [X.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
1648
- [X.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
1649
- [X.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
1650
- [X.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
1651
- [X.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
1652
- [X.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
1653
- [X.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
1654
- [X.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
1655
- [X.FAILED_SIGNUP]: "Failed Signup",
1656
- [X.FAILED_SILENT_AUTH]: "Failed Silent Auth",
1657
- [X.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
1658
- [X.FAILED_USERS_IMPORT]: "Failed Users Import",
1659
- [X.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
1660
- [X.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
1661
- [X.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
1662
- [X.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
1663
- [X.MFA_AUTH_FAILED]: "MFA Auth Failed",
1664
- [X.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
1665
- [X.MFA_AUTH_SUCCESS]: "MFA Auth Success",
1666
- [X.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
1667
- [X.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
1668
- [X.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
1669
- [X.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
1670
- [X.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
1671
- [X.MFA_EMAIL_SENT]: "MFA Email Sent",
1672
- [X.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
1673
- [X.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
1674
- [X.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
1675
- [X.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
1676
- [X.MFA_SMS_SENT]: "MFA SMS Sent",
1677
- [X.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
1678
- [X.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
1679
- [X.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
1680
- [X.SECOND_FACTOR_STARTED]: "Second Factor Started",
1681
- [X.MFA_ENROLL_STARTED]: "MFA Enroll Started",
1682
- [X.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
1683
- [X.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
1684
- [X.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
1685
- [X.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
1686
- [X.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
1687
- [X.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
1688
- [X.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
1689
- [X.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
1690
- [X.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
1691
- [X.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
1692
- [X.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
1693
- [X.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
1694
- [X.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
1695
- [X.INFORMATION]: "Information",
1696
- [X.MFA_REQUIRED]: "MFA Required",
1697
- [X.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
1698
- [X.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
1699
- [X.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
1700
- [X.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
1701
- [X.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
1702
- [X.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
1703
- [X.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
1704
- [X.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
1705
- [X.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
1706
- [X.BREACHED_PASSWORD]: "Breached Password",
1707
- [X.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
1708
- [X.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
1709
- [X.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
1710
- [X.SUCCESS_LOGIN]: "Success Login",
1711
- [X.SUCCESS_API_OPERATION]: "Success API Operation",
1712
- [X.FAILED_API_OPERATION]: "Failed API Operation",
1713
- [X.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
1714
- [X.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
1715
- [X.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
1716
- [X.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
1717
- [X.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
1718
- [X.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
1719
- [X.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
1720
- [X.SUCCESS_DELEGATION]: "Success Delegation",
1721
- [X.SUCCESS_USER_DELETION]: "Success User Deletion",
1722
- [X.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
1723
- [X.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
1724
- [X.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
1725
- [X.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
1726
- [X.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
1727
- [X.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
1728
- [X.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
1729
- [X.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
1730
- [X.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
1731
- [X.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
1732
- [X.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
1733
- [X.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
1734
- [X.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
1735
- [X.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
1736
- [X.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
1737
- [X.SUCCESS_IMPERSONATION]: "Success Impersonation",
1738
- [X.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
1739
- [X.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
1740
- [X.SUCCESS_LOGOUT]: "Success Logout",
1741
- [X.SUCCESS_HOOK]: "Success Hook",
1742
- [X.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
1743
- [X.SUCCESS_REVOCATION]: "Success Revocation",
1744
- [X.SUCCESS_SIGNUP]: "Success Signup",
1745
- [X.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
1746
- [X.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
1747
- [X.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
1748
- [X.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
1749
- [X.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
1750
- [X.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
1751
- [X.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
1752
- [X.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
1753
- [X.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
1754
- [X.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
1755
- [X.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
1756
- [X.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
1757
- [X.WARNING_DURING_LOGIN]: "Warning During Login",
1758
- [X.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1759
- [X.WARNING_USER_MANAGEMENT]: "Warning User Management"
1760
- }, wn = (() => {
1604
+ }, wn = e.string().refine((e) => Object.values(Y).includes(e), { message: "Invalid log type" }), Tn = {
1605
+ [Y.ACLS_SUMMARY]: "ACLs Summary",
1606
+ [Y.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
1607
+ [Y.API_LIMIT]: "API Rate Limit Reached",
1608
+ [Y.API_LIMIT_WARNING]: "API Rate Limit Warning",
1609
+ [Y.APPI]: "API Operation",
1610
+ [Y.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
1611
+ [Y.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
1612
+ [Y.CIBA_START_FAILED]: "CIBA Start Failed",
1613
+ [Y.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
1614
+ [Y.CODE_LINK_SENT]: "Code/Link Sent",
1615
+ [Y.CODE_SENT]: "Code Sent",
1616
+ [Y.DEPRECATION_NOTICE]: "Deprecation Notice",
1617
+ [Y.FAILED_LOGIN]: "Failed Login",
1618
+ [Y.FAILED_BY_CONNECTOR]: "Failed by Connector",
1619
+ [Y.FAILED_CHANGE_EMAIL]: "Failed Change Email",
1620
+ [Y.FAILED_BY_CORS]: "Failed by CORS",
1621
+ [Y.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
1622
+ [Y.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
1623
+ [Y.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
1624
+ [Y.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
1625
+ [Y.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
1626
+ [Y.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
1627
+ [Y.FAILED_CHANGE_USERNAME]: "Failed Change Username",
1628
+ [Y.FAILED_DELEGATION]: "Failed Delegation",
1629
+ [Y.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
1630
+ [Y.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
1631
+ [Y.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
1632
+ [Y.FAILED_USER_DELETION]: "Failed User Deletion",
1633
+ [Y.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
1634
+ [Y.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
1635
+ [Y.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
1636
+ [Y.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
1637
+ [Y.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
1638
+ [Y.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
1639
+ [Y.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
1640
+ [Y.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
1641
+ [Y.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
1642
+ [Y.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
1643
+ [Y.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
1644
+ [Y.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
1645
+ [Y.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
1646
+ [Y.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
1647
+ [Y.FAILED_HOOK]: "Failed Hook",
1648
+ [Y.FAILED_IMPERSONATION]: "Failed Impersonation",
1649
+ [Y.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
1650
+ [Y.FAILED_LOGOUT]: "Failed Logout",
1651
+ [Y.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
1652
+ [Y.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
1653
+ [Y.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
1654
+ [Y.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
1655
+ [Y.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
1656
+ [Y.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
1657
+ [Y.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
1658
+ [Y.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
1659
+ [Y.FAILED_SIGNUP]: "Failed Signup",
1660
+ [Y.FAILED_SILENT_AUTH]: "Failed Silent Auth",
1661
+ [Y.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
1662
+ [Y.FAILED_USERS_IMPORT]: "Failed Users Import",
1663
+ [Y.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
1664
+ [Y.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
1665
+ [Y.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
1666
+ [Y.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
1667
+ [Y.MFA_AUTH_FAILED]: "MFA Auth Failed",
1668
+ [Y.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
1669
+ [Y.MFA_AUTH_SUCCESS]: "MFA Auth Success",
1670
+ [Y.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
1671
+ [Y.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
1672
+ [Y.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
1673
+ [Y.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
1674
+ [Y.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
1675
+ [Y.MFA_EMAIL_SENT]: "MFA Email Sent",
1676
+ [Y.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
1677
+ [Y.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
1678
+ [Y.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
1679
+ [Y.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
1680
+ [Y.MFA_SMS_SENT]: "MFA SMS Sent",
1681
+ [Y.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
1682
+ [Y.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
1683
+ [Y.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
1684
+ [Y.SECOND_FACTOR_STARTED]: "Second Factor Started",
1685
+ [Y.MFA_ENROLL_STARTED]: "MFA Enroll Started",
1686
+ [Y.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
1687
+ [Y.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
1688
+ [Y.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
1689
+ [Y.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
1690
+ [Y.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
1691
+ [Y.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
1692
+ [Y.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
1693
+ [Y.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
1694
+ [Y.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
1695
+ [Y.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
1696
+ [Y.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
1697
+ [Y.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
1698
+ [Y.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
1699
+ [Y.INFORMATION]: "Information",
1700
+ [Y.MFA_REQUIRED]: "MFA Required",
1701
+ [Y.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
1702
+ [Y.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
1703
+ [Y.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
1704
+ [Y.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
1705
+ [Y.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
1706
+ [Y.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
1707
+ [Y.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
1708
+ [Y.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
1709
+ [Y.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
1710
+ [Y.BREACHED_PASSWORD]: "Breached Password",
1711
+ [Y.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
1712
+ [Y.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
1713
+ [Y.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
1714
+ [Y.SUCCESS_LOGIN]: "Success Login",
1715
+ [Y.SUCCESS_API_OPERATION]: "Success API Operation",
1716
+ [Y.FAILED_API_OPERATION]: "Failed API Operation",
1717
+ [Y.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
1718
+ [Y.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
1719
+ [Y.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
1720
+ [Y.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
1721
+ [Y.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
1722
+ [Y.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
1723
+ [Y.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
1724
+ [Y.SUCCESS_DELEGATION]: "Success Delegation",
1725
+ [Y.SUCCESS_USER_DELETION]: "Success User Deletion",
1726
+ [Y.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
1727
+ [Y.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
1728
+ [Y.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
1729
+ [Y.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
1730
+ [Y.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
1731
+ [Y.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
1732
+ [Y.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
1733
+ [Y.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
1734
+ [Y.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
1735
+ [Y.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
1736
+ [Y.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
1737
+ [Y.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
1738
+ [Y.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
1739
+ [Y.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
1740
+ [Y.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
1741
+ [Y.SUCCESS_IMPERSONATION]: "Success Impersonation",
1742
+ [Y.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
1743
+ [Y.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
1744
+ [Y.SUCCESS_LOGOUT]: "Success Logout",
1745
+ [Y.SUCCESS_HOOK]: "Success Hook",
1746
+ [Y.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
1747
+ [Y.SUCCESS_REVOCATION]: "Success Revocation",
1748
+ [Y.SUCCESS_SIGNUP]: "Success Signup",
1749
+ [Y.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
1750
+ [Y.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
1751
+ [Y.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
1752
+ [Y.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
1753
+ [Y.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
1754
+ [Y.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
1755
+ [Y.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
1756
+ [Y.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
1757
+ [Y.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
1758
+ [Y.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
1759
+ [Y.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
1760
+ [Y.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
1761
+ [Y.WARNING_DURING_LOGIN]: "Warning During Login",
1762
+ [Y.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
1763
+ [Y.WARNING_USER_MANAGEMENT]: "Warning User Management"
1764
+ }, En = (() => {
1761
1765
  let e = {};
1762
- for (let [t, n] of Object.entries(X)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1766
+ for (let [t, n] of Object.entries(Y)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
1763
1767
  return e;
1764
1768
  })();
1765
- function Tn(e) {
1766
- return Cn[e] ?? e;
1769
+ function Dn(e) {
1770
+ return Tn[e] ?? e;
1767
1771
  }
1768
- function En(e) {
1769
- return wn[e] ?? "other";
1772
+ function On(e) {
1773
+ return En[e] ?? "other";
1770
1774
  }
1771
- var Dn = e.object({
1775
+ var kn = e.object({
1772
1776
  name: e.string(),
1773
1777
  version: e.string(),
1774
1778
  env: e.object({ node: e.string().optional() }).optional()
1775
- }), On = e.object({
1779
+ }), An = e.object({
1776
1780
  country_code: e.string().length(2),
1777
1781
  city_name: e.string(),
1778
1782
  latitude: e.string(),
1779
1783
  longitude: e.string(),
1780
1784
  time_zone: e.string(),
1781
1785
  continent_code: e.string()
1782
- }), kn = e.object({
1783
- type: Sn,
1786
+ }), jn = e.object({
1787
+ type: wn,
1784
1788
  date: e.string(),
1785
1789
  description: e.string().optional(),
1786
1790
  ip: e.string().optional(),
@@ -1798,58 +1802,58 @@ var Dn = e.object({
1798
1802
  strategy: e.string().optional(),
1799
1803
  strategy_type: e.string().optional(),
1800
1804
  hostname: e.string().optional(),
1801
- auth0_client: Dn.optional(),
1805
+ auth0_client: kn.optional(),
1802
1806
  log_id: e.string().optional(),
1803
- location_info: On.optional()
1804
- }), An = kn.extend({ log_id: e.string() }), jn = e.enum([
1807
+ location_info: An.optional()
1808
+ }), Mn = jn.extend({ log_id: e.string() }), Nn = e.enum([
1805
1809
  "http",
1806
1810
  "eventbridge",
1807
1811
  "eventgrid",
1808
1812
  "splunk",
1809
1813
  "datadog",
1810
1814
  "sumo"
1811
- ]), Z = e.enum([
1815
+ ]), X = e.enum([
1812
1816
  "active",
1813
1817
  "paused",
1814
1818
  "suspended"
1815
- ]), Mn = e.object({
1819
+ ]), Pn = e.object({
1816
1820
  type: e.string(),
1817
1821
  name: e.string()
1818
- }), Nn = e.object({
1822
+ }), Fn = e.object({
1819
1823
  name: e.string(),
1820
- type: jn,
1821
- status: Z.optional(),
1824
+ type: Nn,
1825
+ status: X.optional(),
1822
1826
  sink: e.record(e.string(), e.unknown()),
1823
- filters: e.array(Mn).optional(),
1827
+ filters: e.array(Pn).optional(),
1824
1828
  isPriority: e.boolean().optional()
1825
- }), Pn = Nn.extend({
1829
+ }), In = Fn.extend({
1826
1830
  id: e.string(),
1827
- status: Z,
1831
+ status: X,
1828
1832
  created_at: e.string().optional(),
1829
1833
  updated_at: e.string().optional()
1830
- }), Fn = e.enum([
1834
+ }), Ln = e.enum([
1831
1835
  "auth0",
1832
1836
  "cognito",
1833
1837
  "okta",
1834
1838
  "oidc"
1835
- ]), In = e.object({
1839
+ ]), Rn = e.object({
1836
1840
  domain: e.string(),
1837
1841
  client_id: e.string(),
1838
1842
  client_secret: e.string(),
1839
1843
  audience: e.string().optional(),
1840
1844
  scope: e.string().optional()
1841
- }), Ln = e.object({
1845
+ }), zn = e.object({
1842
1846
  id: e.string().optional(),
1843
1847
  name: e.string(),
1844
- provider: Fn,
1848
+ provider: Ln,
1845
1849
  connection: e.string(),
1846
1850
  enabled: e.boolean().default(!0),
1847
- credentials: In
1848
- }), Rn = e.object({
1851
+ credentials: Rn
1852
+ }), Bn = e.object({
1849
1853
  id: e.string(),
1850
1854
  created_at: e.string(),
1851
1855
  updated_at: e.string()
1852
- }).extend(Ln.shape), zn = e.object({
1856
+ }).extend(zn.shape), Vn = e.object({
1853
1857
  enabled: e.boolean().optional(),
1854
1858
  shields: e.array(e.string()).optional(),
1855
1859
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -1858,13 +1862,13 @@ var Dn = e.object({
1858
1862
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
1859
1863
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
1860
1864
  }).optional()
1861
- }), Bn = e.object({
1865
+ }), Hn = e.object({
1862
1866
  enabled: e.boolean().optional(),
1863
1867
  shields: e.array(e.string()).optional(),
1864
1868
  allowlist: e.array(e.string()).optional(),
1865
1869
  mode: e.string().optional(),
1866
1870
  max_attempts: e.number().optional()
1867
- }), Vn = e.object({
1871
+ }), Un = e.object({
1868
1872
  enabled: e.boolean().optional(),
1869
1873
  shields: e.array(e.string()).optional(),
1870
1874
  allowlist: e.array(e.string()).optional(),
@@ -1878,28 +1882,28 @@ var Dn = e.object({
1878
1882
  rate: e.number().optional()
1879
1883
  }).optional()
1880
1884
  }).optional()
1881
- }), Hn = e.object({
1882
- breached_password_detection: zn.optional(),
1883
- brute_force_protection: Bn.optional(),
1884
- suspicious_ip_throttling: Vn.optional()
1885
- }), Un = e.object({
1885
+ }), Wn = e.object({
1886
+ breached_password_detection: Vn.optional(),
1887
+ brute_force_protection: Hn.optional(),
1888
+ suspicious_ip_throttling: Un.optional()
1889
+ }), Gn = e.object({
1886
1890
  id: e.string().optional(),
1887
1891
  user_id: e.string(),
1888
1892
  password: e.string(),
1889
1893
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1890
1894
  is_current: e.boolean().default(!0)
1891
- }), Wn = Un.extend({
1895
+ }), Kn = Gn.extend({
1892
1896
  id: e.string(),
1893
1897
  created_at: e.string(),
1894
1898
  updated_at: e.string()
1895
- }), Gn = e.object({
1899
+ }), qn = e.object({
1896
1900
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1897
1901
  initial_ip: e.string().describe("First IP address associated with this session"),
1898
1902
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1899
1903
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1900
1904
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1901
1905
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1902
- }), Kn = e.object({
1906
+ }), Jn = e.object({
1903
1907
  id: e.string(),
1904
1908
  revoked_at: e.string().optional(),
1905
1909
  used_at: e.string().optional(),
@@ -1907,14 +1911,14 @@ var Dn = e.object({
1907
1911
  expires_at: e.string().optional(),
1908
1912
  login_session_id: e.string(),
1909
1913
  idle_expires_at: e.string().optional(),
1910
- device: Gn.describe("Metadata related to the device used in the session"),
1914
+ device: qn.describe("Metadata related to the device used in the session"),
1911
1915
  clients: e.array(e.string()).describe("List of client details for the session")
1912
- }), qn = e.object({
1916
+ }), Yn = e.object({
1913
1917
  created_at: e.string(),
1914
1918
  updated_at: e.string(),
1915
1919
  authenticated_at: e.string(),
1916
1920
  last_interaction_at: e.string()
1917
- }).extend(Kn.shape), Jn = e.object({
1921
+ }).extend(Jn.shape), Xn = e.object({
1918
1922
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1919
1923
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
1920
1924
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -1930,7 +1934,7 @@ var Dn = e.object({
1930
1934
  revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
1931
1935
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
1932
1936
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
1933
- }), Yn = e.object({
1937
+ }), Zn = e.object({
1934
1938
  id: e.string().optional(),
1935
1939
  audience: e.string().optional(),
1936
1940
  friendly_name: e.string(),
@@ -2047,7 +2051,7 @@ var Dn = e.object({
2047
2051
  "shared_planetscale"
2048
2052
  ]).optional(),
2049
2053
  d1_database_id: e.string().max(64).optional(),
2050
- attack_protection: Hn.optional(),
2054
+ attack_protection: Wn.optional(),
2051
2055
  mfa: e.object({
2052
2056
  policy: e.enum(["never", "always"]).default("never").optional(),
2053
2057
  factors: e.object({
@@ -2074,15 +2078,15 @@ var Dn = e.object({
2074
2078
  }).optional(),
2075
2079
  phone_message: e.object({ message: e.string().optional() }).optional()
2076
2080
  }).optional()
2077
- }), Xn = e.object({
2081
+ }), Qn = e.object({
2078
2082
  created_at: e.string().nullable().transform((e) => e ?? ""),
2079
2083
  updated_at: e.string().nullable().transform((e) => e ?? "")
2080
- }).extend(Yn.shape).extend({
2084
+ }).extend(Zn.shape).extend({
2081
2085
  id: e.string(),
2082
2086
  is_control_plane: e.boolean().optional()
2083
- }), Zn = /* @__PURE__ */ function(e) {
2087
+ }), $n = /* @__PURE__ */ function(e) {
2084
2088
  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;
2085
- }({}), Qn = e.object({
2089
+ }({}), er = e.object({
2086
2090
  access_token: e.string(),
2087
2091
  id_token: e.string().optional(),
2088
2092
  scope: e.string().optional(),
@@ -2097,7 +2101,7 @@ e.object({
2097
2101
  });
2098
2102
  //#endregion
2099
2103
  //#region src/types/Theme.ts
2100
- var $n = e.object({
2104
+ var tr = e.object({
2101
2105
  button_border_radius: e.number(),
2102
2106
  button_border_weight: e.number(),
2103
2107
  buttons_style: e.enum([
@@ -2115,7 +2119,7 @@ var $n = e.object({
2115
2119
  show_widget_shadow: e.boolean(),
2116
2120
  widget_border_weight: e.number(),
2117
2121
  widget_corner_radius: e.number()
2118
- }), er = e.object({
2122
+ }), nr = e.object({
2119
2123
  base_focus_color: e.string(),
2120
2124
  base_hover_color: e.string(),
2121
2125
  body_text: e.string(),
@@ -2139,20 +2143,20 @@ var $n = e.object({
2139
2143
  success: e.string(),
2140
2144
  widget_background: e.string(),
2141
2145
  widget_border: e.string()
2142
- }), Q = e.object({
2146
+ }), Z = e.object({
2143
2147
  bold: e.boolean(),
2144
2148
  size: e.number()
2145
- }), tr = e.object({
2146
- body_text: Q,
2147
- buttons_text: Q,
2149
+ }), rr = e.object({
2150
+ body_text: Z,
2151
+ buttons_text: Z,
2148
2152
  font_url: e.string(),
2149
- input_labels: Q,
2150
- links: Q,
2153
+ input_labels: Z,
2154
+ links: Z,
2151
2155
  links_style: e.enum(["normal", "underlined"]),
2152
2156
  reference_text_size: e.number(),
2153
- subtitle: Q,
2154
- title: Q
2155
- }), nr = e.object({
2157
+ subtitle: Z,
2158
+ title: Z
2159
+ }), ir = e.object({
2156
2160
  background_color: e.string(),
2157
2161
  background_image_url: e.string(),
2158
2162
  page_layout: e.enum([
@@ -2165,7 +2169,7 @@ var $n = e.object({
2165
2169
  "chip",
2166
2170
  "none"
2167
2171
  ]).optional()
2168
- }), rr = e.object({
2172
+ }), ar = e.object({
2169
2173
  header_text_alignment: e.enum([
2170
2174
  "center",
2171
2175
  "left",
@@ -2180,48 +2184,48 @@ var $n = e.object({
2180
2184
  ]),
2181
2185
  logo_url: e.string(),
2182
2186
  social_buttons_layout: e.enum(["bottom", "top"])
2183
- }), ir = e.object({
2184
- borders: $n,
2185
- colors: er,
2187
+ }), or = e.object({
2188
+ borders: tr,
2189
+ colors: nr,
2186
2190
  displayName: e.string(),
2187
- fonts: tr,
2188
- page_background: nr,
2189
- widget: rr
2190
- }), ar = ir.extend({ themeId: e.string() }), or = e.object({
2191
+ fonts: rr,
2192
+ page_background: ir,
2193
+ widget: ar
2194
+ }), sr = or.extend({ themeId: e.string() }), cr = e.object({
2191
2195
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2192
2196
  identifier_first: e.boolean().default(!0),
2193
2197
  password_first: e.boolean().default(!1),
2194
2198
  webauthn_platform_first_factor: e.boolean()
2195
- }), sr = e.object({
2199
+ }), lr = e.object({
2196
2200
  hosts: e.array(e.string()).optional(),
2197
2201
  methods: e.array(e.string()).optional(),
2198
2202
  path: e.string().default("/*"),
2199
2203
  headers: e.record(e.string(), e.string()).optional(),
2200
2204
  query: e.record(e.string(), e.string()).optional()
2201
- }), cr = e.object({
2205
+ }), ur = e.object({
2202
2206
  type: e.string(),
2203
2207
  options: e.record(e.string(), e.unknown()).default({})
2204
- }), $ = e.object({
2208
+ }), Q = e.object({
2205
2209
  id: e.string().optional(),
2206
2210
  custom_domain_id: e.string(),
2207
2211
  priority: e.number().int().default(100),
2208
- match: sr,
2209
- handlers: e.array(cr).min(1)
2210
- }), lr = $.extend({
2212
+ match: lr,
2213
+ handlers: e.array(ur).min(1)
2214
+ }), dr = Q.extend({
2211
2215
  id: e.string(),
2212
2216
  tenant_id: e.string(),
2213
2217
  created_at: e.string(),
2214
2218
  updated_at: e.string()
2215
- }), ur = $.partial().omit({
2219
+ }), fr = Q.partial().omit({
2216
2220
  id: !0,
2217
2221
  custom_domain_id: !0
2218
- }), dr = e.object({
2222
+ }), pr = e.object({
2219
2223
  name: e.string(),
2220
2224
  enabled: e.boolean().optional().default(!0),
2221
2225
  default_from_address: e.string().optional(),
2222
2226
  credentials: e.record(e.string(), e.unknown()),
2223
2227
  settings: e.object({}).optional()
2224
- }), fr = e.enum([
2228
+ }), mr = e.enum([
2225
2229
  "verify_email",
2226
2230
  "verify_email_by_code",
2227
2231
  "reset_email",
@@ -2234,8 +2238,8 @@ var $n = e.object({
2234
2238
  "change_password",
2235
2239
  "password_reset",
2236
2240
  "user_invitation"
2237
- ]), pr = e.object({
2238
- template: fr,
2241
+ ]), hr = e.object({
2242
+ template: mr,
2239
2243
  body: e.string(),
2240
2244
  from: e.string(),
2241
2245
  subject: e.string(),
@@ -2244,7 +2248,7 @@ var $n = e.object({
2244
2248
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2245
2249
  includeEmailInRedirect: e.boolean().default(!1),
2246
2250
  enabled: e.boolean().default(!0)
2247
- }), mr = e.object({
2251
+ }), gr = e.object({
2248
2252
  id: e.string(),
2249
2253
  login_id: e.string(),
2250
2254
  user_id: e.string(),
@@ -2252,7 +2256,7 @@ var $n = e.object({
2252
2256
  expires_at: e.string().optional(),
2253
2257
  idle_expires_at: e.string().optional(),
2254
2258
  last_exchanged_at: e.string().optional(),
2255
- device: Gn,
2259
+ device: qn,
2256
2260
  resource_servers: e.array(e.object({
2257
2261
  audience: e.string(),
2258
2262
  scopes: e.string()
@@ -2263,19 +2267,19 @@ var $n = e.object({
2263
2267
  family_id: e.string().optional(),
2264
2268
  rotated_to: e.string().optional(),
2265
2269
  rotated_at: e.string().optional()
2266
- }), hr = mr.extend({
2270
+ }), _r = gr.extend({
2267
2271
  created_at: e.string(),
2268
2272
  revoked_at: e.string().optional()
2269
- }), gr = e.object({
2273
+ }), vr = e.object({
2270
2274
  to: e.string(),
2271
2275
  message: e.string()
2272
- }), _r = e.object({
2276
+ }), yr = e.object({
2273
2277
  name: e.string(),
2274
2278
  options: e.object({})
2275
- }), vr = e.object({
2279
+ }), br = e.object({
2276
2280
  value: e.string(),
2277
2281
  description: e.string().optional()
2278
- }), yr = e.object({
2282
+ }), xr = e.object({
2279
2283
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2280
2284
  enforce_policies: e.boolean().optional(),
2281
2285
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2283,11 +2287,11 @@ var $n = e.object({
2283
2287
  persist_client_authorization: e.boolean().optional(),
2284
2288
  enable_introspection_endpoint: e.boolean().optional(),
2285
2289
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
2286
- }), br = e.object({
2290
+ }), Sr = e.object({
2287
2291
  id: e.string().optional(),
2288
2292
  name: e.string(),
2289
2293
  identifier: e.string(),
2290
- scopes: e.array(vr).optional(),
2294
+ scopes: e.array(br).optional(),
2291
2295
  signing_alg: e.string().optional(),
2292
2296
  signing_secret: e.string().optional(),
2293
2297
  token_lifetime: e.number().default(86400),
@@ -2295,30 +2299,30 @@ var $n = e.object({
2295
2299
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2296
2300
  allow_offline_access: e.boolean().optional(),
2297
2301
  verificationKey: e.string().optional(),
2298
- options: yr.optional(),
2302
+ options: xr.optional(),
2299
2303
  is_system: e.boolean().optional(),
2300
2304
  metadata: e.record(e.string(), e.any()).optional()
2301
- }), xr = br.extend({
2305
+ }), Cr = Sr.extend({
2302
2306
  created_at: e.string().optional(),
2303
2307
  updated_at: e.string().optional()
2304
- }), Sr = e.array(xr), Cr = e.object({
2308
+ }), wr = e.array(Cr), Tr = e.object({
2305
2309
  role_id: e.string(),
2306
2310
  resource_server_identifier: e.string(),
2307
2311
  permission_name: e.string()
2308
- }), wr = Cr.extend({ created_at: e.string() }), Tr = e.array(wr), Er = e.object({
2312
+ }), Er = Tr.extend({ created_at: e.string() }), Dr = e.array(Er), Or = e.object({
2309
2313
  user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
2310
2314
  clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
2311
2315
  audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
2312
2316
  scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
2313
- }), Dr = Er.extend({ id: e.string() }), Or = e.object({
2317
+ }), kr = Or.extend({ id: e.string() }), Ar = e.object({
2314
2318
  user_id: e.string(),
2315
2319
  resource_server_identifier: e.string(),
2316
2320
  permission_name: e.string(),
2317
2321
  organization_id: e.string().optional()
2318
- }), kr = Or.extend({
2322
+ }), jr = Ar.extend({
2319
2323
  tenant_id: e.string(),
2320
2324
  created_at: e.string().optional()
2321
- }), Ar = e.array(kr), jr = e.object({
2325
+ }), Mr = e.array(jr), Nr = e.object({
2322
2326
  user_id: e.string(),
2323
2327
  resource_server_identifier: e.string(),
2324
2328
  resource_server_name: e.string(),
@@ -2326,65 +2330,65 @@ var $n = e.object({
2326
2330
  description: e.string().nullable().optional(),
2327
2331
  created_at: e.string().optional(),
2328
2332
  organization_id: e.string().optional()
2329
- }), Mr = e.array(jr), Nr = e.object({
2333
+ }), Pr = e.array(Nr), Fr = e.object({
2330
2334
  user_id: e.string(),
2331
2335
  role_id: e.string(),
2332
2336
  organization_id: e.string().optional()
2333
- }), Pr = Nr.extend({
2337
+ }), Ir = Fr.extend({
2334
2338
  tenant_id: e.string(),
2335
2339
  created_at: e.string().optional()
2336
- }), Fr = e.array(Pr), Ir = e.object({
2340
+ }), Lr = e.array(Ir), Rr = e.object({
2337
2341
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
2338
2342
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
2339
2343
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
2340
2344
  is_system: e.boolean().optional(),
2341
2345
  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." })
2342
- }), Lr = Ir.extend({
2346
+ }), zr = Rr.extend({
2343
2347
  id: e.string().openapi({ description: "The unique identifier of the role" }),
2344
2348
  created_at: e.string().optional(),
2345
2349
  updated_at: e.string().optional()
2346
- }), Rr = e.array(Lr), zr = e.object({
2350
+ }), Br = e.array(zr), Vr = e.object({
2347
2351
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
2348
2352
  colors: e.object({
2349
2353
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
2350
2354
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
2351
2355
  }).optional()
2352
- }).optional(), Br = e.object({
2356
+ }).optional(), Hr = e.object({
2353
2357
  connection_id: e.string().openapi({ description: "ID of the connection" }),
2354
2358
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
2355
2359
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
2356
2360
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
2357
- }), Vr = e.object({ client_credentials: e.object({
2361
+ }), Ur = e.object({ client_credentials: e.object({
2358
2362
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
2359
2363
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
2360
2364
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
2361
- }).optional() }).optional(), Hr = e.object({
2365
+ }).optional() }).optional(), Wr = e.object({
2362
2366
  id: e.string().optional(),
2363
2367
  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." }),
2364
2368
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
2365
- branding: zr,
2369
+ branding: Vr,
2366
2370
  metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
2367
- enabled_connections: e.array(Br).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2368
- token_quota: Vr
2369
- }), Ur = Hr.extend(t.shape).extend({
2371
+ enabled_connections: e.array(Hr).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2372
+ token_quota: Ur
2373
+ }), Gr = Wr.extend(t.shape).extend({
2370
2374
  id: e.string(),
2371
2375
  name: e.string().min(1).openapi({ description: "The name of the organization" })
2372
- }), Wr = e.object({
2376
+ }), Kr = e.object({
2373
2377
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
2374
2378
  assign_membership_on_login: e.boolean().optional().default(!1),
2375
2379
  show_as_button: e.boolean().optional().default(!0),
2376
2380
  is_signup_enabled: e.boolean().optional().default(!0)
2377
- }), Gr = Wr.extend({
2381
+ }), qr = Kr.extend({
2378
2382
  connection: e.object({
2379
2383
  name: e.string().optional(),
2380
2384
  strategy: e.string().optional()
2381
2385
  }).optional(),
2382
2386
  created_at: e.string().optional(),
2383
2387
  updated_at: e.string().optional()
2384
- }), Kr = e.array(Gr), qr = e.object({
2388
+ }), Jr = e.array(qr), Yr = e.object({
2385
2389
  user_id: e.string().openapi({ description: "ID of the user" }),
2386
2390
  organization_id: e.string().openapi({ description: "ID of the organization" })
2387
- }), Jr = qr.extend(t.shape).extend({ id: e.string() }), Yr = e.object({
2391
+ }), Xr = Yr.extend(t.shape).extend({ id: e.string() }), Zr = e.object({
2388
2392
  idle_session_lifetime: e.number().default(72),
2389
2393
  session_lifetime: e.number().default(168),
2390
2394
  session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
@@ -2463,7 +2467,7 @@ var $n = e.object({
2463
2467
  }).optional(),
2464
2468
  phone_message: e.object({ message: e.string().optional() }).optional()
2465
2469
  }).optional()
2466
- }), Xr = e.object({
2470
+ }), Qr = e.object({
2467
2471
  date: e.string().openapi({
2468
2472
  description: "Date these events occurred in ISO 8601 format",
2469
2473
  example: "2025-12-19"
@@ -2488,55 +2492,55 @@ var $n = e.object({
2488
2492
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2489
2493
  example: "2025-12-19T00:00:00.000Z"
2490
2494
  })
2491
- }), Zr = e.number().openapi({
2495
+ }), $r = e.number().openapi({
2492
2496
  description: "Number of active users in the last 30 days",
2493
2497
  example: 1234
2494
- }), Qr = e.enum([
2498
+ }), ei = e.enum([
2495
2499
  "active-users",
2496
2500
  "logins",
2497
2501
  "signups",
2498
2502
  "refresh-tokens",
2499
2503
  "sessions"
2500
- ]), $r = e.enum([
2504
+ ]), ti = e.enum([
2501
2505
  "hour",
2502
2506
  "day",
2503
2507
  "week",
2504
2508
  "month"
2505
- ]), ei = e.enum([
2509
+ ]), ni = e.enum([
2506
2510
  "time",
2507
2511
  "connection",
2508
2512
  "client_id",
2509
2513
  "user_type",
2510
2514
  "event"
2511
- ]), ti = e.enum([
2515
+ ]), ri = e.enum([
2512
2516
  "password",
2513
2517
  "social",
2514
2518
  "passwordless",
2515
2519
  "enterprise"
2516
- ]), ni = e.object({
2520
+ ]), ii = e.object({
2517
2521
  name: e.string(),
2518
2522
  type: e.string()
2519
- }), ri = e.object({
2523
+ }), ai = e.object({
2520
2524
  elapsed: e.number(),
2521
2525
  rows_read: e.number().optional(),
2522
2526
  bytes_read: e.number().optional()
2523
- }), ii = e.object({
2524
- meta: e.array(ni),
2527
+ }), oi = e.object({
2528
+ meta: e.array(ii),
2525
2529
  data: e.array(e.record(e.string(), e.any())),
2526
2530
  rows: e.number(),
2527
2531
  rows_before_limit_at_least: e.number().optional(),
2528
- statistics: ri.optional()
2529
- }), ai = 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(".")), oi = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2532
+ statistics: ai.optional()
2533
+ }), si = 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(".")), ci = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2530
2534
  type: "object",
2531
2535
  additionalProperties: {
2532
2536
  type: "object",
2533
2537
  additionalProperties: { type: "string" }
2534
2538
  }
2535
- }), si = e.object({
2536
- prompt: ai,
2539
+ }), li = e.object({
2540
+ prompt: si,
2537
2541
  language: e.string(),
2538
- custom_text: oi
2539
- }), ci = {
2542
+ custom_text: ci
2543
+ }), ui = {
2540
2544
  EMAIL: "email",
2541
2545
  SMS: "sms",
2542
2546
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2544,18 +2548,19 @@ var $n = e.object({
2544
2548
  APPLE: "apple",
2545
2549
  FACEBOOK: "facebook",
2546
2550
  GITHUB: "github",
2547
- MICROSOFT: "microsoft",
2551
+ WINDOWSLIVE: "windowslive",
2548
2552
  VIPPS: "vipps",
2549
2553
  OIDC: "oidc",
2550
2554
  OAUTH2: "oauth2",
2551
2555
  SAMLP: "samlp",
2552
2556
  WAAD: "waad",
2553
- ADFS: "adfs"
2554
- }, li = {
2557
+ ADFS: "adfs",
2558
+ OKTA: "okta"
2559
+ }, di = {
2555
2560
  DATABASE: "database",
2556
2561
  SOCIAL: "social",
2557
2562
  PASSWORDLESS: "passwordless"
2558
- }, ui = e.enum([
2563
+ }, fi = e.enum([
2559
2564
  "phone",
2560
2565
  "totp",
2561
2566
  "email",
@@ -2563,9 +2568,9 @@ var $n = e.object({
2563
2568
  "webauthn-roaming",
2564
2569
  "webauthn-platform",
2565
2570
  "passkey"
2566
- ]), di = e.object({
2571
+ ]), pi = e.object({
2567
2572
  user_id: e.string(),
2568
- type: ui,
2573
+ type: fi,
2569
2574
  phone_number: e.string().optional(),
2570
2575
  totp_secret: e.string().optional(),
2571
2576
  credential_id: e.string().optional(),
@@ -2576,7 +2581,7 @@ var $n = e.object({
2576
2581
  friendly_name: e.string().optional(),
2577
2582
  confirmed: e.boolean().default(!1)
2578
2583
  });
2579
- function fi(t, n) {
2584
+ function $(t, n) {
2580
2585
  t.type === "phone" && !t.phone_number && n.addIssue({
2581
2586
  code: e.ZodIssueCode.custom,
2582
2587
  message: "phone_number is required when type is 'phone'",
@@ -2599,14 +2604,14 @@ function fi(t, n) {
2599
2604
  path: ["public_key"]
2600
2605
  }));
2601
2606
  }
2602
- var pi = di.superRefine(fi), mi = di.extend({
2607
+ var mi = pi.superRefine($), hi = pi.extend({
2603
2608
  id: e.string(),
2604
2609
  created_at: e.string(),
2605
2610
  updated_at: e.string()
2606
- }).superRefine(fi);
2611
+ }).superRefine($);
2607
2612
  //#endregion
2608
2613
  //#region src/utils/user-id.ts
2609
- function hi(e) {
2614
+ function gi(e) {
2610
2615
  let [t, n] = e.split("|");
2611
2616
  if (!t || !n) throw Error(`Invalid user_id: ${e}`);
2612
2617
  return {
@@ -2616,7 +2621,7 @@ function hi(e) {
2616
2621
  }
2617
2622
  //#endregion
2618
2623
  //#region src/utils/passthrough.ts
2619
- function gi(e) {
2624
+ function _i(e) {
2620
2625
  let { primary: t, secondaries: n, syncMethods: r = [
2621
2626
  "create",
2622
2627
  "rawCreate",
@@ -2650,12 +2655,12 @@ function gi(e) {
2650
2655
  } : i.bind(e) : i;
2651
2656
  } });
2652
2657
  }
2653
- function _i(e) {
2658
+ function vi(e) {
2654
2659
  return e;
2655
2660
  }
2656
2661
  //#endregion
2657
2662
  //#region src/utils/connection-attributes.ts
2658
- function vi(e) {
2663
+ function yi(e) {
2659
2664
  let t = e?.options;
2660
2665
  if (!t) return {
2661
2666
  usernameIdentifierActive: !1,
@@ -2678,8 +2683,8 @@ function vi(e) {
2678
2683
  }
2679
2684
  //#endregion
2680
2685
  //#region src/utils/guards.ts
2681
- function yi(e) {
2686
+ function bi(e) {
2682
2687
  return typeof e == "object" && !!e && !Array.isArray(e);
2683
2688
  }
2684
2689
  //#endregion
2685
- export { he as Auth0ActionEnum, Dn as Auth0Client, Re as AuthorizationResponseMode, Le as AuthorizationResponseType, ze as CodeChallengeMethod, M as ComponentCategory, j as ComponentType, ge as EmailActionEnum, Mt as FORM_FIELD_TYPES, me as FlowActionTypeEnum, Zn as GrantType, On as LocationInfo, X as LogTypes, _n as LoginSessionState, Oe as NodeType, g as RedirectTargetEnum, ci as Strategy, li as StrategyType, r as actionDependencySchema, l as actionExecutionErrorSchema, ae as actionExecutionInsertSchema, ne as actionExecutionLogEntrySchema, re as actionExecutionLogsSchema, te as actionExecutionResultSchema, ie as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, Ae as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, u as actionVersionInsertSchema, oe as actionVersionSchema, Zr as activeUsersResponseSchema, ce as actorSchema, x as addressSchema, ni as analyticsColumnMetaSchema, ei as analyticsGroupBySchema, $r as analyticsIntervalSchema, ii as analyticsQueryResponseSchema, Qr as analyticsResourceSchema, ri as analyticsStatisticsSchema, ti as analyticsUserTypeSchema, Hn as attackProtectionSchema, se as auditCategorySchema, f as auditEventInsertSchema, pe as auditEventSchema, d as auth0ClientSchema, Ie as auth0FlowInsertSchema, Fe as auth0FlowSchema, ve as auth0QuerySchema, m as auth0UpdateUserActionSchema, xe as auth0UserResponseSchema, He as authParamsSchema, pi as authenticationMethodInsertSchema, mi as authenticationMethodSchema, ui as authenticationMethodTypeSchema, S as baseUserSchema, kt as blockComponentSchema, $n as bordersSchema, Ue as brandingSchema, zn as breachedPasswordDetectionSchema, Bn as bruteForceProtectionSchema, F as buttonComponentSchema, Ve as claimsRequestSchema, E as clientGrantInsertSchema, Ee as clientGrantListSchema, D as clientGrantSchema, T as clientInsertSchema, k as clientRegistrationTokenInsertSchema, De as clientRegistrationTokenSchema, O as clientRegistrationTokenTypeSchema, Te as clientSchema, Ge as codeInsertSchema, Ke as codeSchema, We as codeTypeSchema, er as colorsSchema, Bt as componentMessageSchema, z as componentSchema, Je as connectionInsertSchema, qe as connectionOptionsSchema, Ye as connectionSchema, A as coordinatesSchema, gi as createPassthroughAdapter, _i as createWriteOnlyAdapter, et as customDomainCertificateUploadSchema, Xe as customDomainInsertSchema, Qe as customDomainSchema, $e as customDomainWithTenantIdSchema, si as customTextEntrySchema, oi as customTextSchema, Xr as dailyStatsSchema, dr as emailProviderSchema, fr as emailTemplateNameSchema, pr as emailTemplateSchema, p as emailVerificationRulesSchema, h as emailVerifyActionSchema, Pe as endingSchema, jt as fieldComponentSchema, v as flowActionStepSchema, y as flowInsertSchema, _e as flowSchema, L as flowsFieldComponentSchema, ke as flowsFlowNodeSchema, B as flowsStepNodeSchema, Q as fontDetailsSchema, tr as fontsSchema, Nt as formControlSchema, Rt as formInsertSchema, K as formNodeComponentDefinition, Lt as formNodeSchema, zt as formSchema, R as genericComponentSchema, je as genericNodeSchema, vi as getConnectionIdentifierConfig, En as getLogTypeCategory, Tn as getLogTypeDescription, Er as grantInsertSchema, Dr as grantSchema, cr as handlerConfigSchema, cn as hookCodeInsertSchema, ln as hookCodeSchema, tn as hookInsertSchema, sn as hookSchema, J as hookTemplateId, Xt as hookTemplates, b as identitySchema, fn as inviteInsertSchema, pn as inviteSchema, dn as inviteeSchema, un as inviterSchema, Ut as isBlockComponent, Gt as isFieldComponent, yi as isPlainObject, Wt as isWidgetComponent, hn as jwksKeySchema, mn as jwksSchema, I as legalComponentSchema, fe as locationInfoSchema, kn as logInsertSchema, An as logSchema, Mn as logStreamFilterSchema, Nn as logStreamInsertSchema, Pn as logStreamSchema, Z as logStreamStatusSchema, jn as logStreamTypeSchema, wn as logTypeCategories, Cn as logTypeDescriptions, yn as loginSessionAuthStrategySchema, bn as loginSessionInsertSchema, xn as loginSessionSchema, vn as loginSessionStateSchema, sr as matchSchema, Fn as migrationProviderTypeSchema, In as migrationSourceCredentialsSchema, Ln as migrationSourceInsertSchema, Rn as migrationSourceSchema, Me as nodeSchema, gn as openIDConfigurationSchema, zr as organizationBrandingSchema, Wr as organizationConnectionInsertSchema, Kr as organizationConnectionListSchema, Gr as organizationConnectionSchema, Br as organizationEnabledConnectionSchema, Hr as organizationInsertSchema, Ur as organizationSchema, Vr as organizationTokenQuotaSchema, nr as pageBackgroundSchema, hi as parseUserId, Un as passwordInsertSchema, Wn as passwordSchema, be as profileDataSchema, ai as promptScreenSchema, or as promptSettingSchema, $ as proxyRouteInsertSchema, lr as proxyRouteSchema, ur as proxyRouteUpdateSchema, _ as redirectActionSchema, mr as refreshTokenInsertSchema, hr as refreshTokenSchema, ue as requestContextSchema, br as resourceServerInsertSchema, Sr as resourceServerListSchema, yr as resourceServerOptionsSchema, xr as resourceServerSchema, vr as resourceServerScopeSchema, de as responseContextSchema, P as richTextComponentSchema, Ir as roleInsertSchema, Rr as roleListSchema, Cr as rolePermissionInsertSchema, Tr as rolePermissionListSchema, wr as rolePermissionSchema, Lr as roleSchema, Vt as screenLinkSchema, Kn as sessionInsertSchema, qn as sessionSchema, Jn as signingKeySchema, _r as smsProviderSchema, gr as smsSendParamsSchema, Ne as startSchema, Vn as suspiciousIpThrottlingSchema, le as targetSchema, Yn as tenantInsertSchema, Xn as tenantSchema, Yr as tenantSettingsSchema, ir as themeInsertSchema, ar as themeSchema, Qn as tokenResponseSchema, ye as totalsSchema, Ht as uiScreenSchema, C as userInsertSchema, qr as userOrganizationInsertSchema, Jr as userOrganizationSchema, Or as userPermissionInsertSchema, Ar as userPermissionListSchema, kr as userPermissionSchema, Mr as userPermissionWithDetailsListSchema, jr as userPermissionWithDetailsSchema, Se as userResponseSchema, Nr as userRoleInsertSchema, Fr as userRoleListSchema, Pr as userRoleSchema, w as userSchema, Ze as verificationMethodsSchema, At as widgetComponentSchema, rr as widgetSchema };
2690
+ export { ve as Auth0ActionEnum, kn as Auth0Client, Ve as AuthorizationResponseMode, Be as AuthorizationResponseType, He as CodeChallengeMethod, k as ComponentCategory, O as ComponentType, ye as EmailActionEnum, Ft as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, $n as GrantType, An as LocationInfo, Y as LogTypes, yn as LoginSessionState, je as NodeType, p as RedirectTargetEnum, ui as Strategy, di as StrategyType, r as actionDependencySchema, te as actionExecutionErrorSchema, oe as actionExecutionInsertSchema, re as actionExecutionLogEntrySchema, ie as actionExecutionLogsSchema, ne as actionExecutionResultSchema, ae as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, Ne as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, se as actionVersionInsertSchema, ce as actionVersionSchema, $r as activeUsersResponseSchema, ue as actorSchema, v as addressSchema, ii as analyticsColumnMetaSchema, ni as analyticsGroupBySchema, ti as analyticsIntervalSchema, oi as analyticsQueryResponseSchema, ei as analyticsResourceSchema, ai as analyticsStatisticsSchema, ri as analyticsUserTypeSchema, Wn as attackProtectionSchema, le as auditCategorySchema, l as auditEventInsertSchema, ge as auditEventSchema, he as auth0ClientSchema, ze as auth0FlowInsertSchema, Re as auth0FlowSchema, xe as auth0QuerySchema, d as auth0UpdateUserActionSchema, we as auth0UserResponseSchema, Ge as authParamsSchema, mi as authenticationMethodInsertSchema, hi as authenticationMethodSchema, fi as authenticationMethodTypeSchema, y as baseUserSchema, Mt as blockComponentSchema, tr as bordersSchema, Ke as brandingSchema, Vn as breachedPasswordDetectionSchema, Hn as bruteForceProtectionSchema, M as buttonComponentSchema, We as claimsRequestSchema, C as clientGrantInsertSchema, ke as clientGrantListSchema, w as clientGrantSchema, S as clientInsertSchema, E as clientRegistrationTokenInsertSchema, Ae as clientRegistrationTokenSchema, T as clientRegistrationTokenTypeSchema, Oe as clientSchema, Je as codeInsertSchema, Ye as codeSchema, qe as codeTypeSchema, nr as colorsSchema, Ut as componentMessageSchema, I as componentSchema, Ze as connectionInsertSchema, Xe as connectionOptionsSchema, Qe as connectionSchema, D as coordinatesSchema, _i as createPassthroughAdapter, vi as createWriteOnlyAdapter, rt as customDomainCertificateUploadSchema, z as customDomainInsertSchema, et as customDomainSchema, tt as customDomainUpdateSchema, nt as customDomainWithTenantIdSchema, li as customTextEntrySchema, ci as customTextSchema, Qr as dailyStatsSchema, pr as emailProviderSchema, mr as emailTemplateNameSchema, hr as emailTemplateSchema, u as emailVerificationRulesSchema, f as emailVerifyActionSchema, Le as endingSchema, Pt as fieldComponentSchema, h as flowActionStepSchema, g as flowInsertSchema, be as flowSchema, P as flowsFieldComponentSchema, Me as flowsFlowNodeSchema, L as flowsStepNodeSchema, Z as fontDetailsSchema, rr as fontsSchema, It as formControlSchema, Vt as formInsertSchema, W as formNodeComponentDefinition, Bt as formNodeSchema, Ht as formSchema, F as genericComponentSchema, Pe as genericNodeSchema, yi as getConnectionIdentifierConfig, On as getLogTypeCategory, Dn as getLogTypeDescription, Or as grantInsertSchema, kr as grantSchema, ur as handlerConfigSchema, un as hookCodeInsertSchema, dn as hookCodeSchema, rn as hookInsertSchema, ln as hookSchema, q as hookTemplateId, Qt as hookTemplates, Ce as identitySchema, mn as inviteInsertSchema, hn as inviteSchema, pn as inviteeSchema, fn as inviterSchema, Gt as isBlockComponent, qt as isFieldComponent, bi as isPlainObject, Kt as isWidgetComponent, _n as jwksKeySchema, gn as jwksSchema, N as legalComponentSchema, me as locationInfoSchema, jn as logInsertSchema, Mn as logSchema, Pn as logStreamFilterSchema, Fn as logStreamInsertSchema, In as logStreamSchema, X as logStreamStatusSchema, Nn as logStreamTypeSchema, En as logTypeCategories, Tn as logTypeDescriptions, xn as loginSessionAuthStrategySchema, Sn as loginSessionInsertSchema, Cn as loginSessionSchema, bn as loginSessionStateSchema, lr as matchSchema, Ln as migrationProviderTypeSchema, Rn as migrationSourceCredentialsSchema, zn as migrationSourceInsertSchema, Bn as migrationSourceSchema, Fe as nodeSchema, vn as openIDConfigurationSchema, Vr as organizationBrandingSchema, Kr as organizationConnectionInsertSchema, Jr as organizationConnectionListSchema, qr as organizationConnectionSchema, Hr as organizationEnabledConnectionSchema, Wr as organizationInsertSchema, Gr as organizationSchema, Ur as organizationTokenQuotaSchema, ir as pageBackgroundSchema, gi as parseUserId, Gn as passwordInsertSchema, Kn as passwordSchema, _ as profileDataSchema, si as promptScreenSchema, cr as promptSettingSchema, Q as proxyRouteInsertSchema, dr as proxyRouteSchema, fr as proxyRouteUpdateSchema, m as redirectActionSchema, gr as refreshTokenInsertSchema, _r as refreshTokenSchema, fe as requestContextSchema, Sr as resourceServerInsertSchema, wr as resourceServerListSchema, xr as resourceServerOptionsSchema, Cr as resourceServerSchema, br as resourceServerScopeSchema, pe as responseContextSchema, j as richTextComponentSchema, Rr as roleInsertSchema, Br as roleListSchema, Tr as rolePermissionInsertSchema, Dr as rolePermissionListSchema, Er as rolePermissionSchema, zr as roleSchema, K as screenLinkSchema, Jn as sessionInsertSchema, Yn as sessionSchema, Xn as signingKeySchema, yr as smsProviderSchema, vr as smsSendParamsSchema, Ie as startSchema, Un as suspiciousIpThrottlingSchema, de as targetSchema, Zn as tenantInsertSchema, Qn as tenantSchema, Zr as tenantSettingsSchema, or as themeInsertSchema, sr as themeSchema, er as tokenResponseSchema, Se as totalsSchema, Wt as uiScreenSchema, b as userInsertSchema, Yr as userOrganizationInsertSchema, Xr as userOrganizationSchema, Ar as userPermissionInsertSchema, Mr as userPermissionListSchema, jr as userPermissionSchema, Pr as userPermissionWithDetailsListSchema, Nr as userPermissionWithDetailsSchema, Te as userResponseSchema, Fr as userRoleInsertSchema, Lr as userRoleListSchema, Ir as userRoleSchema, x as userSchema, $e as verificationMethodsSchema, Nt as widgetComponentSchema, ar as widgetSchema };