authhero 9.28.2 → 9.28.3

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.
Files changed (51) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +159 -191
  3. package/dist/authhero.d.ts +257 -257
  4. package/dist/authhero.mjs +19138 -20691
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  7. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  8. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  9. package/dist/types/index.d.ts +257 -257
  10. package/dist/types/routes/auth-api/account.d.ts +2 -2
  11. package/dist/types/routes/auth-api/device.d.ts +8 -8
  12. package/dist/types/routes/auth-api/index.d.ts +33 -33
  13. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  14. package/dist/types/routes/auth-api/passwordless.d.ts +4 -4
  15. package/dist/types/routes/auth-api/token.d.ts +10 -10
  16. package/dist/types/routes/management-api/action-triggers.d.ts +4 -4
  17. package/dist/types/routes/management-api/actions.d.ts +14 -14
  18. package/dist/types/routes/management-api/branding.d.ts +18 -18
  19. package/dist/types/routes/management-api/clients.d.ts +2 -2
  20. package/dist/types/routes/management-api/connections.d.ts +8 -8
  21. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  22. package/dist/types/routes/management-api/emails.d.ts +6 -6
  23. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  24. package/dist/types/routes/management-api/flows.d.ts +8 -8
  25. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  26. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  27. package/dist/types/routes/management-api/hooks.d.ts +35 -35
  28. package/dist/types/routes/management-api/index.d.ts +209 -209
  29. package/dist/types/routes/management-api/keys.d.ts +12 -12
  30. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  31. package/dist/types/routes/management-api/logs.d.ts +4 -4
  32. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  33. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  34. package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
  35. package/dist/types/routes/management-api/roles.d.ts +7 -7
  36. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  37. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  38. package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
  39. package/dist/types/routes/management-api/tenants.d.ts +14 -14
  40. package/dist/types/routes/management-api/themes.d.ts +9 -9
  41. package/dist/types/routes/management-api/users.d.ts +24 -24
  42. package/dist/types/routes/saml/index.d.ts +6 -6
  43. package/dist/types/routes/saml/samlp.d.ts +6 -6
  44. package/dist/types/routes/universal-login/common.d.ts +14 -14
  45. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  46. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  47. package/dist/types/routes/universal-login/index.d.ts +4 -4
  48. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  49. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  50. package/dist/types/state-machines/login-session.d.ts +1 -1
  51. package/package.json +6 -6
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
62
62
  type: "REDIRECT";
63
63
  action: "REDIRECT_USER";
64
64
  params: {
65
- target: "custom" | "change-email" | "account";
65
+ target: "custom" | "account" | "change-email";
66
66
  custom_url?: string | undefined;
67
67
  };
68
68
  alias?: string | undefined;
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
115
115
  type: "REDIRECT";
116
116
  action: "REDIRECT_USER";
117
117
  params: {
118
- target: "custom" | "change-email" | "account";
118
+ target: "custom" | "account" | "change-email";
119
119
  custom_url?: string | undefined;
120
120
  };
121
121
  alias?: string | undefined;
@@ -168,7 +168,7 @@ export declare const flowsRoutes: OpenAPIHono<{
168
168
  type: "REDIRECT";
169
169
  action: "REDIRECT_USER";
170
170
  params: {
171
- target: "custom" | "change-email" | "account";
171
+ target: "custom" | "account" | "change-email";
172
172
  custom_url?: string | undefined;
173
173
  };
174
174
  alias?: string | undefined;
@@ -236,7 +236,7 @@ export declare const flowsRoutes: OpenAPIHono<{
236
236
  type: "REDIRECT";
237
237
  action: "REDIRECT_USER";
238
238
  params: {
239
- target: "custom" | "change-email" | "account";
239
+ target: "custom" | "account" | "change-email";
240
240
  custom_url?: string | undefined;
241
241
  };
242
242
  alias?: string | undefined;
@@ -317,7 +317,7 @@ export declare const flowsRoutes: OpenAPIHono<{
317
317
  type: "REDIRECT";
318
318
  action: "REDIRECT_USER";
319
319
  params: {
320
- target: "custom" | "change-email" | "account";
320
+ target: "custom" | "account" | "change-email";
321
321
  custom_url?: string | undefined;
322
322
  };
323
323
  alias?: string | undefined;
@@ -365,7 +365,7 @@ export declare const flowsRoutes: OpenAPIHono<{
365
365
  type: "REDIRECT";
366
366
  action: "REDIRECT_USER";
367
367
  params: {
368
- target: "custom" | "change-email" | "account";
368
+ target: "custom" | "account" | "change-email";
369
369
  custom_url?: string | undefined;
370
370
  };
371
371
  alias?: string | undefined;
@@ -425,7 +425,7 @@ export declare const flowsRoutes: OpenAPIHono<{
425
425
  type: "REDIRECT";
426
426
  action: "REDIRECT_USER";
427
427
  params: {
428
- target: "custom" | "change-email" | "account";
428
+ target: "custom" | "account" | "change-email";
429
429
  custom_url?: string | undefined;
430
430
  };
431
431
  alias?: string | undefined;
@@ -473,7 +473,7 @@ export declare const flowsRoutes: OpenAPIHono<{
473
473
  type: "REDIRECT";
474
474
  action: "REDIRECT_USER";
475
475
  params: {
476
- target: "custom" | "change-email" | "account";
476
+ target: "custom" | "account" | "change-email";
477
477
  custom_url?: string | undefined;
478
478
  };
479
479
  alias?: string | undefined;
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
12
12
  };
13
13
  };
14
14
  output: {
15
- name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
15
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
16
16
  enabled: boolean;
17
17
  trial_expired?: boolean | undefined;
18
18
  }[];
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
167
167
  $get: {
168
168
  input: {
169
169
  param: {
170
- factor_name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
170
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
171
171
  };
172
172
  } & {
173
173
  header: {
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
175
175
  };
176
176
  };
177
177
  output: {
178
- name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
178
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
179
179
  enabled: boolean;
180
180
  trial_expired?: boolean | undefined;
181
181
  };
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
188
188
  $put: {
189
189
  input: {
190
190
  param: {
191
- factor_name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
191
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
192
192
  };
193
193
  } & {
194
194
  header: {
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
200
200
  };
201
201
  };
202
202
  output: {
203
- name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
203
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
204
204
  enabled: boolean;
205
205
  trial_expired?: boolean | undefined;
206
206
  };
@@ -23,7 +23,7 @@ export declare function requireTenantId(ctx: {
23
23
  * `totalsSchema.extend({ roles: z.array(roleSchema) })` pattern repeated
24
24
  * across the management-api modules.
25
25
  */
26
- export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("start" | "length" | "limit" | "total" | "next") & keyof T extends never ? {
26
+ export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("length" | "next" | "start" | "limit" | "total") & keyof T extends never ? {
27
27
  start: z.ZodNumber;
28
28
  limit: z.ZodNumber;
29
29
  length: z.ZodNumber;
@@ -31,7 +31,7 @@ export declare const hooksRoutes: OpenAPIHono<{
31
31
  updated_at: string;
32
32
  hook_id: string;
33
33
  url: string;
34
- scope?: "local" | "shared" | "platform" | undefined;
34
+ scope?: "shared" | "local" | "platform" | undefined;
35
35
  override?: "none" | "secrets" | "fields" | undefined;
36
36
  enforce?: boolean | undefined;
37
37
  priority?: number | undefined;
@@ -46,7 +46,7 @@ export declare const hooksRoutes: OpenAPIHono<{
46
46
  updated_at: string;
47
47
  hook_id: string;
48
48
  form_id: string;
49
- scope?: "local" | "shared" | "platform" | undefined;
49
+ scope?: "shared" | "local" | "platform" | undefined;
50
50
  override?: "none" | "secrets" | "fields" | undefined;
51
51
  enforce?: boolean | undefined;
52
52
  priority?: number | undefined;
@@ -61,7 +61,7 @@ export declare const hooksRoutes: OpenAPIHono<{
61
61
  updated_at: string;
62
62
  hook_id: string;
63
63
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
64
- scope?: "local" | "shared" | "platform" | undefined;
64
+ scope?: "shared" | "local" | "platform" | undefined;
65
65
  override?: "none" | "secrets" | "fields" | undefined;
66
66
  enforce?: boolean | undefined;
67
67
  priority?: number | undefined;
@@ -76,7 +76,7 @@ export declare const hooksRoutes: OpenAPIHono<{
76
76
  updated_at: string;
77
77
  hook_id: string;
78
78
  code_id: string;
79
- scope?: "local" | "shared" | "platform" | undefined;
79
+ scope?: "shared" | "local" | "platform" | undefined;
80
80
  override?: "none" | "secrets" | "fields" | undefined;
81
81
  enforce?: boolean | undefined;
82
82
  priority?: number | undefined;
@@ -91,7 +91,7 @@ export declare const hooksRoutes: OpenAPIHono<{
91
91
  updated_at: string;
92
92
  hook_id: string;
93
93
  page_id: "impersonate";
94
- scope?: "local" | "shared" | "platform" | undefined;
94
+ scope?: "shared" | "local" | "platform" | undefined;
95
95
  override?: "none" | "secrets" | "fields" | undefined;
96
96
  enforce?: boolean | undefined;
97
97
  priority?: number | undefined;
@@ -111,7 +111,7 @@ export declare const hooksRoutes: OpenAPIHono<{
111
111
  updated_at: string;
112
112
  hook_id: string;
113
113
  url: string;
114
- scope?: "local" | "shared" | "platform" | undefined;
114
+ scope?: "shared" | "local" | "platform" | undefined;
115
115
  override?: "none" | "secrets" | "fields" | undefined;
116
116
  enforce?: boolean | undefined;
117
117
  priority?: number | undefined;
@@ -126,7 +126,7 @@ export declare const hooksRoutes: OpenAPIHono<{
126
126
  updated_at: string;
127
127
  hook_id: string;
128
128
  form_id: string;
129
- scope?: "local" | "shared" | "platform" | undefined;
129
+ scope?: "shared" | "local" | "platform" | undefined;
130
130
  override?: "none" | "secrets" | "fields" | undefined;
131
131
  enforce?: boolean | undefined;
132
132
  priority?: number | undefined;
@@ -141,7 +141,7 @@ export declare const hooksRoutes: OpenAPIHono<{
141
141
  updated_at: string;
142
142
  hook_id: string;
143
143
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
144
- scope?: "local" | "shared" | "platform" | undefined;
144
+ scope?: "shared" | "local" | "platform" | undefined;
145
145
  override?: "none" | "secrets" | "fields" | undefined;
146
146
  enforce?: boolean | undefined;
147
147
  priority?: number | undefined;
@@ -156,7 +156,7 @@ export declare const hooksRoutes: OpenAPIHono<{
156
156
  updated_at: string;
157
157
  hook_id: string;
158
158
  code_id: string;
159
- scope?: "local" | "shared" | "platform" | undefined;
159
+ scope?: "shared" | "local" | "platform" | undefined;
160
160
  override?: "none" | "secrets" | "fields" | undefined;
161
161
  enforce?: boolean | undefined;
162
162
  priority?: number | undefined;
@@ -171,7 +171,7 @@ export declare const hooksRoutes: OpenAPIHono<{
171
171
  updated_at: string;
172
172
  hook_id: string;
173
173
  page_id: "impersonate";
174
- scope?: "local" | "shared" | "platform" | undefined;
174
+ scope?: "shared" | "local" | "platform" | undefined;
175
175
  override?: "none" | "secrets" | "fields" | undefined;
176
176
  enforce?: boolean | undefined;
177
177
  priority?: number | undefined;
@@ -191,7 +191,7 @@ export declare const hooksRoutes: OpenAPIHono<{
191
191
  updated_at: string;
192
192
  hook_id: string;
193
193
  url: string;
194
- scope?: "local" | "shared" | "platform" | undefined;
194
+ scope?: "shared" | "local" | "platform" | undefined;
195
195
  override?: "none" | "secrets" | "fields" | undefined;
196
196
  enforce?: boolean | undefined;
197
197
  priority?: number | undefined;
@@ -206,7 +206,7 @@ export declare const hooksRoutes: OpenAPIHono<{
206
206
  updated_at: string;
207
207
  hook_id: string;
208
208
  form_id: string;
209
- scope?: "local" | "shared" | "platform" | undefined;
209
+ scope?: "shared" | "local" | "platform" | undefined;
210
210
  override?: "none" | "secrets" | "fields" | undefined;
211
211
  enforce?: boolean | undefined;
212
212
  priority?: number | undefined;
@@ -221,7 +221,7 @@ export declare const hooksRoutes: OpenAPIHono<{
221
221
  updated_at: string;
222
222
  hook_id: string;
223
223
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
224
- scope?: "local" | "shared" | "platform" | undefined;
224
+ scope?: "shared" | "local" | "platform" | undefined;
225
225
  override?: "none" | "secrets" | "fields" | undefined;
226
226
  enforce?: boolean | undefined;
227
227
  priority?: number | undefined;
@@ -236,7 +236,7 @@ export declare const hooksRoutes: OpenAPIHono<{
236
236
  updated_at: string;
237
237
  hook_id: string;
238
238
  code_id: string;
239
- scope?: "local" | "shared" | "platform" | undefined;
239
+ scope?: "shared" | "local" | "platform" | undefined;
240
240
  override?: "none" | "secrets" | "fields" | undefined;
241
241
  enforce?: boolean | undefined;
242
242
  priority?: number | undefined;
@@ -251,7 +251,7 @@ export declare const hooksRoutes: OpenAPIHono<{
251
251
  updated_at: string;
252
252
  hook_id: string;
253
253
  page_id: "impersonate";
254
- scope?: "local" | "shared" | "platform" | undefined;
254
+ scope?: "shared" | "local" | "platform" | undefined;
255
255
  override?: "none" | "secrets" | "fields" | undefined;
256
256
  enforce?: boolean | undefined;
257
257
  priority?: number | undefined;
@@ -277,7 +277,7 @@ export declare const hooksRoutes: OpenAPIHono<{
277
277
  json: {
278
278
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
279
279
  url: string;
280
- scope?: "local" | "shared" | "platform" | undefined;
280
+ scope?: "shared" | "local" | "platform" | undefined;
281
281
  override?: "none" | "secrets" | "fields" | undefined;
282
282
  enforce?: boolean | undefined;
283
283
  enabled?: boolean | undefined;
@@ -288,7 +288,7 @@ export declare const hooksRoutes: OpenAPIHono<{
288
288
  } | {
289
289
  trigger_id: "post-user-login";
290
290
  form_id: string;
291
- scope?: "local" | "shared" | "platform" | undefined;
291
+ scope?: "shared" | "local" | "platform" | undefined;
292
292
  override?: "none" | "secrets" | "fields" | undefined;
293
293
  enforce?: boolean | undefined;
294
294
  enabled?: boolean | undefined;
@@ -299,7 +299,7 @@ export declare const hooksRoutes: OpenAPIHono<{
299
299
  } | {
300
300
  trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
301
301
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
302
- scope?: "local" | "shared" | "platform" | undefined;
302
+ scope?: "shared" | "local" | "platform" | undefined;
303
303
  override?: "none" | "secrets" | "fields" | undefined;
304
304
  enforce?: boolean | undefined;
305
305
  enabled?: boolean | undefined;
@@ -310,7 +310,7 @@ export declare const hooksRoutes: OpenAPIHono<{
310
310
  } | {
311
311
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
312
312
  code_id: string;
313
- scope?: "local" | "shared" | "platform" | undefined;
313
+ scope?: "shared" | "local" | "platform" | undefined;
314
314
  override?: "none" | "secrets" | "fields" | undefined;
315
315
  enforce?: boolean | undefined;
316
316
  enabled?: boolean | undefined;
@@ -322,7 +322,7 @@ export declare const hooksRoutes: OpenAPIHono<{
322
322
  trigger_id: "post-user-login";
323
323
  page_id: "impersonate";
324
324
  permission_required?: string | undefined;
325
- scope?: "local" | "shared" | "platform" | undefined;
325
+ scope?: "shared" | "local" | "platform" | undefined;
326
326
  override?: "none" | "secrets" | "fields" | undefined;
327
327
  enforce?: boolean | undefined;
328
328
  enabled?: boolean | undefined;
@@ -340,7 +340,7 @@ export declare const hooksRoutes: OpenAPIHono<{
340
340
  updated_at: string;
341
341
  hook_id: string;
342
342
  url: string;
343
- scope?: "local" | "shared" | "platform" | undefined;
343
+ scope?: "shared" | "local" | "platform" | undefined;
344
344
  override?: "none" | "secrets" | "fields" | undefined;
345
345
  enforce?: boolean | undefined;
346
346
  priority?: number | undefined;
@@ -355,7 +355,7 @@ export declare const hooksRoutes: OpenAPIHono<{
355
355
  updated_at: string;
356
356
  hook_id: string;
357
357
  form_id: string;
358
- scope?: "local" | "shared" | "platform" | undefined;
358
+ scope?: "shared" | "local" | "platform" | undefined;
359
359
  override?: "none" | "secrets" | "fields" | undefined;
360
360
  enforce?: boolean | undefined;
361
361
  priority?: number | undefined;
@@ -370,7 +370,7 @@ export declare const hooksRoutes: OpenAPIHono<{
370
370
  updated_at: string;
371
371
  hook_id: string;
372
372
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
373
- scope?: "local" | "shared" | "platform" | undefined;
373
+ scope?: "shared" | "local" | "platform" | undefined;
374
374
  override?: "none" | "secrets" | "fields" | undefined;
375
375
  enforce?: boolean | undefined;
376
376
  priority?: number | undefined;
@@ -385,7 +385,7 @@ export declare const hooksRoutes: OpenAPIHono<{
385
385
  updated_at: string;
386
386
  hook_id: string;
387
387
  code_id: string;
388
- scope?: "local" | "shared" | "platform" | undefined;
388
+ scope?: "shared" | "local" | "platform" | undefined;
389
389
  override?: "none" | "secrets" | "fields" | undefined;
390
390
  enforce?: boolean | undefined;
391
391
  priority?: number | undefined;
@@ -400,7 +400,7 @@ export declare const hooksRoutes: OpenAPIHono<{
400
400
  updated_at: string;
401
401
  hook_id: string;
402
402
  page_id: "impersonate";
403
- scope?: "local" | "shared" | "platform" | undefined;
403
+ scope?: "shared" | "local" | "platform" | undefined;
404
404
  override?: "none" | "secrets" | "fields" | undefined;
405
405
  enforce?: boolean | undefined;
406
406
  priority?: number | undefined;
@@ -465,7 +465,7 @@ export declare const hooksRoutes: OpenAPIHono<{
465
465
  updated_at: string;
466
466
  hook_id: string;
467
467
  url: string;
468
- scope?: "local" | "shared" | "platform" | undefined;
468
+ scope?: "shared" | "local" | "platform" | undefined;
469
469
  override?: "none" | "secrets" | "fields" | undefined;
470
470
  enforce?: boolean | undefined;
471
471
  priority?: number | undefined;
@@ -480,7 +480,7 @@ export declare const hooksRoutes: OpenAPIHono<{
480
480
  updated_at: string;
481
481
  hook_id: string;
482
482
  form_id: string;
483
- scope?: "local" | "shared" | "platform" | undefined;
483
+ scope?: "shared" | "local" | "platform" | undefined;
484
484
  override?: "none" | "secrets" | "fields" | undefined;
485
485
  enforce?: boolean | undefined;
486
486
  priority?: number | undefined;
@@ -495,7 +495,7 @@ export declare const hooksRoutes: OpenAPIHono<{
495
495
  updated_at: string;
496
496
  hook_id: string;
497
497
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
498
- scope?: "local" | "shared" | "platform" | undefined;
498
+ scope?: "shared" | "local" | "platform" | undefined;
499
499
  override?: "none" | "secrets" | "fields" | undefined;
500
500
  enforce?: boolean | undefined;
501
501
  priority?: number | undefined;
@@ -510,7 +510,7 @@ export declare const hooksRoutes: OpenAPIHono<{
510
510
  updated_at: string;
511
511
  hook_id: string;
512
512
  code_id: string;
513
- scope?: "local" | "shared" | "platform" | undefined;
513
+ scope?: "shared" | "local" | "platform" | undefined;
514
514
  override?: "none" | "secrets" | "fields" | undefined;
515
515
  enforce?: boolean | undefined;
516
516
  priority?: number | undefined;
@@ -525,7 +525,7 @@ export declare const hooksRoutes: OpenAPIHono<{
525
525
  updated_at: string;
526
526
  hook_id: string;
527
527
  page_id: "impersonate";
528
- scope?: "local" | "shared" | "platform" | undefined;
528
+ scope?: "shared" | "local" | "platform" | undefined;
529
529
  override?: "none" | "secrets" | "fields" | undefined;
530
530
  enforce?: boolean | undefined;
531
531
  priority?: number | undefined;
@@ -571,7 +571,7 @@ export declare const hooksRoutes: OpenAPIHono<{
571
571
  updated_at: string;
572
572
  hook_id: string;
573
573
  url: string;
574
- scope?: "local" | "shared" | "platform" | undefined;
574
+ scope?: "shared" | "local" | "platform" | undefined;
575
575
  override?: "none" | "secrets" | "fields" | undefined;
576
576
  enforce?: boolean | undefined;
577
577
  priority?: number | undefined;
@@ -586,7 +586,7 @@ export declare const hooksRoutes: OpenAPIHono<{
586
586
  updated_at: string;
587
587
  hook_id: string;
588
588
  form_id: string;
589
- scope?: "local" | "shared" | "platform" | undefined;
589
+ scope?: "shared" | "local" | "platform" | undefined;
590
590
  override?: "none" | "secrets" | "fields" | undefined;
591
591
  enforce?: boolean | undefined;
592
592
  priority?: number | undefined;
@@ -601,7 +601,7 @@ export declare const hooksRoutes: OpenAPIHono<{
601
601
  updated_at: string;
602
602
  hook_id: string;
603
603
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
604
- scope?: "local" | "shared" | "platform" | undefined;
604
+ scope?: "shared" | "local" | "platform" | undefined;
605
605
  override?: "none" | "secrets" | "fields" | undefined;
606
606
  enforce?: boolean | undefined;
607
607
  priority?: number | undefined;
@@ -616,7 +616,7 @@ export declare const hooksRoutes: OpenAPIHono<{
616
616
  updated_at: string;
617
617
  hook_id: string;
618
618
  code_id: string;
619
- scope?: "local" | "shared" | "platform" | undefined;
619
+ scope?: "shared" | "local" | "platform" | undefined;
620
620
  override?: "none" | "secrets" | "fields" | undefined;
621
621
  enforce?: boolean | undefined;
622
622
  priority?: number | undefined;
@@ -631,7 +631,7 @@ export declare const hooksRoutes: OpenAPIHono<{
631
631
  updated_at: string;
632
632
  hook_id: string;
633
633
  page_id: "impersonate";
634
- scope?: "local" | "shared" | "platform" | undefined;
634
+ scope?: "shared" | "local" | "platform" | undefined;
635
635
  override?: "none" | "secrets" | "fields" | undefined;
636
636
  enforce?: boolean | undefined;
637
637
  priority?: number | undefined;