@orq-ai/node 3.13.9 → 3.13.11
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/README.md +107 -93
- package/bin/mcp-server.js +43652 -40649
- package/bin/mcp-server.js.map +117 -98
- package/docs/sdks/agents/README.md +566 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +18 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +120 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +124 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsInvoke.d.ts +17 -0
- package/funcs/agentsInvoke.d.ts.map +1 -0
- package/funcs/agentsInvoke.js +120 -0
- package/funcs/agentsInvoke.js.map +1 -0
- package/funcs/agentsStream.d.ts +19 -0
- package/funcs/agentsStream.d.ts.map +1 -0
- package/funcs/agentsStream.js +134 -0
- package/funcs/agentsStream.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +18 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +124 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +8 -0
- package/mcp-server/tools/agentsCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsCreate.js +64 -0
- package/mcp-server/tools/agentsCreate.js.map +1 -0
- package/mcp-server/tools/agentsDelete.d.ts +8 -0
- package/mcp-server/tools/agentsDelete.d.ts.map +1 -0
- package/mcp-server/tools/agentsDelete.js +63 -0
- package/mcp-server/tools/agentsDelete.js.map +1 -0
- package/mcp-server/tools/agentsInvoke.d.ts +8 -0
- package/mcp-server/tools/agentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/agentsInvoke.js +64 -0
- package/mcp-server/tools/agentsInvoke.js.map +1 -0
- package/mcp-server/tools/agentsStream.d.ts +8 -0
- package/mcp-server/tools/agentsStream.d.ts.map +1 -0
- package/mcp-server/tools/agentsStream.js +64 -0
- package/mcp-server/tools/agentsStream.js.map +1 -0
- package/mcp-server/tools/agentsUpdate.d.ts +8 -0
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/agentsUpdate.js +64 -0
- package/mcp-server/tools/agentsUpdate.js.map +1 -0
- package/models/errors/createagent.d.ts +41 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +85 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/deleteagent.d.ts +41 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +85 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/streamagent.d.ts +41 -0
- package/models/errors/streamagent.d.ts.map +1 -0
- package/models/errors/streamagent.js +85 -0
- package/models/errors/streamagent.js.map +1 -0
- package/models/errors/updateagent.d.ts +41 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +85 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/operations/createagent.d.ts +1504 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +1530 -0
- package/models/operations/createagent.js.map +1 -0
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +20 -20
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +34 -34
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteagent.d.ts +32 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +78 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/duplicatetool.d.ts +10 -10
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +20 -20
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +44 -175
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +51 -184
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +20 -20
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +912 -0
- package/models/operations/invokeagent.d.ts.map +1 -0
- package/models/operations/invokeagent.js +824 -0
- package/models/operations/invokeagent.js.map +1 -0
- package/models/operations/listagents.d.ts +6 -137
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +5 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +2 -0
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +20 -20
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +640 -721
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +817 -928
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +676 -0
- package/models/operations/streamagent.d.ts.map +1 -0
- package/models/operations/streamagent.js +670 -0
- package/models/operations/streamagent.js.map +1 -0
- package/models/operations/streamrunagent.d.ts +567 -648
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +721 -835
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +1515 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +1576 -0
- package/models/operations/updateagent.js.map +1 -0
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.d.ts +18 -18
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +36 -36
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +103 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +297 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +7 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/errors/createagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createagent.ts +3027 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +50 -50
- package/packages/orq-rc/src/models/operations/deleteagent.ts +78 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +87 -387
- package/packages/orq-rc/src/models/operations/getalltools.ts +33 -33
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +12 -4
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -321
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +7 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/runagent.ts +1003 -1113
- package/packages/orq-rc/src/models/operations/streamagent.ts +4 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1276 -1427
- package/packages/orq-rc/src/models/operations/updateagent.ts +3239 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +56 -56
- package/packages/orq-rc/src/sdk/agents.ts +54 -0
- package/sdk/agents.d.ts +35 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +50 -0
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +172 -0
- package/src/funcs/agentsDelete.ts +176 -0
- package/src/funcs/agentsInvoke.ts +167 -0
- package/src/funcs/agentsStream.ts +191 -0
- package/src/funcs/agentsUpdate.ts +176 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/src/mcp-server/tools/agentsStream.ts +37 -0
- package/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/src/models/errors/createagent.ts +80 -0
- package/src/models/errors/deleteagent.ts +80 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/streamagent.ts +80 -0
- package/src/models/errors/updateagent.ts +80 -0
- package/src/models/operations/createagent.ts +3021 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +54 -54
- package/src/models/operations/deleteagent.ts +78 -0
- package/src/models/operations/duplicatetool.ts +30 -30
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +87 -387
- package/src/models/operations/getalltools.ts +30 -30
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/invokeagent.ts +1569 -0
- package/src/models/operations/listagents.ts +8 -321
- package/src/models/operations/listagenttasks.ts +7 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +30 -30
- package/src/models/operations/runagent.ts +1441 -1488
- package/src/models/operations/streamagent.ts +1367 -0
- package/src/models/operations/streamrunagent.ts +1542 -1657
- package/src/models/operations/updateagent.ts +3227 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +60 -60
- package/src/sdk/agents.ts +90 -0
|
@@ -0,0 +1,1515 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
7
|
+
*/
|
|
8
|
+
export declare const UpdateAgentToolApprovalRequired: {
|
|
9
|
+
readonly All: "all";
|
|
10
|
+
readonly RespectTool: "respect_tool";
|
|
11
|
+
readonly None: "none";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
15
|
+
*/
|
|
16
|
+
export type UpdateAgentToolApprovalRequired = ClosedEnum<typeof UpdateAgentToolApprovalRequired>;
|
|
17
|
+
/**
|
|
18
|
+
* Function tool type
|
|
19
|
+
*/
|
|
20
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type: {
|
|
21
|
+
readonly Function: "function";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Function tool type
|
|
25
|
+
*/
|
|
26
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
|
|
27
|
+
/**
|
|
28
|
+
* Calls custom function tools defined in the agent configuration. Must reference a pre-created function tool by key or id.
|
|
29
|
+
*/
|
|
30
|
+
export type AgentToolInputCRUDFunctionTool = {
|
|
31
|
+
/**
|
|
32
|
+
* Function tool type
|
|
33
|
+
*/
|
|
34
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type;
|
|
35
|
+
/**
|
|
36
|
+
* The key of the pre-created function tool
|
|
37
|
+
*/
|
|
38
|
+
key?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The ID of the pre-created function tool
|
|
41
|
+
*/
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Whether this tool requires approval before execution
|
|
45
|
+
*/
|
|
46
|
+
requiresApproval?: boolean | undefined;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Code execution tool type
|
|
50
|
+
*/
|
|
51
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type: {
|
|
52
|
+
readonly Code: "code";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Code execution tool type
|
|
56
|
+
*/
|
|
57
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
|
|
58
|
+
/**
|
|
59
|
+
* Executes code snippets in a sandboxed environment. Must reference a pre-created code tool by key or id.
|
|
60
|
+
*/
|
|
61
|
+
export type AgentToolInputCRUDCodeExecutionTool = {
|
|
62
|
+
/**
|
|
63
|
+
* Code execution tool type
|
|
64
|
+
*/
|
|
65
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type;
|
|
66
|
+
/**
|
|
67
|
+
* The key of the pre-created code tool
|
|
68
|
+
*/
|
|
69
|
+
key?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the pre-created code tool
|
|
72
|
+
*/
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Whether this tool requires approval before execution
|
|
76
|
+
*/
|
|
77
|
+
requiresApproval?: boolean | undefined;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* HTTP tool type
|
|
81
|
+
*/
|
|
82
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type: {
|
|
83
|
+
readonly Http: "http";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* HTTP tool type
|
|
87
|
+
*/
|
|
88
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
|
|
89
|
+
/**
|
|
90
|
+
* Executes HTTP requests to interact with external APIs and web services. Must reference a pre-created HTTP tool by key or id.
|
|
91
|
+
*/
|
|
92
|
+
export type AgentToolInputCRUDHTTPTool = {
|
|
93
|
+
/**
|
|
94
|
+
* HTTP tool type
|
|
95
|
+
*/
|
|
96
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type;
|
|
97
|
+
/**
|
|
98
|
+
* The key of the pre-created HTTP tool
|
|
99
|
+
*/
|
|
100
|
+
key?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the pre-created HTTP tool
|
|
103
|
+
*/
|
|
104
|
+
id?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Whether this tool requires approval before execution
|
|
107
|
+
*/
|
|
108
|
+
requiresApproval?: boolean | undefined;
|
|
109
|
+
};
|
|
110
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type: {
|
|
111
|
+
readonly CurrentDate: "current_date";
|
|
112
|
+
};
|
|
113
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
|
|
114
|
+
/**
|
|
115
|
+
* Returns the current date and time
|
|
116
|
+
*/
|
|
117
|
+
export type AgentToolInputCRUDCurrentDateTool = {
|
|
118
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type;
|
|
119
|
+
/**
|
|
120
|
+
* Whether this tool requires approval before execution
|
|
121
|
+
*/
|
|
122
|
+
requiresApproval?: boolean | undefined;
|
|
123
|
+
};
|
|
124
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type: {
|
|
125
|
+
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
126
|
+
};
|
|
127
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
|
|
128
|
+
/**
|
|
129
|
+
* Queries knowledge bases for information
|
|
130
|
+
*/
|
|
131
|
+
export type AgentToolInputCRUDQueryKnowledgeBaseTool = {
|
|
132
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type;
|
|
133
|
+
/**
|
|
134
|
+
* Whether this tool requires approval before execution
|
|
135
|
+
*/
|
|
136
|
+
requiresApproval?: boolean | undefined;
|
|
137
|
+
};
|
|
138
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type: {
|
|
139
|
+
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
140
|
+
};
|
|
141
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
|
|
142
|
+
/**
|
|
143
|
+
* Lists available knowledge bases
|
|
144
|
+
*/
|
|
145
|
+
export type AgentToolInputCRUDRetrieveKnowledgeBasesTool = {
|
|
146
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type;
|
|
147
|
+
/**
|
|
148
|
+
* Whether this tool requires approval before execution
|
|
149
|
+
*/
|
|
150
|
+
requiresApproval?: boolean | undefined;
|
|
151
|
+
};
|
|
152
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type: {
|
|
153
|
+
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
154
|
+
};
|
|
155
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
|
|
156
|
+
/**
|
|
157
|
+
* Deletes documents from memory stores
|
|
158
|
+
*/
|
|
159
|
+
export type AgentToolInputCRUDDeleteMemoryDocumentTool = {
|
|
160
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type;
|
|
161
|
+
/**
|
|
162
|
+
* Whether this tool requires approval before execution
|
|
163
|
+
*/
|
|
164
|
+
requiresApproval?: boolean | undefined;
|
|
165
|
+
};
|
|
166
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type: {
|
|
167
|
+
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
168
|
+
};
|
|
169
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type>;
|
|
170
|
+
/**
|
|
171
|
+
* Lists available memory stores
|
|
172
|
+
*/
|
|
173
|
+
export type AgentToolInputCRUDRetrieveMemoryStoresTool = {
|
|
174
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type;
|
|
175
|
+
/**
|
|
176
|
+
* Whether this tool requires approval before execution
|
|
177
|
+
*/
|
|
178
|
+
requiresApproval?: boolean | undefined;
|
|
179
|
+
};
|
|
180
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType: {
|
|
181
|
+
readonly WriteMemoryStore: "write_memory_store";
|
|
182
|
+
};
|
|
183
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
|
|
184
|
+
/**
|
|
185
|
+
* Writes information to agent memory stores
|
|
186
|
+
*/
|
|
187
|
+
export type AgentToolInputCRUDWriteMemoryStoreTool = {
|
|
188
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType;
|
|
189
|
+
/**
|
|
190
|
+
* Whether this tool requires approval before execution
|
|
191
|
+
*/
|
|
192
|
+
requiresApproval?: boolean | undefined;
|
|
193
|
+
};
|
|
194
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType: {
|
|
195
|
+
readonly QueryMemoryStore: "query_memory_store";
|
|
196
|
+
};
|
|
197
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
|
|
198
|
+
/**
|
|
199
|
+
* Queries agent memory stores for context
|
|
200
|
+
*/
|
|
201
|
+
export type AgentToolInputCRUDQueryMemoryStoreTool = {
|
|
202
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType;
|
|
203
|
+
/**
|
|
204
|
+
* Whether this tool requires approval before execution
|
|
205
|
+
*/
|
|
206
|
+
requiresApproval?: boolean | undefined;
|
|
207
|
+
};
|
|
208
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType: {
|
|
209
|
+
readonly RetrieveAgents: "retrieve_agents";
|
|
210
|
+
};
|
|
211
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
212
|
+
/**
|
|
213
|
+
* Retrieves available agents in the system
|
|
214
|
+
*/
|
|
215
|
+
export type AgentToolInputCRUDRetrieveAgentsTool = {
|
|
216
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType;
|
|
217
|
+
/**
|
|
218
|
+
* Whether this tool requires approval before execution
|
|
219
|
+
*/
|
|
220
|
+
requiresApproval?: boolean | undefined;
|
|
221
|
+
};
|
|
222
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestType: {
|
|
223
|
+
readonly CallSubAgent: "call_sub_agent";
|
|
224
|
+
};
|
|
225
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType>;
|
|
226
|
+
/**
|
|
227
|
+
* Delegates tasks to specialized sub-agents
|
|
228
|
+
*/
|
|
229
|
+
export type AgentToolInputCRUDCallSubAgentTool = {
|
|
230
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestType;
|
|
231
|
+
/**
|
|
232
|
+
* Whether this tool requires approval before execution
|
|
233
|
+
*/
|
|
234
|
+
requiresApproval?: boolean | undefined;
|
|
235
|
+
};
|
|
236
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsType: {
|
|
237
|
+
readonly WebScraper: "web_scraper";
|
|
238
|
+
};
|
|
239
|
+
export type UpdateAgentAgentToolInputCRUDAgentsType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType>;
|
|
240
|
+
/**
|
|
241
|
+
* Scrapes and extracts content from web pages
|
|
242
|
+
*/
|
|
243
|
+
export type AgentToolInputCRUDWebScraperTool = {
|
|
244
|
+
type: UpdateAgentAgentToolInputCRUDAgentsType;
|
|
245
|
+
/**
|
|
246
|
+
* Whether this tool requires approval before execution
|
|
247
|
+
*/
|
|
248
|
+
requiresApproval?: boolean | undefined;
|
|
249
|
+
};
|
|
250
|
+
export declare const UpdateAgentAgentToolInputCRUDType: {
|
|
251
|
+
readonly GoogleSearch: "google_search";
|
|
252
|
+
};
|
|
253
|
+
export type UpdateAgentAgentToolInputCRUDType = ClosedEnum<typeof UpdateAgentAgentToolInputCRUDType>;
|
|
254
|
+
/**
|
|
255
|
+
* Performs Google searches to retrieve web content
|
|
256
|
+
*/
|
|
257
|
+
export type AgentToolInputCRUDGoogleSearchTool = {
|
|
258
|
+
type: UpdateAgentAgentToolInputCRUDType;
|
|
259
|
+
/**
|
|
260
|
+
* Whether this tool requires approval before execution
|
|
261
|
+
*/
|
|
262
|
+
requiresApproval?: boolean | undefined;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Tool configuration for agent create/update operations. Built-in tools only require a type, while custom tools must reference pre-created tools by key or id.
|
|
266
|
+
*/
|
|
267
|
+
export type UpdateAgentAgentToolInputCRUD = AgentToolInputCRUDGoogleSearchTool | AgentToolInputCRUDWebScraperTool | AgentToolInputCRUDCallSubAgentTool | AgentToolInputCRUDRetrieveAgentsTool | AgentToolInputCRUDQueryMemoryStoreTool | AgentToolInputCRUDWriteMemoryStoreTool | AgentToolInputCRUDRetrieveMemoryStoresTool | AgentToolInputCRUDDeleteMemoryDocumentTool | AgentToolInputCRUDRetrieveKnowledgeBasesTool | AgentToolInputCRUDQueryKnowledgeBaseTool | AgentToolInputCRUDCurrentDateTool | AgentToolInputCRUDHTTPTool | AgentToolInputCRUDCodeExecutionTool | AgentToolInputCRUDFunctionTool;
|
|
268
|
+
export type UpdateAgentSettings = {
|
|
269
|
+
/**
|
|
270
|
+
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
271
|
+
*/
|
|
272
|
+
maxIterations?: number | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
|
|
275
|
+
*/
|
|
276
|
+
maxExecutionTime?: number | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
279
|
+
*/
|
|
280
|
+
toolApprovalRequired?: UpdateAgentToolApprovalRequired | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* Tools available to the agent. Built-in tools only need a type, while custom tools (http, code, function) must reference pre-created tools by key or id.
|
|
283
|
+
*/
|
|
284
|
+
tools?: Array<AgentToolInputCRUDGoogleSearchTool | AgentToolInputCRUDWebScraperTool | AgentToolInputCRUDCallSubAgentTool | AgentToolInputCRUDRetrieveAgentsTool | AgentToolInputCRUDQueryMemoryStoreTool | AgentToolInputCRUDWriteMemoryStoreTool | AgentToolInputCRUDRetrieveMemoryStoresTool | AgentToolInputCRUDDeleteMemoryDocumentTool | AgentToolInputCRUDRetrieveKnowledgeBasesTool | AgentToolInputCRUDQueryKnowledgeBaseTool | AgentToolInputCRUDCurrentDateTool | AgentToolInputCRUDHTTPTool | AgentToolInputCRUDCodeExecutionTool | AgentToolInputCRUDFunctionTool> | undefined;
|
|
285
|
+
};
|
|
286
|
+
export type UpdateAgentKnowledgeBases = {
|
|
287
|
+
/**
|
|
288
|
+
* Unique identifier of the knowledge base to search
|
|
289
|
+
*/
|
|
290
|
+
knowledgeId: string;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* Request body for updating an existing agent via the API. Uses simplified tool input format.
|
|
294
|
+
*/
|
|
295
|
+
export type UpdateAgentRequestBody = {
|
|
296
|
+
key?: string | undefined;
|
|
297
|
+
projectId?: string | undefined;
|
|
298
|
+
role?: string | undefined;
|
|
299
|
+
description?: string | undefined;
|
|
300
|
+
instructions?: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* A custom system prompt template for the agent. If omitted, the default template is used.
|
|
303
|
+
*/
|
|
304
|
+
systemPrompt?: string | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* The primary language model that powers the agent (e.g., "anthropic/claude-3-sonnet-20240229")
|
|
307
|
+
*/
|
|
308
|
+
model?: string | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* Optional array of fallback model IDs to use when the primary model fails. Models are tried in order. All models must support tool calling capabilities.
|
|
311
|
+
*/
|
|
312
|
+
fallbackModels?: Array<string> | undefined;
|
|
313
|
+
settings?: UpdateAgentSettings | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
316
|
+
*/
|
|
317
|
+
path?: string | undefined;
|
|
318
|
+
memoryStores?: Array<string> | undefined;
|
|
319
|
+
knowledgeBases?: Array<UpdateAgentKnowledgeBases> | undefined;
|
|
320
|
+
};
|
|
321
|
+
export type UpdateAgentRequest = {
|
|
322
|
+
/**
|
|
323
|
+
* The unique key of the agent to update
|
|
324
|
+
*/
|
|
325
|
+
agentKey: string;
|
|
326
|
+
requestBody?: UpdateAgentRequestBody | undefined;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
330
|
+
*/
|
|
331
|
+
export declare const UpdateAgentStatus: {
|
|
332
|
+
readonly Live: "live";
|
|
333
|
+
readonly Draft: "draft";
|
|
334
|
+
readonly Pending: "pending";
|
|
335
|
+
readonly Published: "published";
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
339
|
+
*/
|
|
340
|
+
export type UpdateAgentStatus = ClosedEnum<typeof UpdateAgentStatus>;
|
|
341
|
+
/**
|
|
342
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
343
|
+
*/
|
|
344
|
+
export declare const UpdateAgentAgentsToolApprovalRequired: {
|
|
345
|
+
readonly All: "all";
|
|
346
|
+
readonly RespectTool: "respect_tool";
|
|
347
|
+
readonly None: "none";
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
351
|
+
*/
|
|
352
|
+
export type UpdateAgentAgentsToolApprovalRequired = ClosedEnum<typeof UpdateAgentAgentsToolApprovalRequired>;
|
|
353
|
+
export type UpdateAgentConditions = {
|
|
354
|
+
/**
|
|
355
|
+
* The argument of the tool call to evaluate
|
|
356
|
+
*/
|
|
357
|
+
condition: string;
|
|
358
|
+
/**
|
|
359
|
+
* The operator to use
|
|
360
|
+
*/
|
|
361
|
+
operator: string;
|
|
362
|
+
/**
|
|
363
|
+
* The value to compare against
|
|
364
|
+
*/
|
|
365
|
+
value: string;
|
|
366
|
+
};
|
|
367
|
+
export type UpdateAgentTools = {
|
|
368
|
+
/**
|
|
369
|
+
* The id of the resource
|
|
370
|
+
*/
|
|
371
|
+
id: string;
|
|
372
|
+
/**
|
|
373
|
+
* Optional tool key for custom tools
|
|
374
|
+
*/
|
|
375
|
+
key?: string | undefined;
|
|
376
|
+
actionType: string;
|
|
377
|
+
displayName?: string | undefined;
|
|
378
|
+
requiresApproval?: boolean | undefined;
|
|
379
|
+
conditions?: Array<UpdateAgentConditions> | undefined;
|
|
380
|
+
/**
|
|
381
|
+
* The id of the resource
|
|
382
|
+
*/
|
|
383
|
+
mcpServer?: string | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
386
|
+
*/
|
|
387
|
+
timeout?: number | undefined;
|
|
388
|
+
};
|
|
389
|
+
export type UpdateAgentAgentsSettings = {
|
|
390
|
+
/**
|
|
391
|
+
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
392
|
+
*/
|
|
393
|
+
maxIterations?: number | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
|
|
396
|
+
*/
|
|
397
|
+
maxExecutionTime?: number | undefined;
|
|
398
|
+
/**
|
|
399
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
400
|
+
*/
|
|
401
|
+
toolApprovalRequired?: UpdateAgentAgentsToolApprovalRequired | undefined;
|
|
402
|
+
tools: Array<UpdateAgentTools>;
|
|
403
|
+
};
|
|
404
|
+
export type UpdateAgentModel = {
|
|
405
|
+
/**
|
|
406
|
+
* The database ID of the primary model
|
|
407
|
+
*/
|
|
408
|
+
id: string;
|
|
409
|
+
/**
|
|
410
|
+
* Optional integration ID for custom model configurations
|
|
411
|
+
*/
|
|
412
|
+
integrationId?: string | null | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Optional array of fallback model IDs that will be used automatically in order if the primary model fails
|
|
415
|
+
*/
|
|
416
|
+
fallbackModels?: Array<string> | null | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* Maximum number of tokens for model responses
|
|
419
|
+
*/
|
|
420
|
+
maxTokens?: number | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* Temperature setting for model responses
|
|
423
|
+
*/
|
|
424
|
+
temperature?: number | undefined;
|
|
425
|
+
};
|
|
426
|
+
export type UpdateAgentTeamOfAgents = {
|
|
427
|
+
/**
|
|
428
|
+
* The unique key of the agent within the workspace
|
|
429
|
+
*/
|
|
430
|
+
key: string;
|
|
431
|
+
/**
|
|
432
|
+
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
433
|
+
*/
|
|
434
|
+
role?: string | undefined;
|
|
435
|
+
};
|
|
436
|
+
export type UpdateAgentMetrics = {
|
|
437
|
+
totalCost?: number | undefined;
|
|
438
|
+
};
|
|
439
|
+
export type UpdateAgentAgentsKnowledgeBases = {
|
|
440
|
+
/**
|
|
441
|
+
* Unique identifier of the knowledge base to search
|
|
442
|
+
*/
|
|
443
|
+
knowledgeId: string;
|
|
444
|
+
};
|
|
445
|
+
export declare const UpdateAgentHiddenPanels: {
|
|
446
|
+
readonly Model: "model";
|
|
447
|
+
readonly Tools: "tools";
|
|
448
|
+
readonly KnowledgeBases: "knowledge_bases";
|
|
449
|
+
readonly Variables: "variables";
|
|
450
|
+
readonly RuntimeConstraints: "runtime_constraints";
|
|
451
|
+
};
|
|
452
|
+
export type UpdateAgentHiddenPanels = ClosedEnum<typeof UpdateAgentHiddenPanels>;
|
|
453
|
+
/**
|
|
454
|
+
* Agent updated successfully
|
|
455
|
+
*/
|
|
456
|
+
export type UpdateAgentResponseBody = {
|
|
457
|
+
id: string;
|
|
458
|
+
key: string;
|
|
459
|
+
workspaceId: string;
|
|
460
|
+
projectId: string;
|
|
461
|
+
createdById?: string | null | undefined;
|
|
462
|
+
updatedById?: string | null | undefined;
|
|
463
|
+
created?: string | undefined;
|
|
464
|
+
updated?: string | undefined;
|
|
465
|
+
role: string;
|
|
466
|
+
description: string;
|
|
467
|
+
systemPrompt?: string | undefined;
|
|
468
|
+
instructions: string;
|
|
469
|
+
/**
|
|
470
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
471
|
+
*/
|
|
472
|
+
status: UpdateAgentStatus;
|
|
473
|
+
settings?: UpdateAgentAgentsSettings | undefined;
|
|
474
|
+
model: UpdateAgentModel;
|
|
475
|
+
versionHash?: string | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
478
|
+
*/
|
|
479
|
+
path: string;
|
|
480
|
+
memoryStores: Array<string>;
|
|
481
|
+
/**
|
|
482
|
+
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
483
|
+
*/
|
|
484
|
+
teamOfAgents: Array<UpdateAgentTeamOfAgents>;
|
|
485
|
+
metrics?: UpdateAgentMetrics | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* Extracted variables from agent instructions
|
|
488
|
+
*/
|
|
489
|
+
variables?: {
|
|
490
|
+
[k: string]: any;
|
|
491
|
+
} | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* Agent knowledge bases reference
|
|
494
|
+
*/
|
|
495
|
+
knowledgeBases?: Array<UpdateAgentAgentsKnowledgeBases> | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* List of hidden collapsed panels in configuration. Duplicates are not allowed.
|
|
498
|
+
*/
|
|
499
|
+
hiddenPanels?: Array<UpdateAgentHiddenPanels> | undefined;
|
|
500
|
+
};
|
|
501
|
+
/** @internal */
|
|
502
|
+
export declare const UpdateAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentToolApprovalRequired>;
|
|
503
|
+
/** @internal */
|
|
504
|
+
export declare const UpdateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentToolApprovalRequired>;
|
|
505
|
+
/**
|
|
506
|
+
* @internal
|
|
507
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
508
|
+
*/
|
|
509
|
+
export declare namespace UpdateAgentToolApprovalRequired$ {
|
|
510
|
+
/** @deprecated use `UpdateAgentToolApprovalRequired$inboundSchema` instead. */
|
|
511
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
512
|
+
readonly All: "all";
|
|
513
|
+
readonly RespectTool: "respect_tool";
|
|
514
|
+
readonly None: "none";
|
|
515
|
+
}>;
|
|
516
|
+
/** @deprecated use `UpdateAgentToolApprovalRequired$outboundSchema` instead. */
|
|
517
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
518
|
+
readonly All: "all";
|
|
519
|
+
readonly RespectTool: "respect_tool";
|
|
520
|
+
readonly None: "none";
|
|
521
|
+
}>;
|
|
522
|
+
}
|
|
523
|
+
/** @internal */
|
|
524
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
|
|
525
|
+
/** @internal */
|
|
526
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
|
|
527
|
+
/**
|
|
528
|
+
* @internal
|
|
529
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
530
|
+
*/
|
|
531
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$ {
|
|
532
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema` instead. */
|
|
533
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
534
|
+
readonly Function: "function";
|
|
535
|
+
}>;
|
|
536
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema` instead. */
|
|
537
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
538
|
+
readonly Function: "function";
|
|
539
|
+
}>;
|
|
540
|
+
}
|
|
541
|
+
/** @internal */
|
|
542
|
+
export declare const AgentToolInputCRUDFunctionTool$inboundSchema: z.ZodType<AgentToolInputCRUDFunctionTool, z.ZodTypeDef, unknown>;
|
|
543
|
+
/** @internal */
|
|
544
|
+
export type AgentToolInputCRUDFunctionTool$Outbound = {
|
|
545
|
+
type: string;
|
|
546
|
+
key?: string | undefined;
|
|
547
|
+
id?: string | undefined;
|
|
548
|
+
requires_approval: boolean;
|
|
549
|
+
};
|
|
550
|
+
/** @internal */
|
|
551
|
+
export declare const AgentToolInputCRUDFunctionTool$outboundSchema: z.ZodType<AgentToolInputCRUDFunctionTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDFunctionTool>;
|
|
552
|
+
/**
|
|
553
|
+
* @internal
|
|
554
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
555
|
+
*/
|
|
556
|
+
export declare namespace AgentToolInputCRUDFunctionTool$ {
|
|
557
|
+
/** @deprecated use `AgentToolInputCRUDFunctionTool$inboundSchema` instead. */
|
|
558
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDFunctionTool, z.ZodTypeDef, unknown>;
|
|
559
|
+
/** @deprecated use `AgentToolInputCRUDFunctionTool$outboundSchema` instead. */
|
|
560
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDFunctionTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDFunctionTool>;
|
|
561
|
+
/** @deprecated use `AgentToolInputCRUDFunctionTool$Outbound` instead. */
|
|
562
|
+
type Outbound = AgentToolInputCRUDFunctionTool$Outbound;
|
|
563
|
+
}
|
|
564
|
+
export declare function agentToolInputCRUDFunctionToolToJSON(agentToolInputCRUDFunctionTool: AgentToolInputCRUDFunctionTool): string;
|
|
565
|
+
export declare function agentToolInputCRUDFunctionToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDFunctionTool, SDKValidationError>;
|
|
566
|
+
/** @internal */
|
|
567
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
|
|
568
|
+
/** @internal */
|
|
569
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
|
|
570
|
+
/**
|
|
571
|
+
* @internal
|
|
572
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
573
|
+
*/
|
|
574
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$ {
|
|
575
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema` instead. */
|
|
576
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
577
|
+
readonly Code: "code";
|
|
578
|
+
}>;
|
|
579
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema` instead. */
|
|
580
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
581
|
+
readonly Code: "code";
|
|
582
|
+
}>;
|
|
583
|
+
}
|
|
584
|
+
/** @internal */
|
|
585
|
+
export declare const AgentToolInputCRUDCodeExecutionTool$inboundSchema: z.ZodType<AgentToolInputCRUDCodeExecutionTool, z.ZodTypeDef, unknown>;
|
|
586
|
+
/** @internal */
|
|
587
|
+
export type AgentToolInputCRUDCodeExecutionTool$Outbound = {
|
|
588
|
+
type: string;
|
|
589
|
+
key?: string | undefined;
|
|
590
|
+
id?: string | undefined;
|
|
591
|
+
requires_approval: boolean;
|
|
592
|
+
};
|
|
593
|
+
/** @internal */
|
|
594
|
+
export declare const AgentToolInputCRUDCodeExecutionTool$outboundSchema: z.ZodType<AgentToolInputCRUDCodeExecutionTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDCodeExecutionTool>;
|
|
595
|
+
/**
|
|
596
|
+
* @internal
|
|
597
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
598
|
+
*/
|
|
599
|
+
export declare namespace AgentToolInputCRUDCodeExecutionTool$ {
|
|
600
|
+
/** @deprecated use `AgentToolInputCRUDCodeExecutionTool$inboundSchema` instead. */
|
|
601
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDCodeExecutionTool, z.ZodTypeDef, unknown>;
|
|
602
|
+
/** @deprecated use `AgentToolInputCRUDCodeExecutionTool$outboundSchema` instead. */
|
|
603
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDCodeExecutionTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDCodeExecutionTool>;
|
|
604
|
+
/** @deprecated use `AgentToolInputCRUDCodeExecutionTool$Outbound` instead. */
|
|
605
|
+
type Outbound = AgentToolInputCRUDCodeExecutionTool$Outbound;
|
|
606
|
+
}
|
|
607
|
+
export declare function agentToolInputCRUDCodeExecutionToolToJSON(agentToolInputCRUDCodeExecutionTool: AgentToolInputCRUDCodeExecutionTool): string;
|
|
608
|
+
export declare function agentToolInputCRUDCodeExecutionToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDCodeExecutionTool, SDKValidationError>;
|
|
609
|
+
/** @internal */
|
|
610
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
|
|
611
|
+
/** @internal */
|
|
612
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
|
|
613
|
+
/**
|
|
614
|
+
* @internal
|
|
615
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
616
|
+
*/
|
|
617
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$ {
|
|
618
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema` instead. */
|
|
619
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
620
|
+
readonly Http: "http";
|
|
621
|
+
}>;
|
|
622
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema` instead. */
|
|
623
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
624
|
+
readonly Http: "http";
|
|
625
|
+
}>;
|
|
626
|
+
}
|
|
627
|
+
/** @internal */
|
|
628
|
+
export declare const AgentToolInputCRUDHTTPTool$inboundSchema: z.ZodType<AgentToolInputCRUDHTTPTool, z.ZodTypeDef, unknown>;
|
|
629
|
+
/** @internal */
|
|
630
|
+
export type AgentToolInputCRUDHTTPTool$Outbound = {
|
|
631
|
+
type: string;
|
|
632
|
+
key?: string | undefined;
|
|
633
|
+
id?: string | undefined;
|
|
634
|
+
requires_approval: boolean;
|
|
635
|
+
};
|
|
636
|
+
/** @internal */
|
|
637
|
+
export declare const AgentToolInputCRUDHTTPTool$outboundSchema: z.ZodType<AgentToolInputCRUDHTTPTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDHTTPTool>;
|
|
638
|
+
/**
|
|
639
|
+
* @internal
|
|
640
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
641
|
+
*/
|
|
642
|
+
export declare namespace AgentToolInputCRUDHTTPTool$ {
|
|
643
|
+
/** @deprecated use `AgentToolInputCRUDHTTPTool$inboundSchema` instead. */
|
|
644
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDHTTPTool, z.ZodTypeDef, unknown>;
|
|
645
|
+
/** @deprecated use `AgentToolInputCRUDHTTPTool$outboundSchema` instead. */
|
|
646
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDHTTPTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDHTTPTool>;
|
|
647
|
+
/** @deprecated use `AgentToolInputCRUDHTTPTool$Outbound` instead. */
|
|
648
|
+
type Outbound = AgentToolInputCRUDHTTPTool$Outbound;
|
|
649
|
+
}
|
|
650
|
+
export declare function agentToolInputCRUDHTTPToolToJSON(agentToolInputCRUDHTTPTool: AgentToolInputCRUDHTTPTool): string;
|
|
651
|
+
export declare function agentToolInputCRUDHTTPToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDHTTPTool, SDKValidationError>;
|
|
652
|
+
/** @internal */
|
|
653
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
|
|
654
|
+
/** @internal */
|
|
655
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
|
|
656
|
+
/**
|
|
657
|
+
* @internal
|
|
658
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
659
|
+
*/
|
|
660
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$ {
|
|
661
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema` instead. */
|
|
662
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
663
|
+
readonly CurrentDate: "current_date";
|
|
664
|
+
}>;
|
|
665
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema` instead. */
|
|
666
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
667
|
+
readonly CurrentDate: "current_date";
|
|
668
|
+
}>;
|
|
669
|
+
}
|
|
670
|
+
/** @internal */
|
|
671
|
+
export declare const AgentToolInputCRUDCurrentDateTool$inboundSchema: z.ZodType<AgentToolInputCRUDCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
672
|
+
/** @internal */
|
|
673
|
+
export type AgentToolInputCRUDCurrentDateTool$Outbound = {
|
|
674
|
+
type: string;
|
|
675
|
+
requires_approval: boolean;
|
|
676
|
+
};
|
|
677
|
+
/** @internal */
|
|
678
|
+
export declare const AgentToolInputCRUDCurrentDateTool$outboundSchema: z.ZodType<AgentToolInputCRUDCurrentDateTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDCurrentDateTool>;
|
|
679
|
+
/**
|
|
680
|
+
* @internal
|
|
681
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
682
|
+
*/
|
|
683
|
+
export declare namespace AgentToolInputCRUDCurrentDateTool$ {
|
|
684
|
+
/** @deprecated use `AgentToolInputCRUDCurrentDateTool$inboundSchema` instead. */
|
|
685
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
686
|
+
/** @deprecated use `AgentToolInputCRUDCurrentDateTool$outboundSchema` instead. */
|
|
687
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDCurrentDateTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDCurrentDateTool>;
|
|
688
|
+
/** @deprecated use `AgentToolInputCRUDCurrentDateTool$Outbound` instead. */
|
|
689
|
+
type Outbound = AgentToolInputCRUDCurrentDateTool$Outbound;
|
|
690
|
+
}
|
|
691
|
+
export declare function agentToolInputCRUDCurrentDateToolToJSON(agentToolInputCRUDCurrentDateTool: AgentToolInputCRUDCurrentDateTool): string;
|
|
692
|
+
export declare function agentToolInputCRUDCurrentDateToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDCurrentDateTool, SDKValidationError>;
|
|
693
|
+
/** @internal */
|
|
694
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
|
|
695
|
+
/** @internal */
|
|
696
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
|
|
697
|
+
/**
|
|
698
|
+
* @internal
|
|
699
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
700
|
+
*/
|
|
701
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$ {
|
|
702
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema` instead. */
|
|
703
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
704
|
+
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
705
|
+
}>;
|
|
706
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema` instead. */
|
|
707
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
708
|
+
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
709
|
+
}>;
|
|
710
|
+
}
|
|
711
|
+
/** @internal */
|
|
712
|
+
export declare const AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema: z.ZodType<AgentToolInputCRUDQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
713
|
+
/** @internal */
|
|
714
|
+
export type AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound = {
|
|
715
|
+
type: string;
|
|
716
|
+
requires_approval: boolean;
|
|
717
|
+
};
|
|
718
|
+
/** @internal */
|
|
719
|
+
export declare const AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema: z.ZodType<AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDQueryKnowledgeBaseTool>;
|
|
720
|
+
/**
|
|
721
|
+
* @internal
|
|
722
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
723
|
+
*/
|
|
724
|
+
export declare namespace AgentToolInputCRUDQueryKnowledgeBaseTool$ {
|
|
725
|
+
/** @deprecated use `AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema` instead. */
|
|
726
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
727
|
+
/** @deprecated use `AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema` instead. */
|
|
728
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDQueryKnowledgeBaseTool>;
|
|
729
|
+
/** @deprecated use `AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound` instead. */
|
|
730
|
+
type Outbound = AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound;
|
|
731
|
+
}
|
|
732
|
+
export declare function agentToolInputCRUDQueryKnowledgeBaseToolToJSON(agentToolInputCRUDQueryKnowledgeBaseTool: AgentToolInputCRUDQueryKnowledgeBaseTool): string;
|
|
733
|
+
export declare function agentToolInputCRUDQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDQueryKnowledgeBaseTool, SDKValidationError>;
|
|
734
|
+
/** @internal */
|
|
735
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
|
|
736
|
+
/** @internal */
|
|
737
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
|
|
738
|
+
/**
|
|
739
|
+
* @internal
|
|
740
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
741
|
+
*/
|
|
742
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$ {
|
|
743
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema` instead. */
|
|
744
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
745
|
+
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
746
|
+
}>;
|
|
747
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema` instead. */
|
|
748
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
749
|
+
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
750
|
+
}>;
|
|
751
|
+
}
|
|
752
|
+
/** @internal */
|
|
753
|
+
export declare const AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
754
|
+
/** @internal */
|
|
755
|
+
export type AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound = {
|
|
756
|
+
type: string;
|
|
757
|
+
requires_approval: boolean;
|
|
758
|
+
};
|
|
759
|
+
/** @internal */
|
|
760
|
+
export declare const AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDRetrieveKnowledgeBasesTool>;
|
|
761
|
+
/**
|
|
762
|
+
* @internal
|
|
763
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
764
|
+
*/
|
|
765
|
+
export declare namespace AgentToolInputCRUDRetrieveKnowledgeBasesTool$ {
|
|
766
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema` instead. */
|
|
767
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
768
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema` instead. */
|
|
769
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDRetrieveKnowledgeBasesTool>;
|
|
770
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound` instead. */
|
|
771
|
+
type Outbound = AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound;
|
|
772
|
+
}
|
|
773
|
+
export declare function agentToolInputCRUDRetrieveKnowledgeBasesToolToJSON(agentToolInputCRUDRetrieveKnowledgeBasesTool: AgentToolInputCRUDRetrieveKnowledgeBasesTool): string;
|
|
774
|
+
export declare function agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDRetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
775
|
+
/** @internal */
|
|
776
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
|
|
777
|
+
/** @internal */
|
|
778
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
|
|
779
|
+
/**
|
|
780
|
+
* @internal
|
|
781
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
782
|
+
*/
|
|
783
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$ {
|
|
784
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema` instead. */
|
|
785
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
786
|
+
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
787
|
+
}>;
|
|
788
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema` instead. */
|
|
789
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
790
|
+
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
791
|
+
}>;
|
|
792
|
+
}
|
|
793
|
+
/** @internal */
|
|
794
|
+
export declare const AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema: z.ZodType<AgentToolInputCRUDDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
795
|
+
/** @internal */
|
|
796
|
+
export type AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound = {
|
|
797
|
+
type: string;
|
|
798
|
+
requires_approval: boolean;
|
|
799
|
+
};
|
|
800
|
+
/** @internal */
|
|
801
|
+
export declare const AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema: z.ZodType<AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDDeleteMemoryDocumentTool>;
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
805
|
+
*/
|
|
806
|
+
export declare namespace AgentToolInputCRUDDeleteMemoryDocumentTool$ {
|
|
807
|
+
/** @deprecated use `AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema` instead. */
|
|
808
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
809
|
+
/** @deprecated use `AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema` instead. */
|
|
810
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDDeleteMemoryDocumentTool>;
|
|
811
|
+
/** @deprecated use `AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound` instead. */
|
|
812
|
+
type Outbound = AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound;
|
|
813
|
+
}
|
|
814
|
+
export declare function agentToolInputCRUDDeleteMemoryDocumentToolToJSON(agentToolInputCRUDDeleteMemoryDocumentTool: AgentToolInputCRUDDeleteMemoryDocumentTool): string;
|
|
815
|
+
export declare function agentToolInputCRUDDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDDeleteMemoryDocumentTool, SDKValidationError>;
|
|
816
|
+
/** @internal */
|
|
817
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type>;
|
|
818
|
+
/** @internal */
|
|
819
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type>;
|
|
820
|
+
/**
|
|
821
|
+
* @internal
|
|
822
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
823
|
+
*/
|
|
824
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$ {
|
|
825
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema` instead. */
|
|
826
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
827
|
+
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
828
|
+
}>;
|
|
829
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema` instead. */
|
|
830
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
831
|
+
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
832
|
+
}>;
|
|
833
|
+
}
|
|
834
|
+
/** @internal */
|
|
835
|
+
export declare const AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
836
|
+
/** @internal */
|
|
837
|
+
export type AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound = {
|
|
838
|
+
type: string;
|
|
839
|
+
requires_approval: boolean;
|
|
840
|
+
};
|
|
841
|
+
/** @internal */
|
|
842
|
+
export declare const AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema: z.ZodType<AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDRetrieveMemoryStoresTool>;
|
|
843
|
+
/**
|
|
844
|
+
* @internal
|
|
845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
846
|
+
*/
|
|
847
|
+
export declare namespace AgentToolInputCRUDRetrieveMemoryStoresTool$ {
|
|
848
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema` instead. */
|
|
849
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
850
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema` instead. */
|
|
851
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDRetrieveMemoryStoresTool>;
|
|
852
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound` instead. */
|
|
853
|
+
type Outbound = AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound;
|
|
854
|
+
}
|
|
855
|
+
export declare function agentToolInputCRUDRetrieveMemoryStoresToolToJSON(agentToolInputCRUDRetrieveMemoryStoresTool: AgentToolInputCRUDRetrieveMemoryStoresTool): string;
|
|
856
|
+
export declare function agentToolInputCRUDRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDRetrieveMemoryStoresTool, SDKValidationError>;
|
|
857
|
+
/** @internal */
|
|
858
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
|
|
859
|
+
/** @internal */
|
|
860
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
|
|
861
|
+
/**
|
|
862
|
+
* @internal
|
|
863
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
864
|
+
*/
|
|
865
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$ {
|
|
866
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema` instead. */
|
|
867
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
868
|
+
readonly WriteMemoryStore: "write_memory_store";
|
|
869
|
+
}>;
|
|
870
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema` instead. */
|
|
871
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
872
|
+
readonly WriteMemoryStore: "write_memory_store";
|
|
873
|
+
}>;
|
|
874
|
+
}
|
|
875
|
+
/** @internal */
|
|
876
|
+
export declare const AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema: z.ZodType<AgentToolInputCRUDWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
877
|
+
/** @internal */
|
|
878
|
+
export type AgentToolInputCRUDWriteMemoryStoreTool$Outbound = {
|
|
879
|
+
type: string;
|
|
880
|
+
requires_approval: boolean;
|
|
881
|
+
};
|
|
882
|
+
/** @internal */
|
|
883
|
+
export declare const AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema: z.ZodType<AgentToolInputCRUDWriteMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDWriteMemoryStoreTool>;
|
|
884
|
+
/**
|
|
885
|
+
* @internal
|
|
886
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
887
|
+
*/
|
|
888
|
+
export declare namespace AgentToolInputCRUDWriteMemoryStoreTool$ {
|
|
889
|
+
/** @deprecated use `AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema` instead. */
|
|
890
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
891
|
+
/** @deprecated use `AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema` instead. */
|
|
892
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDWriteMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDWriteMemoryStoreTool>;
|
|
893
|
+
/** @deprecated use `AgentToolInputCRUDWriteMemoryStoreTool$Outbound` instead. */
|
|
894
|
+
type Outbound = AgentToolInputCRUDWriteMemoryStoreTool$Outbound;
|
|
895
|
+
}
|
|
896
|
+
export declare function agentToolInputCRUDWriteMemoryStoreToolToJSON(agentToolInputCRUDWriteMemoryStoreTool: AgentToolInputCRUDWriteMemoryStoreTool): string;
|
|
897
|
+
export declare function agentToolInputCRUDWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDWriteMemoryStoreTool, SDKValidationError>;
|
|
898
|
+
/** @internal */
|
|
899
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
|
|
900
|
+
/** @internal */
|
|
901
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
|
|
902
|
+
/**
|
|
903
|
+
* @internal
|
|
904
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
905
|
+
*/
|
|
906
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$ {
|
|
907
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema` instead. */
|
|
908
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
909
|
+
readonly QueryMemoryStore: "query_memory_store";
|
|
910
|
+
}>;
|
|
911
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema` instead. */
|
|
912
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
913
|
+
readonly QueryMemoryStore: "query_memory_store";
|
|
914
|
+
}>;
|
|
915
|
+
}
|
|
916
|
+
/** @internal */
|
|
917
|
+
export declare const AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema: z.ZodType<AgentToolInputCRUDQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
918
|
+
/** @internal */
|
|
919
|
+
export type AgentToolInputCRUDQueryMemoryStoreTool$Outbound = {
|
|
920
|
+
type: string;
|
|
921
|
+
requires_approval: boolean;
|
|
922
|
+
};
|
|
923
|
+
/** @internal */
|
|
924
|
+
export declare const AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema: z.ZodType<AgentToolInputCRUDQueryMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDQueryMemoryStoreTool>;
|
|
925
|
+
/**
|
|
926
|
+
* @internal
|
|
927
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
928
|
+
*/
|
|
929
|
+
export declare namespace AgentToolInputCRUDQueryMemoryStoreTool$ {
|
|
930
|
+
/** @deprecated use `AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema` instead. */
|
|
931
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
932
|
+
/** @deprecated use `AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema` instead. */
|
|
933
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDQueryMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDQueryMemoryStoreTool>;
|
|
934
|
+
/** @deprecated use `AgentToolInputCRUDQueryMemoryStoreTool$Outbound` instead. */
|
|
935
|
+
type Outbound = AgentToolInputCRUDQueryMemoryStoreTool$Outbound;
|
|
936
|
+
}
|
|
937
|
+
export declare function agentToolInputCRUDQueryMemoryStoreToolToJSON(agentToolInputCRUDQueryMemoryStoreTool: AgentToolInputCRUDQueryMemoryStoreTool): string;
|
|
938
|
+
export declare function agentToolInputCRUDQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDQueryMemoryStoreTool, SDKValidationError>;
|
|
939
|
+
/** @internal */
|
|
940
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
941
|
+
/** @internal */
|
|
942
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
943
|
+
/**
|
|
944
|
+
* @internal
|
|
945
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
946
|
+
*/
|
|
947
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$ {
|
|
948
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema` instead. */
|
|
949
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
950
|
+
readonly RetrieveAgents: "retrieve_agents";
|
|
951
|
+
}>;
|
|
952
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema` instead. */
|
|
953
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
954
|
+
readonly RetrieveAgents: "retrieve_agents";
|
|
955
|
+
}>;
|
|
956
|
+
}
|
|
957
|
+
/** @internal */
|
|
958
|
+
export declare const AgentToolInputCRUDRetrieveAgentsTool$inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
959
|
+
/** @internal */
|
|
960
|
+
export type AgentToolInputCRUDRetrieveAgentsTool$Outbound = {
|
|
961
|
+
type: string;
|
|
962
|
+
requires_approval: boolean;
|
|
963
|
+
};
|
|
964
|
+
/** @internal */
|
|
965
|
+
export declare const AgentToolInputCRUDRetrieveAgentsTool$outboundSchema: z.ZodType<AgentToolInputCRUDRetrieveAgentsTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDRetrieveAgentsTool>;
|
|
966
|
+
/**
|
|
967
|
+
* @internal
|
|
968
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
969
|
+
*/
|
|
970
|
+
export declare namespace AgentToolInputCRUDRetrieveAgentsTool$ {
|
|
971
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveAgentsTool$inboundSchema` instead. */
|
|
972
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
973
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveAgentsTool$outboundSchema` instead. */
|
|
974
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDRetrieveAgentsTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDRetrieveAgentsTool>;
|
|
975
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveAgentsTool$Outbound` instead. */
|
|
976
|
+
type Outbound = AgentToolInputCRUDRetrieveAgentsTool$Outbound;
|
|
977
|
+
}
|
|
978
|
+
export declare function agentToolInputCRUDRetrieveAgentsToolToJSON(agentToolInputCRUDRetrieveAgentsTool: AgentToolInputCRUDRetrieveAgentsTool): string;
|
|
979
|
+
export declare function agentToolInputCRUDRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDRetrieveAgentsTool, SDKValidationError>;
|
|
980
|
+
/** @internal */
|
|
981
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType>;
|
|
982
|
+
/** @internal */
|
|
983
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType>;
|
|
984
|
+
/**
|
|
985
|
+
* @internal
|
|
986
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
987
|
+
*/
|
|
988
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsRequestType$ {
|
|
989
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema` instead. */
|
|
990
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
991
|
+
readonly CallSubAgent: "call_sub_agent";
|
|
992
|
+
}>;
|
|
993
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema` instead. */
|
|
994
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
995
|
+
readonly CallSubAgent: "call_sub_agent";
|
|
996
|
+
}>;
|
|
997
|
+
}
|
|
998
|
+
/** @internal */
|
|
999
|
+
export declare const AgentToolInputCRUDCallSubAgentTool$inboundSchema: z.ZodType<AgentToolInputCRUDCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1000
|
+
/** @internal */
|
|
1001
|
+
export type AgentToolInputCRUDCallSubAgentTool$Outbound = {
|
|
1002
|
+
type: string;
|
|
1003
|
+
requires_approval: boolean;
|
|
1004
|
+
};
|
|
1005
|
+
/** @internal */
|
|
1006
|
+
export declare const AgentToolInputCRUDCallSubAgentTool$outboundSchema: z.ZodType<AgentToolInputCRUDCallSubAgentTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDCallSubAgentTool>;
|
|
1007
|
+
/**
|
|
1008
|
+
* @internal
|
|
1009
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1010
|
+
*/
|
|
1011
|
+
export declare namespace AgentToolInputCRUDCallSubAgentTool$ {
|
|
1012
|
+
/** @deprecated use `AgentToolInputCRUDCallSubAgentTool$inboundSchema` instead. */
|
|
1013
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1014
|
+
/** @deprecated use `AgentToolInputCRUDCallSubAgentTool$outboundSchema` instead. */
|
|
1015
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDCallSubAgentTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDCallSubAgentTool>;
|
|
1016
|
+
/** @deprecated use `AgentToolInputCRUDCallSubAgentTool$Outbound` instead. */
|
|
1017
|
+
type Outbound = AgentToolInputCRUDCallSubAgentTool$Outbound;
|
|
1018
|
+
}
|
|
1019
|
+
export declare function agentToolInputCRUDCallSubAgentToolToJSON(agentToolInputCRUDCallSubAgentTool: AgentToolInputCRUDCallSubAgentTool): string;
|
|
1020
|
+
export declare function agentToolInputCRUDCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDCallSubAgentTool, SDKValidationError>;
|
|
1021
|
+
/** @internal */
|
|
1022
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType>;
|
|
1023
|
+
/** @internal */
|
|
1024
|
+
export declare const UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType>;
|
|
1025
|
+
/**
|
|
1026
|
+
* @internal
|
|
1027
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1028
|
+
*/
|
|
1029
|
+
export declare namespace UpdateAgentAgentToolInputCRUDAgentsType$ {
|
|
1030
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema` instead. */
|
|
1031
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1032
|
+
readonly WebScraper: "web_scraper";
|
|
1033
|
+
}>;
|
|
1034
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema` instead. */
|
|
1035
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1036
|
+
readonly WebScraper: "web_scraper";
|
|
1037
|
+
}>;
|
|
1038
|
+
}
|
|
1039
|
+
/** @internal */
|
|
1040
|
+
export declare const AgentToolInputCRUDWebScraperTool$inboundSchema: z.ZodType<AgentToolInputCRUDWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1041
|
+
/** @internal */
|
|
1042
|
+
export type AgentToolInputCRUDWebScraperTool$Outbound = {
|
|
1043
|
+
type: string;
|
|
1044
|
+
requires_approval: boolean;
|
|
1045
|
+
};
|
|
1046
|
+
/** @internal */
|
|
1047
|
+
export declare const AgentToolInputCRUDWebScraperTool$outboundSchema: z.ZodType<AgentToolInputCRUDWebScraperTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDWebScraperTool>;
|
|
1048
|
+
/**
|
|
1049
|
+
* @internal
|
|
1050
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1051
|
+
*/
|
|
1052
|
+
export declare namespace AgentToolInputCRUDWebScraperTool$ {
|
|
1053
|
+
/** @deprecated use `AgentToolInputCRUDWebScraperTool$inboundSchema` instead. */
|
|
1054
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1055
|
+
/** @deprecated use `AgentToolInputCRUDWebScraperTool$outboundSchema` instead. */
|
|
1056
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDWebScraperTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDWebScraperTool>;
|
|
1057
|
+
/** @deprecated use `AgentToolInputCRUDWebScraperTool$Outbound` instead. */
|
|
1058
|
+
type Outbound = AgentToolInputCRUDWebScraperTool$Outbound;
|
|
1059
|
+
}
|
|
1060
|
+
export declare function agentToolInputCRUDWebScraperToolToJSON(agentToolInputCRUDWebScraperTool: AgentToolInputCRUDWebScraperTool): string;
|
|
1061
|
+
export declare function agentToolInputCRUDWebScraperToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDWebScraperTool, SDKValidationError>;
|
|
1062
|
+
/** @internal */
|
|
1063
|
+
export declare const UpdateAgentAgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDType>;
|
|
1064
|
+
/** @internal */
|
|
1065
|
+
export declare const UpdateAgentAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDType>;
|
|
1066
|
+
/**
|
|
1067
|
+
* @internal
|
|
1068
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1069
|
+
*/
|
|
1070
|
+
export declare namespace UpdateAgentAgentToolInputCRUDType$ {
|
|
1071
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDType$inboundSchema` instead. */
|
|
1072
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1073
|
+
readonly GoogleSearch: "google_search";
|
|
1074
|
+
}>;
|
|
1075
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDType$outboundSchema` instead. */
|
|
1076
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1077
|
+
readonly GoogleSearch: "google_search";
|
|
1078
|
+
}>;
|
|
1079
|
+
}
|
|
1080
|
+
/** @internal */
|
|
1081
|
+
export declare const AgentToolInputCRUDGoogleSearchTool$inboundSchema: z.ZodType<AgentToolInputCRUDGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1082
|
+
/** @internal */
|
|
1083
|
+
export type AgentToolInputCRUDGoogleSearchTool$Outbound = {
|
|
1084
|
+
type: string;
|
|
1085
|
+
requires_approval: boolean;
|
|
1086
|
+
};
|
|
1087
|
+
/** @internal */
|
|
1088
|
+
export declare const AgentToolInputCRUDGoogleSearchTool$outboundSchema: z.ZodType<AgentToolInputCRUDGoogleSearchTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDGoogleSearchTool>;
|
|
1089
|
+
/**
|
|
1090
|
+
* @internal
|
|
1091
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1092
|
+
*/
|
|
1093
|
+
export declare namespace AgentToolInputCRUDGoogleSearchTool$ {
|
|
1094
|
+
/** @deprecated use `AgentToolInputCRUDGoogleSearchTool$inboundSchema` instead. */
|
|
1095
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUDGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1096
|
+
/** @deprecated use `AgentToolInputCRUDGoogleSearchTool$outboundSchema` instead. */
|
|
1097
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUDGoogleSearchTool$Outbound, z.ZodTypeDef, AgentToolInputCRUDGoogleSearchTool>;
|
|
1098
|
+
/** @deprecated use `AgentToolInputCRUDGoogleSearchTool$Outbound` instead. */
|
|
1099
|
+
type Outbound = AgentToolInputCRUDGoogleSearchTool$Outbound;
|
|
1100
|
+
}
|
|
1101
|
+
export declare function agentToolInputCRUDGoogleSearchToolToJSON(agentToolInputCRUDGoogleSearchTool: AgentToolInputCRUDGoogleSearchTool): string;
|
|
1102
|
+
export declare function agentToolInputCRUDGoogleSearchToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUDGoogleSearchTool, SDKValidationError>;
|
|
1103
|
+
/** @internal */
|
|
1104
|
+
export declare const UpdateAgentAgentToolInputCRUD$inboundSchema: z.ZodType<UpdateAgentAgentToolInputCRUD, z.ZodTypeDef, unknown>;
|
|
1105
|
+
/** @internal */
|
|
1106
|
+
export type UpdateAgentAgentToolInputCRUD$Outbound = AgentToolInputCRUDGoogleSearchTool$Outbound | AgentToolInputCRUDWebScraperTool$Outbound | AgentToolInputCRUDCallSubAgentTool$Outbound | AgentToolInputCRUDRetrieveAgentsTool$Outbound | AgentToolInputCRUDQueryMemoryStoreTool$Outbound | AgentToolInputCRUDWriteMemoryStoreTool$Outbound | AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound | AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound | AgentToolInputCRUDCurrentDateTool$Outbound | AgentToolInputCRUDHTTPTool$Outbound | AgentToolInputCRUDCodeExecutionTool$Outbound | AgentToolInputCRUDFunctionTool$Outbound;
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export declare const UpdateAgentAgentToolInputCRUD$outboundSchema: z.ZodType<UpdateAgentAgentToolInputCRUD$Outbound, z.ZodTypeDef, UpdateAgentAgentToolInputCRUD>;
|
|
1109
|
+
/**
|
|
1110
|
+
* @internal
|
|
1111
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1112
|
+
*/
|
|
1113
|
+
export declare namespace UpdateAgentAgentToolInputCRUD$ {
|
|
1114
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUD$inboundSchema` instead. */
|
|
1115
|
+
const inboundSchema: z.ZodType<UpdateAgentAgentToolInputCRUD, z.ZodTypeDef, unknown>;
|
|
1116
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUD$outboundSchema` instead. */
|
|
1117
|
+
const outboundSchema: z.ZodType<UpdateAgentAgentToolInputCRUD$Outbound, z.ZodTypeDef, UpdateAgentAgentToolInputCRUD>;
|
|
1118
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUD$Outbound` instead. */
|
|
1119
|
+
type Outbound = UpdateAgentAgentToolInputCRUD$Outbound;
|
|
1120
|
+
}
|
|
1121
|
+
export declare function updateAgentAgentToolInputCRUDToJSON(updateAgentAgentToolInputCRUD: UpdateAgentAgentToolInputCRUD): string;
|
|
1122
|
+
export declare function updateAgentAgentToolInputCRUDFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentToolInputCRUD, SDKValidationError>;
|
|
1123
|
+
/** @internal */
|
|
1124
|
+
export declare const UpdateAgentSettings$inboundSchema: z.ZodType<UpdateAgentSettings, z.ZodTypeDef, unknown>;
|
|
1125
|
+
/** @internal */
|
|
1126
|
+
export type UpdateAgentSettings$Outbound = {
|
|
1127
|
+
max_iterations: number;
|
|
1128
|
+
max_execution_time: number;
|
|
1129
|
+
tool_approval_required: string;
|
|
1130
|
+
tools?: Array<AgentToolInputCRUDGoogleSearchTool$Outbound | AgentToolInputCRUDWebScraperTool$Outbound | AgentToolInputCRUDCallSubAgentTool$Outbound | AgentToolInputCRUDRetrieveAgentsTool$Outbound | AgentToolInputCRUDQueryMemoryStoreTool$Outbound | AgentToolInputCRUDWriteMemoryStoreTool$Outbound | AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound | AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound | AgentToolInputCRUDCurrentDateTool$Outbound | AgentToolInputCRUDHTTPTool$Outbound | AgentToolInputCRUDCodeExecutionTool$Outbound | AgentToolInputCRUDFunctionTool$Outbound> | undefined;
|
|
1131
|
+
};
|
|
1132
|
+
/** @internal */
|
|
1133
|
+
export declare const UpdateAgentSettings$outboundSchema: z.ZodType<UpdateAgentSettings$Outbound, z.ZodTypeDef, UpdateAgentSettings>;
|
|
1134
|
+
/**
|
|
1135
|
+
* @internal
|
|
1136
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1137
|
+
*/
|
|
1138
|
+
export declare namespace UpdateAgentSettings$ {
|
|
1139
|
+
/** @deprecated use `UpdateAgentSettings$inboundSchema` instead. */
|
|
1140
|
+
const inboundSchema: z.ZodType<UpdateAgentSettings, z.ZodTypeDef, unknown>;
|
|
1141
|
+
/** @deprecated use `UpdateAgentSettings$outboundSchema` instead. */
|
|
1142
|
+
const outboundSchema: z.ZodType<UpdateAgentSettings$Outbound, z.ZodTypeDef, UpdateAgentSettings>;
|
|
1143
|
+
/** @deprecated use `UpdateAgentSettings$Outbound` instead. */
|
|
1144
|
+
type Outbound = UpdateAgentSettings$Outbound;
|
|
1145
|
+
}
|
|
1146
|
+
export declare function updateAgentSettingsToJSON(updateAgentSettings: UpdateAgentSettings): string;
|
|
1147
|
+
export declare function updateAgentSettingsFromJSON(jsonString: string): SafeParseResult<UpdateAgentSettings, SDKValidationError>;
|
|
1148
|
+
/** @internal */
|
|
1149
|
+
export declare const UpdateAgentKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1150
|
+
/** @internal */
|
|
1151
|
+
export type UpdateAgentKnowledgeBases$Outbound = {
|
|
1152
|
+
knowledge_id: string;
|
|
1153
|
+
};
|
|
1154
|
+
/** @internal */
|
|
1155
|
+
export declare const UpdateAgentKnowledgeBases$outboundSchema: z.ZodType<UpdateAgentKnowledgeBases$Outbound, z.ZodTypeDef, UpdateAgentKnowledgeBases>;
|
|
1156
|
+
/**
|
|
1157
|
+
* @internal
|
|
1158
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1159
|
+
*/
|
|
1160
|
+
export declare namespace UpdateAgentKnowledgeBases$ {
|
|
1161
|
+
/** @deprecated use `UpdateAgentKnowledgeBases$inboundSchema` instead. */
|
|
1162
|
+
const inboundSchema: z.ZodType<UpdateAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1163
|
+
/** @deprecated use `UpdateAgentKnowledgeBases$outboundSchema` instead. */
|
|
1164
|
+
const outboundSchema: z.ZodType<UpdateAgentKnowledgeBases$Outbound, z.ZodTypeDef, UpdateAgentKnowledgeBases>;
|
|
1165
|
+
/** @deprecated use `UpdateAgentKnowledgeBases$Outbound` instead. */
|
|
1166
|
+
type Outbound = UpdateAgentKnowledgeBases$Outbound;
|
|
1167
|
+
}
|
|
1168
|
+
export declare function updateAgentKnowledgeBasesToJSON(updateAgentKnowledgeBases: UpdateAgentKnowledgeBases): string;
|
|
1169
|
+
export declare function updateAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentKnowledgeBases, SDKValidationError>;
|
|
1170
|
+
/** @internal */
|
|
1171
|
+
export declare const UpdateAgentRequestBody$inboundSchema: z.ZodType<UpdateAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
1172
|
+
/** @internal */
|
|
1173
|
+
export type UpdateAgentRequestBody$Outbound = {
|
|
1174
|
+
key?: string | undefined;
|
|
1175
|
+
project_id?: string | undefined;
|
|
1176
|
+
role?: string | undefined;
|
|
1177
|
+
description?: string | undefined;
|
|
1178
|
+
instructions?: string | undefined;
|
|
1179
|
+
system_prompt?: string | undefined;
|
|
1180
|
+
model?: string | undefined;
|
|
1181
|
+
fallback_models?: Array<string> | undefined;
|
|
1182
|
+
settings?: UpdateAgentSettings$Outbound | undefined;
|
|
1183
|
+
path?: string | undefined;
|
|
1184
|
+
memory_stores?: Array<string> | undefined;
|
|
1185
|
+
knowledge_bases?: Array<UpdateAgentKnowledgeBases$Outbound> | undefined;
|
|
1186
|
+
};
|
|
1187
|
+
/** @internal */
|
|
1188
|
+
export declare const UpdateAgentRequestBody$outboundSchema: z.ZodType<UpdateAgentRequestBody$Outbound, z.ZodTypeDef, UpdateAgentRequestBody>;
|
|
1189
|
+
/**
|
|
1190
|
+
* @internal
|
|
1191
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1192
|
+
*/
|
|
1193
|
+
export declare namespace UpdateAgentRequestBody$ {
|
|
1194
|
+
/** @deprecated use `UpdateAgentRequestBody$inboundSchema` instead. */
|
|
1195
|
+
const inboundSchema: z.ZodType<UpdateAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
1196
|
+
/** @deprecated use `UpdateAgentRequestBody$outboundSchema` instead. */
|
|
1197
|
+
const outboundSchema: z.ZodType<UpdateAgentRequestBody$Outbound, z.ZodTypeDef, UpdateAgentRequestBody>;
|
|
1198
|
+
/** @deprecated use `UpdateAgentRequestBody$Outbound` instead. */
|
|
1199
|
+
type Outbound = UpdateAgentRequestBody$Outbound;
|
|
1200
|
+
}
|
|
1201
|
+
export declare function updateAgentRequestBodyToJSON(updateAgentRequestBody: UpdateAgentRequestBody): string;
|
|
1202
|
+
export declare function updateAgentRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateAgentRequestBody, SDKValidationError>;
|
|
1203
|
+
/** @internal */
|
|
1204
|
+
export declare const UpdateAgentRequest$inboundSchema: z.ZodType<UpdateAgentRequest, z.ZodTypeDef, unknown>;
|
|
1205
|
+
/** @internal */
|
|
1206
|
+
export type UpdateAgentRequest$Outbound = {
|
|
1207
|
+
agent_key: string;
|
|
1208
|
+
RequestBody?: UpdateAgentRequestBody$Outbound | undefined;
|
|
1209
|
+
};
|
|
1210
|
+
/** @internal */
|
|
1211
|
+
export declare const UpdateAgentRequest$outboundSchema: z.ZodType<UpdateAgentRequest$Outbound, z.ZodTypeDef, UpdateAgentRequest>;
|
|
1212
|
+
/**
|
|
1213
|
+
* @internal
|
|
1214
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1215
|
+
*/
|
|
1216
|
+
export declare namespace UpdateAgentRequest$ {
|
|
1217
|
+
/** @deprecated use `UpdateAgentRequest$inboundSchema` instead. */
|
|
1218
|
+
const inboundSchema: z.ZodType<UpdateAgentRequest, z.ZodTypeDef, unknown>;
|
|
1219
|
+
/** @deprecated use `UpdateAgentRequest$outboundSchema` instead. */
|
|
1220
|
+
const outboundSchema: z.ZodType<UpdateAgentRequest$Outbound, z.ZodTypeDef, UpdateAgentRequest>;
|
|
1221
|
+
/** @deprecated use `UpdateAgentRequest$Outbound` instead. */
|
|
1222
|
+
type Outbound = UpdateAgentRequest$Outbound;
|
|
1223
|
+
}
|
|
1224
|
+
export declare function updateAgentRequestToJSON(updateAgentRequest: UpdateAgentRequest): string;
|
|
1225
|
+
export declare function updateAgentRequestFromJSON(jsonString: string): SafeParseResult<UpdateAgentRequest, SDKValidationError>;
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export declare const UpdateAgentStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentStatus>;
|
|
1228
|
+
/** @internal */
|
|
1229
|
+
export declare const UpdateAgentStatus$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentStatus>;
|
|
1230
|
+
/**
|
|
1231
|
+
* @internal
|
|
1232
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1233
|
+
*/
|
|
1234
|
+
export declare namespace UpdateAgentStatus$ {
|
|
1235
|
+
/** @deprecated use `UpdateAgentStatus$inboundSchema` instead. */
|
|
1236
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1237
|
+
readonly Live: "live";
|
|
1238
|
+
readonly Draft: "draft";
|
|
1239
|
+
readonly Pending: "pending";
|
|
1240
|
+
readonly Published: "published";
|
|
1241
|
+
}>;
|
|
1242
|
+
/** @deprecated use `UpdateAgentStatus$outboundSchema` instead. */
|
|
1243
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1244
|
+
readonly Live: "live";
|
|
1245
|
+
readonly Draft: "draft";
|
|
1246
|
+
readonly Pending: "pending";
|
|
1247
|
+
readonly Published: "published";
|
|
1248
|
+
}>;
|
|
1249
|
+
}
|
|
1250
|
+
/** @internal */
|
|
1251
|
+
export declare const UpdateAgentAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsToolApprovalRequired>;
|
|
1252
|
+
/** @internal */
|
|
1253
|
+
export declare const UpdateAgentAgentsToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsToolApprovalRequired>;
|
|
1254
|
+
/**
|
|
1255
|
+
* @internal
|
|
1256
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1257
|
+
*/
|
|
1258
|
+
export declare namespace UpdateAgentAgentsToolApprovalRequired$ {
|
|
1259
|
+
/** @deprecated use `UpdateAgentAgentsToolApprovalRequired$inboundSchema` instead. */
|
|
1260
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1261
|
+
readonly All: "all";
|
|
1262
|
+
readonly RespectTool: "respect_tool";
|
|
1263
|
+
readonly None: "none";
|
|
1264
|
+
}>;
|
|
1265
|
+
/** @deprecated use `UpdateAgentAgentsToolApprovalRequired$outboundSchema` instead. */
|
|
1266
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1267
|
+
readonly All: "all";
|
|
1268
|
+
readonly RespectTool: "respect_tool";
|
|
1269
|
+
readonly None: "none";
|
|
1270
|
+
}>;
|
|
1271
|
+
}
|
|
1272
|
+
/** @internal */
|
|
1273
|
+
export declare const UpdateAgentConditions$inboundSchema: z.ZodType<UpdateAgentConditions, z.ZodTypeDef, unknown>;
|
|
1274
|
+
/** @internal */
|
|
1275
|
+
export type UpdateAgentConditions$Outbound = {
|
|
1276
|
+
condition: string;
|
|
1277
|
+
operator: string;
|
|
1278
|
+
value: string;
|
|
1279
|
+
};
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
export declare const UpdateAgentConditions$outboundSchema: z.ZodType<UpdateAgentConditions$Outbound, z.ZodTypeDef, UpdateAgentConditions>;
|
|
1282
|
+
/**
|
|
1283
|
+
* @internal
|
|
1284
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1285
|
+
*/
|
|
1286
|
+
export declare namespace UpdateAgentConditions$ {
|
|
1287
|
+
/** @deprecated use `UpdateAgentConditions$inboundSchema` instead. */
|
|
1288
|
+
const inboundSchema: z.ZodType<UpdateAgentConditions, z.ZodTypeDef, unknown>;
|
|
1289
|
+
/** @deprecated use `UpdateAgentConditions$outboundSchema` instead. */
|
|
1290
|
+
const outboundSchema: z.ZodType<UpdateAgentConditions$Outbound, z.ZodTypeDef, UpdateAgentConditions>;
|
|
1291
|
+
/** @deprecated use `UpdateAgentConditions$Outbound` instead. */
|
|
1292
|
+
type Outbound = UpdateAgentConditions$Outbound;
|
|
1293
|
+
}
|
|
1294
|
+
export declare function updateAgentConditionsToJSON(updateAgentConditions: UpdateAgentConditions): string;
|
|
1295
|
+
export declare function updateAgentConditionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentConditions, SDKValidationError>;
|
|
1296
|
+
/** @internal */
|
|
1297
|
+
export declare const UpdateAgentTools$inboundSchema: z.ZodType<UpdateAgentTools, z.ZodTypeDef, unknown>;
|
|
1298
|
+
/** @internal */
|
|
1299
|
+
export type UpdateAgentTools$Outbound = {
|
|
1300
|
+
id: string;
|
|
1301
|
+
key?: string | undefined;
|
|
1302
|
+
action_type: string;
|
|
1303
|
+
display_name?: string | undefined;
|
|
1304
|
+
requires_approval: boolean;
|
|
1305
|
+
conditions?: Array<UpdateAgentConditions$Outbound> | undefined;
|
|
1306
|
+
mcpServer?: string | undefined;
|
|
1307
|
+
timeout: number;
|
|
1308
|
+
};
|
|
1309
|
+
/** @internal */
|
|
1310
|
+
export declare const UpdateAgentTools$outboundSchema: z.ZodType<UpdateAgentTools$Outbound, z.ZodTypeDef, UpdateAgentTools>;
|
|
1311
|
+
/**
|
|
1312
|
+
* @internal
|
|
1313
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1314
|
+
*/
|
|
1315
|
+
export declare namespace UpdateAgentTools$ {
|
|
1316
|
+
/** @deprecated use `UpdateAgentTools$inboundSchema` instead. */
|
|
1317
|
+
const inboundSchema: z.ZodType<UpdateAgentTools, z.ZodTypeDef, unknown>;
|
|
1318
|
+
/** @deprecated use `UpdateAgentTools$outboundSchema` instead. */
|
|
1319
|
+
const outboundSchema: z.ZodType<UpdateAgentTools$Outbound, z.ZodTypeDef, UpdateAgentTools>;
|
|
1320
|
+
/** @deprecated use `UpdateAgentTools$Outbound` instead. */
|
|
1321
|
+
type Outbound = UpdateAgentTools$Outbound;
|
|
1322
|
+
}
|
|
1323
|
+
export declare function updateAgentToolsToJSON(updateAgentTools: UpdateAgentTools): string;
|
|
1324
|
+
export declare function updateAgentToolsFromJSON(jsonString: string): SafeParseResult<UpdateAgentTools, SDKValidationError>;
|
|
1325
|
+
/** @internal */
|
|
1326
|
+
export declare const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<UpdateAgentAgentsSettings, z.ZodTypeDef, unknown>;
|
|
1327
|
+
/** @internal */
|
|
1328
|
+
export type UpdateAgentAgentsSettings$Outbound = {
|
|
1329
|
+
max_iterations: number;
|
|
1330
|
+
max_execution_time: number;
|
|
1331
|
+
tool_approval_required: string;
|
|
1332
|
+
tools: Array<UpdateAgentTools$Outbound>;
|
|
1333
|
+
};
|
|
1334
|
+
/** @internal */
|
|
1335
|
+
export declare const UpdateAgentAgentsSettings$outboundSchema: z.ZodType<UpdateAgentAgentsSettings$Outbound, z.ZodTypeDef, UpdateAgentAgentsSettings>;
|
|
1336
|
+
/**
|
|
1337
|
+
* @internal
|
|
1338
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1339
|
+
*/
|
|
1340
|
+
export declare namespace UpdateAgentAgentsSettings$ {
|
|
1341
|
+
/** @deprecated use `UpdateAgentAgentsSettings$inboundSchema` instead. */
|
|
1342
|
+
const inboundSchema: z.ZodType<UpdateAgentAgentsSettings, z.ZodTypeDef, unknown>;
|
|
1343
|
+
/** @deprecated use `UpdateAgentAgentsSettings$outboundSchema` instead. */
|
|
1344
|
+
const outboundSchema: z.ZodType<UpdateAgentAgentsSettings$Outbound, z.ZodTypeDef, UpdateAgentAgentsSettings>;
|
|
1345
|
+
/** @deprecated use `UpdateAgentAgentsSettings$Outbound` instead. */
|
|
1346
|
+
type Outbound = UpdateAgentAgentsSettings$Outbound;
|
|
1347
|
+
}
|
|
1348
|
+
export declare function updateAgentAgentsSettingsToJSON(updateAgentAgentsSettings: UpdateAgentAgentsSettings): string;
|
|
1349
|
+
export declare function updateAgentAgentsSettingsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsSettings, SDKValidationError>;
|
|
1350
|
+
/** @internal */
|
|
1351
|
+
export declare const UpdateAgentModel$inboundSchema: z.ZodType<UpdateAgentModel, z.ZodTypeDef, unknown>;
|
|
1352
|
+
/** @internal */
|
|
1353
|
+
export type UpdateAgentModel$Outbound = {
|
|
1354
|
+
id: string;
|
|
1355
|
+
integration_id?: string | null | undefined;
|
|
1356
|
+
fallback_models?: Array<string> | null | undefined;
|
|
1357
|
+
max_tokens?: number | undefined;
|
|
1358
|
+
temperature?: number | undefined;
|
|
1359
|
+
};
|
|
1360
|
+
/** @internal */
|
|
1361
|
+
export declare const UpdateAgentModel$outboundSchema: z.ZodType<UpdateAgentModel$Outbound, z.ZodTypeDef, UpdateAgentModel>;
|
|
1362
|
+
/**
|
|
1363
|
+
* @internal
|
|
1364
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1365
|
+
*/
|
|
1366
|
+
export declare namespace UpdateAgentModel$ {
|
|
1367
|
+
/** @deprecated use `UpdateAgentModel$inboundSchema` instead. */
|
|
1368
|
+
const inboundSchema: z.ZodType<UpdateAgentModel, z.ZodTypeDef, unknown>;
|
|
1369
|
+
/** @deprecated use `UpdateAgentModel$outboundSchema` instead. */
|
|
1370
|
+
const outboundSchema: z.ZodType<UpdateAgentModel$Outbound, z.ZodTypeDef, UpdateAgentModel>;
|
|
1371
|
+
/** @deprecated use `UpdateAgentModel$Outbound` instead. */
|
|
1372
|
+
type Outbound = UpdateAgentModel$Outbound;
|
|
1373
|
+
}
|
|
1374
|
+
export declare function updateAgentModelToJSON(updateAgentModel: UpdateAgentModel): string;
|
|
1375
|
+
export declare function updateAgentModelFromJSON(jsonString: string): SafeParseResult<UpdateAgentModel, SDKValidationError>;
|
|
1376
|
+
/** @internal */
|
|
1377
|
+
export declare const UpdateAgentTeamOfAgents$inboundSchema: z.ZodType<UpdateAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1378
|
+
/** @internal */
|
|
1379
|
+
export type UpdateAgentTeamOfAgents$Outbound = {
|
|
1380
|
+
key: string;
|
|
1381
|
+
role?: string | undefined;
|
|
1382
|
+
};
|
|
1383
|
+
/** @internal */
|
|
1384
|
+
export declare const UpdateAgentTeamOfAgents$outboundSchema: z.ZodType<UpdateAgentTeamOfAgents$Outbound, z.ZodTypeDef, UpdateAgentTeamOfAgents>;
|
|
1385
|
+
/**
|
|
1386
|
+
* @internal
|
|
1387
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1388
|
+
*/
|
|
1389
|
+
export declare namespace UpdateAgentTeamOfAgents$ {
|
|
1390
|
+
/** @deprecated use `UpdateAgentTeamOfAgents$inboundSchema` instead. */
|
|
1391
|
+
const inboundSchema: z.ZodType<UpdateAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1392
|
+
/** @deprecated use `UpdateAgentTeamOfAgents$outboundSchema` instead. */
|
|
1393
|
+
const outboundSchema: z.ZodType<UpdateAgentTeamOfAgents$Outbound, z.ZodTypeDef, UpdateAgentTeamOfAgents>;
|
|
1394
|
+
/** @deprecated use `UpdateAgentTeamOfAgents$Outbound` instead. */
|
|
1395
|
+
type Outbound = UpdateAgentTeamOfAgents$Outbound;
|
|
1396
|
+
}
|
|
1397
|
+
export declare function updateAgentTeamOfAgentsToJSON(updateAgentTeamOfAgents: UpdateAgentTeamOfAgents): string;
|
|
1398
|
+
export declare function updateAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<UpdateAgentTeamOfAgents, SDKValidationError>;
|
|
1399
|
+
/** @internal */
|
|
1400
|
+
export declare const UpdateAgentMetrics$inboundSchema: z.ZodType<UpdateAgentMetrics, z.ZodTypeDef, unknown>;
|
|
1401
|
+
/** @internal */
|
|
1402
|
+
export type UpdateAgentMetrics$Outbound = {
|
|
1403
|
+
total_cost: number;
|
|
1404
|
+
};
|
|
1405
|
+
/** @internal */
|
|
1406
|
+
export declare const UpdateAgentMetrics$outboundSchema: z.ZodType<UpdateAgentMetrics$Outbound, z.ZodTypeDef, UpdateAgentMetrics>;
|
|
1407
|
+
/**
|
|
1408
|
+
* @internal
|
|
1409
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1410
|
+
*/
|
|
1411
|
+
export declare namespace UpdateAgentMetrics$ {
|
|
1412
|
+
/** @deprecated use `UpdateAgentMetrics$inboundSchema` instead. */
|
|
1413
|
+
const inboundSchema: z.ZodType<UpdateAgentMetrics, z.ZodTypeDef, unknown>;
|
|
1414
|
+
/** @deprecated use `UpdateAgentMetrics$outboundSchema` instead. */
|
|
1415
|
+
const outboundSchema: z.ZodType<UpdateAgentMetrics$Outbound, z.ZodTypeDef, UpdateAgentMetrics>;
|
|
1416
|
+
/** @deprecated use `UpdateAgentMetrics$Outbound` instead. */
|
|
1417
|
+
type Outbound = UpdateAgentMetrics$Outbound;
|
|
1418
|
+
}
|
|
1419
|
+
export declare function updateAgentMetricsToJSON(updateAgentMetrics: UpdateAgentMetrics): string;
|
|
1420
|
+
export declare function updateAgentMetricsFromJSON(jsonString: string): SafeParseResult<UpdateAgentMetrics, SDKValidationError>;
|
|
1421
|
+
/** @internal */
|
|
1422
|
+
export declare const UpdateAgentAgentsKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1423
|
+
/** @internal */
|
|
1424
|
+
export type UpdateAgentAgentsKnowledgeBases$Outbound = {
|
|
1425
|
+
knowledge_id: string;
|
|
1426
|
+
};
|
|
1427
|
+
/** @internal */
|
|
1428
|
+
export declare const UpdateAgentAgentsKnowledgeBases$outboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases$Outbound, z.ZodTypeDef, UpdateAgentAgentsKnowledgeBases>;
|
|
1429
|
+
/**
|
|
1430
|
+
* @internal
|
|
1431
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1432
|
+
*/
|
|
1433
|
+
export declare namespace UpdateAgentAgentsKnowledgeBases$ {
|
|
1434
|
+
/** @deprecated use `UpdateAgentAgentsKnowledgeBases$inboundSchema` instead. */
|
|
1435
|
+
const inboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1436
|
+
/** @deprecated use `UpdateAgentAgentsKnowledgeBases$outboundSchema` instead. */
|
|
1437
|
+
const outboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases$Outbound, z.ZodTypeDef, UpdateAgentAgentsKnowledgeBases>;
|
|
1438
|
+
/** @deprecated use `UpdateAgentAgentsKnowledgeBases$Outbound` instead. */
|
|
1439
|
+
type Outbound = UpdateAgentAgentsKnowledgeBases$Outbound;
|
|
1440
|
+
}
|
|
1441
|
+
export declare function updateAgentAgentsKnowledgeBasesToJSON(updateAgentAgentsKnowledgeBases: UpdateAgentAgentsKnowledgeBases): string;
|
|
1442
|
+
export declare function updateAgentAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsKnowledgeBases, SDKValidationError>;
|
|
1443
|
+
/** @internal */
|
|
1444
|
+
export declare const UpdateAgentHiddenPanels$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentHiddenPanels>;
|
|
1445
|
+
/** @internal */
|
|
1446
|
+
export declare const UpdateAgentHiddenPanels$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentHiddenPanels>;
|
|
1447
|
+
/**
|
|
1448
|
+
* @internal
|
|
1449
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1450
|
+
*/
|
|
1451
|
+
export declare namespace UpdateAgentHiddenPanels$ {
|
|
1452
|
+
/** @deprecated use `UpdateAgentHiddenPanels$inboundSchema` instead. */
|
|
1453
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1454
|
+
readonly Model: "model";
|
|
1455
|
+
readonly Tools: "tools";
|
|
1456
|
+
readonly KnowledgeBases: "knowledge_bases";
|
|
1457
|
+
readonly Variables: "variables";
|
|
1458
|
+
readonly RuntimeConstraints: "runtime_constraints";
|
|
1459
|
+
}>;
|
|
1460
|
+
/** @deprecated use `UpdateAgentHiddenPanels$outboundSchema` instead. */
|
|
1461
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1462
|
+
readonly Model: "model";
|
|
1463
|
+
readonly Tools: "tools";
|
|
1464
|
+
readonly KnowledgeBases: "knowledge_bases";
|
|
1465
|
+
readonly Variables: "variables";
|
|
1466
|
+
readonly RuntimeConstraints: "runtime_constraints";
|
|
1467
|
+
}>;
|
|
1468
|
+
}
|
|
1469
|
+
/** @internal */
|
|
1470
|
+
export declare const UpdateAgentResponseBody$inboundSchema: z.ZodType<UpdateAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
1471
|
+
/** @internal */
|
|
1472
|
+
export type UpdateAgentResponseBody$Outbound = {
|
|
1473
|
+
_id: string;
|
|
1474
|
+
key: string;
|
|
1475
|
+
workspace_id: string;
|
|
1476
|
+
project_id: string;
|
|
1477
|
+
created_by_id?: string | null | undefined;
|
|
1478
|
+
updated_by_id?: string | null | undefined;
|
|
1479
|
+
created?: string | undefined;
|
|
1480
|
+
updated?: string | undefined;
|
|
1481
|
+
role: string;
|
|
1482
|
+
description: string;
|
|
1483
|
+
system_prompt?: string | undefined;
|
|
1484
|
+
instructions: string;
|
|
1485
|
+
status: string;
|
|
1486
|
+
settings?: UpdateAgentAgentsSettings$Outbound | undefined;
|
|
1487
|
+
model: UpdateAgentModel$Outbound;
|
|
1488
|
+
version_hash?: string | undefined;
|
|
1489
|
+
path: string;
|
|
1490
|
+
memory_stores: Array<string>;
|
|
1491
|
+
team_of_agents: Array<UpdateAgentTeamOfAgents$Outbound>;
|
|
1492
|
+
metrics?: UpdateAgentMetrics$Outbound | undefined;
|
|
1493
|
+
variables?: {
|
|
1494
|
+
[k: string]: any;
|
|
1495
|
+
} | undefined;
|
|
1496
|
+
knowledge_bases?: Array<UpdateAgentAgentsKnowledgeBases$Outbound> | undefined;
|
|
1497
|
+
hidden_panels?: Array<string> | undefined;
|
|
1498
|
+
};
|
|
1499
|
+
/** @internal */
|
|
1500
|
+
export declare const UpdateAgentResponseBody$outboundSchema: z.ZodType<UpdateAgentResponseBody$Outbound, z.ZodTypeDef, UpdateAgentResponseBody>;
|
|
1501
|
+
/**
|
|
1502
|
+
* @internal
|
|
1503
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1504
|
+
*/
|
|
1505
|
+
export declare namespace UpdateAgentResponseBody$ {
|
|
1506
|
+
/** @deprecated use `UpdateAgentResponseBody$inboundSchema` instead. */
|
|
1507
|
+
const inboundSchema: z.ZodType<UpdateAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
1508
|
+
/** @deprecated use `UpdateAgentResponseBody$outboundSchema` instead. */
|
|
1509
|
+
const outboundSchema: z.ZodType<UpdateAgentResponseBody$Outbound, z.ZodTypeDef, UpdateAgentResponseBody>;
|
|
1510
|
+
/** @deprecated use `UpdateAgentResponseBody$Outbound` instead. */
|
|
1511
|
+
type Outbound = UpdateAgentResponseBody$Outbound;
|
|
1512
|
+
}
|
|
1513
|
+
export declare function updateAgentResponseBodyToJSON(updateAgentResponseBody: UpdateAgentResponseBody): string;
|
|
1514
|
+
export declare function updateAgentResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBody, SDKValidationError>;
|
|
1515
|
+
//# sourceMappingURL=updateagent.d.ts.map
|