authhero 9.37.0 → 9.39.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 (86) hide show
  1. package/README.md +13 -3
  2. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  3. package/dist/assets/u/widget/index.esm.js +1 -1
  4. package/dist/assets/u/widget/{p-ce8560f6.entry.js → p-32247347.entry.js} +1 -1
  5. package/dist/assets/u/widget/p-3f908508.entry.js +1 -0
  6. package/dist/assets/u/widget/p-Wx4M-olY.js +2 -0
  7. package/dist/authhero.cjs +116 -95
  8. package/dist/authhero.d.ts +469 -306
  9. package/dist/authhero.mjs +17889 -16773
  10. package/dist/mfa-DMThiuUR.mjs +406 -0
  11. package/dist/mfa-Dh6nNiRX.js +4 -0
  12. package/dist/mfa-attempts-BaKbuGvZ.js +321 -0
  13. package/dist/{mfa-attempts-DDgCBTDW.mjs → mfa-attempts-O0x4jJzl.mjs} +6234 -6126
  14. package/dist/{passkey-enrollment-D6ZZmelw.js → passkey-enrollment-CSeOQWv1.js} +1 -1
  15. package/dist/tsconfig.types.tsbuildinfo +1 -1
  16. package/dist/types/authentication-flows/mfa.d.ts +3 -1
  17. package/dist/types/emails/index.d.ts +33 -1
  18. package/dist/types/helpers/default-destinations.d.ts +14 -0
  19. package/dist/types/helpers/firehose-client.d.ts +29 -0
  20. package/dist/types/helpers/outbox-destinations/log-streams.d.ts +21 -1
  21. package/dist/types/helpers/prompt-partials.d.ts +1 -1
  22. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  23. package/dist/types/helpers/response-type-grants.d.ts +8 -0
  24. package/dist/types/helpers/run-outbox-relay.d.ts +9 -2
  25. package/dist/types/hooks/custom-notification-provider.d.ts +174 -0
  26. package/dist/types/hooks/lifecycle-codehooks.d.ts +2 -2
  27. package/dist/types/index.d.ts +431 -295
  28. package/dist/types/routes/auth-api/device.d.ts +8 -8
  29. package/dist/types/routes/auth-api/index.d.ts +30 -30
  30. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  31. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  32. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  33. package/dist/types/routes/management-api/action-triggers.d.ts +27 -27
  34. package/dist/types/routes/management-api/actions.d.ts +14 -14
  35. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  36. package/dist/types/routes/management-api/branding-preview.d.ts +9 -1
  37. package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
  38. package/dist/types/routes/management-api/branding.d.ts +125 -21
  39. package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
  40. package/dist/types/routes/management-api/clients.d.ts +18 -18
  41. package/dist/types/routes/management-api/connections.d.ts +8 -8
  42. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  43. package/dist/types/routes/management-api/emails.d.ts +6 -6
  44. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  45. package/dist/types/routes/management-api/guardian.d.ts +6 -6
  46. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  47. package/dist/types/routes/management-api/hooks.d.ts +56 -56
  48. package/dist/types/routes/management-api/index.d.ts +362 -258
  49. package/dist/types/routes/management-api/jobs.d.ts +2 -2
  50. package/dist/types/routes/management-api/keys.d.ts +12 -12
  51. package/dist/types/routes/management-api/log-streams.d.ts +12 -12
  52. package/dist/types/routes/management-api/logs.d.ts +4 -4
  53. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  54. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  55. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  56. package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
  57. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  58. package/dist/types/routes/management-api/self-service-profiles.d.ts +9 -9
  59. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  60. package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
  61. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
  62. package/dist/types/routes/management-api/tenants.d.ts +13 -13
  63. package/dist/types/routes/management-api/themes.d.ts +78 -9
  64. package/dist/types/routes/management-api/users.d.ts +20 -20
  65. package/dist/types/routes/universal-login/common.d.ts +62 -10
  66. package/dist/types/routes/universal-login/continue.d.ts +35 -0
  67. package/dist/types/routes/universal-login/dark-theme.d.ts +25 -0
  68. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  69. package/dist/types/routes/universal-login/index.d.ts +2 -2
  70. package/dist/types/routes/universal-login/legal-links.d.ts +18 -0
  71. package/dist/types/routes/universal-login/screen-prompt-map.d.ts +31 -0
  72. package/dist/types/routes/universal-login/screens/connect-authz.d.ts +13 -1
  73. package/dist/types/routes/universal-login/screens/login-partials.d.ts +9 -1
  74. package/dist/types/routes/universal-login/u2-index.d.ts +36 -5
  75. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  76. package/dist/types/routes/universal-login/u2-widget-page.d.ts +6 -1
  77. package/dist/types/routes/universal-login/universal-login-template.d.ts +1 -0
  78. package/dist/types/routes/universal-login/widget-assets.d.ts +20 -0
  79. package/dist/types/state-machines/login-session.d.ts +1 -1
  80. package/dist/types/types/AuthHeroConfig.d.ts +9 -1
  81. package/package.json +7 -6
  82. package/dist/assets/u/widget/p-FUW5zvoZ.js +0 -2
  83. package/dist/assets/u/widget/p-c6ec4c36.entry.js +0 -1
  84. package/dist/mfa-BpHxTir1.mjs +0 -128
  85. package/dist/mfa-DuNbh_YF.js +0 -1
  86. package/dist/mfa-attempts-D5U1FCSY.js +0 -275
@@ -12,7 +12,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
12
12
  client_secret?: string | undefined;
13
13
  scope?: string | undefined;
14
14
  audience?: string | undefined;
15
- include_qr_code?: boolean | "false" | "true" | undefined;
15
+ include_qr_code?: boolean | "true" | "false" | undefined;
16
16
  };
17
17
  } & {
18
18
  json: {
@@ -20,7 +20,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
20
20
  client_secret?: string | undefined;
21
21
  scope?: string | undefined;
22
22
  audience?: string | undefined;
23
- include_qr_code?: boolean | "false" | "true" | undefined;
23
+ include_qr_code?: boolean | "true" | "false" | undefined;
24
24
  };
25
25
  };
26
26
  output: {
@@ -41,7 +41,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
41
41
  client_secret?: string | undefined;
42
42
  scope?: string | undefined;
43
43
  audience?: string | undefined;
44
- include_qr_code?: boolean | "false" | "true" | undefined;
44
+ include_qr_code?: boolean | "true" | "false" | undefined;
45
45
  };
46
46
  } & {
47
47
  json: {
@@ -49,7 +49,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
49
49
  client_secret?: string | undefined;
50
50
  scope?: string | undefined;
51
51
  audience?: string | undefined;
52
- include_qr_code?: boolean | "false" | "true" | undefined;
52
+ include_qr_code?: boolean | "true" | "false" | undefined;
53
53
  };
54
54
  };
55
55
  output: {
@@ -65,7 +65,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
65
65
  client_secret?: string | undefined;
66
66
  scope?: string | undefined;
67
67
  audience?: string | undefined;
68
- include_qr_code?: boolean | "false" | "true" | undefined;
68
+ include_qr_code?: boolean | "true" | "false" | undefined;
69
69
  };
70
70
  } & {
71
71
  json: {
@@ -73,7 +73,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
73
73
  client_secret?: string | undefined;
74
74
  scope?: string | undefined;
75
75
  audience?: string | undefined;
76
- include_qr_code?: boolean | "false" | "true" | undefined;
76
+ include_qr_code?: boolean | "true" | "false" | undefined;
77
77
  };
78
78
  };
79
79
  output: {
@@ -89,7 +89,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
89
89
  client_secret?: string | undefined;
90
90
  scope?: string | undefined;
91
91
  audience?: string | undefined;
92
- include_qr_code?: boolean | "false" | "true" | undefined;
92
+ include_qr_code?: boolean | "true" | "false" | undefined;
93
93
  };
94
94
  } & {
95
95
  json: {
@@ -97,7 +97,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
97
97
  client_secret?: string | undefined;
98
98
  scope?: string | undefined;
99
99
  audience?: string | undefined;
100
- include_qr_code?: boolean | "false" | "true" | undefined;
100
+ include_qr_code?: boolean | "true" | "false" | undefined;
101
101
  };
102
102
  };
103
103
  output: {
@@ -762,23 +762,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
762
762
  email: string;
763
763
  send: "code" | "link";
764
764
  authParams: {
765
+ scope?: string | undefined;
765
766
  username?: string | undefined;
766
767
  connection?: string | undefined;
767
- scope?: string | undefined;
768
768
  state?: string | undefined;
769
769
  audience?: string | undefined;
770
+ code_challenge?: string | undefined;
771
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
770
772
  redirect_uri?: string | undefined;
771
- organization?: string | undefined;
773
+ nonce?: string | undefined;
774
+ act_as?: string | undefined;
772
775
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
773
776
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
777
+ organization?: string | undefined;
774
778
  prompt?: string | undefined;
775
- vendor_id?: string | undefined;
776
- nonce?: string | undefined;
779
+ ui_locales?: string | undefined;
777
780
  max_age?: number | undefined;
778
781
  acr_values?: string | undefined;
779
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
780
- code_challenge?: string | undefined;
781
- ui_locales?: string | undefined;
782
782
  claims?: {
783
783
  userinfo?: Record<string, {
784
784
  essential?: boolean | undefined;
@@ -791,7 +791,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
791
791
  values?: unknown[] | undefined;
792
792
  } | null> | undefined;
793
793
  } | undefined;
794
- act_as?: string | undefined;
794
+ vendor_id?: string | undefined;
795
795
  };
796
796
  } | {
797
797
  client_id: string;
@@ -799,23 +799,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
799
799
  phone_number: string;
800
800
  send: "code" | "link";
801
801
  authParams: {
802
+ scope?: string | undefined;
802
803
  username?: string | undefined;
803
804
  connection?: string | undefined;
804
- scope?: string | undefined;
805
805
  state?: string | undefined;
806
806
  audience?: string | undefined;
807
+ code_challenge?: string | undefined;
808
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
807
809
  redirect_uri?: string | undefined;
808
- organization?: string | undefined;
810
+ nonce?: string | undefined;
811
+ act_as?: string | undefined;
809
812
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
810
813
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
814
+ organization?: string | undefined;
811
815
  prompt?: string | undefined;
812
- vendor_id?: string | undefined;
813
- nonce?: string | undefined;
816
+ ui_locales?: string | undefined;
814
817
  max_age?: number | undefined;
815
818
  acr_values?: string | undefined;
816
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
817
- code_challenge?: string | undefined;
818
- ui_locales?: string | undefined;
819
819
  claims?: {
820
820
  userinfo?: Record<string, {
821
821
  essential?: boolean | undefined;
@@ -828,7 +828,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
828
828
  values?: unknown[] | undefined;
829
829
  } | null> | undefined;
830
830
  } | undefined;
831
- act_as?: string | undefined;
831
+ vendor_id?: string | undefined;
832
832
  };
833
833
  };
834
834
  };
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
944
944
  input: {
945
945
  form: {
946
946
  token: string;
947
- token_type_hint?: "refresh_token" | "access_token" | undefined;
947
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
948
948
  client_id?: string | undefined;
949
949
  client_secret?: string | undefined;
950
950
  };
951
951
  } & {
952
952
  json: {
953
953
  token: string;
954
- token_type_hint?: "refresh_token" | "access_token" | undefined;
954
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
955
955
  client_id?: string | undefined;
956
956
  client_secret?: string | undefined;
957
957
  };
@@ -963,14 +963,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
963
963
  input: {
964
964
  form: {
965
965
  token: string;
966
- token_type_hint?: "refresh_token" | "access_token" | undefined;
966
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
967
967
  client_id?: string | undefined;
968
968
  client_secret?: string | undefined;
969
969
  };
970
970
  } & {
971
971
  json: {
972
972
  token: string;
973
- token_type_hint?: "refresh_token" | "access_token" | undefined;
973
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
974
974
  client_id?: string | undefined;
975
975
  client_secret?: string | undefined;
976
976
  };
@@ -985,14 +985,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
985
985
  input: {
986
986
  form: {
987
987
  token: string;
988
- token_type_hint?: "refresh_token" | "access_token" | undefined;
988
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
989
989
  client_id?: string | undefined;
990
990
  client_secret?: string | undefined;
991
991
  };
992
992
  } & {
993
993
  json: {
994
994
  token: string;
995
- token_type_hint?: "refresh_token" | "access_token" | undefined;
995
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
996
996
  client_id?: string | undefined;
997
997
  client_secret?: string | undefined;
998
998
  };
@@ -1038,7 +1038,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1038
1038
  client_secret?: string | undefined;
1039
1039
  scope?: string | undefined;
1040
1040
  audience?: string | undefined;
1041
- include_qr_code?: boolean | "false" | "true" | undefined;
1041
+ include_qr_code?: boolean | "true" | "false" | undefined;
1042
1042
  };
1043
1043
  } & {
1044
1044
  json: {
@@ -1046,7 +1046,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1046
1046
  client_secret?: string | undefined;
1047
1047
  scope?: string | undefined;
1048
1048
  audience?: string | undefined;
1049
- include_qr_code?: boolean | "false" | "true" | undefined;
1049
+ include_qr_code?: boolean | "true" | "false" | undefined;
1050
1050
  };
1051
1051
  };
1052
1052
  output: {
@@ -1067,7 +1067,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1067
1067
  client_secret?: string | undefined;
1068
1068
  scope?: string | undefined;
1069
1069
  audience?: string | undefined;
1070
- include_qr_code?: boolean | "false" | "true" | undefined;
1070
+ include_qr_code?: boolean | "true" | "false" | undefined;
1071
1071
  };
1072
1072
  } & {
1073
1073
  json: {
@@ -1075,7 +1075,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1075
1075
  client_secret?: string | undefined;
1076
1076
  scope?: string | undefined;
1077
1077
  audience?: string | undefined;
1078
- include_qr_code?: boolean | "false" | "true" | undefined;
1078
+ include_qr_code?: boolean | "true" | "false" | undefined;
1079
1079
  };
1080
1080
  };
1081
1081
  output: {
@@ -1091,7 +1091,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1091
1091
  client_secret?: string | undefined;
1092
1092
  scope?: string | undefined;
1093
1093
  audience?: string | undefined;
1094
- include_qr_code?: boolean | "false" | "true" | undefined;
1094
+ include_qr_code?: boolean | "true" | "false" | undefined;
1095
1095
  };
1096
1096
  } & {
1097
1097
  json: {
@@ -1099,7 +1099,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1099
1099
  client_secret?: string | undefined;
1100
1100
  scope?: string | undefined;
1101
1101
  audience?: string | undefined;
1102
- include_qr_code?: boolean | "false" | "true" | undefined;
1102
+ include_qr_code?: boolean | "true" | "false" | undefined;
1103
1103
  };
1104
1104
  };
1105
1105
  output: {
@@ -1115,7 +1115,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1115
1115
  client_secret?: string | undefined;
1116
1116
  scope?: string | undefined;
1117
1117
  audience?: string | undefined;
1118
- include_qr_code?: boolean | "false" | "true" | undefined;
1118
+ include_qr_code?: boolean | "true" | "false" | undefined;
1119
1119
  };
1120
1120
  } & {
1121
1121
  json: {
@@ -1123,7 +1123,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1123
1123
  client_secret?: string | undefined;
1124
1124
  scope?: string | undefined;
1125
1125
  audience?: string | undefined;
1126
- include_qr_code?: boolean | "false" | "true" | undefined;
1126
+ include_qr_code?: boolean | "true" | "false" | undefined;
1127
1127
  };
1128
1128
  };
1129
1129
  output: {
@@ -14,23 +14,23 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
+ scope?: string | undefined;
17
18
  username?: string | undefined;
18
19
  connection?: string | undefined;
19
- scope?: string | undefined;
20
20
  state?: string | undefined;
21
21
  audience?: string | undefined;
22
+ code_challenge?: string | undefined;
23
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
22
24
  redirect_uri?: string | undefined;
23
- organization?: string | undefined;
25
+ nonce?: string | undefined;
26
+ act_as?: string | undefined;
24
27
  response_type?: AuthorizationResponseType | undefined;
25
28
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
29
+ organization?: string | undefined;
26
30
  prompt?: string | undefined;
27
- vendor_id?: string | undefined;
28
- nonce?: string | undefined;
31
+ ui_locales?: string | undefined;
29
32
  max_age?: number | undefined;
30
33
  acr_values?: string | undefined;
31
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
32
- code_challenge?: string | undefined;
33
- ui_locales?: string | undefined;
34
34
  claims?: {
35
35
  userinfo?: Record<string, {
36
36
  essential?: boolean | undefined;
@@ -43,7 +43,7 @@ export declare const passwordlessRoutes: OpenAPIHono<{
43
43
  values?: unknown[] | undefined;
44
44
  } | null> | undefined;
45
45
  } | undefined;
46
- act_as?: string | undefined;
46
+ vendor_id?: string | undefined;
47
47
  };
48
48
  } | {
49
49
  client_id: string;
@@ -51,23 +51,23 @@ export declare const passwordlessRoutes: OpenAPIHono<{
51
51
  phone_number: string;
52
52
  send: "code" | "link";
53
53
  authParams: {
54
+ scope?: string | undefined;
54
55
  username?: string | undefined;
55
56
  connection?: string | undefined;
56
- scope?: string | undefined;
57
57
  state?: string | undefined;
58
58
  audience?: string | undefined;
59
+ code_challenge?: string | undefined;
60
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
59
61
  redirect_uri?: string | undefined;
60
- organization?: string | undefined;
62
+ nonce?: string | undefined;
63
+ act_as?: string | undefined;
61
64
  response_type?: AuthorizationResponseType | undefined;
62
65
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
66
+ organization?: string | undefined;
63
67
  prompt?: string | undefined;
64
- vendor_id?: string | undefined;
65
- nonce?: string | undefined;
68
+ ui_locales?: string | undefined;
66
69
  max_age?: number | undefined;
67
70
  acr_values?: string | undefined;
68
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
69
- code_challenge?: string | undefined;
70
- ui_locales?: string | undefined;
71
71
  claims?: {
72
72
  userinfo?: Record<string, {
73
73
  essential?: boolean | undefined;
@@ -80,7 +80,7 @@ export declare const passwordlessRoutes: OpenAPIHono<{
80
80
  values?: unknown[] | undefined;
81
81
  } | null> | undefined;
82
82
  } | undefined;
83
- act_as?: string | undefined;
83
+ vendor_id?: string | undefined;
84
84
  };
85
85
  };
86
86
  };
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  form: {
11
11
  token: string;
12
- token_type_hint?: "refresh_token" | "access_token" | undefined;
12
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
13
13
  client_id?: string | undefined;
14
14
  client_secret?: string | undefined;
15
15
  };
16
16
  } & {
17
17
  json: {
18
18
  token: string;
19
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
20
20
  client_id?: string | undefined;
21
21
  client_secret?: string | undefined;
22
22
  };
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
28
28
  input: {
29
29
  form: {
30
30
  token: string;
31
- token_type_hint?: "refresh_token" | "access_token" | undefined;
31
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
32
32
  client_id?: string | undefined;
33
33
  client_secret?: string | undefined;
34
34
  };
35
35
  } & {
36
36
  json: {
37
37
  token: string;
38
- token_type_hint?: "refresh_token" | "access_token" | undefined;
38
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
39
39
  client_id?: string | undefined;
40
40
  client_secret?: string | undefined;
41
41
  };
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
50
50
  input: {
51
51
  form: {
52
52
  token: string;
53
- token_type_hint?: "refresh_token" | "access_token" | undefined;
53
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
54
54
  client_id?: string | undefined;
55
55
  client_secret?: string | undefined;
56
56
  };
57
57
  } & {
58
58
  json: {
59
59
  token: string;
60
- token_type_hint?: "refresh_token" | "access_token" | undefined;
60
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
61
61
  client_id?: string | undefined;
62
62
  client_secret?: string | undefined;
63
63
  };
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "final" | "pending" | "unspecified" | "partial" | "canceled" | "suspended";
34
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -30,7 +30,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
30
30
  updated_at: string;
31
31
  inherit?: boolean | undefined;
32
32
  scope?: "local" | "shared" | "platform" | undefined;
33
- override?: "none" | "secrets" | "fields" | undefined;
33
+ override?: "secrets" | "none" | "fields" | undefined;
34
34
  enforce?: boolean | undefined;
35
35
  supported_triggers?: {
36
36
  id: string;
@@ -58,31 +58,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
58
58
  } & {
59
59
  "/:triggerId/bindings": {
60
60
  $patch: {
61
- input: {
62
- param: {
63
- triggerId: string;
64
- };
65
- } & {
66
- header: {
67
- "tenant-id"?: string | undefined;
68
- };
69
- } & {
70
- json: {
71
- bindings: {
72
- ref: {
73
- type?: "action_id" | "action_name" | undefined;
74
- value?: string | undefined;
75
- id?: string | undefined;
76
- name?: string | undefined;
77
- };
78
- display_name?: string | undefined;
79
- }[];
80
- };
81
- };
82
- output: {};
83
- outputFormat: string;
84
- status: 403;
85
- } | {
86
61
  input: {
87
62
  param: {
88
63
  triggerId: string;
@@ -119,7 +94,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
119
94
  updated_at: string;
120
95
  inherit?: boolean | undefined;
121
96
  scope?: "local" | "shared" | "platform" | undefined;
122
- override?: "none" | "secrets" | "fields" | undefined;
97
+ override?: "secrets" | "none" | "fields" | undefined;
123
98
  enforce?: boolean | undefined;
124
99
  supported_triggers?: {
125
100
  id: string;
@@ -142,6 +117,31 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
142
117
  };
143
118
  outputFormat: "json";
144
119
  status: 200;
120
+ } | {
121
+ input: {
122
+ param: {
123
+ triggerId: string;
124
+ };
125
+ } & {
126
+ header: {
127
+ "tenant-id"?: string | undefined;
128
+ };
129
+ } & {
130
+ json: {
131
+ bindings: {
132
+ ref: {
133
+ type?: "action_id" | "action_name" | undefined;
134
+ value?: string | undefined;
135
+ id?: string | undefined;
136
+ name?: string | undefined;
137
+ };
138
+ display_name?: string | undefined;
139
+ }[];
140
+ };
141
+ };
142
+ output: {};
143
+ outputFormat: string;
144
+ status: 403;
145
145
  };
146
146
  };
147
147
  }, "/">;
@@ -33,7 +33,7 @@ export declare const actionsRoutes: OpenAPIHono<{
33
33
  updated_at: string;
34
34
  inherit?: boolean | undefined;
35
35
  scope?: "local" | "shared" | "platform" | undefined;
36
- override?: "none" | "secrets" | "fields" | undefined;
36
+ override?: "secrets" | "none" | "fields" | undefined;
37
37
  enforce?: boolean | undefined;
38
38
  supported_triggers?: {
39
39
  id: string;
@@ -63,7 +63,7 @@ export declare const actionsRoutes: OpenAPIHono<{
63
63
  updated_at: string;
64
64
  inherit?: boolean | undefined;
65
65
  scope?: "local" | "shared" | "platform" | undefined;
66
- override?: "none" | "secrets" | "fields" | undefined;
66
+ override?: "secrets" | "none" | "fields" | undefined;
67
67
  enforce?: boolean | undefined;
68
68
  supported_triggers?: {
69
69
  id: string;
@@ -93,7 +93,7 @@ export declare const actionsRoutes: OpenAPIHono<{
93
93
  updated_at: string;
94
94
  inherit?: boolean | undefined;
95
95
  scope?: "local" | "shared" | "platform" | undefined;
96
- override?: "none" | "secrets" | "fields" | undefined;
96
+ override?: "secrets" | "none" | "fields" | undefined;
97
97
  enforce?: boolean | undefined;
98
98
  supported_triggers?: {
99
99
  id: string;
@@ -129,7 +129,7 @@ export declare const actionsRoutes: OpenAPIHono<{
129
129
  code: string;
130
130
  inherit?: boolean | undefined;
131
131
  scope?: "local" | "shared" | "platform" | undefined;
132
- override?: "none" | "secrets" | "fields" | undefined;
132
+ override?: "secrets" | "none" | "fields" | undefined;
133
133
  enforce?: boolean | undefined;
134
134
  supported_triggers?: {
135
135
  id: string;
@@ -161,7 +161,7 @@ export declare const actionsRoutes: OpenAPIHono<{
161
161
  code: string;
162
162
  inherit?: boolean | undefined;
163
163
  scope?: "local" | "shared" | "platform" | undefined;
164
- override?: "none" | "secrets" | "fields" | undefined;
164
+ override?: "secrets" | "none" | "fields" | undefined;
165
165
  enforce?: boolean | undefined;
166
166
  supported_triggers?: {
167
167
  id: string;
@@ -189,7 +189,7 @@ export declare const actionsRoutes: OpenAPIHono<{
189
189
  updated_at: string;
190
190
  inherit?: boolean | undefined;
191
191
  scope?: "local" | "shared" | "platform" | undefined;
192
- override?: "none" | "secrets" | "fields" | undefined;
192
+ override?: "secrets" | "none" | "fields" | undefined;
193
193
  enforce?: boolean | undefined;
194
194
  supported_triggers?: {
195
195
  id: string;
@@ -354,7 +354,7 @@ export declare const actionsRoutes: OpenAPIHono<{
354
354
  updated_at: string;
355
355
  inherit?: boolean | undefined;
356
356
  scope?: "local" | "shared" | "platform" | undefined;
357
- override?: "none" | "secrets" | "fields" | undefined;
357
+ override?: "secrets" | "none" | "fields" | undefined;
358
358
  enforce?: boolean | undefined;
359
359
  supported_triggers?: {
360
360
  id: string;
@@ -390,7 +390,7 @@ export declare const actionsRoutes: OpenAPIHono<{
390
390
  json: {
391
391
  inherit?: boolean | undefined;
392
392
  scope?: "local" | "shared" | "platform" | undefined;
393
- override?: "none" | "secrets" | "fields" | undefined;
393
+ override?: "secrets" | "none" | "fields" | undefined;
394
394
  enforce?: boolean | undefined;
395
395
  name?: string | undefined;
396
396
  code?: string | undefined;
@@ -426,7 +426,7 @@ export declare const actionsRoutes: OpenAPIHono<{
426
426
  json: {
427
427
  inherit?: boolean | undefined;
428
428
  scope?: "local" | "shared" | "platform" | undefined;
429
- override?: "none" | "secrets" | "fields" | undefined;
429
+ override?: "secrets" | "none" | "fields" | undefined;
430
430
  enforce?: boolean | undefined;
431
431
  name?: string | undefined;
432
432
  code?: string | undefined;
@@ -462,7 +462,7 @@ export declare const actionsRoutes: OpenAPIHono<{
462
462
  json: {
463
463
  inherit?: boolean | undefined;
464
464
  scope?: "local" | "shared" | "platform" | undefined;
465
- override?: "none" | "secrets" | "fields" | undefined;
465
+ override?: "secrets" | "none" | "fields" | undefined;
466
466
  enforce?: boolean | undefined;
467
467
  name?: string | undefined;
468
468
  code?: string | undefined;
@@ -492,7 +492,7 @@ export declare const actionsRoutes: OpenAPIHono<{
492
492
  updated_at: string;
493
493
  inherit?: boolean | undefined;
494
494
  scope?: "local" | "shared" | "platform" | undefined;
495
- override?: "none" | "secrets" | "fields" | undefined;
495
+ override?: "secrets" | "none" | "fields" | undefined;
496
496
  enforce?: boolean | undefined;
497
497
  supported_triggers?: {
498
498
  id: string;
@@ -604,7 +604,7 @@ export declare const actionsRoutes: OpenAPIHono<{
604
604
  updated_at: string;
605
605
  inherit?: boolean | undefined;
606
606
  scope?: "local" | "shared" | "platform" | undefined;
607
- override?: "none" | "secrets" | "fields" | undefined;
607
+ override?: "secrets" | "none" | "fields" | undefined;
608
608
  enforce?: boolean | undefined;
609
609
  supported_triggers?: {
610
610
  id: string;
@@ -837,7 +837,7 @@ export declare const actionsRoutes: OpenAPIHono<{
837
837
  updated_at: string;
838
838
  inherit?: boolean | undefined;
839
839
  scope?: "local" | "shared" | "platform" | undefined;
840
- override?: "none" | "secrets" | "fields" | undefined;
840
+ override?: "secrets" | "none" | "fields" | undefined;
841
841
  enforce?: boolean | undefined;
842
842
  supported_triggers?: {
843
843
  id: string;
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
919
919
  args: import("hono/utils/types").JSONValue[];
920
920
  }[];
921
921
  logs: {
922
- level: "log" | "error" | "info" | "warn" | "debug";
922
+ level: "error" | "log" | "info" | "warn" | "debug";
923
923
  message: string;
924
924
  }[];
925
925
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
40
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;