authhero 9.30.0 → 9.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +73 -73
  3. package/dist/authhero.d.ts +498 -270
  4. package/dist/authhero.mjs +11270 -10741
  5. package/dist/mfa-attempts-DNgUKmta.js +275 -0
  6. package/dist/{mfa-attempts-CQiD6hxP.mjs → mfa-attempts-dhkGMzI5.mjs} +6287 -5852
  7. package/dist/{passkey-enrollment-D_WVyvv2.js → passkey-enrollment-B_o8pQ1z.js} +1 -1
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/common.d.ts +12 -1
  10. package/dist/types/authentication-flows/passwordless.d.ts +16 -5
  11. package/dist/types/authentication-flows/refresh-token.d.ts +1 -0
  12. package/dist/types/helpers/cimd.d.ts +8 -0
  13. package/dist/types/helpers/client.d.ts +17 -1
  14. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  15. package/dist/types/helpers/login-session-tenant.d.ts +22 -0
  16. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  17. package/dist/types/helpers/session-transfer.d.ts +158 -0
  18. package/dist/types/hooks/lifecycle-codehooks.d.ts +22 -0
  19. package/dist/types/hooks/pre-account-action.d.ts +65 -0
  20. package/dist/types/index.d.ts +397 -267
  21. package/dist/types/routes/auth-api/authorize.d.ts +6 -0
  22. package/dist/types/routes/auth-api/index.d.ts +44 -27
  23. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  24. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  25. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  26. package/dist/types/routes/auth-api/token.d.ts +21 -10
  27. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  28. package/dist/types/routes/management-api/actions.d.ts +1 -1
  29. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  30. package/dist/types/routes/management-api/branding.d.ts +14 -14
  31. package/dist/types/routes/management-api/clients.d.ts +86 -18
  32. package/dist/types/routes/management-api/connections.d.ts +7 -7
  33. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  34. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  35. package/dist/types/routes/management-api/forms.d.ts +144 -144
  36. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  37. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  38. package/dist/types/routes/management-api/hooks.d.ts +7 -7
  39. package/dist/types/routes/management-api/index.d.ts +368 -255
  40. package/dist/types/routes/management-api/keys.d.ts +8 -8
  41. package/dist/types/routes/management-api/logs.d.ts +4 -4
  42. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  43. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  44. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  45. package/dist/types/routes/management-api/refresh_tokens.d.ts +5 -0
  46. package/dist/types/routes/management-api/sessions.d.ts +5 -0
  47. package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
  48. package/dist/types/routes/management-api/tenants.d.ts +7 -7
  49. package/dist/types/routes/management-api/themes.d.ts +9 -9
  50. package/dist/types/routes/management-api/users.d.ts +42 -12
  51. package/dist/types/routes/saml/index.d.ts +6 -6
  52. package/dist/types/routes/saml/samlp.d.ts +6 -6
  53. package/dist/types/routes/universal-login/common.d.ts +39 -12
  54. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  55. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  56. package/dist/types/routes/universal-login/index.d.ts +2 -2
  57. package/dist/types/routes/universal-login/screens/account-helpers.d.ts +27 -1
  58. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  59. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  60. package/dist/types/state-machines/login-session.d.ts +2 -0
  61. package/dist/types/types/GrantFlowResult.d.ts +13 -0
  62. package/dist/types/types/Hooks.d.ts +71 -0
  63. package/dist/types/types/Variables.d.ts +12 -1
  64. package/dist/types/utils/cookies.d.ts +15 -0
  65. package/dist/types/utils/session-transfer-token.d.ts +56 -0
  66. package/package.json +6 -6
  67. package/dist/mfa-attempts-DwATCXqC.js +0 -254
@@ -77,13 +77,13 @@ export declare const brandingRoutes: OpenAPIHono<{
77
77
  page_background: {
78
78
  background_color: string;
79
79
  background_image_url: string;
80
- page_layout: "left" | "right" | "center";
80
+ page_layout: "center" | "left" | "right";
81
81
  logo_placement?: "none" | "widget" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
- header_text_alignment: "left" | "right" | "center";
84
+ header_text_alignment: "center" | "left" | "right";
85
85
  logo_height: number;
86
- logo_position: "none" | "left" | "right" | "center";
86
+ logo_position: "none" | "center" | "left" | "right";
87
87
  logo_url: string;
88
88
  social_buttons_layout: "bottom" | "top";
89
89
  };
@@ -167,13 +167,13 @@ export declare const brandingRoutes: OpenAPIHono<{
167
167
  page_background: {
168
168
  background_color: string;
169
169
  background_image_url: string;
170
- page_layout: "left" | "right" | "center";
170
+ page_layout: "center" | "left" | "right";
171
171
  logo_placement?: "none" | "widget" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
- header_text_alignment: "left" | "right" | "center";
174
+ header_text_alignment: "center" | "left" | "right";
175
175
  logo_height: number;
176
- logo_position: "none" | "left" | "right" | "center";
176
+ logo_position: "none" | "center" | "left" | "right";
177
177
  logo_url: string;
178
178
  social_buttons_layout: "bottom" | "top";
179
179
  };
@@ -246,13 +246,13 @@ export declare const brandingRoutes: OpenAPIHono<{
246
246
  page_background: {
247
247
  background_color: string;
248
248
  background_image_url: string;
249
- page_layout: "left" | "right" | "center";
249
+ page_layout: "center" | "left" | "right";
250
250
  logo_placement?: "none" | "widget" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
- header_text_alignment: "left" | "right" | "center";
253
+ header_text_alignment: "center" | "left" | "right";
254
254
  logo_height: number;
255
- logo_position: "none" | "left" | "right" | "center";
255
+ logo_position: "none" | "center" | "left" | "right";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -379,7 +379,7 @@ export declare const brandingRoutes: OpenAPIHono<{
379
379
  };
380
380
  output: {};
381
381
  outputFormat: string;
382
- status: 204;
382
+ status: 400;
383
383
  } | {
384
384
  input: {
385
385
  header: {
@@ -392,7 +392,7 @@ export declare const brandingRoutes: OpenAPIHono<{
392
392
  };
393
393
  output: {};
394
394
  outputFormat: string;
395
- status: 400;
395
+ status: 204;
396
396
  };
397
397
  };
398
398
  } & {
@@ -506,13 +506,13 @@ export declare const brandingRoutes: OpenAPIHono<{
506
506
  page_background?: {
507
507
  background_color: string;
508
508
  background_image_url: string;
509
- page_layout: "left" | "right" | "center";
509
+ page_layout: "center" | "left" | "right";
510
510
  logo_placement?: "none" | "widget" | "chip" | undefined;
511
511
  } | undefined;
512
512
  widget?: {
513
- header_text_alignment: "left" | "right" | "center";
513
+ header_text_alignment: "center" | "left" | "right";
514
514
  logo_height: number;
515
- logo_position: "none" | "left" | "right" | "center";
515
+ logo_position: "none" | "center" | "left" | "right";
516
516
  logo_url: string;
517
517
  social_buttons_layout: "bottom" | "top";
518
518
  } | undefined;
@@ -50,7 +50,15 @@ export declare const clientRoutes: OpenAPIHono<{
50
50
  connections?: string[] | undefined;
51
51
  allowed_logout_urls?: string[] | undefined;
52
52
  session_transfer?: {
53
- [x: string]: any;
53
+ [x: string]: import("hono/utils/types").JSONValue;
54
+ can_create_session_transfer_token?: boolean | undefined;
55
+ enforce_cascade_revocation?: boolean | undefined;
56
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
57
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
58
+ allow_refresh_token?: boolean | undefined;
59
+ enforce_online_refresh_tokens?: boolean | undefined;
60
+ allow_onward_transfer?: boolean | undefined;
61
+ trust_forwarded_ip?: boolean | undefined;
54
62
  } | undefined;
55
63
  oidc_logout?: {
56
64
  [x: string]: import("hono/utils/types").JSONValue;
@@ -78,7 +86,7 @@ export declare const clientRoutes: OpenAPIHono<{
78
86
  addons?: {
79
87
  [x: string]: any;
80
88
  } | undefined;
81
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
89
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
82
90
  client_metadata?: {
83
91
  [x: string]: string;
84
92
  } | undefined;
@@ -155,7 +163,15 @@ export declare const clientRoutes: OpenAPIHono<{
155
163
  connections?: string[] | undefined;
156
164
  allowed_logout_urls?: string[] | undefined;
157
165
  session_transfer?: {
158
- [x: string]: any;
166
+ [x: string]: import("hono/utils/types").JSONValue;
167
+ can_create_session_transfer_token?: boolean | undefined;
168
+ enforce_cascade_revocation?: boolean | undefined;
169
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
170
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
171
+ allow_refresh_token?: boolean | undefined;
172
+ enforce_online_refresh_tokens?: boolean | undefined;
173
+ allow_onward_transfer?: boolean | undefined;
174
+ trust_forwarded_ip?: boolean | undefined;
159
175
  } | undefined;
160
176
  oidc_logout?: {
161
177
  [x: string]: import("hono/utils/types").JSONValue;
@@ -183,7 +199,7 @@ export declare const clientRoutes: OpenAPIHono<{
183
199
  addons?: {
184
200
  [x: string]: any;
185
201
  } | undefined;
186
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
202
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
187
203
  client_metadata?: {
188
204
  [x: string]: string;
189
205
  } | undefined;
@@ -260,7 +276,15 @@ export declare const clientRoutes: OpenAPIHono<{
260
276
  connections?: string[] | undefined;
261
277
  allowed_logout_urls?: string[] | undefined;
262
278
  session_transfer?: {
263
- [x: string]: any;
279
+ [x: string]: import("hono/utils/types").JSONValue;
280
+ can_create_session_transfer_token?: boolean | undefined;
281
+ enforce_cascade_revocation?: boolean | undefined;
282
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
283
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
284
+ allow_refresh_token?: boolean | undefined;
285
+ enforce_online_refresh_tokens?: boolean | undefined;
286
+ allow_onward_transfer?: boolean | undefined;
287
+ trust_forwarded_ip?: boolean | undefined;
264
288
  } | undefined;
265
289
  oidc_logout?: {
266
290
  [x: string]: import("hono/utils/types").JSONValue;
@@ -288,7 +312,7 @@ export declare const clientRoutes: OpenAPIHono<{
288
312
  addons?: {
289
313
  [x: string]: any;
290
314
  } | undefined;
291
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
315
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
292
316
  client_metadata?: {
293
317
  [x: string]: string;
294
318
  } | undefined;
@@ -380,7 +404,15 @@ export declare const clientRoutes: OpenAPIHono<{
380
404
  connections?: string[] | undefined;
381
405
  allowed_logout_urls?: string[] | undefined;
382
406
  session_transfer?: {
383
- [x: string]: any;
407
+ [x: string]: import("hono/utils/types").JSONValue;
408
+ can_create_session_transfer_token?: boolean | undefined;
409
+ enforce_cascade_revocation?: boolean | undefined;
410
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
411
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
412
+ allow_refresh_token?: boolean | undefined;
413
+ enforce_online_refresh_tokens?: boolean | undefined;
414
+ allow_onward_transfer?: boolean | undefined;
415
+ trust_forwarded_ip?: boolean | undefined;
384
416
  } | undefined;
385
417
  oidc_logout?: {
386
418
  [x: string]: import("hono/utils/types").JSONValue;
@@ -408,7 +440,7 @@ export declare const clientRoutes: OpenAPIHono<{
408
440
  addons?: {
409
441
  [x: string]: any;
410
442
  } | undefined;
411
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
443
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
412
444
  client_metadata?: {
413
445
  [x: string]: string;
414
446
  } | undefined;
@@ -519,7 +551,17 @@ export declare const clientRoutes: OpenAPIHono<{
519
551
  allowed_clients?: string[] | undefined;
520
552
  connections?: string[] | undefined;
521
553
  allowed_logout_urls?: string[] | undefined;
522
- session_transfer?: Record<string, any> | undefined;
554
+ session_transfer?: {
555
+ [x: string]: unknown;
556
+ can_create_session_transfer_token?: boolean | undefined;
557
+ enforce_cascade_revocation?: boolean | undefined;
558
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
559
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
560
+ allow_refresh_token?: boolean | undefined;
561
+ enforce_online_refresh_tokens?: boolean | undefined;
562
+ allow_onward_transfer?: boolean | undefined;
563
+ trust_forwarded_ip?: boolean | undefined;
564
+ } | undefined;
523
565
  oidc_logout?: {
524
566
  [x: string]: unknown;
525
567
  backchannel_logout_urls?: string[] | undefined;
@@ -542,7 +584,7 @@ export declare const clientRoutes: OpenAPIHono<{
542
584
  custom_login_page_preview?: string | undefined;
543
585
  form_template?: string | undefined;
544
586
  addons?: Record<string, any> | undefined;
545
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
587
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
546
588
  client_metadata?: Record<string, string> | undefined;
547
589
  hide_sign_up_disabled_error?: boolean | undefined;
548
590
  mobile?: Record<string, any> | undefined;
@@ -603,7 +645,15 @@ export declare const clientRoutes: OpenAPIHono<{
603
645
  connections?: string[] | undefined;
604
646
  allowed_logout_urls?: string[] | undefined;
605
647
  session_transfer?: {
606
- [x: string]: any;
648
+ [x: string]: import("hono/utils/types").JSONValue;
649
+ can_create_session_transfer_token?: boolean | undefined;
650
+ enforce_cascade_revocation?: boolean | undefined;
651
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
652
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
653
+ allow_refresh_token?: boolean | undefined;
654
+ enforce_online_refresh_tokens?: boolean | undefined;
655
+ allow_onward_transfer?: boolean | undefined;
656
+ trust_forwarded_ip?: boolean | undefined;
607
657
  } | undefined;
608
658
  oidc_logout?: {
609
659
  [x: string]: import("hono/utils/types").JSONValue;
@@ -631,7 +681,7 @@ export declare const clientRoutes: OpenAPIHono<{
631
681
  addons?: {
632
682
  [x: string]: any;
633
683
  } | undefined;
634
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
684
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
635
685
  client_metadata?: {
636
686
  [x: string]: string;
637
687
  } | undefined;
@@ -708,7 +758,17 @@ export declare const clientRoutes: OpenAPIHono<{
708
758
  allowed_clients?: string[] | undefined;
709
759
  connections?: string[] | undefined;
710
760
  allowed_logout_urls?: string[] | undefined;
711
- session_transfer?: Record<string, any> | undefined;
761
+ session_transfer?: {
762
+ [x: string]: unknown;
763
+ can_create_session_transfer_token?: boolean | undefined;
764
+ enforce_cascade_revocation?: boolean | undefined;
765
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
766
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
767
+ allow_refresh_token?: boolean | undefined;
768
+ enforce_online_refresh_tokens?: boolean | undefined;
769
+ allow_onward_transfer?: boolean | undefined;
770
+ trust_forwarded_ip?: boolean | undefined;
771
+ } | undefined;
712
772
  oidc_logout?: {
713
773
  [x: string]: unknown;
714
774
  backchannel_logout_urls?: string[] | undefined;
@@ -731,7 +791,7 @@ export declare const clientRoutes: OpenAPIHono<{
731
791
  custom_login_page_preview?: string | undefined;
732
792
  form_template?: string | undefined;
733
793
  addons?: Record<string, any> | undefined;
734
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
794
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
735
795
  client_metadata?: Record<string, string> | undefined;
736
796
  hide_sign_up_disabled_error?: boolean | undefined;
737
797
  mobile?: Record<string, any> | undefined;
@@ -792,7 +852,15 @@ export declare const clientRoutes: OpenAPIHono<{
792
852
  connections?: string[] | undefined;
793
853
  allowed_logout_urls?: string[] | undefined;
794
854
  session_transfer?: {
795
- [x: string]: any;
855
+ [x: string]: import("hono/utils/types").JSONValue;
856
+ can_create_session_transfer_token?: boolean | undefined;
857
+ enforce_cascade_revocation?: boolean | undefined;
858
+ allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
859
+ enforce_device_binding?: "none" | "ip" | "asn" | undefined;
860
+ allow_refresh_token?: boolean | undefined;
861
+ enforce_online_refresh_tokens?: boolean | undefined;
862
+ allow_onward_transfer?: boolean | undefined;
863
+ trust_forwarded_ip?: boolean | undefined;
796
864
  } | undefined;
797
865
  oidc_logout?: {
798
866
  [x: string]: import("hono/utils/types").JSONValue;
@@ -820,7 +888,7 @@ export declare const clientRoutes: OpenAPIHono<{
820
888
  addons?: {
821
889
  [x: string]: any;
822
890
  } | undefined;
823
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
891
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
824
892
  client_metadata?: {
825
893
  [x: string]: string;
826
894
  } | undefined;
@@ -959,7 +1027,7 @@ export declare const clientRoutes: OpenAPIHono<{
959
1027
  } | undefined;
960
1028
  unique?: boolean | undefined;
961
1029
  profile_required?: boolean | undefined;
962
- verification_method?: "link" | "code" | undefined;
1030
+ verification_method?: "code" | "link" | undefined;
963
1031
  } | undefined;
964
1032
  username?: {
965
1033
  identifier?: {
@@ -1120,7 +1188,7 @@ export declare const clientRoutes: OpenAPIHono<{
1120
1188
  } | undefined;
1121
1189
  unique?: boolean | undefined;
1122
1190
  profile_required?: boolean | undefined;
1123
- verification_method?: "link" | "code" | undefined;
1191
+ verification_method?: "code" | "link" | undefined;
1124
1192
  } | undefined;
1125
1193
  username?: {
1126
1194
  identifier?: {
@@ -96,7 +96,7 @@ export declare const connectionRoutes: OpenAPIHono<{
96
96
  } | undefined;
97
97
  unique?: boolean | undefined;
98
98
  profile_required?: boolean | undefined;
99
- verification_method?: "link" | "code" | undefined;
99
+ verification_method?: "code" | "link" | undefined;
100
100
  } | undefined;
101
101
  username?: {
102
102
  identifier?: {
@@ -237,7 +237,7 @@ export declare const connectionRoutes: OpenAPIHono<{
237
237
  } | undefined;
238
238
  unique?: boolean | undefined;
239
239
  profile_required?: boolean | undefined;
240
- verification_method?: "link" | "code" | undefined;
240
+ verification_method?: "code" | "link" | undefined;
241
241
  } | undefined;
242
242
  username?: {
243
243
  identifier?: {
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
378
378
  } | undefined;
379
379
  unique?: boolean | undefined;
380
380
  profile_required?: boolean | undefined;
381
- verification_method?: "link" | "code" | undefined;
381
+ verification_method?: "code" | "link" | undefined;
382
382
  } | undefined;
383
383
  username?: {
384
384
  identifier?: {
@@ -534,7 +534,7 @@ export declare const connectionRoutes: OpenAPIHono<{
534
534
  } | undefined;
535
535
  unique?: boolean | undefined;
536
536
  profile_required?: boolean | undefined;
537
- verification_method?: "link" | "code" | undefined;
537
+ verification_method?: "code" | "link" | undefined;
538
538
  } | undefined;
539
539
  username?: {
540
540
  identifier?: {
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
736
736
  } | undefined;
737
737
  unique?: boolean | undefined;
738
738
  profile_required?: boolean | undefined;
739
- verification_method?: "link" | "code" | undefined;
739
+ verification_method?: "code" | "link" | undefined;
740
740
  } | undefined;
741
741
  username?: {
742
742
  identifier?: {
@@ -904,7 +904,7 @@ export declare const connectionRoutes: OpenAPIHono<{
904
904
  } | undefined;
905
905
  unique?: boolean | undefined;
906
906
  profile_required?: boolean | undefined;
907
- verification_method?: "link" | "code" | undefined;
907
+ verification_method?: "code" | "link" | undefined;
908
908
  } | undefined;
909
909
  username?: {
910
910
  identifier?: {
@@ -1047,7 +1047,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1047
1047
  };
1048
1048
  } | {
1049
1049
  mode: "inline";
1050
- status: "success" | "error";
1050
+ status: "error" | "success";
1051
1051
  connection_id: string;
1052
1052
  connection_name: string;
1053
1053
  strategy: string;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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?: "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;
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: "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";
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?: "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;
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: "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";
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: "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";
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: "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";
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: "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";
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: {
@@ -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: "client_credentials" | "user" | "api_key" | "system" | "admin";
33
+ type: "client_credentials" | "user" | "system" | "admin" | "api_key";
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: "client_credentials" | "user" | "api_key" | "system" | "admin";
137
+ type: "client_credentials" | "user" | "system" | "admin" | "api_key";
138
138
  id?: string | undefined;
139
139
  email?: string | undefined;
140
140
  org_id?: string | undefined;