@stack-spot/portal-network 0.146.2-beta.0 → 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 +524 -29
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +276 -11
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/client/agent-tools.d.ts +92 -51
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +44 -72
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +49 -2
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/agent.js +63 -0
- package/dist/client/agent.js.map +1 -1
- package/dist/client/ai.d.ts +30 -37
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +1 -10
- package/dist/client/ai.js.map +1 -1
- 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 +12 -5
- 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 +843 -30
- package/src/client/agent-tools.ts +41 -86
- package/src/client/agent.ts +67 -1
- package/src/client/ai.ts +0 -5
- package/src/client/data-integration.ts +27 -19
- package/src/client/types.ts +14 -7
- 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 */
|
|
@@ -66,20 +302,32 @@ export type OpenAiTool = {
|
|
|
66
302
|
};
|
|
67
303
|
export type ExecuteAgentToolRequest = {
|
|
68
304
|
arguments: string;
|
|
305
|
+
upload_ids?: string[] | null;
|
|
69
306
|
};
|
|
70
307
|
export type AgentToolExecutionResponse = {
|
|
71
308
|
result: string;
|
|
72
309
|
};
|
|
73
310
|
export type AgentVisibilityLevelEnum = "built_in";
|
|
74
|
-
export type
|
|
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
|
+
};
|
|
75
318
|
export type ListAgentResponse = {
|
|
76
319
|
id: string;
|
|
77
320
|
name: string;
|
|
78
321
|
slug: string;
|
|
79
322
|
created_by: string | null;
|
|
323
|
+
created_at: string | null;
|
|
80
324
|
visibility_level: string;
|
|
81
325
|
avatar: string | null;
|
|
82
326
|
conversation_starter: string[] | null;
|
|
327
|
+
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
328
|
+
"type"?: string;
|
|
329
|
+
system_prompt?: string;
|
|
330
|
+
creator_name?: string;
|
|
83
331
|
};
|
|
84
332
|
export type AgentType = "CONVERSATIONAL" | "SINGLE_ANSWER";
|
|
85
333
|
export type SimilarityFunctionEnum = "cosine" | "euclidean" | "dot_product";
|
|
@@ -112,15 +360,14 @@ export type NewAgentRequest = {
|
|
|
112
360
|
"type": AgentType;
|
|
113
361
|
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
114
362
|
builtin_tools_ids?: string[];
|
|
363
|
+
/** Custom tools to assign to the agent */
|
|
364
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
115
365
|
detail_mode?: boolean;
|
|
116
366
|
structured_output?: string | null;
|
|
117
367
|
llm_settings?: {
|
|
118
368
|
[key: string]: any;
|
|
119
369
|
} | null;
|
|
120
370
|
};
|
|
121
|
-
export type NewAgentResponse = {
|
|
122
|
-
id: string;
|
|
123
|
-
};
|
|
124
371
|
export type SearchAgentsRequest = {
|
|
125
372
|
/** Agent ids to filter for */
|
|
126
373
|
ids: string[];
|
|
@@ -137,14 +384,48 @@ export type KnowledgeSourceConfigModel = {
|
|
|
137
384
|
updated_by?: string | null;
|
|
138
385
|
updated_at?: string | null;
|
|
139
386
|
};
|
|
140
|
-
export type
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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[];
|
|
148
429
|
};
|
|
149
430
|
export type LlmSettingsModel = {
|
|
150
431
|
property_key?: string | null;
|
|
@@ -172,13 +453,33 @@ export type AgentModel = {
|
|
|
172
453
|
model_id?: string | null;
|
|
173
454
|
model_name?: string | null;
|
|
174
455
|
knowledge_source_config?: KnowledgeSourceConfigModel | null;
|
|
175
|
-
|
|
456
|
+
toolkits?: AgentToolsDto | null;
|
|
176
457
|
settings?: LlmSettingsModel[];
|
|
177
458
|
created_by?: string | null;
|
|
178
459
|
created_at?: string | null;
|
|
179
460
|
updated_by?: string | null;
|
|
180
461
|
updated_at?: string | null;
|
|
181
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
|
+
};
|
|
182
483
|
/**
|
|
183
484
|
* Health Check
|
|
184
485
|
*/
|
|
@@ -190,43 +491,189 @@ export declare function readyzReadyzGet(opts?: Oazapfts.RequestOpts): Promise<an
|
|
|
190
491
|
/**
|
|
191
492
|
* Get Public Tool Kits
|
|
192
493
|
*/
|
|
193
|
-
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>;
|
|
194
629
|
/**
|
|
195
630
|
* Assign Tools
|
|
196
631
|
*/
|
|
197
|
-
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, authorization, assignToolsToAgentRequest }: {
|
|
632
|
+
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
|
|
198
633
|
agentId: string;
|
|
199
634
|
isPublic?: boolean;
|
|
200
635
|
xAccountId?: string | null;
|
|
636
|
+
xUsername?: string | null;
|
|
637
|
+
xUserId?: string | null;
|
|
638
|
+
xUserFullName?: string | null;
|
|
201
639
|
authorization: string;
|
|
202
640
|
assignToolsToAgentRequest: AssignToolsToAgentRequest;
|
|
203
641
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
204
642
|
/**
|
|
205
643
|
* List Tools
|
|
206
644
|
*/
|
|
207
|
-
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, authorization }: {
|
|
645
|
+
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
208
646
|
agentId: string;
|
|
209
647
|
isPublic?: boolean;
|
|
210
648
|
xAccountId?: string | null;
|
|
649
|
+
xUsername?: string | null;
|
|
650
|
+
xUserId?: string | null;
|
|
651
|
+
xUserFullName?: string | null;
|
|
211
652
|
authorization: string;
|
|
212
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
653
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolsResponse>;
|
|
213
654
|
/**
|
|
214
655
|
* Delete Tools
|
|
215
656
|
*/
|
|
216
|
-
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, authorization }: {
|
|
657
|
+
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
217
658
|
agentId: string;
|
|
218
659
|
isPublic?: boolean;
|
|
219
660
|
xAccountId?: string | null;
|
|
661
|
+
xUsername?: string | null;
|
|
662
|
+
xUserId?: string | null;
|
|
663
|
+
xUserFullName?: string | null;
|
|
220
664
|
authorization: string;
|
|
221
665
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
222
666
|
/**
|
|
223
667
|
* List Tools By Agent For Schema
|
|
224
668
|
*/
|
|
225
|
-
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, authorization }: {
|
|
669
|
+
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
226
670
|
agentId: string;
|
|
227
671
|
schema: SchemaEnum;
|
|
228
672
|
isPublic?: boolean;
|
|
229
673
|
xAccountId?: string | null;
|
|
674
|
+
xUsername?: string | null;
|
|
675
|
+
xUserId?: string | null;
|
|
676
|
+
xUserFullName?: string | null;
|
|
230
677
|
authorization: string;
|
|
231
678
|
}, opts?: Oazapfts.RequestOpts): Promise<(OpenAiTool | {
|
|
232
679
|
[key: string]: any;
|
|
@@ -234,48 +681,63 @@ export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchem
|
|
|
234
681
|
/**
|
|
235
682
|
* Execute Tool
|
|
236
683
|
*/
|
|
237
|
-
export declare function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, isPublic, xAccountId, authorization, executeAgentToolRequest }: {
|
|
684
|
+
export declare function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, executeAgentToolRequest }: {
|
|
238
685
|
agentToolId: string;
|
|
239
686
|
isPublic?: boolean;
|
|
240
687
|
xAccountId?: string | null;
|
|
688
|
+
xUsername?: string | null;
|
|
689
|
+
xUserId?: string | null;
|
|
690
|
+
xUserFullName?: string | null;
|
|
241
691
|
authorization: string;
|
|
242
692
|
executeAgentToolRequest: ExecuteAgentToolRequest;
|
|
243
693
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolExecutionResponse>;
|
|
244
694
|
/**
|
|
245
695
|
* List Agents
|
|
246
696
|
*/
|
|
247
|
-
export declare function listAgentsV1AgentsGet({ name, slug, visibility, size, page, xAccountId, authorization }: {
|
|
697
|
+
export declare function listAgentsV1AgentsGet({ name, slug, visibility, size, page, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
248
698
|
name?: string | null;
|
|
249
699
|
slug?: string | null;
|
|
250
700
|
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
251
701
|
size?: number;
|
|
252
702
|
page?: number;
|
|
253
703
|
xAccountId?: string | null;
|
|
704
|
+
xUsername?: string | null;
|
|
705
|
+
xUserId?: string | null;
|
|
706
|
+
xUserFullName?: string | null;
|
|
254
707
|
authorization: string;
|
|
255
708
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponse[]>;
|
|
256
709
|
/**
|
|
257
710
|
* Create Agent
|
|
258
711
|
*/
|
|
259
|
-
export declare function createAgentV1AgentsPost({ isPublic, xAccountId, authorization, newAgentRequest }: {
|
|
712
|
+
export declare function createAgentV1AgentsPost({ isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, newAgentRequest }: {
|
|
260
713
|
isPublic?: boolean;
|
|
261
714
|
xAccountId?: string | null;
|
|
715
|
+
xUsername?: string | null;
|
|
716
|
+
xUserId?: string | null;
|
|
717
|
+
xUserFullName?: string | null;
|
|
262
718
|
authorization: string;
|
|
263
719
|
newAgentRequest: NewAgentRequest;
|
|
264
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
720
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
265
721
|
/**
|
|
266
722
|
* Search Agents
|
|
267
723
|
*/
|
|
268
|
-
export declare function searchAgentsV1AgentsSearchPost({ xAccountId, authorization, searchAgentsRequest }: {
|
|
724
|
+
export declare function searchAgentsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
269
725
|
xAccountId?: string | null;
|
|
726
|
+
xUsername?: string | null;
|
|
727
|
+
xUserId?: string | null;
|
|
728
|
+
xUserFullName?: string | null;
|
|
270
729
|
authorization: string;
|
|
271
730
|
searchAgentsRequest: SearchAgentsRequest;
|
|
272
731
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponse[]>;
|
|
273
732
|
/**
|
|
274
733
|
* Get Agent
|
|
275
734
|
*/
|
|
276
|
-
export declare function getAgentV1AgentsAgentIdGet({ agentId, xAccountId, authorization }: {
|
|
735
|
+
export declare function getAgentV1AgentsAgentIdGet({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
277
736
|
agentId: string;
|
|
278
737
|
xAccountId?: string | null;
|
|
738
|
+
xUsername?: string | null;
|
|
739
|
+
xUserId?: string | null;
|
|
740
|
+
xUserFullName?: string | null;
|
|
279
741
|
authorization: string;
|
|
280
742
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentModel>;
|
|
281
743
|
/**
|
|
@@ -302,4 +764,37 @@ export declare function addFavoriteV1AgentsAgentIdFavoritePost({ agentId }: {
|
|
|
302
764
|
export declare function publishAgentV1AgentsAgentIdPublishPost({ agentId }: {
|
|
303
765
|
agentId: string;
|
|
304
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>;
|
|
305
800
|
//# sourceMappingURL=agent-tools.d.ts.map
|