@stack-spot/portal-network 0.203.0 → 0.203.1-beta.1
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 +247 -0
- package/dist/api/account.d.ts +344 -91
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +203 -46
- package/dist/api/account.js.map +1 -1
- package/dist/api/accountAssetManager.d.ts +309 -0
- package/dist/api/accountAssetManager.d.ts.map +1 -0
- package/dist/api/accountAssetManager.js +169 -0
- package/dist/api/accountAssetManager.js.map +1 -0
- package/dist/api/agent-tools.d.ts +623 -141
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +168 -45
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +135 -24
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +79 -26
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +127 -9
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +73 -6
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discover.d.ts +9 -6
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +5 -5
- package/dist/api/discover.js.map +1 -1
- package/dist/api/edpBfa.d.ts +215 -0
- package/dist/api/edpBfa.d.ts.map +1 -0
- package/dist/api/edpBfa.js +87 -0
- package/dist/api/edpBfa.js.map +1 -0
- package/dist/api/workspace-ai.d.ts +41 -0
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +34 -0
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/api-addresses.d.ts +13 -20
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +60 -17
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +16 -0
- package/dist/apis.json +16 -0
- package/dist/client/account-asset-manager.d.ts +112 -0
- package/dist/client/account-asset-manager.d.ts.map +1 -0
- package/dist/client/account-asset-manager.js +160 -0
- package/dist/client/account-asset-manager.js.map +1 -0
- package/dist/client/account.d.ts +11 -9
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +11 -8
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +122 -3
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +105 -10
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +148 -1
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +149 -17
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +54 -3
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +46 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +8 -1
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +2 -2
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js.map +1 -1
- package/dist/client/edp-bfa.d.ts +16 -0
- package/dist/client/edp-bfa.d.ts.map +1 -0
- package/dist/client/edp-bfa.js +24 -0
- package/dist/client/edp-bfa.js.map +1 -0
- package/dist/client/notification.d.ts +7 -0
- package/dist/client/notification.d.ts.map +1 -1
- package/dist/client/notification.js +10 -1
- package/dist/client/notification.js.map +1 -1
- package/dist/client/types.d.ts +11 -3
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workspace-ai.d.ts +13 -3
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +17 -3
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +15 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +19 -1
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
- package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
- package/dist/error/dictionary/accountAssetManager.js +11 -0
- package/dist/error/dictionary/accountAssetManager.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +12 -2
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +1 -0
- package/dist/network/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/readme.md +39 -1
- package/src/api/account.ts +592 -165
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +824 -188
- package/src/api/ai.ts +206 -38
- package/src/api/codeShift.ts +233 -12
- package/src/api/discover.ts +10 -10
- package/src/api/edpBfa.ts +472 -0
- package/src/api/workspace-ai.ts +83 -0
- package/src/api-addresses.ts +93 -37
- package/src/apis-itau.json +16 -0
- package/src/apis.json +16 -0
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +11 -7
- package/src/client/agent-tools.ts +69 -16
- package/src/client/ai.ts +129 -19
- package/src/client/code-shift.ts +29 -0
- package/src/client/data-integration.ts +9 -2
- package/src/client/discover.ts +2 -2
- package/src/client/edp-bfa.ts +24 -0
- package/src/client/notification.ts +6 -1
- package/src/client/types.ts +12 -3
- package/src/client/workspace-ai.ts +21 -6
- package/src/client/workspace-manager.ts +13 -0
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/index.ts +4 -1
- package/src/network/NetworkClient.ts +13 -4
- package/src/network/types.ts +1 -0
|
@@ -170,15 +170,18 @@ export type AgentUsingToolsResponse = {
|
|
|
170
170
|
name: string;
|
|
171
171
|
avatar?: string | null;
|
|
172
172
|
};
|
|
173
|
-
export type
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
export type Function = {
|
|
174
|
+
name: string;
|
|
175
|
+
description: string;
|
|
176
|
+
parameters: {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
};
|
|
179
|
+
strict?: boolean;
|
|
176
180
|
};
|
|
177
|
-
export type
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
mcp_toolkit_ids?: string[] | null;
|
|
181
|
+
export type McpToolFunction = {
|
|
182
|
+
"type"?: string | null;
|
|
183
|
+
"function"?: Function | null;
|
|
184
|
+
id?: string | null;
|
|
182
185
|
};
|
|
183
186
|
export type ToolkitMcpResponse = {
|
|
184
187
|
id?: string | null;
|
|
@@ -190,11 +193,20 @@ export type ToolkitMcpResponse = {
|
|
|
190
193
|
secrets?: string[] | null;
|
|
191
194
|
url?: string | null;
|
|
192
195
|
toolkit_type?: ToolkitType | null;
|
|
196
|
+
tools?: McpToolFunction[] | null;
|
|
197
|
+
};
|
|
198
|
+
export type MultiAgentToolkitResponse = {
|
|
199
|
+
id: string;
|
|
200
|
+
agent_version_number: number | null;
|
|
201
|
+
avatar: string | null;
|
|
202
|
+
name: string;
|
|
203
|
+
description: string;
|
|
193
204
|
};
|
|
194
205
|
export type AgentToolsResponse = {
|
|
195
206
|
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
196
207
|
custom_toolkits?: CustomToolkitResponse[];
|
|
197
208
|
mcp_toolkits?: ToolkitMcpResponse[];
|
|
209
|
+
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
198
210
|
};
|
|
199
211
|
export type SchemaEnum = "OPENAI";
|
|
200
212
|
export type FunctionParameter = {
|
|
@@ -213,7 +225,7 @@ export type FunctionParameter = {
|
|
|
213
225
|
/** Allow arbitrary data of specific typed */
|
|
214
226
|
additionalProperties?: boolean;
|
|
215
227
|
};
|
|
216
|
-
export type
|
|
228
|
+
export type Function2 = {
|
|
217
229
|
/** The name of the function */
|
|
218
230
|
name: string;
|
|
219
231
|
/** A description of what the function does */
|
|
@@ -229,7 +241,7 @@ export type OpenAiTool = {
|
|
|
229
241
|
/** The type of the tool; must be 'function' */
|
|
230
242
|
"type": "function";
|
|
231
243
|
/** The function associated with this tool */
|
|
232
|
-
"function":
|
|
244
|
+
"function": Function2;
|
|
233
245
|
};
|
|
234
246
|
export type ExecuteAgentToolRequest = {
|
|
235
247
|
arguments?: string | null;
|
|
@@ -247,6 +259,7 @@ export type KnowledgeSourcesConfig = {
|
|
|
247
259
|
similarity_function?: string;
|
|
248
260
|
post_processing?: boolean;
|
|
249
261
|
};
|
|
262
|
+
export type AgentVersionStatus = "draft" | "published" | "deprecated";
|
|
250
263
|
export type ListAgentResponse = {
|
|
251
264
|
id: string;
|
|
252
265
|
name: string;
|
|
@@ -257,6 +270,9 @@ export type ListAgentResponse = {
|
|
|
257
270
|
avatar: string | null;
|
|
258
271
|
suggested_prompts: string[] | null;
|
|
259
272
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
273
|
+
version_number: number;
|
|
274
|
+
status: AgentVersionStatus;
|
|
275
|
+
is_recommended: boolean;
|
|
260
276
|
has_multiagent_tool?: boolean;
|
|
261
277
|
"type"?: string;
|
|
262
278
|
system_prompt?: string;
|
|
@@ -272,8 +288,13 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
272
288
|
knowledge_sources?: string[] | null;
|
|
273
289
|
sealed?: boolean | null;
|
|
274
290
|
};
|
|
291
|
+
export type AssignCustomToolsAgentRequest = {
|
|
292
|
+
toolkit_id: string;
|
|
293
|
+
tools_ids: string[];
|
|
294
|
+
};
|
|
275
295
|
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
276
296
|
export type AgentMemory = "vector" | "buffer";
|
|
297
|
+
export type PlannerType = "simple" | "tool_oriented";
|
|
277
298
|
export type NewAgentRequest = {
|
|
278
299
|
/** LLM model name */
|
|
279
300
|
model_name?: string | null;
|
|
@@ -298,6 +319,7 @@ export type NewAgentRequest = {
|
|
|
298
319
|
/** Custom tools to assign to the agent */
|
|
299
320
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
300
321
|
mcp_toolkit_ids?: string[] | null;
|
|
322
|
+
/** Multi-agents assignment to the agent */
|
|
301
323
|
sub_agents_ids?: string[] | null;
|
|
302
324
|
detail_mode?: boolean;
|
|
303
325
|
structured_output?: string | null;
|
|
@@ -310,13 +332,25 @@ export type NewAgentRequest = {
|
|
|
310
332
|
memory?: AgentMemory;
|
|
311
333
|
/** Available models for this particular agent */
|
|
312
334
|
available_models_ids?: string[];
|
|
335
|
+
/** Agent planner type */
|
|
336
|
+
planner_type?: PlannerType | null;
|
|
337
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
338
|
+
max_llm_interactions?: number | null;
|
|
339
|
+
/** LLM planner model name */
|
|
340
|
+
planner_model_name?: string | null;
|
|
341
|
+
/** LLM planner model id */
|
|
342
|
+
planner_model_id?: string | null;
|
|
313
343
|
};
|
|
314
344
|
export type SearchAgentsRequest = {
|
|
315
345
|
/** Agent ids to filter for */
|
|
316
346
|
ids: string[];
|
|
317
347
|
};
|
|
348
|
+
export type AssignMultiAgentVersionRequest = {
|
|
349
|
+
agent_core_id: string;
|
|
350
|
+
version_number?: number | null;
|
|
351
|
+
};
|
|
318
352
|
export type WorkspaceForkRequest = {
|
|
319
|
-
|
|
353
|
+
agents: AssignMultiAgentVersionRequest[];
|
|
320
354
|
member_id: string;
|
|
321
355
|
};
|
|
322
356
|
export type AgentItemFork = {
|
|
@@ -356,7 +390,7 @@ export type ListMultiAgentsResponse = {
|
|
|
356
390
|
visibility_level: VisibilityLevelEnum;
|
|
357
391
|
has_multiagent_tool: boolean;
|
|
358
392
|
};
|
|
359
|
-
export type
|
|
393
|
+
export type KnowledgeSourceDetailsResponse = {
|
|
360
394
|
id: string;
|
|
361
395
|
slug: string;
|
|
362
396
|
name: string;
|
|
@@ -364,129 +398,103 @@ export type KnowledgeSourceDetails = {
|
|
|
364
398
|
"type": string;
|
|
365
399
|
creator?: string | null;
|
|
366
400
|
"default": boolean;
|
|
367
|
-
visibility_level:
|
|
401
|
+
visibility_level: string;
|
|
368
402
|
model_name: string;
|
|
369
403
|
username?: string | null;
|
|
370
404
|
};
|
|
371
|
-
export type
|
|
372
|
-
|
|
405
|
+
export type KnowledgeSourcesConfigResponse = {
|
|
406
|
+
knowledge_sources: string[];
|
|
373
407
|
max_number_of_kos: number;
|
|
374
408
|
relevancy_threshold: number;
|
|
409
|
+
similarity_function: string;
|
|
375
410
|
post_processing: boolean;
|
|
376
|
-
knowledge_sources: string[];
|
|
377
|
-
knowledge_sources_details: KnowledgeSourceDetails[];
|
|
378
411
|
sealed: boolean;
|
|
412
|
+
knowledge_sources_details?: KnowledgeSourceDetailsResponse[] | null;
|
|
379
413
|
created_by?: string | null;
|
|
380
414
|
created_at?: string | null;
|
|
381
415
|
updated_by?: string | null;
|
|
382
416
|
updated_at?: string | null;
|
|
383
417
|
};
|
|
384
|
-
export type
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
toolkit_id: string;
|
|
389
|
-
};
|
|
390
|
-
export type BuiltinToolkitDto = {
|
|
391
|
-
id: string;
|
|
392
|
-
name: string;
|
|
393
|
-
description: string;
|
|
394
|
-
image_url: string;
|
|
395
|
-
tools: BuiltinToolDto[];
|
|
396
|
-
};
|
|
397
|
-
export type CustomToolkitToolDto = {
|
|
398
|
-
id: string;
|
|
399
|
-
name: string;
|
|
400
|
-
description: string;
|
|
401
|
-
method: string;
|
|
402
|
-
url: string;
|
|
403
|
-
parameters?: {
|
|
404
|
-
[key: string]: any;
|
|
405
|
-
}[] | null;
|
|
406
|
-
request_body?: {
|
|
407
|
-
[key: string]: any;
|
|
408
|
-
} | null;
|
|
409
|
-
response_transformation?: string | null;
|
|
410
|
-
creator_name?: string | null;
|
|
411
|
-
};
|
|
412
|
-
export type CustomToolkitDto = {
|
|
413
|
-
id: string;
|
|
414
|
-
name: string;
|
|
415
|
-
description: string | null;
|
|
416
|
-
avatar: string | null;
|
|
417
|
-
tools: CustomToolkitToolDto[];
|
|
418
|
-
secrets: string[] | null;
|
|
419
|
-
visibility_level: VisibilityLevelEnum;
|
|
420
|
-
creator_name: string;
|
|
421
|
-
is_usable_by_others: boolean;
|
|
422
|
-
url: string | null;
|
|
423
|
-
toolkit_type: ToolkitType | null;
|
|
424
|
-
};
|
|
425
|
-
export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
|
|
426
|
-
export type SecretDto = {
|
|
427
|
-
id: string;
|
|
428
|
-
scope?: SecretScope | null;
|
|
429
|
-
};
|
|
430
|
-
export type ToolkitMcpdto = {
|
|
431
|
-
secrets: SecretDto[] | null;
|
|
432
|
-
name: string;
|
|
433
|
-
description?: string | null;
|
|
434
|
-
avatar?: string | null;
|
|
435
|
-
visibility_level?: VisibilityLevelEnum;
|
|
436
|
-
id?: string | null;
|
|
437
|
-
url?: string | null;
|
|
438
|
-
tools?: any[] | null;
|
|
439
|
-
/** Toolkit type */
|
|
440
|
-
toolkit_type?: ToolkitType | null;
|
|
441
|
-
};
|
|
442
|
-
export type AgentToolsDto = {
|
|
443
|
-
builtin_toolkits?: BuiltinToolkitDto[];
|
|
444
|
-
custom_toolkits?: CustomToolkitDto[];
|
|
445
|
-
mcp_toolkits?: ToolkitMcpdto[];
|
|
418
|
+
export type LlmSettingsResponse = {
|
|
419
|
+
property_key: string;
|
|
420
|
+
property_value: string;
|
|
421
|
+
property_type: string;
|
|
446
422
|
};
|
|
447
|
-
export type
|
|
448
|
-
property_key?: string | null;
|
|
449
|
-
property_value?: string | null;
|
|
450
|
-
property_type?: string | null;
|
|
451
|
-
agent_id: string;
|
|
452
|
-
created_by?: string | null;
|
|
453
|
-
created_at?: string | null;
|
|
454
|
-
updated_by?: string | null;
|
|
455
|
-
updated_at?: string | null;
|
|
456
|
-
};
|
|
457
|
-
export type AgentLlmModelDto = {
|
|
423
|
+
export type AgentLlmModelResponse = {
|
|
458
424
|
model_id: string;
|
|
459
425
|
model_name: string;
|
|
460
|
-
is_default
|
|
426
|
+
is_default: boolean;
|
|
461
427
|
};
|
|
462
|
-
export type
|
|
428
|
+
export type FindByIdAgentResponse = {
|
|
429
|
+
/** Agent core ID */
|
|
463
430
|
id: string;
|
|
431
|
+
/** Agent name */
|
|
464
432
|
name: string;
|
|
433
|
+
/** Agent unique slug */
|
|
465
434
|
slug: string;
|
|
435
|
+
/** Agent description */
|
|
466
436
|
description?: string | null;
|
|
467
|
-
|
|
468
|
-
visibility_level: string;
|
|
437
|
+
/** Agent avatar image URL */
|
|
469
438
|
avatar?: string | null;
|
|
439
|
+
/** Agent visibility level */
|
|
440
|
+
visibility_level: string;
|
|
441
|
+
/** Agent type */
|
|
470
442
|
"type": string;
|
|
471
|
-
|
|
443
|
+
/** Whether agent is use-only (hides implementation) */
|
|
472
444
|
use_only: boolean;
|
|
445
|
+
/** Whether agent is internal */
|
|
446
|
+
is_internal: boolean;
|
|
447
|
+
/** Whether detail mode is enabled */
|
|
473
448
|
detail_mode: boolean;
|
|
449
|
+
/** Agent execution mode */
|
|
474
450
|
mode: AgentMode;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
451
|
+
/** Agent memory type */
|
|
452
|
+
memory: AgentMemory;
|
|
453
|
+
/** Version status */
|
|
454
|
+
status: AgentVersionStatus;
|
|
455
|
+
/** Version number */
|
|
456
|
+
version_number: number;
|
|
457
|
+
/** Whether this is the recommended version */
|
|
458
|
+
is_recommended: boolean;
|
|
459
|
+
/** Whether this is the latest version */
|
|
460
|
+
is_latest: boolean;
|
|
461
|
+
/** System prompt for the agent */
|
|
462
|
+
system_prompt?: string | null;
|
|
463
|
+
/** Default LLM model ID */
|
|
478
464
|
model_id?: string | null;
|
|
465
|
+
/** Default LLM model name */
|
|
479
466
|
model_name?: string | null;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
467
|
+
/** Original agent ID if forked */
|
|
468
|
+
origin_fork_id?: string | null;
|
|
469
|
+
/** Suggested conversation starters */
|
|
470
|
+
conversation_starter?: string[] | null;
|
|
471
|
+
/** JSON schema for structured output */
|
|
472
|
+
structured_output?: string | null;
|
|
473
|
+
/** Base version ID for version history */
|
|
474
|
+
base_version_id?: string | null;
|
|
475
|
+
planner_type?: PlannerType | null;
|
|
476
|
+
/** Maximum number of LLM interactions */
|
|
477
|
+
max_llm_interactions?: number | null;
|
|
478
|
+
/** Default LLM planner model ID */
|
|
479
|
+
planner_model_id?: string | null;
|
|
480
|
+
/** Default LLM planner model name */
|
|
481
|
+
planner_model_name?: string | null;
|
|
482
|
+
/** Knowledge sources configuration with details */
|
|
483
|
+
knowledge_sources_config?: KnowledgeSourcesConfigResponse | null;
|
|
484
|
+
/** Agent toolkits (builtin and custom) */
|
|
485
|
+
toolkits?: AgentToolsResponse;
|
|
486
|
+
/** LLM settings */
|
|
487
|
+
settings?: LlmSettingsResponse[];
|
|
488
|
+
/** Available LLM models for this agent */
|
|
489
|
+
available_llm_models?: AgentLlmModelResponse[];
|
|
490
|
+
/** Creator username */
|
|
484
491
|
created_by?: string | null;
|
|
492
|
+
/** Creation timestamp */
|
|
485
493
|
created_at?: string | null;
|
|
494
|
+
/** Last updater username */
|
|
486
495
|
updated_by?: string | null;
|
|
496
|
+
/** Last update timestamp */
|
|
487
497
|
updated_at?: string | null;
|
|
488
|
-
available_llm_models?: AgentLlmModelDto[];
|
|
489
|
-
memory?: AgentMemory;
|
|
490
498
|
};
|
|
491
499
|
export type UpdateAgentRequest = {
|
|
492
500
|
use_only?: boolean | null;
|
|
@@ -504,12 +512,15 @@ export type UpdateAgentRequest = {
|
|
|
504
512
|
avatar?: string | null;
|
|
505
513
|
/** Agent suggested prompt */
|
|
506
514
|
suggested_prompts?: string[];
|
|
515
|
+
/** agent status */
|
|
516
|
+
status?: AgentVersionStatus | null;
|
|
507
517
|
/** System prompt */
|
|
508
518
|
system_prompt?: string | null;
|
|
509
519
|
/** Agent type */
|
|
510
520
|
"type"?: AgentType | null;
|
|
511
521
|
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
512
522
|
builtin_tools_ids?: string[];
|
|
523
|
+
/** Multi-agents assignment to the agent */
|
|
513
524
|
sub_agents_ids?: string[];
|
|
514
525
|
/** Custom tools to assign to the agent */
|
|
515
526
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
@@ -525,6 +536,14 @@ export type UpdateAgentRequest = {
|
|
|
525
536
|
available_models_ids?: string[];
|
|
526
537
|
/** Agent memory */
|
|
527
538
|
memory?: AgentMemory;
|
|
539
|
+
/** Agent planner type */
|
|
540
|
+
planner_type?: PlannerType;
|
|
541
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
542
|
+
max_llm_interactions?: number | null;
|
|
543
|
+
/** LLM planner model name */
|
|
544
|
+
planner_model_name?: string | null;
|
|
545
|
+
/** LLM planner model id */
|
|
546
|
+
planner_model_id?: string | null;
|
|
528
547
|
};
|
|
529
548
|
export type ForkAgentRequest = {
|
|
530
549
|
/** Agent slug to fork */
|
|
@@ -534,6 +553,144 @@ export type ForkAgentRequest = {
|
|
|
534
553
|
export type PublishAgentRequest = {
|
|
535
554
|
use_only?: boolean;
|
|
536
555
|
is_public?: boolean;
|
|
556
|
+
version_number?: number | null;
|
|
557
|
+
};
|
|
558
|
+
export type CreateVersionRequest = {
|
|
559
|
+
/** The version number to use as base for the new version. If not provided, uses latest version */
|
|
560
|
+
base_version_number?: number | null;
|
|
561
|
+
};
|
|
562
|
+
export type AgentVersionResponse = {
|
|
563
|
+
/** Agent version unique identifier */
|
|
564
|
+
id: string;
|
|
565
|
+
/** Reference to parent agent core */
|
|
566
|
+
agent_core_id: string;
|
|
567
|
+
/** Whether detail mode is enabled for responses */
|
|
568
|
+
detail_mode: boolean;
|
|
569
|
+
/** Whether version is internal-only */
|
|
570
|
+
is_internal: boolean;
|
|
571
|
+
/** Agent execution mode (autonomous, orchestrator, etc.) */
|
|
572
|
+
mode: AgentMode;
|
|
573
|
+
/** Memory type used by the agent */
|
|
574
|
+
memory: string;
|
|
575
|
+
/** Version status (draft, published, archived) */
|
|
576
|
+
status: AgentVersionStatus;
|
|
577
|
+
/** Sequential version number */
|
|
578
|
+
version_number: number;
|
|
579
|
+
/** Whether this is the recommended version for use */
|
|
580
|
+
is_recommended: boolean;
|
|
581
|
+
/** Whether this is the most recent version */
|
|
582
|
+
is_latest: boolean;
|
|
583
|
+
/** Base version ID used for creating this version */
|
|
584
|
+
base_version_id?: string | null;
|
|
585
|
+
/** Original agent version ID if this is a fork */
|
|
586
|
+
origin_fork_id?: string | null;
|
|
587
|
+
/** System prompt for the agent version */
|
|
588
|
+
system_prompt?: string | null;
|
|
589
|
+
/** LLM model ID used by this version */
|
|
590
|
+
model_id?: string | null;
|
|
591
|
+
/** LLM model name used by this version */
|
|
592
|
+
model_name?: string | null;
|
|
593
|
+
/** Suggested conversation starters */
|
|
594
|
+
conversation_starter?: string[] | null;
|
|
595
|
+
/** JSON schema for structured output format */
|
|
596
|
+
structured_output?: string | null;
|
|
597
|
+
planner_type?: PlannerType | null;
|
|
598
|
+
max_llm_interactions?: number | null;
|
|
599
|
+
/** Default LLM planner model ID */
|
|
600
|
+
planner_model_id?: string | null;
|
|
601
|
+
/** Default LLM planner model name */
|
|
602
|
+
planner_model_name?: string | null;
|
|
603
|
+
/** Knowledge sources configuration for RAG capabilities */
|
|
604
|
+
knowledge_sources_config?: KnowledgeSourcesConfig | null;
|
|
605
|
+
/** List of tools (builtin) assigned to this version */
|
|
606
|
+
toolkits?: AgentToolsResponse;
|
|
607
|
+
/** LLM-specific settings for this version */
|
|
608
|
+
settings?: LlmSettingsResponse[];
|
|
609
|
+
/** Available LLM models for this version */
|
|
610
|
+
llm_models?: AgentLlmModelResponse[];
|
|
611
|
+
/** Username of version creator */
|
|
612
|
+
created_by?: string | null;
|
|
613
|
+
/** Version creation timestamp */
|
|
614
|
+
created_at?: string | null;
|
|
615
|
+
/** Username of last updater */
|
|
616
|
+
updated_by?: string | null;
|
|
617
|
+
/** Last update timestamp */
|
|
618
|
+
updated_at?: string | null;
|
|
619
|
+
};
|
|
620
|
+
export type CreateVersionResponse = {
|
|
621
|
+
/** Agent core unique identifier */
|
|
622
|
+
id: string;
|
|
623
|
+
/** Agent name */
|
|
624
|
+
name: string;
|
|
625
|
+
/** Agent unique slug */
|
|
626
|
+
slug: string;
|
|
627
|
+
/** Agent description */
|
|
628
|
+
description?: string | null;
|
|
629
|
+
/** Agent avatar image URL */
|
|
630
|
+
avatar?: string | null;
|
|
631
|
+
/** Agent visibility level (personal, shared, account) */
|
|
632
|
+
visibility_level: string;
|
|
633
|
+
/** The newly created agent version details */
|
|
634
|
+
version: AgentVersionResponse;
|
|
635
|
+
/** Username of agent creator */
|
|
636
|
+
created_by?: string | null;
|
|
637
|
+
/** Agent creation timestamp */
|
|
638
|
+
created_at?: string | null;
|
|
639
|
+
/** Username of last updater */
|
|
640
|
+
updated_by?: string | null;
|
|
641
|
+
/** Last update timestamp */
|
|
642
|
+
updated_at?: string | null;
|
|
643
|
+
};
|
|
644
|
+
export type ListAgentVersionResponse = {
|
|
645
|
+
id: string;
|
|
646
|
+
version_number: number;
|
|
647
|
+
status: AgentVersionStatus;
|
|
648
|
+
is_recommended: boolean;
|
|
649
|
+
};
|
|
650
|
+
export type ForkedAgentCoreAndVersionResponse = {
|
|
651
|
+
/** Agent core unique identifier */
|
|
652
|
+
id: string;
|
|
653
|
+
/** Agent name */
|
|
654
|
+
name: string;
|
|
655
|
+
/** Agent unique slug */
|
|
656
|
+
slug: string;
|
|
657
|
+
/** Agent description */
|
|
658
|
+
description: string;
|
|
659
|
+
/** Agent avatar image URL */
|
|
660
|
+
avatar?: string | null;
|
|
661
|
+
/** Agent visibility level (personal, shared, account) */
|
|
662
|
+
visibility_level: string;
|
|
663
|
+
/** The newly created agent version details */
|
|
664
|
+
version: AgentVersionResponse;
|
|
665
|
+
/** Username of agent creator */
|
|
666
|
+
created_by?: string | null;
|
|
667
|
+
/** Agent creation timestamp */
|
|
668
|
+
created_at?: string | null;
|
|
669
|
+
/** Username of last updater */
|
|
670
|
+
updated_by?: string | null;
|
|
671
|
+
/** Last update timestamp */
|
|
672
|
+
updated_at?: string | null;
|
|
673
|
+
};
|
|
674
|
+
export type KnowledgeSourceDetailsResponse2 = {
|
|
675
|
+
id: string;
|
|
676
|
+
slug: string;
|
|
677
|
+
name: string;
|
|
678
|
+
description: string;
|
|
679
|
+
"type": string;
|
|
680
|
+
creator?: string | null;
|
|
681
|
+
"default": boolean;
|
|
682
|
+
visibility_level: VisibilityLevelEnum;
|
|
683
|
+
model_name: string;
|
|
684
|
+
username?: string | null;
|
|
685
|
+
};
|
|
686
|
+
export type KnowledgeSourcesConfigResponse2 = {
|
|
687
|
+
knowledge_sources: string[];
|
|
688
|
+
max_number_of_kos?: number;
|
|
689
|
+
relevancy_threshold?: number;
|
|
690
|
+
similarity_function?: SimilarityFunctionEnum;
|
|
691
|
+
post_processing?: boolean;
|
|
692
|
+
knowledge_sources_details?: KnowledgeSourceDetailsResponse2[];
|
|
693
|
+
sealed: boolean;
|
|
537
694
|
};
|
|
538
695
|
export type ListAgentResponseV2 = {
|
|
539
696
|
id: string;
|
|
@@ -544,13 +701,225 @@ export type ListAgentResponseV2 = {
|
|
|
544
701
|
visibility_level: string;
|
|
545
702
|
avatar: string | null;
|
|
546
703
|
conversation_starter: string[] | null;
|
|
547
|
-
knowledge_sources_config:
|
|
704
|
+
knowledge_sources_config: KnowledgeSourcesConfigResponse2;
|
|
548
705
|
"type"?: string;
|
|
549
706
|
system_prompt?: string;
|
|
550
707
|
creator_name?: string;
|
|
708
|
+
version_number: number;
|
|
709
|
+
status: AgentVersionStatus;
|
|
710
|
+
is_recommended: boolean;
|
|
711
|
+
};
|
|
712
|
+
export type NewAgentRequestV2 = {
|
|
713
|
+
/** LLM model name */
|
|
714
|
+
model_name?: string | null;
|
|
715
|
+
/** LLM model id */
|
|
716
|
+
model_id?: string | null;
|
|
717
|
+
/** Agent name */
|
|
718
|
+
name: string;
|
|
719
|
+
/** Agent unique slug */
|
|
720
|
+
slug: string;
|
|
721
|
+
/** Agent description */
|
|
722
|
+
description?: string | null;
|
|
723
|
+
/** Agent avatar image */
|
|
724
|
+
avatar?: string | null;
|
|
725
|
+
/** Agent suggested prompt */
|
|
726
|
+
suggested_prompts?: string[];
|
|
727
|
+
/** System prompt */
|
|
728
|
+
system_prompt?: string | null;
|
|
729
|
+
/** Agent type */
|
|
730
|
+
"type": AgentType;
|
|
731
|
+
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
732
|
+
builtin_tools_ids?: string[];
|
|
733
|
+
/** Custom tools to assign to the agent */
|
|
734
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
735
|
+
/** Multi-agents assignment to the agent */
|
|
736
|
+
sub_agents_ids?: AssignMultiAgentVersionRequest[] | null;
|
|
737
|
+
mcp_toolkit_ids?: string[] | null;
|
|
738
|
+
detail_mode?: boolean;
|
|
739
|
+
structured_output?: string | null;
|
|
740
|
+
llm_settings?: {
|
|
741
|
+
[key: string]: any;
|
|
742
|
+
} | null;
|
|
743
|
+
/** Agent mode */
|
|
744
|
+
mode?: AgentMode;
|
|
745
|
+
/** Agent memory */
|
|
746
|
+
memory?: AgentMemory;
|
|
747
|
+
/** Available models for this particular agent */
|
|
748
|
+
available_models_ids?: string[];
|
|
749
|
+
/** Agent planner type */
|
|
750
|
+
planner_type?: PlannerType | null;
|
|
751
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
752
|
+
max_llm_interactions?: number | null;
|
|
753
|
+
/** LLM planner model name */
|
|
754
|
+
planner_model_name?: string | null;
|
|
755
|
+
/** LLM planner model id */
|
|
756
|
+
planner_model_id?: string | null;
|
|
757
|
+
};
|
|
758
|
+
export type SearchAgentVersionRequest = {
|
|
759
|
+
agent_core_id: string;
|
|
760
|
+
version_number?: number | null;
|
|
761
|
+
};
|
|
762
|
+
export type SearchAgentsRequestV2 = {
|
|
763
|
+
agents: SearchAgentVersionRequest[];
|
|
764
|
+
};
|
|
765
|
+
export type UpdateAgentRequestV2 = {
|
|
766
|
+
use_only?: boolean | null;
|
|
767
|
+
/** LLM model name */
|
|
768
|
+
model_name?: string | null;
|
|
769
|
+
/** LLM model id */
|
|
770
|
+
model_id?: string | null;
|
|
771
|
+
/** Agent name */
|
|
772
|
+
name?: string | null;
|
|
773
|
+
/** Agent unique slug */
|
|
774
|
+
slug?: string | null;
|
|
775
|
+
/** agent status */
|
|
776
|
+
status?: AgentVersionStatus | null;
|
|
777
|
+
/** Agent description */
|
|
778
|
+
description?: string | null;
|
|
779
|
+
/** Agent avatar image */
|
|
780
|
+
avatar?: string | null;
|
|
781
|
+
/** Agent suggested prompt */
|
|
782
|
+
suggested_prompts?: string[];
|
|
783
|
+
/** System prompt */
|
|
784
|
+
system_prompt?: string | null;
|
|
785
|
+
/** Agent type */
|
|
786
|
+
"type"?: AgentType | null;
|
|
787
|
+
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
788
|
+
builtin_tools_ids?: string[];
|
|
789
|
+
/** Multi-agents assignment to the agent */
|
|
790
|
+
sub_agents_ids?: AssignMultiAgentVersionRequest[];
|
|
791
|
+
/** Custom tools to assign to the agent */
|
|
792
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
793
|
+
mcp_toolkit_ids?: string[] | null;
|
|
794
|
+
detail_mode?: boolean | null;
|
|
795
|
+
structured_output?: string | null;
|
|
796
|
+
llm_settings?: {
|
|
797
|
+
[key: string]: any;
|
|
798
|
+
} | null;
|
|
799
|
+
/** Agent mode */
|
|
800
|
+
mode?: AgentMode | null;
|
|
801
|
+
/** Available models for this particular agent */
|
|
802
|
+
available_models_ids?: string[];
|
|
803
|
+
/** Agent memory */
|
|
804
|
+
memory?: AgentMemory;
|
|
805
|
+
/** Agent planner type */
|
|
806
|
+
planner_type?: PlannerType;
|
|
807
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
808
|
+
max_llm_interactions?: number | null;
|
|
809
|
+
/** LLM planner model name */
|
|
810
|
+
planner_model_name?: string | null;
|
|
811
|
+
/** LLM planner model id */
|
|
812
|
+
planner_model_id?: string | null;
|
|
813
|
+
};
|
|
814
|
+
export type CustomToolkitResponse2 = {
|
|
815
|
+
id: string;
|
|
816
|
+
name: string;
|
|
817
|
+
description?: string | null;
|
|
818
|
+
avatar?: string | null;
|
|
819
|
+
visibility_level: string;
|
|
820
|
+
creator_name: string | null;
|
|
821
|
+
toolkit_type?: ToolkitType | null;
|
|
822
|
+
tools: CustomToolkitToolResponse[];
|
|
823
|
+
secret_id?: string | null;
|
|
824
|
+
secrets?: string[] | null;
|
|
825
|
+
is_usable_by_others: boolean;
|
|
826
|
+
url?: string | null;
|
|
827
|
+
};
|
|
828
|
+
export type AgentToolsResponse2 = {
|
|
829
|
+
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
830
|
+
custom_toolkits?: CustomToolkitResponse2[];
|
|
831
|
+
mcp_toolkits?: ToolkitMcpResponse[];
|
|
832
|
+
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
833
|
+
};
|
|
834
|
+
export type AgentVersionResponse2 = {
|
|
835
|
+
/** System prompt for the agent version */
|
|
836
|
+
system_prompt: string;
|
|
837
|
+
/** Whether detail mode is enabled for responses */
|
|
838
|
+
detail_mode: boolean;
|
|
839
|
+
/** Whether version is internal-only */
|
|
840
|
+
is_internal: boolean;
|
|
841
|
+
/** Agent execution mode (autonomous, orchestrator, etc.) */
|
|
842
|
+
mode: AgentMode;
|
|
843
|
+
/** Memory type used by the agent */
|
|
844
|
+
memory: string;
|
|
845
|
+
/** Version status (draft, published, archived) */
|
|
846
|
+
status: AgentVersionStatus;
|
|
847
|
+
/** Sequential version number */
|
|
848
|
+
version_number: number;
|
|
849
|
+
/** Whether this is the recommended version for use */
|
|
850
|
+
is_recommended: boolean;
|
|
851
|
+
/** Whether this is the most recent version */
|
|
852
|
+
is_latest: boolean;
|
|
853
|
+
/** Base version ID used for creating this version */
|
|
854
|
+
base_version_id?: string | null;
|
|
855
|
+
/** Original agent version ID if this is a fork */
|
|
856
|
+
origin_fork_id?: string | null;
|
|
857
|
+
/** LLM model ID used by this version */
|
|
858
|
+
model_id?: string | null;
|
|
859
|
+
/** LLM model name used by this version */
|
|
860
|
+
model_name?: string | null;
|
|
861
|
+
/** Suggested conversation starters */
|
|
862
|
+
conversation_starter?: string[] | null;
|
|
863
|
+
/** JSON schema for structured output format */
|
|
864
|
+
structured_output?: string | null;
|
|
865
|
+
planner_type?: PlannerType | null;
|
|
866
|
+
/** Maximum number of LLM interactions */
|
|
867
|
+
max_llm_interactions?: number | null;
|
|
868
|
+
/** Default LLM planner model ID */
|
|
869
|
+
planner_model_id?: string | null;
|
|
870
|
+
/** Default LLM planner model name */
|
|
871
|
+
planner_model_name?: string | null;
|
|
872
|
+
/** Knowledge sources configuration for RAG capabilities */
|
|
873
|
+
knowledge_sources_config?: KnowledgeSourcesConfigResponse2 | null;
|
|
874
|
+
/** List of tools (builtin) assigned to this version */
|
|
875
|
+
toolkits?: AgentToolsResponse2;
|
|
876
|
+
/** LLM-specific settings for this version */
|
|
877
|
+
settings?: LlmSettingsResponse[];
|
|
878
|
+
/** Available LLM models for this version */
|
|
879
|
+
available_llm_models?: AgentLlmModelResponse[];
|
|
880
|
+
/** Username of version creator */
|
|
881
|
+
created_by?: string | null;
|
|
882
|
+
/** Version creation timestamp */
|
|
883
|
+
created_at?: string | null;
|
|
884
|
+
/** Username of last updater */
|
|
885
|
+
updated_by?: string | null;
|
|
886
|
+
/** Last update timestamp */
|
|
887
|
+
updated_at?: string | null;
|
|
888
|
+
};
|
|
889
|
+
export type AgentCoreWithSingleVersionResponse = {
|
|
890
|
+
/** Agent core unique identifier (ULID format) */
|
|
891
|
+
id: string;
|
|
892
|
+
/** Agent display name */
|
|
893
|
+
name: string;
|
|
894
|
+
/** Agent unique slug for URL-friendly identification */
|
|
895
|
+
slug: string;
|
|
896
|
+
/** Agent core type */
|
|
897
|
+
"type": string;
|
|
898
|
+
/** Whether agent is use-only (hides implementation) */
|
|
899
|
+
use_only: boolean;
|
|
900
|
+
/** Detailed description of the agent's purpose and capabilities */
|
|
901
|
+
description?: string | null;
|
|
902
|
+
/** URL or path to agent's avatar image */
|
|
903
|
+
avatar?: string | null;
|
|
904
|
+
/** Agent visibility level (PERSONAL, WORKSPACE, ORGANIZATION, PUBLIC) */
|
|
905
|
+
visibility_level: string;
|
|
906
|
+
/** Specific or recommend version associated with this agent core */
|
|
907
|
+
version: AgentVersionResponse2;
|
|
908
|
+
/** Whether the current user has marked this agent as favorite */
|
|
909
|
+
is_favorite?: boolean;
|
|
910
|
+
/** Whether this agent was recently used by the current user */
|
|
911
|
+
is_recently_used?: boolean;
|
|
912
|
+
/** Username or identifier of the user who created this agent */
|
|
913
|
+
created_by?: string | null;
|
|
914
|
+
/** Timestamp when the agent was created (ISO 8601 format) */
|
|
915
|
+
created_at?: string | null;
|
|
916
|
+
/** Username or identifier of the user who last updated this agent */
|
|
917
|
+
updated_by?: string | null;
|
|
918
|
+
/** Timestamp of the last update (ISO 8601 format) */
|
|
919
|
+
updated_at?: string | null;
|
|
551
920
|
};
|
|
552
921
|
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
553
|
-
export type
|
|
922
|
+
export type ListAgentRequestV4 = {
|
|
554
923
|
/** Agent name to filter the list */
|
|
555
924
|
name?: string | null;
|
|
556
925
|
/** Agent slug to filter the list */
|
|
@@ -576,7 +945,7 @@ export type AgentResponseV3 = {
|
|
|
576
945
|
slug: string;
|
|
577
946
|
created_by: string | null;
|
|
578
947
|
created_at: string | null;
|
|
579
|
-
visibility_level:
|
|
948
|
+
visibility_level: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
580
949
|
avatar: string | null;
|
|
581
950
|
suggested_prompts: string[] | null;
|
|
582
951
|
knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
|
|
@@ -586,11 +955,35 @@ export type AgentResponseV3 = {
|
|
|
586
955
|
creator_name?: string;
|
|
587
956
|
is_favorite?: boolean;
|
|
588
957
|
is_recently_used?: boolean;
|
|
958
|
+
version_number: number;
|
|
959
|
+
status: AgentVersionStatus;
|
|
960
|
+
is_recommended: boolean;
|
|
589
961
|
};
|
|
590
962
|
export type PaginatedResponseAgentResponseV3 = {
|
|
591
963
|
total_pages: number;
|
|
592
964
|
items: AgentResponseV3[];
|
|
593
965
|
};
|
|
966
|
+
export type ListAgentVersionResponse2 = {
|
|
967
|
+
version_number: number;
|
|
968
|
+
status: AgentVersionStatus;
|
|
969
|
+
is_recommended: boolean;
|
|
970
|
+
};
|
|
971
|
+
export type ListAgentCoreResponse = {
|
|
972
|
+
id: string;
|
|
973
|
+
name: string;
|
|
974
|
+
slug: string;
|
|
975
|
+
visibility_level: string;
|
|
976
|
+
avatar: string | null;
|
|
977
|
+
created_by: string | null;
|
|
978
|
+
created_at: string | null;
|
|
979
|
+
is_favorite?: boolean;
|
|
980
|
+
is_recently_used?: boolean;
|
|
981
|
+
version: ListAgentVersionResponse2;
|
|
982
|
+
};
|
|
983
|
+
export type PaginatedResponseListAgentCoreResponse = {
|
|
984
|
+
total_pages: number;
|
|
985
|
+
items: ListAgentCoreResponse[];
|
|
986
|
+
};
|
|
594
987
|
export type InternalListToolkitsRequest = {
|
|
595
988
|
/** List of toolkit IDs to retrieve */
|
|
596
989
|
toolkit_ids: string[];
|
|
@@ -824,24 +1217,12 @@ export declare function listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost({
|
|
|
824
1217
|
authorization: string;
|
|
825
1218
|
listAgentsUsingToolsRequest: ListAgentsUsingToolsRequest;
|
|
826
1219
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentUsingToolsResponse[]>;
|
|
827
|
-
/**
|
|
828
|
-
* Assign Tools
|
|
829
|
-
*/
|
|
830
|
-
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
|
|
831
|
-
agentId: string;
|
|
832
|
-
isPublic?: boolean;
|
|
833
|
-
xAccountId?: string | null;
|
|
834
|
-
xUsername?: string | null;
|
|
835
|
-
xUserId?: string | null;
|
|
836
|
-
xUserFullName?: string | null;
|
|
837
|
-
authorization: string;
|
|
838
|
-
assignToolsToAgentRequest: AssignToolsToAgentRequest;
|
|
839
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
840
1220
|
/**
|
|
841
1221
|
* List Tools
|
|
842
1222
|
*/
|
|
843
|
-
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1223
|
+
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
844
1224
|
agentId: string;
|
|
1225
|
+
versionNumber?: number | null;
|
|
845
1226
|
isPublic?: boolean;
|
|
846
1227
|
xAccountId?: string | null;
|
|
847
1228
|
xUsername?: string | null;
|
|
@@ -849,24 +1230,13 @@ export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xA
|
|
|
849
1230
|
xUserFullName?: string | null;
|
|
850
1231
|
authorization: string;
|
|
851
1232
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolsResponse>;
|
|
852
|
-
/**
|
|
853
|
-
* Delete Tools
|
|
854
|
-
*/
|
|
855
|
-
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
856
|
-
agentId: string;
|
|
857
|
-
isPublic?: boolean;
|
|
858
|
-
xAccountId?: string | null;
|
|
859
|
-
xUsername?: string | null;
|
|
860
|
-
xUserId?: string | null;
|
|
861
|
-
xUserFullName?: string | null;
|
|
862
|
-
authorization: string;
|
|
863
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
864
1233
|
/**
|
|
865
1234
|
* List Tools By Agent For Schema
|
|
866
1235
|
*/
|
|
867
|
-
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1236
|
+
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
868
1237
|
agentId: string;
|
|
869
1238
|
schema: SchemaEnum;
|
|
1239
|
+
versionNumber?: number | null;
|
|
870
1240
|
isPublic?: boolean;
|
|
871
1241
|
xAccountId?: string | null;
|
|
872
1242
|
xUsername?: string | null;
|
|
@@ -918,9 +1288,9 @@ export declare function createAgentV1AgentsPost({ isPublic, xAccountId, xUsernam
|
|
|
918
1288
|
newAgentRequest: NewAgentRequest;
|
|
919
1289
|
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
920
1290
|
/**
|
|
921
|
-
* Search Agents
|
|
1291
|
+
* Search Agents By Ids
|
|
922
1292
|
*/
|
|
923
|
-
export declare function
|
|
1293
|
+
export declare function searchAgentsByIdsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
924
1294
|
xAccountId?: string | null;
|
|
925
1295
|
xUsername?: string | null;
|
|
926
1296
|
xUserId?: string | null;
|
|
@@ -990,15 +1360,16 @@ export declare function listMultiAgentsV1AgentsMultiAgentsGet({ name, slug, visi
|
|
|
990
1360
|
/**
|
|
991
1361
|
* Get Agent
|
|
992
1362
|
*/
|
|
993
|
-
export declare function getAgentV1AgentsAgentIdGet({ agentId, details, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1363
|
+
export declare function getAgentV1AgentsAgentIdGet({ agentId, details, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
994
1364
|
agentId: string;
|
|
995
1365
|
details?: boolean;
|
|
1366
|
+
versionNumber?: number | null;
|
|
996
1367
|
xAccountId?: string | null;
|
|
997
1368
|
xUsername?: string | null;
|
|
998
1369
|
xUserId?: string | null;
|
|
999
1370
|
xUserFullName?: string | null;
|
|
1000
1371
|
authorization: string;
|
|
1001
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1372
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FindByIdAgentResponse>;
|
|
1002
1373
|
/**
|
|
1003
1374
|
* Update Agent
|
|
1004
1375
|
*/
|
|
@@ -1115,6 +1486,67 @@ export declare function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({
|
|
|
1115
1486
|
xUserFullName?: string | null;
|
|
1116
1487
|
authorization: string;
|
|
1117
1488
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Create Version
|
|
1491
|
+
*/
|
|
1492
|
+
export declare function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization, createVersionRequest }: {
|
|
1493
|
+
agentCoreId: string;
|
|
1494
|
+
xAccountId?: string | null;
|
|
1495
|
+
xUsername?: string | null;
|
|
1496
|
+
xUserId?: string | null;
|
|
1497
|
+
xUserFullName?: string | null;
|
|
1498
|
+
authorization: string;
|
|
1499
|
+
createVersionRequest: CreateVersionRequest;
|
|
1500
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateVersionResponse>;
|
|
1501
|
+
/**
|
|
1502
|
+
* List Versions Of Agent Core
|
|
1503
|
+
*/
|
|
1504
|
+
export declare function listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1505
|
+
agentCoreId: string;
|
|
1506
|
+
xAccountId?: string | null;
|
|
1507
|
+
xUsername?: string | null;
|
|
1508
|
+
xUserId?: string | null;
|
|
1509
|
+
xUserFullName?: string | null;
|
|
1510
|
+
authorization: string;
|
|
1511
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentVersionResponse[]>;
|
|
1512
|
+
/**
|
|
1513
|
+
* Delete Version
|
|
1514
|
+
*/
|
|
1515
|
+
export declare function deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete({ agentCoreId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1516
|
+
agentCoreId: string;
|
|
1517
|
+
versionNumber: number;
|
|
1518
|
+
isPublic?: boolean;
|
|
1519
|
+
xAccountId?: string | null;
|
|
1520
|
+
xUsername?: string | null;
|
|
1521
|
+
xUserId?: string | null;
|
|
1522
|
+
xUserFullName?: string | null;
|
|
1523
|
+
authorization: string;
|
|
1524
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1525
|
+
/**
|
|
1526
|
+
* Patch Version Recommended
|
|
1527
|
+
*/
|
|
1528
|
+
export declare function patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1529
|
+
agentCoreId: string;
|
|
1530
|
+
versionNumber: number;
|
|
1531
|
+
xAccountId?: string | null;
|
|
1532
|
+
xUsername?: string | null;
|
|
1533
|
+
xUserId?: string | null;
|
|
1534
|
+
xUserFullName?: string | null;
|
|
1535
|
+
authorization: string;
|
|
1536
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentVersionResponse>;
|
|
1537
|
+
/**
|
|
1538
|
+
* Fork Agent Version
|
|
1539
|
+
*/
|
|
1540
|
+
export declare function forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization, forkAgentRequest }: {
|
|
1541
|
+
agentCoreId: string;
|
|
1542
|
+
versionNumber: number;
|
|
1543
|
+
xAccountId?: string | null;
|
|
1544
|
+
xUsername?: string | null;
|
|
1545
|
+
xUserId?: string | null;
|
|
1546
|
+
xUserFullName?: string | null;
|
|
1547
|
+
authorization: string;
|
|
1548
|
+
forkAgentRequest: ForkAgentRequest;
|
|
1549
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ForkedAgentCoreAndVersionResponse>;
|
|
1118
1550
|
/**
|
|
1119
1551
|
* List Agents
|
|
1120
1552
|
*/
|
|
@@ -1130,22 +1562,60 @@ export declare function listAgentsV2AgentsGet({ name, slug, visibility, size, pa
|
|
|
1130
1562
|
xUserFullName?: string | null;
|
|
1131
1563
|
authorization: string;
|
|
1132
1564
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Create Agent
|
|
1567
|
+
*/
|
|
1568
|
+
export declare function createAgentV2AgentsPost({ isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, newAgentRequestV2 }: {
|
|
1569
|
+
isPublic?: boolean;
|
|
1570
|
+
xAccountId?: string | null;
|
|
1571
|
+
xUsername?: string | null;
|
|
1572
|
+
xUserId?: string | null;
|
|
1573
|
+
xUserFullName?: string | null;
|
|
1574
|
+
authorization: string;
|
|
1575
|
+
newAgentRequestV2: NewAgentRequestV2;
|
|
1576
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
1133
1577
|
/**
|
|
1134
1578
|
* Search Agents
|
|
1135
1579
|
*/
|
|
1136
|
-
export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
1580
|
+
export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequestV2 }: {
|
|
1137
1581
|
xAccountId?: string | null;
|
|
1138
1582
|
xUsername?: string | null;
|
|
1139
1583
|
xUserId?: string | null;
|
|
1140
1584
|
xUserFullName?: string | null;
|
|
1141
1585
|
authorization: string;
|
|
1142
|
-
|
|
1586
|
+
searchAgentsRequestV2: SearchAgentsRequestV2;
|
|
1143
1587
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Update Agent
|
|
1590
|
+
*/
|
|
1591
|
+
export declare function updateAgentV2AgentsAgentIdPatch({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, updateAgentRequestV2 }: {
|
|
1592
|
+
agentId: string;
|
|
1593
|
+
isPublic?: boolean;
|
|
1594
|
+
xAccountId?: string | null;
|
|
1595
|
+
xUsername?: string | null;
|
|
1596
|
+
xUserId?: string | null;
|
|
1597
|
+
xUserFullName?: string | null;
|
|
1598
|
+
authorization: string;
|
|
1599
|
+
updateAgentRequestV2: UpdateAgentRequestV2;
|
|
1600
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1601
|
+
/**
|
|
1602
|
+
* Find By Agent Core Id
|
|
1603
|
+
*/
|
|
1604
|
+
export declare function findByAgentCoreIdV2AgentsAgentCoreIdGet({ agentCoreId, versionNumber, returnAllVersions, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1605
|
+
agentCoreId: string;
|
|
1606
|
+
versionNumber?: number | null;
|
|
1607
|
+
returnAllVersions?: boolean | null;
|
|
1608
|
+
xAccountId?: string | null;
|
|
1609
|
+
xUsername?: string | null;
|
|
1610
|
+
xUserId?: string | null;
|
|
1611
|
+
xUserFullName?: string | null;
|
|
1612
|
+
authorization: string;
|
|
1613
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentCoreWithSingleVersionResponse>;
|
|
1144
1614
|
/**
|
|
1145
1615
|
* List Agents
|
|
1146
1616
|
*/
|
|
1147
1617
|
export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1148
|
-
filters:
|
|
1618
|
+
filters: ListAgentRequestV4;
|
|
1149
1619
|
isPublic?: boolean;
|
|
1150
1620
|
xAccountId?: string | null;
|
|
1151
1621
|
xUsername?: string | null;
|
|
@@ -1153,6 +1623,18 @@ export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, x
|
|
|
1153
1623
|
xUserFullName?: string | null;
|
|
1154
1624
|
authorization: string;
|
|
1155
1625
|
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseAgentResponseV3>;
|
|
1626
|
+
/**
|
|
1627
|
+
* List Agent Core with all versions
|
|
1628
|
+
*/
|
|
1629
|
+
export declare function listAgentsV4AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1630
|
+
filters: ListAgentRequestV4;
|
|
1631
|
+
isPublic?: boolean;
|
|
1632
|
+
xAccountId?: string | null;
|
|
1633
|
+
xUsername?: string | null;
|
|
1634
|
+
xUserId?: string | null;
|
|
1635
|
+
xUserFullName?: string | null;
|
|
1636
|
+
authorization: string;
|
|
1637
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseListAgentCoreResponse>;
|
|
1156
1638
|
/**
|
|
1157
1639
|
* Internal List Toolkits By Ids
|
|
1158
1640
|
*/
|