authhero 9.36.0 → 9.37.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 +144 -141
  3. package/dist/authhero.d.ts +462 -271
  4. package/dist/authhero.mjs +18253 -16777
  5. package/dist/{mfa-B044FRjD.mjs → mfa-BpHxTir1.mjs} +22 -22
  6. package/dist/{mfa-DPwn1ajo.js → mfa-DuNbh_YF.js} +1 -1
  7. package/dist/mfa-attempts-D5U1FCSY.js +275 -0
  8. package/dist/{mfa-attempts-DGOLb2oh.mjs → mfa-attempts-DDgCBTDW.mjs} +5048 -4965
  9. package/dist/{passkey-enrollment-BDboqoaP.js → passkey-enrollment-D6ZZmelw.js} +1 -1
  10. package/dist/tsconfig.types.tsbuildinfo +1 -1
  11. package/dist/types/authentication-flows/email-verification.d.ts +1 -1
  12. package/dist/types/generated/locale-types.d.ts +87 -0
  13. package/dist/types/helpers/anchor-client.d.ts +16 -0
  14. package/dist/types/helpers/database-connection-scope.d.ts +48 -18
  15. package/dist/types/helpers/dcr/audience-policy.d.ts +13 -0
  16. package/dist/types/helpers/dcr/client-registration.d.ts +81 -0
  17. package/dist/types/helpers/dcr/constraint-enforcement.d.ts +1 -0
  18. package/dist/types/helpers/dcr/metadata-mapping.d.ts +18 -1
  19. package/dist/types/helpers/dcr/mint-iat.d.ts +4 -1
  20. package/dist/types/helpers/dcr/mint-token.d.ts +4 -0
  21. package/dist/types/helpers/dcr/presets.d.ts +34 -0
  22. package/dist/types/helpers/dcr/uri-policy.d.ts +34 -0
  23. package/dist/types/helpers/password-connection.d.ts +3 -1
  24. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  25. package/dist/types/helpers/self-service-tickets.d.ts +34 -0
  26. package/dist/types/helpers/users.d.ts +17 -2
  27. package/dist/types/index.d.ts +402 -212
  28. package/dist/types/routes/auth-api/authenticate.d.ts +1 -1
  29. package/dist/types/routes/auth-api/dbconnections.d.ts +2 -2
  30. package/dist/types/routes/auth-api/device.d.ts +8 -8
  31. package/dist/types/routes/auth-api/index.d.ts +36 -21
  32. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  33. package/dist/types/routes/auth-api/register/index.d.ts +15 -0
  34. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  35. package/dist/types/routes/management-api/actions.d.ts +1 -1
  36. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  37. package/dist/types/routes/management-api/client-registration-tokens.d.ts +149 -0
  38. package/dist/types/routes/management-api/connections.d.ts +1 -1
  39. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  40. package/dist/types/routes/management-api/forms.d.ts +144 -144
  41. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  42. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  43. package/dist/types/routes/management-api/index.d.ts +329 -184
  44. package/dist/types/routes/management-api/keys.d.ts +8 -8
  45. package/dist/types/routes/management-api/logs.d.ts +4 -4
  46. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  47. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  48. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  49. package/dist/types/routes/management-api/self-service-profiles.d.ts +1 -1
  50. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  51. package/dist/types/routes/management-api/tenants.d.ts +7 -7
  52. package/dist/types/routes/management-api/users.d.ts +3 -3
  53. package/dist/types/routes/universal-login/common.d.ts +2 -2
  54. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  55. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  56. package/dist/types/routes/universal-login/index.d.ts +2 -2
  57. package/dist/types/routes/universal-login/screens/connect-authz.d.ts +9 -0
  58. package/dist/types/routes/universal-login/screens/self-service-app.d.ts +46 -0
  59. package/dist/types/routes/universal-login/u2-index.d.ts +35 -5
  60. package/dist/types/routes/universal-login/u2-routes.d.ts +35 -5
  61. package/dist/types/state-machines/login-session.d.ts +19 -1
  62. package/dist/types/types/Bindings.d.ts +2 -0
  63. package/package.json +6 -6
  64. package/dist/mfa-attempts-BiU_pMOV.js +0 -275
@@ -19,7 +19,7 @@ export declare const authenticateRoutes: OpenAPIHono<{
19
19
  client_id: string;
20
20
  username: string;
21
21
  password: string;
22
- realm: "Username-Password-Authentication";
22
+ realm: string;
23
23
  scope?: string | undefined;
24
24
  };
25
25
  };
@@ -9,7 +9,7 @@ export declare const dbConnectionRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  json: {
11
11
  client_id: string;
12
- connection: "Username-Password-Authentication";
12
+ connection: string;
13
13
  email: string;
14
14
  password: string;
15
15
  };
@@ -31,7 +31,7 @@ export declare const dbConnectionRoutes: OpenAPIHono<{
31
31
  input: {
32
32
  json: {
33
33
  client_id: string;
34
- connection: "Username-Password-Authentication";
34
+ connection: string;
35
35
  email: string;
36
36
  };
37
37
  };
@@ -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: {
@@ -309,6 +309,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
309
309
  client_id?: string | undefined;
310
310
  client_secret?: string | undefined;
311
311
  audience?: string | undefined;
312
+ application_type?: "native" | "web" | undefined;
313
+ post_logout_redirect_uris?: string[] | undefined;
314
+ web_origins?: string[] | undefined;
312
315
  };
313
316
  };
314
317
  output: {
@@ -332,6 +335,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
332
335
  jwks_uri?: string | undefined;
333
336
  software_id?: string | undefined;
334
337
  software_version?: string | undefined;
338
+ application_type?: "native" | "web" | undefined;
339
+ post_logout_redirect_uris?: string[] | undefined;
340
+ web_origins?: string[] | undefined;
335
341
  };
336
342
  outputFormat: "json";
337
343
  status: 201;
@@ -366,6 +372,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
366
372
  jwks_uri?: string | undefined;
367
373
  software_id?: string | undefined;
368
374
  software_version?: string | undefined;
375
+ application_type?: "native" | "web" | undefined;
376
+ post_logout_redirect_uris?: string[] | undefined;
377
+ web_origins?: string[] | undefined;
369
378
  };
370
379
  outputFormat: "json";
371
380
  status: 200;
@@ -398,6 +407,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
398
407
  client_id?: string | undefined;
399
408
  client_secret?: string | undefined;
400
409
  audience?: string | undefined;
410
+ application_type?: "native" | "web" | undefined;
411
+ post_logout_redirect_uris?: string[] | undefined;
412
+ web_origins?: string[] | undefined;
401
413
  };
402
414
  };
403
415
  output: {
@@ -421,6 +433,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
421
433
  jwks_uri?: string | undefined;
422
434
  software_id?: string | undefined;
423
435
  software_version?: string | undefined;
436
+ application_type?: "native" | "web" | undefined;
437
+ post_logout_redirect_uris?: string[] | undefined;
438
+ web_origins?: string[] | undefined;
424
439
  };
425
440
  outputFormat: "json";
426
441
  status: 200;
@@ -728,7 +743,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
728
743
  client_id: string;
729
744
  username: string;
730
745
  password: string;
731
- realm: "Username-Password-Authentication";
746
+ realm: string;
732
747
  scope?: string | undefined;
733
748
  };
734
749
  };
@@ -753,17 +768,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
753
768
  state?: string | undefined;
754
769
  audience?: string | undefined;
755
770
  redirect_uri?: string | undefined;
771
+ organization?: string | undefined;
756
772
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
757
773
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
758
- organization?: string | undefined;
759
774
  prompt?: string | undefined;
760
- act_as?: string | undefined;
775
+ vendor_id?: string | undefined;
761
776
  nonce?: string | undefined;
777
+ max_age?: number | undefined;
778
+ acr_values?: string | undefined;
762
779
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
763
780
  code_challenge?: string | undefined;
764
781
  ui_locales?: string | undefined;
765
- max_age?: number | undefined;
766
- acr_values?: string | undefined;
767
782
  claims?: {
768
783
  userinfo?: Record<string, {
769
784
  essential?: boolean | undefined;
@@ -776,7 +791,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
776
791
  values?: unknown[] | undefined;
777
792
  } | null> | undefined;
778
793
  } | undefined;
779
- vendor_id?: string | undefined;
794
+ act_as?: string | undefined;
780
795
  };
781
796
  } | {
782
797
  client_id: string;
@@ -790,17 +805,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
790
805
  state?: string | undefined;
791
806
  audience?: string | undefined;
792
807
  redirect_uri?: string | undefined;
808
+ organization?: string | undefined;
793
809
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
794
810
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
795
- organization?: string | undefined;
796
811
  prompt?: string | undefined;
797
- act_as?: string | undefined;
812
+ vendor_id?: string | undefined;
798
813
  nonce?: string | undefined;
814
+ max_age?: number | undefined;
815
+ acr_values?: string | undefined;
799
816
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
800
817
  code_challenge?: string | undefined;
801
818
  ui_locales?: string | undefined;
802
- max_age?: number | undefined;
803
- acr_values?: string | undefined;
804
819
  claims?: {
805
820
  userinfo?: Record<string, {
806
821
  essential?: boolean | undefined;
@@ -813,7 +828,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
813
828
  values?: unknown[] | undefined;
814
829
  } | null> | undefined;
815
830
  } | undefined;
816
- vendor_id?: string | undefined;
831
+ act_as?: string | undefined;
817
832
  };
818
833
  };
819
834
  };
@@ -892,7 +907,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
892
907
  input: {
893
908
  json: {
894
909
  client_id: string;
895
- connection: "Username-Password-Authentication";
910
+ connection: string;
896
911
  email: string;
897
912
  password: string;
898
913
  };
@@ -914,7 +929,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
914
929
  input: {
915
930
  json: {
916
931
  client_id: string;
917
- connection: "Username-Password-Authentication";
932
+ connection: string;
918
933
  email: string;
919
934
  };
920
935
  };
@@ -1023,7 +1038,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1023
1038
  client_secret?: string | undefined;
1024
1039
  scope?: string | undefined;
1025
1040
  audience?: string | undefined;
1026
- include_qr_code?: boolean | "true" | "false" | undefined;
1041
+ include_qr_code?: boolean | "false" | "true" | undefined;
1027
1042
  };
1028
1043
  } & {
1029
1044
  json: {
@@ -1031,7 +1046,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1031
1046
  client_secret?: string | undefined;
1032
1047
  scope?: string | undefined;
1033
1048
  audience?: string | undefined;
1034
- include_qr_code?: boolean | "true" | "false" | undefined;
1049
+ include_qr_code?: boolean | "false" | "true" | undefined;
1035
1050
  };
1036
1051
  };
1037
1052
  output: {
@@ -1052,7 +1067,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1052
1067
  client_secret?: string | undefined;
1053
1068
  scope?: string | undefined;
1054
1069
  audience?: string | undefined;
1055
- include_qr_code?: boolean | "true" | "false" | undefined;
1070
+ include_qr_code?: boolean | "false" | "true" | undefined;
1056
1071
  };
1057
1072
  } & {
1058
1073
  json: {
@@ -1060,7 +1075,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1060
1075
  client_secret?: string | undefined;
1061
1076
  scope?: string | undefined;
1062
1077
  audience?: string | undefined;
1063
- include_qr_code?: boolean | "true" | "false" | undefined;
1078
+ include_qr_code?: boolean | "false" | "true" | undefined;
1064
1079
  };
1065
1080
  };
1066
1081
  output: {
@@ -1076,7 +1091,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1076
1091
  client_secret?: string | undefined;
1077
1092
  scope?: string | undefined;
1078
1093
  audience?: string | undefined;
1079
- include_qr_code?: boolean | "true" | "false" | undefined;
1094
+ include_qr_code?: boolean | "false" | "true" | undefined;
1080
1095
  };
1081
1096
  } & {
1082
1097
  json: {
@@ -1084,7 +1099,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1084
1099
  client_secret?: string | undefined;
1085
1100
  scope?: string | undefined;
1086
1101
  audience?: string | undefined;
1087
- include_qr_code?: boolean | "true" | "false" | undefined;
1102
+ include_qr_code?: boolean | "false" | "true" | undefined;
1088
1103
  };
1089
1104
  };
1090
1105
  output: {
@@ -1100,7 +1115,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1100
1115
  client_secret?: string | undefined;
1101
1116
  scope?: string | undefined;
1102
1117
  audience?: string | undefined;
1103
- include_qr_code?: boolean | "true" | "false" | undefined;
1118
+ include_qr_code?: boolean | "false" | "true" | undefined;
1104
1119
  };
1105
1120
  } & {
1106
1121
  json: {
@@ -1108,7 +1123,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1108
1123
  client_secret?: string | undefined;
1109
1124
  scope?: string | undefined;
1110
1125
  audience?: string | undefined;
1111
- include_qr_code?: boolean | "true" | "false" | undefined;
1126
+ include_qr_code?: boolean | "false" | "true" | undefined;
1112
1127
  };
1113
1128
  };
1114
1129
  output: {
@@ -20,17 +20,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
20
20
  state?: string | undefined;
21
21
  audience?: string | undefined;
22
22
  redirect_uri?: string | undefined;
23
+ organization?: string | undefined;
23
24
  response_type?: AuthorizationResponseType | undefined;
24
25
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
25
- organization?: string | undefined;
26
26
  prompt?: string | undefined;
27
- act_as?: string | undefined;
27
+ vendor_id?: string | undefined;
28
28
  nonce?: string | undefined;
29
+ max_age?: number | undefined;
30
+ acr_values?: string | undefined;
29
31
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
30
32
  code_challenge?: string | undefined;
31
33
  ui_locales?: string | undefined;
32
- max_age?: number | undefined;
33
- acr_values?: 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
- vendor_id?: string | undefined;
46
+ act_as?: string | undefined;
47
47
  };
48
48
  } | {
49
49
  client_id: string;
@@ -57,17 +57,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
57
57
  state?: string | undefined;
58
58
  audience?: string | undefined;
59
59
  redirect_uri?: string | undefined;
60
+ organization?: string | undefined;
60
61
  response_type?: AuthorizationResponseType | undefined;
61
62
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
62
- organization?: string | undefined;
63
63
  prompt?: string | undefined;
64
- act_as?: string | undefined;
64
+ vendor_id?: string | undefined;
65
65
  nonce?: string | undefined;
66
+ max_age?: number | undefined;
67
+ acr_values?: string | undefined;
66
68
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
67
69
  code_challenge?: string | undefined;
68
70
  ui_locales?: string | undefined;
69
- max_age?: number | undefined;
70
- acr_values?: 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
- vendor_id?: string | undefined;
83
+ act_as?: string | undefined;
84
84
  };
85
85
  };
86
86
  };
@@ -26,6 +26,9 @@ export declare const registerRoutes: OpenAPIHono<{
26
26
  client_id?: string | undefined;
27
27
  client_secret?: string | undefined;
28
28
  audience?: string | undefined;
29
+ application_type?: "native" | "web" | undefined;
30
+ post_logout_redirect_uris?: string[] | undefined;
31
+ web_origins?: string[] | undefined;
29
32
  };
30
33
  };
31
34
  output: {
@@ -49,6 +52,9 @@ export declare const registerRoutes: OpenAPIHono<{
49
52
  jwks_uri?: string | undefined;
50
53
  software_id?: string | undefined;
51
54
  software_version?: string | undefined;
55
+ application_type?: "native" | "web" | undefined;
56
+ post_logout_redirect_uris?: string[] | undefined;
57
+ web_origins?: string[] | undefined;
52
58
  };
53
59
  outputFormat: "json";
54
60
  status: 201;
@@ -83,6 +89,9 @@ export declare const registerRoutes: OpenAPIHono<{
83
89
  jwks_uri?: string | undefined;
84
90
  software_id?: string | undefined;
85
91
  software_version?: string | undefined;
92
+ application_type?: "native" | "web" | undefined;
93
+ post_logout_redirect_uris?: string[] | undefined;
94
+ web_origins?: string[] | undefined;
86
95
  };
87
96
  outputFormat: "json";
88
97
  status: 200;
@@ -115,6 +124,9 @@ export declare const registerRoutes: OpenAPIHono<{
115
124
  client_id?: string | undefined;
116
125
  client_secret?: string | undefined;
117
126
  audience?: string | undefined;
127
+ application_type?: "native" | "web" | undefined;
128
+ post_logout_redirect_uris?: string[] | undefined;
129
+ web_origins?: string[] | undefined;
118
130
  };
119
131
  };
120
132
  output: {
@@ -138,6 +150,9 @@ export declare const registerRoutes: OpenAPIHono<{
138
150
  jwks_uri?: string | undefined;
139
151
  software_id?: string | undefined;
140
152
  software_version?: string | undefined;
153
+ application_type?: "native" | "web" | undefined;
154
+ post_logout_redirect_uris?: string[] | undefined;
155
+ web_origins?: string[] | undefined;
141
156
  };
142
157
  outputFormat: "json";
143
158
  status: 200;
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "final" | "pending" | "unspecified" | "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: "error" | "log" | "info" | "warn" | "debug";
81
+ level: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
919
919
  args: import("hono/utils/types").JSONValue[];
920
920
  }[];
921
921
  logs: {
922
- level: "error" | "log" | "info" | "warn" | "debug";
922
+ level: "log" | "error" | "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: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
40
+ type: "email" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -16,6 +16,10 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
16
16
  constraints?: Record<string, unknown> | undefined;
17
17
  expires_in_seconds?: number | undefined;
18
18
  single_use?: boolean | undefined;
19
+ preset?: "native" | "spa" | "regular_web" | undefined;
20
+ name?: string | undefined;
21
+ connections?: string[] | undefined;
22
+ is_first_party?: boolean | undefined;
19
23
  };
20
24
  };
21
25
  output: {
@@ -27,6 +31,151 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
27
31
  constraints?: {
28
32
  [x: string]: import("hono/utils/types").JSONValue;
29
33
  } | undefined;
34
+ name?: string | undefined;
35
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
36
+ ticket?: string | undefined;
37
+ };
38
+ outputFormat: "json";
39
+ status: 201;
40
+ };
41
+ };
42
+ } & {
43
+ "/": {
44
+ $get: {
45
+ input: {
46
+ query: {
47
+ type?: "iat" | "rat" | undefined;
48
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
49
+ client_id?: string | undefined;
50
+ page?: string | undefined;
51
+ per_page?: string | undefined;
52
+ include_totals?: string | undefined;
53
+ };
54
+ } & {
55
+ header: {
56
+ "tenant-id"?: string | undefined;
57
+ };
58
+ };
59
+ output: {
60
+ id: string;
61
+ type: "iat" | "rat";
62
+ status: "active" | "expired" | "used" | "revoked";
63
+ single_use: boolean;
64
+ created_at: string;
65
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
66
+ name?: string | undefined;
67
+ client_id?: string | undefined;
68
+ sub?: string | undefined;
69
+ created_by?: string | undefined;
70
+ constraints?: {
71
+ [x: string]: import("hono/utils/types").JSONValue;
72
+ } | undefined;
73
+ expires_at?: string | undefined;
74
+ used_at?: string | undefined;
75
+ revoked_at?: string | undefined;
76
+ }[] | {
77
+ client_registration_tokens: {
78
+ id: string;
79
+ type: "iat" | "rat";
80
+ status: "active" | "expired" | "used" | "revoked";
81
+ single_use: boolean;
82
+ created_at: string;
83
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
84
+ name?: string | undefined;
85
+ client_id?: string | undefined;
86
+ sub?: string | undefined;
87
+ created_by?: string | undefined;
88
+ constraints?: {
89
+ [x: string]: import("hono/utils/types").JSONValue;
90
+ } | undefined;
91
+ expires_at?: string | undefined;
92
+ used_at?: string | undefined;
93
+ revoked_at?: string | undefined;
94
+ }[];
95
+ start: number;
96
+ limit: number;
97
+ length: number;
98
+ total: number;
99
+ };
100
+ outputFormat: "json";
101
+ status: 200;
102
+ };
103
+ };
104
+ } & {
105
+ "/:id": {
106
+ $get: {
107
+ input: {
108
+ param: {
109
+ id: string;
110
+ };
111
+ } & {
112
+ header: {
113
+ "tenant-id"?: string | undefined;
114
+ };
115
+ };
116
+ output: {
117
+ id: string;
118
+ type: "iat" | "rat";
119
+ status: "active" | "expired" | "used" | "revoked";
120
+ single_use: boolean;
121
+ created_at: string;
122
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
123
+ name?: string | undefined;
124
+ client_id?: string | undefined;
125
+ sub?: string | undefined;
126
+ created_by?: string | undefined;
127
+ constraints?: {
128
+ [x: string]: import("hono/utils/types").JSONValue;
129
+ } | undefined;
130
+ expires_at?: string | undefined;
131
+ used_at?: string | undefined;
132
+ revoked_at?: string | undefined;
133
+ };
134
+ outputFormat: "json";
135
+ status: 200;
136
+ };
137
+ };
138
+ } & {
139
+ "/:id/revoke": {
140
+ $post: {
141
+ input: {
142
+ param: {
143
+ id: string;
144
+ };
145
+ } & {
146
+ header: {
147
+ "tenant-id"?: string | undefined;
148
+ };
149
+ };
150
+ output: {};
151
+ outputFormat: string;
152
+ status: 202;
153
+ };
154
+ };
155
+ }, "/">;
156
+ export declare const clientRegistrationTicketRoutes: OpenAPIHono<{
157
+ Bindings: Bindings;
158
+ Variables: Variables;
159
+ }, {
160
+ "/:id/registration-ticket": {
161
+ $post: {
162
+ input: {
163
+ param: {
164
+ id: string;
165
+ };
166
+ } & {
167
+ header: {
168
+ "tenant-id"?: string | undefined;
169
+ };
170
+ } & {
171
+ json: {
172
+ ttl_sec?: number | undefined;
173
+ };
174
+ };
175
+ output: {
176
+ id: string;
177
+ ticket: string;
178
+ expires_at: string;
30
179
  };
31
180
  outputFormat: "json";
32
181
  status: 201;
@@ -1047,7 +1047,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1047
1047
  };
1048
1048
  } | {
1049
1049
  mode: "inline";
1050
- status: "error" | "success";
1050
+ status: "success" | "error";
1051
1051
  connection_id: string;
1052
1052
  connection_name: string;
1053
1053
  strategy: string;