@orq-ai/node 4.0.0-rc.49 → 4.0.0-rc.50
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/README.md +20 -29
- package/bin/mcp-server.js +1502 -4133
- package/bin/mcp-server.js.map +40 -51
- package/docs/sdks/agents/README.md +0 -76
- package/docs/sdks/tools/README.md +1 -152
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -7
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -2
- package/models/errors/index.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +0 -3
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -3
- package/models/operations/index.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +0 -7
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +0 -10
- package/sdk/agents.js.map +1 -1
- package/sdk/tools.d.ts +0 -14
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +0 -20
- package/sdk/tools.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -7
- package/src/models/errors/index.ts +0 -2
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +0 -3
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +0 -18
- package/src/sdk/tools.ts +0 -36
- package/funcs/agentsDuplicate.d.ts +0 -18
- package/funcs/agentsDuplicate.d.ts.map +0 -1
- package/funcs/agentsDuplicate.js +0 -124
- package/funcs/agentsDuplicate.js.map +0 -1
- package/funcs/toolsDuplicate.d.ts +0 -18
- package/funcs/toolsDuplicate.d.ts.map +0 -1
- package/funcs/toolsDuplicate.js +0 -124
- package/funcs/toolsDuplicate.js.map +0 -1
- package/funcs/toolsSync.d.ts +0 -18
- package/funcs/toolsSync.d.ts.map +0 -1
- package/funcs/toolsSync.js +0 -123
- package/funcs/toolsSync.js.map +0 -1
- package/mcp-server/tools/agentsDuplicate.d.ts +0 -8
- package/mcp-server/tools/agentsDuplicate.d.ts.map +0 -1
- package/mcp-server/tools/agentsDuplicate.js +0 -64
- package/mcp-server/tools/agentsDuplicate.js.map +0 -1
- package/mcp-server/tools/toolsDuplicate.d.ts +0 -8
- package/mcp-server/tools/toolsDuplicate.d.ts.map +0 -1
- package/mcp-server/tools/toolsDuplicate.js +0 -64
- package/mcp-server/tools/toolsDuplicate.js.map +0 -1
- package/mcp-server/tools/toolsSync.d.ts +0 -8
- package/mcp-server/tools/toolsSync.d.ts.map +0 -1
- package/mcp-server/tools/toolsSync.js +0 -64
- package/mcp-server/tools/toolsSync.js.map +0 -1
- package/models/errors/duplicateagent.d.ts +0 -55
- package/models/errors/duplicateagent.d.ts.map +0 -1
- package/models/errors/duplicateagent.js +0 -106
- package/models/errors/duplicateagent.js.map +0 -1
- package/models/errors/duplicatetool.d.ts +0 -36
- package/models/errors/duplicatetool.d.ts.map +0 -1
- package/models/errors/duplicatetool.js +0 -77
- package/models/errors/duplicatetool.js.map +0 -1
- package/models/operations/duplicateagent.d.ts +0 -1436
- package/models/operations/duplicateagent.d.ts.map +0 -1
- package/models/operations/duplicateagent.js +0 -1456
- package/models/operations/duplicateagent.js.map +0 -1
- package/models/operations/duplicatetool.d.ts +0 -1038
- package/models/operations/duplicatetool.d.ts.map +0 -1
- package/models/operations/duplicatetool.js +0 -982
- package/models/operations/duplicatetool.js.map +0 -1
- package/models/operations/syncmcptool.d.ts +0 -1115
- package/models/operations/syncmcptool.d.ts.map +0 -1
- package/models/operations/syncmcptool.js +0 -1072
- package/models/operations/syncmcptool.js.map +0 -1
- package/src/funcs/agentsDuplicate.ts +0 -180
- package/src/funcs/toolsDuplicate.ts +0 -176
- package/src/funcs/toolsSync.ts +0 -176
- package/src/mcp-server/tools/agentsDuplicate.ts +0 -37
- package/src/mcp-server/tools/toolsDuplicate.ts +0 -37
- package/src/mcp-server/tools/toolsSync.ts +0 -37
- package/src/models/errors/duplicateagent.ts +0 -128
- package/src/models/errors/duplicatetool.ts +0 -78
- package/src/models/operations/duplicateagent.ts +0 -3674
- package/src/models/operations/duplicatetool.ts +0 -2395
- package/src/models/operations/syncmcptool.ts +0 -2603
|
@@ -1,1115 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type SyncMcpToolRequest = {
|
|
6
|
-
/**
|
|
7
|
-
* The ID of the MCP tool to sync
|
|
8
|
-
*/
|
|
9
|
-
toolId: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
13
|
-
*/
|
|
14
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus: {
|
|
15
|
-
readonly Live: "live";
|
|
16
|
-
readonly Draft: "draft";
|
|
17
|
-
readonly Pending: "pending";
|
|
18
|
-
readonly Published: "published";
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
22
|
-
*/
|
|
23
|
-
export type SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus>;
|
|
24
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType: {
|
|
25
|
-
readonly Code: "code";
|
|
26
|
-
};
|
|
27
|
-
export type SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
28
|
-
/**
|
|
29
|
-
* The type must be "object"
|
|
30
|
-
*/
|
|
31
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type: {
|
|
32
|
-
readonly Object: "object";
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* The type must be "object"
|
|
36
|
-
*/
|
|
37
|
-
export type SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type>;
|
|
38
|
-
/**
|
|
39
|
-
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
40
|
-
*/
|
|
41
|
-
export type SyncMcpToolResponseBodyToolsParameters = {
|
|
42
|
-
/**
|
|
43
|
-
* The type must be "object"
|
|
44
|
-
*/
|
|
45
|
-
type: SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type;
|
|
46
|
-
/**
|
|
47
|
-
* The properties of the function parameters
|
|
48
|
-
*/
|
|
49
|
-
properties: {
|
|
50
|
-
[k: string]: any;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Array of required parameter names
|
|
54
|
-
*/
|
|
55
|
-
required: Array<string>;
|
|
56
|
-
additionalProperties?: {
|
|
57
|
-
[k: string]: any;
|
|
58
|
-
} | undefined;
|
|
59
|
-
};
|
|
60
|
-
export declare const SyncMcpToolResponseBodyLanguage: {
|
|
61
|
-
readonly Python: "python";
|
|
62
|
-
};
|
|
63
|
-
export type SyncMcpToolResponseBodyLanguage = ClosedEnum<typeof SyncMcpToolResponseBodyLanguage>;
|
|
64
|
-
export type SyncMcpToolResponseBodyCodeTool = {
|
|
65
|
-
/**
|
|
66
|
-
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
67
|
-
*/
|
|
68
|
-
parameters?: SyncMcpToolResponseBodyToolsParameters | undefined;
|
|
69
|
-
language: SyncMcpToolResponseBodyLanguage;
|
|
70
|
-
/**
|
|
71
|
-
* The code to execute.
|
|
72
|
-
*/
|
|
73
|
-
code: string;
|
|
74
|
-
};
|
|
75
|
-
export type SyncMcpToolResponseBodyToolsResponseSyncResult = {
|
|
76
|
-
toolsTotal: number;
|
|
77
|
-
toolsAdded: number;
|
|
78
|
-
toolsRemoved: number;
|
|
79
|
-
errors: Array<string>;
|
|
80
|
-
};
|
|
81
|
-
export type SyncMcpToolResponseBody5 = {
|
|
82
|
-
id?: string | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
85
|
-
*
|
|
86
|
-
* @remarks
|
|
87
|
-
*
|
|
88
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
89
|
-
*
|
|
90
|
-
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
91
|
-
*/
|
|
92
|
-
path: string;
|
|
93
|
-
/**
|
|
94
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
95
|
-
*/
|
|
96
|
-
key: string;
|
|
97
|
-
/**
|
|
98
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
99
|
-
*/
|
|
100
|
-
displayName?: string | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
103
|
-
*/
|
|
104
|
-
description: string;
|
|
105
|
-
/**
|
|
106
|
-
* The id of the user that created the tool
|
|
107
|
-
*/
|
|
108
|
-
createdById?: string | undefined;
|
|
109
|
-
/**
|
|
110
|
-
* The id of the user that last updated the tool
|
|
111
|
-
*/
|
|
112
|
-
updatedById?: string | undefined;
|
|
113
|
-
projectId: string;
|
|
114
|
-
workspaceId: string;
|
|
115
|
-
created: string;
|
|
116
|
-
updated: string;
|
|
117
|
-
/**
|
|
118
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
119
|
-
*/
|
|
120
|
-
status?: SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus | undefined;
|
|
121
|
-
versionHash?: string | undefined;
|
|
122
|
-
type: SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType;
|
|
123
|
-
codeTool: SyncMcpToolResponseBodyCodeTool;
|
|
124
|
-
syncResult: SyncMcpToolResponseBodyToolsResponseSyncResult;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
128
|
-
*/
|
|
129
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200Status: {
|
|
130
|
-
readonly Live: "live";
|
|
131
|
-
readonly Draft: "draft";
|
|
132
|
-
readonly Pending: "pending";
|
|
133
|
-
readonly Published: "published";
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
137
|
-
*/
|
|
138
|
-
export type SyncMcpToolResponseBodyToolsResponse200Status = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200Status>;
|
|
139
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200Type: {
|
|
140
|
-
readonly Mcp: "mcp";
|
|
141
|
-
};
|
|
142
|
-
export type SyncMcpToolResponseBodyToolsResponse200Type = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200Type>;
|
|
143
|
-
export type SyncMcpToolResponseBodyHeaders = {
|
|
144
|
-
value: string;
|
|
145
|
-
encrypted?: boolean | undefined;
|
|
146
|
-
};
|
|
147
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type: {
|
|
148
|
-
readonly Object: "object";
|
|
149
|
-
};
|
|
150
|
-
export type SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
151
|
-
export type SyncMcpToolResponseBodyToolsSchema = {
|
|
152
|
-
type: SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type;
|
|
153
|
-
properties?: {
|
|
154
|
-
[k: string]: any;
|
|
155
|
-
} | undefined;
|
|
156
|
-
required?: Array<string> | undefined;
|
|
157
|
-
};
|
|
158
|
-
export type SyncMcpToolResponseBodyTools = {
|
|
159
|
-
id?: string | undefined;
|
|
160
|
-
name: string;
|
|
161
|
-
description?: string | undefined;
|
|
162
|
-
schema: SyncMcpToolResponseBodyToolsSchema;
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* The connection type used by the MCP server
|
|
166
|
-
*/
|
|
167
|
-
export declare const SyncMcpToolResponseBodyConnectionType: {
|
|
168
|
-
readonly Http: "http";
|
|
169
|
-
readonly Sse: "sse";
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* The connection type used by the MCP server
|
|
173
|
-
*/
|
|
174
|
-
export type SyncMcpToolResponseBodyConnectionType = ClosedEnum<typeof SyncMcpToolResponseBodyConnectionType>;
|
|
175
|
-
export type SyncMcpToolResponseBodyMcp = {
|
|
176
|
-
/**
|
|
177
|
-
* The MCP server URL (cached for execution)
|
|
178
|
-
*/
|
|
179
|
-
serverUrl: string;
|
|
180
|
-
/**
|
|
181
|
-
* HTTP headers for MCP server requests with encryption support
|
|
182
|
-
*/
|
|
183
|
-
headers?: {
|
|
184
|
-
[k: string]: SyncMcpToolResponseBodyHeaders;
|
|
185
|
-
} | undefined;
|
|
186
|
-
/**
|
|
187
|
-
* Array of tools available from the MCP server
|
|
188
|
-
*/
|
|
189
|
-
tools: Array<SyncMcpToolResponseBodyTools>;
|
|
190
|
-
/**
|
|
191
|
-
* The connection type used by the MCP server
|
|
192
|
-
*/
|
|
193
|
-
connectionType: SyncMcpToolResponseBodyConnectionType;
|
|
194
|
-
};
|
|
195
|
-
export type SyncMcpToolResponseBodyToolsSyncResult = {
|
|
196
|
-
toolsTotal: number;
|
|
197
|
-
toolsAdded: number;
|
|
198
|
-
toolsRemoved: number;
|
|
199
|
-
errors: Array<string>;
|
|
200
|
-
};
|
|
201
|
-
export type SyncMcpToolResponseBody4 = {
|
|
202
|
-
id?: string | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
205
|
-
*
|
|
206
|
-
* @remarks
|
|
207
|
-
*
|
|
208
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
209
|
-
*
|
|
210
|
-
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
211
|
-
*/
|
|
212
|
-
path: string;
|
|
213
|
-
/**
|
|
214
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
215
|
-
*/
|
|
216
|
-
key: string;
|
|
217
|
-
/**
|
|
218
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
219
|
-
*/
|
|
220
|
-
displayName?: string | undefined;
|
|
221
|
-
/**
|
|
222
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
223
|
-
*/
|
|
224
|
-
description: string;
|
|
225
|
-
/**
|
|
226
|
-
* The id of the user that created the tool
|
|
227
|
-
*/
|
|
228
|
-
createdById?: string | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* The id of the user that last updated the tool
|
|
231
|
-
*/
|
|
232
|
-
updatedById?: string | undefined;
|
|
233
|
-
projectId: string;
|
|
234
|
-
workspaceId: string;
|
|
235
|
-
created: string;
|
|
236
|
-
updated: string;
|
|
237
|
-
/**
|
|
238
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
239
|
-
*/
|
|
240
|
-
status?: SyncMcpToolResponseBodyToolsResponse200Status | undefined;
|
|
241
|
-
versionHash?: string | undefined;
|
|
242
|
-
type: SyncMcpToolResponseBodyToolsResponse200Type;
|
|
243
|
-
mcp: SyncMcpToolResponseBodyMcp;
|
|
244
|
-
syncResult: SyncMcpToolResponseBodyToolsSyncResult;
|
|
245
|
-
};
|
|
246
|
-
/**
|
|
247
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
248
|
-
*/
|
|
249
|
-
export declare const SyncMcpToolResponseBodyToolsResponseStatus: {
|
|
250
|
-
readonly Live: "live";
|
|
251
|
-
readonly Draft: "draft";
|
|
252
|
-
readonly Pending: "pending";
|
|
253
|
-
readonly Published: "published";
|
|
254
|
-
};
|
|
255
|
-
/**
|
|
256
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
257
|
-
*/
|
|
258
|
-
export type SyncMcpToolResponseBodyToolsResponseStatus = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponseStatus>;
|
|
259
|
-
export declare const SyncMcpToolResponseBodyToolsResponseType: {
|
|
260
|
-
readonly Http: "http";
|
|
261
|
-
};
|
|
262
|
-
export type SyncMcpToolResponseBodyToolsResponseType = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponseType>;
|
|
263
|
-
/**
|
|
264
|
-
* The HTTP method to use.
|
|
265
|
-
*/
|
|
266
|
-
export declare const SyncMcpToolResponseBodyMethod: {
|
|
267
|
-
readonly Get: "GET";
|
|
268
|
-
readonly Post: "POST";
|
|
269
|
-
readonly Put: "PUT";
|
|
270
|
-
readonly Delete: "DELETE";
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* The HTTP method to use.
|
|
274
|
-
*/
|
|
275
|
-
export type SyncMcpToolResponseBodyMethod = ClosedEnum<typeof SyncMcpToolResponseBodyMethod>;
|
|
276
|
-
export type SyncMcpToolHeaders2 = {
|
|
277
|
-
value: string;
|
|
278
|
-
encrypted?: boolean | undefined;
|
|
279
|
-
};
|
|
280
|
-
export type SyncMcpToolResponseBodyToolsHeaders = SyncMcpToolHeaders2 | string;
|
|
281
|
-
/**
|
|
282
|
-
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
283
|
-
*/
|
|
284
|
-
export type SyncMcpToolResponseBodyBlueprint = {
|
|
285
|
-
/**
|
|
286
|
-
* The URL to send the request to.
|
|
287
|
-
*/
|
|
288
|
-
url: string;
|
|
289
|
-
/**
|
|
290
|
-
* The HTTP method to use.
|
|
291
|
-
*/
|
|
292
|
-
method: SyncMcpToolResponseBodyMethod;
|
|
293
|
-
/**
|
|
294
|
-
* The headers to send with the request. Can be a string value or an object with value and encrypted properties.
|
|
295
|
-
*/
|
|
296
|
-
headers?: {
|
|
297
|
-
[k: string]: SyncMcpToolHeaders2 | string;
|
|
298
|
-
} | undefined;
|
|
299
|
-
/**
|
|
300
|
-
* The body to send with the request.
|
|
301
|
-
*/
|
|
302
|
-
body?: {
|
|
303
|
-
[k: string]: any;
|
|
304
|
-
} | undefined;
|
|
305
|
-
};
|
|
306
|
-
/**
|
|
307
|
-
* The type of the argument.
|
|
308
|
-
*/
|
|
309
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type: {
|
|
310
|
-
readonly String: "string";
|
|
311
|
-
readonly Number: "number";
|
|
312
|
-
readonly Boolean: "boolean";
|
|
313
|
-
};
|
|
314
|
-
/**
|
|
315
|
-
* The type of the argument.
|
|
316
|
-
*/
|
|
317
|
-
export type SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type>;
|
|
318
|
-
/**
|
|
319
|
-
* The default value of the argument.
|
|
320
|
-
*/
|
|
321
|
-
export type SyncMcpToolResponseBodyDefaultValue = string | number | boolean;
|
|
322
|
-
export type SyncMcpToolResponseBodyArguments = {
|
|
323
|
-
/**
|
|
324
|
-
* The type of the argument.
|
|
325
|
-
*/
|
|
326
|
-
type: SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type;
|
|
327
|
-
/**
|
|
328
|
-
* A description of the argument.
|
|
329
|
-
*/
|
|
330
|
-
description: string;
|
|
331
|
-
/**
|
|
332
|
-
* Whether to send the argument to the model. If set to false, the argument will not be sent to the model and needs to be provided by the user or it will be left blank.
|
|
333
|
-
*/
|
|
334
|
-
sendToModel?: boolean | undefined;
|
|
335
|
-
/**
|
|
336
|
-
* The default value of the argument.
|
|
337
|
-
*/
|
|
338
|
-
defaultValue?: string | number | boolean | undefined;
|
|
339
|
-
};
|
|
340
|
-
export type SyncMcpToolResponseBodyHttp = {
|
|
341
|
-
/**
|
|
342
|
-
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
343
|
-
*/
|
|
344
|
-
blueprint: SyncMcpToolResponseBodyBlueprint;
|
|
345
|
-
/**
|
|
346
|
-
* The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
|
|
347
|
-
*/
|
|
348
|
-
arguments?: {
|
|
349
|
-
[k: string]: SyncMcpToolResponseBodyArguments;
|
|
350
|
-
} | undefined;
|
|
351
|
-
};
|
|
352
|
-
export type SyncMcpToolResponseBodySyncResult = {
|
|
353
|
-
toolsTotal: number;
|
|
354
|
-
toolsAdded: number;
|
|
355
|
-
toolsRemoved: number;
|
|
356
|
-
errors: Array<string>;
|
|
357
|
-
};
|
|
358
|
-
export type SyncMcpToolResponseBody3 = {
|
|
359
|
-
id?: string | undefined;
|
|
360
|
-
/**
|
|
361
|
-
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
362
|
-
*
|
|
363
|
-
* @remarks
|
|
364
|
-
*
|
|
365
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
366
|
-
*
|
|
367
|
-
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
368
|
-
*/
|
|
369
|
-
path: string;
|
|
370
|
-
/**
|
|
371
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
372
|
-
*/
|
|
373
|
-
key: string;
|
|
374
|
-
/**
|
|
375
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
376
|
-
*/
|
|
377
|
-
displayName?: string | undefined;
|
|
378
|
-
/**
|
|
379
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
380
|
-
*/
|
|
381
|
-
description: string;
|
|
382
|
-
/**
|
|
383
|
-
* The id of the user that created the tool
|
|
384
|
-
*/
|
|
385
|
-
createdById?: string | undefined;
|
|
386
|
-
/**
|
|
387
|
-
* The id of the user that last updated the tool
|
|
388
|
-
*/
|
|
389
|
-
updatedById?: string | undefined;
|
|
390
|
-
projectId: string;
|
|
391
|
-
workspaceId: string;
|
|
392
|
-
created: string;
|
|
393
|
-
updated: string;
|
|
394
|
-
/**
|
|
395
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
396
|
-
*/
|
|
397
|
-
status?: SyncMcpToolResponseBodyToolsResponseStatus | undefined;
|
|
398
|
-
versionHash?: string | undefined;
|
|
399
|
-
type: SyncMcpToolResponseBodyToolsResponseType;
|
|
400
|
-
http: SyncMcpToolResponseBodyHttp;
|
|
401
|
-
syncResult: SyncMcpToolResponseBodySyncResult;
|
|
402
|
-
};
|
|
403
|
-
/**
|
|
404
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
405
|
-
*/
|
|
406
|
-
export declare const SyncMcpToolResponseBodyToolsStatus: {
|
|
407
|
-
readonly Live: "live";
|
|
408
|
-
readonly Draft: "draft";
|
|
409
|
-
readonly Pending: "pending";
|
|
410
|
-
readonly Published: "published";
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
414
|
-
*/
|
|
415
|
-
export type SyncMcpToolResponseBodyToolsStatus = ClosedEnum<typeof SyncMcpToolResponseBodyToolsStatus>;
|
|
416
|
-
export declare const SyncMcpToolResponseBodyToolsType: {
|
|
417
|
-
readonly JsonSchema: "json_schema";
|
|
418
|
-
};
|
|
419
|
-
export type SyncMcpToolResponseBodyToolsType = ClosedEnum<typeof SyncMcpToolResponseBodyToolsType>;
|
|
420
|
-
/**
|
|
421
|
-
* The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
422
|
-
*/
|
|
423
|
-
export type SyncMcpToolResponseBodySchema = {
|
|
424
|
-
/**
|
|
425
|
-
* The JSON Schema type
|
|
426
|
-
*/
|
|
427
|
-
type: string;
|
|
428
|
-
/**
|
|
429
|
-
* The properties of the JSON Schema object
|
|
430
|
-
*/
|
|
431
|
-
properties: {
|
|
432
|
-
[k: string]: any;
|
|
433
|
-
};
|
|
434
|
-
/**
|
|
435
|
-
* Array of required property names
|
|
436
|
-
*/
|
|
437
|
-
required: Array<string>;
|
|
438
|
-
additionalProperties?: {
|
|
439
|
-
[k: string]: any;
|
|
440
|
-
} | undefined;
|
|
441
|
-
};
|
|
442
|
-
export type SyncMcpToolResponseBodyJsonSchema = {
|
|
443
|
-
/**
|
|
444
|
-
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
445
|
-
*/
|
|
446
|
-
name: string;
|
|
447
|
-
/**
|
|
448
|
-
* A description of what the response format is for. This will be shown to the user.
|
|
449
|
-
*/
|
|
450
|
-
description: string;
|
|
451
|
-
/**
|
|
452
|
-
* The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
453
|
-
*/
|
|
454
|
-
schema: SyncMcpToolResponseBodySchema;
|
|
455
|
-
/**
|
|
456
|
-
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
|
|
457
|
-
*/
|
|
458
|
-
strict?: boolean | undefined;
|
|
459
|
-
};
|
|
460
|
-
export type ResponseBodySyncResult = {
|
|
461
|
-
toolsTotal: number;
|
|
462
|
-
toolsAdded: number;
|
|
463
|
-
toolsRemoved: number;
|
|
464
|
-
errors: Array<string>;
|
|
465
|
-
};
|
|
466
|
-
export type SyncMcpToolResponseBody2 = {
|
|
467
|
-
id?: string | undefined;
|
|
468
|
-
/**
|
|
469
|
-
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
470
|
-
*
|
|
471
|
-
* @remarks
|
|
472
|
-
*
|
|
473
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
474
|
-
*
|
|
475
|
-
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
476
|
-
*/
|
|
477
|
-
path: string;
|
|
478
|
-
/**
|
|
479
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
480
|
-
*/
|
|
481
|
-
key: string;
|
|
482
|
-
/**
|
|
483
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
484
|
-
*/
|
|
485
|
-
displayName?: string | undefined;
|
|
486
|
-
/**
|
|
487
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
488
|
-
*/
|
|
489
|
-
description: string;
|
|
490
|
-
/**
|
|
491
|
-
* The id of the user that created the tool
|
|
492
|
-
*/
|
|
493
|
-
createdById?: string | undefined;
|
|
494
|
-
/**
|
|
495
|
-
* The id of the user that last updated the tool
|
|
496
|
-
*/
|
|
497
|
-
updatedById?: string | undefined;
|
|
498
|
-
projectId: string;
|
|
499
|
-
workspaceId: string;
|
|
500
|
-
created: string;
|
|
501
|
-
updated: string;
|
|
502
|
-
/**
|
|
503
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
504
|
-
*/
|
|
505
|
-
status?: SyncMcpToolResponseBodyToolsStatus | undefined;
|
|
506
|
-
versionHash?: string | undefined;
|
|
507
|
-
type: SyncMcpToolResponseBodyToolsType;
|
|
508
|
-
jsonSchema: SyncMcpToolResponseBodyJsonSchema;
|
|
509
|
-
syncResult: ResponseBodySyncResult;
|
|
510
|
-
};
|
|
511
|
-
/**
|
|
512
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
513
|
-
*/
|
|
514
|
-
export declare const SyncMcpToolResponseBodyStatus: {
|
|
515
|
-
readonly Live: "live";
|
|
516
|
-
readonly Draft: "draft";
|
|
517
|
-
readonly Pending: "pending";
|
|
518
|
-
readonly Published: "published";
|
|
519
|
-
};
|
|
520
|
-
/**
|
|
521
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
522
|
-
*/
|
|
523
|
-
export type SyncMcpToolResponseBodyStatus = ClosedEnum<typeof SyncMcpToolResponseBodyStatus>;
|
|
524
|
-
export declare const SyncMcpToolResponseBodyType: {
|
|
525
|
-
readonly Function: "function";
|
|
526
|
-
};
|
|
527
|
-
export type SyncMcpToolResponseBodyType = ClosedEnum<typeof SyncMcpToolResponseBodyType>;
|
|
528
|
-
/**
|
|
529
|
-
* The type must be "object"
|
|
530
|
-
*/
|
|
531
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type: {
|
|
532
|
-
readonly Object: "object";
|
|
533
|
-
};
|
|
534
|
-
/**
|
|
535
|
-
* The type must be "object"
|
|
536
|
-
*/
|
|
537
|
-
export type SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type = ClosedEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type>;
|
|
538
|
-
/**
|
|
539
|
-
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
540
|
-
*/
|
|
541
|
-
export type SyncMcpToolResponseBodyParameters = {
|
|
542
|
-
/**
|
|
543
|
-
* The type must be "object"
|
|
544
|
-
*/
|
|
545
|
-
type: SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type;
|
|
546
|
-
/**
|
|
547
|
-
* The properties of the function parameters
|
|
548
|
-
*/
|
|
549
|
-
properties: {
|
|
550
|
-
[k: string]: any;
|
|
551
|
-
};
|
|
552
|
-
/**
|
|
553
|
-
* Array of required parameter names
|
|
554
|
-
*/
|
|
555
|
-
required: Array<string>;
|
|
556
|
-
additionalProperties?: {
|
|
557
|
-
[k: string]: any;
|
|
558
|
-
} | undefined;
|
|
559
|
-
};
|
|
560
|
-
export type SyncMcpToolResponseBodyFunction = {
|
|
561
|
-
/**
|
|
562
|
-
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
563
|
-
*/
|
|
564
|
-
name: string;
|
|
565
|
-
/**
|
|
566
|
-
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
567
|
-
*/
|
|
568
|
-
description?: string | undefined;
|
|
569
|
-
/**
|
|
570
|
-
* Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
|
|
571
|
-
*/
|
|
572
|
-
strict?: boolean | undefined;
|
|
573
|
-
/**
|
|
574
|
-
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
575
|
-
*/
|
|
576
|
-
parameters?: SyncMcpToolResponseBodyParameters | undefined;
|
|
577
|
-
};
|
|
578
|
-
export type SyncResult = {
|
|
579
|
-
toolsTotal: number;
|
|
580
|
-
toolsAdded: number;
|
|
581
|
-
toolsRemoved: number;
|
|
582
|
-
errors: Array<string>;
|
|
583
|
-
};
|
|
584
|
-
export type SyncMcpToolResponseBody1 = {
|
|
585
|
-
id?: string | undefined;
|
|
586
|
-
/**
|
|
587
|
-
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
588
|
-
*
|
|
589
|
-
* @remarks
|
|
590
|
-
*
|
|
591
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
592
|
-
*
|
|
593
|
-
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
594
|
-
*/
|
|
595
|
-
path: string;
|
|
596
|
-
/**
|
|
597
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
598
|
-
*/
|
|
599
|
-
key: string;
|
|
600
|
-
/**
|
|
601
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
602
|
-
*/
|
|
603
|
-
displayName?: string | undefined;
|
|
604
|
-
/**
|
|
605
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
606
|
-
*/
|
|
607
|
-
description: string;
|
|
608
|
-
/**
|
|
609
|
-
* The id of the user that created the tool
|
|
610
|
-
*/
|
|
611
|
-
createdById?: string | undefined;
|
|
612
|
-
/**
|
|
613
|
-
* The id of the user that last updated the tool
|
|
614
|
-
*/
|
|
615
|
-
updatedById?: string | undefined;
|
|
616
|
-
projectId: string;
|
|
617
|
-
workspaceId: string;
|
|
618
|
-
created: string;
|
|
619
|
-
updated: string;
|
|
620
|
-
/**
|
|
621
|
-
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
622
|
-
*/
|
|
623
|
-
status?: SyncMcpToolResponseBodyStatus | undefined;
|
|
624
|
-
versionHash?: string | undefined;
|
|
625
|
-
type: SyncMcpToolResponseBodyType;
|
|
626
|
-
function: SyncMcpToolResponseBodyFunction;
|
|
627
|
-
syncResult: SyncResult;
|
|
628
|
-
};
|
|
629
|
-
/**
|
|
630
|
-
* Successfully synced MCP tool.
|
|
631
|
-
*/
|
|
632
|
-
export type SyncMcpToolResponseBody = SyncMcpToolResponseBody1 | SyncMcpToolResponseBody2 | SyncMcpToolResponseBody3 | SyncMcpToolResponseBody4 | SyncMcpToolResponseBody5;
|
|
633
|
-
/** @internal */
|
|
634
|
-
export declare const SyncMcpToolRequest$inboundSchema: z.ZodType<SyncMcpToolRequest, z.ZodTypeDef, unknown>;
|
|
635
|
-
/** @internal */
|
|
636
|
-
export type SyncMcpToolRequest$Outbound = {
|
|
637
|
-
tool_id: string;
|
|
638
|
-
};
|
|
639
|
-
/** @internal */
|
|
640
|
-
export declare const SyncMcpToolRequest$outboundSchema: z.ZodType<SyncMcpToolRequest$Outbound, z.ZodTypeDef, SyncMcpToolRequest>;
|
|
641
|
-
export declare function syncMcpToolRequestToJSON(syncMcpToolRequest: SyncMcpToolRequest): string;
|
|
642
|
-
export declare function syncMcpToolRequestFromJSON(jsonString: string): SafeParseResult<SyncMcpToolRequest, SDKValidationError>;
|
|
643
|
-
/** @internal */
|
|
644
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus>;
|
|
645
|
-
/** @internal */
|
|
646
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJSONStatus>;
|
|
647
|
-
/** @internal */
|
|
648
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
649
|
-
/** @internal */
|
|
650
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
651
|
-
/** @internal */
|
|
652
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type>;
|
|
653
|
-
/** @internal */
|
|
654
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson5Type>;
|
|
655
|
-
/** @internal */
|
|
656
|
-
export declare const SyncMcpToolResponseBodyToolsParameters$inboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsParameters, z.ZodTypeDef, unknown>;
|
|
657
|
-
/** @internal */
|
|
658
|
-
export type SyncMcpToolResponseBodyToolsParameters$Outbound = {
|
|
659
|
-
type: string;
|
|
660
|
-
properties: {
|
|
661
|
-
[k: string]: any;
|
|
662
|
-
};
|
|
663
|
-
required: Array<string>;
|
|
664
|
-
[additionalProperties: string]: unknown;
|
|
665
|
-
};
|
|
666
|
-
/** @internal */
|
|
667
|
-
export declare const SyncMcpToolResponseBodyToolsParameters$outboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsParameters$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyToolsParameters>;
|
|
668
|
-
export declare function syncMcpToolResponseBodyToolsParametersToJSON(syncMcpToolResponseBodyToolsParameters: SyncMcpToolResponseBodyToolsParameters): string;
|
|
669
|
-
export declare function syncMcpToolResponseBodyToolsParametersFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyToolsParameters, SDKValidationError>;
|
|
670
|
-
/** @internal */
|
|
671
|
-
export declare const SyncMcpToolResponseBodyLanguage$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyLanguage>;
|
|
672
|
-
/** @internal */
|
|
673
|
-
export declare const SyncMcpToolResponseBodyLanguage$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyLanguage>;
|
|
674
|
-
/** @internal */
|
|
675
|
-
export declare const SyncMcpToolResponseBodyCodeTool$inboundSchema: z.ZodType<SyncMcpToolResponseBodyCodeTool, z.ZodTypeDef, unknown>;
|
|
676
|
-
/** @internal */
|
|
677
|
-
export type SyncMcpToolResponseBodyCodeTool$Outbound = {
|
|
678
|
-
parameters?: SyncMcpToolResponseBodyToolsParameters$Outbound | undefined;
|
|
679
|
-
language: string;
|
|
680
|
-
code: string;
|
|
681
|
-
};
|
|
682
|
-
/** @internal */
|
|
683
|
-
export declare const SyncMcpToolResponseBodyCodeTool$outboundSchema: z.ZodType<SyncMcpToolResponseBodyCodeTool$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyCodeTool>;
|
|
684
|
-
export declare function syncMcpToolResponseBodyCodeToolToJSON(syncMcpToolResponseBodyCodeTool: SyncMcpToolResponseBodyCodeTool): string;
|
|
685
|
-
export declare function syncMcpToolResponseBodyCodeToolFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyCodeTool, SDKValidationError>;
|
|
686
|
-
/** @internal */
|
|
687
|
-
export declare const SyncMcpToolResponseBodyToolsResponseSyncResult$inboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsResponseSyncResult, z.ZodTypeDef, unknown>;
|
|
688
|
-
/** @internal */
|
|
689
|
-
export type SyncMcpToolResponseBodyToolsResponseSyncResult$Outbound = {
|
|
690
|
-
toolsTotal: number;
|
|
691
|
-
toolsAdded: number;
|
|
692
|
-
toolsRemoved: number;
|
|
693
|
-
errors: Array<string>;
|
|
694
|
-
};
|
|
695
|
-
/** @internal */
|
|
696
|
-
export declare const SyncMcpToolResponseBodyToolsResponseSyncResult$outboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsResponseSyncResult$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyToolsResponseSyncResult>;
|
|
697
|
-
export declare function syncMcpToolResponseBodyToolsResponseSyncResultToJSON(syncMcpToolResponseBodyToolsResponseSyncResult: SyncMcpToolResponseBodyToolsResponseSyncResult): string;
|
|
698
|
-
export declare function syncMcpToolResponseBodyToolsResponseSyncResultFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyToolsResponseSyncResult, SDKValidationError>;
|
|
699
|
-
/** @internal */
|
|
700
|
-
export declare const SyncMcpToolResponseBody5$inboundSchema: z.ZodType<SyncMcpToolResponseBody5, z.ZodTypeDef, unknown>;
|
|
701
|
-
/** @internal */
|
|
702
|
-
export type SyncMcpToolResponseBody5$Outbound = {
|
|
703
|
-
_id: string;
|
|
704
|
-
path: string;
|
|
705
|
-
key: string;
|
|
706
|
-
display_name?: string | undefined;
|
|
707
|
-
description: string;
|
|
708
|
-
created_by_id?: string | undefined;
|
|
709
|
-
updated_by_id?: string | undefined;
|
|
710
|
-
project_id: string;
|
|
711
|
-
workspace_id: string;
|
|
712
|
-
created: string;
|
|
713
|
-
updated: string;
|
|
714
|
-
status: string;
|
|
715
|
-
version_hash?: string | undefined;
|
|
716
|
-
type: string;
|
|
717
|
-
code_tool: SyncMcpToolResponseBodyCodeTool$Outbound;
|
|
718
|
-
syncResult: SyncMcpToolResponseBodyToolsResponseSyncResult$Outbound;
|
|
719
|
-
};
|
|
720
|
-
/** @internal */
|
|
721
|
-
export declare const SyncMcpToolResponseBody5$outboundSchema: z.ZodType<SyncMcpToolResponseBody5$Outbound, z.ZodTypeDef, SyncMcpToolResponseBody5>;
|
|
722
|
-
export declare function syncMcpToolResponseBody5ToJSON(syncMcpToolResponseBody5: SyncMcpToolResponseBody5): string;
|
|
723
|
-
export declare function syncMcpToolResponseBody5FromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBody5, SDKValidationError>;
|
|
724
|
-
/** @internal */
|
|
725
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200Status$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200Status>;
|
|
726
|
-
/** @internal */
|
|
727
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200Status$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200Status>;
|
|
728
|
-
/** @internal */
|
|
729
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200Type>;
|
|
730
|
-
/** @internal */
|
|
731
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200Type>;
|
|
732
|
-
/** @internal */
|
|
733
|
-
export declare const SyncMcpToolResponseBodyHeaders$inboundSchema: z.ZodType<SyncMcpToolResponseBodyHeaders, z.ZodTypeDef, unknown>;
|
|
734
|
-
/** @internal */
|
|
735
|
-
export type SyncMcpToolResponseBodyHeaders$Outbound = {
|
|
736
|
-
value: string;
|
|
737
|
-
encrypted: boolean;
|
|
738
|
-
};
|
|
739
|
-
/** @internal */
|
|
740
|
-
export declare const SyncMcpToolResponseBodyHeaders$outboundSchema: z.ZodType<SyncMcpToolResponseBodyHeaders$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyHeaders>;
|
|
741
|
-
export declare function syncMcpToolResponseBodyHeadersToJSON(syncMcpToolResponseBodyHeaders: SyncMcpToolResponseBodyHeaders): string;
|
|
742
|
-
export declare function syncMcpToolResponseBodyHeadersFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyHeaders, SDKValidationError>;
|
|
743
|
-
/** @internal */
|
|
744
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
745
|
-
/** @internal */
|
|
746
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
747
|
-
/** @internal */
|
|
748
|
-
export declare const SyncMcpToolResponseBodyToolsSchema$inboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsSchema, z.ZodTypeDef, unknown>;
|
|
749
|
-
/** @internal */
|
|
750
|
-
export type SyncMcpToolResponseBodyToolsSchema$Outbound = {
|
|
751
|
-
type: string;
|
|
752
|
-
properties?: {
|
|
753
|
-
[k: string]: any;
|
|
754
|
-
} | undefined;
|
|
755
|
-
required?: Array<string> | undefined;
|
|
756
|
-
};
|
|
757
|
-
/** @internal */
|
|
758
|
-
export declare const SyncMcpToolResponseBodyToolsSchema$outboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsSchema$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyToolsSchema>;
|
|
759
|
-
export declare function syncMcpToolResponseBodyToolsSchemaToJSON(syncMcpToolResponseBodyToolsSchema: SyncMcpToolResponseBodyToolsSchema): string;
|
|
760
|
-
export declare function syncMcpToolResponseBodyToolsSchemaFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyToolsSchema, SDKValidationError>;
|
|
761
|
-
/** @internal */
|
|
762
|
-
export declare const SyncMcpToolResponseBodyTools$inboundSchema: z.ZodType<SyncMcpToolResponseBodyTools, z.ZodTypeDef, unknown>;
|
|
763
|
-
/** @internal */
|
|
764
|
-
export type SyncMcpToolResponseBodyTools$Outbound = {
|
|
765
|
-
id: string;
|
|
766
|
-
name: string;
|
|
767
|
-
description?: string | undefined;
|
|
768
|
-
schema: SyncMcpToolResponseBodyToolsSchema$Outbound;
|
|
769
|
-
};
|
|
770
|
-
/** @internal */
|
|
771
|
-
export declare const SyncMcpToolResponseBodyTools$outboundSchema: z.ZodType<SyncMcpToolResponseBodyTools$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyTools>;
|
|
772
|
-
export declare function syncMcpToolResponseBodyToolsToJSON(syncMcpToolResponseBodyTools: SyncMcpToolResponseBodyTools): string;
|
|
773
|
-
export declare function syncMcpToolResponseBodyToolsFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyTools, SDKValidationError>;
|
|
774
|
-
/** @internal */
|
|
775
|
-
export declare const SyncMcpToolResponseBodyConnectionType$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyConnectionType>;
|
|
776
|
-
/** @internal */
|
|
777
|
-
export declare const SyncMcpToolResponseBodyConnectionType$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyConnectionType>;
|
|
778
|
-
/** @internal */
|
|
779
|
-
export declare const SyncMcpToolResponseBodyMcp$inboundSchema: z.ZodType<SyncMcpToolResponseBodyMcp, z.ZodTypeDef, unknown>;
|
|
780
|
-
/** @internal */
|
|
781
|
-
export type SyncMcpToolResponseBodyMcp$Outbound = {
|
|
782
|
-
server_url: string;
|
|
783
|
-
headers?: {
|
|
784
|
-
[k: string]: SyncMcpToolResponseBodyHeaders$Outbound;
|
|
785
|
-
} | undefined;
|
|
786
|
-
tools: Array<SyncMcpToolResponseBodyTools$Outbound>;
|
|
787
|
-
connection_type: string;
|
|
788
|
-
};
|
|
789
|
-
/** @internal */
|
|
790
|
-
export declare const SyncMcpToolResponseBodyMcp$outboundSchema: z.ZodType<SyncMcpToolResponseBodyMcp$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyMcp>;
|
|
791
|
-
export declare function syncMcpToolResponseBodyMcpToJSON(syncMcpToolResponseBodyMcp: SyncMcpToolResponseBodyMcp): string;
|
|
792
|
-
export declare function syncMcpToolResponseBodyMcpFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyMcp, SDKValidationError>;
|
|
793
|
-
/** @internal */
|
|
794
|
-
export declare const SyncMcpToolResponseBodyToolsSyncResult$inboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsSyncResult, z.ZodTypeDef, unknown>;
|
|
795
|
-
/** @internal */
|
|
796
|
-
export type SyncMcpToolResponseBodyToolsSyncResult$Outbound = {
|
|
797
|
-
toolsTotal: number;
|
|
798
|
-
toolsAdded: number;
|
|
799
|
-
toolsRemoved: number;
|
|
800
|
-
errors: Array<string>;
|
|
801
|
-
};
|
|
802
|
-
/** @internal */
|
|
803
|
-
export declare const SyncMcpToolResponseBodyToolsSyncResult$outboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsSyncResult$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyToolsSyncResult>;
|
|
804
|
-
export declare function syncMcpToolResponseBodyToolsSyncResultToJSON(syncMcpToolResponseBodyToolsSyncResult: SyncMcpToolResponseBodyToolsSyncResult): string;
|
|
805
|
-
export declare function syncMcpToolResponseBodyToolsSyncResultFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyToolsSyncResult, SDKValidationError>;
|
|
806
|
-
/** @internal */
|
|
807
|
-
export declare const SyncMcpToolResponseBody4$inboundSchema: z.ZodType<SyncMcpToolResponseBody4, z.ZodTypeDef, unknown>;
|
|
808
|
-
/** @internal */
|
|
809
|
-
export type SyncMcpToolResponseBody4$Outbound = {
|
|
810
|
-
_id: string;
|
|
811
|
-
path: string;
|
|
812
|
-
key: string;
|
|
813
|
-
display_name?: string | undefined;
|
|
814
|
-
description: string;
|
|
815
|
-
created_by_id?: string | undefined;
|
|
816
|
-
updated_by_id?: string | undefined;
|
|
817
|
-
project_id: string;
|
|
818
|
-
workspace_id: string;
|
|
819
|
-
created: string;
|
|
820
|
-
updated: string;
|
|
821
|
-
status: string;
|
|
822
|
-
version_hash?: string | undefined;
|
|
823
|
-
type: string;
|
|
824
|
-
mcp: SyncMcpToolResponseBodyMcp$Outbound;
|
|
825
|
-
syncResult: SyncMcpToolResponseBodyToolsSyncResult$Outbound;
|
|
826
|
-
};
|
|
827
|
-
/** @internal */
|
|
828
|
-
export declare const SyncMcpToolResponseBody4$outboundSchema: z.ZodType<SyncMcpToolResponseBody4$Outbound, z.ZodTypeDef, SyncMcpToolResponseBody4>;
|
|
829
|
-
export declare function syncMcpToolResponseBody4ToJSON(syncMcpToolResponseBody4: SyncMcpToolResponseBody4): string;
|
|
830
|
-
export declare function syncMcpToolResponseBody4FromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBody4, SDKValidationError>;
|
|
831
|
-
/** @internal */
|
|
832
|
-
export declare const SyncMcpToolResponseBodyToolsResponseStatus$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponseStatus>;
|
|
833
|
-
/** @internal */
|
|
834
|
-
export declare const SyncMcpToolResponseBodyToolsResponseStatus$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponseStatus>;
|
|
835
|
-
/** @internal */
|
|
836
|
-
export declare const SyncMcpToolResponseBodyToolsResponseType$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponseType>;
|
|
837
|
-
/** @internal */
|
|
838
|
-
export declare const SyncMcpToolResponseBodyToolsResponseType$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponseType>;
|
|
839
|
-
/** @internal */
|
|
840
|
-
export declare const SyncMcpToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyMethod>;
|
|
841
|
-
/** @internal */
|
|
842
|
-
export declare const SyncMcpToolResponseBodyMethod$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyMethod>;
|
|
843
|
-
/** @internal */
|
|
844
|
-
export declare const SyncMcpToolHeaders2$inboundSchema: z.ZodType<SyncMcpToolHeaders2, z.ZodTypeDef, unknown>;
|
|
845
|
-
/** @internal */
|
|
846
|
-
export type SyncMcpToolHeaders2$Outbound = {
|
|
847
|
-
value: string;
|
|
848
|
-
encrypted: boolean;
|
|
849
|
-
};
|
|
850
|
-
/** @internal */
|
|
851
|
-
export declare const SyncMcpToolHeaders2$outboundSchema: z.ZodType<SyncMcpToolHeaders2$Outbound, z.ZodTypeDef, SyncMcpToolHeaders2>;
|
|
852
|
-
export declare function syncMcpToolHeaders2ToJSON(syncMcpToolHeaders2: SyncMcpToolHeaders2): string;
|
|
853
|
-
export declare function syncMcpToolHeaders2FromJSON(jsonString: string): SafeParseResult<SyncMcpToolHeaders2, SDKValidationError>;
|
|
854
|
-
/** @internal */
|
|
855
|
-
export declare const SyncMcpToolResponseBodyToolsHeaders$inboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsHeaders, z.ZodTypeDef, unknown>;
|
|
856
|
-
/** @internal */
|
|
857
|
-
export type SyncMcpToolResponseBodyToolsHeaders$Outbound = SyncMcpToolHeaders2$Outbound | string;
|
|
858
|
-
/** @internal */
|
|
859
|
-
export declare const SyncMcpToolResponseBodyToolsHeaders$outboundSchema: z.ZodType<SyncMcpToolResponseBodyToolsHeaders$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyToolsHeaders>;
|
|
860
|
-
export declare function syncMcpToolResponseBodyToolsHeadersToJSON(syncMcpToolResponseBodyToolsHeaders: SyncMcpToolResponseBodyToolsHeaders): string;
|
|
861
|
-
export declare function syncMcpToolResponseBodyToolsHeadersFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyToolsHeaders, SDKValidationError>;
|
|
862
|
-
/** @internal */
|
|
863
|
-
export declare const SyncMcpToolResponseBodyBlueprint$inboundSchema: z.ZodType<SyncMcpToolResponseBodyBlueprint, z.ZodTypeDef, unknown>;
|
|
864
|
-
/** @internal */
|
|
865
|
-
export type SyncMcpToolResponseBodyBlueprint$Outbound = {
|
|
866
|
-
url: string;
|
|
867
|
-
method: string;
|
|
868
|
-
headers?: {
|
|
869
|
-
[k: string]: SyncMcpToolHeaders2$Outbound | string;
|
|
870
|
-
} | undefined;
|
|
871
|
-
body?: {
|
|
872
|
-
[k: string]: any;
|
|
873
|
-
} | undefined;
|
|
874
|
-
};
|
|
875
|
-
/** @internal */
|
|
876
|
-
export declare const SyncMcpToolResponseBodyBlueprint$outboundSchema: z.ZodType<SyncMcpToolResponseBodyBlueprint$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyBlueprint>;
|
|
877
|
-
export declare function syncMcpToolResponseBodyBlueprintToJSON(syncMcpToolResponseBodyBlueprint: SyncMcpToolResponseBodyBlueprint): string;
|
|
878
|
-
export declare function syncMcpToolResponseBodyBlueprintFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyBlueprint, SDKValidationError>;
|
|
879
|
-
/** @internal */
|
|
880
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type>;
|
|
881
|
-
/** @internal */
|
|
882
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson3Type>;
|
|
883
|
-
/** @internal */
|
|
884
|
-
export declare const SyncMcpToolResponseBodyDefaultValue$inboundSchema: z.ZodType<SyncMcpToolResponseBodyDefaultValue, z.ZodTypeDef, unknown>;
|
|
885
|
-
/** @internal */
|
|
886
|
-
export type SyncMcpToolResponseBodyDefaultValue$Outbound = string | number | boolean;
|
|
887
|
-
/** @internal */
|
|
888
|
-
export declare const SyncMcpToolResponseBodyDefaultValue$outboundSchema: z.ZodType<SyncMcpToolResponseBodyDefaultValue$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyDefaultValue>;
|
|
889
|
-
export declare function syncMcpToolResponseBodyDefaultValueToJSON(syncMcpToolResponseBodyDefaultValue: SyncMcpToolResponseBodyDefaultValue): string;
|
|
890
|
-
export declare function syncMcpToolResponseBodyDefaultValueFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyDefaultValue, SDKValidationError>;
|
|
891
|
-
/** @internal */
|
|
892
|
-
export declare const SyncMcpToolResponseBodyArguments$inboundSchema: z.ZodType<SyncMcpToolResponseBodyArguments, z.ZodTypeDef, unknown>;
|
|
893
|
-
/** @internal */
|
|
894
|
-
export type SyncMcpToolResponseBodyArguments$Outbound = {
|
|
895
|
-
type: string;
|
|
896
|
-
description: string;
|
|
897
|
-
send_to_model: boolean;
|
|
898
|
-
default_value?: string | number | boolean | undefined;
|
|
899
|
-
};
|
|
900
|
-
/** @internal */
|
|
901
|
-
export declare const SyncMcpToolResponseBodyArguments$outboundSchema: z.ZodType<SyncMcpToolResponseBodyArguments$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyArguments>;
|
|
902
|
-
export declare function syncMcpToolResponseBodyArgumentsToJSON(syncMcpToolResponseBodyArguments: SyncMcpToolResponseBodyArguments): string;
|
|
903
|
-
export declare function syncMcpToolResponseBodyArgumentsFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyArguments, SDKValidationError>;
|
|
904
|
-
/** @internal */
|
|
905
|
-
export declare const SyncMcpToolResponseBodyHttp$inboundSchema: z.ZodType<SyncMcpToolResponseBodyHttp, z.ZodTypeDef, unknown>;
|
|
906
|
-
/** @internal */
|
|
907
|
-
export type SyncMcpToolResponseBodyHttp$Outbound = {
|
|
908
|
-
blueprint: SyncMcpToolResponseBodyBlueprint$Outbound;
|
|
909
|
-
arguments?: {
|
|
910
|
-
[k: string]: SyncMcpToolResponseBodyArguments$Outbound;
|
|
911
|
-
} | undefined;
|
|
912
|
-
};
|
|
913
|
-
/** @internal */
|
|
914
|
-
export declare const SyncMcpToolResponseBodyHttp$outboundSchema: z.ZodType<SyncMcpToolResponseBodyHttp$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyHttp>;
|
|
915
|
-
export declare function syncMcpToolResponseBodyHttpToJSON(syncMcpToolResponseBodyHttp: SyncMcpToolResponseBodyHttp): string;
|
|
916
|
-
export declare function syncMcpToolResponseBodyHttpFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyHttp, SDKValidationError>;
|
|
917
|
-
/** @internal */
|
|
918
|
-
export declare const SyncMcpToolResponseBodySyncResult$inboundSchema: z.ZodType<SyncMcpToolResponseBodySyncResult, z.ZodTypeDef, unknown>;
|
|
919
|
-
/** @internal */
|
|
920
|
-
export type SyncMcpToolResponseBodySyncResult$Outbound = {
|
|
921
|
-
toolsTotal: number;
|
|
922
|
-
toolsAdded: number;
|
|
923
|
-
toolsRemoved: number;
|
|
924
|
-
errors: Array<string>;
|
|
925
|
-
};
|
|
926
|
-
/** @internal */
|
|
927
|
-
export declare const SyncMcpToolResponseBodySyncResult$outboundSchema: z.ZodType<SyncMcpToolResponseBodySyncResult$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodySyncResult>;
|
|
928
|
-
export declare function syncMcpToolResponseBodySyncResultToJSON(syncMcpToolResponseBodySyncResult: SyncMcpToolResponseBodySyncResult): string;
|
|
929
|
-
export declare function syncMcpToolResponseBodySyncResultFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodySyncResult, SDKValidationError>;
|
|
930
|
-
/** @internal */
|
|
931
|
-
export declare const SyncMcpToolResponseBody3$inboundSchema: z.ZodType<SyncMcpToolResponseBody3, z.ZodTypeDef, unknown>;
|
|
932
|
-
/** @internal */
|
|
933
|
-
export type SyncMcpToolResponseBody3$Outbound = {
|
|
934
|
-
_id: string;
|
|
935
|
-
path: string;
|
|
936
|
-
key: string;
|
|
937
|
-
display_name?: string | undefined;
|
|
938
|
-
description: string;
|
|
939
|
-
created_by_id?: string | undefined;
|
|
940
|
-
updated_by_id?: string | undefined;
|
|
941
|
-
project_id: string;
|
|
942
|
-
workspace_id: string;
|
|
943
|
-
created: string;
|
|
944
|
-
updated: string;
|
|
945
|
-
status: string;
|
|
946
|
-
version_hash?: string | undefined;
|
|
947
|
-
type: string;
|
|
948
|
-
http: SyncMcpToolResponseBodyHttp$Outbound;
|
|
949
|
-
syncResult: SyncMcpToolResponseBodySyncResult$Outbound;
|
|
950
|
-
};
|
|
951
|
-
/** @internal */
|
|
952
|
-
export declare const SyncMcpToolResponseBody3$outboundSchema: z.ZodType<SyncMcpToolResponseBody3$Outbound, z.ZodTypeDef, SyncMcpToolResponseBody3>;
|
|
953
|
-
export declare function syncMcpToolResponseBody3ToJSON(syncMcpToolResponseBody3: SyncMcpToolResponseBody3): string;
|
|
954
|
-
export declare function syncMcpToolResponseBody3FromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBody3, SDKValidationError>;
|
|
955
|
-
/** @internal */
|
|
956
|
-
export declare const SyncMcpToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsStatus>;
|
|
957
|
-
/** @internal */
|
|
958
|
-
export declare const SyncMcpToolResponseBodyToolsStatus$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsStatus>;
|
|
959
|
-
/** @internal */
|
|
960
|
-
export declare const SyncMcpToolResponseBodyToolsType$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsType>;
|
|
961
|
-
/** @internal */
|
|
962
|
-
export declare const SyncMcpToolResponseBodyToolsType$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsType>;
|
|
963
|
-
/** @internal */
|
|
964
|
-
export declare const SyncMcpToolResponseBodySchema$inboundSchema: z.ZodType<SyncMcpToolResponseBodySchema, z.ZodTypeDef, unknown>;
|
|
965
|
-
/** @internal */
|
|
966
|
-
export type SyncMcpToolResponseBodySchema$Outbound = {
|
|
967
|
-
type: string;
|
|
968
|
-
properties: {
|
|
969
|
-
[k: string]: any;
|
|
970
|
-
};
|
|
971
|
-
required: Array<string>;
|
|
972
|
-
[additionalProperties: string]: unknown;
|
|
973
|
-
};
|
|
974
|
-
/** @internal */
|
|
975
|
-
export declare const SyncMcpToolResponseBodySchema$outboundSchema: z.ZodType<SyncMcpToolResponseBodySchema$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodySchema>;
|
|
976
|
-
export declare function syncMcpToolResponseBodySchemaToJSON(syncMcpToolResponseBodySchema: SyncMcpToolResponseBodySchema): string;
|
|
977
|
-
export declare function syncMcpToolResponseBodySchemaFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodySchema, SDKValidationError>;
|
|
978
|
-
/** @internal */
|
|
979
|
-
export declare const SyncMcpToolResponseBodyJsonSchema$inboundSchema: z.ZodType<SyncMcpToolResponseBodyJsonSchema, z.ZodTypeDef, unknown>;
|
|
980
|
-
/** @internal */
|
|
981
|
-
export type SyncMcpToolResponseBodyJsonSchema$Outbound = {
|
|
982
|
-
name: string;
|
|
983
|
-
description: string;
|
|
984
|
-
schema: SyncMcpToolResponseBodySchema$Outbound;
|
|
985
|
-
strict?: boolean | undefined;
|
|
986
|
-
};
|
|
987
|
-
/** @internal */
|
|
988
|
-
export declare const SyncMcpToolResponseBodyJsonSchema$outboundSchema: z.ZodType<SyncMcpToolResponseBodyJsonSchema$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyJsonSchema>;
|
|
989
|
-
export declare function syncMcpToolResponseBodyJsonSchemaToJSON(syncMcpToolResponseBodyJsonSchema: SyncMcpToolResponseBodyJsonSchema): string;
|
|
990
|
-
export declare function syncMcpToolResponseBodyJsonSchemaFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyJsonSchema, SDKValidationError>;
|
|
991
|
-
/** @internal */
|
|
992
|
-
export declare const ResponseBodySyncResult$inboundSchema: z.ZodType<ResponseBodySyncResult, z.ZodTypeDef, unknown>;
|
|
993
|
-
/** @internal */
|
|
994
|
-
export type ResponseBodySyncResult$Outbound = {
|
|
995
|
-
toolsTotal: number;
|
|
996
|
-
toolsAdded: number;
|
|
997
|
-
toolsRemoved: number;
|
|
998
|
-
errors: Array<string>;
|
|
999
|
-
};
|
|
1000
|
-
/** @internal */
|
|
1001
|
-
export declare const ResponseBodySyncResult$outboundSchema: z.ZodType<ResponseBodySyncResult$Outbound, z.ZodTypeDef, ResponseBodySyncResult>;
|
|
1002
|
-
export declare function responseBodySyncResultToJSON(responseBodySyncResult: ResponseBodySyncResult): string;
|
|
1003
|
-
export declare function responseBodySyncResultFromJSON(jsonString: string): SafeParseResult<ResponseBodySyncResult, SDKValidationError>;
|
|
1004
|
-
/** @internal */
|
|
1005
|
-
export declare const SyncMcpToolResponseBody2$inboundSchema: z.ZodType<SyncMcpToolResponseBody2, z.ZodTypeDef, unknown>;
|
|
1006
|
-
/** @internal */
|
|
1007
|
-
export type SyncMcpToolResponseBody2$Outbound = {
|
|
1008
|
-
_id: string;
|
|
1009
|
-
path: string;
|
|
1010
|
-
key: string;
|
|
1011
|
-
display_name?: string | undefined;
|
|
1012
|
-
description: string;
|
|
1013
|
-
created_by_id?: string | undefined;
|
|
1014
|
-
updated_by_id?: string | undefined;
|
|
1015
|
-
project_id: string;
|
|
1016
|
-
workspace_id: string;
|
|
1017
|
-
created: string;
|
|
1018
|
-
updated: string;
|
|
1019
|
-
status: string;
|
|
1020
|
-
version_hash?: string | undefined;
|
|
1021
|
-
type: string;
|
|
1022
|
-
json_schema: SyncMcpToolResponseBodyJsonSchema$Outbound;
|
|
1023
|
-
syncResult: ResponseBodySyncResult$Outbound;
|
|
1024
|
-
};
|
|
1025
|
-
/** @internal */
|
|
1026
|
-
export declare const SyncMcpToolResponseBody2$outboundSchema: z.ZodType<SyncMcpToolResponseBody2$Outbound, z.ZodTypeDef, SyncMcpToolResponseBody2>;
|
|
1027
|
-
export declare function syncMcpToolResponseBody2ToJSON(syncMcpToolResponseBody2: SyncMcpToolResponseBody2): string;
|
|
1028
|
-
export declare function syncMcpToolResponseBody2FromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBody2, SDKValidationError>;
|
|
1029
|
-
/** @internal */
|
|
1030
|
-
export declare const SyncMcpToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyStatus>;
|
|
1031
|
-
/** @internal */
|
|
1032
|
-
export declare const SyncMcpToolResponseBodyStatus$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyStatus>;
|
|
1033
|
-
/** @internal */
|
|
1034
|
-
export declare const SyncMcpToolResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyType>;
|
|
1035
|
-
/** @internal */
|
|
1036
|
-
export declare const SyncMcpToolResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyType>;
|
|
1037
|
-
/** @internal */
|
|
1038
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type>;
|
|
1039
|
-
/** @internal */
|
|
1040
|
-
export declare const SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type$outboundSchema: z.ZodNativeEnum<typeof SyncMcpToolResponseBodyToolsResponse200ApplicationJson1Type>;
|
|
1041
|
-
/** @internal */
|
|
1042
|
-
export declare const SyncMcpToolResponseBodyParameters$inboundSchema: z.ZodType<SyncMcpToolResponseBodyParameters, z.ZodTypeDef, unknown>;
|
|
1043
|
-
/** @internal */
|
|
1044
|
-
export type SyncMcpToolResponseBodyParameters$Outbound = {
|
|
1045
|
-
type: string;
|
|
1046
|
-
properties: {
|
|
1047
|
-
[k: string]: any;
|
|
1048
|
-
};
|
|
1049
|
-
required: Array<string>;
|
|
1050
|
-
[additionalProperties: string]: unknown;
|
|
1051
|
-
};
|
|
1052
|
-
/** @internal */
|
|
1053
|
-
export declare const SyncMcpToolResponseBodyParameters$outboundSchema: z.ZodType<SyncMcpToolResponseBodyParameters$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyParameters>;
|
|
1054
|
-
export declare function syncMcpToolResponseBodyParametersToJSON(syncMcpToolResponseBodyParameters: SyncMcpToolResponseBodyParameters): string;
|
|
1055
|
-
export declare function syncMcpToolResponseBodyParametersFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyParameters, SDKValidationError>;
|
|
1056
|
-
/** @internal */
|
|
1057
|
-
export declare const SyncMcpToolResponseBodyFunction$inboundSchema: z.ZodType<SyncMcpToolResponseBodyFunction, z.ZodTypeDef, unknown>;
|
|
1058
|
-
/** @internal */
|
|
1059
|
-
export type SyncMcpToolResponseBodyFunction$Outbound = {
|
|
1060
|
-
name: string;
|
|
1061
|
-
description?: string | undefined;
|
|
1062
|
-
strict?: boolean | undefined;
|
|
1063
|
-
parameters?: SyncMcpToolResponseBodyParameters$Outbound | undefined;
|
|
1064
|
-
};
|
|
1065
|
-
/** @internal */
|
|
1066
|
-
export declare const SyncMcpToolResponseBodyFunction$outboundSchema: z.ZodType<SyncMcpToolResponseBodyFunction$Outbound, z.ZodTypeDef, SyncMcpToolResponseBodyFunction>;
|
|
1067
|
-
export declare function syncMcpToolResponseBodyFunctionToJSON(syncMcpToolResponseBodyFunction: SyncMcpToolResponseBodyFunction): string;
|
|
1068
|
-
export declare function syncMcpToolResponseBodyFunctionFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBodyFunction, SDKValidationError>;
|
|
1069
|
-
/** @internal */
|
|
1070
|
-
export declare const SyncResult$inboundSchema: z.ZodType<SyncResult, z.ZodTypeDef, unknown>;
|
|
1071
|
-
/** @internal */
|
|
1072
|
-
export type SyncResult$Outbound = {
|
|
1073
|
-
toolsTotal: number;
|
|
1074
|
-
toolsAdded: number;
|
|
1075
|
-
toolsRemoved: number;
|
|
1076
|
-
errors: Array<string>;
|
|
1077
|
-
};
|
|
1078
|
-
/** @internal */
|
|
1079
|
-
export declare const SyncResult$outboundSchema: z.ZodType<SyncResult$Outbound, z.ZodTypeDef, SyncResult>;
|
|
1080
|
-
export declare function syncResultToJSON(syncResult: SyncResult): string;
|
|
1081
|
-
export declare function syncResultFromJSON(jsonString: string): SafeParseResult<SyncResult, SDKValidationError>;
|
|
1082
|
-
/** @internal */
|
|
1083
|
-
export declare const SyncMcpToolResponseBody1$inboundSchema: z.ZodType<SyncMcpToolResponseBody1, z.ZodTypeDef, unknown>;
|
|
1084
|
-
/** @internal */
|
|
1085
|
-
export type SyncMcpToolResponseBody1$Outbound = {
|
|
1086
|
-
_id: string;
|
|
1087
|
-
path: string;
|
|
1088
|
-
key: string;
|
|
1089
|
-
display_name?: string | undefined;
|
|
1090
|
-
description: string;
|
|
1091
|
-
created_by_id?: string | undefined;
|
|
1092
|
-
updated_by_id?: string | undefined;
|
|
1093
|
-
project_id: string;
|
|
1094
|
-
workspace_id: string;
|
|
1095
|
-
created: string;
|
|
1096
|
-
updated: string;
|
|
1097
|
-
status: string;
|
|
1098
|
-
version_hash?: string | undefined;
|
|
1099
|
-
type: string;
|
|
1100
|
-
function: SyncMcpToolResponseBodyFunction$Outbound;
|
|
1101
|
-
syncResult: SyncResult$Outbound;
|
|
1102
|
-
};
|
|
1103
|
-
/** @internal */
|
|
1104
|
-
export declare const SyncMcpToolResponseBody1$outboundSchema: z.ZodType<SyncMcpToolResponseBody1$Outbound, z.ZodTypeDef, SyncMcpToolResponseBody1>;
|
|
1105
|
-
export declare function syncMcpToolResponseBody1ToJSON(syncMcpToolResponseBody1: SyncMcpToolResponseBody1): string;
|
|
1106
|
-
export declare function syncMcpToolResponseBody1FromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBody1, SDKValidationError>;
|
|
1107
|
-
/** @internal */
|
|
1108
|
-
export declare const SyncMcpToolResponseBody$inboundSchema: z.ZodType<SyncMcpToolResponseBody, z.ZodTypeDef, unknown>;
|
|
1109
|
-
/** @internal */
|
|
1110
|
-
export type SyncMcpToolResponseBody$Outbound = SyncMcpToolResponseBody1$Outbound | SyncMcpToolResponseBody2$Outbound | SyncMcpToolResponseBody3$Outbound | SyncMcpToolResponseBody4$Outbound | SyncMcpToolResponseBody5$Outbound;
|
|
1111
|
-
/** @internal */
|
|
1112
|
-
export declare const SyncMcpToolResponseBody$outboundSchema: z.ZodType<SyncMcpToolResponseBody$Outbound, z.ZodTypeDef, SyncMcpToolResponseBody>;
|
|
1113
|
-
export declare function syncMcpToolResponseBodyToJSON(syncMcpToolResponseBody: SyncMcpToolResponseBody): string;
|
|
1114
|
-
export declare function syncMcpToolResponseBodyFromJSON(jsonString: string): SafeParseResult<SyncMcpToolResponseBody, SDKValidationError>;
|
|
1115
|
-
//# sourceMappingURL=syncmcptool.d.ts.map
|