authhero 9.41.0 → 9.43.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 (74) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +114 -111
  3. package/dist/authhero.d.ts +534 -272
  4. package/dist/authhero.mjs +16200 -12462
  5. package/dist/{mfa-Dx8-AJ6U.js → mfa-C8qBEQeH.js} +2 -2
  6. package/dist/{mfa-CdC-9ysu.mjs → mfa-CVF4Wbdz.mjs} +115 -115
  7. package/dist/mfa-attempts-CzGjIGzD.js +395 -0
  8. package/dist/{mfa-attempts-mBkfX0wf.mjs → mfa-attempts-sV0Xs59R.mjs} +5151 -4696
  9. package/dist/{passkey-enrollment-KQcVF_QM.js → passkey-enrollment-CAb2zWEF.js} +1 -1
  10. package/dist/tsconfig.types.tsbuildinfo +1 -1
  11. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  12. package/dist/types/helpers/client.d.ts +26 -0
  13. package/dist/types/helpers/login-migration.d.ts +56 -0
  14. package/dist/types/helpers/login-version.d.ts +18 -0
  15. package/dist/types/helpers/management-audience.d.ts +11 -0
  16. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  17. package/dist/types/helpers/saml-connection-options.d.ts +24 -0
  18. package/dist/types/helpers/saml-request-signature.d.ts +36 -0
  19. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  20. package/dist/types/index.d.ts +490 -271
  21. package/dist/types/routes/auth-api/authorize.d.ts +13 -13
  22. package/dist/types/routes/auth-api/callback.d.ts +42 -6
  23. package/dist/types/routes/auth-api/device.d.ts +21 -21
  24. package/dist/types/routes/auth-api/index.d.ts +113 -77
  25. package/dist/types/routes/auth-api/logout.d.ts +2 -2
  26. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  27. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  28. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  29. package/dist/types/routes/auth-api/token.d.ts +12 -12
  30. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  31. package/dist/types/routes/management-api/action-triggers.d.ts +2 -2
  32. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  33. package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
  34. package/dist/types/routes/management-api/branding.d.ts +19 -19
  35. package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
  36. package/dist/types/routes/management-api/clients.d.ts +38 -8
  37. package/dist/types/routes/management-api/connections.d.ts +90 -0
  38. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  39. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  40. package/dist/types/routes/management-api/failed-events.d.ts +4 -4
  41. package/dist/types/routes/management-api/forms.d.ts +8 -8
  42. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  43. package/dist/types/routes/management-api/hooks.d.ts +21 -21
  44. package/dist/types/routes/management-api/index.d.ts +287 -167
  45. package/dist/types/routes/management-api/keys.d.ts +12 -12
  46. package/dist/types/routes/management-api/log-streams.d.ts +12 -12
  47. package/dist/types/routes/management-api/logs.d.ts +4 -4
  48. package/dist/types/routes/management-api/organizations.d.ts +6 -6
  49. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  50. package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
  51. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  52. package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
  53. package/dist/types/routes/management-api/tenants.d.ts +27 -23
  54. package/dist/types/routes/management-api/themes.d.ts +9 -9
  55. package/dist/types/routes/management-api/users.d.ts +26 -26
  56. package/dist/types/routes/saml/index.d.ts +72 -9
  57. package/dist/types/routes/saml/samlp.d.ts +72 -9
  58. package/dist/types/routes/universal-login/common.d.ts +12 -10
  59. package/dist/types/routes/universal-login/continue.d.ts +4 -4
  60. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  61. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  62. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  63. package/dist/types/routes/universal-login/index.d.ts +8 -8
  64. package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
  65. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  66. package/dist/types/state-machines/login-session.d.ts +1 -1
  67. package/dist/types/strategies/index.d.ts +2 -0
  68. package/dist/types/strategies/samlp.d.ts +58 -0
  69. package/dist/types/types/AuthHeroConfig.d.ts +15 -1
  70. package/dist/types/types/Bindings.d.ts +2 -1
  71. package/dist/types/utils/ssrf-fetch.d.ts +2 -0
  72. package/dist/types/variables.d.ts +7 -6
  73. package/package.json +9 -6
  74. package/dist/mfa-attempts-CtWWceg2.js +0 -393
@@ -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: {
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
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: {
@@ -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: {
@@ -28,9 +28,9 @@ export declare const failedEventsRoutes: OpenAPIHono<{
28
28
  tenant_id: string;
29
29
  event_type: string;
30
30
  log_type: string;
31
- category: "api" | "user_action" | "admin_action" | "system";
31
+ category: "user_action" | "admin_action" | "system" | "api";
32
32
  actor: {
33
- type: "user" | "system" | "client_credentials" | "admin" | "api_key";
33
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -132,9 +132,9 @@ export declare const failedEventsRoutes: OpenAPIHono<{
132
132
  tenant_id: string;
133
133
  event_type: string;
134
134
  log_type: string;
135
- category: "api" | "user_action" | "admin_action" | "system";
135
+ category: "user_action" | "admin_action" | "system" | "api";
136
136
  actor: {
137
- type: "user" | "system" | "client_credentials" | "admin" | "api_key";
137
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
138
138
  id?: string | undefined;
139
139
  email?: string | undefined;
140
140
  org_id?: string | undefined;
@@ -572,7 +572,7 @@ export declare const formsRoutes: OpenAPIHono<{
572
572
  max_length?: number | undefined;
573
573
  default_value?: string | undefined;
574
574
  autocomplete?: string | undefined;
575
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
575
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
576
576
  last_used?: boolean | undefined;
577
577
  last_used_label?: string | undefined;
578
578
  } | undefined;
@@ -1185,7 +1185,7 @@ export declare const formsRoutes: OpenAPIHono<{
1185
1185
  max_length?: number | undefined;
1186
1186
  default_value?: string | undefined;
1187
1187
  autocomplete?: string | undefined;
1188
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
1188
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
1189
1189
  last_used?: boolean | undefined;
1190
1190
  last_used_label?: string | undefined;
1191
1191
  } | undefined;
@@ -1798,7 +1798,7 @@ export declare const formsRoutes: OpenAPIHono<{
1798
1798
  max_length?: number | undefined;
1799
1799
  default_value?: string | undefined;
1800
1800
  autocomplete?: string | undefined;
1801
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
1801
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
1802
1802
  last_used?: boolean | undefined;
1803
1803
  last_used_label?: string | undefined;
1804
1804
  } | undefined;
@@ -2426,7 +2426,7 @@ export declare const formsRoutes: OpenAPIHono<{
2426
2426
  max_length?: number | undefined;
2427
2427
  default_value?: string | undefined;
2428
2428
  autocomplete?: string | undefined;
2429
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
2429
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
2430
2430
  last_used?: boolean | undefined;
2431
2431
  last_used_label?: string | undefined;
2432
2432
  } | undefined;
@@ -3056,7 +3056,7 @@ export declare const formsRoutes: OpenAPIHono<{
3056
3056
  max_length?: number | undefined;
3057
3057
  default_value?: string | undefined;
3058
3058
  autocomplete?: string | undefined;
3059
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
3059
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
3060
3060
  last_used?: boolean | undefined;
3061
3061
  last_used_label?: string | undefined;
3062
3062
  } | undefined;
@@ -3667,7 +3667,7 @@ export declare const formsRoutes: OpenAPIHono<{
3667
3667
  max_length?: number | undefined;
3668
3668
  default_value?: string | undefined;
3669
3669
  autocomplete?: string | undefined;
3670
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
3670
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
3671
3671
  last_used?: boolean | undefined;
3672
3672
  last_used_label?: string | undefined;
3673
3673
  } | undefined;
@@ -4276,7 +4276,7 @@ export declare const formsRoutes: OpenAPIHono<{
4276
4276
  max_length?: number | undefined;
4277
4277
  default_value?: string | undefined;
4278
4278
  autocomplete?: string | undefined;
4279
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
4279
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
4280
4280
  last_used?: boolean | undefined;
4281
4281
  last_used_label?: string | undefined;
4282
4282
  } | undefined;
@@ -4887,7 +4887,7 @@ export declare const formsRoutes: OpenAPIHono<{
4887
4887
  max_length?: number | undefined;
4888
4888
  default_value?: string | undefined;
4889
4889
  autocomplete?: string | undefined;
4890
- input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
4890
+ input_mode?: "url" | "email" | "text" | "search" | "numeric" | "decimal" | "tel" | undefined;
4891
4891
  last_used?: boolean | undefined;
4892
4892
  last_used_label?: string | undefined;
4893
4893
  } | undefined;
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
12
12
  };
13
13
  };
14
14
  output: {
15
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
15
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
170
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
178
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
191
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
203
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
204
204
  enabled: boolean;
205
205
  trial_expired?: boolean | undefined;
206
206
  };
@@ -24,7 +24,7 @@ export declare const hooksRoutes: OpenAPIHono<{
24
24
  };
25
25
  };
26
26
  output: ({
27
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
27
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
28
28
  enabled: boolean;
29
29
  synchronous: boolean;
30
30
  created_at: string;
@@ -54,7 +54,7 @@ export declare const hooksRoutes: OpenAPIHono<{
54
54
  [x: string]: import("hono/utils/types").JSONValue;
55
55
  } | undefined;
56
56
  } | {
57
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
57
+ trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
58
58
  enabled: boolean;
59
59
  synchronous: boolean;
60
60
  created_at: string;
@@ -69,7 +69,7 @@ export declare const hooksRoutes: OpenAPIHono<{
69
69
  [x: string]: import("hono/utils/types").JSONValue;
70
70
  } | undefined;
71
71
  } | {
72
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
72
+ 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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
73
73
  enabled: boolean;
74
74
  synchronous: boolean;
75
75
  created_at: string;
@@ -104,7 +104,7 @@ export declare const hooksRoutes: OpenAPIHono<{
104
104
  limit: number;
105
105
  length: number;
106
106
  hooks: ({
107
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
107
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
108
108
  enabled: boolean;
109
109
  synchronous: boolean;
110
110
  created_at: string;
@@ -134,7 +134,7 @@ export declare const hooksRoutes: OpenAPIHono<{
134
134
  [x: string]: import("hono/utils/types").JSONValue;
135
135
  } | undefined;
136
136
  } | {
137
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
137
+ trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
138
138
  enabled: boolean;
139
139
  synchronous: boolean;
140
140
  created_at: string;
@@ -149,7 +149,7 @@ export declare const hooksRoutes: OpenAPIHono<{
149
149
  [x: string]: import("hono/utils/types").JSONValue;
150
150
  } | undefined;
151
151
  } | {
152
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
152
+ 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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
153
153
  enabled: boolean;
154
154
  synchronous: boolean;
155
155
  created_at: string;
@@ -184,7 +184,7 @@ export declare const hooksRoutes: OpenAPIHono<{
184
184
  next?: string | undefined;
185
185
  } | {
186
186
  hooks: ({
187
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
187
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
188
188
  enabled: boolean;
189
189
  synchronous: boolean;
190
190
  created_at: string;
@@ -214,7 +214,7 @@ export declare const hooksRoutes: OpenAPIHono<{
214
214
  [x: string]: import("hono/utils/types").JSONValue;
215
215
  } | undefined;
216
216
  } | {
217
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
217
+ trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
218
218
  enabled: boolean;
219
219
  synchronous: boolean;
220
220
  created_at: string;
@@ -229,7 +229,7 @@ export declare const hooksRoutes: OpenAPIHono<{
229
229
  [x: string]: import("hono/utils/types").JSONValue;
230
230
  } | undefined;
231
231
  } | {
232
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
232
+ 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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
233
233
  enabled: boolean;
234
234
  synchronous: boolean;
235
235
  created_at: string;
@@ -275,7 +275,7 @@ export declare const hooksRoutes: OpenAPIHono<{
275
275
  };
276
276
  } & {
277
277
  json: {
278
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
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
280
  scope?: "local" | "shared" | "platform" | undefined;
281
281
  override?: "none" | "secrets" | "fields" | undefined;
@@ -297,7 +297,7 @@ export declare const hooksRoutes: OpenAPIHono<{
297
297
  hook_id?: string | undefined;
298
298
  metadata?: Record<string, unknown> | undefined;
299
299
  } | {
300
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
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
302
  scope?: "local" | "shared" | "platform" | undefined;
303
303
  override?: "none" | "secrets" | "fields" | undefined;
@@ -308,7 +308,7 @@ export declare const hooksRoutes: OpenAPIHono<{
308
308
  hook_id?: string | undefined;
309
309
  metadata?: Record<string, unknown> | undefined;
310
310
  } | {
311
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
312
312
  code_id: string;
313
313
  scope?: "local" | "shared" | "platform" | undefined;
314
314
  override?: "none" | "secrets" | "fields" | undefined;
@@ -333,7 +333,7 @@ export declare const hooksRoutes: OpenAPIHono<{
333
333
  };
334
334
  };
335
335
  output: {
336
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
336
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
337
337
  enabled: boolean;
338
338
  synchronous: boolean;
339
339
  created_at: string;
@@ -363,7 +363,7 @@ export declare const hooksRoutes: OpenAPIHono<{
363
363
  [x: string]: import("hono/utils/types").JSONValue;
364
364
  } | undefined;
365
365
  } | {
366
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
366
+ trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
367
367
  enabled: boolean;
368
368
  synchronous: boolean;
369
369
  created_at: string;
@@ -378,7 +378,7 @@ export declare const hooksRoutes: OpenAPIHono<{
378
378
  [x: string]: import("hono/utils/types").JSONValue;
379
379
  } | undefined;
380
380
  } | {
381
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
381
+ 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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
382
382
  enabled: boolean;
383
383
  synchronous: boolean;
384
384
  created_at: string;
@@ -458,7 +458,7 @@ export declare const hooksRoutes: OpenAPIHono<{
458
458
  json: unknown;
459
459
  };
460
460
  output: {
461
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
461
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
462
462
  enabled: boolean;
463
463
  synchronous: boolean;
464
464
  created_at: string;
@@ -488,7 +488,7 @@ export declare const hooksRoutes: OpenAPIHono<{
488
488
  [x: string]: import("hono/utils/types").JSONValue;
489
489
  } | undefined;
490
490
  } | {
491
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
491
+ trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
492
492
  enabled: boolean;
493
493
  synchronous: boolean;
494
494
  created_at: string;
@@ -503,7 +503,7 @@ export declare const hooksRoutes: OpenAPIHono<{
503
503
  [x: string]: import("hono/utils/types").JSONValue;
504
504
  } | undefined;
505
505
  } | {
506
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
506
+ 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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
507
507
  enabled: boolean;
508
508
  synchronous: boolean;
509
509
  created_at: string;
@@ -564,7 +564,7 @@ export declare const hooksRoutes: OpenAPIHono<{
564
564
  };
565
565
  };
566
566
  output: {
567
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
567
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
568
568
  enabled: boolean;
569
569
  synchronous: boolean;
570
570
  created_at: string;
@@ -594,7 +594,7 @@ export declare const hooksRoutes: OpenAPIHono<{
594
594
  [x: string]: import("hono/utils/types").JSONValue;
595
595
  } | undefined;
596
596
  } | {
597
- trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
597
+ trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
598
598
  enabled: boolean;
599
599
  synchronous: boolean;
600
600
  created_at: string;
@@ -609,7 +609,7 @@ export declare const hooksRoutes: OpenAPIHono<{
609
609
  [x: string]: import("hono/utils/types").JSONValue;
610
610
  } | undefined;
611
611
  } | {
612
- trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
612
+ 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" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
613
613
  enabled: boolean;
614
614
  synchronous: boolean;
615
615
  created_at: string;