@composio/core 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseProvider-BN2-Nktx.d.mts → BaseProvider-D7p2OPEx.d.mts} +146 -124
- package/dist/{CustomTool-zjeDpZ91.d.mts → CustomTool-Bk38kFp0.d.mts} +1 -1
- package/dist/{cancellation-BbJ-UQ__.mjs → cancellation-NVtGf3St.mjs} +69 -1
- package/dist/{composio-Bf8hnBBq.d.mts → composio-DSs-1AhC.d.mts} +256 -251
- package/dist/{customTool.types-Bhom9a2R.d.mts → customTool.types-cGHcIBX-.d.mts} +88 -88
- package/dist/experimental/index.d.mts +2 -2
- package/dist/index.d.mts +20 -8
- package/dist/index.mjs +58 -31
- package/dist/{types-CePuCfD-.d.mts → types-B4k-qoOf.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/models/Tools.ts +108 -77
- package/src/types/tool.types.ts +8 -2
- package/src/utils/jsonSchema.ts +86 -1
|
@@ -12,12 +12,12 @@ declare const ToolkitSchema: z$1.ZodObject<{
|
|
|
12
12
|
name: z$1.ZodString;
|
|
13
13
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
14
14
|
}, "strip", z$1.ZodTypeAny, {
|
|
15
|
-
slug: string;
|
|
16
15
|
name: string;
|
|
16
|
+
slug: string;
|
|
17
17
|
logo?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
slug: string;
|
|
20
19
|
name: string;
|
|
20
|
+
slug: string;
|
|
21
21
|
logo?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
type Toolkit = z$1.infer<typeof ToolkitSchema>;
|
|
@@ -84,58 +84,62 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
84
84
|
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
85
85
|
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
86
86
|
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
87
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty
|
|
87
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
88
88
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
89
89
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
90
90
|
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
91
91
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
92
92
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
93
|
-
|
|
93
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
94
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
94
95
|
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
95
96
|
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
96
97
|
}, "strip", z$1.ZodTypeAny, {
|
|
97
98
|
type: "object";
|
|
98
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
99
99
|
description?: string | undefined;
|
|
100
100
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
101
101
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
102
102
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
103
103
|
not?: JSONSchemaProperty | undefined;
|
|
104
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
104
105
|
required?: string[] | undefined;
|
|
105
106
|
title?: string | undefined;
|
|
106
107
|
default?: unknown;
|
|
107
108
|
nullable?: boolean | undefined;
|
|
108
|
-
|
|
109
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
110
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
109
111
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
110
112
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
111
113
|
}, {
|
|
112
114
|
type: "object";
|
|
113
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
114
115
|
description?: string | undefined;
|
|
115
116
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
116
117
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
117
118
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
118
119
|
not?: JSONSchemaProperty | undefined;
|
|
120
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
119
121
|
required?: string[] | undefined;
|
|
120
122
|
title?: string | undefined;
|
|
121
123
|
default?: unknown;
|
|
122
124
|
nullable?: boolean | undefined;
|
|
123
|
-
|
|
125
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
126
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
124
127
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
125
128
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
126
129
|
}>, {
|
|
127
130
|
type: "object";
|
|
128
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
129
131
|
description?: string | undefined;
|
|
130
132
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
131
133
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
132
134
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
133
135
|
not?: JSONSchemaProperty | undefined;
|
|
136
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
134
137
|
required?: string[] | undefined;
|
|
135
138
|
title?: string | undefined;
|
|
136
139
|
default?: unknown;
|
|
137
140
|
nullable?: boolean | undefined;
|
|
138
|
-
|
|
141
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
142
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
139
143
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
140
144
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
141
145
|
}, unknown>>;
|
|
@@ -145,58 +149,62 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
145
149
|
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
146
150
|
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
147
151
|
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
148
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty
|
|
152
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
149
153
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
150
154
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
151
155
|
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
152
156
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
153
157
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
154
|
-
|
|
158
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
159
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
155
160
|
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
156
161
|
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
157
162
|
}, "strip", z$1.ZodTypeAny, {
|
|
158
163
|
type: "object";
|
|
159
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
160
164
|
description?: string | undefined;
|
|
161
165
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
162
166
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
163
167
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
164
168
|
not?: JSONSchemaProperty | undefined;
|
|
169
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
165
170
|
required?: string[] | undefined;
|
|
166
171
|
title?: string | undefined;
|
|
167
172
|
default?: unknown;
|
|
168
173
|
nullable?: boolean | undefined;
|
|
169
|
-
|
|
174
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
175
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
170
176
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
171
177
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
172
178
|
}, {
|
|
173
179
|
type: "object";
|
|
174
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
175
180
|
description?: string | undefined;
|
|
176
181
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
177
182
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
178
183
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
179
184
|
not?: JSONSchemaProperty | undefined;
|
|
185
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
180
186
|
required?: string[] | undefined;
|
|
181
187
|
title?: string | undefined;
|
|
182
188
|
default?: unknown;
|
|
183
189
|
nullable?: boolean | undefined;
|
|
184
|
-
|
|
190
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
191
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
185
192
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
186
193
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
187
194
|
}>, {
|
|
188
195
|
type: "object";
|
|
189
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
190
196
|
description?: string | undefined;
|
|
191
197
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
192
198
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
193
199
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
194
200
|
not?: JSONSchemaProperty | undefined;
|
|
201
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
195
202
|
required?: string[] | undefined;
|
|
196
203
|
title?: string | undefined;
|
|
197
204
|
default?: unknown;
|
|
198
205
|
nullable?: boolean | undefined;
|
|
199
|
-
|
|
206
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
207
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
200
208
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
201
209
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
202
210
|
}, unknown>>;
|
|
@@ -206,12 +214,12 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
206
214
|
name: z$1.ZodString;
|
|
207
215
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
208
216
|
}, "strip", z$1.ZodTypeAny, {
|
|
209
|
-
slug: string;
|
|
210
217
|
name: string;
|
|
218
|
+
slug: string;
|
|
211
219
|
logo?: string | undefined;
|
|
212
220
|
}, {
|
|
213
|
-
slug: string;
|
|
214
221
|
name: string;
|
|
222
|
+
slug: string;
|
|
215
223
|
logo?: string | undefined;
|
|
216
224
|
}>>;
|
|
217
225
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -220,64 +228,66 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
220
228
|
scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
221
229
|
isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
222
230
|
}, "strip", z$1.ZodTypeAny, {
|
|
223
|
-
slug: string;
|
|
224
231
|
name: string;
|
|
232
|
+
slug: string;
|
|
233
|
+
toolkit?: {
|
|
234
|
+
name: string;
|
|
235
|
+
slug: string;
|
|
236
|
+
logo?: string | undefined;
|
|
237
|
+
} | undefined;
|
|
225
238
|
description?: string | undefined;
|
|
226
239
|
inputParameters?: {
|
|
227
240
|
type: "object";
|
|
228
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
229
241
|
description?: string | undefined;
|
|
230
242
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
231
243
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
232
244
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
233
245
|
not?: JSONSchemaProperty | undefined;
|
|
246
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
234
247
|
required?: string[] | undefined;
|
|
235
248
|
title?: string | undefined;
|
|
236
249
|
default?: unknown;
|
|
237
250
|
nullable?: boolean | undefined;
|
|
238
|
-
|
|
251
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
252
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
239
253
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
240
254
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
241
255
|
} | undefined;
|
|
242
256
|
outputParameters?: {
|
|
243
257
|
type: "object";
|
|
244
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
245
258
|
description?: string | undefined;
|
|
246
259
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
247
260
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
248
261
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
249
262
|
not?: JSONSchemaProperty | undefined;
|
|
263
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
250
264
|
required?: string[] | undefined;
|
|
251
265
|
title?: string | undefined;
|
|
252
266
|
default?: unknown;
|
|
253
267
|
nullable?: boolean | undefined;
|
|
254
|
-
|
|
268
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
269
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
255
270
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
256
271
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
257
272
|
} | undefined;
|
|
258
273
|
tags?: string[] | undefined;
|
|
259
|
-
toolkit?: {
|
|
260
|
-
slug: string;
|
|
261
|
-
name: string;
|
|
262
|
-
logo?: string | undefined;
|
|
263
|
-
} | undefined;
|
|
264
274
|
version?: string | undefined;
|
|
265
275
|
isDeprecated?: boolean | undefined;
|
|
266
276
|
availableVersions?: string[] | undefined;
|
|
267
277
|
scopes?: string[] | undefined;
|
|
268
278
|
isNoAuth?: boolean | undefined;
|
|
269
279
|
}, {
|
|
270
|
-
slug: string;
|
|
271
280
|
name: string;
|
|
272
|
-
|
|
273
|
-
inputParameters?: unknown;
|
|
274
|
-
outputParameters?: unknown;
|
|
275
|
-
tags?: string[] | undefined;
|
|
281
|
+
slug: string;
|
|
276
282
|
toolkit?: {
|
|
277
|
-
slug: string;
|
|
278
283
|
name: string;
|
|
284
|
+
slug: string;
|
|
279
285
|
logo?: string | undefined;
|
|
280
286
|
} | undefined;
|
|
287
|
+
description?: string | undefined;
|
|
288
|
+
inputParameters?: unknown;
|
|
289
|
+
outputParameters?: unknown;
|
|
290
|
+
tags?: string[] | undefined;
|
|
281
291
|
version?: string | undefined;
|
|
282
292
|
isDeprecated?: boolean | undefined;
|
|
283
293
|
availableVersions?: string[] | undefined;
|
|
@@ -299,58 +309,62 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
299
309
|
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
300
310
|
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
301
311
|
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
302
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty
|
|
312
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
303
313
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
304
314
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
305
315
|
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
306
316
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
307
317
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
308
|
-
|
|
318
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
319
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
309
320
|
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
310
321
|
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
311
322
|
}, "strip", z$1.ZodTypeAny, {
|
|
312
323
|
type: "object";
|
|
313
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
314
324
|
description?: string | undefined;
|
|
315
325
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
316
326
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
317
327
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
318
328
|
not?: JSONSchemaProperty | undefined;
|
|
329
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
319
330
|
required?: string[] | undefined;
|
|
320
331
|
title?: string | undefined;
|
|
321
332
|
default?: unknown;
|
|
322
333
|
nullable?: boolean | undefined;
|
|
323
|
-
|
|
334
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
335
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
324
336
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
325
337
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
326
338
|
}, {
|
|
327
339
|
type: "object";
|
|
328
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
329
340
|
description?: string | undefined;
|
|
330
341
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
331
342
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
332
343
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
333
344
|
not?: JSONSchemaProperty | undefined;
|
|
345
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
334
346
|
required?: string[] | undefined;
|
|
335
347
|
title?: string | undefined;
|
|
336
348
|
default?: unknown;
|
|
337
349
|
nullable?: boolean | undefined;
|
|
338
|
-
|
|
350
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
351
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
339
352
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
340
353
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
341
354
|
}>, {
|
|
342
355
|
type: "object";
|
|
343
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
344
356
|
description?: string | undefined;
|
|
345
357
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
346
358
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
347
359
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
348
360
|
not?: JSONSchemaProperty | undefined;
|
|
361
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
349
362
|
required?: string[] | undefined;
|
|
350
363
|
title?: string | undefined;
|
|
351
364
|
default?: unknown;
|
|
352
365
|
nullable?: boolean | undefined;
|
|
353
|
-
|
|
366
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
367
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
354
368
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
355
369
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
356
370
|
}, unknown>>;
|
|
@@ -360,58 +374,62 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
360
374
|
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
361
375
|
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
362
376
|
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
363
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty
|
|
377
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
364
378
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
365
379
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
366
380
|
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
367
381
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
368
382
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
369
|
-
|
|
383
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
384
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
370
385
|
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
371
386
|
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
372
387
|
}, "strip", z$1.ZodTypeAny, {
|
|
373
388
|
type: "object";
|
|
374
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
375
389
|
description?: string | undefined;
|
|
376
390
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
377
391
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
378
392
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
379
393
|
not?: JSONSchemaProperty | undefined;
|
|
394
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
380
395
|
required?: string[] | undefined;
|
|
381
396
|
title?: string | undefined;
|
|
382
397
|
default?: unknown;
|
|
383
398
|
nullable?: boolean | undefined;
|
|
384
|
-
|
|
399
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
400
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
385
401
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
386
402
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
387
403
|
}, {
|
|
388
404
|
type: "object";
|
|
389
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
390
405
|
description?: string | undefined;
|
|
391
406
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
392
407
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
393
408
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
394
409
|
not?: JSONSchemaProperty | undefined;
|
|
410
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
395
411
|
required?: string[] | undefined;
|
|
396
412
|
title?: string | undefined;
|
|
397
413
|
default?: unknown;
|
|
398
414
|
nullable?: boolean | undefined;
|
|
399
|
-
|
|
415
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
416
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
400
417
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
401
418
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
402
419
|
}>, {
|
|
403
420
|
type: "object";
|
|
404
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
405
421
|
description?: string | undefined;
|
|
406
422
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
407
423
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
408
424
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
409
425
|
not?: JSONSchemaProperty | undefined;
|
|
426
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
410
427
|
required?: string[] | undefined;
|
|
411
428
|
title?: string | undefined;
|
|
412
429
|
default?: unknown;
|
|
413
430
|
nullable?: boolean | undefined;
|
|
414
|
-
|
|
431
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
432
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
415
433
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
416
434
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
417
435
|
}, unknown>>;
|
|
@@ -421,12 +439,12 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
421
439
|
name: z$1.ZodString;
|
|
422
440
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
423
441
|
}, "strip", z$1.ZodTypeAny, {
|
|
424
|
-
slug: string;
|
|
425
442
|
name: string;
|
|
443
|
+
slug: string;
|
|
426
444
|
logo?: string | undefined;
|
|
427
445
|
}, {
|
|
428
|
-
slug: string;
|
|
429
446
|
name: string;
|
|
447
|
+
slug: string;
|
|
430
448
|
logo?: string | undefined;
|
|
431
449
|
}>>;
|
|
432
450
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -435,64 +453,66 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
435
453
|
scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
436
454
|
isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
437
455
|
}, "strip", z$1.ZodTypeAny, {
|
|
438
|
-
slug: string;
|
|
439
456
|
name: string;
|
|
457
|
+
slug: string;
|
|
458
|
+
toolkit?: {
|
|
459
|
+
name: string;
|
|
460
|
+
slug: string;
|
|
461
|
+
logo?: string | undefined;
|
|
462
|
+
} | undefined;
|
|
440
463
|
description?: string | undefined;
|
|
441
464
|
inputParameters?: {
|
|
442
465
|
type: "object";
|
|
443
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
444
466
|
description?: string | undefined;
|
|
445
467
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
446
468
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
447
469
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
448
470
|
not?: JSONSchemaProperty | undefined;
|
|
471
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
449
472
|
required?: string[] | undefined;
|
|
450
473
|
title?: string | undefined;
|
|
451
474
|
default?: unknown;
|
|
452
475
|
nullable?: boolean | undefined;
|
|
453
|
-
|
|
476
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
477
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
454
478
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
455
479
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
456
480
|
} | undefined;
|
|
457
481
|
outputParameters?: {
|
|
458
482
|
type: "object";
|
|
459
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
460
483
|
description?: string | undefined;
|
|
461
484
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
462
485
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
463
486
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
464
487
|
not?: JSONSchemaProperty | undefined;
|
|
488
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
465
489
|
required?: string[] | undefined;
|
|
466
490
|
title?: string | undefined;
|
|
467
491
|
default?: unknown;
|
|
468
492
|
nullable?: boolean | undefined;
|
|
469
|
-
|
|
493
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
494
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
470
495
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
471
496
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
472
497
|
} | undefined;
|
|
473
498
|
tags?: string[] | undefined;
|
|
474
|
-
toolkit?: {
|
|
475
|
-
slug: string;
|
|
476
|
-
name: string;
|
|
477
|
-
logo?: string | undefined;
|
|
478
|
-
} | undefined;
|
|
479
499
|
version?: string | undefined;
|
|
480
500
|
isDeprecated?: boolean | undefined;
|
|
481
501
|
availableVersions?: string[] | undefined;
|
|
482
502
|
scopes?: string[] | undefined;
|
|
483
503
|
isNoAuth?: boolean | undefined;
|
|
484
504
|
}, {
|
|
485
|
-
slug: string;
|
|
486
505
|
name: string;
|
|
487
|
-
|
|
488
|
-
inputParameters?: unknown;
|
|
489
|
-
outputParameters?: unknown;
|
|
490
|
-
tags?: string[] | undefined;
|
|
506
|
+
slug: string;
|
|
491
507
|
toolkit?: {
|
|
492
|
-
slug: string;
|
|
493
508
|
name: string;
|
|
509
|
+
slug: string;
|
|
494
510
|
logo?: string | undefined;
|
|
495
511
|
} | undefined;
|
|
512
|
+
description?: string | undefined;
|
|
513
|
+
inputParameters?: unknown;
|
|
514
|
+
outputParameters?: unknown;
|
|
515
|
+
tags?: string[] | undefined;
|
|
496
516
|
version?: string | undefined;
|
|
497
517
|
isDeprecated?: boolean | undefined;
|
|
498
518
|
availableVersions?: string[] | undefined;
|
|
@@ -503,47 +523,49 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
503
523
|
totalPages: z$1.ZodNumber;
|
|
504
524
|
}, "strip", z$1.ZodTypeAny, {
|
|
505
525
|
items: {
|
|
506
|
-
slug: string;
|
|
507
526
|
name: string;
|
|
527
|
+
slug: string;
|
|
528
|
+
toolkit?: {
|
|
529
|
+
name: string;
|
|
530
|
+
slug: string;
|
|
531
|
+
logo?: string | undefined;
|
|
532
|
+
} | undefined;
|
|
508
533
|
description?: string | undefined;
|
|
509
534
|
inputParameters?: {
|
|
510
535
|
type: "object";
|
|
511
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
512
536
|
description?: string | undefined;
|
|
513
537
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
514
538
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
515
539
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
516
540
|
not?: JSONSchemaProperty | undefined;
|
|
541
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
517
542
|
required?: string[] | undefined;
|
|
518
543
|
title?: string | undefined;
|
|
519
544
|
default?: unknown;
|
|
520
545
|
nullable?: boolean | undefined;
|
|
521
|
-
|
|
546
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
547
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
522
548
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
523
549
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
524
550
|
} | undefined;
|
|
525
551
|
outputParameters?: {
|
|
526
552
|
type: "object";
|
|
527
|
-
properties: Record<string, JSONSchemaProperty>;
|
|
528
553
|
description?: string | undefined;
|
|
529
554
|
anyOf?: JSONSchemaProperty[] | undefined;
|
|
530
555
|
oneOf?: JSONSchemaProperty[] | undefined;
|
|
531
556
|
allOf?: JSONSchemaProperty[] | undefined;
|
|
532
557
|
not?: JSONSchemaProperty | undefined;
|
|
558
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
533
559
|
required?: string[] | undefined;
|
|
534
560
|
title?: string | undefined;
|
|
535
561
|
default?: unknown;
|
|
536
562
|
nullable?: boolean | undefined;
|
|
537
|
-
|
|
563
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
564
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
538
565
|
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
539
566
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
540
567
|
} | undefined;
|
|
541
568
|
tags?: string[] | undefined;
|
|
542
|
-
toolkit?: {
|
|
543
|
-
slug: string;
|
|
544
|
-
name: string;
|
|
545
|
-
logo?: string | undefined;
|
|
546
|
-
} | undefined;
|
|
547
569
|
version?: string | undefined;
|
|
548
570
|
isDeprecated?: boolean | undefined;
|
|
549
571
|
availableVersions?: string[] | undefined;
|
|
@@ -554,17 +576,17 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
554
576
|
nextCursor?: string | null | undefined;
|
|
555
577
|
}, {
|
|
556
578
|
items: {
|
|
557
|
-
slug: string;
|
|
558
579
|
name: string;
|
|
559
|
-
|
|
560
|
-
inputParameters?: unknown;
|
|
561
|
-
outputParameters?: unknown;
|
|
562
|
-
tags?: string[] | undefined;
|
|
580
|
+
slug: string;
|
|
563
581
|
toolkit?: {
|
|
564
|
-
slug: string;
|
|
565
582
|
name: string;
|
|
583
|
+
slug: string;
|
|
566
584
|
logo?: string | undefined;
|
|
567
585
|
} | undefined;
|
|
586
|
+
description?: string | undefined;
|
|
587
|
+
inputParameters?: unknown;
|
|
588
|
+
outputParameters?: unknown;
|
|
589
|
+
tags?: string[] | undefined;
|
|
568
590
|
version?: string | undefined;
|
|
569
591
|
isDeprecated?: boolean | undefined;
|
|
570
592
|
availableVersions?: string[] | undefined;
|
|
@@ -618,22 +640,22 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
|
|
|
618
640
|
authConfigIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
619
641
|
important: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
620
642
|
}, "strip", z$1.ZodTypeAny, {
|
|
621
|
-
tags?: string[] | undefined;
|
|
622
|
-
scopes?: string[] | undefined;
|
|
623
643
|
tools?: string[] | undefined;
|
|
624
644
|
toolkits?: string[] | undefined;
|
|
645
|
+
authConfigIds?: string[] | undefined;
|
|
646
|
+
tags?: string[] | undefined;
|
|
647
|
+
scopes?: string[] | undefined;
|
|
625
648
|
limit?: number | undefined;
|
|
626
649
|
search?: string | undefined;
|
|
627
|
-
authConfigIds?: string[] | undefined;
|
|
628
650
|
important?: boolean | undefined;
|
|
629
651
|
}, {
|
|
630
|
-
tags?: string[] | undefined;
|
|
631
|
-
scopes?: string[] | undefined;
|
|
632
652
|
tools?: string[] | undefined;
|
|
633
653
|
toolkits?: string[] | undefined;
|
|
654
|
+
authConfigIds?: string[] | undefined;
|
|
655
|
+
tags?: string[] | undefined;
|
|
656
|
+
scopes?: string[] | undefined;
|
|
634
657
|
limit?: number | undefined;
|
|
635
658
|
search?: string | undefined;
|
|
636
|
-
authConfigIds?: string[] | undefined;
|
|
637
659
|
important?: boolean | undefined;
|
|
638
660
|
}>;
|
|
639
661
|
type BaseParams = {
|
|
@@ -696,26 +718,26 @@ declare const CustomAuthParamsSchema: z$1.ZodObject<{
|
|
|
696
718
|
name: z$1.ZodString;
|
|
697
719
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
698
720
|
}, "strip", z$1.ZodTypeAny, {
|
|
699
|
-
name: string;
|
|
700
721
|
value: string | number;
|
|
722
|
+
name: string;
|
|
701
723
|
in: "query" | "header";
|
|
702
724
|
}, {
|
|
703
|
-
name: string;
|
|
704
725
|
value: string | number;
|
|
726
|
+
name: string;
|
|
705
727
|
in: "query" | "header";
|
|
706
728
|
}>, "many">;
|
|
707
729
|
}, "strip", z$1.ZodTypeAny, {
|
|
708
730
|
parameters: {
|
|
709
|
-
name: string;
|
|
710
731
|
value: string | number;
|
|
732
|
+
name: string;
|
|
711
733
|
in: "query" | "header";
|
|
712
734
|
}[];
|
|
713
735
|
baseURL?: string | undefined;
|
|
714
736
|
body?: Record<string, unknown> | undefined;
|
|
715
737
|
}, {
|
|
716
738
|
parameters: {
|
|
717
|
-
name: string;
|
|
718
739
|
value: string | number;
|
|
740
|
+
name: string;
|
|
719
741
|
in: "query" | "header";
|
|
720
742
|
}[];
|
|
721
743
|
baseURL?: string | undefined;
|
|
@@ -769,26 +791,26 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
769
791
|
name: z$1.ZodString;
|
|
770
792
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
771
793
|
}, "strip", z$1.ZodTypeAny, {
|
|
772
|
-
name: string;
|
|
773
794
|
value: string | number;
|
|
795
|
+
name: string;
|
|
774
796
|
in: "query" | "header";
|
|
775
797
|
}, {
|
|
776
|
-
name: string;
|
|
777
798
|
value: string | number;
|
|
799
|
+
name: string;
|
|
778
800
|
in: "query" | "header";
|
|
779
801
|
}>, "many">;
|
|
780
802
|
}, "strip", z$1.ZodTypeAny, {
|
|
781
803
|
parameters: {
|
|
782
|
-
name: string;
|
|
783
804
|
value: string | number;
|
|
805
|
+
name: string;
|
|
784
806
|
in: "query" | "header";
|
|
785
807
|
}[];
|
|
786
808
|
baseURL?: string | undefined;
|
|
787
809
|
body?: Record<string, unknown> | undefined;
|
|
788
810
|
}, {
|
|
789
811
|
parameters: {
|
|
790
|
-
name: string;
|
|
791
812
|
value: string | number;
|
|
813
|
+
name: string;
|
|
792
814
|
in: "query" | "header";
|
|
793
815
|
}[];
|
|
794
816
|
baseURL?: string | undefined;
|
|
@@ -2777,13 +2799,14 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2777
2799
|
dangerouslySkipVersionCheck: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2778
2800
|
text: z$1.ZodOptional<z$1.ZodString>;
|
|
2779
2801
|
}, "strip", z$1.ZodTypeAny, {
|
|
2802
|
+
userId?: string | undefined;
|
|
2780
2803
|
version?: string | undefined;
|
|
2781
2804
|
allowTracing?: boolean | undefined;
|
|
2782
2805
|
connectedAccountId?: string | undefined;
|
|
2783
2806
|
customAuthParams?: {
|
|
2784
2807
|
parameters: {
|
|
2785
|
-
name: string;
|
|
2786
2808
|
value: string | number;
|
|
2809
|
+
name: string;
|
|
2787
2810
|
in: "query" | "header";
|
|
2788
2811
|
}[];
|
|
2789
2812
|
baseURL?: string | undefined;
|
|
@@ -3204,17 +3227,17 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3204
3227
|
};
|
|
3205
3228
|
} | undefined;
|
|
3206
3229
|
arguments?: Record<string, unknown> | undefined;
|
|
3207
|
-
userId?: string | undefined;
|
|
3208
3230
|
dangerouslySkipVersionCheck?: boolean | undefined;
|
|
3209
3231
|
text?: string | undefined;
|
|
3210
3232
|
}, {
|
|
3233
|
+
userId?: string | undefined;
|
|
3211
3234
|
version?: string | undefined;
|
|
3212
3235
|
allowTracing?: boolean | undefined;
|
|
3213
3236
|
connectedAccountId?: string | undefined;
|
|
3214
3237
|
customAuthParams?: {
|
|
3215
3238
|
parameters: {
|
|
3216
|
-
name: string;
|
|
3217
3239
|
value: string | number;
|
|
3240
|
+
name: string;
|
|
3218
3241
|
in: "query" | "header";
|
|
3219
3242
|
}[];
|
|
3220
3243
|
baseURL?: string | undefined;
|
|
@@ -3635,7 +3658,6 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3635
3658
|
};
|
|
3636
3659
|
} | undefined;
|
|
3637
3660
|
arguments?: Record<string, unknown> | undefined;
|
|
3638
|
-
userId?: string | undefined;
|
|
3639
3661
|
dangerouslySkipVersionCheck?: boolean | undefined;
|
|
3640
3662
|
text?: string | undefined;
|
|
3641
3663
|
}>;
|
|
@@ -3661,14 +3683,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
|
|
|
3661
3683
|
logId: z$1.ZodOptional<z$1.ZodString>;
|
|
3662
3684
|
sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3663
3685
|
}, "strip", z$1.ZodTypeAny, {
|
|
3664
|
-
data: Record<string, unknown>;
|
|
3665
3686
|
error: string | null;
|
|
3687
|
+
data: Record<string, unknown>;
|
|
3666
3688
|
successful: boolean;
|
|
3667
3689
|
logId?: string | undefined;
|
|
3668
3690
|
sessionInfo?: unknown;
|
|
3669
3691
|
}, {
|
|
3670
|
-
data: Record<string, unknown>;
|
|
3671
3692
|
error: string | null;
|
|
3693
|
+
data: Record<string, unknown>;
|
|
3672
3694
|
successful: boolean;
|
|
3673
3695
|
logId?: string | undefined;
|
|
3674
3696
|
sessionInfo?: unknown;
|
|
@@ -3683,12 +3705,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3683
3705
|
name: z$1.ZodString;
|
|
3684
3706
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
3685
3707
|
}, "strip", z$1.ZodTypeAny, {
|
|
3686
|
-
name: string;
|
|
3687
3708
|
value: string | number;
|
|
3709
|
+
name: string;
|
|
3688
3710
|
in: "query" | "header";
|
|
3689
3711
|
}, {
|
|
3690
|
-
name: string;
|
|
3691
3712
|
value: string | number;
|
|
3713
|
+
name: string;
|
|
3692
3714
|
in: "query" | "header";
|
|
3693
3715
|
}>, "many">>;
|
|
3694
3716
|
connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5677,8 +5699,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5677
5699
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
5678
5700
|
body?: unknown;
|
|
5679
5701
|
parameters?: {
|
|
5680
|
-
name: string;
|
|
5681
5702
|
value: string | number;
|
|
5703
|
+
name: string;
|
|
5682
5704
|
in: "query" | "header";
|
|
5683
5705
|
}[] | undefined;
|
|
5684
5706
|
connectedAccountId?: string | undefined;
|
|
@@ -6101,8 +6123,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
6101
6123
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
6102
6124
|
body?: unknown;
|
|
6103
6125
|
parameters?: {
|
|
6104
|
-
name: string;
|
|
6105
6126
|
value: string | number;
|
|
6127
|
+
name: string;
|
|
6106
6128
|
in: "query" | "header";
|
|
6107
6129
|
}[] | undefined;
|
|
6108
6130
|
connectedAccountId?: string | undefined;
|
|
@@ -28775,7 +28797,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
|
|
|
28775
28797
|
}>]>;
|
|
28776
28798
|
}, "strip", z$1.ZodTypeAny, {
|
|
28777
28799
|
type: "single" | "multi";
|
|
28778
|
-
status: "
|
|
28800
|
+
status: "active" | "inactive" | "error";
|
|
28779
28801
|
id: string;
|
|
28780
28802
|
createdAt: string;
|
|
28781
28803
|
updatedAt: string;
|
|
@@ -28802,7 +28824,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
|
|
|
28802
28824
|
tools: string[];
|
|
28803
28825
|
toolkits: string[];
|
|
28804
28826
|
};
|
|
28805
|
-
status?: "
|
|
28827
|
+
status?: "active" | "inactive" | "error" | undefined;
|
|
28806
28828
|
}>;
|
|
28807
28829
|
type MCPServer = z$1.infer<typeof MCPServerSchema>;
|
|
28808
28830
|
/**
|
|
@@ -28842,7 +28864,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28842
28864
|
}>]>;
|
|
28843
28865
|
}, "strip", z$1.ZodTypeAny, {
|
|
28844
28866
|
type: "single" | "multi";
|
|
28845
|
-
status: "
|
|
28867
|
+
status: "active" | "inactive" | "error";
|
|
28846
28868
|
id: string;
|
|
28847
28869
|
createdAt: string;
|
|
28848
28870
|
updatedAt: string;
|
|
@@ -28869,7 +28891,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28869
28891
|
tools: string[];
|
|
28870
28892
|
toolkits: string[];
|
|
28871
28893
|
};
|
|
28872
|
-
status?: "
|
|
28894
|
+
status?: "active" | "inactive" | "error" | undefined;
|
|
28873
28895
|
}>, "many">;
|
|
28874
28896
|
total: z$1.ZodNumber;
|
|
28875
28897
|
page: z$1.ZodNumber;
|
|
@@ -28877,7 +28899,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28877
28899
|
}, "strip", z$1.ZodTypeAny, {
|
|
28878
28900
|
items: {
|
|
28879
28901
|
type: "single" | "multi";
|
|
28880
|
-
status: "
|
|
28902
|
+
status: "active" | "inactive" | "error";
|
|
28881
28903
|
id: string;
|
|
28882
28904
|
createdAt: string;
|
|
28883
28905
|
updatedAt: string;
|
|
@@ -28909,7 +28931,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28909
28931
|
tools: string[];
|
|
28910
28932
|
toolkits: string[];
|
|
28911
28933
|
};
|
|
28912
|
-
status?: "
|
|
28934
|
+
status?: "active" | "inactive" | "error" | undefined;
|
|
28913
28935
|
}[];
|
|
28914
28936
|
total: number;
|
|
28915
28937
|
page: number;
|
|
@@ -28924,13 +28946,13 @@ declare const MCPServerUpdateParamsSchema: z$1.ZodObject<{
|
|
|
28924
28946
|
toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
28925
28947
|
allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
28926
28948
|
}, "strip", z$1.ZodTypeAny, {
|
|
28949
|
+
allowedTools?: string[] | undefined;
|
|
28927
28950
|
name?: string | undefined;
|
|
28928
28951
|
toolkits?: string[] | undefined;
|
|
28929
|
-
allowedTools?: string[] | undefined;
|
|
28930
28952
|
}, {
|
|
28953
|
+
allowedTools?: string[] | undefined;
|
|
28931
28954
|
name?: string | undefined;
|
|
28932
28955
|
toolkits?: string[] | undefined;
|
|
28933
|
-
allowedTools?: string[] | undefined;
|
|
28934
28956
|
}>;
|
|
28935
28957
|
type MCPServerUpdateParams = z$1.infer<typeof MCPServerUpdateParamsSchema>;
|
|
28936
28958
|
/**
|
|
@@ -28969,7 +28991,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
|
|
|
28969
28991
|
}>]>;
|
|
28970
28992
|
}, "strip", z$1.ZodTypeAny, {
|
|
28971
28993
|
type: "single" | "multi";
|
|
28972
|
-
status: "
|
|
28994
|
+
status: "active" | "inactive" | "error";
|
|
28973
28995
|
id: string;
|
|
28974
28996
|
createdAt: string;
|
|
28975
28997
|
updatedAt: string;
|
|
@@ -28996,7 +29018,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
|
|
|
28996
29018
|
tools: string[];
|
|
28997
29019
|
toolkits: string[];
|
|
28998
29020
|
};
|
|
28999
|
-
status?: "
|
|
29021
|
+
status?: "active" | "inactive" | "error" | undefined;
|
|
29000
29022
|
}>;
|
|
29001
29023
|
type MCPServerCreateResponse = z$1.infer<typeof MCPServerCreateResponseSchema>;
|
|
29002
29024
|
/**
|
|
@@ -29191,8 +29213,8 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29191
29213
|
windsurf: string;
|
|
29192
29214
|
}>;
|
|
29193
29215
|
}, "strip", z$1.ZodTypeAny, {
|
|
29194
|
-
name: string;
|
|
29195
29216
|
mcpUrl: string;
|
|
29217
|
+
name: string;
|
|
29196
29218
|
id: string;
|
|
29197
29219
|
commands: {
|
|
29198
29220
|
claude: string;
|
|
@@ -29202,13 +29224,13 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29202
29224
|
status?: string | undefined;
|
|
29203
29225
|
tools?: string[] | undefined;
|
|
29204
29226
|
toolkits?: string[] | undefined;
|
|
29205
|
-
authConfigIds?: string[] | undefined;
|
|
29206
29227
|
createdAt?: string | undefined;
|
|
29207
29228
|
updatedAt?: string | undefined;
|
|
29208
29229
|
managedAuthViaComposio?: boolean | undefined;
|
|
29230
|
+
authConfigIds?: string[] | undefined;
|
|
29209
29231
|
}, {
|
|
29210
|
-
name: string;
|
|
29211
29232
|
mcpUrl: string;
|
|
29233
|
+
name: string;
|
|
29212
29234
|
id: string;
|
|
29213
29235
|
commands: {
|
|
29214
29236
|
claude: string;
|
|
@@ -29218,10 +29240,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29218
29240
|
status?: string | undefined;
|
|
29219
29241
|
tools?: string[] | undefined;
|
|
29220
29242
|
toolkits?: string[] | undefined;
|
|
29221
|
-
authConfigIds?: string[] | undefined;
|
|
29222
29243
|
createdAt?: string | undefined;
|
|
29223
29244
|
updatedAt?: string | undefined;
|
|
29224
29245
|
managedAuthViaComposio?: boolean | undefined;
|
|
29246
|
+
authConfigIds?: string[] | undefined;
|
|
29225
29247
|
}>;
|
|
29226
29248
|
declare const ComposioMcpRetrieveResponseSchema: z$1.ZodObject<{
|
|
29227
29249
|
id: z$1.ZodString;
|