authhero 9.13.1 → 9.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/{p-1471c0f2.entry.js → p-1eb7f287.entry.js} +1 -1
  4. package/dist/assets/u/widget/p-398d72df.entry.js +1 -0
  5. package/dist/authhero.cjs +144 -144
  6. package/dist/authhero.d.ts +469 -288
  7. package/dist/authhero.mjs +14662 -13647
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/custom-token-exchange.d.ts +21 -0
  10. package/dist/types/authentication-flows/passwordless.d.ts +5 -2
  11. package/dist/types/authentication-flows/token-exchange.d.ts +19 -0
  12. package/dist/types/emails/index.d.ts +8 -9
  13. package/dist/types/emails/render.d.ts +2 -6
  14. package/dist/types/generated/locale-types.d.ts +2 -0
  15. package/dist/types/helpers/client-assertion-replay.d.ts +17 -0
  16. package/dist/types/helpers/client-keys.d.ts +9 -0
  17. package/dist/types/helpers/client.d.ts +3 -0
  18. package/dist/types/helpers/connection.d.ts +2 -6
  19. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  20. package/dist/types/helpers/logging.d.ts +2 -5
  21. package/dist/types/helpers/organization-branding.d.ts +18 -0
  22. package/dist/types/helpers/reserved-claims.d.ts +4 -8
  23. package/dist/types/helpers/service-token.d.ts +2 -5
  24. package/dist/types/helpers/wait-until.d.ts +3 -1
  25. package/dist/types/index.d.ts +430 -282
  26. package/dist/types/routes/auth-api/index.d.ts +129 -19
  27. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  28. package/dist/types/routes/auth-api/token.d.ts +110 -0
  29. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  30. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  31. package/dist/types/routes/management-api/actions.d.ts +3 -3
  32. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  33. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  34. package/dist/types/routes/management-api/clients.d.ts +24 -0
  35. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  36. package/dist/types/routes/management-api/emails.d.ts +2 -2
  37. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  38. package/dist/types/routes/management-api/forms.d.ts +14 -0
  39. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  40. package/dist/types/routes/management-api/hooks.d.ts +4 -4
  41. package/dist/types/routes/management-api/index.d.ts +288 -250
  42. package/dist/types/routes/management-api/keys.d.ts +12 -12
  43. package/dist/types/routes/management-api/logs.d.ts +4 -4
  44. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  45. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  46. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  47. package/dist/types/routes/management-api/token-exchange-profiles.d.ts +321 -0
  48. package/dist/types/routes/management-api/users.d.ts +14 -14
  49. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +9 -2
  50. package/dist/types/routes/proxy-control-plane/verify.d.ts +15 -0
  51. package/dist/types/routes/universal-login/common.d.ts +6 -0
  52. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  53. package/dist/types/routes/universal-login/form-node.d.ts +4 -4
  54. package/dist/types/routes/universal-login/index.d.ts +6 -6
  55. package/dist/types/routes/universal-login/screens/login-otp.d.ts +17 -0
  56. package/dist/types/routes/universal-login/screens/types.d.ts +6 -0
  57. package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
  58. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  59. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  60. package/dist/types/state-machines/login-session.d.ts +1 -1
  61. package/dist/types/tenant-members/local-backend.d.ts +11 -3
  62. package/dist/types/types/RequestContext.d.ts +16 -0
  63. package/dist/types/types/index.d.ts +1 -0
  64. package/dist/types/utils/jwks.d.ts +2 -2
  65. package/dist/types/utils/jws-verify.d.ts +46 -0
  66. package/package.json +6 -6
  67. package/dist/assets/u/widget/p-c2744f87.entry.js +0 -1
@@ -120,6 +120,9 @@ export declare const clientRoutes: OpenAPIHono<{
120
120
  registration_metadata?: {
121
121
  [x: string]: any;
122
122
  } | undefined;
123
+ token_exchange?: {
124
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
125
+ } | undefined;
123
126
  user_linking_mode?: "builtin" | "off" | undefined;
124
127
  }[] | {
125
128
  start: number;
@@ -222,6 +225,9 @@ export declare const clientRoutes: OpenAPIHono<{
222
225
  registration_metadata?: {
223
226
  [x: string]: any;
224
227
  } | undefined;
228
+ token_exchange?: {
229
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
230
+ } | undefined;
225
231
  user_linking_mode?: "builtin" | "off" | undefined;
226
232
  }[];
227
233
  total?: number | undefined;
@@ -324,6 +330,9 @@ export declare const clientRoutes: OpenAPIHono<{
324
330
  registration_metadata?: {
325
331
  [x: string]: any;
326
332
  } | undefined;
333
+ token_exchange?: {
334
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
335
+ } | undefined;
327
336
  user_linking_mode?: "builtin" | "off" | undefined;
328
337
  }[];
329
338
  next?: string | undefined;
@@ -441,6 +450,9 @@ export declare const clientRoutes: OpenAPIHono<{
441
450
  registration_metadata?: {
442
451
  [x: string]: any;
443
452
  } | undefined;
453
+ token_exchange?: {
454
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
455
+ } | undefined;
444
456
  user_linking_mode?: "builtin" | "off" | undefined;
445
457
  };
446
458
  outputFormat: "json";
@@ -545,6 +557,9 @@ export declare const clientRoutes: OpenAPIHono<{
545
557
  owner_user_id?: string | undefined;
546
558
  registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
547
559
  registration_metadata?: Record<string, any> | undefined;
560
+ token_exchange?: {
561
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
562
+ } | undefined;
548
563
  user_linking_mode?: "builtin" | "off" | undefined;
549
564
  };
550
565
  };
@@ -645,6 +660,9 @@ export declare const clientRoutes: OpenAPIHono<{
645
660
  registration_metadata?: {
646
661
  [x: string]: any;
647
662
  } | undefined;
663
+ token_exchange?: {
664
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
665
+ } | undefined;
648
666
  user_linking_mode?: "builtin" | "off" | undefined;
649
667
  };
650
668
  outputFormat: "json";
@@ -728,6 +746,9 @@ export declare const clientRoutes: OpenAPIHono<{
728
746
  owner_user_id?: string | undefined;
729
747
  registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
730
748
  registration_metadata?: Record<string, any> | undefined;
749
+ token_exchange?: {
750
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
751
+ } | undefined;
731
752
  user_linking_mode?: "builtin" | "off" | undefined;
732
753
  };
733
754
  };
@@ -828,6 +849,9 @@ export declare const clientRoutes: OpenAPIHono<{
828
849
  registration_metadata?: {
829
850
  [x: string]: any;
830
851
  } | undefined;
852
+ token_exchange?: {
853
+ allow_any_profile_of_type?: "custom_authentication"[] | undefined;
854
+ } | undefined;
831
855
  user_linking_mode?: "builtin" | "off" | undefined;
832
856
  };
833
857
  outputFormat: "json";
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16
16
  body: string;
17
17
  from: string;
18
18
  subject: string;
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
33
33
  };
34
34
  } & {
35
35
  json: {
36
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
36
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
37
37
  body: string;
38
38
  from: string;
39
39
  subject: string;
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
45
45
  };
46
46
  };
47
47
  output: {
48
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
48
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
49
49
  body: string;
50
50
  from: string;
51
51
  subject: string;
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
68
68
  };
69
69
  };
70
70
  output: {
71
- name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
71
+ name: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
72
72
  body: string;
73
73
  subject: string;
74
74
  }[];
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
81
81
  $get: {
82
82
  input: {
83
83
  param: {
84
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
84
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
85
85
  };
86
86
  } & {
87
87
  header: {
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
94
94
  } | {
95
95
  input: {
96
96
  param: {
97
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
97
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
98
98
  };
99
99
  } & {
100
100
  header: {
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
102
102
  };
103
103
  };
104
104
  output: {
105
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
105
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
106
106
  body: string;
107
107
  from: string;
108
108
  subject: string;
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
121
121
  $put: {
122
122
  input: {
123
123
  param: {
124
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
124
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
125
125
  };
126
126
  } & {
127
127
  header: {
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
129
129
  };
130
130
  } & {
131
131
  json: {
132
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
132
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
133
133
  body: string;
134
134
  subject: string;
135
135
  syntax?: "liquid" | undefined;
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
141
141
  };
142
142
  };
143
143
  output: {
144
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
144
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
145
145
  body: string;
146
146
  from: string;
147
147
  subject: string;
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
160
160
  $patch: {
161
161
  input: {
162
162
  param: {
163
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
163
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
164
164
  };
165
165
  } & {
166
166
  header: {
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
168
168
  };
169
169
  } & {
170
170
  json: {
171
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
171
+ template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
172
172
  body?: string | undefined;
173
173
  from?: string | undefined;
174
174
  subject?: string | undefined;
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
185
185
  } | {
186
186
  input: {
187
187
  param: {
188
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
188
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
189
189
  };
190
190
  } & {
191
191
  header: {
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
193
193
  };
194
194
  } & {
195
195
  json: {
196
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
196
+ template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
197
197
  body?: string | undefined;
198
198
  from?: string | undefined;
199
199
  subject?: string | undefined;
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
205
205
  };
206
206
  };
207
207
  output: {
208
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
208
+ template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
209
209
  body: string;
210
210
  from: string;
211
211
  subject: string;
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
224
224
  $delete: {
225
225
  input: {
226
226
  param: {
227
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
227
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
228
228
  };
229
229
  } & {
230
230
  header: {
@@ -233,11 +233,11 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
233
233
  };
234
234
  output: {};
235
235
  outputFormat: string;
236
- status: 204;
236
+ status: 404;
237
237
  } | {
238
238
  input: {
239
239
  param: {
240
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
240
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
241
241
  };
242
242
  } & {
243
243
  header: {
@@ -246,7 +246,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
246
246
  };
247
247
  output: {};
248
248
  outputFormat: string;
249
- status: 404;
249
+ status: 204;
250
250
  };
251
251
  };
252
252
  } & {
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
254
254
  $post: {
255
255
  input: {
256
256
  param: {
257
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
257
+ templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
258
258
  };
259
259
  } & {
260
260
  header: {
@@ -109,7 +109,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
109
109
  };
110
110
  output: {};
111
111
  outputFormat: string;
112
- status: 204;
112
+ status: 404;
113
113
  } | {
114
114
  input: {
115
115
  header: {
@@ -118,7 +118,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
118
118
  };
119
119
  output: {};
120
120
  outputFormat: string;
121
- status: 404;
121
+ status: 204;
122
122
  };
123
123
  };
124
124
  }, "/">;
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
30
30
  log_type: string;
31
31
  category: "user_action" | "admin_action" | "system" | "api";
32
32
  actor: {
33
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
33
+ type: "client_credentials" | "api_key" | "user" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -136,6 +136,8 @@ export declare const formsRoutes: OpenAPIHono<{
136
136
  type: "NEXT_BUTTON";
137
137
  config: {
138
138
  text?: string | undefined;
139
+ variant?: "primary" | "secondary" | undefined;
140
+ skip_validation?: boolean | undefined;
139
141
  };
140
142
  order?: number | undefined;
141
143
  category?: "BLOCK" | undefined;
@@ -743,6 +745,8 @@ export declare const formsRoutes: OpenAPIHono<{
743
745
  type: "NEXT_BUTTON";
744
746
  config: {
745
747
  text?: string | undefined;
748
+ variant?: "primary" | "secondary" | undefined;
749
+ skip_validation?: boolean | undefined;
746
750
  };
747
751
  order?: number | undefined;
748
752
  category?: "BLOCK" | undefined;
@@ -1366,6 +1370,8 @@ export declare const formsRoutes: OpenAPIHono<{
1366
1370
  type: "NEXT_BUTTON";
1367
1371
  config: {
1368
1372
  text?: string | undefined;
1373
+ variant?: "primary" | "secondary" | undefined;
1374
+ skip_validation?: boolean | undefined;
1369
1375
  };
1370
1376
  order?: number | undefined;
1371
1377
  category?: "BLOCK" | undefined;
@@ -1993,6 +1999,8 @@ export declare const formsRoutes: OpenAPIHono<{
1993
1999
  type: "NEXT_BUTTON";
1994
2000
  config: {
1995
2001
  text?: string | undefined;
2002
+ variant?: "primary" | "secondary" | undefined;
2003
+ skip_validation?: boolean | undefined;
1996
2004
  };
1997
2005
  order?: number | undefined;
1998
2006
  visible?: boolean | undefined;
@@ -2595,6 +2603,8 @@ export declare const formsRoutes: OpenAPIHono<{
2595
2603
  type: "NEXT_BUTTON";
2596
2604
  config: {
2597
2605
  text?: string | undefined;
2606
+ variant?: "primary" | "secondary" | undefined;
2607
+ skip_validation?: boolean | undefined;
2598
2608
  };
2599
2609
  order?: number | undefined;
2600
2610
  category?: "BLOCK" | undefined;
@@ -3201,6 +3211,8 @@ export declare const formsRoutes: OpenAPIHono<{
3201
3211
  type: "NEXT_BUTTON";
3202
3212
  config: {
3203
3213
  text?: string | undefined;
3214
+ variant?: "primary" | "secondary" | undefined;
3215
+ skip_validation?: boolean | undefined;
3204
3216
  };
3205
3217
  order?: number | undefined;
3206
3218
  visible?: boolean | undefined;
@@ -3803,6 +3815,8 @@ export declare const formsRoutes: OpenAPIHono<{
3803
3815
  type: "NEXT_BUTTON";
3804
3816
  config: {
3805
3817
  text?: string | undefined;
3818
+ variant?: "primary" | "secondary" | undefined;
3819
+ skip_validation?: boolean | undefined;
3806
3820
  };
3807
3821
  order?: number | undefined;
3808
3822
  category?: "BLOCK" | undefined;
@@ -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<(("length" | "total" | "next" | "start" | "limit") & keyof T extends never ? {
26
+ export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("length" | "start" | "next" | "limit" | "total") & keyof T extends never ? {
27
27
  start: z.ZodNumber;
28
28
  limit: z.ZodNumber;
29
29
  length: z.ZodNumber;
@@ -290,7 +290,7 @@ export declare const hooksRoutes: OpenAPIHono<{
290
290
  };
291
291
  output: {};
292
292
  outputFormat: string;
293
- status: 400;
293
+ status: 404;
294
294
  } | {
295
295
  input: {
296
296
  param: {
@@ -305,7 +305,7 @@ export declare const hooksRoutes: OpenAPIHono<{
305
305
  };
306
306
  output: {};
307
307
  outputFormat: string;
308
- status: 404;
308
+ status: 400;
309
309
  } | {
310
310
  input: {
311
311
  param: {
@@ -510,7 +510,7 @@ export declare const hooksRoutes: OpenAPIHono<{
510
510
  };
511
511
  output: {};
512
512
  outputFormat: string;
513
- status: 400;
513
+ status: 404;
514
514
  } | {
515
515
  input: {
516
516
  param: {
@@ -527,7 +527,7 @@ export declare const hooksRoutes: OpenAPIHono<{
527
527
  };
528
528
  output: {};
529
529
  outputFormat: string;
530
- status: 404;
530
+ status: 400;
531
531
  } | {
532
532
  input: {
533
533
  param: {