@stack-spot/portal-network 1.0.0-dev.1768593954453 → 1.0.0-dev.1768944806600
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/agent-tools.d.ts +154 -616
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +45 -168
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +2 -3
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +2 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/workspace-ai.d.ts +0 -41
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +0 -34
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/client/agent-tools.d.ts +3 -130
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +2 -105
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +1 -72
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +6 -71
- package/dist/client/ai.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +4 -15
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +3 -17
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +0 -1
- package/src/api/agent-tools.ts +199 -815
- package/src/api/ai.ts +3 -3
- package/src/api/workspace-ai.ts +0 -83
- package/src/client/agent-tools.ts +2 -55
- package/src/client/ai.ts +6 -42
- package/src/client/workspace-ai.ts +7 -23
|
@@ -76,7 +76,7 @@ export type CustomToolkitToolResponse = {
|
|
|
76
76
|
}[] | null;
|
|
77
77
|
request_body?: {
|
|
78
78
|
[key: string]: any;
|
|
79
|
-
} | null;
|
|
79
|
+
} | any[] | null;
|
|
80
80
|
response_transformation?: string | null;
|
|
81
81
|
creator_name?: string | null;
|
|
82
82
|
};
|
|
@@ -170,18 +170,15 @@ export type AgentUsingToolsResponse = {
|
|
|
170
170
|
name: string;
|
|
171
171
|
avatar?: string | null;
|
|
172
172
|
};
|
|
173
|
-
export type
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
parameters: {
|
|
177
|
-
[key: string]: any;
|
|
178
|
-
};
|
|
179
|
-
strict?: boolean;
|
|
173
|
+
export type AssignCustomToolsAgentRequest = {
|
|
174
|
+
toolkit_id: string;
|
|
175
|
+
tools_ids: string[];
|
|
180
176
|
};
|
|
181
|
-
export type
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
177
|
+
export type AssignToolsToAgentRequest = {
|
|
178
|
+
builtin_tool_ids?: string[] | null;
|
|
179
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
180
|
+
sub_agents_ids?: string[] | null;
|
|
181
|
+
mcp_toolkit_ids?: string[] | null;
|
|
185
182
|
};
|
|
186
183
|
export type ToolkitMcpResponse = {
|
|
187
184
|
id?: string | null;
|
|
@@ -193,20 +190,11 @@ export type ToolkitMcpResponse = {
|
|
|
193
190
|
secrets?: string[] | null;
|
|
194
191
|
url?: string | null;
|
|
195
192
|
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;
|
|
204
193
|
};
|
|
205
194
|
export type AgentToolsResponse = {
|
|
206
195
|
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
207
196
|
custom_toolkits?: CustomToolkitResponse[];
|
|
208
197
|
mcp_toolkits?: ToolkitMcpResponse[];
|
|
209
|
-
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
210
198
|
};
|
|
211
199
|
export type SchemaEnum = "OPENAI";
|
|
212
200
|
export type FunctionParameter = {
|
|
@@ -225,7 +213,7 @@ export type FunctionParameter = {
|
|
|
225
213
|
/** Allow arbitrary data of specific typed */
|
|
226
214
|
additionalProperties?: boolean;
|
|
227
215
|
};
|
|
228
|
-
export type
|
|
216
|
+
export type Function = {
|
|
229
217
|
/** The name of the function */
|
|
230
218
|
name: string;
|
|
231
219
|
/** A description of what the function does */
|
|
@@ -241,7 +229,7 @@ export type OpenAiTool = {
|
|
|
241
229
|
/** The type of the tool; must be 'function' */
|
|
242
230
|
"type": "function";
|
|
243
231
|
/** The function associated with this tool */
|
|
244
|
-
"function":
|
|
232
|
+
"function": Function;
|
|
245
233
|
};
|
|
246
234
|
export type ExecuteAgentToolRequest = {
|
|
247
235
|
arguments?: string | null;
|
|
@@ -259,7 +247,6 @@ export type KnowledgeSourcesConfig = {
|
|
|
259
247
|
similarity_function?: string;
|
|
260
248
|
post_processing?: boolean;
|
|
261
249
|
};
|
|
262
|
-
export type AgentVersionStatus = "draft" | "published" | "deprecated";
|
|
263
250
|
export type ListAgentResponse = {
|
|
264
251
|
id: string;
|
|
265
252
|
name: string;
|
|
@@ -270,9 +257,6 @@ export type ListAgentResponse = {
|
|
|
270
257
|
avatar: string | null;
|
|
271
258
|
suggested_prompts: string[] | null;
|
|
272
259
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
273
|
-
version_number: number;
|
|
274
|
-
status: AgentVersionStatus;
|
|
275
|
-
is_recommended: boolean;
|
|
276
260
|
has_multiagent_tool?: boolean;
|
|
277
261
|
"type"?: string;
|
|
278
262
|
system_prompt?: string;
|
|
@@ -288,12 +272,8 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
288
272
|
knowledge_sources?: string[] | null;
|
|
289
273
|
sealed?: boolean | null;
|
|
290
274
|
};
|
|
291
|
-
export type AssignCustomToolsAgentRequest = {
|
|
292
|
-
toolkit_id: string;
|
|
293
|
-
tools_ids: string[];
|
|
294
|
-
};
|
|
295
275
|
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
296
|
-
export type AgentMemory = "vector" | "buffer";
|
|
276
|
+
export type AgentMemory = "vector" | "buffer" | "summary";
|
|
297
277
|
export type PlannerType = "simple" | "tool_oriented";
|
|
298
278
|
export type NewAgentRequest = {
|
|
299
279
|
/** LLM model name */
|
|
@@ -319,7 +299,6 @@ export type NewAgentRequest = {
|
|
|
319
299
|
/** Custom tools to assign to the agent */
|
|
320
300
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
321
301
|
mcp_toolkit_ids?: string[] | null;
|
|
322
|
-
/** Multi-agents assignment to the agent */
|
|
323
302
|
sub_agents_ids?: string[] | null;
|
|
324
303
|
detail_mode?: boolean;
|
|
325
304
|
structured_output?: string | null;
|
|
@@ -336,21 +315,13 @@ export type NewAgentRequest = {
|
|
|
336
315
|
planner_type?: PlannerType | null;
|
|
337
316
|
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
338
317
|
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;
|
|
343
318
|
};
|
|
344
319
|
export type SearchAgentsRequest = {
|
|
345
320
|
/** Agent ids to filter for */
|
|
346
321
|
ids: string[];
|
|
347
322
|
};
|
|
348
|
-
export type AssignMultiAgentVersionRequest = {
|
|
349
|
-
agent_core_id: string;
|
|
350
|
-
version_number?: number | null;
|
|
351
|
-
};
|
|
352
323
|
export type WorkspaceForkRequest = {
|
|
353
|
-
|
|
324
|
+
agent_ids: string[];
|
|
354
325
|
member_id: string;
|
|
355
326
|
};
|
|
356
327
|
export type AgentItemFork = {
|
|
@@ -390,7 +361,7 @@ export type ListMultiAgentsResponse = {
|
|
|
390
361
|
visibility_level: VisibilityLevelEnum;
|
|
391
362
|
has_multiagent_tool: boolean;
|
|
392
363
|
};
|
|
393
|
-
export type
|
|
364
|
+
export type KnowledgeSourceDetails = {
|
|
394
365
|
id: string;
|
|
395
366
|
slug: string;
|
|
396
367
|
name: string;
|
|
@@ -398,103 +369,140 @@ export type KnowledgeSourceDetailsResponse = {
|
|
|
398
369
|
"type": string;
|
|
399
370
|
creator?: string | null;
|
|
400
371
|
"default": boolean;
|
|
401
|
-
visibility_level:
|
|
372
|
+
visibility_level: VisibilityLevelEnum;
|
|
402
373
|
model_name: string;
|
|
403
374
|
username?: string | null;
|
|
404
375
|
};
|
|
405
|
-
export type
|
|
406
|
-
|
|
376
|
+
export type KnowledgeSourceConfigModel = {
|
|
377
|
+
similarity_function: SimilarityFunctionEnum;
|
|
407
378
|
max_number_of_kos: number;
|
|
408
379
|
relevancy_threshold: number;
|
|
409
|
-
similarity_function: string;
|
|
410
380
|
post_processing: boolean;
|
|
381
|
+
knowledge_sources: string[];
|
|
382
|
+
knowledge_sources_details: KnowledgeSourceDetails[];
|
|
411
383
|
sealed: boolean;
|
|
412
|
-
knowledge_sources_details?: KnowledgeSourceDetailsResponse[] | null;
|
|
413
384
|
created_by?: string | null;
|
|
414
385
|
created_at?: string | null;
|
|
415
386
|
updated_by?: string | null;
|
|
416
387
|
updated_at?: string | null;
|
|
417
388
|
};
|
|
418
|
-
export type
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
389
|
+
export type BuiltinToolDto = {
|
|
390
|
+
id: string;
|
|
391
|
+
name: string;
|
|
392
|
+
description: string;
|
|
393
|
+
toolkit_id: string;
|
|
394
|
+
};
|
|
395
|
+
export type BuiltinToolkitDto = {
|
|
396
|
+
id: string;
|
|
397
|
+
name: string;
|
|
398
|
+
description: string;
|
|
399
|
+
image_url: string;
|
|
400
|
+
tools: BuiltinToolDto[];
|
|
401
|
+
};
|
|
402
|
+
export type CustomToolkitToolDto = {
|
|
403
|
+
id: string;
|
|
404
|
+
name: string;
|
|
405
|
+
description: string;
|
|
406
|
+
method: string;
|
|
407
|
+
url: string;
|
|
408
|
+
parameters?: {
|
|
409
|
+
[key: string]: any;
|
|
410
|
+
}[] | null;
|
|
411
|
+
request_body?: {
|
|
412
|
+
[key: string]: any;
|
|
413
|
+
} | null;
|
|
414
|
+
response_transformation?: string | null;
|
|
415
|
+
creator_name?: string | null;
|
|
416
|
+
};
|
|
417
|
+
export type CustomToolkitDto = {
|
|
418
|
+
id: string;
|
|
419
|
+
name: string;
|
|
420
|
+
description: string | null;
|
|
421
|
+
avatar: string | null;
|
|
422
|
+
tools: CustomToolkitToolDto[];
|
|
423
|
+
secrets: string[] | null;
|
|
424
|
+
visibility_level: VisibilityLevelEnum;
|
|
425
|
+
creator_name: string;
|
|
426
|
+
created_by: string;
|
|
427
|
+
is_usable_by_others: boolean;
|
|
428
|
+
url: string | null;
|
|
429
|
+
toolkit_type: ToolkitType | null;
|
|
430
|
+
};
|
|
431
|
+
export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
|
|
432
|
+
export type SecretDto = {
|
|
433
|
+
id: string;
|
|
434
|
+
scope?: SecretScope | null;
|
|
435
|
+
};
|
|
436
|
+
export type Function2 = {
|
|
437
|
+
name: string;
|
|
438
|
+
description: string;
|
|
439
|
+
parameters: {
|
|
440
|
+
[key: string]: any;
|
|
441
|
+
};
|
|
442
|
+
strict?: boolean;
|
|
422
443
|
};
|
|
423
|
-
export type
|
|
444
|
+
export type ToolkitMcpdto = {
|
|
445
|
+
secrets: SecretDto[] | null;
|
|
446
|
+
name: string;
|
|
447
|
+
description?: string | null;
|
|
448
|
+
avatar?: string | null;
|
|
449
|
+
visibility_level?: VisibilityLevelEnum;
|
|
450
|
+
id?: string | null;
|
|
451
|
+
url?: string | null;
|
|
452
|
+
tools?: Function2[] | null;
|
|
453
|
+
/** Toolkit type */
|
|
454
|
+
toolkit_type?: ToolkitType | null;
|
|
455
|
+
};
|
|
456
|
+
export type AgentToolsDto = {
|
|
457
|
+
builtin_toolkits?: BuiltinToolkitDto[];
|
|
458
|
+
custom_toolkits?: CustomToolkitDto[];
|
|
459
|
+
mcp_toolkits?: ToolkitMcpdto[];
|
|
460
|
+
};
|
|
461
|
+
export type LlmSettingsModel = {
|
|
462
|
+
property_key?: string | null;
|
|
463
|
+
property_value?: string | null;
|
|
464
|
+
property_type?: string | null;
|
|
465
|
+
agent_id: string;
|
|
466
|
+
created_by?: string | null;
|
|
467
|
+
created_at?: string | null;
|
|
468
|
+
updated_by?: string | null;
|
|
469
|
+
updated_at?: string | null;
|
|
470
|
+
};
|
|
471
|
+
export type AgentLlmModelDto = {
|
|
424
472
|
model_id: string;
|
|
425
473
|
model_name: string;
|
|
426
|
-
is_default
|
|
474
|
+
is_default?: boolean;
|
|
427
475
|
};
|
|
428
|
-
export type
|
|
429
|
-
/** Agent core ID */
|
|
476
|
+
export type AgentModel = {
|
|
430
477
|
id: string;
|
|
431
|
-
/** Agent name */
|
|
432
478
|
name: string;
|
|
433
|
-
/** Agent unique slug */
|
|
434
479
|
slug: string;
|
|
435
|
-
/** Agent description */
|
|
436
480
|
description?: string | null;
|
|
437
|
-
|
|
438
|
-
avatar?: string | null;
|
|
439
|
-
/** Agent visibility level */
|
|
481
|
+
system_prompt: string;
|
|
440
482
|
visibility_level: string;
|
|
441
|
-
|
|
483
|
+
avatar?: string | null;
|
|
442
484
|
"type": string;
|
|
443
|
-
|
|
485
|
+
conversation_starter?: string[] | null;
|
|
444
486
|
use_only: boolean;
|
|
445
|
-
/** Whether agent is internal */
|
|
446
|
-
is_internal: boolean;
|
|
447
|
-
/** Whether detail mode is enabled */
|
|
448
487
|
detail_mode: boolean;
|
|
449
|
-
/** Agent execution mode */
|
|
450
488
|
mode: AgentMode;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
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 */
|
|
489
|
+
structured_output?: {
|
|
490
|
+
[key: string]: any;
|
|
491
|
+
} | null;
|
|
464
492
|
model_id?: string | null;
|
|
465
|
-
/** Default LLM model name */
|
|
466
493
|
model_name?: string | null;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
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 */
|
|
494
|
+
knowledge_sources_config?: KnowledgeSourceConfigModel | null;
|
|
495
|
+
toolkits?: AgentToolsDto | null;
|
|
496
|
+
settings?: LlmSettingsModel[];
|
|
497
|
+
is_sub_agent?: boolean | null;
|
|
491
498
|
created_by?: string | null;
|
|
492
|
-
/** Creation timestamp */
|
|
493
499
|
created_at?: string | null;
|
|
494
|
-
/** Last updater username */
|
|
495
500
|
updated_by?: string | null;
|
|
496
|
-
/** Last update timestamp */
|
|
497
501
|
updated_at?: string | null;
|
|
502
|
+
available_llm_models?: AgentLlmModelDto[];
|
|
503
|
+
memory?: AgentMemory;
|
|
504
|
+
planner_type?: PlannerType | null;
|
|
505
|
+
max_llm_interactions?: number | null;
|
|
498
506
|
};
|
|
499
507
|
export type UpdateAgentRequest = {
|
|
500
508
|
use_only?: boolean | null;
|
|
@@ -512,15 +520,12 @@ export type UpdateAgentRequest = {
|
|
|
512
520
|
avatar?: string | null;
|
|
513
521
|
/** Agent suggested prompt */
|
|
514
522
|
suggested_prompts?: string[];
|
|
515
|
-
/** agent status */
|
|
516
|
-
status?: AgentVersionStatus | null;
|
|
517
523
|
/** System prompt */
|
|
518
524
|
system_prompt?: string | null;
|
|
519
525
|
/** Agent type */
|
|
520
526
|
"type"?: AgentType | null;
|
|
521
527
|
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
522
528
|
builtin_tools_ids?: string[];
|
|
523
|
-
/** Multi-agents assignment to the agent */
|
|
524
529
|
sub_agents_ids?: string[];
|
|
525
530
|
/** Custom tools to assign to the agent */
|
|
526
531
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
@@ -540,10 +545,6 @@ export type UpdateAgentRequest = {
|
|
|
540
545
|
planner_type?: PlannerType;
|
|
541
546
|
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
542
547
|
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;
|
|
547
548
|
};
|
|
548
549
|
export type ForkAgentRequest = {
|
|
549
550
|
/** Agent slug to fork */
|
|
@@ -553,144 +554,6 @@ export type ForkAgentRequest = {
|
|
|
553
554
|
export type PublishAgentRequest = {
|
|
554
555
|
use_only?: boolean;
|
|
555
556
|
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;
|
|
694
557
|
};
|
|
695
558
|
export type ListAgentResponseV2 = {
|
|
696
559
|
id: string;
|
|
@@ -701,225 +564,13 @@ export type ListAgentResponseV2 = {
|
|
|
701
564
|
visibility_level: string;
|
|
702
565
|
avatar: string | null;
|
|
703
566
|
conversation_starter: string[] | null;
|
|
704
|
-
knowledge_sources_config:
|
|
567
|
+
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
705
568
|
"type"?: string;
|
|
706
569
|
system_prompt?: string;
|
|
707
570
|
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;
|
|
920
571
|
};
|
|
921
572
|
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
922
|
-
export type
|
|
573
|
+
export type ListAgentRequestV3 = {
|
|
923
574
|
/** Agent name to filter the list */
|
|
924
575
|
name?: string | null;
|
|
925
576
|
/** Agent slug to filter the list */
|
|
@@ -945,7 +596,7 @@ export type AgentResponseV3 = {
|
|
|
945
596
|
slug: string;
|
|
946
597
|
created_by: string | null;
|
|
947
598
|
created_at: string | null;
|
|
948
|
-
visibility_level:
|
|
599
|
+
visibility_level: string;
|
|
949
600
|
avatar: string | null;
|
|
950
601
|
suggested_prompts: string[] | null;
|
|
951
602
|
knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
|
|
@@ -955,35 +606,11 @@ export type AgentResponseV3 = {
|
|
|
955
606
|
creator_name?: string;
|
|
956
607
|
is_favorite?: boolean;
|
|
957
608
|
is_recently_used?: boolean;
|
|
958
|
-
version_number: number;
|
|
959
|
-
status: AgentVersionStatus;
|
|
960
|
-
is_recommended: boolean;
|
|
961
609
|
};
|
|
962
610
|
export type PaginatedResponseAgentResponseV3 = {
|
|
963
611
|
total_pages: number;
|
|
964
612
|
items: AgentResponseV3[];
|
|
965
613
|
};
|
|
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
|
-
};
|
|
987
614
|
export type InternalListToolkitsRequest = {
|
|
988
615
|
/** List of toolkit IDs to retrieve */
|
|
989
616
|
toolkit_ids: string[];
|
|
@@ -1217,12 +844,24 @@ export declare function listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost({
|
|
|
1217
844
|
authorization: string;
|
|
1218
845
|
listAgentsUsingToolsRequest: ListAgentsUsingToolsRequest;
|
|
1219
846
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentUsingToolsResponse[]>;
|
|
847
|
+
/**
|
|
848
|
+
* Assign Tools
|
|
849
|
+
*/
|
|
850
|
+
export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
|
|
851
|
+
agentId: string;
|
|
852
|
+
isPublic?: boolean;
|
|
853
|
+
xAccountId?: string | null;
|
|
854
|
+
xUsername?: string | null;
|
|
855
|
+
xUserId?: string | null;
|
|
856
|
+
xUserFullName?: string | null;
|
|
857
|
+
authorization: string;
|
|
858
|
+
assignToolsToAgentRequest: AssignToolsToAgentRequest;
|
|
859
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1220
860
|
/**
|
|
1221
861
|
* List Tools
|
|
1222
862
|
*/
|
|
1223
|
-
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId,
|
|
863
|
+
export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1224
864
|
agentId: string;
|
|
1225
|
-
versionNumber?: number | null;
|
|
1226
865
|
isPublic?: boolean;
|
|
1227
866
|
xAccountId?: string | null;
|
|
1228
867
|
xUsername?: string | null;
|
|
@@ -1230,13 +869,24 @@ export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, versionNumbe
|
|
|
1230
869
|
xUserFullName?: string | null;
|
|
1231
870
|
authorization: string;
|
|
1232
871
|
}, opts?: Oazapfts.RequestOpts): Promise<AgentToolsResponse>;
|
|
872
|
+
/**
|
|
873
|
+
* Delete Tools
|
|
874
|
+
*/
|
|
875
|
+
export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
876
|
+
agentId: string;
|
|
877
|
+
isPublic?: boolean;
|
|
878
|
+
xAccountId?: string | null;
|
|
879
|
+
xUsername?: string | null;
|
|
880
|
+
xUserId?: string | null;
|
|
881
|
+
xUserFullName?: string | null;
|
|
882
|
+
authorization: string;
|
|
883
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1233
884
|
/**
|
|
1234
885
|
* List Tools By Agent For Schema
|
|
1235
886
|
*/
|
|
1236
|
-
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema,
|
|
887
|
+
export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1237
888
|
agentId: string;
|
|
1238
889
|
schema: SchemaEnum;
|
|
1239
|
-
versionNumber?: number | null;
|
|
1240
890
|
isPublic?: boolean;
|
|
1241
891
|
xAccountId?: string | null;
|
|
1242
892
|
xUsername?: string | null;
|
|
@@ -1288,9 +938,9 @@ export declare function createAgentV1AgentsPost({ isPublic, xAccountId, xUsernam
|
|
|
1288
938
|
newAgentRequest: NewAgentRequest;
|
|
1289
939
|
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
1290
940
|
/**
|
|
1291
|
-
* Search Agents
|
|
941
|
+
* Search Agents
|
|
1292
942
|
*/
|
|
1293
|
-
export declare function
|
|
943
|
+
export declare function searchAgentsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
1294
944
|
xAccountId?: string | null;
|
|
1295
945
|
xUsername?: string | null;
|
|
1296
946
|
xUserId?: string | null;
|
|
@@ -1360,16 +1010,15 @@ export declare function listMultiAgentsV1AgentsMultiAgentsGet({ name, slug, visi
|
|
|
1360
1010
|
/**
|
|
1361
1011
|
* Get Agent
|
|
1362
1012
|
*/
|
|
1363
|
-
export declare function getAgentV1AgentsAgentIdGet({ agentId, details,
|
|
1013
|
+
export declare function getAgentV1AgentsAgentIdGet({ agentId, details, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1364
1014
|
agentId: string;
|
|
1365
1015
|
details?: boolean;
|
|
1366
|
-
versionNumber?: number | null;
|
|
1367
1016
|
xAccountId?: string | null;
|
|
1368
1017
|
xUsername?: string | null;
|
|
1369
1018
|
xUserId?: string | null;
|
|
1370
1019
|
xUserFullName?: string | null;
|
|
1371
1020
|
authorization: string;
|
|
1372
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1021
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AgentModel>;
|
|
1373
1022
|
/**
|
|
1374
1023
|
* Update Agent
|
|
1375
1024
|
*/
|
|
@@ -1486,67 +1135,6 @@ export declare function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({
|
|
|
1486
1135
|
xUserFullName?: string | null;
|
|
1487
1136
|
authorization: string;
|
|
1488
1137
|
}, 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>;
|
|
1550
1138
|
/**
|
|
1551
1139
|
* List Agents
|
|
1552
1140
|
*/
|
|
@@ -1562,60 +1150,22 @@ export declare function listAgentsV2AgentsGet({ name, slug, visibility, size, pa
|
|
|
1562
1150
|
xUserFullName?: string | null;
|
|
1563
1151
|
authorization: string;
|
|
1564
1152
|
}, 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>;
|
|
1577
1153
|
/**
|
|
1578
1154
|
* Search Agents
|
|
1579
1155
|
*/
|
|
1580
|
-
export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
1156
|
+
export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
1581
1157
|
xAccountId?: string | null;
|
|
1582
1158
|
xUsername?: string | null;
|
|
1583
1159
|
xUserId?: string | null;
|
|
1584
1160
|
xUserFullName?: string | null;
|
|
1585
1161
|
authorization: string;
|
|
1586
|
-
|
|
1162
|
+
searchAgentsRequest: SearchAgentsRequest;
|
|
1587
1163
|
}, 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>;
|
|
1614
1164
|
/**
|
|
1615
1165
|
* List Agents
|
|
1616
1166
|
*/
|
|
1617
1167
|
export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1618
|
-
filters:
|
|
1168
|
+
filters: ListAgentRequestV3;
|
|
1619
1169
|
isPublic?: boolean;
|
|
1620
1170
|
xAccountId?: string | null;
|
|
1621
1171
|
xUsername?: string | null;
|
|
@@ -1623,18 +1173,6 @@ export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, x
|
|
|
1623
1173
|
xUserFullName?: string | null;
|
|
1624
1174
|
authorization: string;
|
|
1625
1175
|
}, 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>;
|
|
1638
1176
|
/**
|
|
1639
1177
|
* Internal List Toolkits By Ids
|
|
1640
1178
|
*/
|