authhero 9.13.1 → 9.15.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/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/{p-1471c0f2.entry.js → p-1eb7f287.entry.js} +1 -1
  4. package/dist/assets/u/widget/p-398d72df.entry.js +1 -0
  5. package/dist/authhero.cjs +144 -144
  6. package/dist/authhero.d.ts +469 -288
  7. package/dist/authhero.mjs +14662 -13647
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/custom-token-exchange.d.ts +21 -0
  10. package/dist/types/authentication-flows/passwordless.d.ts +5 -2
  11. package/dist/types/authentication-flows/token-exchange.d.ts +19 -0
  12. package/dist/types/emails/index.d.ts +8 -9
  13. package/dist/types/emails/render.d.ts +2 -6
  14. package/dist/types/generated/locale-types.d.ts +2 -0
  15. package/dist/types/helpers/client-assertion-replay.d.ts +17 -0
  16. package/dist/types/helpers/client-keys.d.ts +9 -0
  17. package/dist/types/helpers/client.d.ts +3 -0
  18. package/dist/types/helpers/connection.d.ts +2 -6
  19. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  20. package/dist/types/helpers/logging.d.ts +2 -5
  21. package/dist/types/helpers/organization-branding.d.ts +18 -0
  22. package/dist/types/helpers/reserved-claims.d.ts +4 -8
  23. package/dist/types/helpers/service-token.d.ts +2 -5
  24. package/dist/types/helpers/wait-until.d.ts +3 -1
  25. package/dist/types/index.d.ts +430 -282
  26. package/dist/types/routes/auth-api/index.d.ts +129 -19
  27. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  28. package/dist/types/routes/auth-api/token.d.ts +110 -0
  29. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  30. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  31. package/dist/types/routes/management-api/actions.d.ts +3 -3
  32. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  33. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  34. package/dist/types/routes/management-api/clients.d.ts +24 -0
  35. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  36. package/dist/types/routes/management-api/emails.d.ts +2 -2
  37. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  38. package/dist/types/routes/management-api/forms.d.ts +14 -0
  39. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  40. package/dist/types/routes/management-api/hooks.d.ts +4 -4
  41. package/dist/types/routes/management-api/index.d.ts +288 -250
  42. package/dist/types/routes/management-api/keys.d.ts +12 -12
  43. package/dist/types/routes/management-api/logs.d.ts +4 -4
  44. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  45. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  46. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  47. package/dist/types/routes/management-api/token-exchange-profiles.d.ts +321 -0
  48. package/dist/types/routes/management-api/users.d.ts +14 -14
  49. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +9 -2
  50. package/dist/types/routes/proxy-control-plane/verify.d.ts +15 -0
  51. package/dist/types/routes/universal-login/common.d.ts +6 -0
  52. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  53. package/dist/types/routes/universal-login/form-node.d.ts +4 -4
  54. package/dist/types/routes/universal-login/index.d.ts +6 -6
  55. package/dist/types/routes/universal-login/screens/login-otp.d.ts +17 -0
  56. package/dist/types/routes/universal-login/screens/types.d.ts +6 -0
  57. package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
  58. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  59. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  60. package/dist/types/state-machines/login-session.d.ts +1 -1
  61. package/dist/types/tenant-members/local-backend.d.ts +11 -3
  62. package/dist/types/types/RequestContext.d.ts +16 -0
  63. package/dist/types/types/index.d.ts +1 -0
  64. package/dist/types/utils/jwks.d.ts +2 -2
  65. package/dist/types/utils/jws-verify.d.ts +46 -0
  66. package/package.json +6 -6
  67. package/dist/assets/u/widget/p-c2744f87.entry.js +0 -1
@@ -739,21 +739,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
739
  connection: "email";
740
740
  client_id: string;
741
741
  email: string;
742
- send: "link" | "code";
742
+ send: "code" | "link";
743
743
  authParams: {
744
- username?: string | undefined;
745
- state?: string | undefined;
746
- redirect_uri?: string | undefined;
747
- organization?: string | undefined;
748
744
  audience?: string | undefined;
749
- act_as?: string | undefined;
750
745
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
751
746
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
752
- nonce?: string | undefined;
753
747
  scope?: string | undefined;
754
- prompt?: string | undefined;
755
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
748
+ username?: string | undefined;
749
+ state?: string | undefined;
756
750
  code_challenge?: string | undefined;
751
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
752
+ redirect_uri?: string | undefined;
753
+ nonce?: string | undefined;
754
+ act_as?: string | undefined;
755
+ organization?: string | undefined;
756
+ prompt?: string | undefined;
757
757
  ui_locales?: string | undefined;
758
758
  max_age?: number | undefined;
759
759
  acr_values?: string | undefined;
@@ -775,21 +775,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
775
  client_id: string;
776
776
  connection: "sms";
777
777
  phone_number: string;
778
- send: "link" | "code";
778
+ send: "code" | "link";
779
779
  authParams: {
780
- username?: string | undefined;
781
- state?: string | undefined;
782
- redirect_uri?: string | undefined;
783
- organization?: string | undefined;
784
780
  audience?: string | undefined;
785
- act_as?: string | undefined;
786
781
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
787
782
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
788
- nonce?: string | undefined;
789
783
  scope?: string | undefined;
790
- prompt?: string | undefined;
791
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
784
+ username?: string | undefined;
785
+ state?: string | undefined;
792
786
  code_challenge?: string | undefined;
787
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
788
+ redirect_uri?: string | undefined;
789
+ nonce?: string | undefined;
790
+ act_as?: string | undefined;
791
+ organization?: string | undefined;
792
+ prompt?: string | undefined;
793
793
  ui_locales?: string | undefined;
794
794
  max_age?: number | undefined;
795
795
  acr_values?: string | undefined;
@@ -1033,6 +1033,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1033
1033
  client_secret?: string | undefined;
1034
1034
  client_assertion?: string | undefined;
1035
1035
  client_assertion_type?: string | undefined;
1036
+ } | {
1037
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1038
+ subject_token: string;
1039
+ subject_token_type: string;
1040
+ audience?: string | undefined;
1041
+ scope?: string | undefined;
1042
+ organization?: string | undefined;
1043
+ client_id?: string | undefined;
1044
+ client_secret?: string | undefined;
1045
+ client_assertion?: string | undefined;
1046
+ client_assertion_type?: string | undefined;
1036
1047
  };
1037
1048
  } & {
1038
1049
  json: {
@@ -1082,6 +1093,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1082
1093
  client_secret?: string | undefined;
1083
1094
  client_assertion?: string | undefined;
1084
1095
  client_assertion_type?: string | undefined;
1096
+ } | {
1097
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1098
+ subject_token: string;
1099
+ subject_token_type: string;
1100
+ audience?: string | undefined;
1101
+ scope?: string | undefined;
1102
+ organization?: string | undefined;
1103
+ client_id?: string | undefined;
1104
+ client_secret?: string | undefined;
1105
+ client_assertion?: string | undefined;
1106
+ client_assertion_type?: string | undefined;
1085
1107
  };
1086
1108
  };
1087
1109
  output: {};
@@ -1136,6 +1158,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1136
1158
  client_secret?: string | undefined;
1137
1159
  client_assertion?: string | undefined;
1138
1160
  client_assertion_type?: string | undefined;
1161
+ } | {
1162
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1163
+ subject_token: string;
1164
+ subject_token_type: string;
1165
+ audience?: string | undefined;
1166
+ scope?: string | undefined;
1167
+ organization?: string | undefined;
1168
+ client_id?: string | undefined;
1169
+ client_secret?: string | undefined;
1170
+ client_assertion?: string | undefined;
1171
+ client_assertion_type?: string | undefined;
1139
1172
  };
1140
1173
  } & {
1141
1174
  json: {
@@ -1185,6 +1218,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1185
1218
  client_secret?: string | undefined;
1186
1219
  client_assertion?: string | undefined;
1187
1220
  client_assertion_type?: string | undefined;
1221
+ } | {
1222
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1223
+ subject_token: string;
1224
+ subject_token_type: string;
1225
+ audience?: string | undefined;
1226
+ scope?: string | undefined;
1227
+ organization?: string | undefined;
1228
+ client_id?: string | undefined;
1229
+ client_secret?: string | undefined;
1230
+ client_assertion?: string | undefined;
1231
+ client_assertion_type?: string | undefined;
1188
1232
  };
1189
1233
  };
1190
1234
  output: {
@@ -1247,6 +1291,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1247
1291
  client_secret?: string | undefined;
1248
1292
  client_assertion?: string | undefined;
1249
1293
  client_assertion_type?: string | undefined;
1294
+ } | {
1295
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1296
+ subject_token: string;
1297
+ subject_token_type: string;
1298
+ audience?: string | undefined;
1299
+ scope?: string | undefined;
1300
+ organization?: string | undefined;
1301
+ client_id?: string | undefined;
1302
+ client_secret?: string | undefined;
1303
+ client_assertion?: string | undefined;
1304
+ client_assertion_type?: string | undefined;
1250
1305
  };
1251
1306
  } & {
1252
1307
  json: {
@@ -1296,6 +1351,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1296
1351
  client_secret?: string | undefined;
1297
1352
  client_assertion?: string | undefined;
1298
1353
  client_assertion_type?: string | undefined;
1354
+ } | {
1355
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1356
+ subject_token: string;
1357
+ subject_token_type: string;
1358
+ audience?: string | undefined;
1359
+ scope?: string | undefined;
1360
+ organization?: string | undefined;
1361
+ client_id?: string | undefined;
1362
+ client_secret?: string | undefined;
1363
+ client_assertion?: string | undefined;
1364
+ client_assertion_type?: string | undefined;
1299
1365
  };
1300
1366
  };
1301
1367
  output: {
@@ -1353,6 +1419,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1353
1419
  client_secret?: string | undefined;
1354
1420
  client_assertion?: string | undefined;
1355
1421
  client_assertion_type?: string | undefined;
1422
+ } | {
1423
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1424
+ subject_token: string;
1425
+ subject_token_type: string;
1426
+ audience?: string | undefined;
1427
+ scope?: string | undefined;
1428
+ organization?: string | undefined;
1429
+ client_id?: string | undefined;
1430
+ client_secret?: string | undefined;
1431
+ client_assertion?: string | undefined;
1432
+ client_assertion_type?: string | undefined;
1356
1433
  };
1357
1434
  } & {
1358
1435
  json: {
@@ -1402,6 +1479,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1402
1479
  client_secret?: string | undefined;
1403
1480
  client_assertion?: string | undefined;
1404
1481
  client_assertion_type?: string | undefined;
1482
+ } | {
1483
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1484
+ subject_token: string;
1485
+ subject_token_type: string;
1486
+ audience?: string | undefined;
1487
+ scope?: string | undefined;
1488
+ organization?: string | undefined;
1489
+ client_id?: string | undefined;
1490
+ client_secret?: string | undefined;
1491
+ client_assertion?: string | undefined;
1492
+ client_assertion_type?: string | undefined;
1405
1493
  };
1406
1494
  };
1407
1495
  output: {
@@ -1459,6 +1547,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1459
1547
  client_secret?: string | undefined;
1460
1548
  client_assertion?: string | undefined;
1461
1549
  client_assertion_type?: string | undefined;
1550
+ } | {
1551
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1552
+ subject_token: string;
1553
+ subject_token_type: string;
1554
+ audience?: string | undefined;
1555
+ scope?: string | undefined;
1556
+ organization?: string | undefined;
1557
+ client_id?: string | undefined;
1558
+ client_secret?: string | undefined;
1559
+ client_assertion?: string | undefined;
1560
+ client_assertion_type?: string | undefined;
1462
1561
  };
1463
1562
  } & {
1464
1563
  json: {
@@ -1508,6 +1607,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1508
1607
  client_secret?: string | undefined;
1509
1608
  client_assertion?: string | undefined;
1510
1609
  client_assertion_type?: string | undefined;
1610
+ } | {
1611
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1612
+ subject_token: string;
1613
+ subject_token_type: string;
1614
+ audience?: string | undefined;
1615
+ scope?: string | undefined;
1616
+ organization?: string | undefined;
1617
+ client_id?: string | undefined;
1618
+ client_secret?: string | undefined;
1619
+ client_assertion?: string | undefined;
1620
+ client_assertion_type?: string | undefined;
1511
1621
  };
1512
1622
  };
1513
1623
  output: {
@@ -1524,8 +1634,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1524
1634
  input: {};
1525
1635
  output: {
1526
1636
  keys: {
1527
- alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
1528
1637
  kty: "EC" | "RSA" | "oct";
1638
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
1529
1639
  kid?: string | undefined;
1530
1640
  use?: "sig" | "enc" | undefined;
1531
1641
  n?: string | undefined;
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- username?: string | undefined;
18
- state?: string | undefined;
19
- act_as?: string | undefined;
17
+ audience?: string | undefined;
20
18
  response_type?: AuthorizationResponseType | undefined;
21
19
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
+ scope?: string | undefined;
21
+ username?: string | undefined;
22
+ state?: string | undefined;
23
+ code_challenge?: string | undefined;
24
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
22
25
  redirect_uri?: string | undefined;
23
- audience?: string | undefined;
24
- organization?: string | undefined;
25
26
  nonce?: string | undefined;
26
- scope?: string | undefined;
27
+ act_as?: string | undefined;
28
+ organization?: string | undefined;
27
29
  prompt?: string | undefined;
28
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
- code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- username?: string | undefined;
54
- state?: string | undefined;
55
- act_as?: string | undefined;
53
+ audience?: string | undefined;
56
54
  response_type?: AuthorizationResponseType | undefined;
57
55
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
+ scope?: string | undefined;
57
+ username?: string | undefined;
58
+ state?: string | undefined;
59
+ code_challenge?: string | undefined;
60
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
58
61
  redirect_uri?: string | undefined;
59
- audience?: string | undefined;
60
- organization?: string | undefined;
61
62
  nonce?: string | undefined;
62
- scope?: string | undefined;
63
+ act_as?: string | undefined;
64
+ organization?: string | undefined;
63
65
  prompt?: string | undefined;
64
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
- code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
@@ -54,6 +54,17 @@ export declare const tokenRoutes: OpenAPIHono<{
54
54
  client_secret?: string | undefined;
55
55
  client_assertion?: string | undefined;
56
56
  client_assertion_type?: string | undefined;
57
+ } | {
58
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
59
+ subject_token: string;
60
+ subject_token_type: string;
61
+ audience?: string | undefined;
62
+ scope?: string | undefined;
63
+ organization?: string | undefined;
64
+ client_id?: string | undefined;
65
+ client_secret?: string | undefined;
66
+ client_assertion?: string | undefined;
67
+ client_assertion_type?: string | undefined;
57
68
  };
58
69
  } & {
59
70
  json: {
@@ -103,6 +114,17 @@ export declare const tokenRoutes: OpenAPIHono<{
103
114
  client_secret?: string | undefined;
104
115
  client_assertion?: string | undefined;
105
116
  client_assertion_type?: string | undefined;
117
+ } | {
118
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
119
+ subject_token: string;
120
+ subject_token_type: string;
121
+ audience?: string | undefined;
122
+ scope?: string | undefined;
123
+ organization?: string | undefined;
124
+ client_id?: string | undefined;
125
+ client_secret?: string | undefined;
126
+ client_assertion?: string | undefined;
127
+ client_assertion_type?: string | undefined;
106
128
  };
107
129
  };
108
130
  output: {};
@@ -157,6 +179,17 @@ export declare const tokenRoutes: OpenAPIHono<{
157
179
  client_secret?: string | undefined;
158
180
  client_assertion?: string | undefined;
159
181
  client_assertion_type?: string | undefined;
182
+ } | {
183
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
184
+ subject_token: string;
185
+ subject_token_type: string;
186
+ audience?: string | undefined;
187
+ scope?: string | undefined;
188
+ organization?: string | undefined;
189
+ client_id?: string | undefined;
190
+ client_secret?: string | undefined;
191
+ client_assertion?: string | undefined;
192
+ client_assertion_type?: string | undefined;
160
193
  };
161
194
  } & {
162
195
  json: {
@@ -206,6 +239,17 @@ export declare const tokenRoutes: OpenAPIHono<{
206
239
  client_secret?: string | undefined;
207
240
  client_assertion?: string | undefined;
208
241
  client_assertion_type?: string | undefined;
242
+ } | {
243
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
244
+ subject_token: string;
245
+ subject_token_type: string;
246
+ audience?: string | undefined;
247
+ scope?: string | undefined;
248
+ organization?: string | undefined;
249
+ client_id?: string | undefined;
250
+ client_secret?: string | undefined;
251
+ client_assertion?: string | undefined;
252
+ client_assertion_type?: string | undefined;
209
253
  };
210
254
  };
211
255
  output: {
@@ -268,6 +312,17 @@ export declare const tokenRoutes: OpenAPIHono<{
268
312
  client_secret?: string | undefined;
269
313
  client_assertion?: string | undefined;
270
314
  client_assertion_type?: string | undefined;
315
+ } | {
316
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
317
+ subject_token: string;
318
+ subject_token_type: string;
319
+ audience?: string | undefined;
320
+ scope?: string | undefined;
321
+ organization?: string | undefined;
322
+ client_id?: string | undefined;
323
+ client_secret?: string | undefined;
324
+ client_assertion?: string | undefined;
325
+ client_assertion_type?: string | undefined;
271
326
  };
272
327
  } & {
273
328
  json: {
@@ -317,6 +372,17 @@ export declare const tokenRoutes: OpenAPIHono<{
317
372
  client_secret?: string | undefined;
318
373
  client_assertion?: string | undefined;
319
374
  client_assertion_type?: string | undefined;
375
+ } | {
376
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
377
+ subject_token: string;
378
+ subject_token_type: string;
379
+ audience?: string | undefined;
380
+ scope?: string | undefined;
381
+ organization?: string | undefined;
382
+ client_id?: string | undefined;
383
+ client_secret?: string | undefined;
384
+ client_assertion?: string | undefined;
385
+ client_assertion_type?: string | undefined;
320
386
  };
321
387
  };
322
388
  output: {
@@ -374,6 +440,17 @@ export declare const tokenRoutes: OpenAPIHono<{
374
440
  client_secret?: string | undefined;
375
441
  client_assertion?: string | undefined;
376
442
  client_assertion_type?: string | undefined;
443
+ } | {
444
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
445
+ subject_token: string;
446
+ subject_token_type: string;
447
+ audience?: string | undefined;
448
+ scope?: string | undefined;
449
+ organization?: string | undefined;
450
+ client_id?: string | undefined;
451
+ client_secret?: string | undefined;
452
+ client_assertion?: string | undefined;
453
+ client_assertion_type?: string | undefined;
377
454
  };
378
455
  } & {
379
456
  json: {
@@ -423,6 +500,17 @@ export declare const tokenRoutes: OpenAPIHono<{
423
500
  client_secret?: string | undefined;
424
501
  client_assertion?: string | undefined;
425
502
  client_assertion_type?: string | undefined;
503
+ } | {
504
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
505
+ subject_token: string;
506
+ subject_token_type: string;
507
+ audience?: string | undefined;
508
+ scope?: string | undefined;
509
+ organization?: string | undefined;
510
+ client_id?: string | undefined;
511
+ client_secret?: string | undefined;
512
+ client_assertion?: string | undefined;
513
+ client_assertion_type?: string | undefined;
426
514
  };
427
515
  };
428
516
  output: {
@@ -480,6 +568,17 @@ export declare const tokenRoutes: OpenAPIHono<{
480
568
  client_secret?: string | undefined;
481
569
  client_assertion?: string | undefined;
482
570
  client_assertion_type?: string | undefined;
571
+ } | {
572
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
573
+ subject_token: string;
574
+ subject_token_type: string;
575
+ audience?: string | undefined;
576
+ scope?: string | undefined;
577
+ organization?: string | undefined;
578
+ client_id?: string | undefined;
579
+ client_secret?: string | undefined;
580
+ client_assertion?: string | undefined;
581
+ client_assertion_type?: string | undefined;
483
582
  };
484
583
  } & {
485
584
  json: {
@@ -529,6 +628,17 @@ export declare const tokenRoutes: OpenAPIHono<{
529
628
  client_secret?: string | undefined;
530
629
  client_assertion?: string | undefined;
531
630
  client_assertion_type?: string | undefined;
631
+ } | {
632
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
633
+ subject_token: string;
634
+ subject_token_type: string;
635
+ audience?: string | undefined;
636
+ scope?: string | undefined;
637
+ organization?: string | undefined;
638
+ client_id?: string | undefined;
639
+ client_secret?: string | undefined;
640
+ client_assertion?: string | undefined;
641
+ client_assertion_type?: string | undefined;
532
642
  };
533
643
  };
534
644
  output: {
@@ -8,8 +8,8 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
8
8
  input: {};
9
9
  output: {
10
10
  keys: {
11
- alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
12
11
  kty: "EC" | "RSA" | "oct";
12
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
13
13
  kid?: string | undefined;
14
14
  use?: "sig" | "enc" | undefined;
15
15
  n?: string | undefined;
@@ -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" | "info" | "log" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -297,7 +297,7 @@ export declare const actionsRoutes: OpenAPIHono<{
297
297
  };
298
298
  output: {};
299
299
  outputFormat: string;
300
- status: 200;
300
+ status: 404;
301
301
  } | {
302
302
  input: {
303
303
  param: {
@@ -310,7 +310,7 @@ export declare const actionsRoutes: OpenAPIHono<{
310
310
  };
311
311
  output: {};
312
312
  outputFormat: string;
313
- status: 404;
313
+ status: 200;
314
314
  } | {
315
315
  input: {
316
316
  param: {
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
656
656
  args: import("hono/utils/types").JSONValue[];
657
657
  }[];
658
658
  logs: {
659
- level: "log" | "error" | "info" | "warn" | "debug";
659
+ level: "error" | "info" | "log" | "warn" | "debug";
660
660
  message: string;
661
661
  }[];
662
662
  error?: string | undefined;
@@ -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: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
16
16
  audience?: string | undefined;
17
17
  client_id?: string | undefined;
18
18
  allow_any_organization?: string | undefined;
19
- subject_type?: "user" | "client" | undefined;
19
+ subject_type?: "client" | "user" | undefined;
20
20
  };
21
21
  } & {
22
22
  header: {
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
31
31
  organization_usage?: "deny" | "allow" | "require" | undefined;
32
32
  allow_any_organization?: boolean | undefined;
33
33
  is_system?: boolean | undefined;
34
- subject_type?: "user" | "client" | undefined;
34
+ subject_type?: "client" | "user" | undefined;
35
35
  authorization_details_types?: string[] | undefined;
36
36
  created_at?: string | undefined;
37
37
  updated_at?: string | undefined;
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
47
47
  organization_usage?: "deny" | "allow" | "require" | undefined;
48
48
  allow_any_organization?: boolean | undefined;
49
49
  is_system?: boolean | undefined;
50
- subject_type?: "user" | "client" | undefined;
50
+ subject_type?: "client" | "user" | undefined;
51
51
  authorization_details_types?: string[] | undefined;
52
52
  created_at?: string | undefined;
53
53
  updated_at?: string | undefined;
@@ -63,7 +63,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
63
63
  organization_usage?: "deny" | "allow" | "require" | undefined;
64
64
  allow_any_organization?: boolean | undefined;
65
65
  is_system?: boolean | undefined;
66
- subject_type?: "user" | "client" | undefined;
66
+ subject_type?: "client" | "user" | undefined;
67
67
  authorization_details_types?: string[] | undefined;
68
68
  created_at?: string | undefined;
69
69
  updated_at?: string | undefined;
@@ -94,7 +94,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
94
94
  organization_usage?: "deny" | "allow" | "require" | undefined;
95
95
  allow_any_organization?: boolean | undefined;
96
96
  is_system?: boolean | undefined;
97
- subject_type?: "user" | "client" | undefined;
97
+ subject_type?: "client" | "user" | undefined;
98
98
  authorization_details_types?: string[] | undefined;
99
99
  created_at?: string | undefined;
100
100
  updated_at?: string | undefined;
@@ -139,7 +139,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
139
139
  organization_usage?: "deny" | "allow" | "require" | undefined;
140
140
  allow_any_organization?: boolean | undefined;
141
141
  is_system?: boolean | undefined;
142
- subject_type?: "user" | "client" | undefined;
142
+ subject_type?: "client" | "user" | undefined;
143
143
  authorization_details_types?: string[] | undefined;
144
144
  };
145
145
  };
@@ -151,7 +151,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
151
151
  organization_usage?: "deny" | "allow" | "require" | undefined;
152
152
  allow_any_organization?: boolean | undefined;
153
153
  is_system?: boolean | undefined;
154
- subject_type?: "user" | "client" | undefined;
154
+ subject_type?: "client" | "user" | undefined;
155
155
  authorization_details_types?: string[] | undefined;
156
156
  created_at?: string | undefined;
157
157
  updated_at?: string | undefined;
@@ -175,7 +175,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
175
175
  organization_usage?: "deny" | "allow" | "require" | undefined;
176
176
  allow_any_organization?: boolean | undefined;
177
177
  is_system?: boolean | undefined;
178
- subject_type?: "user" | "client" | undefined;
178
+ subject_type?: "client" | "user" | undefined;
179
179
  authorization_details_types?: string[] | undefined;
180
180
  };
181
181
  };
@@ -187,7 +187,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
187
187
  organization_usage?: "deny" | "allow" | "require" | undefined;
188
188
  allow_any_organization?: boolean | undefined;
189
189
  is_system?: boolean | undefined;
190
- subject_type?: "user" | "client" | undefined;
190
+ subject_type?: "client" | "user" | undefined;
191
191
  authorization_details_types?: string[] | undefined;
192
192
  created_at?: string | undefined;
193
193
  updated_at?: string | undefined;