@authhero/adapter-interfaces 4.7.0 → 4.8.1

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.
@@ -44,12 +44,12 @@ var t = e.object({
44
44
  id: e.string(),
45
45
  msg: e.string(),
46
46
  url: e.string().optional()
47
- }), te = e.object({
47
+ }), u = e.object({
48
48
  action_name: e.string(),
49
49
  error: l.nullable(),
50
50
  started_at: e.string(),
51
51
  ended_at: e.string()
52
- }), ne = e.object({
52
+ }), te = 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
+ }), ne = e.array(e.object({
62
62
  action_name: e.string(),
63
- lines: e.array(ne)
64
- })), ie = e.object({
63
+ lines: e.array(te)
64
+ })), re = e.object({
65
65
  id: e.string(),
66
66
  tenant_id: e.string(),
67
67
  trigger_id: ee,
68
68
  status: c,
69
- results: e.array(te),
70
- logs: re.optional(),
69
+ results: e.array(u),
70
+ logs: ne.optional(),
71
71
  created_at: e.string(),
72
72
  updated_at: e.string()
73
- }), ae = ie.omit({
73
+ }), ie = re.omit({
74
74
  tenant_id: !0,
75
75
  created_at: !0,
76
76
  updated_at: !0
77
- }), oe = e.object({
77
+ }), ae = 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
- }), se = oe.extend({
85
+ }), oe = ae.extend({
86
86
  id: e.string(),
87
87
  tenant_id: e.string(),
88
88
  number: e.number().int()
89
- }).extend(t.shape), ce = e.enum([
89
+ }).extend(t.shape), se = e.enum([
90
90
  "user_action",
91
91
  "admin_action",
92
92
  "system",
93
93
  "api"
94
- ]), le = e.object({
94
+ ]), ce = 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
- }), ue = e.object({
108
+ }), le = 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
- }), de = e.object({
117
+ }), ue = e.object({
118
118
  method: e.string(),
119
119
  path: e.string(),
120
120
  query: e.record(e.string(), e.string()).optional(),
@@ -123,30 +123,30 @@ var t = e.object({
123
123
  user_agent: e.string().optional(),
124
124
  correlation_id: e.string().optional(),
125
125
  redirect_uri: e.string().optional()
126
- }), fe = e.object({
126
+ }), de = e.object({
127
127
  status_code: e.number(),
128
128
  body: e.unknown().optional()
129
- }), pe = e.object({
129
+ }), fe = e.object({
130
130
  country_code: e.string(),
131
131
  city_name: e.string(),
132
132
  latitude: e.string(),
133
133
  longitude: e.string(),
134
134
  time_zone: e.string(),
135
135
  continent_code: e.string()
136
- }), me = e.object({
136
+ }), pe = e.object({
137
137
  name: e.string(),
138
138
  version: e.string(),
139
139
  env: e.record(e.string(), e.string()).optional()
140
- }), he = e.object({
140
+ }), me = e.object({
141
141
  tenant_id: e.string(),
142
142
  event_type: e.string(),
143
143
  log_type: e.string(),
144
144
  description: e.string().optional(),
145
- category: ce,
146
- actor: le,
147
- target: ue,
148
- request: de,
149
- response: fe.optional(),
145
+ category: se,
146
+ actor: ce,
147
+ target: le,
148
+ request: ue,
149
+ response: de.optional(),
150
150
  connection: e.string().optional(),
151
151
  connection_id: e.string().optional(),
152
152
  client_name: e.string().optional(),
@@ -154,29 +154,29 @@ var t = e.object({
154
154
  strategy_type: e.string().optional(),
155
155
  audience: e.string().optional(),
156
156
  scope: e.string().optional(),
157
- location: pe.optional(),
158
- auth0_client: me.optional(),
157
+ location: fe.optional(),
158
+ auth0_client: pe.optional(),
159
159
  hostname: e.string(),
160
160
  is_mobile: e.boolean().optional(),
161
161
  timestamp: e.string()
162
- }), ge = he.extend({ id: e.string() }), _e = e.enum([
162
+ }), he = me.extend({ id: e.string() }), ge = e.enum([
163
163
  "AUTH0",
164
164
  "EMAIL",
165
165
  "REDIRECT"
166
- ]), ve = e.enum([
166
+ ]), _e = e.enum([
167
167
  "CREATE_USER",
168
168
  "GET_USER",
169
169
  "UPDATE_USER",
170
170
  "SEND_REQUEST",
171
171
  "SEND_EMAIL"
172
- ]), ye = e.enum(["VERIFY_EMAIL"]), be = e.object({
172
+ ]), ve = e.enum(["VERIFY_EMAIL"]), ye = e.object({
173
173
  require_mx_record: e.boolean().optional(),
174
174
  block_aliases: e.boolean().optional(),
175
175
  block_free_emails: e.boolean().optional(),
176
176
  block_disposable_emails: e.boolean().optional(),
177
177
  blocklist: e.array(e.string()).optional(),
178
178
  allowlist: e.array(e.string()).optional()
179
- }), xe = e.object({
179
+ }), be = e.object({
180
180
  id: e.string(),
181
181
  alias: e.string().max(100).optional(),
182
182
  type: e.literal("AUTH0"),
@@ -188,7 +188,7 @@ var t = e.object({
188
188
  user_id: e.string(),
189
189
  changes: e.record(e.string(), e.any())
190
190
  })
191
- }), Se = e.object({
191
+ }), xe = e.object({
192
192
  id: e.string(),
193
193
  alias: e.string().max(100).optional(),
194
194
  type: e.literal("EMAIL"),
@@ -197,13 +197,13 @@ var t = e.object({
197
197
  mask_output: e.boolean().optional(),
198
198
  params: e.object({
199
199
  email: e.string(),
200
- rules: be.optional()
200
+ rules: ye.optional()
201
201
  })
202
- }), Ce = e.enum([
202
+ }), Se = e.enum([
203
203
  "change-email",
204
204
  "account",
205
205
  "custom"
206
- ]), we = e.object({
206
+ ]), Ce = e.object({
207
207
  id: e.string(),
208
208
  alias: e.string().max(100).optional(),
209
209
  type: e.literal("REDIRECT"),
@@ -211,32 +211,32 @@ var t = e.object({
211
211
  allow_failure: e.boolean().optional(),
212
212
  mask_output: e.boolean().optional(),
213
213
  params: e.object({
214
- target: Ce.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
214
+ target: Se.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
215
215
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
216
216
  })
217
- }), Te = e.union([
217
+ }), d = e.union([
218
+ be,
218
219
  xe,
219
- Se,
220
- we
221
- ]), Ee = e.object({
220
+ Ce
221
+ ]), we = e.object({
222
222
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
223
- actions: e.array(Te).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
224
- }), De = Ee.extend(t.shape).extend({ id: e.string().openapi({
223
+ actions: e.array(d).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
224
+ }), Te = we.extend(t.shape).extend({ id: e.string().openapi({
225
225
  description: "Unique identifier for the flow",
226
226
  example: "af_12tMpdJ3iek7svMyZkSh5M"
227
- }) }), Oe = e.object({
227
+ }) }), Ee = e.object({
228
228
  page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
229
229
  per_page: e.string().min(1).optional().default("50").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page. Defaults to 50." }),
230
230
  include_totals: e.string().optional().default("false").transform((e) => e === "true").openapi({ description: "If the total number of items should be included in the response" }),
231
231
  sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
232
232
  q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
233
- }), ke = e.object({
233
+ }), De = e.object({
234
234
  start: e.number(),
235
235
  limit: e.number(),
236
236
  length: e.number(),
237
237
  total: e.number().optional(),
238
238
  next: e.string().optional()
239
- }), Ae = e.object({
239
+ }), f = e.object({
240
240
  email: e.string().optional(),
241
241
  email_verified: e.boolean().optional(),
242
242
  name: e.string().optional(),
@@ -245,7 +245,7 @@ var t = e.object({
245
245
  phone_number: e.string().optional(),
246
246
  phone_verified: e.boolean().optional(),
247
247
  family_name: e.string().optional()
248
- }).catchall(e.any()), je = e.object({
248
+ }).catchall(e.any()), p = e.object({
249
249
  connection: e.string(),
250
250
  user_id: e.string(),
251
251
  provider: e.string(),
@@ -258,15 +258,15 @@ var t = e.object({
258
258
  access_token: e.string().optional(),
259
259
  access_token_secret: e.string().optional(),
260
260
  refresh_token: e.string().optional(),
261
- profileData: Ae.optional()
262
- }), Me = e.object({
261
+ profileData: f.optional()
262
+ }), m = e.object({
263
263
  formatted: e.string().optional(),
264
264
  street_address: e.string().optional(),
265
265
  locality: e.string().optional(),
266
266
  region: e.string().optional(),
267
267
  postal_code: e.string().optional(),
268
268
  country: e.string().optional()
269
- }).optional(), u = e.object({
269
+ }).optional(), h = e.object({
270
270
  email: e.string().transform((e) => e.toLowerCase()).optional(),
271
271
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
272
272
  phone_number: e.string().optional(),
@@ -289,8 +289,8 @@ var t = e.object({
289
289
  gender: e.string().optional(),
290
290
  birthdate: e.string().optional(),
291
291
  zoneinfo: e.string().optional(),
292
- address: Me
293
- }), Ne = u.extend({
292
+ address: m
293
+ }), g = h.extend({
294
294
  email_verified: e.boolean().default(!1),
295
295
  verify_email: e.boolean().optional(),
296
296
  last_ip: e.string().optional(),
@@ -305,29 +305,29 @@ var t = e.object({
305
305
  hash: e.string(),
306
306
  algorithm: e.string()
307
307
  }).optional()
308
- }), Pe = Ne.omit({ password: !0 }).extend(t.shape).extend({
308
+ }), _ = g.omit({ password: !0 }).extend(t.shape).extend({
309
309
  user_id: e.string(),
310
310
  provider: e.string(),
311
311
  is_social: e.boolean(),
312
312
  email: e.string().optional(),
313
313
  login_count: e.number().default(0),
314
- identities: e.array(je).optional()
315
- }), Fe = Pe.omit({ registration_completed_at: !0 }), Ie = u.extend({
314
+ identities: e.array(p).optional()
315
+ }), Oe = _.omit({ registration_completed_at: !0 }), ke = h.extend({
316
316
  login_count: e.number(),
317
317
  multifactor: e.array(e.string()).optional(),
318
318
  last_ip: e.string().optional(),
319
319
  last_login: e.string().optional(),
320
320
  user_id: e.string()
321
- }).catchall(e.any()), Le = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Re = (e = 21) => {
321
+ }).catchall(e.any()), Ae = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", je = (e = 21) => {
322
322
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
323
- for (; e--;) t += Le[n[e] & 63];
323
+ for (; e--;) t += Ae[n[e] & 63];
324
324
  return t;
325
- }, ze = e.object({
325
+ }, v = e.object({
326
326
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
327
327
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
328
328
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
329
329
  global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
330
- client_secret: e.string().default(() => Re()).optional().openapi({ description: "Client secret (which you must not make public)." }),
330
+ client_secret: e.string().default(() => je()).optional().openapi({ description: "Client secret (which you must not make public)." }),
331
331
  app_type: e.enum([
332
332
  "native",
333
333
  "spa",
@@ -440,10 +440,10 @@ var t = e.object({
440
440
  ]).optional().openapi({ description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token." }),
441
441
  registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability." }),
442
442
  user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({ description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies." })
443
- }), Be = e.object({
443
+ }), Me = e.object({
444
444
  created_at: e.string(),
445
445
  updated_at: e.string()
446
- }).extend(ze.shape).extend({ client_id: e.string() }), Ve = e.object({
446
+ }).extend(v.shape).extend({ client_id: e.string() }), y = e.object({
447
447
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
448
448
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
449
449
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -456,38 +456,38 @@ var t = e.object({
456
456
  is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
457
457
  subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
458
458
  authorization_details_types: e.array(e.string()).optional().openapi({ description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." })
459
- }), He = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(Ve.shape).extend({
459
+ }), b = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(y.shape).extend({
460
460
  created_at: e.string().optional(),
461
461
  updated_at: e.string().optional()
462
- }), Ue = e.array(He), d = e.enum(["iat", "rat"]), f = e.object({
462
+ }), Ne = e.array(b), x = e.enum(["iat", "rat"]), S = e.object({
463
463
  id: e.string(),
464
464
  token_hash: e.string(),
465
- type: d,
465
+ type: x,
466
466
  client_id: e.string().optional(),
467
467
  sub: e.string().optional(),
468
468
  constraints: e.record(e.string(), e.unknown()).optional(),
469
469
  single_use: e.boolean().default(!1),
470
470
  expires_at: e.string().optional()
471
- }), We = e.object({
471
+ }), Pe = e.object({
472
472
  created_at: e.string(),
473
473
  used_at: e.string().optional(),
474
474
  revoked_at: e.string().optional()
475
- }).extend(f.shape), p = e.object({
475
+ }).extend(S.shape), C = e.object({
476
476
  x: e.number(),
477
477
  y: e.number()
478
- }), m = /* @__PURE__ */ function(e) {
478
+ }), w = /* @__PURE__ */ function(e) {
479
479
  return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
480
- }({}), h = /* @__PURE__ */ function(e) {
480
+ }({}), T = /* @__PURE__ */ function(e) {
481
481
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
482
- }({}), g = e.object({
482
+ }({}), E = e.object({
483
483
  id: e.string(),
484
- category: e.nativeEnum(h),
485
- type: e.nativeEnum(m)
486
- }), _ = g.extend({
484
+ category: e.nativeEnum(T),
485
+ type: e.nativeEnum(w)
486
+ }), Fe = E.extend({
487
487
  category: e.literal("BLOCK"),
488
488
  type: e.literal("RICH_TEXT"),
489
489
  config: e.object({ content: e.string() }).passthrough()
490
- }), v = g.extend({
490
+ }), Ie = E.extend({
491
491
  category: e.literal("BLOCK"),
492
492
  type: e.union([
493
493
  e.literal("NEXT_BUTTON"),
@@ -495,13 +495,13 @@ var t = e.object({
495
495
  e.literal("SUBMIT_BUTTON")
496
496
  ]),
497
497
  config: e.object({ text: e.string() }).passthrough()
498
- }), y = g.extend({
498
+ }), Le = E.extend({
499
499
  category: e.literal("FIELD"),
500
500
  type: e.literal("LEGAL"),
501
501
  required: e.boolean().optional(),
502
502
  sensitive: e.boolean().optional(),
503
503
  config: e.object({ text: e.string() }).passthrough()
504
- }), b = g.extend({
504
+ }), Re = E.extend({
505
505
  category: e.literal("FIELD"),
506
506
  type: e.union([
507
507
  e.literal("TEXT"),
@@ -521,40 +521,40 @@ var t = e.object({
521
521
  label: e.string().optional(),
522
522
  placeholder: e.string().optional()
523
523
  }).passthrough()
524
- }), x = e.object({
524
+ }), ze = e.object({
525
525
  id: e.string(),
526
526
  category: e.string(),
527
527
  type: e.string()
528
- }).passthrough(), S = e.union([
529
- _,
530
- v,
531
- y,
532
- b,
533
- x
534
- ]), Ge = /* @__PURE__ */ function(e) {
528
+ }).passthrough(), Be = e.union([
529
+ Fe,
530
+ Ie,
531
+ Le,
532
+ Re,
533
+ ze
534
+ ]), Ve = /* @__PURE__ */ function(e) {
535
535
  return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
536
- }({}), C = e.object({
536
+ }({}), He = e.object({
537
537
  id: e.string(),
538
538
  type: e.literal("STEP"),
539
- coordinates: p,
539
+ coordinates: C,
540
540
  alias: e.string().optional(),
541
541
  config: e.object({
542
- components: e.array(S),
542
+ components: e.array(Be),
543
543
  next_node: e.string()
544
544
  }).passthrough()
545
- }), w = e.object({
545
+ }), Ue = e.object({
546
546
  id: e.string(),
547
547
  type: e.literal("FLOW"),
548
- coordinates: p,
548
+ coordinates: C,
549
549
  alias: e.string().optional(),
550
550
  config: e.object({
551
551
  flow_id: e.string(),
552
552
  next_node: e.string()
553
553
  })
554
- }), T = e.object({
554
+ }), We = e.object({
555
555
  id: e.string(),
556
556
  type: e.literal("ACTION"),
557
- coordinates: p,
557
+ coordinates: C,
558
558
  alias: e.string().optional(),
559
559
  config: e.object({
560
560
  action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
@@ -566,21 +566,21 @@ var t = e.object({
566
566
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
567
567
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
568
568
  }).passthrough()
569
- }), E = e.object({
569
+ }), Ge = e.object({
570
570
  id: e.string(),
571
571
  type: e.string(),
572
- coordinates: p
572
+ coordinates: C
573
573
  }).passthrough(), Ke = e.union([
574
- C,
575
- w,
576
- T,
577
- E
574
+ He,
575
+ Ue,
576
+ We,
577
+ Ge
578
578
  ]), qe = e.object({
579
579
  next_node: e.string(),
580
- coordinates: p
580
+ coordinates: C
581
581
  }).passthrough(), Je = e.object({
582
582
  resume_flow: e.boolean().optional(),
583
- coordinates: p
583
+ coordinates: C
584
584
  }).passthrough(), Ye = e.object({
585
585
  id: e.string(),
586
586
  name: e.string(),
@@ -1859,7 +1859,7 @@ var Bn = e.object({
1859
1859
  longitude: e.string(),
1860
1860
  time_zone: e.string(),
1861
1861
  continent_code: e.string()
1862
- }), K = e.object({
1862
+ }), Hn = e.object({
1863
1863
  type: Fn,
1864
1864
  date: e.string(),
1865
1865
  description: e.string().optional(),
@@ -1881,55 +1881,55 @@ var Bn = e.object({
1881
1881
  auth0_client: Bn.optional(),
1882
1882
  log_id: e.string().optional(),
1883
1883
  location_info: Vn.optional()
1884
- }), Hn = K.extend({ log_id: e.string() }), Un = e.enum([
1884
+ }), Un = Hn.extend({ log_id: e.string() }), Wn = e.enum([
1885
1885
  "http",
1886
1886
  "eventbridge",
1887
1887
  "eventgrid",
1888
1888
  "splunk",
1889
1889
  "datadog",
1890
1890
  "sumo"
1891
- ]), q = e.enum([
1891
+ ]), K = e.enum([
1892
1892
  "active",
1893
1893
  "paused",
1894
1894
  "suspended"
1895
- ]), Wn = e.object({
1895
+ ]), Gn = e.object({
1896
1896
  type: e.string(),
1897
1897
  name: e.string()
1898
- }), Gn = e.object({
1898
+ }), Kn = e.object({
1899
1899
  name: e.string(),
1900
- type: Un,
1901
- status: q.optional(),
1900
+ type: Wn,
1901
+ status: K.optional(),
1902
1902
  sink: e.record(e.string(), e.unknown()),
1903
- filters: e.array(Wn).optional(),
1903
+ filters: e.array(Gn).optional(),
1904
1904
  isPriority: e.boolean().optional()
1905
- }), Kn = Gn.extend({
1905
+ }), qn = Kn.extend({
1906
1906
  id: e.string(),
1907
- status: q,
1907
+ status: K,
1908
1908
  created_at: e.string().optional(),
1909
1909
  updated_at: e.string().optional()
1910
- }), qn = e.enum([
1910
+ }), Jn = e.enum([
1911
1911
  "auth0",
1912
1912
  "cognito",
1913
1913
  "okta",
1914
1914
  "oidc"
1915
- ]), Jn = e.object({
1915
+ ]), Yn = e.object({
1916
1916
  domain: e.string(),
1917
1917
  client_id: e.string(),
1918
1918
  client_secret: e.string(),
1919
1919
  audience: e.string().optional(),
1920
1920
  scope: e.string().optional()
1921
- }), Yn = e.object({
1921
+ }), Xn = e.object({
1922
1922
  id: e.string().optional(),
1923
1923
  name: e.string(),
1924
- provider: qn,
1924
+ provider: Jn,
1925
1925
  connection: e.string(),
1926
1926
  enabled: e.boolean().default(!0),
1927
- credentials: Jn
1928
- }), Xn = e.object({
1927
+ credentials: Yn
1928
+ }), Zn = e.object({
1929
1929
  id: e.string(),
1930
1930
  created_at: e.string(),
1931
1931
  updated_at: e.string()
1932
- }).extend(Yn.shape), Zn = e.object({
1932
+ }).extend(Xn.shape), Qn = e.object({
1933
1933
  enabled: e.boolean().optional(),
1934
1934
  shields: e.array(e.string()).optional(),
1935
1935
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -1938,13 +1938,13 @@ var Bn = e.object({
1938
1938
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
1939
1939
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
1940
1940
  }).optional()
1941
- }), Qn = e.object({
1941
+ }), $n = e.object({
1942
1942
  enabled: e.boolean().optional(),
1943
1943
  shields: e.array(e.string()).optional(),
1944
1944
  allowlist: e.array(e.string()).optional(),
1945
1945
  mode: e.string().optional(),
1946
1946
  max_attempts: e.number().optional()
1947
- }), $n = e.object({
1947
+ }), er = e.object({
1948
1948
  enabled: e.boolean().optional(),
1949
1949
  shields: e.array(e.string()).optional(),
1950
1950
  allowlist: e.array(e.string()).optional(),
@@ -1958,28 +1958,28 @@ var Bn = e.object({
1958
1958
  rate: e.number().optional()
1959
1959
  }).optional()
1960
1960
  }).optional()
1961
- }), er = e.object({
1962
- breached_password_detection: Zn.optional(),
1963
- brute_force_protection: Qn.optional(),
1964
- suspicious_ip_throttling: $n.optional()
1965
1961
  }), tr = e.object({
1962
+ breached_password_detection: Qn.optional(),
1963
+ brute_force_protection: $n.optional(),
1964
+ suspicious_ip_throttling: er.optional()
1965
+ }), nr = e.object({
1966
1966
  id: e.string().optional(),
1967
1967
  user_id: e.string(),
1968
1968
  password: e.string(),
1969
1969
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
1970
1970
  is_current: e.boolean().default(!0)
1971
- }), nr = tr.extend({
1971
+ }), rr = nr.extend({
1972
1972
  id: e.string(),
1973
1973
  created_at: e.string(),
1974
1974
  updated_at: e.string()
1975
- }), rr = e.object({
1975
+ }), ir = e.object({
1976
1976
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
1977
1977
  initial_ip: e.string().describe("First IP address associated with this session"),
1978
1978
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
1979
1979
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1980
1980
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1981
1981
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1982
- }), ir = e.object({
1982
+ }), ar = e.object({
1983
1983
  id: e.string(),
1984
1984
  revoked_at: e.string().optional(),
1985
1985
  used_at: e.string().optional(),
@@ -1987,14 +1987,14 @@ var Bn = e.object({
1987
1987
  expires_at: e.string().optional(),
1988
1988
  login_session_id: e.string(),
1989
1989
  idle_expires_at: e.string().optional(),
1990
- device: rr.describe("Metadata related to the device used in the session"),
1990
+ device: ir.describe("Metadata related to the device used in the session"),
1991
1991
  clients: e.array(e.string()).describe("List of client details for the session")
1992
- }), ar = e.object({
1992
+ }), or = e.object({
1993
1993
  created_at: e.string(),
1994
1994
  updated_at: e.string(),
1995
1995
  authenticated_at: e.string(),
1996
1996
  last_interaction_at: e.string()
1997
- }).extend(ir.shape), or = e.object({
1997
+ }).extend(ar.shape), sr = e.object({
1998
1998
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1999
1999
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
2000
2000
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -2010,7 +2010,7 @@ var Bn = e.object({
2010
2010
  revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
2011
2011
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
2012
2012
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
2013
- }), sr = e.object({
2013
+ }), cr = e.object({
2014
2014
  id: e.string().optional(),
2015
2015
  audience: e.string().optional(),
2016
2016
  friendly_name: e.string(),
@@ -2128,7 +2128,7 @@ var Bn = e.object({
2128
2128
  "shared_planetscale"
2129
2129
  ]).optional(),
2130
2130
  d1_database_id: e.string().max(64).optional(),
2131
- attack_protection: er.optional(),
2131
+ attack_protection: tr.optional(),
2132
2132
  mfa: e.object({
2133
2133
  policy: e.enum(["never", "always"]).default("never").optional(),
2134
2134
  factors: e.object({
@@ -2155,42 +2155,42 @@ var Bn = e.object({
2155
2155
  }).optional(),
2156
2156
  phone_message: e.object({ message: e.string().optional() }).optional()
2157
2157
  }).optional()
2158
- }), cr = e.object({
2158
+ }), lr = e.object({
2159
2159
  created_at: e.string().nullable().transform((e) => e ?? ""),
2160
2160
  updated_at: e.string().nullable().transform((e) => e ?? "")
2161
- }).extend(sr.shape).extend({
2161
+ }).extend(cr.shape).extend({
2162
2162
  id: e.string(),
2163
2163
  is_control_plane: e.boolean().optional()
2164
- }), lr = e.enum([
2164
+ }), ur = e.enum([
2165
2165
  "provision",
2166
2166
  "seed",
2167
2167
  "upgrade",
2168
2168
  "backup",
2169
2169
  "deprovision"
2170
- ]), ur = e.enum([
2170
+ ]), dr = e.enum([
2171
2171
  "pending",
2172
2172
  "running",
2173
2173
  "succeeded",
2174
2174
  "failed",
2175
2175
  "cancelled"
2176
- ]), dr = e.enum(["inline", "cloudflare-workflows"]), fr = e.object({
2176
+ ]), fr = e.enum(["inline", "cloudflare-workflows"]), pr = e.object({
2177
2177
  tenant_id: e.string().max(255).nullable().default(null),
2178
2178
  rollout_id: e.string().max(255).nullable().optional(),
2179
- kind: lr,
2180
- engine: dr,
2179
+ kind: ur,
2180
+ engine: fr,
2181
2181
  engine_instance_id: e.string().max(100).nullable().optional(),
2182
2182
  target_worker_version: e.string().max(255).nullable().optional(),
2183
2183
  target_database_version: e.string().max(255).nullable().optional(),
2184
2184
  initiated_by: e.string().max(255).nullable().optional()
2185
- }), pr = fr.extend({
2185
+ }), mr = pr.extend({
2186
2186
  id: e.string(),
2187
- status: ur,
2187
+ status: dr,
2188
2188
  current_step: e.string().max(255).nullable().optional(),
2189
2189
  error: e.string().nullable().optional(),
2190
2190
  created_at: e.string(),
2191
2191
  updated_at: e.string(),
2192
2192
  finished_at: e.string().nullable().optional()
2193
- }), mr = pr.pick({
2193
+ }), hr = mr.pick({
2194
2194
  status: !0,
2195
2195
  current_step: !0,
2196
2196
  engine_instance_id: !0,
@@ -2198,56 +2198,56 @@ var Bn = e.object({
2198
2198
  target_database_version: !0,
2199
2199
  error: !0,
2200
2200
  finished_at: !0
2201
- }).partial(), hr = e.enum([
2201
+ }).partial(), gr = e.enum([
2202
2202
  "started",
2203
2203
  "succeeded",
2204
2204
  "failed",
2205
2205
  "retried",
2206
2206
  "skipped",
2207
2207
  "reconciled"
2208
- ]), gr = e.object({
2208
+ ]), _r = e.object({
2209
2209
  operation_id: e.string().max(255),
2210
2210
  step: e.string().max(255),
2211
- outcome: hr,
2211
+ outcome: gr,
2212
2212
  detail: e.record(e.string(), e.unknown()).nullable().optional(),
2213
2213
  attempt: e.number().int().min(1).default(1)
2214
- }), _r = gr.extend({
2214
+ }), vr = _r.extend({
2215
2215
  id: e.string(),
2216
2216
  created_at: e.string()
2217
- }), vr = e.enum([
2217
+ }), yr = e.enum([
2218
2218
  "upgrade",
2219
2219
  "reseed",
2220
2220
  "backup"
2221
- ]), yr = e.enum([
2221
+ ]), br = e.enum([
2222
2222
  "pending",
2223
2223
  "canary",
2224
2224
  "rolling",
2225
2225
  "paused",
2226
2226
  "done",
2227
2227
  "failed"
2228
- ]), br = e.object({
2229
- kind: vr,
2228
+ ]), xr = e.object({
2229
+ kind: yr,
2230
2230
  target_worker_version: e.string().max(255).nullable().optional(),
2231
2231
  target_database_version: e.string().max(255).nullable().optional(),
2232
2232
  wave_size: e.number().int().min(1).default(10),
2233
2233
  canary_tenant_ids: e.array(e.string()).nullable().optional(),
2234
2234
  filter: e.record(e.string(), e.unknown()).nullable().optional(),
2235
2235
  initiated_by: e.string().max(255).nullable().optional()
2236
- }), xr = br.extend({
2236
+ }), Sr = xr.extend({
2237
2237
  id: e.string(),
2238
- status: yr,
2238
+ status: br,
2239
2239
  created_at: e.string(),
2240
2240
  updated_at: e.string(),
2241
2241
  finished_at: e.string().nullable().optional()
2242
- }), Sr = xr.pick({
2242
+ }), Cr = Sr.pick({
2243
2243
  status: !0,
2244
2244
  wave_size: !0,
2245
2245
  canary_tenant_ids: !0,
2246
2246
  filter: !0,
2247
2247
  finished_at: !0
2248
- }).partial(), Cr = /* @__PURE__ */ function(e) {
2248
+ }).partial(), wr = /* @__PURE__ */ function(e) {
2249
2249
  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;
2250
- }({}), wr = e.object({
2250
+ }({}), Tr = e.object({
2251
2251
  access_token: e.string(),
2252
2252
  id_token: e.string().optional(),
2253
2253
  scope: e.string().optional(),
@@ -2262,7 +2262,7 @@ e.object({
2262
2262
  });
2263
2263
  //#endregion
2264
2264
  //#region src/types/Theme.ts
2265
- var Tr = e.object({
2265
+ var Er = e.object({
2266
2266
  button_border_radius: e.number(),
2267
2267
  button_border_weight: e.number(),
2268
2268
  buttons_style: e.enum([
@@ -2280,7 +2280,7 @@ var Tr = e.object({
2280
2280
  show_widget_shadow: e.boolean(),
2281
2281
  widget_border_weight: e.number(),
2282
2282
  widget_corner_radius: e.number()
2283
- }), Er = e.object({
2283
+ }), Dr = e.object({
2284
2284
  base_focus_color: e.string(),
2285
2285
  base_hover_color: e.string(),
2286
2286
  body_text: e.string(),
@@ -2304,20 +2304,20 @@ var Tr = e.object({
2304
2304
  success: e.string(),
2305
2305
  widget_background: e.string(),
2306
2306
  widget_border: e.string()
2307
- }), J = e.object({
2307
+ }), q = e.object({
2308
2308
  bold: e.boolean(),
2309
2309
  size: e.number()
2310
- }), Dr = e.object({
2311
- body_text: J,
2312
- buttons_text: J,
2310
+ }), Or = e.object({
2311
+ body_text: q,
2312
+ buttons_text: q,
2313
2313
  font_url: e.string(),
2314
- input_labels: J,
2315
- links: J,
2314
+ input_labels: q,
2315
+ links: q,
2316
2316
  links_style: e.enum(["normal", "underlined"]),
2317
2317
  reference_text_size: e.number(),
2318
- subtitle: J,
2319
- title: J
2320
- }), Or = e.object({
2318
+ subtitle: q,
2319
+ title: q
2320
+ }), kr = e.object({
2321
2321
  background_color: e.string(),
2322
2322
  background_image_url: e.string(),
2323
2323
  page_layout: e.enum([
@@ -2330,7 +2330,7 @@ var Tr = e.object({
2330
2330
  "chip",
2331
2331
  "none"
2332
2332
  ]).optional()
2333
- }), kr = e.object({
2333
+ }), Ar = e.object({
2334
2334
  header_text_alignment: e.enum([
2335
2335
  "center",
2336
2336
  "left",
@@ -2345,72 +2345,72 @@ var Tr = e.object({
2345
2345
  ]),
2346
2346
  logo_url: e.string(),
2347
2347
  social_buttons_layout: e.enum(["bottom", "top"])
2348
- }), Ar = e.object({
2349
- borders: Tr,
2350
- colors: Er,
2348
+ }), jr = e.object({
2349
+ borders: Er,
2350
+ colors: Dr,
2351
2351
  displayName: e.string(),
2352
- fonts: Dr,
2353
- page_background: Or,
2354
- widget: kr
2355
- }), jr = Ar.extend({ themeId: e.string() }), Mr = e.object({
2352
+ fonts: Or,
2353
+ page_background: kr,
2354
+ widget: Ar
2355
+ }), Mr = jr.extend({ themeId: e.string() }), Nr = e.object({
2356
2356
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
2357
2357
  identifier_first: e.boolean().default(!0),
2358
2358
  password_first: e.boolean().default(!1),
2359
2359
  show_last_used_connection: e.boolean().default(!1),
2360
2360
  webauthn_platform_first_factor: e.boolean()
2361
- }), Nr = e.object({
2361
+ }), Pr = e.object({
2362
2362
  hosts: e.array(e.string()).optional(),
2363
2363
  methods: e.array(e.string()).optional(),
2364
2364
  path: e.string().default("/*"),
2365
2365
  headers: e.record(e.string(), e.string()).optional(),
2366
2366
  query: e.record(e.string(), e.string()).optional()
2367
- }), Pr = e.object({
2367
+ }), Fr = e.object({
2368
2368
  type: e.string(),
2369
2369
  options: e.record(e.string(), e.unknown()).default({})
2370
- }), Y = e.object({
2370
+ }), J = e.object({
2371
2371
  id: e.string().optional(),
2372
2372
  custom_domain_id: e.string(),
2373
2373
  priority: e.number().int().default(100),
2374
- match: Nr,
2375
- handlers: e.array(Pr).min(1)
2376
- }), Fr = Y.extend({
2374
+ match: Pr,
2375
+ handlers: e.array(Fr).min(1)
2376
+ }), Ir = J.extend({
2377
2377
  id: e.string(),
2378
2378
  tenant_id: e.string(),
2379
2379
  created_at: e.string(),
2380
2380
  updated_at: e.string()
2381
- }), Ir = Y.partial().omit({
2381
+ }), Lr = J.partial().omit({
2382
2382
  id: !0,
2383
2383
  custom_domain_id: !0
2384
- }), Lr = e.object({
2384
+ }), Rr = e.object({
2385
2385
  scim: e.string(),
2386
2386
  auth0: e.string()
2387
- }), Rr = e.object({
2387
+ }), zr = e.object({
2388
2388
  connection_id: e.string(),
2389
2389
  user_id_attribute: e.string().default("externalId"),
2390
- mapping: e.array(Lr).default([])
2391
- }), zr = e.object({
2390
+ mapping: e.array(Rr).default([])
2391
+ }), Br = e.object({
2392
2392
  created_at: e.string(),
2393
2393
  updated_at: e.string()
2394
- }).extend(Rr.shape), Br = e.object({
2394
+ }).extend(zr.shape), Vr = e.object({
2395
2395
  token_id: e.string(),
2396
2396
  connection_id: e.string(),
2397
2397
  token_hash: e.string(),
2398
2398
  scopes: e.array(e.string()).default([]),
2399
2399
  valid_until: e.string().optional()
2400
- }), Vr = e.object({
2400
+ }), Hr = e.object({
2401
2401
  created_at: e.string(),
2402
2402
  last_used_at: e.string().optional()
2403
- }).extend(Br.shape), Hr = e.object({
2403
+ }).extend(Vr.shape), Ur = e.object({
2404
2404
  connection_id: e.string(),
2405
2405
  external_id: e.string(),
2406
2406
  user_id: e.string()
2407
- }), Ur = e.object({ created_at: e.string() }).extend(Hr.shape), Wr = e.object({
2407
+ }), Wr = e.object({ created_at: e.string() }).extend(Ur.shape), Gr = e.object({
2408
2408
  name: e.string(),
2409
2409
  enabled: e.boolean().optional().default(!0),
2410
2410
  default_from_address: e.string().optional(),
2411
2411
  credentials: e.record(e.string(), e.unknown()),
2412
2412
  settings: e.object({}).optional()
2413
- }), Gr = e.enum([
2413
+ }), Kr = e.enum([
2414
2414
  "verify_email",
2415
2415
  "verify_email_by_code",
2416
2416
  "reset_email",
@@ -2423,8 +2423,8 @@ var Tr = e.object({
2423
2423
  "change_password",
2424
2424
  "password_reset",
2425
2425
  "user_invitation"
2426
- ]), Kr = e.object({
2427
- template: Gr,
2426
+ ]), qr = e.object({
2427
+ template: Kr,
2428
2428
  body: e.string(),
2429
2429
  from: e.string(),
2430
2430
  subject: e.string(),
@@ -2433,7 +2433,7 @@ var Tr = e.object({
2433
2433
  urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
2434
2434
  includeEmailInRedirect: e.boolean().default(!1),
2435
2435
  enabled: e.boolean().default(!0)
2436
- }), qr = e.object({
2436
+ }), Jr = e.object({
2437
2437
  id: e.string(),
2438
2438
  login_id: e.string(),
2439
2439
  user_id: e.string(),
@@ -2441,7 +2441,7 @@ var Tr = e.object({
2441
2441
  expires_at: e.string().optional(),
2442
2442
  idle_expires_at: e.string().optional(),
2443
2443
  last_exchanged_at: e.string().optional(),
2444
- device: rr,
2444
+ device: ir,
2445
2445
  resource_servers: e.array(e.object({
2446
2446
  audience: e.string(),
2447
2447
  scopes: e.string()
@@ -2452,19 +2452,19 @@ var Tr = e.object({
2452
2452
  family_id: e.string().optional(),
2453
2453
  rotated_to: e.string().optional(),
2454
2454
  rotated_at: e.string().optional()
2455
- }), Jr = qr.extend({
2455
+ }), Yr = Jr.extend({
2456
2456
  created_at: e.string(),
2457
2457
  revoked_at: e.string().optional()
2458
- }), Yr = e.object({
2458
+ }), Xr = e.object({
2459
2459
  to: e.string(),
2460
2460
  message: e.string()
2461
- }), Xr = e.object({
2461
+ }), Zr = e.object({
2462
2462
  name: e.string(),
2463
2463
  options: e.object({})
2464
- }), Zr = e.object({
2464
+ }), Qr = e.object({
2465
2465
  value: e.string(),
2466
2466
  description: e.string().optional()
2467
- }), Qr = e.object({
2467
+ }), $r = e.object({
2468
2468
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
2469
2469
  enforce_policies: e.boolean().optional(),
2470
2470
  allow_skipping_userinfo: e.boolean().optional(),
@@ -2472,11 +2472,11 @@ var Tr = e.object({
2472
2472
  persist_client_authorization: e.boolean().optional(),
2473
2473
  enable_introspection_endpoint: e.boolean().optional(),
2474
2474
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
2475
- }), $r = e.object({
2475
+ }), ei = e.object({
2476
2476
  id: e.string().optional(),
2477
2477
  name: e.string(),
2478
2478
  identifier: e.string(),
2479
- scopes: e.array(Zr).optional(),
2479
+ scopes: e.array(Qr).optional(),
2480
2480
  signing_alg: e.string().optional(),
2481
2481
  signing_secret: e.string().optional(),
2482
2482
  token_lifetime: e.number().default(86400),
@@ -2484,37 +2484,37 @@ var Tr = e.object({
2484
2484
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
2485
2485
  allow_offline_access: e.boolean().optional(),
2486
2486
  verificationKey: e.string().optional(),
2487
- options: Qr.optional(),
2487
+ options: $r.optional(),
2488
2488
  is_system: e.boolean().optional(),
2489
2489
  metadata: e.record(e.string(), e.any()).optional()
2490
- }), ei = $r.extend({
2490
+ }), ti = ei.extend({
2491
2491
  created_at: e.string().optional(),
2492
2492
  updated_at: e.string().optional()
2493
- }), ti = e.array(ei), ni = e.object({
2493
+ }), ni = e.array(ti), ri = e.object({
2494
2494
  role_id: e.string(),
2495
2495
  resource_server_identifier: e.string(),
2496
2496
  permission_name: e.string()
2497
- }), ri = ni.extend({ created_at: e.string() }), ii = e.array(ri), ai = e.object({
2497
+ }), ii = ri.extend({ created_at: e.string() }), ai = e.array(ii), oi = e.object({
2498
2498
  user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
2499
2499
  clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
2500
2500
  audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
2501
2501
  scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
2502
- }), oi = ai.extend({ id: e.string() }), si = e.object({
2502
+ }), si = oi.extend({ id: e.string() }), ci = e.object({
2503
2503
  user_id: e.string(),
2504
2504
  last_login: e.string().optional(),
2505
2505
  last_ip: e.string().optional(),
2506
2506
  login_count: e.number().default(0),
2507
2507
  failed_logins: e.array(e.string()).optional(),
2508
2508
  last_password_reset: e.string().optional()
2509
- }), ci = e.object({
2509
+ }), li = e.object({
2510
2510
  user_id: e.string(),
2511
2511
  resource_server_identifier: e.string(),
2512
2512
  permission_name: e.string(),
2513
2513
  organization_id: e.string().optional()
2514
- }), li = ci.extend({
2514
+ }), ui = li.extend({
2515
2515
  tenant_id: e.string(),
2516
2516
  created_at: e.string().optional()
2517
- }), ui = e.array(li), di = e.object({
2517
+ }), di = e.array(ui), fi = e.object({
2518
2518
  user_id: e.string(),
2519
2519
  resource_server_identifier: e.string(),
2520
2520
  resource_server_name: e.string(),
@@ -2522,65 +2522,65 @@ var Tr = e.object({
2522
2522
  description: e.string().nullable().optional(),
2523
2523
  created_at: e.string().optional(),
2524
2524
  organization_id: e.string().optional()
2525
- }), fi = e.array(di), pi = e.object({
2525
+ }), pi = e.array(fi), mi = e.object({
2526
2526
  user_id: e.string(),
2527
2527
  role_id: e.string(),
2528
2528
  organization_id: e.string().optional()
2529
- }), mi = pi.extend({
2529
+ }), hi = mi.extend({
2530
2530
  tenant_id: e.string(),
2531
2531
  created_at: e.string().optional()
2532
- }), hi = e.array(mi), gi = e.object({
2532
+ }), gi = e.array(hi), _i = e.object({
2533
2533
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
2534
2534
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
2535
2535
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
2536
2536
  is_system: e.boolean().optional(),
2537
2537
  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." })
2538
- }), _i = gi.extend({
2538
+ }), vi = _i.extend({
2539
2539
  id: e.string().openapi({ description: "The unique identifier of the role" }),
2540
2540
  created_at: e.string().optional(),
2541
2541
  updated_at: e.string().optional()
2542
- }), vi = e.array(_i), yi = e.object({
2542
+ }), yi = e.array(vi), bi = e.object({
2543
2543
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
2544
2544
  colors: e.object({
2545
2545
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
2546
2546
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
2547
2547
  }).optional()
2548
- }).optional(), bi = e.object({
2548
+ }).optional(), xi = e.object({
2549
2549
  connection_id: e.string().openapi({ description: "ID of the connection" }),
2550
2550
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
2551
2551
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
2552
2552
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
2553
- }), xi = e.object({ client_credentials: e.object({
2553
+ }), Si = e.object({ client_credentials: e.object({
2554
2554
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
2555
2555
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
2556
2556
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
2557
- }).optional() }).optional(), Si = e.object({
2557
+ }).optional() }).optional(), Ci = e.object({
2558
2558
  id: e.string().optional(),
2559
2559
  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." }),
2560
2560
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
2561
- branding: yi,
2561
+ branding: bi,
2562
2562
  metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
2563
- enabled_connections: e.array(bi).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2564
- token_quota: xi
2565
- }), Ci = Si.extend(t.shape).extend({
2563
+ enabled_connections: e.array(xi).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
2564
+ token_quota: Si
2565
+ }), wi = Ci.extend(t.shape).extend({
2566
2566
  id: e.string(),
2567
2567
  name: e.string().min(1).openapi({ description: "The name of the organization" })
2568
- }), wi = e.object({
2568
+ }), Ti = e.object({
2569
2569
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
2570
2570
  assign_membership_on_login: e.boolean().optional().default(!1),
2571
2571
  show_as_button: e.boolean().optional().default(!0),
2572
2572
  is_signup_enabled: e.boolean().optional().default(!0)
2573
- }), Ti = wi.extend({
2573
+ }), Ei = Ti.extend({
2574
2574
  connection: e.object({
2575
2575
  name: e.string().optional(),
2576
2576
  strategy: e.string().optional()
2577
2577
  }).optional(),
2578
2578
  created_at: e.string().optional(),
2579
2579
  updated_at: e.string().optional()
2580
- }), Ei = e.array(Ti), Di = e.object({
2580
+ }), Di = e.array(Ei), Oi = e.object({
2581
2581
  user_id: e.string().openapi({ description: "ID of the user" }),
2582
2582
  organization_id: e.string().openapi({ description: "ID of the organization" })
2583
- }), Oi = Di.extend(t.shape).extend({ id: e.string() }), ki = e.object({
2583
+ }), ki = Oi.extend(t.shape).extend({ id: e.string() }), Ai = e.object({
2584
2584
  idle_session_lifetime: e.number().default(72),
2585
2585
  session_lifetime: e.number().default(168),
2586
2586
  session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
@@ -2659,7 +2659,7 @@ var Tr = e.object({
2659
2659
  }).optional(),
2660
2660
  phone_message: e.object({ message: e.string().optional() }).optional()
2661
2661
  }).optional()
2662
- }), Ai = e.object({
2662
+ }), ji = e.object({
2663
2663
  date: e.string().openapi({
2664
2664
  description: "Date these events occurred in ISO 8601 format",
2665
2665
  example: "2025-12-19"
@@ -2684,10 +2684,10 @@ var Tr = e.object({
2684
2684
  description: "Approximate date and time the first event occurred in ISO 8601 format",
2685
2685
  example: "2025-12-19T00:00:00.000Z"
2686
2686
  })
2687
- }), ji = e.number().openapi({
2687
+ }), Mi = e.number().openapi({
2688
2688
  description: "Number of active users in the last 30 days",
2689
2689
  example: 1234
2690
- }), Mi = e.enum([
2690
+ }), Ni = e.enum([
2691
2691
  "active-users",
2692
2692
  "logins",
2693
2693
  "signups",
@@ -2699,55 +2699,64 @@ var Tr = e.object({
2699
2699
  "mfa",
2700
2700
  "email-verifications",
2701
2701
  "codes-sent"
2702
- ]), Ni = e.enum([
2702
+ ]), Pi = e.enum([
2703
2703
  "hour",
2704
2704
  "day",
2705
2705
  "week",
2706
2706
  "month"
2707
- ]), Pi = e.enum([
2707
+ ]), Fi = e.enum([
2708
2708
  "time",
2709
2709
  "connection",
2710
2710
  "client_id",
2711
2711
  "user_type",
2712
2712
  "event"
2713
- ]), Fi = e.enum([
2713
+ ]), Ii = e.enum([
2714
2714
  "password",
2715
2715
  "social",
2716
2716
  "passwordless",
2717
2717
  "enterprise"
2718
- ]), Ii = e.object({
2718
+ ]), Li = e.object({
2719
2719
  cohort: e.string(),
2720
2720
  sessions: e.number(),
2721
2721
  active: e.array(e.number())
2722
- }), Li = e.object({
2722
+ }), Ri = e.object({
2723
2723
  interval: e.literal("week"),
2724
2724
  from: e.string(),
2725
2725
  to: e.string(),
2726
- cohorts: e.array(Ii)
2727
- }), Ri = e.object({
2726
+ cohorts: e.array(Li)
2727
+ }), zi = e.object({
2728
+ cohort: e.string(),
2729
+ tokens: e.number(),
2730
+ active: e.array(e.number())
2731
+ }), Bi = e.object({
2732
+ interval: e.literal("week"),
2733
+ from: e.string(),
2734
+ to: e.string(),
2735
+ cohorts: e.array(zi)
2736
+ }), Vi = e.object({
2728
2737
  name: e.string(),
2729
2738
  type: e.string()
2730
- }), zi = e.object({
2739
+ }), Hi = e.object({
2731
2740
  elapsed: e.number(),
2732
2741
  rows_read: e.number().optional(),
2733
2742
  bytes_read: e.number().optional()
2734
- }), Bi = e.object({
2735
- meta: e.array(Ri),
2743
+ }), Ui = e.object({
2744
+ meta: e.array(Vi),
2736
2745
  data: e.array(e.record(e.string(), e.any())),
2737
2746
  rows: e.number(),
2738
2747
  rows_before_limit_at_least: e.number().optional(),
2739
- statistics: zi.optional()
2740
- }), Vi = 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(".")), Hi = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2748
+ statistics: Hi.optional()
2749
+ }), Wi = 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(".")), Gi = e.record(e.string(), e.record(e.string(), e.string())).openapi({
2741
2750
  type: "object",
2742
2751
  additionalProperties: {
2743
2752
  type: "object",
2744
2753
  additionalProperties: { type: "string" }
2745
2754
  }
2746
- }), Ui = e.object({
2747
- prompt: Vi,
2755
+ }), Ki = e.object({
2756
+ prompt: Wi,
2748
2757
  language: e.string(),
2749
- custom_text: Hi
2750
- }), Wi = {
2758
+ custom_text: Gi
2759
+ }), qi = {
2751
2760
  EMAIL: "email",
2752
2761
  SMS: "sms",
2753
2762
  USERNAME_PASSWORD: "Username-Password-Authentication",
@@ -2763,17 +2772,17 @@ var Tr = e.object({
2763
2772
  WAAD: "waad",
2764
2773
  ADFS: "adfs",
2765
2774
  OKTA: "okta"
2766
- }, Gi = {
2775
+ }, Ji = {
2767
2776
  DATABASE: "database",
2768
2777
  SOCIAL: "social",
2769
2778
  PASSWORDLESS: "passwordless"
2770
- }, Ki = "auth0";
2771
- function qi(e) {
2772
- return e === "auth0" || e === Wi.USERNAME_PASSWORD || e === "auth2";
2779
+ }, Yi = "auth0";
2780
+ function Xi(e) {
2781
+ return e === "auth0" || e === qi.USERNAME_PASSWORD || e === "auth2";
2773
2782
  }
2774
2783
  //#endregion
2775
2784
  //#region src/types/AuthenticationMethod.ts
2776
- var Ji = e.enum([
2785
+ var Zi = e.enum([
2777
2786
  "phone",
2778
2787
  "totp",
2779
2788
  "email",
@@ -2781,9 +2790,9 @@ var Ji = e.enum([
2781
2790
  "webauthn-roaming",
2782
2791
  "webauthn-platform",
2783
2792
  "passkey"
2784
- ]), Yi = e.object({
2793
+ ]), Qi = e.object({
2785
2794
  user_id: e.string(),
2786
- type: Ji,
2795
+ type: Zi,
2787
2796
  phone_number: e.string().optional(),
2788
2797
  totp_secret: e.string().optional(),
2789
2798
  credential_id: e.string().optional(),
@@ -2794,7 +2803,7 @@ var Ji = e.enum([
2794
2803
  friendly_name: e.string().optional(),
2795
2804
  confirmed: e.boolean().default(!1)
2796
2805
  });
2797
- function Xi(t, n) {
2806
+ function $i(t, n) {
2798
2807
  t.type === "phone" && !t.phone_number && n.addIssue({
2799
2808
  code: e.ZodIssueCode.custom,
2800
2809
  message: "phone_number is required when type is 'phone'",
@@ -2817,15 +2826,15 @@ function Xi(t, n) {
2817
2826
  path: ["public_key"]
2818
2827
  }));
2819
2828
  }
2820
- var Zi = Yi.superRefine(Xi), Qi = Yi.extend({
2829
+ var ea = Qi.superRefine($i), ta = Qi.extend({
2821
2830
  id: e.string(),
2822
2831
  created_at: e.string(),
2823
2832
  updated_at: e.string()
2824
- }).superRefine(Xi), $i = e.object({
2833
+ }).superRefine($i), na = e.object({
2825
2834
  id: e.string().optional(),
2826
2835
  created_at: e.string().datetime({ offset: !0 }).optional(),
2827
2836
  updated_at: e.string().datetime({ offset: !0 }).optional()
2828
- }), ea = {
2837
+ }), ra = {
2829
2838
  "post-user-login": {
2830
2839
  accessToken: ["setCustomClaim"],
2831
2840
  idToken: ["setCustomClaim"],
@@ -2847,7 +2856,7 @@ var Zi = Yi.superRefine(Xi), Qi = Yi.extend({
2847
2856
  };
2848
2857
  //#endregion
2849
2858
  //#region src/utils/user-id.ts
2850
- function ta(e) {
2859
+ function ia(e) {
2851
2860
  let [t, n] = e.split("|");
2852
2861
  if (!t || !n) throw Error(`Invalid user_id: ${e}`);
2853
2862
  return {
@@ -2857,7 +2866,7 @@ function ta(e) {
2857
2866
  }
2858
2867
  //#endregion
2859
2868
  //#region src/utils/passthrough.ts
2860
- function na(e) {
2869
+ function aa(e) {
2861
2870
  let { primary: t, secondaries: n, syncMethods: r = [
2862
2871
  "create",
2863
2872
  "rawCreate",
@@ -2891,12 +2900,12 @@ function na(e) {
2891
2900
  } : i.bind(e) : i;
2892
2901
  } });
2893
2902
  }
2894
- function ra(e) {
2903
+ function oa(e) {
2895
2904
  return e;
2896
2905
  }
2897
2906
  //#endregion
2898
2907
  //#region src/utils/connection-attributes.ts
2899
- function ia(e) {
2908
+ function sa(e) {
2900
2909
  let t = e?.options;
2901
2910
  if (!t) return {
2902
2911
  usernameIdentifierActive: !1,
@@ -2919,53 +2928,53 @@ function ia(e) {
2919
2928
  }
2920
2929
  //#endregion
2921
2930
  //#region src/utils/guards.ts
2922
- function aa(e) {
2931
+ function ca(e) {
2923
2932
  return typeof e == "object" && !!e && !Array.isArray(e);
2924
2933
  }
2925
2934
  //#endregion
2926
2935
  //#region src/utils/base64url.ts
2927
- function oa(e) {
2936
+ function la(e) {
2928
2937
  let t = "";
2929
2938
  for (let n of e) t += String.fromCharCode(n);
2930
2939
  return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
2931
2940
  }
2932
- function sa(e) {
2941
+ function ua(e) {
2933
2942
  let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
2934
2943
  for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
2935
2944
  return r;
2936
2945
  }
2937
- function ca(e) {
2938
- return oa(new TextEncoder().encode(e));
2946
+ function da(e) {
2947
+ return la(new TextEncoder().encode(e));
2939
2948
  }
2940
- function la(e) {
2941
- return new TextDecoder().decode(sa(e));
2949
+ function fa(e) {
2950
+ return new TextDecoder().decode(ua(e));
2942
2951
  }
2943
2952
  //#endregion
2944
2953
  //#region src/utils/base64.ts
2945
- function ua(e) {
2954
+ function pa(e) {
2946
2955
  let t = "";
2947
2956
  for (let n of e) t += String.fromCharCode(n);
2948
2957
  return btoa(t);
2949
2958
  }
2950
- function da(e) {
2959
+ function ma(e) {
2951
2960
  let t = atob(e), n = new Uint8Array(t.length);
2952
2961
  for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
2953
2962
  return n;
2954
2963
  }
2955
2964
  //#endregion
2956
2965
  //#region src/utils/base32.ts
2957
- var X = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
2958
- function fa(e) {
2966
+ var Y = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
2967
+ function ha(e) {
2959
2968
  let t = "", n = 0, r = 0;
2960
- for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += X[n >> r & 31];
2961
- return r > 0 && (t += X[n << 5 - r & 31]), t;
2969
+ for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += Y[n >> r & 31];
2970
+ return r > 0 && (t += Y[n << 5 - r & 31]), t;
2962
2971
  }
2963
- function pa(e) {
2972
+ function ga(e) {
2964
2973
  let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
2965
2974
  if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
2966
2975
  let r = [], i = 0, a = 0;
2967
2976
  for (let e of t) {
2968
- let t = X.indexOf(e);
2977
+ let t = Y.indexOf(e);
2969
2978
  if (t === -1) throw Error(`Invalid base32 character: ${e}`);
2970
2979
  i = i << 5 | t, a += 5, a >= 8 && (a -= 8, r.push(i >> a & 255));
2971
2980
  }
@@ -2974,19 +2983,19 @@ function pa(e) {
2974
2983
  }
2975
2984
  //#endregion
2976
2985
  //#region src/utils/hex.ts
2977
- function ma(e) {
2986
+ function _a(e) {
2978
2987
  let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
2979
2988
  for (let e of t) n += e.toString(16).padStart(2, "0");
2980
2989
  return n;
2981
2990
  }
2982
2991
  //#endregion
2983
2992
  //#region src/utils/cursor.ts
2984
- function ha(e) {
2985
- return ca(JSON.stringify(e));
2993
+ function va(e) {
2994
+ return da(JSON.stringify(e));
2986
2995
  }
2987
- function ga(e) {
2996
+ function ya(e) {
2988
2997
  try {
2989
- let t = JSON.parse(la(e));
2998
+ let t = JSON.parse(fa(e));
2990
2999
  return t && typeof t == "object" && typeof t.i == "string" ? t : null;
2991
3000
  } catch {
2992
3001
  return null;
@@ -2994,7 +3003,7 @@ function ga(e) {
2994
3003
  }
2995
3004
  //#endregion
2996
3005
  //#region src/utils/lucene.ts
2997
- function _a(e, t) {
3006
+ function ba(e, t) {
2998
3007
  let n = new Set(t), r = (e) => {
2999
3008
  let t = [], r = "", i = !1;
3000
3009
  for (let n = 0; n < e.length; n++) {
@@ -3012,23 +3021,23 @@ function _a(e, t) {
3012
3021
  }
3013
3022
  //#endregion
3014
3023
  //#region src/utils/session-retention.ts
3015
- var Z = 10080 * 60 * 1e3, Q = 4320 * 60 * 1e3;
3016
- function va(e) {
3017
- return Math.floor((e + Q) / Z);
3024
+ var X = 10080 * 60 * 1e3, Z = 4320 * 60 * 1e3;
3025
+ function xa(e) {
3026
+ return Math.floor((e + Z) / X);
3018
3027
  }
3019
- function $(e) {
3020
- return e * Z - Q;
3028
+ function Q(e) {
3029
+ return e * X - Z;
3021
3030
  }
3022
- function ya(e, t = Date.now()) {
3023
- let n = va(t), r = n - e + 1;
3031
+ function Sa(e, t = Date.now()) {
3032
+ let n = xa(t), r = n - e + 1;
3024
3033
  return {
3025
3034
  currentWeek: n,
3026
3035
  firstWeek: r,
3027
- sinceMs: $(r)
3036
+ sinceMs: Q(r)
3028
3037
  };
3029
3038
  }
3030
- function ba(e, t, n = Date.now()) {
3031
- let { currentWeek: r, firstWeek: i, sinceMs: a } = ya(t, n), o = /* @__PURE__ */ new Map();
3039
+ function Ca(e, t, n = Date.now()) {
3040
+ let { currentWeek: r, firstWeek: i, sinceMs: a } = Sa(t, n), o = /* @__PURE__ */ new Map();
3032
3041
  for (let t of e) {
3033
3042
  if (t.created_week < i || t.created_week > r) continue;
3034
3043
  let e = Math.min(Math.max(0, t.used_week - t.created_week), r - t.created_week), n = o.get(t.created_week);
@@ -3039,7 +3048,7 @@ function ba(e, t, n = Date.now()) {
3039
3048
  let t = o.get(e), n = r - e, i = [], a = 0;
3040
3049
  for (let e = n; e >= 0; e--) a += t?.get(e) ?? 0, i[e] = a;
3041
3050
  s.push({
3042
- cohort: new Date($(e)).toISOString().slice(0, 10),
3051
+ cohort: new Date(Q(e)).toISOString().slice(0, 10),
3043
3052
  sessions: i[0] ?? 0,
3044
3053
  active: i
3045
3054
  });
@@ -3051,5 +3060,37 @@ function ba(e, t, n = Date.now()) {
3051
3060
  cohorts: s
3052
3061
  };
3053
3062
  }
3063
+ function wa(e, t, n = Date.now()) {
3064
+ let r = Ca(e, t, n);
3065
+ return {
3066
+ interval: r.interval,
3067
+ from: r.from,
3068
+ to: r.to,
3069
+ cohorts: r.cohorts.map(({ cohort: e, sessions: t, active: n }) => ({
3070
+ cohort: e,
3071
+ tokens: t,
3072
+ active: n
3073
+ }))
3074
+ };
3075
+ }
3076
+ //#endregion
3077
+ //#region src/utils/username-validation.ts
3078
+ var Ta = /^[A-Za-z0-9_+\-.!#$'^`~]+$/, Ea = "Username can only contain alphanumeric characters and the following characters: '_', '+', '-', '.', '!', '#', '$', \"'\", '^', '`', '~'", Da = "Usernames must not contain \"@\". Use the email field for email addresses.";
3079
+ function $(e) {
3080
+ return Ta.test(e);
3081
+ }
3082
+ function Oa(e) {
3083
+ return e.toLowerCase();
3084
+ }
3085
+ function ka(e, t) {
3086
+ if (e.includes("@")) return Da;
3087
+ if (!$(e)) return Ea;
3088
+ if (t) {
3089
+ let n = [...e].length;
3090
+ if (n < t.min) return `Username must be at least ${t.min} characters`;
3091
+ if (n > t.max) return `Username must be at most ${t.max} characters`;
3092
+ }
3093
+ return null;
3094
+ }
3054
3095
  //#endregion
3055
- export { ve as Auth0ActionEnum, Bn as Auth0Client, O as AuthorizationResponseMode, D as AuthorizationResponseType, Ze as CodeChallengeMethod, h as ComponentCategory, m as ComponentType, Ki as DATABASE_CONNECTION_STRATEGY, ye as EmailActionEnum, Gt as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, Cr as GrantType, Vn as LocationInfo, G as LogTypes, An as LoginSessionState, Q as MONDAY_EPOCH_SHIFT_MS, Ge as NodeType, Ce as RedirectTargetEnum, Wi as Strategy, Gi as StrategyType, ea as TRIGGER_API_SHAPES, Z as WEEK_MS, r as actionDependencySchema, l as actionExecutionErrorSchema, ae as actionExecutionInsertSchema, ne as actionExecutionLogEntrySchema, re as actionExecutionLogsSchema, te as actionExecutionResultSchema, ie as actionExecutionSchema, c as actionExecutionStatusSchema, ee as actionExecutionTriggerIdSchema, a as actionInsertSchema, T as actionNodeSchema, s as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, ji as activeUsersResponseSchema, le as actorSchema, Me as addressSchema, sn as allowedTriggersForHook, Ri as analyticsColumnMetaSchema, Pi as analyticsGroupBySchema, Ni as analyticsIntervalSchema, Bi as analyticsQueryResponseSchema, Mi as analyticsResourceSchema, zi as analyticsStatisticsSchema, Fi as analyticsUserTypeSchema, er as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, Xe as auth0FlowInsertSchema, Ye as auth0FlowSchema, Oe as auth0QuerySchema, xe as auth0UpdateUserActionSchema, Fe as auth0UserResponseSchema, et as authParamsSchema, Zi as authenticationMethodInsertSchema, Qi as authenticationMethodSchema, Ji as authenticationMethodTypeSchema, u as baseUserSchema, Ht as blockComponentSchema, Tr as bordersSchema, tt as brandingSchema, Zn as breachedPasswordDetectionSchema, Qn as bruteForceProtectionSchema, ba as buildSessionRetention, v as buttonComponentSchema, $e as claimsRequestSchema, Ve as clientGrantInsertSchema, Ue as clientGrantListSchema, He as clientGrantSchema, ze as clientInsertSchema, f as clientRegistrationTokenInsertSchema, We as clientRegistrationTokenSchema, d as clientRegistrationTokenTypeSchema, Be as clientSchema, rt as codeInsertSchema, it as codeSchema, nt as codeTypeSchema, Er as colorsSchema, $t as componentMessageSchema, S as componentSchema, ot as connectionInsertSchema, at as connectionOptionsSchema, st as connectionSchema, p as coordinatesSchema, na as createPassthroughAdapter, ra as createWriteOnlyAdapter, ft as customDomainCertificateUploadSchema, A as customDomainInsertSchema, lt as customDomainSchema, ut as customDomainUpdateSchema, dt as customDomainWithTenantIdSchema, Ui as customTextEntrySchema, Hi as customTextSchema, Ai as dailyStatsSchema, pa as decodeBase32, da as decodeBase64, sa as decodeBase64Url, la as decodeBase64UrlString, ga as decodeCursor, Wr as emailProviderSchema, Gr as emailTemplateNameSchema, Kr as emailTemplateSchema, be as emailVerificationRulesSchema, Se as emailVerifyActionSchema, fa as encodeBase32, ua as encodeBase64, oa as encodeBase64Url, ca as encodeBase64UrlString, ha as encodeCursor, ma as encodeHex, Je as endingSchema, Wt as fieldComponentSchema, Te as flowActionStepSchema, Ee as flowInsertSchema, De as flowSchema, b as flowsFieldComponentSchema, w as flowsFlowNodeSchema, C as flowsStepNodeSchema, J as fontDetailsSchema, Dr as fontsSchema, Kt as formControlSchema, Zt as formInsertSchema, F as formNodeComponentDefinition, Xt as formNodeSchema, Qt as formSchema, x as genericComponentSchema, E as genericNodeSchema, ia as getConnectionIdentifierConfig, zn as getLogTypeCategory, Rn as getLogTypeDescription, ai as grantInsertSchema, oi as grantSchema, Pr as handlerConfigSchema, xn as hookCodeInsertSchema, Sn as hookCodeSchema, mn as hookInsertSchema, H as hookPageId, bn as hookSchema, U as hookTemplateId, cn as hookTemplates, je as identitySchema, $i as importMetadataSchema, Tn as inviteInsertSchema, En as inviteSchema, wn as inviteeSchema, Cn as inviterSchema, nn as isBlockComponent, qi as isDatabaseConnectionStrategy, an as isFieldComponent, aa as isPlainObject, rn as isWidgetComponent, On as jwksKeySchema, Dn as jwksSchema, y as legalComponentSchema, pe as locationInfoSchema, K as logInsertSchema, Hn as logSchema, Wn as logStreamFilterSchema, Gn as logStreamInsertSchema, Kn as logStreamSchema, q as logStreamStatusSchema, Un as logStreamTypeSchema, Ln as logTypeCategories, In as logTypeDescriptions, Mn as loginSessionAuthStrategySchema, Nn as loginSessionInsertSchema, Pn as loginSessionSchema, jn as loginSessionStateSchema, Nr as matchSchema, qn as migrationProviderTypeSchema, Jn as migrationSourceCredentialsSchema, Yn as migrationSourceInsertSchema, Xn as migrationSourceSchema, Ke as nodeSchema, kn as openIDConfigurationSchema, yi as organizationBrandingSchema, wi as organizationConnectionInsertSchema, Ei as organizationConnectionListSchema, Ti as organizationConnectionSchema, bi as organizationEnabledConnectionSchema, Si as organizationInsertSchema, Ci as organizationSchema, xi as organizationTokenQuotaSchema, Or as pageBackgroundSchema, ta as parseUserId, tr as passwordInsertSchema, nr as passwordSchema, Ae as profileDataSchema, Vi as promptScreenSchema, Mr as promptSettingSchema, Y as proxyRouteInsertSchema, Fr as proxyRouteSchema, Ir as proxyRouteUpdateSchema, we as redirectActionSchema, qr as refreshTokenInsertSchema, Jr as refreshTokenSchema, de as requestContextSchema, $r as resourceServerInsertSchema, ti as resourceServerListSchema, Qr as resourceServerOptionsSchema, ei as resourceServerSchema, Zr as resourceServerScopeSchema, fe as responseContextSchema, _ as richTextComponentSchema, gi as roleInsertSchema, vi as roleListSchema, ni as rolePermissionInsertSchema, ii as rolePermissionListSchema, ri as rolePermissionSchema, _i as roleSchema, br as rolloutInsertSchema, vr as rolloutKindSchema, xr as rolloutSchema, yr as rolloutStatusSchema, Sr as rolloutUpdateSchema, _a as sanitizeLuceneQuery, Rr as scimConfigurationInsertSchema, zr as scimConfigurationSchema, Hr as scimExternalIdInsertSchema, Ur as scimExternalIdSchema, Lr as scimMappingEntrySchema, Br as scimTokenInsertSchema, Vr as scimTokenSchema, en as screenLinkSchema, ir as sessionInsertSchema, Ii as sessionRetentionCohortSchema, Li as sessionRetentionResponseSchema, ya as sessionRetentionWindow, ar as sessionSchema, or as signingKeySchema, Xr as smsProviderSchema, Yr as smsSendParamsSchema, qe as startSchema, $n as suspiciousIpThrottlingSchema, ue as targetSchema, sr as tenantInsertSchema, dr as tenantOperationEngineSchema, gr as tenantOperationEventInsertSchema, hr as tenantOperationEventOutcomeSchema, _r as tenantOperationEventSchema, fr as tenantOperationInsertSchema, lr as tenantOperationKindSchema, pr as tenantOperationSchema, ur as tenantOperationStatusSchema, mr as tenantOperationUpdateSchema, cr as tenantSchema, ki as tenantSettingsSchema, Ar as themeInsertSchema, jr as themeSchema, wr as tokenResponseSchema, ke as totalsSchema, tn as uiScreenSchema, si as userActivitySchema, Ne as userInsertSchema, Di as userOrganizationInsertSchema, Oi as userOrganizationSchema, ci as userPermissionInsertSchema, ui as userPermissionListSchema, li as userPermissionSchema, fi as userPermissionWithDetailsListSchema, di as userPermissionWithDetailsSchema, Ie as userResponseSchema, pi as userRoleInsertSchema, hi as userRoleListSchema, mi as userRoleSchema, Pe as userSchema, ct as verificationMethodsSchema, va as weekIndex, $ as weekStartMs, Ut as widgetComponentSchema, kr as widgetSchema };
3096
+ export { _e as Auth0ActionEnum, Bn as Auth0Client, O as AuthorizationResponseMode, D as AuthorizationResponseType, Ze as CodeChallengeMethod, T as ComponentCategory, w as ComponentType, Yi as DATABASE_CONNECTION_STRATEGY, ve as EmailActionEnum, Gt as FORM_FIELD_TYPES, ge as FlowActionTypeEnum, wr as GrantType, Vn as LocationInfo, G as LogTypes, An as LoginSessionState, Z as MONDAY_EPOCH_SHIFT_MS, Ve as NodeType, Se as RedirectTargetEnum, qi as Strategy, Ji as StrategyType, ra as TRIGGER_API_SHAPES, Da as USERNAME_CONTAINS_AT_MESSAGE, Ea as USERNAME_INVALID_CHARACTERS_MESSAGE, X as WEEK_MS, r as actionDependencySchema, l as actionExecutionErrorSchema, ie as actionExecutionInsertSchema, te as actionExecutionLogEntrySchema, ne as actionExecutionLogsSchema, u as actionExecutionResultSchema, re as actionExecutionSchema, c as actionExecutionStatusSchema, ee as actionExecutionTriggerIdSchema, a as actionInsertSchema, We as actionNodeSchema, s as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, ae as actionVersionInsertSchema, oe as actionVersionSchema, Mi as activeUsersResponseSchema, ce as actorSchema, m as addressSchema, sn as allowedTriggersForHook, Vi as analyticsColumnMetaSchema, Fi as analyticsGroupBySchema, Pi as analyticsIntervalSchema, Ui as analyticsQueryResponseSchema, Ni as analyticsResourceSchema, Hi as analyticsStatisticsSchema, Ii as analyticsUserTypeSchema, tr as attackProtectionSchema, se as auditCategorySchema, me as auditEventInsertSchema, he as auditEventSchema, pe as auth0ClientSchema, Xe as auth0FlowInsertSchema, Ye as auth0FlowSchema, Ee as auth0QuerySchema, be as auth0UpdateUserActionSchema, Oe as auth0UserResponseSchema, et as authParamsSchema, ea as authenticationMethodInsertSchema, ta as authenticationMethodSchema, Zi as authenticationMethodTypeSchema, h as baseUserSchema, Ht as blockComponentSchema, Er as bordersSchema, tt as brandingSchema, Qn as breachedPasswordDetectionSchema, $n as bruteForceProtectionSchema, wa as buildRefreshTokenRetention, Ca as buildSessionRetention, Ie as buttonComponentSchema, $e as claimsRequestSchema, y as clientGrantInsertSchema, Ne as clientGrantListSchema, b as clientGrantSchema, v as clientInsertSchema, S as clientRegistrationTokenInsertSchema, Pe as clientRegistrationTokenSchema, x as clientRegistrationTokenTypeSchema, Me as clientSchema, rt as codeInsertSchema, it as codeSchema, nt as codeTypeSchema, Dr as colorsSchema, $t as componentMessageSchema, Be as componentSchema, ot as connectionInsertSchema, at as connectionOptionsSchema, st as connectionSchema, C as coordinatesSchema, aa as createPassthroughAdapter, oa as createWriteOnlyAdapter, ft as customDomainCertificateUploadSchema, A as customDomainInsertSchema, lt as customDomainSchema, ut as customDomainUpdateSchema, dt as customDomainWithTenantIdSchema, Ki as customTextEntrySchema, Gi as customTextSchema, ji as dailyStatsSchema, ga as decodeBase32, ma as decodeBase64, ua as decodeBase64Url, fa as decodeBase64UrlString, ya as decodeCursor, Gr as emailProviderSchema, Kr as emailTemplateNameSchema, qr as emailTemplateSchema, ye as emailVerificationRulesSchema, xe as emailVerifyActionSchema, ha as encodeBase32, pa as encodeBase64, la as encodeBase64Url, da as encodeBase64UrlString, va as encodeCursor, _a as encodeHex, Je as endingSchema, Wt as fieldComponentSchema, d as flowActionStepSchema, we as flowInsertSchema, Te as flowSchema, Re as flowsFieldComponentSchema, Ue as flowsFlowNodeSchema, He as flowsStepNodeSchema, q as fontDetailsSchema, Or as fontsSchema, Kt as formControlSchema, Zt as formInsertSchema, F as formNodeComponentDefinition, Xt as formNodeSchema, Qt as formSchema, ze as genericComponentSchema, Ge as genericNodeSchema, sa as getConnectionIdentifierConfig, zn as getLogTypeCategory, Rn as getLogTypeDescription, oi as grantInsertSchema, si as grantSchema, Fr as handlerConfigSchema, xn as hookCodeInsertSchema, Sn as hookCodeSchema, mn as hookInsertSchema, H as hookPageId, bn as hookSchema, U as hookTemplateId, cn as hookTemplates, p as identitySchema, na as importMetadataSchema, Tn as inviteInsertSchema, En as inviteSchema, wn as inviteeSchema, Cn as inviterSchema, nn as isBlockComponent, Xi as isDatabaseConnectionStrategy, an as isFieldComponent, ca as isPlainObject, rn as isWidgetComponent, On as jwksKeySchema, Dn as jwksSchema, Le as legalComponentSchema, fe as locationInfoSchema, Hn as logInsertSchema, Un as logSchema, Gn as logStreamFilterSchema, Kn as logStreamInsertSchema, qn as logStreamSchema, K as logStreamStatusSchema, Wn as logStreamTypeSchema, Ln as logTypeCategories, In as logTypeDescriptions, Mn as loginSessionAuthStrategySchema, Nn as loginSessionInsertSchema, Pn as loginSessionSchema, jn as loginSessionStateSchema, Pr as matchSchema, Jn as migrationProviderTypeSchema, Yn as migrationSourceCredentialsSchema, Xn as migrationSourceInsertSchema, Zn as migrationSourceSchema, Ke as nodeSchema, Oa as normalizeUsername, kn as openIDConfigurationSchema, bi as organizationBrandingSchema, Ti as organizationConnectionInsertSchema, Di as organizationConnectionListSchema, Ei as organizationConnectionSchema, xi as organizationEnabledConnectionSchema, Ci as organizationInsertSchema, wi as organizationSchema, Si as organizationTokenQuotaSchema, kr as pageBackgroundSchema, ia as parseUserId, nr as passwordInsertSchema, rr as passwordSchema, f as profileDataSchema, Wi as promptScreenSchema, Nr as promptSettingSchema, J as proxyRouteInsertSchema, Ir as proxyRouteSchema, Lr as proxyRouteUpdateSchema, Ce as redirectActionSchema, Jr as refreshTokenInsertSchema, zi as refreshTokenRetentionCohortSchema, Bi as refreshTokenRetentionResponseSchema, Yr as refreshTokenSchema, ue as requestContextSchema, ei as resourceServerInsertSchema, ni as resourceServerListSchema, $r as resourceServerOptionsSchema, ti as resourceServerSchema, Qr as resourceServerScopeSchema, de as responseContextSchema, Fe as richTextComponentSchema, _i as roleInsertSchema, yi as roleListSchema, ri as rolePermissionInsertSchema, ai as rolePermissionListSchema, ii as rolePermissionSchema, vi as roleSchema, xr as rolloutInsertSchema, yr as rolloutKindSchema, Sr as rolloutSchema, br as rolloutStatusSchema, Cr as rolloutUpdateSchema, ba as sanitizeLuceneQuery, zr as scimConfigurationInsertSchema, Br as scimConfigurationSchema, Ur as scimExternalIdInsertSchema, Wr as scimExternalIdSchema, Rr as scimMappingEntrySchema, Vr as scimTokenInsertSchema, Hr as scimTokenSchema, en as screenLinkSchema, ar as sessionInsertSchema, Li as sessionRetentionCohortSchema, Ri as sessionRetentionResponseSchema, Sa as sessionRetentionWindow, or as sessionSchema, sr as signingKeySchema, Zr as smsProviderSchema, Xr as smsSendParamsSchema, qe as startSchema, er as suspiciousIpThrottlingSchema, le as targetSchema, cr as tenantInsertSchema, fr as tenantOperationEngineSchema, _r as tenantOperationEventInsertSchema, gr as tenantOperationEventOutcomeSchema, vr as tenantOperationEventSchema, pr as tenantOperationInsertSchema, ur as tenantOperationKindSchema, mr as tenantOperationSchema, dr as tenantOperationStatusSchema, hr as tenantOperationUpdateSchema, lr as tenantSchema, Ai as tenantSettingsSchema, jr as themeInsertSchema, Mr as themeSchema, Tr as tokenResponseSchema, De as totalsSchema, tn as uiScreenSchema, ci as userActivitySchema, g as userInsertSchema, Oi as userOrganizationInsertSchema, ki as userOrganizationSchema, li as userPermissionInsertSchema, di as userPermissionListSchema, ui as userPermissionSchema, pi as userPermissionWithDetailsListSchema, fi as userPermissionWithDetailsSchema, ke as userResponseSchema, mi as userRoleInsertSchema, gi as userRoleListSchema, hi as userRoleSchema, _ as userSchema, $ as usernameHasOnlyAllowedCharacters, ka as validateUsername, ct as verificationMethodsSchema, xa as weekIndex, Q as weekStartMs, Ut as widgetComponentSchema, Ar as widgetSchema };