@bodhiapp/ts-client 0.1.24 → 0.1.26

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.
@@ -1247,13 +1247,6 @@ export type ErrorBody = {
1247
1247
  [key: string]: string;
1248
1248
  } | null;
1249
1249
  };
1250
- export type FetchMcpToolsRequest = {
1251
- mcp_server_id: string;
1252
- auth?: null | McpAuth;
1253
- credentials?: Array<McpAuthParamInput> | null;
1254
- auth_config_id?: string | null;
1255
- oauth_token_id?: string | null;
1256
- };
1257
1250
  /**
1258
1251
  * Request to fetch available models from provider
1259
1252
  */
@@ -1395,7 +1388,7 @@ export type LocalModelResponse = {
1395
1388
  metadata?: null | ModelMetadata;
1396
1389
  };
1397
1390
  /**
1398
- * User-owned MCP server instance with tool caching and filtering.
1391
+ * User-owned MCP server instance.
1399
1392
  */
1400
1393
  export type Mcp = {
1401
1394
  /**
@@ -1423,13 +1416,9 @@ export type Mcp = {
1423
1416
  */
1424
1417
  enabled: boolean;
1425
1418
  /**
1426
- * Cached tool schemas from the MCP server (JSON array)
1419
+ * MCP proxy path for this instance
1427
1420
  */
1428
- tools_cache?: Array<McpTool> | null;
1429
- /**
1430
- * Whitelisted tool names (empty = block all)
1431
- */
1432
- tools_filter?: Array<string> | null;
1421
+ path: string;
1433
1422
  auth_type: McpAuthType;
1434
1423
  /**
1435
1424
  * Reference to the auth config (mcp_auth_configs.id)
@@ -1449,13 +1438,6 @@ export type McpApproval = {
1449
1438
  status: ApprovalStatus;
1450
1439
  instance?: null | McpInstance;
1451
1440
  };
1452
- export type McpAuth = {
1453
- type: 'public';
1454
- } | {
1455
- header_key: string;
1456
- header_value: string;
1457
- type: 'header';
1458
- };
1459
1441
  export type McpAuthConfigParam = {
1460
1442
  id: string;
1461
1443
  param_type: McpAuthParamType;
@@ -1517,15 +1499,12 @@ export type McpAuthParamInput = {
1517
1499
  };
1518
1500
  export type McpAuthParamType = 'header' | 'query';
1519
1501
  export type McpAuthType = 'public' | 'header' | 'oauth';
1520
- export type McpExecuteRequest = {
1521
- params: unknown;
1522
- };
1523
- export type McpExecuteResponse = {
1524
- result?: unknown;
1525
- error?: string | null;
1526
- };
1527
1502
  export type McpInstance = {
1528
1503
  id: string;
1504
+ /**
1505
+ * MCP proxy path for this instance (e.g. `/bodhi/v1/apps/mcps/{id}/mcp`)
1506
+ */
1507
+ path: string;
1529
1508
  };
1530
1509
  /**
1531
1510
  * Input for creating or updating an MCP instance.
@@ -1551,14 +1530,6 @@ export type McpRequest = {
1551
1530
  * Whether this instance is enabled
1552
1531
  */
1553
1532
  enabled: boolean;
1554
- /**
1555
- * Cached tool schemas from the MCP server (JSON array)
1556
- */
1557
- tools_cache?: Array<McpTool> | null;
1558
- /**
1559
- * Whitelisted tool names
1560
- */
1561
- tools_filter?: Array<string> | null;
1562
1533
  /**
1563
1534
  * Authentication type
1564
1535
  */
@@ -1667,26 +1638,6 @@ export type McpServerReviewInfo = {
1667
1638
  */
1668
1639
  instances: Array<Mcp>;
1669
1640
  };
1670
- /**
1671
- * Tool schema cached from an MCP server's tools/list response.
1672
- */
1673
- export type McpTool = {
1674
- /**
1675
- * Tool name as declared by the MCP server
1676
- */
1677
- name: string;
1678
- /**
1679
- * Human-readable description of the tool
1680
- */
1681
- description?: string | null;
1682
- /**
1683
- * JSON Schema for tool input parameters
1684
- */
1685
- input_schema?: unknown;
1686
- };
1687
- export type McpToolsResponse = {
1688
- tools: Array<McpTool>;
1689
- };
1690
1641
  export type Message = {
1691
1642
  role: string;
1692
1643
  content: string;
@@ -3020,7 +2971,7 @@ export type AppsGetMcpResponses = {
3020
2971
  200: Mcp;
3021
2972
  };
3022
2973
  export type AppsGetMcpResponse = AppsGetMcpResponses[keyof AppsGetMcpResponses];
3023
- export type AppsRefreshMcpToolsData = {
2974
+ export type McpProxyData = {
3024
2975
  body?: never;
3025
2976
  path: {
3026
2977
  /**
@@ -3029,9 +2980,9 @@ export type AppsRefreshMcpToolsData = {
3029
2980
  id: string;
3030
2981
  };
3031
2982
  query?: never;
3032
- url: '/bodhi/v1/apps/mcps/{id}/tools/refresh';
2983
+ url: '/bodhi/v1/apps/mcps/{id}/mcp';
3033
2984
  };
3034
- export type AppsRefreshMcpToolsErrors = {
2985
+ export type McpProxyErrors = {
3035
2986
  /**
3036
2987
  * Invalid request parameters
3037
2988
  */
@@ -3044,68 +2995,18 @@ export type AppsRefreshMcpToolsErrors = {
3044
2995
  * Insufficient permissions
3045
2996
  */
3046
2997
  403: OpenAiApiError;
3047
- /**
3048
- * MCP not found
3049
- */
3050
- 404: unknown;
3051
2998
  /**
3052
2999
  * Internal server error
3053
3000
  */
3054
3001
  500: OpenAiApiError;
3055
3002
  };
3056
- export type AppsRefreshMcpToolsError = AppsRefreshMcpToolsErrors[keyof AppsRefreshMcpToolsErrors];
3057
- export type AppsRefreshMcpToolsResponses = {
3003
+ export type McpProxyError = McpProxyErrors[keyof McpProxyErrors];
3004
+ export type McpProxyResponses = {
3058
3005
  /**
3059
- * Refreshed list of tools
3006
+ * Upstream response forwarded
3060
3007
  */
3061
- 200: McpToolsResponse;
3062
- };
3063
- export type AppsRefreshMcpToolsResponse = AppsRefreshMcpToolsResponses[keyof AppsRefreshMcpToolsResponses];
3064
- export type AppsExecuteMcpToolData = {
3065
- body: McpExecuteRequest;
3066
- path: {
3067
- /**
3068
- * MCP instance UUID
3069
- */
3070
- id: string;
3071
- /**
3072
- * Tool name to execute
3073
- */
3074
- tool_name: string;
3075
- };
3076
- query?: never;
3077
- url: '/bodhi/v1/apps/mcps/{id}/tools/{tool_name}/execute';
3078
- };
3079
- export type AppsExecuteMcpToolErrors = {
3080
- /**
3081
- * Invalid request parameters
3082
- */
3083
- 400: OpenAiApiError;
3084
- /**
3085
- * Not authenticated
3086
- */
3087
- 401: OpenAiApiError;
3088
- /**
3089
- * Insufficient permissions
3090
- */
3091
- 403: OpenAiApiError;
3092
- /**
3093
- * MCP or tool not found
3094
- */
3095
- 404: unknown;
3096
- /**
3097
- * Internal server error
3098
- */
3099
- 500: OpenAiApiError;
3100
- };
3101
- export type AppsExecuteMcpToolError = AppsExecuteMcpToolErrors[keyof AppsExecuteMcpToolErrors];
3102
- export type AppsExecuteMcpToolResponses = {
3103
- /**
3104
- * Tool execution result
3105
- */
3106
- 200: McpExecuteResponse;
3008
+ 200: unknown;
3107
3009
  };
3108
- export type AppsExecuteMcpToolResponse = AppsExecuteMcpToolResponses[keyof AppsExecuteMcpToolResponses];
3109
3010
  export type CreateAccessRequestData = {
3110
3011
  /**
3111
3012
  * Access request details
@@ -3644,42 +3545,6 @@ export type McpOAuthTokenExchangeResponses = {
3644
3545
  200: OAuthTokenResponse;
3645
3546
  };
3646
3547
  export type McpOAuthTokenExchangeResponse = McpOAuthTokenExchangeResponses[keyof McpOAuthTokenExchangeResponses];
3647
- export type FetchMcpToolsData = {
3648
- body: FetchMcpToolsRequest;
3649
- path?: never;
3650
- query?: never;
3651
- url: '/bodhi/v1/mcps/fetch-tools';
3652
- };
3653
- export type FetchMcpToolsErrors = {
3654
- /**
3655
- * Invalid request parameters
3656
- */
3657
- 400: OpenAiApiError;
3658
- /**
3659
- * Not authenticated
3660
- */
3661
- 401: OpenAiApiError;
3662
- /**
3663
- * Insufficient permissions
3664
- */
3665
- 403: OpenAiApiError;
3666
- /**
3667
- * MCP server not found
3668
- */
3669
- 404: unknown;
3670
- /**
3671
- * Internal server error
3672
- */
3673
- 500: OpenAiApiError;
3674
- };
3675
- export type FetchMcpToolsError = FetchMcpToolsErrors[keyof FetchMcpToolsErrors];
3676
- export type FetchMcpToolsResponses = {
3677
- /**
3678
- * List of tools from MCP server
3679
- */
3680
- 200: McpToolsResponse;
3681
- };
3682
- export type FetchMcpToolsResponse = FetchMcpToolsResponses[keyof FetchMcpToolsResponses];
3683
3548
  export type DeleteMcpOAuthTokenData = {
3684
3549
  body?: never;
3685
3550
  path: {
@@ -4140,92 +4005,6 @@ export type UpdateMcpResponses = {
4140
4005
  200: Mcp;
4141
4006
  };
4142
4007
  export type UpdateMcpResponse = UpdateMcpResponses[keyof UpdateMcpResponses];
4143
- export type RefreshMcpToolsData = {
4144
- body?: never;
4145
- path: {
4146
- /**
4147
- * MCP instance UUID
4148
- */
4149
- id: string;
4150
- };
4151
- query?: never;
4152
- url: '/bodhi/v1/mcps/{id}/tools/refresh';
4153
- };
4154
- export type RefreshMcpToolsErrors = {
4155
- /**
4156
- * Invalid request parameters
4157
- */
4158
- 400: OpenAiApiError;
4159
- /**
4160
- * Not authenticated
4161
- */
4162
- 401: OpenAiApiError;
4163
- /**
4164
- * Insufficient permissions
4165
- */
4166
- 403: OpenAiApiError;
4167
- /**
4168
- * MCP not found
4169
- */
4170
- 404: unknown;
4171
- /**
4172
- * Internal server error
4173
- */
4174
- 500: OpenAiApiError;
4175
- };
4176
- export type RefreshMcpToolsError = RefreshMcpToolsErrors[keyof RefreshMcpToolsErrors];
4177
- export type RefreshMcpToolsResponses = {
4178
- /**
4179
- * Refreshed list of tools
4180
- */
4181
- 200: McpToolsResponse;
4182
- };
4183
- export type RefreshMcpToolsResponse = RefreshMcpToolsResponses[keyof RefreshMcpToolsResponses];
4184
- export type ExecuteMcpToolData = {
4185
- body: McpExecuteRequest;
4186
- path: {
4187
- /**
4188
- * MCP instance UUID
4189
- */
4190
- id: string;
4191
- /**
4192
- * Tool name to execute
4193
- */
4194
- tool_name: string;
4195
- };
4196
- query?: never;
4197
- url: '/bodhi/v1/mcps/{id}/tools/{tool_name}/execute';
4198
- };
4199
- export type ExecuteMcpToolErrors = {
4200
- /**
4201
- * Invalid request parameters
4202
- */
4203
- 400: OpenAiApiError;
4204
- /**
4205
- * Not authenticated
4206
- */
4207
- 401: OpenAiApiError;
4208
- /**
4209
- * Insufficient permissions
4210
- */
4211
- 403: OpenAiApiError;
4212
- /**
4213
- * MCP or tool not found
4214
- */
4215
- 404: unknown;
4216
- /**
4217
- * Internal server error
4218
- */
4219
- 500: OpenAiApiError;
4220
- };
4221
- export type ExecuteMcpToolError = ExecuteMcpToolErrors[keyof ExecuteMcpToolErrors];
4222
- export type ExecuteMcpToolResponses = {
4223
- /**
4224
- * Tool execution result
4225
- */
4226
- 200: McpExecuteResponse;
4227
- };
4228
- export type ExecuteMcpToolResponse = ExecuteMcpToolResponses[keyof ExecuteMcpToolResponses];
4229
4008
  export type ListAllModelsData = {
4230
4009
  body?: never;
4231
4010
  path?: never;
@@ -1356,14 +1356,6 @@ export type ErrorBody = {
1356
1356
  } | null;
1357
1357
  };
1358
1358
 
1359
- export type FetchMcpToolsRequest = {
1360
- mcp_server_id: string;
1361
- auth?: null | McpAuth;
1362
- credentials?: Array<McpAuthParamInput> | null;
1363
- auth_config_id?: string | null;
1364
- oauth_token_id?: string | null;
1365
- };
1366
-
1367
1359
  /**
1368
1360
  * Request to fetch available models from provider
1369
1361
  */
@@ -1526,7 +1518,7 @@ export type LocalModelResponse = {
1526
1518
  };
1527
1519
 
1528
1520
  /**
1529
- * User-owned MCP server instance with tool caching and filtering.
1521
+ * User-owned MCP server instance.
1530
1522
  */
1531
1523
  export type Mcp = {
1532
1524
  /**
@@ -1554,13 +1546,9 @@ export type Mcp = {
1554
1546
  */
1555
1547
  enabled: boolean;
1556
1548
  /**
1557
- * Cached tool schemas from the MCP server (JSON array)
1549
+ * MCP proxy path for this instance
1558
1550
  */
1559
- tools_cache?: Array<McpTool> | null;
1560
- /**
1561
- * Whitelisted tool names (empty = block all)
1562
- */
1563
- tools_filter?: Array<string> | null;
1551
+ path: string;
1564
1552
  auth_type: McpAuthType;
1565
1553
  /**
1566
1554
  * Reference to the auth config (mcp_auth_configs.id)
@@ -1582,14 +1570,6 @@ export type McpApproval = {
1582
1570
  instance?: null | McpInstance;
1583
1571
  };
1584
1572
 
1585
- export type McpAuth = {
1586
- type: 'public';
1587
- } | {
1588
- header_key: string;
1589
- header_value: string;
1590
- type: 'header';
1591
- };
1592
-
1593
1573
  export type McpAuthConfigParam = {
1594
1574
  id: string;
1595
1575
  param_type: McpAuthParamType;
@@ -1660,17 +1640,12 @@ export type McpAuthParamType = 'header' | 'query';
1660
1640
 
1661
1641
  export type McpAuthType = 'public' | 'header' | 'oauth';
1662
1642
 
1663
- export type McpExecuteRequest = {
1664
- params: unknown;
1665
- };
1666
-
1667
- export type McpExecuteResponse = {
1668
- result?: unknown;
1669
- error?: string | null;
1670
- };
1671
-
1672
1643
  export type McpInstance = {
1673
1644
  id: string;
1645
+ /**
1646
+ * MCP proxy path for this instance (e.g. `/bodhi/v1/apps/mcps/{id}/mcp`)
1647
+ */
1648
+ path: string;
1674
1649
  };
1675
1650
 
1676
1651
  /**
@@ -1697,14 +1672,6 @@ export type McpRequest = {
1697
1672
  * Whether this instance is enabled
1698
1673
  */
1699
1674
  enabled: boolean;
1700
- /**
1701
- * Cached tool schemas from the MCP server (JSON array)
1702
- */
1703
- tools_cache?: Array<McpTool> | null;
1704
- /**
1705
- * Whitelisted tool names
1706
- */
1707
- tools_filter?: Array<string> | null;
1708
1675
  /**
1709
1676
  * Authentication type
1710
1677
  */
@@ -1819,28 +1786,6 @@ export type McpServerReviewInfo = {
1819
1786
  instances: Array<Mcp>;
1820
1787
  };
1821
1788
 
1822
- /**
1823
- * Tool schema cached from an MCP server's tools/list response.
1824
- */
1825
- export type McpTool = {
1826
- /**
1827
- * Tool name as declared by the MCP server
1828
- */
1829
- name: string;
1830
- /**
1831
- * Human-readable description of the tool
1832
- */
1833
- description?: string | null;
1834
- /**
1835
- * JSON Schema for tool input parameters
1836
- */
1837
- input_schema?: unknown;
1838
- };
1839
-
1840
- export type McpToolsResponse = {
1841
- tools: Array<McpTool>;
1842
- };
1843
-
1844
1789
  export type Message = {
1845
1790
  role: string;
1846
1791
  content: string;
@@ -3329,7 +3274,7 @@ export type AppsGetMcpResponses = {
3329
3274
 
3330
3275
  export type AppsGetMcpResponse = AppsGetMcpResponses[keyof AppsGetMcpResponses];
3331
3276
 
3332
- export type AppsRefreshMcpToolsData = {
3277
+ export type McpProxyData = {
3333
3278
  body?: never;
3334
3279
  path: {
3335
3280
  /**
@@ -3338,60 +3283,10 @@ export type AppsRefreshMcpToolsData = {
3338
3283
  id: string;
3339
3284
  };
3340
3285
  query?: never;
3341
- url: '/bodhi/v1/apps/mcps/{id}/tools/refresh';
3342
- };
3343
-
3344
- export type AppsRefreshMcpToolsErrors = {
3345
- /**
3346
- * Invalid request parameters
3347
- */
3348
- 400: OpenAiApiError;
3349
- /**
3350
- * Not authenticated
3351
- */
3352
- 401: OpenAiApiError;
3353
- /**
3354
- * Insufficient permissions
3355
- */
3356
- 403: OpenAiApiError;
3357
- /**
3358
- * MCP not found
3359
- */
3360
- 404: unknown;
3361
- /**
3362
- * Internal server error
3363
- */
3364
- 500: OpenAiApiError;
3365
- };
3366
-
3367
- export type AppsRefreshMcpToolsError = AppsRefreshMcpToolsErrors[keyof AppsRefreshMcpToolsErrors];
3368
-
3369
- export type AppsRefreshMcpToolsResponses = {
3370
- /**
3371
- * Refreshed list of tools
3372
- */
3373
- 200: McpToolsResponse;
3374
- };
3375
-
3376
- export type AppsRefreshMcpToolsResponse = AppsRefreshMcpToolsResponses[keyof AppsRefreshMcpToolsResponses];
3377
-
3378
- export type AppsExecuteMcpToolData = {
3379
- body: McpExecuteRequest;
3380
- path: {
3381
- /**
3382
- * MCP instance UUID
3383
- */
3384
- id: string;
3385
- /**
3386
- * Tool name to execute
3387
- */
3388
- tool_name: string;
3389
- };
3390
- query?: never;
3391
- url: '/bodhi/v1/apps/mcps/{id}/tools/{tool_name}/execute';
3286
+ url: '/bodhi/v1/apps/mcps/{id}/mcp';
3392
3287
  };
3393
3288
 
3394
- export type AppsExecuteMcpToolErrors = {
3289
+ export type McpProxyErrors = {
3395
3290
  /**
3396
3291
  * Invalid request parameters
3397
3292
  */
@@ -3404,27 +3299,21 @@ export type AppsExecuteMcpToolErrors = {
3404
3299
  * Insufficient permissions
3405
3300
  */
3406
3301
  403: OpenAiApiError;
3407
- /**
3408
- * MCP or tool not found
3409
- */
3410
- 404: unknown;
3411
3302
  /**
3412
3303
  * Internal server error
3413
3304
  */
3414
3305
  500: OpenAiApiError;
3415
3306
  };
3416
3307
 
3417
- export type AppsExecuteMcpToolError = AppsExecuteMcpToolErrors[keyof AppsExecuteMcpToolErrors];
3308
+ export type McpProxyError = McpProxyErrors[keyof McpProxyErrors];
3418
3309
 
3419
- export type AppsExecuteMcpToolResponses = {
3310
+ export type McpProxyResponses = {
3420
3311
  /**
3421
- * Tool execution result
3312
+ * Upstream response forwarded
3422
3313
  */
3423
- 200: McpExecuteResponse;
3314
+ 200: unknown;
3424
3315
  };
3425
3316
 
3426
- export type AppsExecuteMcpToolResponse = AppsExecuteMcpToolResponses[keyof AppsExecuteMcpToolResponses];
3427
-
3428
3317
  export type CreateAccessRequestData = {
3429
3318
  /**
3430
3319
  * Access request details
@@ -4038,47 +3927,6 @@ export type McpOAuthTokenExchangeResponses = {
4038
3927
 
4039
3928
  export type McpOAuthTokenExchangeResponse = McpOAuthTokenExchangeResponses[keyof McpOAuthTokenExchangeResponses];
4040
3929
 
4041
- export type FetchMcpToolsData = {
4042
- body: FetchMcpToolsRequest;
4043
- path?: never;
4044
- query?: never;
4045
- url: '/bodhi/v1/mcps/fetch-tools';
4046
- };
4047
-
4048
- export type FetchMcpToolsErrors = {
4049
- /**
4050
- * Invalid request parameters
4051
- */
4052
- 400: OpenAiApiError;
4053
- /**
4054
- * Not authenticated
4055
- */
4056
- 401: OpenAiApiError;
4057
- /**
4058
- * Insufficient permissions
4059
- */
4060
- 403: OpenAiApiError;
4061
- /**
4062
- * MCP server not found
4063
- */
4064
- 404: unknown;
4065
- /**
4066
- * Internal server error
4067
- */
4068
- 500: OpenAiApiError;
4069
- };
4070
-
4071
- export type FetchMcpToolsError = FetchMcpToolsErrors[keyof FetchMcpToolsErrors];
4072
-
4073
- export type FetchMcpToolsResponses = {
4074
- /**
4075
- * List of tools from MCP server
4076
- */
4077
- 200: McpToolsResponse;
4078
- };
4079
-
4080
- export type FetchMcpToolsResponse = FetchMcpToolsResponses[keyof FetchMcpToolsResponses];
4081
-
4082
3930
  export type DeleteMcpOAuthTokenData = {
4083
3931
  body?: never;
4084
3932
  path: {
@@ -4599,102 +4447,6 @@ export type UpdateMcpResponses = {
4599
4447
 
4600
4448
  export type UpdateMcpResponse = UpdateMcpResponses[keyof UpdateMcpResponses];
4601
4449
 
4602
- export type RefreshMcpToolsData = {
4603
- body?: never;
4604
- path: {
4605
- /**
4606
- * MCP instance UUID
4607
- */
4608
- id: string;
4609
- };
4610
- query?: never;
4611
- url: '/bodhi/v1/mcps/{id}/tools/refresh';
4612
- };
4613
-
4614
- export type RefreshMcpToolsErrors = {
4615
- /**
4616
- * Invalid request parameters
4617
- */
4618
- 400: OpenAiApiError;
4619
- /**
4620
- * Not authenticated
4621
- */
4622
- 401: OpenAiApiError;
4623
- /**
4624
- * Insufficient permissions
4625
- */
4626
- 403: OpenAiApiError;
4627
- /**
4628
- * MCP not found
4629
- */
4630
- 404: unknown;
4631
- /**
4632
- * Internal server error
4633
- */
4634
- 500: OpenAiApiError;
4635
- };
4636
-
4637
- export type RefreshMcpToolsError = RefreshMcpToolsErrors[keyof RefreshMcpToolsErrors];
4638
-
4639
- export type RefreshMcpToolsResponses = {
4640
- /**
4641
- * Refreshed list of tools
4642
- */
4643
- 200: McpToolsResponse;
4644
- };
4645
-
4646
- export type RefreshMcpToolsResponse = RefreshMcpToolsResponses[keyof RefreshMcpToolsResponses];
4647
-
4648
- export type ExecuteMcpToolData = {
4649
- body: McpExecuteRequest;
4650
- path: {
4651
- /**
4652
- * MCP instance UUID
4653
- */
4654
- id: string;
4655
- /**
4656
- * Tool name to execute
4657
- */
4658
- tool_name: string;
4659
- };
4660
- query?: never;
4661
- url: '/bodhi/v1/mcps/{id}/tools/{tool_name}/execute';
4662
- };
4663
-
4664
- export type ExecuteMcpToolErrors = {
4665
- /**
4666
- * Invalid request parameters
4667
- */
4668
- 400: OpenAiApiError;
4669
- /**
4670
- * Not authenticated
4671
- */
4672
- 401: OpenAiApiError;
4673
- /**
4674
- * Insufficient permissions
4675
- */
4676
- 403: OpenAiApiError;
4677
- /**
4678
- * MCP or tool not found
4679
- */
4680
- 404: unknown;
4681
- /**
4682
- * Internal server error
4683
- */
4684
- 500: OpenAiApiError;
4685
- };
4686
-
4687
- export type ExecuteMcpToolError = ExecuteMcpToolErrors[keyof ExecuteMcpToolErrors];
4688
-
4689
- export type ExecuteMcpToolResponses = {
4690
- /**
4691
- * Tool execution result
4692
- */
4693
- 200: McpExecuteResponse;
4694
- };
4695
-
4696
- export type ExecuteMcpToolResponse = ExecuteMcpToolResponses[keyof ExecuteMcpToolResponses];
4697
-
4698
4450
  export type ListAllModelsData = {
4699
4451
  body?: never;
4700
4452
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodhiapp/ts-client",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "TypeScript types for Bodhi API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",