@bodhiapp/ts-client 0.1.23 → 0.1.24
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.
- package/dist/openapi-typescript/openapi-schema.d.ts +66 -1068
- package/dist/openapi-typescript/openapi-schema.ts +66 -1068
- package/dist/types/types.gen.d.ts +21 -694
- package/dist/types/types.gen.ts +56 -797
- package/package.json +1 -1
|
@@ -296,40 +296,6 @@ export interface paths {
|
|
|
296
296
|
patch?: never;
|
|
297
297
|
trace?: never;
|
|
298
298
|
};
|
|
299
|
-
"/bodhi/v1/apps/toolsets": {
|
|
300
|
-
parameters: {
|
|
301
|
-
query?: never;
|
|
302
|
-
header?: never;
|
|
303
|
-
path?: never;
|
|
304
|
-
cookie?: never;
|
|
305
|
-
};
|
|
306
|
-
/** List toolsets accessible to the authenticated external app */
|
|
307
|
-
get: operations["appsListToolsets"];
|
|
308
|
-
put?: never;
|
|
309
|
-
post?: never;
|
|
310
|
-
delete?: never;
|
|
311
|
-
options?: never;
|
|
312
|
-
head?: never;
|
|
313
|
-
patch?: never;
|
|
314
|
-
trace?: never;
|
|
315
|
-
};
|
|
316
|
-
"/bodhi/v1/apps/toolsets/{id}/tools/{tool_name}/execute": {
|
|
317
|
-
parameters: {
|
|
318
|
-
query?: never;
|
|
319
|
-
header?: never;
|
|
320
|
-
path?: never;
|
|
321
|
-
cookie?: never;
|
|
322
|
-
};
|
|
323
|
-
get?: never;
|
|
324
|
-
put?: never;
|
|
325
|
-
/** Execute a tool on a toolset via external app */
|
|
326
|
-
post: operations["appsExecuteToolsetTool"];
|
|
327
|
-
delete?: never;
|
|
328
|
-
options?: never;
|
|
329
|
-
head?: never;
|
|
330
|
-
patch?: never;
|
|
331
|
-
trace?: never;
|
|
332
|
-
};
|
|
333
299
|
"/bodhi/v1/auth/callback": {
|
|
334
300
|
parameters: {
|
|
335
301
|
query?: never;
|
|
@@ -1192,95 +1158,6 @@ export interface paths {
|
|
|
1192
1158
|
patch?: never;
|
|
1193
1159
|
trace?: never;
|
|
1194
1160
|
};
|
|
1195
|
-
"/bodhi/v1/toolset_types": {
|
|
1196
|
-
parameters: {
|
|
1197
|
-
query?: never;
|
|
1198
|
-
header?: never;
|
|
1199
|
-
path?: never;
|
|
1200
|
-
cookie?: never;
|
|
1201
|
-
};
|
|
1202
|
-
/** List all available toolset types with their tools */
|
|
1203
|
-
get: operations["listToolsetTypes"];
|
|
1204
|
-
put?: never;
|
|
1205
|
-
post?: never;
|
|
1206
|
-
delete?: never;
|
|
1207
|
-
options?: never;
|
|
1208
|
-
head?: never;
|
|
1209
|
-
patch?: never;
|
|
1210
|
-
trace?: never;
|
|
1211
|
-
};
|
|
1212
|
-
"/bodhi/v1/toolset_types/{toolset_type}/app-config": {
|
|
1213
|
-
parameters: {
|
|
1214
|
-
query?: never;
|
|
1215
|
-
header?: never;
|
|
1216
|
-
path?: never;
|
|
1217
|
-
cookie?: never;
|
|
1218
|
-
};
|
|
1219
|
-
get?: never;
|
|
1220
|
-
/** Enable a toolset type at app level (Admin only) */
|
|
1221
|
-
put: operations["enableToolsetType"];
|
|
1222
|
-
post?: never;
|
|
1223
|
-
/** Disable a toolset type at app level (Admin only) */
|
|
1224
|
-
delete: operations["disableToolsetType"];
|
|
1225
|
-
options?: never;
|
|
1226
|
-
head?: never;
|
|
1227
|
-
patch?: never;
|
|
1228
|
-
trace?: never;
|
|
1229
|
-
};
|
|
1230
|
-
"/bodhi/v1/toolsets": {
|
|
1231
|
-
parameters: {
|
|
1232
|
-
query?: never;
|
|
1233
|
-
header?: never;
|
|
1234
|
-
path?: never;
|
|
1235
|
-
cookie?: never;
|
|
1236
|
-
};
|
|
1237
|
-
/** List all toolsets for the authenticated user */
|
|
1238
|
-
get: operations["listToolsets"];
|
|
1239
|
-
put?: never;
|
|
1240
|
-
/** Create a new toolset */
|
|
1241
|
-
post: operations["createToolset"];
|
|
1242
|
-
delete?: never;
|
|
1243
|
-
options?: never;
|
|
1244
|
-
head?: never;
|
|
1245
|
-
patch?: never;
|
|
1246
|
-
trace?: never;
|
|
1247
|
-
};
|
|
1248
|
-
"/bodhi/v1/toolsets/{id}": {
|
|
1249
|
-
parameters: {
|
|
1250
|
-
query?: never;
|
|
1251
|
-
header?: never;
|
|
1252
|
-
path?: never;
|
|
1253
|
-
cookie?: never;
|
|
1254
|
-
};
|
|
1255
|
-
/** Get a specific toolset by ID */
|
|
1256
|
-
get: operations["getToolset"];
|
|
1257
|
-
/** Update a toolset (full PUT semantics) */
|
|
1258
|
-
put: operations["updateToolset"];
|
|
1259
|
-
post?: never;
|
|
1260
|
-
/** Delete a toolset */
|
|
1261
|
-
delete: operations["deleteToolset"];
|
|
1262
|
-
options?: never;
|
|
1263
|
-
head?: never;
|
|
1264
|
-
patch?: never;
|
|
1265
|
-
trace?: never;
|
|
1266
|
-
};
|
|
1267
|
-
"/bodhi/v1/toolsets/{id}/tools/{tool_name}/execute": {
|
|
1268
|
-
parameters: {
|
|
1269
|
-
query?: never;
|
|
1270
|
-
header?: never;
|
|
1271
|
-
path?: never;
|
|
1272
|
-
cookie?: never;
|
|
1273
|
-
};
|
|
1274
|
-
get?: never;
|
|
1275
|
-
put?: never;
|
|
1276
|
-
/** Execute a tool method on a toolset */
|
|
1277
|
-
post: operations["executeToolsetTool"];
|
|
1278
|
-
delete?: never;
|
|
1279
|
-
options?: never;
|
|
1280
|
-
head?: never;
|
|
1281
|
-
patch?: never;
|
|
1282
|
-
trace?: never;
|
|
1283
|
-
};
|
|
1284
1161
|
"/bodhi/v1/user": {
|
|
1285
1162
|
parameters: {
|
|
1286
1163
|
query?: never;
|
|
@@ -1550,8 +1427,6 @@ export interface components {
|
|
|
1550
1427
|
requested_role: string;
|
|
1551
1428
|
/** @description Resources requested */
|
|
1552
1429
|
requested: components["schemas"]["RequestedResources"];
|
|
1553
|
-
/** @description Tool type information with user instances */
|
|
1554
|
-
tools_info: components["schemas"]["ToolTypeReviewInfo"][];
|
|
1555
1430
|
/** @description MCP server information with user instances */
|
|
1556
1431
|
mcps_info?: components["schemas"]["McpServerReviewInfo"][];
|
|
1557
1432
|
};
|
|
@@ -1637,7 +1512,7 @@ export interface components {
|
|
|
1637
1512
|
};
|
|
1638
1513
|
/** @description Validated API key wrapper - validates length when Some, allows None for public APIs */
|
|
1639
1514
|
ApiKey: string | null;
|
|
1640
|
-
/** @description Represents an API key update operation for API model aliases
|
|
1515
|
+
/** @description Represents an API key update operation for API model aliases. */
|
|
1641
1516
|
ApiKeyUpdate: {
|
|
1642
1517
|
/** @enum {string} */
|
|
1643
1518
|
action: "keep";
|
|
@@ -1722,31 +1597,6 @@ export interface components {
|
|
|
1722
1597
|
* @enum {string}
|
|
1723
1598
|
*/
|
|
1724
1599
|
AppStatus: "setup" | "ready" | "resource_admin";
|
|
1725
|
-
/** @description Application-level toolset configuration */
|
|
1726
|
-
AppToolsetConfig: {
|
|
1727
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
1728
|
-
toolset_type: string;
|
|
1729
|
-
/** @description Human-readable name (e.g., "Exa Web Search") */
|
|
1730
|
-
name: string;
|
|
1731
|
-
/** @description Description of the toolset */
|
|
1732
|
-
description: string;
|
|
1733
|
-
/** @description Whether this toolset type is enabled at app level */
|
|
1734
|
-
enabled: boolean;
|
|
1735
|
-
/** @description User who last updated this config */
|
|
1736
|
-
updated_by: string;
|
|
1737
|
-
/**
|
|
1738
|
-
* Format: date-time
|
|
1739
|
-
* @description When this config was created
|
|
1740
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
1741
|
-
*/
|
|
1742
|
-
created_at: string;
|
|
1743
|
-
/**
|
|
1744
|
-
* Format: date-time
|
|
1745
|
-
* @description When this config was last updated
|
|
1746
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
1747
|
-
*/
|
|
1748
|
-
updated_at: string;
|
|
1749
|
-
};
|
|
1750
1600
|
/** @enum {string} */
|
|
1751
1601
|
ApprovalStatus: "approved" | "denied";
|
|
1752
1602
|
/**
|
|
@@ -1762,15 +1612,7 @@ export interface components {
|
|
|
1762
1612
|
* "url": "https://mcp.deepwiki.com/mcp"
|
|
1763
1613
|
* }
|
|
1764
1614
|
* ],
|
|
1765
|
-
* "
|
|
1766
|
-
* {
|
|
1767
|
-
* "instance": {
|
|
1768
|
-
* "id": "instance-uuid"
|
|
1769
|
-
* },
|
|
1770
|
-
* "status": "approved",
|
|
1771
|
-
* "toolset_type": "builtin-exa-search"
|
|
1772
|
-
* }
|
|
1773
|
-
* ]
|
|
1615
|
+
* "version": "1"
|
|
1774
1616
|
* },
|
|
1775
1617
|
* "approved_role": "scope_user_user"
|
|
1776
1618
|
* }
|
|
@@ -1791,8 +1633,13 @@ export interface components {
|
|
|
1791
1633
|
/** @description Role to assign to the user */
|
|
1792
1634
|
role: components["schemas"]["ResourceRole"];
|
|
1793
1635
|
};
|
|
1794
|
-
|
|
1795
|
-
|
|
1636
|
+
/** @description Versioned envelope for approved resources.
|
|
1637
|
+
* The `version` tag is mandatory and must match the corresponding `RequestedResources` version. */
|
|
1638
|
+
ApprovedResources: components["schemas"]["ApprovedResourcesV1"] & {
|
|
1639
|
+
/** @enum {string} */
|
|
1640
|
+
version: "1";
|
|
1641
|
+
};
|
|
1642
|
+
ApprovedResourcesV1: {
|
|
1796
1643
|
mcps?: components["schemas"]["McpApproval"][];
|
|
1797
1644
|
};
|
|
1798
1645
|
/** @example {
|
|
@@ -2244,11 +2091,12 @@ export interface components {
|
|
|
2244
2091
|
* "flow_type": "redirect",
|
|
2245
2092
|
* "redirect_url": "https://myapp.com/callback",
|
|
2246
2093
|
* "requested": {
|
|
2247
|
-
* "
|
|
2094
|
+
* "mcp_servers": [
|
|
2248
2095
|
* {
|
|
2249
|
-
* "
|
|
2096
|
+
* "url": "https://mcp.example.com/mcp"
|
|
2250
2097
|
* }
|
|
2251
|
-
* ]
|
|
2098
|
+
* ],
|
|
2099
|
+
* "version": "1"
|
|
2252
2100
|
* },
|
|
2253
2101
|
* "requested_role": "scope_user_user"
|
|
2254
2102
|
* }
|
|
@@ -2262,7 +2110,8 @@ export interface components {
|
|
|
2262
2110
|
redirect_url?: string | null;
|
|
2263
2111
|
/** @description Role requested for the external app (scope_user_user or scope_user_power_user) */
|
|
2264
2112
|
requested_role: components["schemas"]["UserScope"];
|
|
2265
|
-
requested
|
|
2113
|
+
/** @description Resources requested (tools, etc.) */
|
|
2114
|
+
requested: components["schemas"]["RequestedResources"];
|
|
2266
2115
|
};
|
|
2267
2116
|
/** @example {
|
|
2268
2117
|
* "id": "550e8400-e29b-41d4-a716-446655440000",
|
|
@@ -2716,11 +2565,6 @@ export interface components {
|
|
|
2716
2565
|
[key: string]: string;
|
|
2717
2566
|
} | null;
|
|
2718
2567
|
};
|
|
2719
|
-
/** @description Request to execute a toolset */
|
|
2720
|
-
ExecuteToolsetRequest: {
|
|
2721
|
-
/** @description Function parameters as JSON */
|
|
2722
|
-
params: unknown;
|
|
2723
|
-
};
|
|
2724
2568
|
FetchMcpToolsRequest: {
|
|
2725
2569
|
mcp_server_id: string;
|
|
2726
2570
|
auth?: null | components["schemas"]["McpAuth"];
|
|
@@ -2787,15 +2631,6 @@ export interface components {
|
|
|
2787
2631
|
* code before calling your function. */
|
|
2788
2632
|
arguments?: string | null;
|
|
2789
2633
|
};
|
|
2790
|
-
/** @description Function definition within a tool */
|
|
2791
|
-
FunctionDefinition: {
|
|
2792
|
-
/** @description Simple tool name (e.g., "search", "findSimilar"). Frontend composes fully qualified name. */
|
|
2793
|
-
name: string;
|
|
2794
|
-
/** @description Human-readable description for LLM */
|
|
2795
|
-
description: string;
|
|
2796
|
-
/** @description JSON Schema for function parameters */
|
|
2797
|
-
parameters: unknown;
|
|
2798
|
-
};
|
|
2799
2634
|
FunctionName: {
|
|
2800
2635
|
/** @description The name of the function to call. */
|
|
2801
2636
|
name: string;
|
|
@@ -2842,15 +2677,6 @@ export interface components {
|
|
|
2842
2677
|
object: string;
|
|
2843
2678
|
data: components["schemas"]["Model"][];
|
|
2844
2679
|
};
|
|
2845
|
-
/** @description List of toolset types */
|
|
2846
|
-
ListToolsetTypesResponse: {
|
|
2847
|
-
types: components["schemas"]["ToolsetDefinition"][];
|
|
2848
|
-
};
|
|
2849
|
-
/** @description List of toolsets */
|
|
2850
|
-
ListToolsetsResponse: {
|
|
2851
|
-
toolsets: components["schemas"]["ToolsetResponse"][];
|
|
2852
|
-
toolset_types: components["schemas"]["AppToolsetConfig"][];
|
|
2853
|
-
};
|
|
2854
2680
|
/** @description List users query parameters. Intentionally omits sort fields (unlike PaginationSortParams)
|
|
2855
2681
|
* because user listing is fetched from the auth service which handles its own ordering. */
|
|
2856
2682
|
ListUsersParams: {
|
|
@@ -3509,8 +3335,13 @@ export interface components {
|
|
|
3509
3335
|
RequestedMcpServer: {
|
|
3510
3336
|
url: string;
|
|
3511
3337
|
};
|
|
3512
|
-
|
|
3513
|
-
|
|
3338
|
+
/** @description Versioned envelope for requested resources.
|
|
3339
|
+
* The `version` tag is mandatory — clients must specify which version they are using. */
|
|
3340
|
+
RequestedResources: components["schemas"]["RequestedResourcesV1"] & {
|
|
3341
|
+
/** @enum {string} */
|
|
3342
|
+
version: "1";
|
|
3343
|
+
};
|
|
3344
|
+
RequestedResourcesV1: {
|
|
3514
3345
|
mcp_servers?: components["schemas"]["RequestedMcpServer"][];
|
|
3515
3346
|
};
|
|
3516
3347
|
/** @enum {string} */
|
|
@@ -3723,121 +3554,6 @@ export interface components {
|
|
|
3723
3554
|
ToolChoiceAllowedMode: "auto" | "required";
|
|
3724
3555
|
/** @enum {string} */
|
|
3725
3556
|
ToolChoiceOptions: "none" | "auto" | "required";
|
|
3726
|
-
/** @description Tool definition in OpenAI format for LLM function calling.
|
|
3727
|
-
* Tool name follows Claude MCP convention: toolset__{toolset_name}__{tool_name} */
|
|
3728
|
-
ToolDefinition: {
|
|
3729
|
-
/** @description Type of tool (always "function" for now) */
|
|
3730
|
-
type: string;
|
|
3731
|
-
/** @description Function definition details */
|
|
3732
|
-
function: components["schemas"]["FunctionDefinition"];
|
|
3733
|
-
};
|
|
3734
|
-
ToolTypeReviewInfo: {
|
|
3735
|
-
/** @description Tool type identifier */
|
|
3736
|
-
toolset_type: string;
|
|
3737
|
-
/** @description Tool type display name */
|
|
3738
|
-
name: string;
|
|
3739
|
-
/** @description Tool type description */
|
|
3740
|
-
description: string;
|
|
3741
|
-
/** @description User's configured instances of this tool type */
|
|
3742
|
-
instances: components["schemas"]["Toolset"][];
|
|
3743
|
-
};
|
|
3744
|
-
/** @description User-owned toolset instance with UUID identification */
|
|
3745
|
-
Toolset: {
|
|
3746
|
-
/** @description Unique instance identifier (UUID) */
|
|
3747
|
-
id: string;
|
|
3748
|
-
/** @description User-defined slug for this instance */
|
|
3749
|
-
slug: string;
|
|
3750
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
3751
|
-
toolset_type: string;
|
|
3752
|
-
/** @description Optional description for this instance */
|
|
3753
|
-
description?: string | null;
|
|
3754
|
-
/** @description Whether this instance is enabled */
|
|
3755
|
-
enabled: boolean;
|
|
3756
|
-
/** @description Whether this instance has an API key configured */
|
|
3757
|
-
has_api_key: boolean;
|
|
3758
|
-
/**
|
|
3759
|
-
* Format: date-time
|
|
3760
|
-
* @description When this instance was created
|
|
3761
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
3762
|
-
*/
|
|
3763
|
-
created_at: string;
|
|
3764
|
-
/**
|
|
3765
|
-
* Format: date-time
|
|
3766
|
-
* @description When this instance was last updated
|
|
3767
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
3768
|
-
*/
|
|
3769
|
-
updated_at: string;
|
|
3770
|
-
};
|
|
3771
|
-
ToolsetApproval: {
|
|
3772
|
-
toolset_type: string;
|
|
3773
|
-
status: components["schemas"]["ApprovalStatus"];
|
|
3774
|
-
instance?: null | components["schemas"]["ToolsetInstance"];
|
|
3775
|
-
};
|
|
3776
|
-
/** @description A toolset is a connector that provides one or more tools.
|
|
3777
|
-
* Example: Exa Web Search toolset provides search, find_similar, get_contents, answer tools. */
|
|
3778
|
-
ToolsetDefinition: {
|
|
3779
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
3780
|
-
toolset_type: string;
|
|
3781
|
-
/** @description Human-readable name (e.g., "Exa Web Search") */
|
|
3782
|
-
name: string;
|
|
3783
|
-
/** @description Description of the toolset */
|
|
3784
|
-
description: string;
|
|
3785
|
-
/** @description Tools provided by this toolset (in OpenAI format) */
|
|
3786
|
-
tools: components["schemas"]["ToolDefinition"][];
|
|
3787
|
-
};
|
|
3788
|
-
/** @description Response from toolset tool execution (to send back to LLM) */
|
|
3789
|
-
ToolsetExecutionResponse: {
|
|
3790
|
-
/** @description Successful result (JSON), if any */
|
|
3791
|
-
result?: unknown;
|
|
3792
|
-
/** @description Error message, if execution failed */
|
|
3793
|
-
error?: string | null;
|
|
3794
|
-
};
|
|
3795
|
-
ToolsetInstance: {
|
|
3796
|
-
id: string;
|
|
3797
|
-
};
|
|
3798
|
-
/** @description Input for creating or updating a toolset instance. */
|
|
3799
|
-
ToolsetRequest: {
|
|
3800
|
-
/** @description Toolset type identifier (required for create, ignored for update) */
|
|
3801
|
-
toolset_type?: string | null;
|
|
3802
|
-
/** @description User-defined slug for this instance (1-24 chars, alphanumeric + hyphens) */
|
|
3803
|
-
slug: string;
|
|
3804
|
-
/** @description Optional description for this instance */
|
|
3805
|
-
description?: string | null;
|
|
3806
|
-
/** @description Whether this instance is enabled */
|
|
3807
|
-
enabled?: boolean;
|
|
3808
|
-
/** @description API key update action (Keep or Set) */
|
|
3809
|
-
api_key?: components["schemas"]["ApiKeyUpdate"];
|
|
3810
|
-
};
|
|
3811
|
-
/** @description Toolset response */
|
|
3812
|
-
ToolsetResponse: {
|
|
3813
|
-
/** @description Unique instance identifier (UUID) */
|
|
3814
|
-
id: string;
|
|
3815
|
-
/** @description User-defined slug for this toolset */
|
|
3816
|
-
slug: string;
|
|
3817
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
3818
|
-
toolset_type: string;
|
|
3819
|
-
/** @description Optional description for this toolset */
|
|
3820
|
-
description?: string | null;
|
|
3821
|
-
/** @description Whether this toolset is enabled */
|
|
3822
|
-
enabled: boolean;
|
|
3823
|
-
/** @description Whether this toolset has an API key configured */
|
|
3824
|
-
has_api_key: boolean;
|
|
3825
|
-
/** @description Tools provided by this toolset type */
|
|
3826
|
-
tools: components["schemas"]["ToolDefinition"][];
|
|
3827
|
-
/**
|
|
3828
|
-
* Format: date-time
|
|
3829
|
-
* @description When this toolset was created
|
|
3830
|
-
*/
|
|
3831
|
-
created_at: string;
|
|
3832
|
-
/**
|
|
3833
|
-
* Format: date-time
|
|
3834
|
-
* @description When this toolset was last updated
|
|
3835
|
-
*/
|
|
3836
|
-
updated_at: string;
|
|
3837
|
-
};
|
|
3838
|
-
ToolsetTypeRequest: {
|
|
3839
|
-
toolset_type: string;
|
|
3840
|
-
};
|
|
3841
3557
|
TopLogprobs: {
|
|
3842
3558
|
/** @description The token. */
|
|
3843
3559
|
token: string;
|
|
@@ -5271,22 +4987,34 @@ export interface operations {
|
|
|
5271
4987
|
};
|
|
5272
4988
|
};
|
|
5273
4989
|
};
|
|
5274
|
-
|
|
4990
|
+
completeOAuthFlow: {
|
|
5275
4991
|
parameters: {
|
|
5276
4992
|
query?: never;
|
|
5277
4993
|
header?: never;
|
|
5278
4994
|
path?: never;
|
|
5279
4995
|
cookie?: never;
|
|
5280
4996
|
};
|
|
5281
|
-
|
|
4997
|
+
/** @description OAuth callback parameters from authorization server */
|
|
4998
|
+
requestBody: {
|
|
4999
|
+
content: {
|
|
5000
|
+
/** @example {
|
|
5001
|
+
* "code": "auth_code_123",
|
|
5002
|
+
* "state": "random_state_456"
|
|
5003
|
+
* } */
|
|
5004
|
+
"application/json": components["schemas"]["AuthCallbackRequest"];
|
|
5005
|
+
};
|
|
5006
|
+
};
|
|
5282
5007
|
responses: {
|
|
5283
|
-
/** @description
|
|
5008
|
+
/** @description OAuth flow completed successfully, user authenticated */
|
|
5284
5009
|
200: {
|
|
5285
5010
|
headers: {
|
|
5286
5011
|
[name: string]: unknown;
|
|
5287
5012
|
};
|
|
5288
5013
|
content: {
|
|
5289
|
-
|
|
5014
|
+
/** @example {
|
|
5015
|
+
* "location": "https://app.example.com/dashboard"
|
|
5016
|
+
* } */
|
|
5017
|
+
"application/json": components["schemas"]["RedirectResponse"];
|
|
5290
5018
|
};
|
|
5291
5019
|
};
|
|
5292
5020
|
/** @description Invalid request parameters */
|
|
@@ -5316,6 +5044,22 @@ export interface operations {
|
|
|
5316
5044
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5317
5045
|
};
|
|
5318
5046
|
};
|
|
5047
|
+
/** @description OAuth error, invalid request parameters, or state mismatch */
|
|
5048
|
+
422: {
|
|
5049
|
+
headers: {
|
|
5050
|
+
[name: string]: unknown;
|
|
5051
|
+
};
|
|
5052
|
+
content: {
|
|
5053
|
+
/** @example {
|
|
5054
|
+
* "error": {
|
|
5055
|
+
* "code": "oauth_state_mismatch",
|
|
5056
|
+
* "message": "State parameter mismatch",
|
|
5057
|
+
* "type": "invalid_request_error"
|
|
5058
|
+
* }
|
|
5059
|
+
* } */
|
|
5060
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5061
|
+
};
|
|
5062
|
+
};
|
|
5319
5063
|
/** @description Internal server error */
|
|
5320
5064
|
500: {
|
|
5321
5065
|
headers: {
|
|
@@ -5327,31 +5071,27 @@ export interface operations {
|
|
|
5327
5071
|
};
|
|
5328
5072
|
};
|
|
5329
5073
|
};
|
|
5330
|
-
|
|
5074
|
+
completeDashboardOAuthFlow: {
|
|
5331
5075
|
parameters: {
|
|
5332
5076
|
query?: never;
|
|
5333
5077
|
header?: never;
|
|
5334
|
-
path
|
|
5335
|
-
/** @description Toolset instance UUID */
|
|
5336
|
-
id: string;
|
|
5337
|
-
/** @description Tool name to execute */
|
|
5338
|
-
tool_name: string;
|
|
5339
|
-
};
|
|
5078
|
+
path?: never;
|
|
5340
5079
|
cookie?: never;
|
|
5341
5080
|
};
|
|
5081
|
+
/** @description OAuth callback parameters from authorization server */
|
|
5342
5082
|
requestBody: {
|
|
5343
5083
|
content: {
|
|
5344
|
-
"application/json": components["schemas"]["
|
|
5084
|
+
"application/json": components["schemas"]["AuthCallbackRequest"];
|
|
5345
5085
|
};
|
|
5346
5086
|
};
|
|
5347
5087
|
responses: {
|
|
5348
|
-
/** @description
|
|
5088
|
+
/** @description Dashboard OAuth flow completed successfully */
|
|
5349
5089
|
200: {
|
|
5350
5090
|
headers: {
|
|
5351
5091
|
[name: string]: unknown;
|
|
5352
5092
|
};
|
|
5353
5093
|
content: {
|
|
5354
|
-
"application/json": components["schemas"]["
|
|
5094
|
+
"application/json": components["schemas"]["RedirectResponse"];
|
|
5355
5095
|
};
|
|
5356
5096
|
};
|
|
5357
5097
|
/** @description Invalid request parameters */
|
|
@@ -5381,13 +5121,6 @@ export interface operations {
|
|
|
5381
5121
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5382
5122
|
};
|
|
5383
5123
|
};
|
|
5384
|
-
/** @description Toolset or method not found */
|
|
5385
|
-
404: {
|
|
5386
|
-
headers: {
|
|
5387
|
-
[name: string]: unknown;
|
|
5388
|
-
};
|
|
5389
|
-
content?: never;
|
|
5390
|
-
};
|
|
5391
5124
|
/** @description Internal server error */
|
|
5392
5125
|
500: {
|
|
5393
5126
|
headers: {
|
|
@@ -5399,180 +5132,35 @@ export interface operations {
|
|
|
5399
5132
|
};
|
|
5400
5133
|
};
|
|
5401
5134
|
};
|
|
5402
|
-
|
|
5135
|
+
initiateDashboardOAuthFlow: {
|
|
5403
5136
|
parameters: {
|
|
5404
5137
|
query?: never;
|
|
5405
5138
|
header?: never;
|
|
5406
5139
|
path?: never;
|
|
5407
5140
|
cookie?: never;
|
|
5408
5141
|
};
|
|
5409
|
-
/** @description OAuth callback parameters from authorization server */
|
|
5410
5142
|
requestBody: {
|
|
5411
5143
|
content: {
|
|
5412
|
-
|
|
5413
|
-
* "code": "auth_code_123",
|
|
5414
|
-
* "state": "random_state_456"
|
|
5415
|
-
* } */
|
|
5416
|
-
"application/json": components["schemas"]["AuthCallbackRequest"];
|
|
5144
|
+
"application/json": unknown;
|
|
5417
5145
|
};
|
|
5418
5146
|
};
|
|
5419
5147
|
responses: {
|
|
5420
|
-
/** @description
|
|
5148
|
+
/** @description User already has a valid dashboard token */
|
|
5421
5149
|
200: {
|
|
5422
5150
|
headers: {
|
|
5423
5151
|
[name: string]: unknown;
|
|
5424
5152
|
};
|
|
5425
5153
|
content: {
|
|
5426
|
-
/** @example {
|
|
5427
|
-
* "location": "https://app.example.com/dashboard"
|
|
5428
|
-
* } */
|
|
5429
5154
|
"application/json": components["schemas"]["RedirectResponse"];
|
|
5430
5155
|
};
|
|
5431
5156
|
};
|
|
5432
|
-
/** @description
|
|
5433
|
-
|
|
5157
|
+
/** @description OAuth authorization URL provided for dashboard login */
|
|
5158
|
+
201: {
|
|
5434
5159
|
headers: {
|
|
5435
5160
|
[name: string]: unknown;
|
|
5436
5161
|
};
|
|
5437
5162
|
content: {
|
|
5438
|
-
"application/json": components["schemas"]["
|
|
5439
|
-
};
|
|
5440
|
-
};
|
|
5441
|
-
/** @description Not authenticated */
|
|
5442
|
-
401: {
|
|
5443
|
-
headers: {
|
|
5444
|
-
[name: string]: unknown;
|
|
5445
|
-
};
|
|
5446
|
-
content: {
|
|
5447
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5448
|
-
};
|
|
5449
|
-
};
|
|
5450
|
-
/** @description Insufficient permissions */
|
|
5451
|
-
403: {
|
|
5452
|
-
headers: {
|
|
5453
|
-
[name: string]: unknown;
|
|
5454
|
-
};
|
|
5455
|
-
content: {
|
|
5456
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5457
|
-
};
|
|
5458
|
-
};
|
|
5459
|
-
/** @description OAuth error, invalid request parameters, or state mismatch */
|
|
5460
|
-
422: {
|
|
5461
|
-
headers: {
|
|
5462
|
-
[name: string]: unknown;
|
|
5463
|
-
};
|
|
5464
|
-
content: {
|
|
5465
|
-
/** @example {
|
|
5466
|
-
* "error": {
|
|
5467
|
-
* "code": "oauth_state_mismatch",
|
|
5468
|
-
* "message": "State parameter mismatch",
|
|
5469
|
-
* "type": "invalid_request_error"
|
|
5470
|
-
* }
|
|
5471
|
-
* } */
|
|
5472
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5473
|
-
};
|
|
5474
|
-
};
|
|
5475
|
-
/** @description Internal server error */
|
|
5476
|
-
500: {
|
|
5477
|
-
headers: {
|
|
5478
|
-
[name: string]: unknown;
|
|
5479
|
-
};
|
|
5480
|
-
content: {
|
|
5481
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5482
|
-
};
|
|
5483
|
-
};
|
|
5484
|
-
};
|
|
5485
|
-
};
|
|
5486
|
-
completeDashboardOAuthFlow: {
|
|
5487
|
-
parameters: {
|
|
5488
|
-
query?: never;
|
|
5489
|
-
header?: never;
|
|
5490
|
-
path?: never;
|
|
5491
|
-
cookie?: never;
|
|
5492
|
-
};
|
|
5493
|
-
/** @description OAuth callback parameters from authorization server */
|
|
5494
|
-
requestBody: {
|
|
5495
|
-
content: {
|
|
5496
|
-
"application/json": components["schemas"]["AuthCallbackRequest"];
|
|
5497
|
-
};
|
|
5498
|
-
};
|
|
5499
|
-
responses: {
|
|
5500
|
-
/** @description Dashboard OAuth flow completed successfully */
|
|
5501
|
-
200: {
|
|
5502
|
-
headers: {
|
|
5503
|
-
[name: string]: unknown;
|
|
5504
|
-
};
|
|
5505
|
-
content: {
|
|
5506
|
-
"application/json": components["schemas"]["RedirectResponse"];
|
|
5507
|
-
};
|
|
5508
|
-
};
|
|
5509
|
-
/** @description Invalid request parameters */
|
|
5510
|
-
400: {
|
|
5511
|
-
headers: {
|
|
5512
|
-
[name: string]: unknown;
|
|
5513
|
-
};
|
|
5514
|
-
content: {
|
|
5515
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5516
|
-
};
|
|
5517
|
-
};
|
|
5518
|
-
/** @description Not authenticated */
|
|
5519
|
-
401: {
|
|
5520
|
-
headers: {
|
|
5521
|
-
[name: string]: unknown;
|
|
5522
|
-
};
|
|
5523
|
-
content: {
|
|
5524
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5525
|
-
};
|
|
5526
|
-
};
|
|
5527
|
-
/** @description Insufficient permissions */
|
|
5528
|
-
403: {
|
|
5529
|
-
headers: {
|
|
5530
|
-
[name: string]: unknown;
|
|
5531
|
-
};
|
|
5532
|
-
content: {
|
|
5533
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5534
|
-
};
|
|
5535
|
-
};
|
|
5536
|
-
/** @description Internal server error */
|
|
5537
|
-
500: {
|
|
5538
|
-
headers: {
|
|
5539
|
-
[name: string]: unknown;
|
|
5540
|
-
};
|
|
5541
|
-
content: {
|
|
5542
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5543
|
-
};
|
|
5544
|
-
};
|
|
5545
|
-
};
|
|
5546
|
-
};
|
|
5547
|
-
initiateDashboardOAuthFlow: {
|
|
5548
|
-
parameters: {
|
|
5549
|
-
query?: never;
|
|
5550
|
-
header?: never;
|
|
5551
|
-
path?: never;
|
|
5552
|
-
cookie?: never;
|
|
5553
|
-
};
|
|
5554
|
-
requestBody: {
|
|
5555
|
-
content: {
|
|
5556
|
-
"application/json": unknown;
|
|
5557
|
-
};
|
|
5558
|
-
};
|
|
5559
|
-
responses: {
|
|
5560
|
-
/** @description User already has a valid dashboard token */
|
|
5561
|
-
200: {
|
|
5562
|
-
headers: {
|
|
5563
|
-
[name: string]: unknown;
|
|
5564
|
-
};
|
|
5565
|
-
content: {
|
|
5566
|
-
"application/json": components["schemas"]["RedirectResponse"];
|
|
5567
|
-
};
|
|
5568
|
-
};
|
|
5569
|
-
/** @description OAuth authorization URL provided for dashboard login */
|
|
5570
|
-
201: {
|
|
5571
|
-
headers: {
|
|
5572
|
-
[name: string]: unknown;
|
|
5573
|
-
};
|
|
5574
|
-
content: {
|
|
5575
|
-
"application/json": components["schemas"]["RedirectResponse"];
|
|
5163
|
+
"application/json": components["schemas"]["RedirectResponse"];
|
|
5576
5164
|
};
|
|
5577
5165
|
};
|
|
5578
5166
|
/** @description Invalid request parameters */
|
|
@@ -9520,596 +9108,6 @@ export interface operations {
|
|
|
9520
9108
|
};
|
|
9521
9109
|
};
|
|
9522
9110
|
};
|
|
9523
|
-
listToolsetTypes: {
|
|
9524
|
-
parameters: {
|
|
9525
|
-
query?: never;
|
|
9526
|
-
header?: never;
|
|
9527
|
-
path?: never;
|
|
9528
|
-
cookie?: never;
|
|
9529
|
-
};
|
|
9530
|
-
requestBody?: never;
|
|
9531
|
-
responses: {
|
|
9532
|
-
/** @description List of all toolset types */
|
|
9533
|
-
200: {
|
|
9534
|
-
headers: {
|
|
9535
|
-
[name: string]: unknown;
|
|
9536
|
-
};
|
|
9537
|
-
content: {
|
|
9538
|
-
"application/json": components["schemas"]["ListToolsetTypesResponse"];
|
|
9539
|
-
};
|
|
9540
|
-
};
|
|
9541
|
-
/** @description Invalid request parameters */
|
|
9542
|
-
400: {
|
|
9543
|
-
headers: {
|
|
9544
|
-
[name: string]: unknown;
|
|
9545
|
-
};
|
|
9546
|
-
content: {
|
|
9547
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9548
|
-
};
|
|
9549
|
-
};
|
|
9550
|
-
/** @description Not authenticated */
|
|
9551
|
-
401: {
|
|
9552
|
-
headers: {
|
|
9553
|
-
[name: string]: unknown;
|
|
9554
|
-
};
|
|
9555
|
-
content: {
|
|
9556
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9557
|
-
};
|
|
9558
|
-
};
|
|
9559
|
-
/** @description Insufficient permissions */
|
|
9560
|
-
403: {
|
|
9561
|
-
headers: {
|
|
9562
|
-
[name: string]: unknown;
|
|
9563
|
-
};
|
|
9564
|
-
content: {
|
|
9565
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9566
|
-
};
|
|
9567
|
-
};
|
|
9568
|
-
/** @description Internal server error */
|
|
9569
|
-
500: {
|
|
9570
|
-
headers: {
|
|
9571
|
-
[name: string]: unknown;
|
|
9572
|
-
};
|
|
9573
|
-
content: {
|
|
9574
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9575
|
-
};
|
|
9576
|
-
};
|
|
9577
|
-
};
|
|
9578
|
-
};
|
|
9579
|
-
enableToolsetType: {
|
|
9580
|
-
parameters: {
|
|
9581
|
-
query?: never;
|
|
9582
|
-
header?: never;
|
|
9583
|
-
path: {
|
|
9584
|
-
/** @description Toolset type identifier (e.g., 'builtin-exa-search') */
|
|
9585
|
-
toolset_type: string;
|
|
9586
|
-
};
|
|
9587
|
-
cookie?: never;
|
|
9588
|
-
};
|
|
9589
|
-
requestBody?: never;
|
|
9590
|
-
responses: {
|
|
9591
|
-
/** @description Toolset type enabled */
|
|
9592
|
-
200: {
|
|
9593
|
-
headers: {
|
|
9594
|
-
[name: string]: unknown;
|
|
9595
|
-
};
|
|
9596
|
-
content: {
|
|
9597
|
-
"application/json": components["schemas"]["AppToolsetConfig"];
|
|
9598
|
-
};
|
|
9599
|
-
};
|
|
9600
|
-
/** @description Invalid request parameters */
|
|
9601
|
-
400: {
|
|
9602
|
-
headers: {
|
|
9603
|
-
[name: string]: unknown;
|
|
9604
|
-
};
|
|
9605
|
-
content: {
|
|
9606
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9607
|
-
};
|
|
9608
|
-
};
|
|
9609
|
-
/** @description Not authenticated */
|
|
9610
|
-
401: {
|
|
9611
|
-
headers: {
|
|
9612
|
-
[name: string]: unknown;
|
|
9613
|
-
};
|
|
9614
|
-
content: {
|
|
9615
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9616
|
-
};
|
|
9617
|
-
};
|
|
9618
|
-
/** @description Insufficient permissions */
|
|
9619
|
-
403: {
|
|
9620
|
-
headers: {
|
|
9621
|
-
[name: string]: unknown;
|
|
9622
|
-
};
|
|
9623
|
-
content: {
|
|
9624
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9625
|
-
};
|
|
9626
|
-
};
|
|
9627
|
-
/** @description Toolset type not found */
|
|
9628
|
-
404: {
|
|
9629
|
-
headers: {
|
|
9630
|
-
[name: string]: unknown;
|
|
9631
|
-
};
|
|
9632
|
-
content?: never;
|
|
9633
|
-
};
|
|
9634
|
-
/** @description Internal server error */
|
|
9635
|
-
500: {
|
|
9636
|
-
headers: {
|
|
9637
|
-
[name: string]: unknown;
|
|
9638
|
-
};
|
|
9639
|
-
content: {
|
|
9640
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9641
|
-
};
|
|
9642
|
-
};
|
|
9643
|
-
};
|
|
9644
|
-
};
|
|
9645
|
-
disableToolsetType: {
|
|
9646
|
-
parameters: {
|
|
9647
|
-
query?: never;
|
|
9648
|
-
header?: never;
|
|
9649
|
-
path: {
|
|
9650
|
-
/** @description Toolset type identifier (e.g., 'builtin-exa-search') */
|
|
9651
|
-
toolset_type: string;
|
|
9652
|
-
};
|
|
9653
|
-
cookie?: never;
|
|
9654
|
-
};
|
|
9655
|
-
requestBody?: never;
|
|
9656
|
-
responses: {
|
|
9657
|
-
/** @description Toolset type disabled */
|
|
9658
|
-
200: {
|
|
9659
|
-
headers: {
|
|
9660
|
-
[name: string]: unknown;
|
|
9661
|
-
};
|
|
9662
|
-
content: {
|
|
9663
|
-
"application/json": components["schemas"]["AppToolsetConfig"];
|
|
9664
|
-
};
|
|
9665
|
-
};
|
|
9666
|
-
/** @description Invalid request parameters */
|
|
9667
|
-
400: {
|
|
9668
|
-
headers: {
|
|
9669
|
-
[name: string]: unknown;
|
|
9670
|
-
};
|
|
9671
|
-
content: {
|
|
9672
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9673
|
-
};
|
|
9674
|
-
};
|
|
9675
|
-
/** @description Not authenticated */
|
|
9676
|
-
401: {
|
|
9677
|
-
headers: {
|
|
9678
|
-
[name: string]: unknown;
|
|
9679
|
-
};
|
|
9680
|
-
content: {
|
|
9681
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9682
|
-
};
|
|
9683
|
-
};
|
|
9684
|
-
/** @description Insufficient permissions */
|
|
9685
|
-
403: {
|
|
9686
|
-
headers: {
|
|
9687
|
-
[name: string]: unknown;
|
|
9688
|
-
};
|
|
9689
|
-
content: {
|
|
9690
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9691
|
-
};
|
|
9692
|
-
};
|
|
9693
|
-
/** @description Toolset type not found */
|
|
9694
|
-
404: {
|
|
9695
|
-
headers: {
|
|
9696
|
-
[name: string]: unknown;
|
|
9697
|
-
};
|
|
9698
|
-
content?: never;
|
|
9699
|
-
};
|
|
9700
|
-
/** @description Internal server error */
|
|
9701
|
-
500: {
|
|
9702
|
-
headers: {
|
|
9703
|
-
[name: string]: unknown;
|
|
9704
|
-
};
|
|
9705
|
-
content: {
|
|
9706
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9707
|
-
};
|
|
9708
|
-
};
|
|
9709
|
-
};
|
|
9710
|
-
};
|
|
9711
|
-
listToolsets: {
|
|
9712
|
-
parameters: {
|
|
9713
|
-
query?: never;
|
|
9714
|
-
header?: never;
|
|
9715
|
-
path?: never;
|
|
9716
|
-
cookie?: never;
|
|
9717
|
-
};
|
|
9718
|
-
requestBody?: never;
|
|
9719
|
-
responses: {
|
|
9720
|
-
/** @description List of user's toolsets */
|
|
9721
|
-
200: {
|
|
9722
|
-
headers: {
|
|
9723
|
-
[name: string]: unknown;
|
|
9724
|
-
};
|
|
9725
|
-
content: {
|
|
9726
|
-
"application/json": components["schemas"]["ListToolsetsResponse"];
|
|
9727
|
-
};
|
|
9728
|
-
};
|
|
9729
|
-
/** @description Invalid request parameters */
|
|
9730
|
-
400: {
|
|
9731
|
-
headers: {
|
|
9732
|
-
[name: string]: unknown;
|
|
9733
|
-
};
|
|
9734
|
-
content: {
|
|
9735
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9736
|
-
};
|
|
9737
|
-
};
|
|
9738
|
-
/** @description Not authenticated */
|
|
9739
|
-
401: {
|
|
9740
|
-
headers: {
|
|
9741
|
-
[name: string]: unknown;
|
|
9742
|
-
};
|
|
9743
|
-
content: {
|
|
9744
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9745
|
-
};
|
|
9746
|
-
};
|
|
9747
|
-
/** @description Insufficient permissions */
|
|
9748
|
-
403: {
|
|
9749
|
-
headers: {
|
|
9750
|
-
[name: string]: unknown;
|
|
9751
|
-
};
|
|
9752
|
-
content: {
|
|
9753
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9754
|
-
};
|
|
9755
|
-
};
|
|
9756
|
-
/** @description Internal server error */
|
|
9757
|
-
500: {
|
|
9758
|
-
headers: {
|
|
9759
|
-
[name: string]: unknown;
|
|
9760
|
-
};
|
|
9761
|
-
content: {
|
|
9762
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9763
|
-
};
|
|
9764
|
-
};
|
|
9765
|
-
};
|
|
9766
|
-
};
|
|
9767
|
-
createToolset: {
|
|
9768
|
-
parameters: {
|
|
9769
|
-
query?: never;
|
|
9770
|
-
header?: never;
|
|
9771
|
-
path?: never;
|
|
9772
|
-
cookie?: never;
|
|
9773
|
-
};
|
|
9774
|
-
requestBody: {
|
|
9775
|
-
content: {
|
|
9776
|
-
"application/json": components["schemas"]["ToolsetRequest"];
|
|
9777
|
-
};
|
|
9778
|
-
};
|
|
9779
|
-
responses: {
|
|
9780
|
-
/** @description Toolset created */
|
|
9781
|
-
201: {
|
|
9782
|
-
headers: {
|
|
9783
|
-
[name: string]: unknown;
|
|
9784
|
-
};
|
|
9785
|
-
content: {
|
|
9786
|
-
"application/json": components["schemas"]["ToolsetResponse"];
|
|
9787
|
-
};
|
|
9788
|
-
};
|
|
9789
|
-
/** @description Invalid request parameters */
|
|
9790
|
-
400: {
|
|
9791
|
-
headers: {
|
|
9792
|
-
[name: string]: unknown;
|
|
9793
|
-
};
|
|
9794
|
-
content: {
|
|
9795
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9796
|
-
};
|
|
9797
|
-
};
|
|
9798
|
-
/** @description Not authenticated */
|
|
9799
|
-
401: {
|
|
9800
|
-
headers: {
|
|
9801
|
-
[name: string]: unknown;
|
|
9802
|
-
};
|
|
9803
|
-
content: {
|
|
9804
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9805
|
-
};
|
|
9806
|
-
};
|
|
9807
|
-
/** @description Insufficient permissions */
|
|
9808
|
-
403: {
|
|
9809
|
-
headers: {
|
|
9810
|
-
[name: string]: unknown;
|
|
9811
|
-
};
|
|
9812
|
-
content: {
|
|
9813
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9814
|
-
};
|
|
9815
|
-
};
|
|
9816
|
-
/** @description Name already exists */
|
|
9817
|
-
409: {
|
|
9818
|
-
headers: {
|
|
9819
|
-
[name: string]: unknown;
|
|
9820
|
-
};
|
|
9821
|
-
content?: never;
|
|
9822
|
-
};
|
|
9823
|
-
/** @description Internal server error */
|
|
9824
|
-
500: {
|
|
9825
|
-
headers: {
|
|
9826
|
-
[name: string]: unknown;
|
|
9827
|
-
};
|
|
9828
|
-
content: {
|
|
9829
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9830
|
-
};
|
|
9831
|
-
};
|
|
9832
|
-
};
|
|
9833
|
-
};
|
|
9834
|
-
getToolset: {
|
|
9835
|
-
parameters: {
|
|
9836
|
-
query?: never;
|
|
9837
|
-
header?: never;
|
|
9838
|
-
path: {
|
|
9839
|
-
/** @description Toolset instance UUID */
|
|
9840
|
-
id: string;
|
|
9841
|
-
};
|
|
9842
|
-
cookie?: never;
|
|
9843
|
-
};
|
|
9844
|
-
requestBody?: never;
|
|
9845
|
-
responses: {
|
|
9846
|
-
/** @description Toolset */
|
|
9847
|
-
200: {
|
|
9848
|
-
headers: {
|
|
9849
|
-
[name: string]: unknown;
|
|
9850
|
-
};
|
|
9851
|
-
content: {
|
|
9852
|
-
"application/json": components["schemas"]["ToolsetResponse"];
|
|
9853
|
-
};
|
|
9854
|
-
};
|
|
9855
|
-
/** @description Invalid request parameters */
|
|
9856
|
-
400: {
|
|
9857
|
-
headers: {
|
|
9858
|
-
[name: string]: unknown;
|
|
9859
|
-
};
|
|
9860
|
-
content: {
|
|
9861
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9862
|
-
};
|
|
9863
|
-
};
|
|
9864
|
-
/** @description Not authenticated */
|
|
9865
|
-
401: {
|
|
9866
|
-
headers: {
|
|
9867
|
-
[name: string]: unknown;
|
|
9868
|
-
};
|
|
9869
|
-
content: {
|
|
9870
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9871
|
-
};
|
|
9872
|
-
};
|
|
9873
|
-
/** @description Insufficient permissions */
|
|
9874
|
-
403: {
|
|
9875
|
-
headers: {
|
|
9876
|
-
[name: string]: unknown;
|
|
9877
|
-
};
|
|
9878
|
-
content: {
|
|
9879
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9880
|
-
};
|
|
9881
|
-
};
|
|
9882
|
-
/** @description Toolset not found or not owned */
|
|
9883
|
-
404: {
|
|
9884
|
-
headers: {
|
|
9885
|
-
[name: string]: unknown;
|
|
9886
|
-
};
|
|
9887
|
-
content?: never;
|
|
9888
|
-
};
|
|
9889
|
-
/** @description Internal server error */
|
|
9890
|
-
500: {
|
|
9891
|
-
headers: {
|
|
9892
|
-
[name: string]: unknown;
|
|
9893
|
-
};
|
|
9894
|
-
content: {
|
|
9895
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9896
|
-
};
|
|
9897
|
-
};
|
|
9898
|
-
};
|
|
9899
|
-
};
|
|
9900
|
-
updateToolset: {
|
|
9901
|
-
parameters: {
|
|
9902
|
-
query?: never;
|
|
9903
|
-
header?: never;
|
|
9904
|
-
path: {
|
|
9905
|
-
/** @description Toolset instance UUID */
|
|
9906
|
-
id: string;
|
|
9907
|
-
};
|
|
9908
|
-
cookie?: never;
|
|
9909
|
-
};
|
|
9910
|
-
requestBody: {
|
|
9911
|
-
content: {
|
|
9912
|
-
"application/json": components["schemas"]["ToolsetRequest"];
|
|
9913
|
-
};
|
|
9914
|
-
};
|
|
9915
|
-
responses: {
|
|
9916
|
-
/** @description Toolset updated */
|
|
9917
|
-
200: {
|
|
9918
|
-
headers: {
|
|
9919
|
-
[name: string]: unknown;
|
|
9920
|
-
};
|
|
9921
|
-
content: {
|
|
9922
|
-
"application/json": components["schemas"]["ToolsetResponse"];
|
|
9923
|
-
};
|
|
9924
|
-
};
|
|
9925
|
-
/** @description Invalid request parameters */
|
|
9926
|
-
400: {
|
|
9927
|
-
headers: {
|
|
9928
|
-
[name: string]: unknown;
|
|
9929
|
-
};
|
|
9930
|
-
content: {
|
|
9931
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9932
|
-
};
|
|
9933
|
-
};
|
|
9934
|
-
/** @description Not authenticated */
|
|
9935
|
-
401: {
|
|
9936
|
-
headers: {
|
|
9937
|
-
[name: string]: unknown;
|
|
9938
|
-
};
|
|
9939
|
-
content: {
|
|
9940
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9941
|
-
};
|
|
9942
|
-
};
|
|
9943
|
-
/** @description Insufficient permissions */
|
|
9944
|
-
403: {
|
|
9945
|
-
headers: {
|
|
9946
|
-
[name: string]: unknown;
|
|
9947
|
-
};
|
|
9948
|
-
content: {
|
|
9949
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9950
|
-
};
|
|
9951
|
-
};
|
|
9952
|
-
/** @description Toolset not found or not owned */
|
|
9953
|
-
404: {
|
|
9954
|
-
headers: {
|
|
9955
|
-
[name: string]: unknown;
|
|
9956
|
-
};
|
|
9957
|
-
content?: never;
|
|
9958
|
-
};
|
|
9959
|
-
/** @description Name already exists */
|
|
9960
|
-
409: {
|
|
9961
|
-
headers: {
|
|
9962
|
-
[name: string]: unknown;
|
|
9963
|
-
};
|
|
9964
|
-
content?: never;
|
|
9965
|
-
};
|
|
9966
|
-
/** @description Internal server error */
|
|
9967
|
-
500: {
|
|
9968
|
-
headers: {
|
|
9969
|
-
[name: string]: unknown;
|
|
9970
|
-
};
|
|
9971
|
-
content: {
|
|
9972
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9973
|
-
};
|
|
9974
|
-
};
|
|
9975
|
-
};
|
|
9976
|
-
};
|
|
9977
|
-
deleteToolset: {
|
|
9978
|
-
parameters: {
|
|
9979
|
-
query?: never;
|
|
9980
|
-
header?: never;
|
|
9981
|
-
path: {
|
|
9982
|
-
/** @description Toolset instance UUID */
|
|
9983
|
-
id: string;
|
|
9984
|
-
};
|
|
9985
|
-
cookie?: never;
|
|
9986
|
-
};
|
|
9987
|
-
requestBody?: never;
|
|
9988
|
-
responses: {
|
|
9989
|
-
/** @description Toolset deleted */
|
|
9990
|
-
204: {
|
|
9991
|
-
headers: {
|
|
9992
|
-
[name: string]: unknown;
|
|
9993
|
-
};
|
|
9994
|
-
content?: never;
|
|
9995
|
-
};
|
|
9996
|
-
/** @description Invalid request parameters */
|
|
9997
|
-
400: {
|
|
9998
|
-
headers: {
|
|
9999
|
-
[name: string]: unknown;
|
|
10000
|
-
};
|
|
10001
|
-
content: {
|
|
10002
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10003
|
-
};
|
|
10004
|
-
};
|
|
10005
|
-
/** @description Not authenticated */
|
|
10006
|
-
401: {
|
|
10007
|
-
headers: {
|
|
10008
|
-
[name: string]: unknown;
|
|
10009
|
-
};
|
|
10010
|
-
content: {
|
|
10011
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10012
|
-
};
|
|
10013
|
-
};
|
|
10014
|
-
/** @description Insufficient permissions */
|
|
10015
|
-
403: {
|
|
10016
|
-
headers: {
|
|
10017
|
-
[name: string]: unknown;
|
|
10018
|
-
};
|
|
10019
|
-
content: {
|
|
10020
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10021
|
-
};
|
|
10022
|
-
};
|
|
10023
|
-
/** @description Toolset not found or not owned */
|
|
10024
|
-
404: {
|
|
10025
|
-
headers: {
|
|
10026
|
-
[name: string]: unknown;
|
|
10027
|
-
};
|
|
10028
|
-
content?: never;
|
|
10029
|
-
};
|
|
10030
|
-
/** @description Internal server error */
|
|
10031
|
-
500: {
|
|
10032
|
-
headers: {
|
|
10033
|
-
[name: string]: unknown;
|
|
10034
|
-
};
|
|
10035
|
-
content: {
|
|
10036
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10037
|
-
};
|
|
10038
|
-
};
|
|
10039
|
-
};
|
|
10040
|
-
};
|
|
10041
|
-
executeToolsetTool: {
|
|
10042
|
-
parameters: {
|
|
10043
|
-
query?: never;
|
|
10044
|
-
header?: never;
|
|
10045
|
-
path: {
|
|
10046
|
-
/** @description Toolset instance UUID */
|
|
10047
|
-
id: string;
|
|
10048
|
-
/** @description Tool name to execute */
|
|
10049
|
-
tool_name: string;
|
|
10050
|
-
};
|
|
10051
|
-
cookie?: never;
|
|
10052
|
-
};
|
|
10053
|
-
requestBody: {
|
|
10054
|
-
content: {
|
|
10055
|
-
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
10056
|
-
};
|
|
10057
|
-
};
|
|
10058
|
-
responses: {
|
|
10059
|
-
/** @description Tool execution result */
|
|
10060
|
-
200: {
|
|
10061
|
-
headers: {
|
|
10062
|
-
[name: string]: unknown;
|
|
10063
|
-
};
|
|
10064
|
-
content: {
|
|
10065
|
-
"application/json": components["schemas"]["ToolsetExecutionResponse"];
|
|
10066
|
-
};
|
|
10067
|
-
};
|
|
10068
|
-
/** @description Invalid request parameters */
|
|
10069
|
-
400: {
|
|
10070
|
-
headers: {
|
|
10071
|
-
[name: string]: unknown;
|
|
10072
|
-
};
|
|
10073
|
-
content: {
|
|
10074
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10075
|
-
};
|
|
10076
|
-
};
|
|
10077
|
-
/** @description Not authenticated */
|
|
10078
|
-
401: {
|
|
10079
|
-
headers: {
|
|
10080
|
-
[name: string]: unknown;
|
|
10081
|
-
};
|
|
10082
|
-
content: {
|
|
10083
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10084
|
-
};
|
|
10085
|
-
};
|
|
10086
|
-
/** @description Insufficient permissions */
|
|
10087
|
-
403: {
|
|
10088
|
-
headers: {
|
|
10089
|
-
[name: string]: unknown;
|
|
10090
|
-
};
|
|
10091
|
-
content: {
|
|
10092
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10093
|
-
};
|
|
10094
|
-
};
|
|
10095
|
-
/** @description Toolset or method not found */
|
|
10096
|
-
404: {
|
|
10097
|
-
headers: {
|
|
10098
|
-
[name: string]: unknown;
|
|
10099
|
-
};
|
|
10100
|
-
content?: never;
|
|
10101
|
-
};
|
|
10102
|
-
/** @description Internal server error */
|
|
10103
|
-
500: {
|
|
10104
|
-
headers: {
|
|
10105
|
-
[name: string]: unknown;
|
|
10106
|
-
};
|
|
10107
|
-
content: {
|
|
10108
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10109
|
-
};
|
|
10110
|
-
};
|
|
10111
|
-
};
|
|
10112
|
-
};
|
|
10113
9111
|
getCurrentUser: {
|
|
10114
9112
|
parameters: {
|
|
10115
9113
|
query?: never;
|