authhero 8.21.0 → 8.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +142 -142
  3. package/dist/authhero.d.ts +529 -276
  4. package/dist/authhero.mjs +22201 -17447
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +7 -7
  7. package/dist/types/errors/is-http-exception-like.d.ts +11 -0
  8. package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
  9. package/dist/types/index.d.ts +407 -273
  10. package/dist/types/routes/auth-api/account.d.ts +2 -2
  11. package/dist/types/routes/auth-api/authorize.d.ts +14 -14
  12. package/dist/types/routes/auth-api/index.d.ts +46 -46
  13. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  14. package/dist/types/routes/auth-api/passwordless.d.ts +18 -18
  15. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  16. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  17. package/dist/types/routes/auth-api/well-known.d.ts +2 -2
  18. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  19. package/dist/types/routes/management-api/actions.d.ts +1 -1
  20. package/dist/types/routes/management-api/branding.d.ts +1 -1
  21. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  22. package/dist/types/routes/management-api/clients.d.ts +110 -15
  23. package/dist/types/routes/management-api/connections.d.ts +21 -21
  24. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  25. package/dist/types/routes/management-api/flows.d.ts +7 -7
  26. package/dist/types/routes/management-api/forms.d.ts +126 -126
  27. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  28. package/dist/types/routes/management-api/index.d.ts +353 -220
  29. package/dist/types/routes/management-api/logs.d.ts +41 -3
  30. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  31. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  32. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  33. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  34. package/dist/types/routes/management-api/users.d.ts +2 -2
  35. package/dist/types/routes/proxy-control-plane/wfp-tenant-hosts.d.ts +122 -0
  36. package/dist/types/routes/proxy-control-plane/wfp-tenant-hosts.test.d.ts +1 -0
  37. package/dist/types/routes/universal-login/common.d.ts +10 -10
  38. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  39. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  40. package/dist/types/routes/universal-login/index.d.ts +2 -2
  41. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  42. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  43. package/dist/types/utils/crypto.d.ts +3 -0
  44. package/dist/types/utils/jwks.d.ts +4 -4
  45. package/dist/types/utils/jwt.d.ts +29 -0
  46. package/dist/types/utils/request-origin.d.ts +6 -0
  47. package/dist/types/utils/totp.d.ts +10 -0
  48. package/package.json +6 -7
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
72
72
  addons?: {
73
73
  [x: string]: any;
74
74
  } | undefined;
75
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
75
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
76
76
  client_metadata?: {
77
77
  [x: string]: string;
78
78
  } | undefined;
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
168
168
  addons?: {
169
169
  [x: string]: any;
170
170
  } | undefined;
171
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
171
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
172
172
  client_metadata?: {
173
173
  [x: string]: string;
174
174
  } | undefined;
@@ -214,6 +214,101 @@ export declare const clientRoutes: OpenAPIHono<{
214
214
  }[];
215
215
  total?: number | undefined;
216
216
  next?: string | undefined;
217
+ } | {
218
+ clients: {
219
+ created_at: string;
220
+ updated_at: string;
221
+ name: string;
222
+ global: boolean;
223
+ is_first_party: boolean;
224
+ oidc_conformant: boolean;
225
+ auth0_conformant: boolean;
226
+ sso: boolean;
227
+ sso_disabled: boolean;
228
+ cross_origin_authentication: boolean;
229
+ custom_login_page_on: boolean;
230
+ require_pushed_authorization_requests: boolean;
231
+ require_proof_of_possession: boolean;
232
+ client_id: string;
233
+ description?: string | undefined;
234
+ client_secret?: string | undefined;
235
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
236
+ logo_uri?: string | undefined;
237
+ callbacks?: string[] | undefined;
238
+ allowed_origins?: string[] | undefined;
239
+ web_origins?: string[] | undefined;
240
+ client_aliases?: string[] | undefined;
241
+ allowed_clients?: string[] | undefined;
242
+ connections?: string[] | undefined;
243
+ allowed_logout_urls?: string[] | undefined;
244
+ session_transfer?: {
245
+ [x: string]: any;
246
+ } | undefined;
247
+ oidc_logout?: {
248
+ [x: string]: any;
249
+ } | undefined;
250
+ grant_types?: string[] | undefined;
251
+ jwt_configuration?: {
252
+ [x: string]: any;
253
+ } | undefined;
254
+ signing_keys?: {
255
+ [x: string]: any;
256
+ }[] | undefined;
257
+ encryption_key?: {
258
+ [x: string]: any;
259
+ } | undefined;
260
+ cross_origin_loc?: string | undefined;
261
+ custom_login_page?: string | undefined;
262
+ custom_login_page_preview?: string | undefined;
263
+ form_template?: string | undefined;
264
+ addons?: {
265
+ [x: string]: any;
266
+ } | undefined;
267
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
268
+ client_metadata?: {
269
+ [x: string]: string;
270
+ } | undefined;
271
+ hide_sign_up_disabled_error?: boolean | undefined;
272
+ mobile?: {
273
+ [x: string]: any;
274
+ } | undefined;
275
+ initiate_login_uri?: string | undefined;
276
+ native_social_login?: {
277
+ [x: string]: any;
278
+ } | undefined;
279
+ refresh_token?: {
280
+ rotation_type?: "rotating" | "non-rotating" | undefined;
281
+ leeway?: number | undefined;
282
+ expiration_type?: "expiring" | "non-expiring" | undefined;
283
+ token_lifetime?: number | undefined;
284
+ infinite_token_lifetime?: boolean | undefined;
285
+ idle_token_lifetime?: number | undefined;
286
+ infinite_idle_token_lifetime?: boolean | undefined;
287
+ } | undefined;
288
+ default_organization?: {
289
+ [x: string]: any;
290
+ } | undefined;
291
+ organization_usage?: "deny" | "allow" | "require" | undefined;
292
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
293
+ client_authentication_methods?: {
294
+ [x: string]: any;
295
+ } | undefined;
296
+ signed_request_object?: {
297
+ [x: string]: any;
298
+ } | undefined;
299
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
300
+ par_request_expiry?: number | undefined;
301
+ token_quota?: {
302
+ [x: string]: any;
303
+ } | undefined;
304
+ owner_user_id?: string | undefined;
305
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
306
+ registration_metadata?: {
307
+ [x: string]: any;
308
+ } | undefined;
309
+ user_linking_mode?: "builtin" | "off" | undefined;
310
+ }[];
311
+ next?: string | undefined;
217
312
  };
218
313
  outputFormat: "json";
219
314
  status: 200;
@@ -280,7 +375,7 @@ export declare const clientRoutes: OpenAPIHono<{
280
375
  addons?: {
281
376
  [x: string]: any;
282
377
  } | undefined;
283
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
378
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
284
379
  client_metadata?: {
285
380
  [x: string]: string;
286
381
  } | undefined;
@@ -390,7 +485,7 @@ export declare const clientRoutes: OpenAPIHono<{
390
485
  custom_login_page_preview?: string | undefined;
391
486
  form_template?: string | undefined;
392
487
  addons?: Record<string, any> | undefined;
393
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
488
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
394
489
  client_metadata?: Record<string, string> | undefined;
395
490
  hide_sign_up_disabled_error?: boolean | undefined;
396
491
  mobile?: Record<string, any> | undefined;
@@ -470,7 +565,7 @@ export declare const clientRoutes: OpenAPIHono<{
470
565
  addons?: {
471
566
  [x: string]: any;
472
567
  } | undefined;
473
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
568
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
474
569
  client_metadata?: {
475
570
  [x: string]: string;
476
571
  } | undefined;
@@ -559,7 +654,7 @@ export declare const clientRoutes: OpenAPIHono<{
559
654
  custom_login_page_preview?: string | undefined;
560
655
  form_template?: string | undefined;
561
656
  addons?: Record<string, any> | undefined;
562
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
657
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
563
658
  client_metadata?: Record<string, string> | undefined;
564
659
  hide_sign_up_disabled_error?: boolean | undefined;
565
660
  mobile?: Record<string, any> | undefined;
@@ -639,7 +734,7 @@ export declare const clientRoutes: OpenAPIHono<{
639
734
  addons?: {
640
735
  [x: string]: any;
641
736
  } | undefined;
642
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
737
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
643
738
  client_metadata?: {
644
739
  [x: string]: string;
645
740
  } | undefined;
@@ -761,7 +856,7 @@ export declare const clientRoutes: OpenAPIHono<{
761
856
  active?: boolean | undefined;
762
857
  } | undefined;
763
858
  signup?: {
764
- status?: "required" | "optional" | "disabled" | undefined;
859
+ status?: "optional" | "required" | "disabled" | undefined;
765
860
  verification?: {
766
861
  active?: boolean | undefined;
767
862
  } | undefined;
@@ -771,14 +866,14 @@ export declare const clientRoutes: OpenAPIHono<{
771
866
  } | undefined;
772
867
  unique?: boolean | undefined;
773
868
  profile_required?: boolean | undefined;
774
- verification_method?: "code" | "link" | undefined;
869
+ verification_method?: "link" | "code" | undefined;
775
870
  } | undefined;
776
871
  username?: {
777
872
  identifier?: {
778
873
  active?: boolean | undefined;
779
874
  } | undefined;
780
875
  signup?: {
781
- status?: "required" | "optional" | "disabled" | undefined;
876
+ status?: "optional" | "required" | "disabled" | undefined;
782
877
  } | undefined;
783
878
  validation?: {
784
879
  max_length?: number | undefined;
@@ -795,7 +890,7 @@ export declare const clientRoutes: OpenAPIHono<{
795
890
  active?: boolean | undefined;
796
891
  } | undefined;
797
892
  signup?: {
798
- status?: "required" | "optional" | "disabled" | undefined;
893
+ status?: "optional" | "required" | "disabled" | undefined;
799
894
  } | undefined;
800
895
  } | undefined;
801
896
  } | undefined;
@@ -915,7 +1010,7 @@ export declare const clientRoutes: OpenAPIHono<{
915
1010
  active?: boolean | undefined;
916
1011
  } | undefined;
917
1012
  signup?: {
918
- status?: "required" | "optional" | "disabled" | undefined;
1013
+ status?: "optional" | "required" | "disabled" | undefined;
919
1014
  verification?: {
920
1015
  active?: boolean | undefined;
921
1016
  } | undefined;
@@ -925,14 +1020,14 @@ export declare const clientRoutes: OpenAPIHono<{
925
1020
  } | undefined;
926
1021
  unique?: boolean | undefined;
927
1022
  profile_required?: boolean | undefined;
928
- verification_method?: "code" | "link" | undefined;
1023
+ verification_method?: "link" | "code" | undefined;
929
1024
  } | undefined;
930
1025
  username?: {
931
1026
  identifier?: {
932
1027
  active?: boolean | undefined;
933
1028
  } | undefined;
934
1029
  signup?: {
935
- status?: "required" | "optional" | "disabled" | undefined;
1030
+ status?: "optional" | "required" | "disabled" | undefined;
936
1031
  } | undefined;
937
1032
  validation?: {
938
1033
  max_length?: number | undefined;
@@ -949,7 +1044,7 @@ export declare const clientRoutes: OpenAPIHono<{
949
1044
  active?: boolean | undefined;
950
1045
  } | undefined;
951
1046
  signup?: {
952
- status?: "required" | "optional" | "disabled" | undefined;
1047
+ status?: "optional" | "required" | "disabled" | undefined;
953
1048
  } | undefined;
954
1049
  } | undefined;
955
1050
  } | undefined;
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
82
82
  active?: boolean | undefined;
83
83
  } | undefined;
84
84
  signup?: {
85
- status?: "required" | "optional" | "disabled" | undefined;
85
+ status?: "optional" | "required" | "disabled" | undefined;
86
86
  verification?: {
87
87
  active?: boolean | undefined;
88
88
  } | undefined;
@@ -92,14 +92,14 @@ export declare const connectionRoutes: OpenAPIHono<{
92
92
  } | undefined;
93
93
  unique?: boolean | undefined;
94
94
  profile_required?: boolean | undefined;
95
- verification_method?: "code" | "link" | undefined;
95
+ verification_method?: "link" | "code" | undefined;
96
96
  } | undefined;
97
97
  username?: {
98
98
  identifier?: {
99
99
  active?: boolean | undefined;
100
100
  } | undefined;
101
101
  signup?: {
102
- status?: "required" | "optional" | "disabled" | undefined;
102
+ status?: "optional" | "required" | "disabled" | undefined;
103
103
  } | undefined;
104
104
  validation?: {
105
105
  max_length?: number | undefined;
@@ -116,7 +116,7 @@ export declare const connectionRoutes: OpenAPIHono<{
116
116
  active?: boolean | undefined;
117
117
  } | undefined;
118
118
  signup?: {
119
- status?: "required" | "optional" | "disabled" | undefined;
119
+ status?: "optional" | "required" | "disabled" | undefined;
120
120
  } | undefined;
121
121
  } | undefined;
122
122
  } | undefined;
@@ -216,7 +216,7 @@ export declare const connectionRoutes: OpenAPIHono<{
216
216
  active?: boolean | undefined;
217
217
  } | undefined;
218
218
  signup?: {
219
- status?: "required" | "optional" | "disabled" | undefined;
219
+ status?: "optional" | "required" | "disabled" | undefined;
220
220
  verification?: {
221
221
  active?: boolean | undefined;
222
222
  } | undefined;
@@ -226,14 +226,14 @@ export declare const connectionRoutes: OpenAPIHono<{
226
226
  } | undefined;
227
227
  unique?: boolean | undefined;
228
228
  profile_required?: boolean | undefined;
229
- verification_method?: "code" | "link" | undefined;
229
+ verification_method?: "link" | "code" | undefined;
230
230
  } | undefined;
231
231
  username?: {
232
232
  identifier?: {
233
233
  active?: boolean | undefined;
234
234
  } | undefined;
235
235
  signup?: {
236
- status?: "required" | "optional" | "disabled" | undefined;
236
+ status?: "optional" | "required" | "disabled" | undefined;
237
237
  } | undefined;
238
238
  validation?: {
239
239
  max_length?: number | undefined;
@@ -250,7 +250,7 @@ export declare const connectionRoutes: OpenAPIHono<{
250
250
  active?: boolean | undefined;
251
251
  } | undefined;
252
252
  signup?: {
253
- status?: "required" | "optional" | "disabled" | undefined;
253
+ status?: "optional" | "required" | "disabled" | undefined;
254
254
  } | undefined;
255
255
  } | undefined;
256
256
  } | undefined;
@@ -366,7 +366,7 @@ export declare const connectionRoutes: OpenAPIHono<{
366
366
  active?: boolean | undefined;
367
367
  } | undefined;
368
368
  signup?: {
369
- status?: "required" | "optional" | "disabled" | undefined;
369
+ status?: "optional" | "required" | "disabled" | undefined;
370
370
  verification?: {
371
371
  active?: boolean | undefined;
372
372
  } | undefined;
@@ -376,14 +376,14 @@ export declare const connectionRoutes: OpenAPIHono<{
376
376
  } | undefined;
377
377
  unique?: boolean | undefined;
378
378
  profile_required?: boolean | undefined;
379
- verification_method?: "code" | "link" | undefined;
379
+ verification_method?: "link" | "code" | undefined;
380
380
  } | undefined;
381
381
  username?: {
382
382
  identifier?: {
383
383
  active?: boolean | undefined;
384
384
  } | undefined;
385
385
  signup?: {
386
- status?: "required" | "optional" | "disabled" | undefined;
386
+ status?: "optional" | "required" | "disabled" | undefined;
387
387
  } | undefined;
388
388
  validation?: {
389
389
  max_length?: number | undefined;
@@ -400,7 +400,7 @@ export declare const connectionRoutes: OpenAPIHono<{
400
400
  active?: boolean | undefined;
401
401
  } | undefined;
402
402
  signup?: {
403
- status?: "required" | "optional" | "disabled" | undefined;
403
+ status?: "optional" | "required" | "disabled" | undefined;
404
404
  } | undefined;
405
405
  } | undefined;
406
406
  } | undefined;
@@ -545,7 +545,7 @@ export declare const connectionRoutes: OpenAPIHono<{
545
545
  active?: boolean | undefined;
546
546
  } | undefined;
547
547
  signup?: {
548
- status?: "required" | "optional" | "disabled" | undefined;
548
+ status?: "optional" | "required" | "disabled" | undefined;
549
549
  verification?: {
550
550
  active?: boolean | undefined;
551
551
  } | undefined;
@@ -555,14 +555,14 @@ export declare const connectionRoutes: OpenAPIHono<{
555
555
  } | undefined;
556
556
  unique?: boolean | undefined;
557
557
  profile_required?: boolean | undefined;
558
- verification_method?: "code" | "link" | undefined;
558
+ verification_method?: "link" | "code" | undefined;
559
559
  } | undefined;
560
560
  username?: {
561
561
  identifier?: {
562
562
  active?: boolean | undefined;
563
563
  } | undefined;
564
564
  signup?: {
565
- status?: "required" | "optional" | "disabled" | undefined;
565
+ status?: "optional" | "required" | "disabled" | undefined;
566
566
  } | undefined;
567
567
  validation?: {
568
568
  max_length?: number | undefined;
@@ -579,7 +579,7 @@ export declare const connectionRoutes: OpenAPIHono<{
579
579
  active?: boolean | undefined;
580
580
  } | undefined;
581
581
  signup?: {
582
- status?: "required" | "optional" | "disabled" | undefined;
582
+ status?: "optional" | "required" | "disabled" | undefined;
583
583
  } | undefined;
584
584
  } | undefined;
585
585
  } | undefined;
@@ -703,7 +703,7 @@ export declare const connectionRoutes: OpenAPIHono<{
703
703
  active?: boolean | undefined;
704
704
  } | undefined;
705
705
  signup?: {
706
- status?: "required" | "optional" | "disabled" | undefined;
706
+ status?: "optional" | "required" | "disabled" | undefined;
707
707
  verification?: {
708
708
  active?: boolean | undefined;
709
709
  } | undefined;
@@ -713,14 +713,14 @@ export declare const connectionRoutes: OpenAPIHono<{
713
713
  } | undefined;
714
714
  unique?: boolean | undefined;
715
715
  profile_required?: boolean | undefined;
716
- verification_method?: "code" | "link" | undefined;
716
+ verification_method?: "link" | "code" | undefined;
717
717
  } | undefined;
718
718
  username?: {
719
719
  identifier?: {
720
720
  active?: boolean | undefined;
721
721
  } | undefined;
722
722
  signup?: {
723
- status?: "required" | "optional" | "disabled" | undefined;
723
+ status?: "optional" | "required" | "disabled" | undefined;
724
724
  } | undefined;
725
725
  validation?: {
726
726
  max_length?: number | undefined;
@@ -737,7 +737,7 @@ export declare const connectionRoutes: OpenAPIHono<{
737
737
  active?: boolean | undefined;
738
738
  } | undefined;
739
739
  signup?: {
740
- status?: "required" | "optional" | "disabled" | undefined;
740
+ status?: "optional" | "required" | "disabled" | undefined;
741
741
  } | undefined;
742
742
  } | undefined;
743
743
  } | undefined;
@@ -853,7 +853,7 @@ export declare const connectionRoutes: OpenAPIHono<{
853
853
  };
854
854
  } | {
855
855
  mode: "inline";
856
- status: "error" | "success";
856
+ status: "success" | "error";
857
857
  connection_id: string;
858
858
  connection_name: string;
859
859
  strategy: string;
@@ -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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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: "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" | "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?: "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" | "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: "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" | "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?: "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" | "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: "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" | "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: "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" | "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: {
@@ -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" | "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: {
@@ -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" | "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: {