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