authhero 9.36.0 → 9.38.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 (92) 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-ce8560f6.entry.js → p-32247347.entry.js} +1 -1
  4. package/dist/assets/u/widget/p-3f908508.entry.js +1 -0
  5. package/dist/assets/u/widget/p-Wx4M-olY.js +2 -0
  6. package/dist/authhero.cjs +165 -141
  7. package/dist/authhero.d.ts +633 -331
  8. package/dist/authhero.mjs +19149 -16716
  9. package/dist/{mfa-DPwn1ajo.js → mfa-DBhvi2B5.js} +1 -1
  10. package/dist/{mfa-B044FRjD.mjs → mfa-DnCary4g.mjs} +19 -19
  11. package/dist/{mfa-attempts-DGOLb2oh.mjs → mfa-attempts-BK-gWrgJ.mjs} +5161 -5045
  12. package/dist/mfa-attempts-C5kobAHS.js +275 -0
  13. package/dist/{passkey-enrollment-BDboqoaP.js → passkey-enrollment-CmKahPq7.js} +1 -1
  14. package/dist/tsconfig.types.tsbuildinfo +1 -1
  15. package/dist/types/authentication-flows/email-verification.d.ts +1 -1
  16. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  17. package/dist/types/generated/locale-types.d.ts +87 -0
  18. package/dist/types/helpers/anchor-client.d.ts +16 -0
  19. package/dist/types/helpers/database-connection-scope.d.ts +48 -18
  20. package/dist/types/helpers/dcr/audience-policy.d.ts +13 -0
  21. package/dist/types/helpers/dcr/client-registration.d.ts +81 -0
  22. package/dist/types/helpers/dcr/constraint-enforcement.d.ts +1 -0
  23. package/dist/types/helpers/dcr/metadata-mapping.d.ts +18 -1
  24. package/dist/types/helpers/dcr/mint-iat.d.ts +4 -1
  25. package/dist/types/helpers/dcr/mint-token.d.ts +4 -0
  26. package/dist/types/helpers/dcr/presets.d.ts +34 -0
  27. package/dist/types/helpers/dcr/uri-policy.d.ts +34 -0
  28. package/dist/types/helpers/default-destinations.d.ts +14 -0
  29. package/dist/types/helpers/firehose-client.d.ts +29 -0
  30. package/dist/types/helpers/outbox-destinations/log-streams.d.ts +21 -1
  31. package/dist/types/helpers/password-connection.d.ts +3 -1
  32. package/dist/types/helpers/prompt-partials.d.ts +1 -1
  33. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  34. package/dist/types/helpers/run-outbox-relay.d.ts +9 -2
  35. package/dist/types/helpers/self-service-tickets.d.ts +34 -0
  36. package/dist/types/helpers/users.d.ts +17 -2
  37. package/dist/types/index.d.ts +565 -271
  38. package/dist/types/routes/auth-api/authenticate.d.ts +1 -1
  39. package/dist/types/routes/auth-api/dbconnections.d.ts +2 -2
  40. package/dist/types/routes/auth-api/index.d.ts +38 -23
  41. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  42. package/dist/types/routes/auth-api/register/index.d.ts +15 -0
  43. package/dist/types/routes/auth-api/token.d.ts +10 -10
  44. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  45. package/dist/types/routes/management-api/actions.d.ts +9 -9
  46. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  47. package/dist/types/routes/management-api/branding-preview.d.ts +9 -1
  48. package/dist/types/routes/management-api/branding.d.ts +105 -1
  49. package/dist/types/routes/management-api/client-registration-tokens.d.ts +149 -0
  50. package/dist/types/routes/management-api/clients.d.ts +8 -8
  51. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  52. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  53. package/dist/types/routes/management-api/emails.d.ts +2 -2
  54. package/dist/types/routes/management-api/failed-events.d.ts +4 -4
  55. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  56. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  57. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  58. package/dist/types/routes/management-api/hooks.d.ts +4 -4
  59. package/dist/types/routes/management-api/index.d.ts +482 -233
  60. package/dist/types/routes/management-api/keys.d.ts +4 -4
  61. package/dist/types/routes/management-api/log-streams.d.ts +12 -12
  62. package/dist/types/routes/management-api/logs.d.ts +4 -4
  63. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  64. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  65. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  66. package/dist/types/routes/management-api/roles.d.ts +1 -1
  67. package/dist/types/routes/management-api/self-service-profiles.d.ts +7 -7
  68. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
  69. package/dist/types/routes/management-api/tenants.d.ts +29 -29
  70. package/dist/types/routes/management-api/themes.d.ts +69 -0
  71. package/dist/types/routes/management-api/users.d.ts +16 -16
  72. package/dist/types/routes/universal-login/common.d.ts +52 -0
  73. package/dist/types/routes/universal-login/dark-theme.d.ts +25 -0
  74. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  75. package/dist/types/routes/universal-login/form-node.d.ts +4 -4
  76. package/dist/types/routes/universal-login/index.d.ts +4 -4
  77. package/dist/types/routes/universal-login/legal-links.d.ts +18 -0
  78. package/dist/types/routes/universal-login/screen-prompt-map.d.ts +31 -0
  79. package/dist/types/routes/universal-login/screens/connect-authz.d.ts +9 -0
  80. package/dist/types/routes/universal-login/screens/login-partials.d.ts +9 -1
  81. package/dist/types/routes/universal-login/screens/self-service-app.d.ts +46 -0
  82. package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
  83. package/dist/types/routes/universal-login/u2-index.d.ts +35 -5
  84. package/dist/types/routes/universal-login/u2-routes.d.ts +35 -5
  85. package/dist/types/routes/universal-login/u2-widget-page.d.ts +6 -1
  86. package/dist/types/routes/universal-login/universal-login-template.d.ts +1 -0
  87. package/dist/types/state-machines/login-session.d.ts +19 -1
  88. package/dist/types/types/Bindings.d.ts +2 -0
  89. package/package.json +7 -6
  90. package/dist/assets/u/widget/p-FUW5zvoZ.js +0 -2
  91. package/dist/assets/u/widget/p-c6ec4c36.entry.js +0 -1
  92. package/dist/mfa-attempts-BiU_pMOV.js +0 -275
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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?: "verify_email" | "change_password" | "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" | "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;
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: "verify_email" | "change_password" | "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" | "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";
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?: "verify_email" | "change_password" | "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" | "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;
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
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: "verify_email" | "change_password" | "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" | "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";
258
258
  };
259
259
  } & {
260
260
  header: {
@@ -127,7 +127,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
127
127
  };
128
128
  output: {};
129
129
  outputFormat: string;
130
- status: 204;
130
+ status: 404;
131
131
  } | {
132
132
  input: {
133
133
  header: {
@@ -136,7 +136,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
136
136
  };
137
137
  output: {};
138
138
  outputFormat: string;
139
- status: 404;
139
+ status: 204;
140
140
  };
141
141
  };
142
142
  }, "/">;
@@ -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" | "system" | "admin" | "api_key" | "client_credentials";
33
+ type: "user" | "client_credentials" | "api_key" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -134,7 +134,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
134
134
  log_type: string;
135
135
  category: "user_action" | "admin_action" | "system" | "api";
136
136
  actor: {
137
- type: "user" | "system" | "admin" | "api_key" | "client_credentials";
137
+ type: "user" | "client_credentials" | "api_key" | "system" | "admin";
138
138
  id?: string | undefined;
139
139
  email?: string | undefined;
140
140
  org_id?: string | undefined;
@@ -320,7 +320,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
320
320
  };
321
321
  output: {};
322
322
  outputFormat: string;
323
- status: 204;
323
+ status: 404;
324
324
  } | {
325
325
  input: {
326
326
  param: {
@@ -333,7 +333,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
333
333
  };
334
334
  output: {};
335
335
  outputFormat: string;
336
- status: 404;
336
+ status: 204;
337
337
  };
338
338
  };
339
339
  }, "/">;
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
12
12
  };
13
13
  };
14
14
  output: {
15
- name: "otp" | "email" | "sms" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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<(("length" | "next" | "start" | "limit" | "total") & keyof T extends never ? {
26
+ export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("start" | "length" | "next" | "limit" | "total") & keyof T extends never ? {
27
27
  start: z.ZodNumber;
28
28
  limit: z.ZodNumber;
29
29
  length: z.ZodNumber;
@@ -22,7 +22,7 @@ export declare const hookCodeRoutes: OpenAPIHono<{
22
22
  tenant_id: string;
23
23
  created_at: string;
24
24
  updated_at: string;
25
- deploymentStatus: "deployed" | "failed" | "not_required";
25
+ deploymentStatus: "failed" | "deployed" | "not_required";
26
26
  secrets?: {
27
27
  [x: string]: string;
28
28
  } | undefined;
@@ -112,7 +112,7 @@ export declare const hookCodeRoutes: OpenAPIHono<{
112
112
  tenant_id: string;
113
113
  created_at: string;
114
114
  updated_at: string;
115
- deploymentStatus: "deployed" | "failed" | "not_required";
115
+ deploymentStatus: "failed" | "deployed" | "not_required";
116
116
  secrets?: {
117
117
  [x: string]: string;
118
118
  } | undefined;
@@ -429,7 +429,7 @@ export declare const hooksRoutes: OpenAPIHono<{
429
429
  };
430
430
  output: {};
431
431
  outputFormat: string;
432
- status: 400;
432
+ status: 404;
433
433
  } | {
434
434
  input: {
435
435
  param: {
@@ -444,7 +444,7 @@ export declare const hooksRoutes: OpenAPIHono<{
444
444
  };
445
445
  output: {};
446
446
  outputFormat: string;
447
- status: 404;
447
+ status: 400;
448
448
  } | {
449
449
  input: {
450
450
  param: {
@@ -679,7 +679,7 @@ export declare const hooksRoutes: OpenAPIHono<{
679
679
  };
680
680
  output: {};
681
681
  outputFormat: string;
682
- status: 400;
682
+ status: 404;
683
683
  } | {
684
684
  input: {
685
685
  param: {
@@ -696,7 +696,7 @@ export declare const hooksRoutes: OpenAPIHono<{
696
696
  };
697
697
  output: {};
698
698
  outputFormat: string;
699
- status: 404;
699
+ status: 400;
700
700
  } | {
701
701
  input: {
702
702
  param: {