@stack-spot/portal-network 0.146.2 → 0.147.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/CHANGELOG.md +7 -0
- package/dist/api/agent-tools.d.ts +684 -15
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +370 -9
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/client/agent-tools.d.ts +119 -1
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +107 -2
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +30 -30
- package/dist/client/cloud-account.d.ts +5 -5
- package/dist/client/cloud-platform-horizon.d.ts +20 -20
- package/dist/client/cloud-platform.d.ts +28 -28
- package/dist/client/cloud-runtimes.d.ts +21 -21
- package/dist/client/code-shift.d.ts +37 -37
- package/dist/client/content.d.ts +6 -6
- package/dist/client/data-integration.d.ts +19 -8
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +13 -4
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discovery.d.ts +6 -6
- package/dist/client/gen-ai-inference.d.ts +9 -9
- package/dist/client/types.d.ts +9 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +15 -15
- package/dist/utils/StreamedJson.js +2 -2
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +1 -1
- package/src/api/agent-tools.ts +1169 -54
- package/src/client/agent-tools.ts +59 -2
- package/src/client/data-integration.ts +27 -19
- package/src/client/types.ts +10 -0
- package/src/utils/StreamedJson.tsx +2 -2
|
@@ -19,10 +19,6 @@ export type BuiltinToolkitResponse = {
|
|
|
19
19
|
image_url: string;
|
|
20
20
|
tools: BuiltinToolResponse[];
|
|
21
21
|
};
|
|
22
|
-
export type AssignToolsToAgentRequest = {
|
|
23
|
-
builtin_tool_ids?: string[] | null;
|
|
24
|
-
tool_ids?: string[] | null;
|
|
25
|
-
};
|
|
26
22
|
export type ValidationError = {
|
|
27
23
|
loc: (string | number)[];
|
|
28
24
|
msg: string;
|
|
@@ -31,6 +27,246 @@ export type ValidationError = {
|
|
|
31
27
|
export type HttpValidationError = {
|
|
32
28
|
detail?: ValidationError[];
|
|
33
29
|
};
|
|
30
|
+
export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace" | "favorite";
|
|
31
|
+
export type CustomToolkitSimpleResponse = {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
description?: string | null;
|
|
35
|
+
avatar?: string | null;
|
|
36
|
+
visibility_level: VisibilityLevelEnum;
|
|
37
|
+
creator_name: string | null;
|
|
38
|
+
};
|
|
39
|
+
export type ToolkitRequest = {
|
|
40
|
+
/** Toolkit name (up to 150 characters, required) */
|
|
41
|
+
name: string;
|
|
42
|
+
/** Toolkit description (up to 1024 characters, optional) */
|
|
43
|
+
description?: string | null;
|
|
44
|
+
/** Toolkit avatar (text base64, optional) */
|
|
45
|
+
avatar?: string | null;
|
|
46
|
+
/** Visibility level (default 'PERSONAL') */
|
|
47
|
+
visibility_level?: VisibilityLevelEnum;
|
|
48
|
+
};
|
|
49
|
+
export type CreatedResponse = {
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
export type CustomToolkitToolResponse = {
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
description: string;
|
|
56
|
+
method: string;
|
|
57
|
+
url: string;
|
|
58
|
+
parameters?: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
}[] | null;
|
|
61
|
+
request_body?: {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
} | null;
|
|
64
|
+
response_transformation?: string | null;
|
|
65
|
+
creator_name?: string | null;
|
|
66
|
+
};
|
|
67
|
+
export type CustomToolkitResponse = {
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
description?: string | null;
|
|
71
|
+
avatar?: string | null;
|
|
72
|
+
visibility_level: VisibilityLevelEnum;
|
|
73
|
+
creator_name: string | null;
|
|
74
|
+
tools: CustomToolkitToolResponse[];
|
|
75
|
+
secret_id?: string | null;
|
|
76
|
+
is_usable_by_others: boolean;
|
|
77
|
+
};
|
|
78
|
+
export type ToolkitUpdateRequest = {
|
|
79
|
+
/** Toolkit name (up to 150 characters, optional) */
|
|
80
|
+
name?: string | null;
|
|
81
|
+
/** Toolkit description (up to 1024 characters, optional) */
|
|
82
|
+
description?: string | null;
|
|
83
|
+
/** Toolkit avatar (text base64, optional) */
|
|
84
|
+
avatar?: string | null;
|
|
85
|
+
/** Visibility level (optional) */
|
|
86
|
+
visibility_level?: VisibilityLevelEnum | null;
|
|
87
|
+
/** IAM secret ID (optional) */
|
|
88
|
+
secret_id?: string | null;
|
|
89
|
+
};
|
|
90
|
+
export type HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
91
|
+
export type Reference = {
|
|
92
|
+
$ref: string;
|
|
93
|
+
summary?: string | null;
|
|
94
|
+
description?: string | null;
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
};
|
|
97
|
+
export type DataType = "null" | "string" | "number" | "integer" | "boolean" | "array" | "object";
|
|
98
|
+
export type Discriminator = {
|
|
99
|
+
propertyName: string;
|
|
100
|
+
mapping?: {
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
} | null;
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
};
|
|
105
|
+
export type Xml = {
|
|
106
|
+
name?: string | null;
|
|
107
|
+
"namespace"?: string | null;
|
|
108
|
+
prefix?: string | null;
|
|
109
|
+
attribute?: boolean;
|
|
110
|
+
wrapped?: boolean;
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
};
|
|
113
|
+
export type ExternalDocumentation = {
|
|
114
|
+
description?: string | null;
|
|
115
|
+
url: string;
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
};
|
|
118
|
+
export type Schema = {
|
|
119
|
+
allOf?: (Reference | Schema)[] | null;
|
|
120
|
+
anyOf?: (Reference | Schema)[] | null;
|
|
121
|
+
oneOf?: (Reference | Schema)[] | null;
|
|
122
|
+
not?: Reference | Schema | null;
|
|
123
|
+
"if"?: Reference | Schema | null;
|
|
124
|
+
then?: Reference | Schema | null;
|
|
125
|
+
"else"?: Reference | Schema | null;
|
|
126
|
+
dependentSchemas?: {
|
|
127
|
+
[key: string]: Reference | Schema;
|
|
128
|
+
} | null;
|
|
129
|
+
prefixItems?: (Reference | Schema)[] | null;
|
|
130
|
+
items?: Reference | Schema | null;
|
|
131
|
+
contains?: Reference | Schema | null;
|
|
132
|
+
properties?: {
|
|
133
|
+
[key: string]: Reference | Schema;
|
|
134
|
+
} | null;
|
|
135
|
+
patternProperties?: {
|
|
136
|
+
[key: string]: Reference | Schema;
|
|
137
|
+
} | null;
|
|
138
|
+
additionalProperties?: Reference | Schema | boolean | null;
|
|
139
|
+
propertyNames?: Reference | Schema | null;
|
|
140
|
+
unevaluatedItems?: Reference | Schema | null;
|
|
141
|
+
unevaluatedProperties?: Reference | Schema | null;
|
|
142
|
+
"type"?: DataType | DataType[] | null;
|
|
143
|
+
"enum"?: any[] | null;
|
|
144
|
+
"const"?: any | null;
|
|
145
|
+
multipleOf?: number | null;
|
|
146
|
+
maximum?: number | null;
|
|
147
|
+
exclusiveMaximum?: number | null;
|
|
148
|
+
minimum?: number | null;
|
|
149
|
+
exclusiveMinimum?: number | null;
|
|
150
|
+
maxLength?: number | null;
|
|
151
|
+
minLength?: number | null;
|
|
152
|
+
pattern?: string | null;
|
|
153
|
+
maxItems?: number | null;
|
|
154
|
+
minItems?: number | null;
|
|
155
|
+
uniqueItems?: boolean | null;
|
|
156
|
+
maxContains?: number | null;
|
|
157
|
+
minContains?: number | null;
|
|
158
|
+
maxProperties?: number | null;
|
|
159
|
+
minProperties?: number | null;
|
|
160
|
+
required?: string[] | null;
|
|
161
|
+
dependentRequired?: {
|
|
162
|
+
[key: string]: string[];
|
|
163
|
+
} | null;
|
|
164
|
+
format?: string | null;
|
|
165
|
+
contentEncoding?: string | null;
|
|
166
|
+
contentMediaType?: string | null;
|
|
167
|
+
contentSchema?: Reference | Schema | null;
|
|
168
|
+
title?: string | null;
|
|
169
|
+
description?: string | null;
|
|
170
|
+
"default"?: any | null;
|
|
171
|
+
deprecated?: boolean | null;
|
|
172
|
+
readOnly?: boolean | null;
|
|
173
|
+
writeOnly?: boolean | null;
|
|
174
|
+
discriminator?: Discriminator | null;
|
|
175
|
+
xml?: Xml | null;
|
|
176
|
+
externalDocs?: ExternalDocumentation | null;
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
};
|
|
179
|
+
export type Header = {
|
|
180
|
+
description?: string | null;
|
|
181
|
+
required?: boolean;
|
|
182
|
+
deprecated?: boolean;
|
|
183
|
+
style?: string | null;
|
|
184
|
+
explode?: boolean | null;
|
|
185
|
+
schema?: Reference | Schema | null;
|
|
186
|
+
content?: {
|
|
187
|
+
[key: string]: MediaType;
|
|
188
|
+
} | null;
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
};
|
|
191
|
+
export type Encoding = {
|
|
192
|
+
contentType?: string | null;
|
|
193
|
+
headers?: {
|
|
194
|
+
[key: string]: Header | Reference;
|
|
195
|
+
} | null;
|
|
196
|
+
style?: string | null;
|
|
197
|
+
explode?: boolean | null;
|
|
198
|
+
allowReserved?: boolean;
|
|
199
|
+
[key: string]: any;
|
|
200
|
+
};
|
|
201
|
+
export type MediaType = {
|
|
202
|
+
schema?: Reference | Schema | null;
|
|
203
|
+
encoding?: {
|
|
204
|
+
[key: string]: Encoding;
|
|
205
|
+
} | null;
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
};
|
|
208
|
+
export type ParameterLocation = "query" | "header" | "path" | "cookie";
|
|
209
|
+
export type Parameter = {
|
|
210
|
+
description?: string | null;
|
|
211
|
+
required?: boolean;
|
|
212
|
+
deprecated?: boolean;
|
|
213
|
+
style?: string | null;
|
|
214
|
+
explode?: boolean | null;
|
|
215
|
+
schema?: Reference | Schema | null;
|
|
216
|
+
content?: {
|
|
217
|
+
[key: string]: MediaType;
|
|
218
|
+
} | null;
|
|
219
|
+
name: string;
|
|
220
|
+
"in": ParameterLocation;
|
|
221
|
+
allowEmptyValue?: boolean;
|
|
222
|
+
allowReserved?: boolean;
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
};
|
|
225
|
+
export type RequestBody = {
|
|
226
|
+
description?: string | null;
|
|
227
|
+
content: {
|
|
228
|
+
[key: string]: MediaType;
|
|
229
|
+
};
|
|
230
|
+
required?: boolean;
|
|
231
|
+
[key: string]: any;
|
|
232
|
+
};
|
|
233
|
+
export type CustomToolRequest = {
|
|
234
|
+
/** Tool name (up to 256 characters, required) */
|
|
235
|
+
name: string;
|
|
236
|
+
/** Tool description (required) */
|
|
237
|
+
description: string;
|
|
238
|
+
/** HTTP method (required) */
|
|
239
|
+
method: HttpMethod;
|
|
240
|
+
/** Endpoint URL (required, must use https schema) */
|
|
241
|
+
url: string;
|
|
242
|
+
/** Dict of parameters (optional) */
|
|
243
|
+
parameters?: Parameter[] | null;
|
|
244
|
+
/** Dict of request body (optional) */
|
|
245
|
+
request_body?: RequestBody | null;
|
|
246
|
+
/** Response transformation (optional) */
|
|
247
|
+
response_transformation?: string | null;
|
|
248
|
+
};
|
|
249
|
+
export type CustomToolsRequest = {
|
|
250
|
+
custom_tools: CustomToolRequest[];
|
|
251
|
+
/** IAM secret ID. You should use your own secret or an account secret. */
|
|
252
|
+
secret_id?: string | null;
|
|
253
|
+
};
|
|
254
|
+
export type DeleteToolsRequest = {
|
|
255
|
+
/** List of tool IDs to be deleted from the toolkit */
|
|
256
|
+
tool_ids: string[];
|
|
257
|
+
};
|
|
258
|
+
export type AssignCustomToolsAgentRequest = {
|
|
259
|
+
toolkit_id: string;
|
|
260
|
+
tools_ids: string[];
|
|
261
|
+
};
|
|
262
|
+
export type AssignToolsToAgentRequest = {
|
|
263
|
+
builtin_tool_ids?: string[] | null;
|
|
264
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
265
|
+
};
|
|
266
|
+
export type AgentToolsResponse = {
|
|
267
|
+
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
268
|
+
custom_toolkits?: CustomToolkitResponse[];
|
|
269
|
+
};
|
|
34
270
|
export type SchemaEnum = "OPENAI";
|
|
35
271
|
export type FunctionParameter = {
|
|
36
272
|
/** The type of the parameter */
|
|
@@ -40,7 +276,9 @@ export type FunctionParameter = {
|
|
|
40
276
|
/** A list of possible values for the parameter (optional) */
|
|
41
277
|
"enum"?: string[] | null;
|
|
42
278
|
/** A dictionary of properties for the parameter (optional) */
|
|
43
|
-
properties?:
|
|
279
|
+
properties?: {
|
|
280
|
+
[key: string]: any;
|
|
281
|
+
} | null;
|
|
44
282
|
/** A list of required parameters (optional) */
|
|
45
283
|
required?: string[] | null;
|
|
46
284
|
/** Allow arbitrary data of specific typed */
|
|
@@ -64,68 +302,499 @@ export type OpenAiTool = {
|
|
|
64
302
|
};
|
|
65
303
|
export type ExecuteAgentToolRequest = {
|
|
66
304
|
arguments: string;
|
|
305
|
+
upload_ids?: string[] | null;
|
|
67
306
|
};
|
|
68
307
|
export type AgentToolExecutionResponse = {
|
|
69
308
|
result: string;
|
|
70
309
|
};
|
|
310
|
+
export type AgentVisibilityLevelEnum = "built_in";
|
|
311
|
+
export type KnowledgeSourcesConfig = {
|
|
312
|
+
knowledge_sources: string[];
|
|
313
|
+
max_number_of_kos?: number;
|
|
314
|
+
relevancy_threshold?: number;
|
|
315
|
+
similarity_function?: string;
|
|
316
|
+
post_processing?: boolean;
|
|
317
|
+
};
|
|
318
|
+
export type ListAgentResponse = {
|
|
319
|
+
id: string;
|
|
320
|
+
name: string;
|
|
321
|
+
slug: string;
|
|
322
|
+
created_by: string | null;
|
|
323
|
+
created_at: string | null;
|
|
324
|
+
visibility_level: string;
|
|
325
|
+
avatar: string | null;
|
|
326
|
+
conversation_starter: string[] | null;
|
|
327
|
+
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
328
|
+
"type"?: string;
|
|
329
|
+
system_prompt?: string;
|
|
330
|
+
creator_name?: string;
|
|
331
|
+
};
|
|
332
|
+
export type AgentType = "CONVERSATIONAL" | "SINGLE_ANSWER";
|
|
333
|
+
export type SimilarityFunctionEnum = "cosine" | "euclidean" | "dot_product";
|
|
334
|
+
export type KnowledgeSourcesConfigRequest = {
|
|
335
|
+
similarity_function?: SimilarityFunctionEnum | null;
|
|
336
|
+
post_processing?: boolean | null;
|
|
337
|
+
max_number_of_kos?: number | null;
|
|
338
|
+
relevancy_threshold?: number | null;
|
|
339
|
+
knowledge_sources?: string[] | null;
|
|
340
|
+
sealed?: boolean | null;
|
|
341
|
+
};
|
|
342
|
+
export type NewAgentRequest = {
|
|
343
|
+
/** LLM model name */
|
|
344
|
+
model_name?: string | null;
|
|
345
|
+
/** LLM model id */
|
|
346
|
+
model_id?: string | null;
|
|
347
|
+
/** Agent name */
|
|
348
|
+
name: string;
|
|
349
|
+
/** Agent unique slug */
|
|
350
|
+
slug: string;
|
|
351
|
+
/** Agent description */
|
|
352
|
+
description?: string | null;
|
|
353
|
+
/** Agent avatar image */
|
|
354
|
+
avatar?: string | null;
|
|
355
|
+
/** Agent suggested prompt */
|
|
356
|
+
suggested_prompts?: string[];
|
|
357
|
+
/** System prompt */
|
|
358
|
+
system_prompt?: string | null;
|
|
359
|
+
/** Agent type */
|
|
360
|
+
"type": AgentType;
|
|
361
|
+
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
362
|
+
builtin_tools_ids?: string[];
|
|
363
|
+
/** Custom tools to assign to the agent */
|
|
364
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
365
|
+
detail_mode?: boolean;
|
|
366
|
+
structured_output?: string | null;
|
|
367
|
+
llm_settings?: {
|
|
368
|
+
[key: string]: any;
|
|
369
|
+
} | null;
|
|
370
|
+
};
|
|
371
|
+
export type SearchAgentsRequest = {
|
|
372
|
+
/** Agent ids to filter for */
|
|
373
|
+
ids: string[];
|
|
374
|
+
};
|
|
375
|
+
export type KnowledgeSourceConfigModel = {
|
|
376
|
+
similarity_function: SimilarityFunctionEnum;
|
|
377
|
+
max_number_of_kos: number;
|
|
378
|
+
relevancy_threshold: number;
|
|
379
|
+
post_processing: boolean;
|
|
380
|
+
knowledge_sources: string[];
|
|
381
|
+
sealed: boolean;
|
|
382
|
+
created_by?: string | null;
|
|
383
|
+
created_at?: string | null;
|
|
384
|
+
updated_by?: string | null;
|
|
385
|
+
updated_at?: string | null;
|
|
386
|
+
};
|
|
387
|
+
export type BuiltinToolDto = {
|
|
388
|
+
id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
description: string;
|
|
391
|
+
toolkit_id: string;
|
|
392
|
+
};
|
|
393
|
+
export type BuiltinToolkitDto = {
|
|
394
|
+
id: string;
|
|
395
|
+
name: string;
|
|
396
|
+
description: string;
|
|
397
|
+
image_url: string;
|
|
398
|
+
tools: BuiltinToolDto[];
|
|
399
|
+
};
|
|
400
|
+
export type CustomToolkitToolDto = {
|
|
401
|
+
id: string;
|
|
402
|
+
name: string;
|
|
403
|
+
description: string;
|
|
404
|
+
method: string;
|
|
405
|
+
url: string;
|
|
406
|
+
parameters?: {
|
|
407
|
+
[key: string]: any;
|
|
408
|
+
}[] | null;
|
|
409
|
+
request_body?: {
|
|
410
|
+
[key: string]: any;
|
|
411
|
+
} | null;
|
|
412
|
+
response_transformation?: string | null;
|
|
413
|
+
creator_name?: string | null;
|
|
414
|
+
};
|
|
415
|
+
export type CustomToolkitDto = {
|
|
416
|
+
id: string;
|
|
417
|
+
name: string;
|
|
418
|
+
description: string | null;
|
|
419
|
+
avatar: string | null;
|
|
420
|
+
tools: CustomToolkitToolDto[];
|
|
421
|
+
secret_id: string;
|
|
422
|
+
visibility_level: VisibilityLevelEnum;
|
|
423
|
+
creator_name: string;
|
|
424
|
+
is_usable_by_others: boolean;
|
|
425
|
+
};
|
|
426
|
+
export type AgentToolsDto = {
|
|
427
|
+
builtin_toolkits?: BuiltinToolkitDto[];
|
|
428
|
+
custom_toolkits?: CustomToolkitDto[];
|
|
429
|
+
};
|
|
430
|
+
export type LlmSettingsModel = {
|
|
431
|
+
property_key?: string | null;
|
|
432
|
+
property_value?: string | null;
|
|
433
|
+
property_type?: string | null;
|
|
434
|
+
agent_id: string;
|
|
435
|
+
created_by?: string | null;
|
|
436
|
+
created_at?: string | null;
|
|
437
|
+
updated_by?: string | null;
|
|
438
|
+
updated_at?: string | null;
|
|
439
|
+
};
|
|
440
|
+
export type AgentModel = {
|
|
441
|
+
id: string;
|
|
442
|
+
name: string;
|
|
443
|
+
slug: string;
|
|
444
|
+
description?: string | null;
|
|
445
|
+
system_prompt: string;
|
|
446
|
+
visibility_level: string;
|
|
447
|
+
avatar?: string | null;
|
|
448
|
+
"type": string;
|
|
449
|
+
conversation_starter?: string[] | null;
|
|
450
|
+
use_only: boolean;
|
|
451
|
+
detail_mode: boolean;
|
|
452
|
+
structured_output?: string | null;
|
|
453
|
+
model_id?: string | null;
|
|
454
|
+
model_name?: string | null;
|
|
455
|
+
knowledge_source_config?: KnowledgeSourceConfigModel | null;
|
|
456
|
+
toolkits?: AgentToolsDto | null;
|
|
457
|
+
settings?: LlmSettingsModel[];
|
|
458
|
+
created_by?: string | null;
|
|
459
|
+
created_at?: string | null;
|
|
460
|
+
updated_by?: string | null;
|
|
461
|
+
updated_at?: string | null;
|
|
462
|
+
};
|
|
463
|
+
export type InternalListToolkitsRequest = {
|
|
464
|
+
/** List of toolkit IDs to retrieve */
|
|
465
|
+
toolkit_ids: string[];
|
|
466
|
+
};
|
|
467
|
+
export type InternalDeleteToolkitsRequest = {
|
|
468
|
+
/** List of toolkit IDs to delete */
|
|
469
|
+
toolkit_ids: string[];
|
|
470
|
+
};
|
|
471
|
+
export type InternalToolkitForkRequest = {
|
|
472
|
+
/** List of toolkit IDs to fork */
|
|
473
|
+
toolkit_ids: string[];
|
|
474
|
+
};
|
|
475
|
+
export type ToolkitForkResponse = {
|
|
476
|
+
/** List of successfully forked toolkits */
|
|
477
|
+
forked_toolkits: CustomToolkitSimpleResponse[];
|
|
478
|
+
/** List of toolkit IDs that were already account-level and not forked */
|
|
479
|
+
toolkit_ids_account: string[];
|
|
480
|
+
/** List of toolkit IDs that failed to fork */
|
|
481
|
+
error_ids: string[];
|
|
482
|
+
};
|
|
71
483
|
/**
|
|
72
484
|
* Health Check
|
|
73
485
|
*/
|
|
74
486
|
export declare function healthCheckHealthzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
75
487
|
/**
|
|
76
|
-
*
|
|
488
|
+
* Readyz
|
|
77
489
|
*/
|
|
78
|
-
export declare function
|
|
490
|
+
export declare function readyzReadyzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
79
491
|
/**
|
|
80
492
|
* Get Public Tool Kits
|
|
81
493
|
*/
|
|
82
|
-
export declare function getPublicToolKitsV1BuiltinToolkitGet(
|
|
494
|
+
export declare function getPublicToolKitsV1BuiltinToolkitGet({ xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
495
|
+
xAccountId?: string | null;
|
|
496
|
+
xUsername?: string | null;
|
|
497
|
+
xUserId?: string | null;
|
|
498
|
+
xUserFullName?: string | null;
|
|
499
|
+
authorization: string;
|
|
500
|
+
}, opts?: Oazapfts.RequestOpts): Promise<BuiltinToolkitResponse[]>;
|
|
501
|
+
/**
|
|
502
|
+
* List Toolkits
|
|
503
|
+
*/
|
|
504
|
+
export declare function listToolkitsV1ToolkitsGet({ visibility, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
505
|
+
visibility?: VisibilityLevelEnum;
|
|
506
|
+
xAccountId?: string | null;
|
|
507
|
+
xUsername?: string | null;
|
|
508
|
+
xUserId?: string | null;
|
|
509
|
+
xUserFullName?: string | null;
|
|
510
|
+
authorization: string;
|
|
511
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CustomToolkitSimpleResponse[]>;
|
|
512
|
+
/**
|
|
513
|
+
* Create Toolkit
|
|
514
|
+
*/
|
|
515
|
+
export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitRequest }: {
|
|
516
|
+
xAccountId?: string | null;
|
|
517
|
+
xUsername?: string | null;
|
|
518
|
+
xUserId?: string | null;
|
|
519
|
+
xUserFullName?: string | null;
|
|
520
|
+
authorization: string;
|
|
521
|
+
toolkitRequest: ToolkitRequest;
|
|
522
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
523
|
+
/**
|
|
524
|
+
* Get Toolkit
|
|
525
|
+
*/
|
|
526
|
+
export declare function getToolkitV1ToolkitsToolkitIdGet({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
527
|
+
toolkitId: string;
|
|
528
|
+
xAccountId?: string | null;
|
|
529
|
+
xUsername?: string | null;
|
|
530
|
+
xUserId?: string | null;
|
|
531
|
+
xUserFullName?: string | null;
|
|
532
|
+
authorization: string;
|
|
533
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CustomToolkitResponse>;
|
|
534
|
+
/**
|
|
535
|
+
* Update Toolkit
|
|
536
|
+
*/
|
|
537
|
+
export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitUpdateRequest }: {
|
|
538
|
+
toolkitId: string;
|
|
539
|
+
xAccountId?: string | null;
|
|
540
|
+
xUsername?: string | null;
|
|
541
|
+
xUserId?: string | null;
|
|
542
|
+
xUserFullName?: string | null;
|
|
543
|
+
authorization: string;
|
|
544
|
+
toolkitUpdateRequest: ToolkitUpdateRequest;
|
|
545
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
546
|
+
/**
|
|
547
|
+
* Delete Toolkit
|
|
548
|
+
*/
|
|
549
|
+
export declare function deleteToolkitV1ToolkitsToolkitIdDelete({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
550
|
+
toolkitId: string;
|
|
551
|
+
xAccountId?: string | null;
|
|
552
|
+
xUsername?: string | null;
|
|
553
|
+
xUserId?: string | null;
|
|
554
|
+
xUserFullName?: string | null;
|
|
555
|
+
authorization: string;
|
|
556
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
557
|
+
/**
|
|
558
|
+
* Fork Toolkit
|
|
559
|
+
*/
|
|
560
|
+
export declare function forkToolkitV1ToolkitsToolkitIdForkPost({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
561
|
+
toolkitId: string;
|
|
562
|
+
xAccountId?: string | null;
|
|
563
|
+
xUsername?: string | null;
|
|
564
|
+
xUserId?: string | null;
|
|
565
|
+
xUserFullName?: string | null;
|
|
566
|
+
authorization: string;
|
|
567
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CustomToolkitResponse>;
|
|
568
|
+
/**
|
|
569
|
+
* Get Toolkit Tool
|
|
570
|
+
*/
|
|
571
|
+
export declare function getToolkitToolV1ToolkitsToolkitIdToolsToolIdGet({ toolkitId, toolId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
572
|
+
toolkitId: string;
|
|
573
|
+
toolId: string;
|
|
574
|
+
xAccountId?: string | null;
|
|
575
|
+
xUsername?: string | null;
|
|
576
|
+
xUserId?: string | null;
|
|
577
|
+
xUserFullName?: string | null;
|
|
578
|
+
authorization: string;
|
|
579
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CustomToolkitToolResponse>;
|
|
580
|
+
/**
|
|
581
|
+
* Edit Toolkit Tool
|
|
582
|
+
*/
|
|
583
|
+
export declare function editToolkitToolV1ToolkitsToolkitIdToolsToolIdPut({ toolkitId, toolId, xAccountId, xUsername, xUserId, xUserFullName, authorization, customToolRequest }: {
|
|
584
|
+
toolkitId: string;
|
|
585
|
+
toolId: string;
|
|
586
|
+
xAccountId?: string | null;
|
|
587
|
+
xUsername?: string | null;
|
|
588
|
+
xUserId?: string | null;
|
|
589
|
+
xUserFullName?: string | null;
|
|
590
|
+
authorization: string;
|
|
591
|
+
customToolRequest: CustomToolRequest;
|
|
592
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
593
|
+
/**
|
|
594
|
+
* Create Toolkit Tools
|
|
595
|
+
*/
|
|
596
|
+
export declare function createToolkitToolsV1ToolkitsToolkitIdToolsPost({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, customToolsRequest }: {
|
|
597
|
+
toolkitId: string;
|
|
598
|
+
xAccountId?: string | null;
|
|
599
|
+
xUsername?: string | null;
|
|
600
|
+
xUserId?: string | null;
|
|
601
|
+
xUserFullName?: string | null;
|
|
602
|
+
authorization: string;
|
|
603
|
+
customToolsRequest: CustomToolsRequest;
|
|
604
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
605
|
+
/**
|
|
606
|
+
* Delete Toolkit Tools
|
|
607
|
+
*/
|
|
608
|
+
export declare function deleteToolkitToolsV1ToolkitsToolkitIdToolsDelete({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, deleteToolsRequest }: {
|
|
609
|
+
toolkitId: string;
|
|
610
|
+
xAccountId?: string | null;
|
|
611
|
+
xUsername?: string | null;
|
|
612
|
+
xUserId?: string | null;
|
|
613
|
+
xUserFullName?: string | null;
|
|
614
|
+
authorization: string;
|
|
615
|
+
deleteToolsRequest: DeleteToolsRequest;
|
|
616
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
617
|
+
/**
|
|
618
|
+
* Split Uploaded File Preview
|
|
619
|
+
*/
|
|
620
|
+
export declare function splitUploadedFilePreviewV1ToolkitsToolsPreviewFileUploadIdGet({ fileUploadId, authorization, xAccountId, xUsername, xUserId, xUserFullName, authorizationHeader }: {
|
|
621
|
+
fileUploadId: string;
|
|
622
|
+
authorization: string;
|
|
623
|
+
xAccountId?: string | null;
|
|
624
|
+
xUsername?: string | null;
|
|
625
|
+
xUserId?: string | null;
|
|
626
|
+
xUserFullName?: string | null;
|
|
627
|
+
authorizationHeader: string;
|
|
628
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
83
629
|
/**
|
|
84
630
|
* Assign Tools
|
|
85
631
|
*/
|
|
86
|
-
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, authorization, assignToolsToAgentRequest }: {
|
|
632
|
+
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
|
|
87
633
|
agentId: string;
|
|
88
634
|
isPublic?: boolean;
|
|
89
635
|
xAccountId?: string | null;
|
|
636
|
+
xUsername?: string | null;
|
|
637
|
+
xUserId?: string | null;
|
|
638
|
+
xUserFullName?: string | null;
|
|
90
639
|
authorization: string;
|
|
91
640
|
assignToolsToAgentRequest: AssignToolsToAgentRequest;
|
|
92
641
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
93
642
|
/**
|
|
94
643
|
* List Tools
|
|
95
644
|
*/
|
|
96
|
-
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, authorization }: {
|
|
645
|
+
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
97
646
|
agentId: string;
|
|
98
647
|
isPublic?: boolean;
|
|
99
648
|
xAccountId?: string | null;
|
|
649
|
+
xUsername?: string | null;
|
|
650
|
+
xUserId?: string | null;
|
|
651
|
+
xUserFullName?: string | null;
|
|
100
652
|
authorization: string;
|
|
101
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
653
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolsResponse>;
|
|
102
654
|
/**
|
|
103
655
|
* Delete Tools
|
|
104
656
|
*/
|
|
105
|
-
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, authorization }: {
|
|
657
|
+
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
106
658
|
agentId: string;
|
|
107
659
|
isPublic?: boolean;
|
|
108
660
|
xAccountId?: string | null;
|
|
661
|
+
xUsername?: string | null;
|
|
662
|
+
xUserId?: string | null;
|
|
663
|
+
xUserFullName?: string | null;
|
|
109
664
|
authorization: string;
|
|
110
665
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
111
666
|
/**
|
|
112
667
|
* List Tools By Agent For Schema
|
|
113
668
|
*/
|
|
114
|
-
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, authorization }: {
|
|
669
|
+
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
115
670
|
agentId: string;
|
|
116
671
|
schema: SchemaEnum;
|
|
117
672
|
isPublic?: boolean;
|
|
118
673
|
xAccountId?: string | null;
|
|
674
|
+
xUsername?: string | null;
|
|
675
|
+
xUserId?: string | null;
|
|
676
|
+
xUserFullName?: string | null;
|
|
119
677
|
authorization: string;
|
|
120
|
-
}, opts?: Oazapfts.RequestOpts): Promise<(
|
|
678
|
+
}, opts?: Oazapfts.RequestOpts): Promise<(OpenAiTool | {
|
|
679
|
+
[key: string]: any;
|
|
680
|
+
})[]>;
|
|
121
681
|
/**
|
|
122
682
|
* Execute Tool
|
|
123
683
|
*/
|
|
124
|
-
export declare function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, isPublic, xAccountId, authorization, executeAgentToolRequest }: {
|
|
684
|
+
export declare function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, executeAgentToolRequest }: {
|
|
125
685
|
agentToolId: string;
|
|
126
686
|
isPublic?: boolean;
|
|
127
687
|
xAccountId?: string | null;
|
|
688
|
+
xUsername?: string | null;
|
|
689
|
+
xUserId?: string | null;
|
|
690
|
+
xUserFullName?: string | null;
|
|
128
691
|
authorization: string;
|
|
129
692
|
executeAgentToolRequest: ExecuteAgentToolRequest;
|
|
130
693
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolExecutionResponse>;
|
|
694
|
+
/**
|
|
695
|
+
* List Agents
|
|
696
|
+
*/
|
|
697
|
+
export declare function listAgentsV1AgentsGet({ name, slug, visibility, size, page, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
698
|
+
name?: string | null;
|
|
699
|
+
slug?: string | null;
|
|
700
|
+
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
701
|
+
size?: number;
|
|
702
|
+
page?: number;
|
|
703
|
+
xAccountId?: string | null;
|
|
704
|
+
xUsername?: string | null;
|
|
705
|
+
xUserId?: string | null;
|
|
706
|
+
xUserFullName?: string | null;
|
|
707
|
+
authorization: string;
|
|
708
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponse[]>;
|
|
709
|
+
/**
|
|
710
|
+
* Create Agent
|
|
711
|
+
*/
|
|
712
|
+
export declare function createAgentV1AgentsPost({ isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, newAgentRequest }: {
|
|
713
|
+
isPublic?: boolean;
|
|
714
|
+
xAccountId?: string | null;
|
|
715
|
+
xUsername?: string | null;
|
|
716
|
+
xUserId?: string | null;
|
|
717
|
+
xUserFullName?: string | null;
|
|
718
|
+
authorization: string;
|
|
719
|
+
newAgentRequest: NewAgentRequest;
|
|
720
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
721
|
+
/**
|
|
722
|
+
* Search Agents
|
|
723
|
+
*/
|
|
724
|
+
export declare function searchAgentsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
725
|
+
xAccountId?: string | null;
|
|
726
|
+
xUsername?: string | null;
|
|
727
|
+
xUserId?: string | null;
|
|
728
|
+
xUserFullName?: string | null;
|
|
729
|
+
authorization: string;
|
|
730
|
+
searchAgentsRequest: SearchAgentsRequest;
|
|
731
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponse[]>;
|
|
732
|
+
/**
|
|
733
|
+
* Get Agent
|
|
734
|
+
*/
|
|
735
|
+
export declare function getAgentV1AgentsAgentIdGet({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
736
|
+
agentId: string;
|
|
737
|
+
xAccountId?: string | null;
|
|
738
|
+
xUsername?: string | null;
|
|
739
|
+
xUserId?: string | null;
|
|
740
|
+
xUserFullName?: string | null;
|
|
741
|
+
authorization: string;
|
|
742
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentModel>;
|
|
743
|
+
/**
|
|
744
|
+
* Update Agent
|
|
745
|
+
*/
|
|
746
|
+
export declare function updateAgentV1AgentsAgentIdPut({ agentId }: {
|
|
747
|
+
agentId: string;
|
|
748
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
749
|
+
/**
|
|
750
|
+
* Delete Agent
|
|
751
|
+
*/
|
|
752
|
+
export declare function deleteAgentV1AgentsAgentIdDelete({ agentId }: {
|
|
753
|
+
agentId: string;
|
|
754
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
755
|
+
/**
|
|
756
|
+
* Add Favorite
|
|
757
|
+
*/
|
|
758
|
+
export declare function addFavoriteV1AgentsAgentIdFavoritePost({ agentId }: {
|
|
759
|
+
agentId: string;
|
|
760
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
761
|
+
/**
|
|
762
|
+
* Publish Agent
|
|
763
|
+
*/
|
|
764
|
+
export declare function publishAgentV1AgentsAgentIdPublishPost({ agentId }: {
|
|
765
|
+
agentId: string;
|
|
766
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
767
|
+
/**
|
|
768
|
+
* Internal List Toolkits By Ids
|
|
769
|
+
*/
|
|
770
|
+
export declare function internalListToolkitsByIdsV1SpotToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, internalListToolkitsRequest }: {
|
|
771
|
+
xAccountId: string;
|
|
772
|
+
xUsername?: string | null;
|
|
773
|
+
xUserId?: string | null;
|
|
774
|
+
xUserFullName?: string | null;
|
|
775
|
+
authorization: string;
|
|
776
|
+
internalListToolkitsRequest: InternalListToolkitsRequest;
|
|
777
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CustomToolkitSimpleResponse[]>;
|
|
778
|
+
/**
|
|
779
|
+
* Internal Delete Toolkits By Ids
|
|
780
|
+
*/
|
|
781
|
+
export declare function internalDeleteToolkitsByIdsV1SpotToolkitsDelete({ xAccountId, xUsername, xUserId, xUserFullName, authorization, internalDeleteToolkitsRequest }: {
|
|
782
|
+
xAccountId: string;
|
|
783
|
+
xUsername?: string | null;
|
|
784
|
+
xUserId?: string | null;
|
|
785
|
+
xUserFullName?: string | null;
|
|
786
|
+
authorization: string;
|
|
787
|
+
internalDeleteToolkitsRequest: InternalDeleteToolkitsRequest;
|
|
788
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
789
|
+
/**
|
|
790
|
+
* Internal Fork Toolkits By Ids
|
|
791
|
+
*/
|
|
792
|
+
export declare function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, internalToolkitForkRequest }: {
|
|
793
|
+
xAccountId: string;
|
|
794
|
+
xUsername: string;
|
|
795
|
+
xUserId: string;
|
|
796
|
+
xUserFullName: string;
|
|
797
|
+
authorization: string;
|
|
798
|
+
internalToolkitForkRequest: InternalToolkitForkRequest;
|
|
799
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ToolkitForkResponse>;
|
|
131
800
|
//# sourceMappingURL=agent-tools.d.ts.map
|