authhero 9.33.0 → 9.34.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 (64) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +137 -137
  3. package/dist/authhero.d.ts +280 -248
  4. package/dist/authhero.mjs +15984 -15876
  5. package/dist/mfa-CDFRupfM.mjs +128 -0
  6. package/dist/mfa-DF3O3Z8H.js +1 -0
  7. package/dist/mfa-attempts-BOWgbEPg.js +275 -0
  8. package/dist/{mfa-attempts-dhkGMzI5.mjs → mfa-attempts-C06Bkdy9.mjs} +14489 -14408
  9. package/dist/{passkey-enrollment-B_o8pQ1z.js → passkey-enrollment-RGw-WaSq.js} +1 -1
  10. package/dist/tsconfig.types.tsbuildinfo +1 -1
  11. package/dist/types/authentication-flows/passwordless.d.ts +12 -10
  12. package/dist/types/authentication-flows/remember-browser.d.ts +77 -0
  13. package/dist/types/constants.d.ts +1 -0
  14. package/dist/types/generated/locale-types.d.ts +6 -0
  15. package/dist/types/helpers/client.d.ts +8 -6
  16. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  17. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  18. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  19. package/dist/types/index.d.ts +272 -242
  20. package/dist/types/routes/auth-api/account.d.ts +2 -2
  21. package/dist/types/routes/auth-api/device.d.ts +8 -8
  22. package/dist/types/routes/auth-api/index.d.ts +31 -31
  23. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  24. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  25. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  26. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  27. package/dist/types/routes/management-api/action-triggers.d.ts +2 -2
  28. package/dist/types/routes/management-api/actions.d.ts +13 -13
  29. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  30. package/dist/types/routes/management-api/branding.d.ts +19 -19
  31. package/dist/types/routes/management-api/clients.d.ts +26 -26
  32. package/dist/types/routes/management-api/connections.d.ts +32 -32
  33. package/dist/types/routes/management-api/emails.d.ts +6 -6
  34. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  35. package/dist/types/routes/management-api/flows.d.ts +8 -8
  36. package/dist/types/routes/management-api/helpers.d.ts +11 -1
  37. package/dist/types/routes/management-api/hooks.d.ts +35 -35
  38. package/dist/types/routes/management-api/index.d.ts +237 -207
  39. package/dist/types/routes/management-api/keys.d.ts +8 -8
  40. package/dist/types/routes/management-api/logs.d.ts +4 -4
  41. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  42. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  43. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  44. package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
  45. package/dist/types/routes/management-api/roles.d.ts +1 -1
  46. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  47. package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
  48. package/dist/types/routes/management-api/tenants.d.ts +20 -12
  49. package/dist/types/routes/management-api/themes.d.ts +9 -9
  50. package/dist/types/routes/management-api/users.d.ts +57 -27
  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 +34 -26
  54. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  55. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  56. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  57. package/dist/types/routes/universal-login/index.d.ts +4 -4
  58. package/dist/types/routes/universal-login/screens/mfa-remember-browser.d.ts +28 -0
  59. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  60. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  61. package/dist/types/state-machines/login-session.d.ts +4 -1
  62. package/dist/types/utils/cookies.d.ts +14 -0
  63. package/package.json +6 -6
  64. package/dist/mfa-attempts-DNgUKmta.js +0 -275
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
11
11
  client_id: string;
12
12
  redirect_url?: string | undefined;
13
13
  login_hint?: string | undefined;
14
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
14
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
15
15
  };
16
16
  };
17
17
  output: {};
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
23
23
  client_id: string;
24
24
  redirect_url?: string | undefined;
25
25
  login_hint?: string | undefined;
26
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
26
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
27
27
  };
28
28
  };
29
29
  output: {
@@ -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 | "true" | "false" | undefined;
15
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
23
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
44
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
52
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
68
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
76
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
92
+ include_qr_code?: boolean | "false" | "true" | 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 | "true" | "false" | undefined;
100
+ include_qr_code?: boolean | "false" | "true" | undefined;
101
101
  };
102
102
  };
103
103
  output: {
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
301
301
  scope?: string | undefined;
302
302
  grant_types?: string[] | undefined;
303
303
  response_types?: string[] | undefined;
304
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
304
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
305
305
  jwks_uri?: string | undefined;
306
306
  jwks?: Record<string, unknown> | undefined;
307
307
  software_id?: string | undefined;
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
390
390
  scope?: string | undefined;
391
391
  grant_types?: string[] | undefined;
392
392
  response_types?: string[] | undefined;
393
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
393
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
394
394
  jwks_uri?: string | undefined;
395
395
  jwks?: Record<string, unknown> | undefined;
396
396
  software_id?: string | undefined;
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
447
447
  client_id: string;
448
448
  redirect_url?: string | undefined;
449
449
  login_hint?: string | undefined;
450
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
450
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
451
451
  };
452
452
  };
453
453
  output: {};
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
459
459
  client_id: string;
460
460
  redirect_url?: string | undefined;
461
461
  login_hint?: string | undefined;
462
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
462
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
463
463
  };
464
464
  };
465
465
  output: {
@@ -745,17 +745,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
745
745
  connection: "email";
746
746
  client_id: string;
747
747
  email: string;
748
- send: "code" | "link";
748
+ send: "link" | "code";
749
749
  authParams: {
750
- audience?: string | undefined;
751
750
  scope?: string | undefined;
752
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
753
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
754
751
  username?: string | undefined;
752
+ audience?: string | undefined;
755
753
  state?: string | undefined;
754
+ organization?: string | undefined;
755
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
756
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
756
757
  act_as?: string | undefined;
757
758
  redirect_uri?: string | undefined;
758
- organization?: string | undefined;
759
759
  nonce?: string | undefined;
760
760
  prompt?: string | undefined;
761
761
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -781,17 +781,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
781
781
  client_id: string;
782
782
  connection: "sms";
783
783
  phone_number: string;
784
- send: "code" | "link";
784
+ send: "link" | "code";
785
785
  authParams: {
786
- audience?: string | undefined;
787
786
  scope?: string | undefined;
788
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
789
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
790
787
  username?: string | undefined;
788
+ audience?: string | undefined;
791
789
  state?: string | undefined;
790
+ organization?: string | undefined;
791
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
792
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
792
793
  act_as?: string | undefined;
793
794
  redirect_uri?: string | undefined;
794
- organization?: string | undefined;
795
795
  nonce?: string | undefined;
796
796
  prompt?: string | undefined;
797
797
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -927,14 +927,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
927
927
  input: {
928
928
  form: {
929
929
  token: string;
930
- token_type_hint?: "refresh_token" | "access_token" | undefined;
930
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
931
931
  client_id?: string | undefined;
932
932
  client_secret?: string | undefined;
933
933
  };
934
934
  } & {
935
935
  json: {
936
936
  token: string;
937
- token_type_hint?: "refresh_token" | "access_token" | undefined;
937
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
938
938
  client_id?: string | undefined;
939
939
  client_secret?: string | undefined;
940
940
  };
@@ -946,14 +946,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
946
946
  input: {
947
947
  form: {
948
948
  token: string;
949
- token_type_hint?: "refresh_token" | "access_token" | undefined;
949
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
950
950
  client_id?: string | undefined;
951
951
  client_secret?: string | undefined;
952
952
  };
953
953
  } & {
954
954
  json: {
955
955
  token: string;
956
- token_type_hint?: "refresh_token" | "access_token" | undefined;
956
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
957
957
  client_id?: string | undefined;
958
958
  client_secret?: string | undefined;
959
959
  };
@@ -968,14 +968,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
968
968
  input: {
969
969
  form: {
970
970
  token: string;
971
- token_type_hint?: "refresh_token" | "access_token" | undefined;
971
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
972
972
  client_id?: string | undefined;
973
973
  client_secret?: string | undefined;
974
974
  };
975
975
  } & {
976
976
  json: {
977
977
  token: string;
978
- token_type_hint?: "refresh_token" | "access_token" | undefined;
978
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
979
979
  client_id?: string | undefined;
980
980
  client_secret?: string | undefined;
981
981
  };
@@ -1021,7 +1021,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1021
1021
  client_secret?: string | undefined;
1022
1022
  scope?: string | undefined;
1023
1023
  audience?: string | undefined;
1024
- include_qr_code?: boolean | "true" | "false" | undefined;
1024
+ include_qr_code?: boolean | "false" | "true" | undefined;
1025
1025
  };
1026
1026
  } & {
1027
1027
  json: {
@@ -1029,7 +1029,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1029
1029
  client_secret?: string | undefined;
1030
1030
  scope?: string | undefined;
1031
1031
  audience?: string | undefined;
1032
- include_qr_code?: boolean | "true" | "false" | undefined;
1032
+ include_qr_code?: boolean | "false" | "true" | undefined;
1033
1033
  };
1034
1034
  };
1035
1035
  output: {
@@ -1050,7 +1050,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1050
1050
  client_secret?: string | undefined;
1051
1051
  scope?: string | undefined;
1052
1052
  audience?: string | undefined;
1053
- include_qr_code?: boolean | "true" | "false" | undefined;
1053
+ include_qr_code?: boolean | "false" | "true" | undefined;
1054
1054
  };
1055
1055
  } & {
1056
1056
  json: {
@@ -1058,7 +1058,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1058
1058
  client_secret?: string | undefined;
1059
1059
  scope?: string | undefined;
1060
1060
  audience?: string | undefined;
1061
- include_qr_code?: boolean | "true" | "false" | undefined;
1061
+ include_qr_code?: boolean | "false" | "true" | undefined;
1062
1062
  };
1063
1063
  };
1064
1064
  output: {
@@ -1074,7 +1074,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1074
1074
  client_secret?: string | undefined;
1075
1075
  scope?: string | undefined;
1076
1076
  audience?: string | undefined;
1077
- include_qr_code?: boolean | "true" | "false" | undefined;
1077
+ include_qr_code?: boolean | "false" | "true" | undefined;
1078
1078
  };
1079
1079
  } & {
1080
1080
  json: {
@@ -1082,7 +1082,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1082
1082
  client_secret?: string | undefined;
1083
1083
  scope?: string | undefined;
1084
1084
  audience?: string | undefined;
1085
- include_qr_code?: boolean | "true" | "false" | undefined;
1085
+ include_qr_code?: boolean | "false" | "true" | undefined;
1086
1086
  };
1087
1087
  };
1088
1088
  output: {
@@ -1098,7 +1098,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1098
1098
  client_secret?: string | undefined;
1099
1099
  scope?: string | undefined;
1100
1100
  audience?: string | undefined;
1101
- include_qr_code?: boolean | "true" | "false" | undefined;
1101
+ include_qr_code?: boolean | "false" | "true" | undefined;
1102
1102
  };
1103
1103
  } & {
1104
1104
  json: {
@@ -1106,7 +1106,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1106
1106
  client_secret?: string | undefined;
1107
1107
  scope?: string | undefined;
1108
1108
  audience?: string | undefined;
1109
- include_qr_code?: boolean | "true" | "false" | undefined;
1109
+ include_qr_code?: boolean | "false" | "true" | undefined;
1110
1110
  };
1111
1111
  };
1112
1112
  output: {
@@ -2047,7 +2047,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2047
2047
  };
2048
2048
  output: {};
2049
2049
  outputFormat: string;
2050
- status: 302;
2050
+ status: 200;
2051
2051
  } | {
2052
2052
  input: {
2053
2053
  query: {
@@ -2061,7 +2061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2061
2061
  };
2062
2062
  output: {};
2063
2063
  outputFormat: string;
2064
- status: 400;
2064
+ status: 302;
2065
2065
  } | {
2066
2066
  input: {
2067
2067
  query: {
@@ -2075,7 +2075,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2075
2075
  };
2076
2076
  output: {};
2077
2077
  outputFormat: string;
2078
- status: 200;
2078
+ status: 400;
2079
2079
  };
2080
2080
  };
2081
2081
  }, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
18
18
  };
19
19
  output: {};
20
20
  outputFormat: string;
21
- status: 302;
21
+ status: 200;
22
22
  } | {
23
23
  input: {
24
24
  query: {
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 400;
35
+ status: 302;
36
36
  } | {
37
37
  input: {
38
38
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 200;
49
+ status: 400;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -12,17 +12,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "code" | "link";
15
+ send: "link" | "code";
16
16
  authParams: {
17
- audience?: string | undefined;
18
17
  scope?: string | undefined;
19
- response_type?: AuthorizationResponseType | undefined;
20
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
21
18
  username?: string | undefined;
19
+ audience?: string | undefined;
22
20
  state?: string | undefined;
21
+ organization?: string | undefined;
22
+ response_type?: AuthorizationResponseType | undefined;
23
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
23
24
  act_as?: string | undefined;
24
25
  redirect_uri?: string | undefined;
25
- organization?: string | undefined;
26
26
  nonce?: string | undefined;
27
27
  prompt?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -48,17 +48,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "code" | "link";
51
+ send: "link" | "code";
52
52
  authParams: {
53
- audience?: string | undefined;
54
53
  scope?: string | undefined;
55
- response_type?: AuthorizationResponseType | undefined;
56
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
57
54
  username?: string | undefined;
55
+ audience?: string | undefined;
58
56
  state?: string | undefined;
57
+ organization?: string | undefined;
58
+ response_type?: AuthorizationResponseType | undefined;
59
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
59
60
  act_as?: string | undefined;
60
61
  redirect_uri?: string | undefined;
61
- organization?: string | undefined;
62
62
  nonce?: string | undefined;
63
63
  prompt?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
18
18
  scope?: string | undefined;
19
19
  grant_types?: string[] | undefined;
20
20
  response_types?: string[] | undefined;
21
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
21
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
22
22
  jwks_uri?: string | undefined;
23
23
  jwks?: Record<string, unknown> | undefined;
24
24
  software_id?: string | undefined;
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
107
107
  scope?: string | undefined;
108
108
  grant_types?: string[] | undefined;
109
109
  response_types?: string[] | undefined;
110
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
110
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: string | undefined;
@@ -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
  };
@@ -29,7 +29,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
29
29
  created_at: string;
30
30
  updated_at: string;
31
31
  inherit?: boolean | undefined;
32
- scope?: "shared" | "local" | "platform" | undefined;
32
+ scope?: "local" | "shared" | "platform" | undefined;
33
33
  override?: "none" | "secrets" | "fields" | undefined;
34
34
  enforce?: boolean | undefined;
35
35
  supported_triggers?: {
@@ -118,7 +118,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
118
118
  created_at: string;
119
119
  updated_at: string;
120
120
  inherit?: boolean | undefined;
121
- scope?: "shared" | "local" | "platform" | undefined;
121
+ scope?: "local" | "shared" | "platform" | undefined;
122
122
  override?: "none" | "secrets" | "fields" | undefined;
123
123
  enforce?: boolean | undefined;
124
124
  supported_triggers?: {
@@ -32,7 +32,7 @@ export declare const actionsRoutes: OpenAPIHono<{
32
32
  created_at: string;
33
33
  updated_at: string;
34
34
  inherit?: boolean | undefined;
35
- scope?: "shared" | "local" | "platform" | undefined;
35
+ scope?: "local" | "shared" | "platform" | undefined;
36
36
  override?: "none" | "secrets" | "fields" | undefined;
37
37
  enforce?: boolean | undefined;
38
38
  supported_triggers?: {
@@ -62,7 +62,7 @@ export declare const actionsRoutes: OpenAPIHono<{
62
62
  created_at: string;
63
63
  updated_at: string;
64
64
  inherit?: boolean | undefined;
65
- scope?: "shared" | "local" | "platform" | undefined;
65
+ scope?: "local" | "shared" | "platform" | undefined;
66
66
  override?: "none" | "secrets" | "fields" | undefined;
67
67
  enforce?: boolean | undefined;
68
68
  supported_triggers?: {
@@ -92,7 +92,7 @@ export declare const actionsRoutes: OpenAPIHono<{
92
92
  created_at: string;
93
93
  updated_at: string;
94
94
  inherit?: boolean | undefined;
95
- scope?: "shared" | "local" | "platform" | undefined;
95
+ scope?: "local" | "shared" | "platform" | undefined;
96
96
  override?: "none" | "secrets" | "fields" | undefined;
97
97
  enforce?: boolean | undefined;
98
98
  supported_triggers?: {
@@ -128,7 +128,7 @@ export declare const actionsRoutes: OpenAPIHono<{
128
128
  name: string;
129
129
  code: string;
130
130
  inherit?: boolean | undefined;
131
- scope?: "shared" | "local" | "platform" | undefined;
131
+ scope?: "local" | "shared" | "platform" | undefined;
132
132
  override?: "none" | "secrets" | "fields" | undefined;
133
133
  enforce?: boolean | undefined;
134
134
  supported_triggers?: {
@@ -160,7 +160,7 @@ export declare const actionsRoutes: OpenAPIHono<{
160
160
  name: string;
161
161
  code: string;
162
162
  inherit?: boolean | undefined;
163
- scope?: "shared" | "local" | "platform" | undefined;
163
+ scope?: "local" | "shared" | "platform" | undefined;
164
164
  override?: "none" | "secrets" | "fields" | undefined;
165
165
  enforce?: boolean | undefined;
166
166
  supported_triggers?: {
@@ -188,7 +188,7 @@ export declare const actionsRoutes: OpenAPIHono<{
188
188
  created_at: string;
189
189
  updated_at: string;
190
190
  inherit?: boolean | undefined;
191
- scope?: "shared" | "local" | "platform" | undefined;
191
+ scope?: "local" | "shared" | "platform" | undefined;
192
192
  override?: "none" | "secrets" | "fields" | undefined;
193
193
  enforce?: boolean | undefined;
194
194
  supported_triggers?: {
@@ -353,7 +353,7 @@ export declare const actionsRoutes: OpenAPIHono<{
353
353
  created_at: string;
354
354
  updated_at: string;
355
355
  inherit?: boolean | undefined;
356
- scope?: "shared" | "local" | "platform" | undefined;
356
+ scope?: "local" | "shared" | "platform" | undefined;
357
357
  override?: "none" | "secrets" | "fields" | undefined;
358
358
  enforce?: boolean | undefined;
359
359
  supported_triggers?: {
@@ -389,7 +389,7 @@ export declare const actionsRoutes: OpenAPIHono<{
389
389
  } & {
390
390
  json: {
391
391
  inherit?: boolean | undefined;
392
- scope?: "shared" | "local" | "platform" | undefined;
392
+ scope?: "local" | "shared" | "platform" | undefined;
393
393
  override?: "none" | "secrets" | "fields" | undefined;
394
394
  enforce?: boolean | undefined;
395
395
  name?: string | undefined;
@@ -425,7 +425,7 @@ export declare const actionsRoutes: OpenAPIHono<{
425
425
  } & {
426
426
  json: {
427
427
  inherit?: boolean | undefined;
428
- scope?: "shared" | "local" | "platform" | undefined;
428
+ scope?: "local" | "shared" | "platform" | undefined;
429
429
  override?: "none" | "secrets" | "fields" | undefined;
430
430
  enforce?: boolean | undefined;
431
431
  name?: string | undefined;
@@ -461,7 +461,7 @@ export declare const actionsRoutes: OpenAPIHono<{
461
461
  } & {
462
462
  json: {
463
463
  inherit?: boolean | undefined;
464
- scope?: "shared" | "local" | "platform" | undefined;
464
+ scope?: "local" | "shared" | "platform" | undefined;
465
465
  override?: "none" | "secrets" | "fields" | undefined;
466
466
  enforce?: boolean | undefined;
467
467
  name?: string | undefined;
@@ -491,7 +491,7 @@ export declare const actionsRoutes: OpenAPIHono<{
491
491
  created_at: string;
492
492
  updated_at: string;
493
493
  inherit?: boolean | undefined;
494
- scope?: "shared" | "local" | "platform" | undefined;
494
+ scope?: "local" | "shared" | "platform" | undefined;
495
495
  override?: "none" | "secrets" | "fields" | undefined;
496
496
  enforce?: boolean | undefined;
497
497
  supported_triggers?: {
@@ -603,7 +603,7 @@ export declare const actionsRoutes: OpenAPIHono<{
603
603
  created_at: string;
604
604
  updated_at: string;
605
605
  inherit?: boolean | undefined;
606
- scope?: "shared" | "local" | "platform" | undefined;
606
+ scope?: "local" | "shared" | "platform" | undefined;
607
607
  override?: "none" | "secrets" | "fields" | undefined;
608
608
  enforce?: boolean | undefined;
609
609
  supported_triggers?: {
@@ -836,7 +836,7 @@ export declare const actionsRoutes: OpenAPIHono<{
836
836
  created_at: string;
837
837
  updated_at: string;
838
838
  inherit?: boolean | undefined;
839
- scope?: "shared" | "local" | "platform" | undefined;
839
+ scope?: "local" | "shared" | "platform" | undefined;
840
840
  override?: "none" | "secrets" | "fields" | undefined;
841
841
  enforce?: boolean | undefined;
842
842
  supported_triggers?: {
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "phone" | "webauthn-roaming" | "webauthn-platform" | "totp";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;