@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,1504 @@
|
|
|
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 ToolApprovalRequired: {
|
|
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 ToolApprovalRequired = ClosedEnum<typeof ToolApprovalRequired>;
|
|
17
|
+
/**
|
|
18
|
+
* Function tool type
|
|
19
|
+
*/
|
|
20
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type: {
|
|
21
|
+
readonly Function: "function";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Function tool type
|
|
25
|
+
*/
|
|
26
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
|
|
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 FunctionTool = {
|
|
31
|
+
/**
|
|
32
|
+
* Function tool type
|
|
33
|
+
*/
|
|
34
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type;
|
|
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 CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type: {
|
|
52
|
+
readonly Code: "code";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Code execution tool type
|
|
56
|
+
*/
|
|
57
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
|
|
58
|
+
/**
|
|
59
|
+
* Executes code snippets in a sandboxed environment. Must reference a pre-created code tool by key or id.
|
|
60
|
+
*/
|
|
61
|
+
export type CodeExecutionTool = {
|
|
62
|
+
/**
|
|
63
|
+
* Code execution tool type
|
|
64
|
+
*/
|
|
65
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type;
|
|
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 CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type: {
|
|
83
|
+
readonly Http: "http";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* HTTP tool type
|
|
87
|
+
*/
|
|
88
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
|
|
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 HTTPTool = {
|
|
93
|
+
/**
|
|
94
|
+
* HTTP tool type
|
|
95
|
+
*/
|
|
96
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type;
|
|
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 CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type: {
|
|
111
|
+
readonly CurrentDate: "current_date";
|
|
112
|
+
};
|
|
113
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
|
|
114
|
+
/**
|
|
115
|
+
* Returns the current date and time
|
|
116
|
+
*/
|
|
117
|
+
export type CurrentDateTool = {
|
|
118
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type;
|
|
119
|
+
/**
|
|
120
|
+
* Whether this tool requires approval before execution
|
|
121
|
+
*/
|
|
122
|
+
requiresApproval?: boolean | undefined;
|
|
123
|
+
};
|
|
124
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type: {
|
|
125
|
+
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
126
|
+
};
|
|
127
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
|
|
128
|
+
/**
|
|
129
|
+
* Queries knowledge bases for information
|
|
130
|
+
*/
|
|
131
|
+
export type QueryKnowledgeBaseTool = {
|
|
132
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type;
|
|
133
|
+
/**
|
|
134
|
+
* Whether this tool requires approval before execution
|
|
135
|
+
*/
|
|
136
|
+
requiresApproval?: boolean | undefined;
|
|
137
|
+
};
|
|
138
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type: {
|
|
139
|
+
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
140
|
+
};
|
|
141
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
|
|
142
|
+
/**
|
|
143
|
+
* Lists available knowledge bases
|
|
144
|
+
*/
|
|
145
|
+
export type RetrieveKnowledgeBasesTool = {
|
|
146
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type;
|
|
147
|
+
/**
|
|
148
|
+
* Whether this tool requires approval before execution
|
|
149
|
+
*/
|
|
150
|
+
requiresApproval?: boolean | undefined;
|
|
151
|
+
};
|
|
152
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type: {
|
|
153
|
+
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
154
|
+
};
|
|
155
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
|
|
156
|
+
/**
|
|
157
|
+
* Deletes documents from memory stores
|
|
158
|
+
*/
|
|
159
|
+
export type DeleteMemoryDocumentTool = {
|
|
160
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type;
|
|
161
|
+
/**
|
|
162
|
+
* Whether this tool requires approval before execution
|
|
163
|
+
*/
|
|
164
|
+
requiresApproval?: boolean | undefined;
|
|
165
|
+
};
|
|
166
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType: {
|
|
167
|
+
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
168
|
+
};
|
|
169
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
|
|
170
|
+
/**
|
|
171
|
+
* Lists available memory stores
|
|
172
|
+
*/
|
|
173
|
+
export type RetrieveMemoryStoresTool = {
|
|
174
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType;
|
|
175
|
+
/**
|
|
176
|
+
* Whether this tool requires approval before execution
|
|
177
|
+
*/
|
|
178
|
+
requiresApproval?: boolean | undefined;
|
|
179
|
+
};
|
|
180
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType: {
|
|
181
|
+
readonly WriteMemoryStore: "write_memory_store";
|
|
182
|
+
};
|
|
183
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
|
|
184
|
+
/**
|
|
185
|
+
* Writes information to agent memory stores
|
|
186
|
+
*/
|
|
187
|
+
export type WriteMemoryStoreTool = {
|
|
188
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType;
|
|
189
|
+
/**
|
|
190
|
+
* Whether this tool requires approval before execution
|
|
191
|
+
*/
|
|
192
|
+
requiresApproval?: boolean | undefined;
|
|
193
|
+
};
|
|
194
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType: {
|
|
195
|
+
readonly QueryMemoryStore: "query_memory_store";
|
|
196
|
+
};
|
|
197
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
198
|
+
/**
|
|
199
|
+
* Queries agent memory stores for context
|
|
200
|
+
*/
|
|
201
|
+
export type QueryMemoryStoreTool = {
|
|
202
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType;
|
|
203
|
+
/**
|
|
204
|
+
* Whether this tool requires approval before execution
|
|
205
|
+
*/
|
|
206
|
+
requiresApproval?: boolean | undefined;
|
|
207
|
+
};
|
|
208
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestType: {
|
|
209
|
+
readonly RetrieveAgents: "retrieve_agents";
|
|
210
|
+
};
|
|
211
|
+
export type CreateAgentAgentToolInputCRUDAgentsRequestType = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestType>;
|
|
212
|
+
/**
|
|
213
|
+
* Retrieves available agents in the system
|
|
214
|
+
*/
|
|
215
|
+
export type RetrieveAgentsTool = {
|
|
216
|
+
type: CreateAgentAgentToolInputCRUDAgentsRequestType;
|
|
217
|
+
/**
|
|
218
|
+
* Whether this tool requires approval before execution
|
|
219
|
+
*/
|
|
220
|
+
requiresApproval?: boolean | undefined;
|
|
221
|
+
};
|
|
222
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsType: {
|
|
223
|
+
readonly CallSubAgent: "call_sub_agent";
|
|
224
|
+
};
|
|
225
|
+
export type CreateAgentAgentToolInputCRUDAgentsType = ClosedEnum<typeof CreateAgentAgentToolInputCRUDAgentsType>;
|
|
226
|
+
/**
|
|
227
|
+
* Delegates tasks to specialized sub-agents
|
|
228
|
+
*/
|
|
229
|
+
export type CallSubAgentTool = {
|
|
230
|
+
type: CreateAgentAgentToolInputCRUDAgentsType;
|
|
231
|
+
/**
|
|
232
|
+
* Whether this tool requires approval before execution
|
|
233
|
+
*/
|
|
234
|
+
requiresApproval?: boolean | undefined;
|
|
235
|
+
};
|
|
236
|
+
export declare const CreateAgentAgentToolInputCRUDType: {
|
|
237
|
+
readonly WebScraper: "web_scraper";
|
|
238
|
+
};
|
|
239
|
+
export type CreateAgentAgentToolInputCRUDType = ClosedEnum<typeof CreateAgentAgentToolInputCRUDType>;
|
|
240
|
+
/**
|
|
241
|
+
* Scrapes and extracts content from web pages
|
|
242
|
+
*/
|
|
243
|
+
export type WebScraperTool = {
|
|
244
|
+
type: CreateAgentAgentToolInputCRUDType;
|
|
245
|
+
/**
|
|
246
|
+
* Whether this tool requires approval before execution
|
|
247
|
+
*/
|
|
248
|
+
requiresApproval?: boolean | undefined;
|
|
249
|
+
};
|
|
250
|
+
export declare const AgentToolInputCRUDType: {
|
|
251
|
+
readonly GoogleSearch: "google_search";
|
|
252
|
+
};
|
|
253
|
+
export type AgentToolInputCRUDType = ClosedEnum<typeof AgentToolInputCRUDType>;
|
|
254
|
+
/**
|
|
255
|
+
* Performs Google searches to retrieve web content
|
|
256
|
+
*/
|
|
257
|
+
export type GoogleSearchTool = {
|
|
258
|
+
type: AgentToolInputCRUDType;
|
|
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 AgentToolInputCRUD = GoogleSearchTool | WebScraperTool | CallSubAgentTool | RetrieveAgentsTool | QueryMemoryStoreTool | WriteMemoryStoreTool | RetrieveMemoryStoresTool | DeleteMemoryDocumentTool | RetrieveKnowledgeBasesTool | QueryKnowledgeBaseTool | CurrentDateTool | HTTPTool | CodeExecutionTool | FunctionTool;
|
|
268
|
+
/**
|
|
269
|
+
* Configuration settings for the agent's behavior
|
|
270
|
+
*/
|
|
271
|
+
export type Settings = {
|
|
272
|
+
/**
|
|
273
|
+
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
274
|
+
*/
|
|
275
|
+
maxIterations?: number | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* 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.
|
|
278
|
+
*/
|
|
279
|
+
maxExecutionTime?: number | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* 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.
|
|
282
|
+
*/
|
|
283
|
+
toolApprovalRequired?: ToolApprovalRequired | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* 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.
|
|
286
|
+
*/
|
|
287
|
+
tools: Array<GoogleSearchTool | WebScraperTool | CallSubAgentTool | RetrieveAgentsTool | QueryMemoryStoreTool | WriteMemoryStoreTool | RetrieveMemoryStoresTool | DeleteMemoryDocumentTool | RetrieveKnowledgeBasesTool | QueryKnowledgeBaseTool | CurrentDateTool | HTTPTool | CodeExecutionTool | FunctionTool>;
|
|
288
|
+
};
|
|
289
|
+
export type KnowledgeBases = {
|
|
290
|
+
/**
|
|
291
|
+
* Unique identifier of the knowledge base to search
|
|
292
|
+
*/
|
|
293
|
+
knowledgeId: string;
|
|
294
|
+
};
|
|
295
|
+
export type CreateAgentRequestBody = {
|
|
296
|
+
/**
|
|
297
|
+
* The path where the agent will be stored in the project structure
|
|
298
|
+
*/
|
|
299
|
+
path: string;
|
|
300
|
+
/**
|
|
301
|
+
* Unique identifier for the agent within the workspace
|
|
302
|
+
*/
|
|
303
|
+
key: string;
|
|
304
|
+
/**
|
|
305
|
+
* The role or function of the agent
|
|
306
|
+
*/
|
|
307
|
+
role: string;
|
|
308
|
+
/**
|
|
309
|
+
* A brief description of what the agent does
|
|
310
|
+
*/
|
|
311
|
+
description: string;
|
|
312
|
+
/**
|
|
313
|
+
* Detailed instructions that guide the agent's behavior
|
|
314
|
+
*/
|
|
315
|
+
instructions: string;
|
|
316
|
+
/**
|
|
317
|
+
* A custom system prompt template for the agent. If omitted, the default template is used.
|
|
318
|
+
*/
|
|
319
|
+
systemPrompt?: string | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* The primary language model that powers the agent (e.g., "anthropic/claude-3-sonnet-20240229")
|
|
322
|
+
*/
|
|
323
|
+
model: string;
|
|
324
|
+
/**
|
|
325
|
+
* 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.
|
|
326
|
+
*/
|
|
327
|
+
fallbackModels?: Array<string> | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* Configuration settings for the agent's behavior
|
|
330
|
+
*/
|
|
331
|
+
settings: Settings;
|
|
332
|
+
/**
|
|
333
|
+
* Optional array of memory store keys for the agent to access
|
|
334
|
+
*/
|
|
335
|
+
memoryStores?: Array<string> | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* Optional array of knowledge base configurations for the agent to access
|
|
338
|
+
*/
|
|
339
|
+
knowledgeBases?: Array<KnowledgeBases> | undefined;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* 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.
|
|
343
|
+
*/
|
|
344
|
+
export declare const CreateAgentStatus: {
|
|
345
|
+
readonly Live: "live";
|
|
346
|
+
readonly Draft: "draft";
|
|
347
|
+
readonly Pending: "pending";
|
|
348
|
+
readonly Published: "published";
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* 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.
|
|
352
|
+
*/
|
|
353
|
+
export type CreateAgentStatus = ClosedEnum<typeof CreateAgentStatus>;
|
|
354
|
+
/**
|
|
355
|
+
* 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.
|
|
356
|
+
*/
|
|
357
|
+
export declare const CreateAgentToolApprovalRequired: {
|
|
358
|
+
readonly All: "all";
|
|
359
|
+
readonly RespectTool: "respect_tool";
|
|
360
|
+
readonly None: "none";
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* 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.
|
|
364
|
+
*/
|
|
365
|
+
export type CreateAgentToolApprovalRequired = ClosedEnum<typeof CreateAgentToolApprovalRequired>;
|
|
366
|
+
export type Conditions = {
|
|
367
|
+
/**
|
|
368
|
+
* The argument of the tool call to evaluate
|
|
369
|
+
*/
|
|
370
|
+
condition: string;
|
|
371
|
+
/**
|
|
372
|
+
* The operator to use
|
|
373
|
+
*/
|
|
374
|
+
operator: string;
|
|
375
|
+
/**
|
|
376
|
+
* The value to compare against
|
|
377
|
+
*/
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
380
|
+
export type CreateAgentTools = {
|
|
381
|
+
/**
|
|
382
|
+
* The id of the resource
|
|
383
|
+
*/
|
|
384
|
+
id: string;
|
|
385
|
+
/**
|
|
386
|
+
* Optional tool key for custom tools
|
|
387
|
+
*/
|
|
388
|
+
key?: string | undefined;
|
|
389
|
+
actionType: string;
|
|
390
|
+
displayName?: string | undefined;
|
|
391
|
+
requiresApproval?: boolean | undefined;
|
|
392
|
+
conditions?: Array<Conditions> | undefined;
|
|
393
|
+
/**
|
|
394
|
+
* The id of the resource
|
|
395
|
+
*/
|
|
396
|
+
mcpServer?: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
399
|
+
*/
|
|
400
|
+
timeout?: number | undefined;
|
|
401
|
+
};
|
|
402
|
+
export type CreateAgentSettings = {
|
|
403
|
+
/**
|
|
404
|
+
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
405
|
+
*/
|
|
406
|
+
maxIterations?: number | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* 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.
|
|
409
|
+
*/
|
|
410
|
+
maxExecutionTime?: number | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* 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.
|
|
413
|
+
*/
|
|
414
|
+
toolApprovalRequired?: CreateAgentToolApprovalRequired | undefined;
|
|
415
|
+
tools: Array<CreateAgentTools>;
|
|
416
|
+
};
|
|
417
|
+
export type CreateAgentModel = {
|
|
418
|
+
/**
|
|
419
|
+
* The database ID of the primary model
|
|
420
|
+
*/
|
|
421
|
+
id: string;
|
|
422
|
+
/**
|
|
423
|
+
* Optional integration ID for custom model configurations
|
|
424
|
+
*/
|
|
425
|
+
integrationId?: string | null | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* Optional array of fallback model IDs that will be used automatically in order if the primary model fails
|
|
428
|
+
*/
|
|
429
|
+
fallbackModels?: Array<string> | null | undefined;
|
|
430
|
+
/**
|
|
431
|
+
* Maximum number of tokens for model responses
|
|
432
|
+
*/
|
|
433
|
+
maxTokens?: number | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* Temperature setting for model responses
|
|
436
|
+
*/
|
|
437
|
+
temperature?: number | undefined;
|
|
438
|
+
};
|
|
439
|
+
export type CreateAgentTeamOfAgents = {
|
|
440
|
+
/**
|
|
441
|
+
* The unique key of the agent within the workspace
|
|
442
|
+
*/
|
|
443
|
+
key: string;
|
|
444
|
+
/**
|
|
445
|
+
* 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.
|
|
446
|
+
*/
|
|
447
|
+
role?: string | undefined;
|
|
448
|
+
};
|
|
449
|
+
export type Metrics = {
|
|
450
|
+
totalCost?: number | undefined;
|
|
451
|
+
};
|
|
452
|
+
export type CreateAgentKnowledgeBases = {
|
|
453
|
+
/**
|
|
454
|
+
* Unique identifier of the knowledge base to search
|
|
455
|
+
*/
|
|
456
|
+
knowledgeId: string;
|
|
457
|
+
};
|
|
458
|
+
export declare const HiddenPanels: {
|
|
459
|
+
readonly Model: "model";
|
|
460
|
+
readonly Tools: "tools";
|
|
461
|
+
readonly KnowledgeBases: "knowledge_bases";
|
|
462
|
+
readonly Variables: "variables";
|
|
463
|
+
readonly RuntimeConstraints: "runtime_constraints";
|
|
464
|
+
};
|
|
465
|
+
export type HiddenPanels = ClosedEnum<typeof HiddenPanels>;
|
|
466
|
+
/**
|
|
467
|
+
* Agent created successfully
|
|
468
|
+
*/
|
|
469
|
+
export type CreateAgentResponseBody = {
|
|
470
|
+
id: string;
|
|
471
|
+
key: string;
|
|
472
|
+
workspaceId: string;
|
|
473
|
+
projectId: string;
|
|
474
|
+
createdById?: string | null | undefined;
|
|
475
|
+
updatedById?: string | null | undefined;
|
|
476
|
+
created?: string | undefined;
|
|
477
|
+
updated?: string | undefined;
|
|
478
|
+
role: string;
|
|
479
|
+
description: string;
|
|
480
|
+
systemPrompt?: string | undefined;
|
|
481
|
+
instructions: string;
|
|
482
|
+
/**
|
|
483
|
+
* 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.
|
|
484
|
+
*/
|
|
485
|
+
status: CreateAgentStatus;
|
|
486
|
+
settings?: CreateAgentSettings | undefined;
|
|
487
|
+
model: CreateAgentModel;
|
|
488
|
+
versionHash?: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* 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.
|
|
491
|
+
*/
|
|
492
|
+
path: string;
|
|
493
|
+
memoryStores: Array<string>;
|
|
494
|
+
/**
|
|
495
|
+
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
496
|
+
*/
|
|
497
|
+
teamOfAgents: Array<CreateAgentTeamOfAgents>;
|
|
498
|
+
metrics?: Metrics | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* Extracted variables from agent instructions
|
|
501
|
+
*/
|
|
502
|
+
variables?: {
|
|
503
|
+
[k: string]: any;
|
|
504
|
+
} | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* Agent knowledge bases reference
|
|
507
|
+
*/
|
|
508
|
+
knowledgeBases?: Array<CreateAgentKnowledgeBases> | undefined;
|
|
509
|
+
/**
|
|
510
|
+
* List of hidden collapsed panels in configuration. Duplicates are not allowed.
|
|
511
|
+
*/
|
|
512
|
+
hiddenPanels?: Array<HiddenPanels> | undefined;
|
|
513
|
+
};
|
|
514
|
+
/** @internal */
|
|
515
|
+
export declare const ToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof ToolApprovalRequired>;
|
|
516
|
+
/** @internal */
|
|
517
|
+
export declare const ToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof ToolApprovalRequired>;
|
|
518
|
+
/**
|
|
519
|
+
* @internal
|
|
520
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
521
|
+
*/
|
|
522
|
+
export declare namespace ToolApprovalRequired$ {
|
|
523
|
+
/** @deprecated use `ToolApprovalRequired$inboundSchema` instead. */
|
|
524
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
525
|
+
readonly All: "all";
|
|
526
|
+
readonly RespectTool: "respect_tool";
|
|
527
|
+
readonly None: "none";
|
|
528
|
+
}>;
|
|
529
|
+
/** @deprecated use `ToolApprovalRequired$outboundSchema` instead. */
|
|
530
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
531
|
+
readonly All: "all";
|
|
532
|
+
readonly RespectTool: "respect_tool";
|
|
533
|
+
readonly None: "none";
|
|
534
|
+
}>;
|
|
535
|
+
}
|
|
536
|
+
/** @internal */
|
|
537
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
|
|
538
|
+
/** @internal */
|
|
539
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
|
|
540
|
+
/**
|
|
541
|
+
* @internal
|
|
542
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
543
|
+
*/
|
|
544
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$ {
|
|
545
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema` instead. */
|
|
546
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
547
|
+
readonly Function: "function";
|
|
548
|
+
}>;
|
|
549
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema` instead. */
|
|
550
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
551
|
+
readonly Function: "function";
|
|
552
|
+
}>;
|
|
553
|
+
}
|
|
554
|
+
/** @internal */
|
|
555
|
+
export declare const FunctionTool$inboundSchema: z.ZodType<FunctionTool, z.ZodTypeDef, unknown>;
|
|
556
|
+
/** @internal */
|
|
557
|
+
export type FunctionTool$Outbound = {
|
|
558
|
+
type: string;
|
|
559
|
+
key?: string | undefined;
|
|
560
|
+
id?: string | undefined;
|
|
561
|
+
requires_approval: boolean;
|
|
562
|
+
};
|
|
563
|
+
/** @internal */
|
|
564
|
+
export declare const FunctionTool$outboundSchema: z.ZodType<FunctionTool$Outbound, z.ZodTypeDef, FunctionTool>;
|
|
565
|
+
/**
|
|
566
|
+
* @internal
|
|
567
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
568
|
+
*/
|
|
569
|
+
export declare namespace FunctionTool$ {
|
|
570
|
+
/** @deprecated use `FunctionTool$inboundSchema` instead. */
|
|
571
|
+
const inboundSchema: z.ZodType<FunctionTool, z.ZodTypeDef, unknown>;
|
|
572
|
+
/** @deprecated use `FunctionTool$outboundSchema` instead. */
|
|
573
|
+
const outboundSchema: z.ZodType<FunctionTool$Outbound, z.ZodTypeDef, FunctionTool>;
|
|
574
|
+
/** @deprecated use `FunctionTool$Outbound` instead. */
|
|
575
|
+
type Outbound = FunctionTool$Outbound;
|
|
576
|
+
}
|
|
577
|
+
export declare function functionToolToJSON(functionTool: FunctionTool): string;
|
|
578
|
+
export declare function functionToolFromJSON(jsonString: string): SafeParseResult<FunctionTool, SDKValidationError>;
|
|
579
|
+
/** @internal */
|
|
580
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
|
|
581
|
+
/** @internal */
|
|
582
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
|
|
583
|
+
/**
|
|
584
|
+
* @internal
|
|
585
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
586
|
+
*/
|
|
587
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$ {
|
|
588
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema` instead. */
|
|
589
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
590
|
+
readonly Code: "code";
|
|
591
|
+
}>;
|
|
592
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema` instead. */
|
|
593
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
594
|
+
readonly Code: "code";
|
|
595
|
+
}>;
|
|
596
|
+
}
|
|
597
|
+
/** @internal */
|
|
598
|
+
export declare const CodeExecutionTool$inboundSchema: z.ZodType<CodeExecutionTool, z.ZodTypeDef, unknown>;
|
|
599
|
+
/** @internal */
|
|
600
|
+
export type CodeExecutionTool$Outbound = {
|
|
601
|
+
type: string;
|
|
602
|
+
key?: string | undefined;
|
|
603
|
+
id?: string | undefined;
|
|
604
|
+
requires_approval: boolean;
|
|
605
|
+
};
|
|
606
|
+
/** @internal */
|
|
607
|
+
export declare const CodeExecutionTool$outboundSchema: z.ZodType<CodeExecutionTool$Outbound, z.ZodTypeDef, CodeExecutionTool>;
|
|
608
|
+
/**
|
|
609
|
+
* @internal
|
|
610
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
611
|
+
*/
|
|
612
|
+
export declare namespace CodeExecutionTool$ {
|
|
613
|
+
/** @deprecated use `CodeExecutionTool$inboundSchema` instead. */
|
|
614
|
+
const inboundSchema: z.ZodType<CodeExecutionTool, z.ZodTypeDef, unknown>;
|
|
615
|
+
/** @deprecated use `CodeExecutionTool$outboundSchema` instead. */
|
|
616
|
+
const outboundSchema: z.ZodType<CodeExecutionTool$Outbound, z.ZodTypeDef, CodeExecutionTool>;
|
|
617
|
+
/** @deprecated use `CodeExecutionTool$Outbound` instead. */
|
|
618
|
+
type Outbound = CodeExecutionTool$Outbound;
|
|
619
|
+
}
|
|
620
|
+
export declare function codeExecutionToolToJSON(codeExecutionTool: CodeExecutionTool): string;
|
|
621
|
+
export declare function codeExecutionToolFromJSON(jsonString: string): SafeParseResult<CodeExecutionTool, SDKValidationError>;
|
|
622
|
+
/** @internal */
|
|
623
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
|
|
624
|
+
/** @internal */
|
|
625
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
|
|
626
|
+
/**
|
|
627
|
+
* @internal
|
|
628
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
629
|
+
*/
|
|
630
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$ {
|
|
631
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema` instead. */
|
|
632
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
633
|
+
readonly Http: "http";
|
|
634
|
+
}>;
|
|
635
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema` instead. */
|
|
636
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
637
|
+
readonly Http: "http";
|
|
638
|
+
}>;
|
|
639
|
+
}
|
|
640
|
+
/** @internal */
|
|
641
|
+
export declare const HTTPTool$inboundSchema: z.ZodType<HTTPTool, z.ZodTypeDef, unknown>;
|
|
642
|
+
/** @internal */
|
|
643
|
+
export type HTTPTool$Outbound = {
|
|
644
|
+
type: string;
|
|
645
|
+
key?: string | undefined;
|
|
646
|
+
id?: string | undefined;
|
|
647
|
+
requires_approval: boolean;
|
|
648
|
+
};
|
|
649
|
+
/** @internal */
|
|
650
|
+
export declare const HTTPTool$outboundSchema: z.ZodType<HTTPTool$Outbound, z.ZodTypeDef, HTTPTool>;
|
|
651
|
+
/**
|
|
652
|
+
* @internal
|
|
653
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
654
|
+
*/
|
|
655
|
+
export declare namespace HTTPTool$ {
|
|
656
|
+
/** @deprecated use `HTTPTool$inboundSchema` instead. */
|
|
657
|
+
const inboundSchema: z.ZodType<HTTPTool, z.ZodTypeDef, unknown>;
|
|
658
|
+
/** @deprecated use `HTTPTool$outboundSchema` instead. */
|
|
659
|
+
const outboundSchema: z.ZodType<HTTPTool$Outbound, z.ZodTypeDef, HTTPTool>;
|
|
660
|
+
/** @deprecated use `HTTPTool$Outbound` instead. */
|
|
661
|
+
type Outbound = HTTPTool$Outbound;
|
|
662
|
+
}
|
|
663
|
+
export declare function httpToolToJSON(httpTool: HTTPTool): string;
|
|
664
|
+
export declare function httpToolFromJSON(jsonString: string): SafeParseResult<HTTPTool, SDKValidationError>;
|
|
665
|
+
/** @internal */
|
|
666
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
|
|
667
|
+
/** @internal */
|
|
668
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
|
|
669
|
+
/**
|
|
670
|
+
* @internal
|
|
671
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
672
|
+
*/
|
|
673
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$ {
|
|
674
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema` instead. */
|
|
675
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
676
|
+
readonly CurrentDate: "current_date";
|
|
677
|
+
}>;
|
|
678
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema` instead. */
|
|
679
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
680
|
+
readonly CurrentDate: "current_date";
|
|
681
|
+
}>;
|
|
682
|
+
}
|
|
683
|
+
/** @internal */
|
|
684
|
+
export declare const CurrentDateTool$inboundSchema: z.ZodType<CurrentDateTool, z.ZodTypeDef, unknown>;
|
|
685
|
+
/** @internal */
|
|
686
|
+
export type CurrentDateTool$Outbound = {
|
|
687
|
+
type: string;
|
|
688
|
+
requires_approval: boolean;
|
|
689
|
+
};
|
|
690
|
+
/** @internal */
|
|
691
|
+
export declare const CurrentDateTool$outboundSchema: z.ZodType<CurrentDateTool$Outbound, z.ZodTypeDef, CurrentDateTool>;
|
|
692
|
+
/**
|
|
693
|
+
* @internal
|
|
694
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
695
|
+
*/
|
|
696
|
+
export declare namespace CurrentDateTool$ {
|
|
697
|
+
/** @deprecated use `CurrentDateTool$inboundSchema` instead. */
|
|
698
|
+
const inboundSchema: z.ZodType<CurrentDateTool, z.ZodTypeDef, unknown>;
|
|
699
|
+
/** @deprecated use `CurrentDateTool$outboundSchema` instead. */
|
|
700
|
+
const outboundSchema: z.ZodType<CurrentDateTool$Outbound, z.ZodTypeDef, CurrentDateTool>;
|
|
701
|
+
/** @deprecated use `CurrentDateTool$Outbound` instead. */
|
|
702
|
+
type Outbound = CurrentDateTool$Outbound;
|
|
703
|
+
}
|
|
704
|
+
export declare function currentDateToolToJSON(currentDateTool: CurrentDateTool): string;
|
|
705
|
+
export declare function currentDateToolFromJSON(jsonString: string): SafeParseResult<CurrentDateTool, SDKValidationError>;
|
|
706
|
+
/** @internal */
|
|
707
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
|
|
708
|
+
/** @internal */
|
|
709
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
|
|
710
|
+
/**
|
|
711
|
+
* @internal
|
|
712
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
713
|
+
*/
|
|
714
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$ {
|
|
715
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema` instead. */
|
|
716
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
717
|
+
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
718
|
+
}>;
|
|
719
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema` instead. */
|
|
720
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
721
|
+
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
722
|
+
}>;
|
|
723
|
+
}
|
|
724
|
+
/** @internal */
|
|
725
|
+
export declare const QueryKnowledgeBaseTool$inboundSchema: z.ZodType<QueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
726
|
+
/** @internal */
|
|
727
|
+
export type QueryKnowledgeBaseTool$Outbound = {
|
|
728
|
+
type: string;
|
|
729
|
+
requires_approval: boolean;
|
|
730
|
+
};
|
|
731
|
+
/** @internal */
|
|
732
|
+
export declare const QueryKnowledgeBaseTool$outboundSchema: z.ZodType<QueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, QueryKnowledgeBaseTool>;
|
|
733
|
+
/**
|
|
734
|
+
* @internal
|
|
735
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
736
|
+
*/
|
|
737
|
+
export declare namespace QueryKnowledgeBaseTool$ {
|
|
738
|
+
/** @deprecated use `QueryKnowledgeBaseTool$inboundSchema` instead. */
|
|
739
|
+
const inboundSchema: z.ZodType<QueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
740
|
+
/** @deprecated use `QueryKnowledgeBaseTool$outboundSchema` instead. */
|
|
741
|
+
const outboundSchema: z.ZodType<QueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, QueryKnowledgeBaseTool>;
|
|
742
|
+
/** @deprecated use `QueryKnowledgeBaseTool$Outbound` instead. */
|
|
743
|
+
type Outbound = QueryKnowledgeBaseTool$Outbound;
|
|
744
|
+
}
|
|
745
|
+
export declare function queryKnowledgeBaseToolToJSON(queryKnowledgeBaseTool: QueryKnowledgeBaseTool): string;
|
|
746
|
+
export declare function queryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<QueryKnowledgeBaseTool, SDKValidationError>;
|
|
747
|
+
/** @internal */
|
|
748
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
|
|
749
|
+
/** @internal */
|
|
750
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
|
|
751
|
+
/**
|
|
752
|
+
* @internal
|
|
753
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
754
|
+
*/
|
|
755
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$ {
|
|
756
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema` instead. */
|
|
757
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
758
|
+
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
759
|
+
}>;
|
|
760
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema` instead. */
|
|
761
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
762
|
+
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
763
|
+
}>;
|
|
764
|
+
}
|
|
765
|
+
/** @internal */
|
|
766
|
+
export declare const RetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<RetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
767
|
+
/** @internal */
|
|
768
|
+
export type RetrieveKnowledgeBasesTool$Outbound = {
|
|
769
|
+
type: string;
|
|
770
|
+
requires_approval: boolean;
|
|
771
|
+
};
|
|
772
|
+
/** @internal */
|
|
773
|
+
export declare const RetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<RetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, RetrieveKnowledgeBasesTool>;
|
|
774
|
+
/**
|
|
775
|
+
* @internal
|
|
776
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
777
|
+
*/
|
|
778
|
+
export declare namespace RetrieveKnowledgeBasesTool$ {
|
|
779
|
+
/** @deprecated use `RetrieveKnowledgeBasesTool$inboundSchema` instead. */
|
|
780
|
+
const inboundSchema: z.ZodType<RetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
781
|
+
/** @deprecated use `RetrieveKnowledgeBasesTool$outboundSchema` instead. */
|
|
782
|
+
const outboundSchema: z.ZodType<RetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, RetrieveKnowledgeBasesTool>;
|
|
783
|
+
/** @deprecated use `RetrieveKnowledgeBasesTool$Outbound` instead. */
|
|
784
|
+
type Outbound = RetrieveKnowledgeBasesTool$Outbound;
|
|
785
|
+
}
|
|
786
|
+
export declare function retrieveKnowledgeBasesToolToJSON(retrieveKnowledgeBasesTool: RetrieveKnowledgeBasesTool): string;
|
|
787
|
+
export declare function retrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<RetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
788
|
+
/** @internal */
|
|
789
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
|
|
790
|
+
/** @internal */
|
|
791
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
|
|
792
|
+
/**
|
|
793
|
+
* @internal
|
|
794
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
795
|
+
*/
|
|
796
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$ {
|
|
797
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema` instead. */
|
|
798
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
799
|
+
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
800
|
+
}>;
|
|
801
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema` instead. */
|
|
802
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
803
|
+
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
804
|
+
}>;
|
|
805
|
+
}
|
|
806
|
+
/** @internal */
|
|
807
|
+
export declare const DeleteMemoryDocumentTool$inboundSchema: z.ZodType<DeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
808
|
+
/** @internal */
|
|
809
|
+
export type DeleteMemoryDocumentTool$Outbound = {
|
|
810
|
+
type: string;
|
|
811
|
+
requires_approval: boolean;
|
|
812
|
+
};
|
|
813
|
+
/** @internal */
|
|
814
|
+
export declare const DeleteMemoryDocumentTool$outboundSchema: z.ZodType<DeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, DeleteMemoryDocumentTool>;
|
|
815
|
+
/**
|
|
816
|
+
* @internal
|
|
817
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
818
|
+
*/
|
|
819
|
+
export declare namespace DeleteMemoryDocumentTool$ {
|
|
820
|
+
/** @deprecated use `DeleteMemoryDocumentTool$inboundSchema` instead. */
|
|
821
|
+
const inboundSchema: z.ZodType<DeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
822
|
+
/** @deprecated use `DeleteMemoryDocumentTool$outboundSchema` instead. */
|
|
823
|
+
const outboundSchema: z.ZodType<DeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, DeleteMemoryDocumentTool>;
|
|
824
|
+
/** @deprecated use `DeleteMemoryDocumentTool$Outbound` instead. */
|
|
825
|
+
type Outbound = DeleteMemoryDocumentTool$Outbound;
|
|
826
|
+
}
|
|
827
|
+
export declare function deleteMemoryDocumentToolToJSON(deleteMemoryDocumentTool: DeleteMemoryDocumentTool): string;
|
|
828
|
+
export declare function deleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<DeleteMemoryDocumentTool, SDKValidationError>;
|
|
829
|
+
/** @internal */
|
|
830
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
|
|
831
|
+
/** @internal */
|
|
832
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
|
|
833
|
+
/**
|
|
834
|
+
* @internal
|
|
835
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
836
|
+
*/
|
|
837
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$ {
|
|
838
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema` instead. */
|
|
839
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
840
|
+
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
841
|
+
}>;
|
|
842
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema` instead. */
|
|
843
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
844
|
+
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
845
|
+
}>;
|
|
846
|
+
}
|
|
847
|
+
/** @internal */
|
|
848
|
+
export declare const RetrieveMemoryStoresTool$inboundSchema: z.ZodType<RetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
849
|
+
/** @internal */
|
|
850
|
+
export type RetrieveMemoryStoresTool$Outbound = {
|
|
851
|
+
type: string;
|
|
852
|
+
requires_approval: boolean;
|
|
853
|
+
};
|
|
854
|
+
/** @internal */
|
|
855
|
+
export declare const RetrieveMemoryStoresTool$outboundSchema: z.ZodType<RetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, RetrieveMemoryStoresTool>;
|
|
856
|
+
/**
|
|
857
|
+
* @internal
|
|
858
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
859
|
+
*/
|
|
860
|
+
export declare namespace RetrieveMemoryStoresTool$ {
|
|
861
|
+
/** @deprecated use `RetrieveMemoryStoresTool$inboundSchema` instead. */
|
|
862
|
+
const inboundSchema: z.ZodType<RetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
863
|
+
/** @deprecated use `RetrieveMemoryStoresTool$outboundSchema` instead. */
|
|
864
|
+
const outboundSchema: z.ZodType<RetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, RetrieveMemoryStoresTool>;
|
|
865
|
+
/** @deprecated use `RetrieveMemoryStoresTool$Outbound` instead. */
|
|
866
|
+
type Outbound = RetrieveMemoryStoresTool$Outbound;
|
|
867
|
+
}
|
|
868
|
+
export declare function retrieveMemoryStoresToolToJSON(retrieveMemoryStoresTool: RetrieveMemoryStoresTool): string;
|
|
869
|
+
export declare function retrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<RetrieveMemoryStoresTool, SDKValidationError>;
|
|
870
|
+
/** @internal */
|
|
871
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
|
|
872
|
+
/** @internal */
|
|
873
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
|
|
874
|
+
/**
|
|
875
|
+
* @internal
|
|
876
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
877
|
+
*/
|
|
878
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$ {
|
|
879
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema` instead. */
|
|
880
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
881
|
+
readonly WriteMemoryStore: "write_memory_store";
|
|
882
|
+
}>;
|
|
883
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema` instead. */
|
|
884
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
885
|
+
readonly WriteMemoryStore: "write_memory_store";
|
|
886
|
+
}>;
|
|
887
|
+
}
|
|
888
|
+
/** @internal */
|
|
889
|
+
export declare const WriteMemoryStoreTool$inboundSchema: z.ZodType<WriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
890
|
+
/** @internal */
|
|
891
|
+
export type WriteMemoryStoreTool$Outbound = {
|
|
892
|
+
type: string;
|
|
893
|
+
requires_approval: boolean;
|
|
894
|
+
};
|
|
895
|
+
/** @internal */
|
|
896
|
+
export declare const WriteMemoryStoreTool$outboundSchema: z.ZodType<WriteMemoryStoreTool$Outbound, z.ZodTypeDef, WriteMemoryStoreTool>;
|
|
897
|
+
/**
|
|
898
|
+
* @internal
|
|
899
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
900
|
+
*/
|
|
901
|
+
export declare namespace WriteMemoryStoreTool$ {
|
|
902
|
+
/** @deprecated use `WriteMemoryStoreTool$inboundSchema` instead. */
|
|
903
|
+
const inboundSchema: z.ZodType<WriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
904
|
+
/** @deprecated use `WriteMemoryStoreTool$outboundSchema` instead. */
|
|
905
|
+
const outboundSchema: z.ZodType<WriteMemoryStoreTool$Outbound, z.ZodTypeDef, WriteMemoryStoreTool>;
|
|
906
|
+
/** @deprecated use `WriteMemoryStoreTool$Outbound` instead. */
|
|
907
|
+
type Outbound = WriteMemoryStoreTool$Outbound;
|
|
908
|
+
}
|
|
909
|
+
export declare function writeMemoryStoreToolToJSON(writeMemoryStoreTool: WriteMemoryStoreTool): string;
|
|
910
|
+
export declare function writeMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<WriteMemoryStoreTool, SDKValidationError>;
|
|
911
|
+
/** @internal */
|
|
912
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
913
|
+
/** @internal */
|
|
914
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
915
|
+
/**
|
|
916
|
+
* @internal
|
|
917
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
918
|
+
*/
|
|
919
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$ {
|
|
920
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema` instead. */
|
|
921
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
922
|
+
readonly QueryMemoryStore: "query_memory_store";
|
|
923
|
+
}>;
|
|
924
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema` instead. */
|
|
925
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
926
|
+
readonly QueryMemoryStore: "query_memory_store";
|
|
927
|
+
}>;
|
|
928
|
+
}
|
|
929
|
+
/** @internal */
|
|
930
|
+
export declare const QueryMemoryStoreTool$inboundSchema: z.ZodType<QueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
931
|
+
/** @internal */
|
|
932
|
+
export type QueryMemoryStoreTool$Outbound = {
|
|
933
|
+
type: string;
|
|
934
|
+
requires_approval: boolean;
|
|
935
|
+
};
|
|
936
|
+
/** @internal */
|
|
937
|
+
export declare const QueryMemoryStoreTool$outboundSchema: z.ZodType<QueryMemoryStoreTool$Outbound, z.ZodTypeDef, QueryMemoryStoreTool>;
|
|
938
|
+
/**
|
|
939
|
+
* @internal
|
|
940
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
941
|
+
*/
|
|
942
|
+
export declare namespace QueryMemoryStoreTool$ {
|
|
943
|
+
/** @deprecated use `QueryMemoryStoreTool$inboundSchema` instead. */
|
|
944
|
+
const inboundSchema: z.ZodType<QueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
945
|
+
/** @deprecated use `QueryMemoryStoreTool$outboundSchema` instead. */
|
|
946
|
+
const outboundSchema: z.ZodType<QueryMemoryStoreTool$Outbound, z.ZodTypeDef, QueryMemoryStoreTool>;
|
|
947
|
+
/** @deprecated use `QueryMemoryStoreTool$Outbound` instead. */
|
|
948
|
+
type Outbound = QueryMemoryStoreTool$Outbound;
|
|
949
|
+
}
|
|
950
|
+
export declare function queryMemoryStoreToolToJSON(queryMemoryStoreTool: QueryMemoryStoreTool): string;
|
|
951
|
+
export declare function queryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<QueryMemoryStoreTool, SDKValidationError>;
|
|
952
|
+
/** @internal */
|
|
953
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestType>;
|
|
954
|
+
/** @internal */
|
|
955
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsRequestType>;
|
|
956
|
+
/**
|
|
957
|
+
* @internal
|
|
958
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
959
|
+
*/
|
|
960
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsRequestType$ {
|
|
961
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema` instead. */
|
|
962
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
963
|
+
readonly RetrieveAgents: "retrieve_agents";
|
|
964
|
+
}>;
|
|
965
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema` instead. */
|
|
966
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
967
|
+
readonly RetrieveAgents: "retrieve_agents";
|
|
968
|
+
}>;
|
|
969
|
+
}
|
|
970
|
+
/** @internal */
|
|
971
|
+
export declare const RetrieveAgentsTool$inboundSchema: z.ZodType<RetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
972
|
+
/** @internal */
|
|
973
|
+
export type RetrieveAgentsTool$Outbound = {
|
|
974
|
+
type: string;
|
|
975
|
+
requires_approval: boolean;
|
|
976
|
+
};
|
|
977
|
+
/** @internal */
|
|
978
|
+
export declare const RetrieveAgentsTool$outboundSchema: z.ZodType<RetrieveAgentsTool$Outbound, z.ZodTypeDef, RetrieveAgentsTool>;
|
|
979
|
+
/**
|
|
980
|
+
* @internal
|
|
981
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
982
|
+
*/
|
|
983
|
+
export declare namespace RetrieveAgentsTool$ {
|
|
984
|
+
/** @deprecated use `RetrieveAgentsTool$inboundSchema` instead. */
|
|
985
|
+
const inboundSchema: z.ZodType<RetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
986
|
+
/** @deprecated use `RetrieveAgentsTool$outboundSchema` instead. */
|
|
987
|
+
const outboundSchema: z.ZodType<RetrieveAgentsTool$Outbound, z.ZodTypeDef, RetrieveAgentsTool>;
|
|
988
|
+
/** @deprecated use `RetrieveAgentsTool$Outbound` instead. */
|
|
989
|
+
type Outbound = RetrieveAgentsTool$Outbound;
|
|
990
|
+
}
|
|
991
|
+
export declare function retrieveAgentsToolToJSON(retrieveAgentsTool: RetrieveAgentsTool): string;
|
|
992
|
+
export declare function retrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<RetrieveAgentsTool, SDKValidationError>;
|
|
993
|
+
/** @internal */
|
|
994
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsType>;
|
|
995
|
+
/** @internal */
|
|
996
|
+
export declare const CreateAgentAgentToolInputCRUDAgentsType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDAgentsType>;
|
|
997
|
+
/**
|
|
998
|
+
* @internal
|
|
999
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1000
|
+
*/
|
|
1001
|
+
export declare namespace CreateAgentAgentToolInputCRUDAgentsType$ {
|
|
1002
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsType$inboundSchema` instead. */
|
|
1003
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1004
|
+
readonly CallSubAgent: "call_sub_agent";
|
|
1005
|
+
}>;
|
|
1006
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDAgentsType$outboundSchema` instead. */
|
|
1007
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1008
|
+
readonly CallSubAgent: "call_sub_agent";
|
|
1009
|
+
}>;
|
|
1010
|
+
}
|
|
1011
|
+
/** @internal */
|
|
1012
|
+
export declare const CallSubAgentTool$inboundSchema: z.ZodType<CallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1013
|
+
/** @internal */
|
|
1014
|
+
export type CallSubAgentTool$Outbound = {
|
|
1015
|
+
type: string;
|
|
1016
|
+
requires_approval: boolean;
|
|
1017
|
+
};
|
|
1018
|
+
/** @internal */
|
|
1019
|
+
export declare const CallSubAgentTool$outboundSchema: z.ZodType<CallSubAgentTool$Outbound, z.ZodTypeDef, CallSubAgentTool>;
|
|
1020
|
+
/**
|
|
1021
|
+
* @internal
|
|
1022
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1023
|
+
*/
|
|
1024
|
+
export declare namespace CallSubAgentTool$ {
|
|
1025
|
+
/** @deprecated use `CallSubAgentTool$inboundSchema` instead. */
|
|
1026
|
+
const inboundSchema: z.ZodType<CallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1027
|
+
/** @deprecated use `CallSubAgentTool$outboundSchema` instead. */
|
|
1028
|
+
const outboundSchema: z.ZodType<CallSubAgentTool$Outbound, z.ZodTypeDef, CallSubAgentTool>;
|
|
1029
|
+
/** @deprecated use `CallSubAgentTool$Outbound` instead. */
|
|
1030
|
+
type Outbound = CallSubAgentTool$Outbound;
|
|
1031
|
+
}
|
|
1032
|
+
export declare function callSubAgentToolToJSON(callSubAgentTool: CallSubAgentTool): string;
|
|
1033
|
+
export declare function callSubAgentToolFromJSON(jsonString: string): SafeParseResult<CallSubAgentTool, SDKValidationError>;
|
|
1034
|
+
/** @internal */
|
|
1035
|
+
export declare const CreateAgentAgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDType>;
|
|
1036
|
+
/** @internal */
|
|
1037
|
+
export declare const CreateAgentAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentAgentToolInputCRUDType>;
|
|
1038
|
+
/**
|
|
1039
|
+
* @internal
|
|
1040
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1041
|
+
*/
|
|
1042
|
+
export declare namespace CreateAgentAgentToolInputCRUDType$ {
|
|
1043
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDType$inboundSchema` instead. */
|
|
1044
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1045
|
+
readonly WebScraper: "web_scraper";
|
|
1046
|
+
}>;
|
|
1047
|
+
/** @deprecated use `CreateAgentAgentToolInputCRUDType$outboundSchema` instead. */
|
|
1048
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1049
|
+
readonly WebScraper: "web_scraper";
|
|
1050
|
+
}>;
|
|
1051
|
+
}
|
|
1052
|
+
/** @internal */
|
|
1053
|
+
export declare const WebScraperTool$inboundSchema: z.ZodType<WebScraperTool, z.ZodTypeDef, unknown>;
|
|
1054
|
+
/** @internal */
|
|
1055
|
+
export type WebScraperTool$Outbound = {
|
|
1056
|
+
type: string;
|
|
1057
|
+
requires_approval: boolean;
|
|
1058
|
+
};
|
|
1059
|
+
/** @internal */
|
|
1060
|
+
export declare const WebScraperTool$outboundSchema: z.ZodType<WebScraperTool$Outbound, z.ZodTypeDef, WebScraperTool>;
|
|
1061
|
+
/**
|
|
1062
|
+
* @internal
|
|
1063
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1064
|
+
*/
|
|
1065
|
+
export declare namespace WebScraperTool$ {
|
|
1066
|
+
/** @deprecated use `WebScraperTool$inboundSchema` instead. */
|
|
1067
|
+
const inboundSchema: z.ZodType<WebScraperTool, z.ZodTypeDef, unknown>;
|
|
1068
|
+
/** @deprecated use `WebScraperTool$outboundSchema` instead. */
|
|
1069
|
+
const outboundSchema: z.ZodType<WebScraperTool$Outbound, z.ZodTypeDef, WebScraperTool>;
|
|
1070
|
+
/** @deprecated use `WebScraperTool$Outbound` instead. */
|
|
1071
|
+
type Outbound = WebScraperTool$Outbound;
|
|
1072
|
+
}
|
|
1073
|
+
export declare function webScraperToolToJSON(webScraperTool: WebScraperTool): string;
|
|
1074
|
+
export declare function webScraperToolFromJSON(jsonString: string): SafeParseResult<WebScraperTool, SDKValidationError>;
|
|
1075
|
+
/** @internal */
|
|
1076
|
+
export declare const AgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputCRUDType>;
|
|
1077
|
+
/** @internal */
|
|
1078
|
+
export declare const AgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputCRUDType>;
|
|
1079
|
+
/**
|
|
1080
|
+
* @internal
|
|
1081
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1082
|
+
*/
|
|
1083
|
+
export declare namespace AgentToolInputCRUDType$ {
|
|
1084
|
+
/** @deprecated use `AgentToolInputCRUDType$inboundSchema` instead. */
|
|
1085
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1086
|
+
readonly GoogleSearch: "google_search";
|
|
1087
|
+
}>;
|
|
1088
|
+
/** @deprecated use `AgentToolInputCRUDType$outboundSchema` instead. */
|
|
1089
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1090
|
+
readonly GoogleSearch: "google_search";
|
|
1091
|
+
}>;
|
|
1092
|
+
}
|
|
1093
|
+
/** @internal */
|
|
1094
|
+
export declare const GoogleSearchTool$inboundSchema: z.ZodType<GoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1095
|
+
/** @internal */
|
|
1096
|
+
export type GoogleSearchTool$Outbound = {
|
|
1097
|
+
type: string;
|
|
1098
|
+
requires_approval: boolean;
|
|
1099
|
+
};
|
|
1100
|
+
/** @internal */
|
|
1101
|
+
export declare const GoogleSearchTool$outboundSchema: z.ZodType<GoogleSearchTool$Outbound, z.ZodTypeDef, GoogleSearchTool>;
|
|
1102
|
+
/**
|
|
1103
|
+
* @internal
|
|
1104
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1105
|
+
*/
|
|
1106
|
+
export declare namespace GoogleSearchTool$ {
|
|
1107
|
+
/** @deprecated use `GoogleSearchTool$inboundSchema` instead. */
|
|
1108
|
+
const inboundSchema: z.ZodType<GoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1109
|
+
/** @deprecated use `GoogleSearchTool$outboundSchema` instead. */
|
|
1110
|
+
const outboundSchema: z.ZodType<GoogleSearchTool$Outbound, z.ZodTypeDef, GoogleSearchTool>;
|
|
1111
|
+
/** @deprecated use `GoogleSearchTool$Outbound` instead. */
|
|
1112
|
+
type Outbound = GoogleSearchTool$Outbound;
|
|
1113
|
+
}
|
|
1114
|
+
export declare function googleSearchToolToJSON(googleSearchTool: GoogleSearchTool): string;
|
|
1115
|
+
export declare function googleSearchToolFromJSON(jsonString: string): SafeParseResult<GoogleSearchTool, SDKValidationError>;
|
|
1116
|
+
/** @internal */
|
|
1117
|
+
export declare const AgentToolInputCRUD$inboundSchema: z.ZodType<AgentToolInputCRUD, z.ZodTypeDef, unknown>;
|
|
1118
|
+
/** @internal */
|
|
1119
|
+
export type AgentToolInputCRUD$Outbound = GoogleSearchTool$Outbound | WebScraperTool$Outbound | CallSubAgentTool$Outbound | RetrieveAgentsTool$Outbound | QueryMemoryStoreTool$Outbound | WriteMemoryStoreTool$Outbound | RetrieveMemoryStoresTool$Outbound | DeleteMemoryDocumentTool$Outbound | RetrieveKnowledgeBasesTool$Outbound | QueryKnowledgeBaseTool$Outbound | CurrentDateTool$Outbound | HTTPTool$Outbound | CodeExecutionTool$Outbound | FunctionTool$Outbound;
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export declare const AgentToolInputCRUD$outboundSchema: z.ZodType<AgentToolInputCRUD$Outbound, z.ZodTypeDef, AgentToolInputCRUD>;
|
|
1122
|
+
/**
|
|
1123
|
+
* @internal
|
|
1124
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1125
|
+
*/
|
|
1126
|
+
export declare namespace AgentToolInputCRUD$ {
|
|
1127
|
+
/** @deprecated use `AgentToolInputCRUD$inboundSchema` instead. */
|
|
1128
|
+
const inboundSchema: z.ZodType<AgentToolInputCRUD, z.ZodTypeDef, unknown>;
|
|
1129
|
+
/** @deprecated use `AgentToolInputCRUD$outboundSchema` instead. */
|
|
1130
|
+
const outboundSchema: z.ZodType<AgentToolInputCRUD$Outbound, z.ZodTypeDef, AgentToolInputCRUD>;
|
|
1131
|
+
/** @deprecated use `AgentToolInputCRUD$Outbound` instead. */
|
|
1132
|
+
type Outbound = AgentToolInputCRUD$Outbound;
|
|
1133
|
+
}
|
|
1134
|
+
export declare function agentToolInputCRUDToJSON(agentToolInputCRUD: AgentToolInputCRUD): string;
|
|
1135
|
+
export declare function agentToolInputCRUDFromJSON(jsonString: string): SafeParseResult<AgentToolInputCRUD, SDKValidationError>;
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export declare const Settings$inboundSchema: z.ZodType<Settings, z.ZodTypeDef, unknown>;
|
|
1138
|
+
/** @internal */
|
|
1139
|
+
export type Settings$Outbound = {
|
|
1140
|
+
max_iterations: number;
|
|
1141
|
+
max_execution_time: number;
|
|
1142
|
+
tool_approval_required: string;
|
|
1143
|
+
tools: Array<GoogleSearchTool$Outbound | WebScraperTool$Outbound | CallSubAgentTool$Outbound | RetrieveAgentsTool$Outbound | QueryMemoryStoreTool$Outbound | WriteMemoryStoreTool$Outbound | RetrieveMemoryStoresTool$Outbound | DeleteMemoryDocumentTool$Outbound | RetrieveKnowledgeBasesTool$Outbound | QueryKnowledgeBaseTool$Outbound | CurrentDateTool$Outbound | HTTPTool$Outbound | CodeExecutionTool$Outbound | FunctionTool$Outbound>;
|
|
1144
|
+
};
|
|
1145
|
+
/** @internal */
|
|
1146
|
+
export declare const Settings$outboundSchema: z.ZodType<Settings$Outbound, z.ZodTypeDef, Settings>;
|
|
1147
|
+
/**
|
|
1148
|
+
* @internal
|
|
1149
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1150
|
+
*/
|
|
1151
|
+
export declare namespace Settings$ {
|
|
1152
|
+
/** @deprecated use `Settings$inboundSchema` instead. */
|
|
1153
|
+
const inboundSchema: z.ZodType<Settings, z.ZodTypeDef, unknown>;
|
|
1154
|
+
/** @deprecated use `Settings$outboundSchema` instead. */
|
|
1155
|
+
const outboundSchema: z.ZodType<Settings$Outbound, z.ZodTypeDef, Settings>;
|
|
1156
|
+
/** @deprecated use `Settings$Outbound` instead. */
|
|
1157
|
+
type Outbound = Settings$Outbound;
|
|
1158
|
+
}
|
|
1159
|
+
export declare function settingsToJSON(settings: Settings): string;
|
|
1160
|
+
export declare function settingsFromJSON(jsonString: string): SafeParseResult<Settings, SDKValidationError>;
|
|
1161
|
+
/** @internal */
|
|
1162
|
+
export declare const KnowledgeBases$inboundSchema: z.ZodType<KnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1163
|
+
/** @internal */
|
|
1164
|
+
export type KnowledgeBases$Outbound = {
|
|
1165
|
+
knowledge_id: string;
|
|
1166
|
+
};
|
|
1167
|
+
/** @internal */
|
|
1168
|
+
export declare const KnowledgeBases$outboundSchema: z.ZodType<KnowledgeBases$Outbound, z.ZodTypeDef, KnowledgeBases>;
|
|
1169
|
+
/**
|
|
1170
|
+
* @internal
|
|
1171
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1172
|
+
*/
|
|
1173
|
+
export declare namespace KnowledgeBases$ {
|
|
1174
|
+
/** @deprecated use `KnowledgeBases$inboundSchema` instead. */
|
|
1175
|
+
const inboundSchema: z.ZodType<KnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1176
|
+
/** @deprecated use `KnowledgeBases$outboundSchema` instead. */
|
|
1177
|
+
const outboundSchema: z.ZodType<KnowledgeBases$Outbound, z.ZodTypeDef, KnowledgeBases>;
|
|
1178
|
+
/** @deprecated use `KnowledgeBases$Outbound` instead. */
|
|
1179
|
+
type Outbound = KnowledgeBases$Outbound;
|
|
1180
|
+
}
|
|
1181
|
+
export declare function knowledgeBasesToJSON(knowledgeBases: KnowledgeBases): string;
|
|
1182
|
+
export declare function knowledgeBasesFromJSON(jsonString: string): SafeParseResult<KnowledgeBases, SDKValidationError>;
|
|
1183
|
+
/** @internal */
|
|
1184
|
+
export declare const CreateAgentRequestBody$inboundSchema: z.ZodType<CreateAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
1185
|
+
/** @internal */
|
|
1186
|
+
export type CreateAgentRequestBody$Outbound = {
|
|
1187
|
+
path: string;
|
|
1188
|
+
key: string;
|
|
1189
|
+
role: string;
|
|
1190
|
+
description: string;
|
|
1191
|
+
instructions: string;
|
|
1192
|
+
system_prompt?: string | undefined;
|
|
1193
|
+
model: string;
|
|
1194
|
+
fallback_models?: Array<string> | undefined;
|
|
1195
|
+
settings: Settings$Outbound;
|
|
1196
|
+
memory_stores?: Array<string> | undefined;
|
|
1197
|
+
knowledge_bases?: Array<KnowledgeBases$Outbound> | undefined;
|
|
1198
|
+
};
|
|
1199
|
+
/** @internal */
|
|
1200
|
+
export declare const CreateAgentRequestBody$outboundSchema: z.ZodType<CreateAgentRequestBody$Outbound, z.ZodTypeDef, CreateAgentRequestBody>;
|
|
1201
|
+
/**
|
|
1202
|
+
* @internal
|
|
1203
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1204
|
+
*/
|
|
1205
|
+
export declare namespace CreateAgentRequestBody$ {
|
|
1206
|
+
/** @deprecated use `CreateAgentRequestBody$inboundSchema` instead. */
|
|
1207
|
+
const inboundSchema: z.ZodType<CreateAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
1208
|
+
/** @deprecated use `CreateAgentRequestBody$outboundSchema` instead. */
|
|
1209
|
+
const outboundSchema: z.ZodType<CreateAgentRequestBody$Outbound, z.ZodTypeDef, CreateAgentRequestBody>;
|
|
1210
|
+
/** @deprecated use `CreateAgentRequestBody$Outbound` instead. */
|
|
1211
|
+
type Outbound = CreateAgentRequestBody$Outbound;
|
|
1212
|
+
}
|
|
1213
|
+
export declare function createAgentRequestBodyToJSON(createAgentRequestBody: CreateAgentRequestBody): string;
|
|
1214
|
+
export declare function createAgentRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestBody, SDKValidationError>;
|
|
1215
|
+
/** @internal */
|
|
1216
|
+
export declare const CreateAgentStatus$inboundSchema: z.ZodNativeEnum<typeof CreateAgentStatus>;
|
|
1217
|
+
/** @internal */
|
|
1218
|
+
export declare const CreateAgentStatus$outboundSchema: z.ZodNativeEnum<typeof CreateAgentStatus>;
|
|
1219
|
+
/**
|
|
1220
|
+
* @internal
|
|
1221
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1222
|
+
*/
|
|
1223
|
+
export declare namespace CreateAgentStatus$ {
|
|
1224
|
+
/** @deprecated use `CreateAgentStatus$inboundSchema` instead. */
|
|
1225
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1226
|
+
readonly Live: "live";
|
|
1227
|
+
readonly Draft: "draft";
|
|
1228
|
+
readonly Pending: "pending";
|
|
1229
|
+
readonly Published: "published";
|
|
1230
|
+
}>;
|
|
1231
|
+
/** @deprecated use `CreateAgentStatus$outboundSchema` instead. */
|
|
1232
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1233
|
+
readonly Live: "live";
|
|
1234
|
+
readonly Draft: "draft";
|
|
1235
|
+
readonly Pending: "pending";
|
|
1236
|
+
readonly Published: "published";
|
|
1237
|
+
}>;
|
|
1238
|
+
}
|
|
1239
|
+
/** @internal */
|
|
1240
|
+
export declare const CreateAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof CreateAgentToolApprovalRequired>;
|
|
1241
|
+
/** @internal */
|
|
1242
|
+
export declare const CreateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof CreateAgentToolApprovalRequired>;
|
|
1243
|
+
/**
|
|
1244
|
+
* @internal
|
|
1245
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1246
|
+
*/
|
|
1247
|
+
export declare namespace CreateAgentToolApprovalRequired$ {
|
|
1248
|
+
/** @deprecated use `CreateAgentToolApprovalRequired$inboundSchema` instead. */
|
|
1249
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1250
|
+
readonly All: "all";
|
|
1251
|
+
readonly RespectTool: "respect_tool";
|
|
1252
|
+
readonly None: "none";
|
|
1253
|
+
}>;
|
|
1254
|
+
/** @deprecated use `CreateAgentToolApprovalRequired$outboundSchema` instead. */
|
|
1255
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1256
|
+
readonly All: "all";
|
|
1257
|
+
readonly RespectTool: "respect_tool";
|
|
1258
|
+
readonly None: "none";
|
|
1259
|
+
}>;
|
|
1260
|
+
}
|
|
1261
|
+
/** @internal */
|
|
1262
|
+
export declare const Conditions$inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
|
|
1263
|
+
/** @internal */
|
|
1264
|
+
export type Conditions$Outbound = {
|
|
1265
|
+
condition: string;
|
|
1266
|
+
operator: string;
|
|
1267
|
+
value: string;
|
|
1268
|
+
};
|
|
1269
|
+
/** @internal */
|
|
1270
|
+
export declare const Conditions$outboundSchema: z.ZodType<Conditions$Outbound, z.ZodTypeDef, Conditions>;
|
|
1271
|
+
/**
|
|
1272
|
+
* @internal
|
|
1273
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1274
|
+
*/
|
|
1275
|
+
export declare namespace Conditions$ {
|
|
1276
|
+
/** @deprecated use `Conditions$inboundSchema` instead. */
|
|
1277
|
+
const inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
|
|
1278
|
+
/** @deprecated use `Conditions$outboundSchema` instead. */
|
|
1279
|
+
const outboundSchema: z.ZodType<Conditions$Outbound, z.ZodTypeDef, Conditions>;
|
|
1280
|
+
/** @deprecated use `Conditions$Outbound` instead. */
|
|
1281
|
+
type Outbound = Conditions$Outbound;
|
|
1282
|
+
}
|
|
1283
|
+
export declare function conditionsToJSON(conditions: Conditions): string;
|
|
1284
|
+
export declare function conditionsFromJSON(jsonString: string): SafeParseResult<Conditions, SDKValidationError>;
|
|
1285
|
+
/** @internal */
|
|
1286
|
+
export declare const CreateAgentTools$inboundSchema: z.ZodType<CreateAgentTools, z.ZodTypeDef, unknown>;
|
|
1287
|
+
/** @internal */
|
|
1288
|
+
export type CreateAgentTools$Outbound = {
|
|
1289
|
+
id: string;
|
|
1290
|
+
key?: string | undefined;
|
|
1291
|
+
action_type: string;
|
|
1292
|
+
display_name?: string | undefined;
|
|
1293
|
+
requires_approval: boolean;
|
|
1294
|
+
conditions?: Array<Conditions$Outbound> | undefined;
|
|
1295
|
+
mcpServer?: string | undefined;
|
|
1296
|
+
timeout: number;
|
|
1297
|
+
};
|
|
1298
|
+
/** @internal */
|
|
1299
|
+
export declare const CreateAgentTools$outboundSchema: z.ZodType<CreateAgentTools$Outbound, z.ZodTypeDef, CreateAgentTools>;
|
|
1300
|
+
/**
|
|
1301
|
+
* @internal
|
|
1302
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1303
|
+
*/
|
|
1304
|
+
export declare namespace CreateAgentTools$ {
|
|
1305
|
+
/** @deprecated use `CreateAgentTools$inboundSchema` instead. */
|
|
1306
|
+
const inboundSchema: z.ZodType<CreateAgentTools, z.ZodTypeDef, unknown>;
|
|
1307
|
+
/** @deprecated use `CreateAgentTools$outboundSchema` instead. */
|
|
1308
|
+
const outboundSchema: z.ZodType<CreateAgentTools$Outbound, z.ZodTypeDef, CreateAgentTools>;
|
|
1309
|
+
/** @deprecated use `CreateAgentTools$Outbound` instead. */
|
|
1310
|
+
type Outbound = CreateAgentTools$Outbound;
|
|
1311
|
+
}
|
|
1312
|
+
export declare function createAgentToolsToJSON(createAgentTools: CreateAgentTools): string;
|
|
1313
|
+
export declare function createAgentToolsFromJSON(jsonString: string): SafeParseResult<CreateAgentTools, SDKValidationError>;
|
|
1314
|
+
/** @internal */
|
|
1315
|
+
export declare const CreateAgentSettings$inboundSchema: z.ZodType<CreateAgentSettings, z.ZodTypeDef, unknown>;
|
|
1316
|
+
/** @internal */
|
|
1317
|
+
export type CreateAgentSettings$Outbound = {
|
|
1318
|
+
max_iterations: number;
|
|
1319
|
+
max_execution_time: number;
|
|
1320
|
+
tool_approval_required: string;
|
|
1321
|
+
tools: Array<CreateAgentTools$Outbound>;
|
|
1322
|
+
};
|
|
1323
|
+
/** @internal */
|
|
1324
|
+
export declare const CreateAgentSettings$outboundSchema: z.ZodType<CreateAgentSettings$Outbound, z.ZodTypeDef, CreateAgentSettings>;
|
|
1325
|
+
/**
|
|
1326
|
+
* @internal
|
|
1327
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1328
|
+
*/
|
|
1329
|
+
export declare namespace CreateAgentSettings$ {
|
|
1330
|
+
/** @deprecated use `CreateAgentSettings$inboundSchema` instead. */
|
|
1331
|
+
const inboundSchema: z.ZodType<CreateAgentSettings, z.ZodTypeDef, unknown>;
|
|
1332
|
+
/** @deprecated use `CreateAgentSettings$outboundSchema` instead. */
|
|
1333
|
+
const outboundSchema: z.ZodType<CreateAgentSettings$Outbound, z.ZodTypeDef, CreateAgentSettings>;
|
|
1334
|
+
/** @deprecated use `CreateAgentSettings$Outbound` instead. */
|
|
1335
|
+
type Outbound = CreateAgentSettings$Outbound;
|
|
1336
|
+
}
|
|
1337
|
+
export declare function createAgentSettingsToJSON(createAgentSettings: CreateAgentSettings): string;
|
|
1338
|
+
export declare function createAgentSettingsFromJSON(jsonString: string): SafeParseResult<CreateAgentSettings, SDKValidationError>;
|
|
1339
|
+
/** @internal */
|
|
1340
|
+
export declare const CreateAgentModel$inboundSchema: z.ZodType<CreateAgentModel, z.ZodTypeDef, unknown>;
|
|
1341
|
+
/** @internal */
|
|
1342
|
+
export type CreateAgentModel$Outbound = {
|
|
1343
|
+
id: string;
|
|
1344
|
+
integration_id?: string | null | undefined;
|
|
1345
|
+
fallback_models?: Array<string> | null | undefined;
|
|
1346
|
+
max_tokens?: number | undefined;
|
|
1347
|
+
temperature?: number | undefined;
|
|
1348
|
+
};
|
|
1349
|
+
/** @internal */
|
|
1350
|
+
export declare const CreateAgentModel$outboundSchema: z.ZodType<CreateAgentModel$Outbound, z.ZodTypeDef, CreateAgentModel>;
|
|
1351
|
+
/**
|
|
1352
|
+
* @internal
|
|
1353
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1354
|
+
*/
|
|
1355
|
+
export declare namespace CreateAgentModel$ {
|
|
1356
|
+
/** @deprecated use `CreateAgentModel$inboundSchema` instead. */
|
|
1357
|
+
const inboundSchema: z.ZodType<CreateAgentModel, z.ZodTypeDef, unknown>;
|
|
1358
|
+
/** @deprecated use `CreateAgentModel$outboundSchema` instead. */
|
|
1359
|
+
const outboundSchema: z.ZodType<CreateAgentModel$Outbound, z.ZodTypeDef, CreateAgentModel>;
|
|
1360
|
+
/** @deprecated use `CreateAgentModel$Outbound` instead. */
|
|
1361
|
+
type Outbound = CreateAgentModel$Outbound;
|
|
1362
|
+
}
|
|
1363
|
+
export declare function createAgentModelToJSON(createAgentModel: CreateAgentModel): string;
|
|
1364
|
+
export declare function createAgentModelFromJSON(jsonString: string): SafeParseResult<CreateAgentModel, SDKValidationError>;
|
|
1365
|
+
/** @internal */
|
|
1366
|
+
export declare const CreateAgentTeamOfAgents$inboundSchema: z.ZodType<CreateAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1367
|
+
/** @internal */
|
|
1368
|
+
export type CreateAgentTeamOfAgents$Outbound = {
|
|
1369
|
+
key: string;
|
|
1370
|
+
role?: string | undefined;
|
|
1371
|
+
};
|
|
1372
|
+
/** @internal */
|
|
1373
|
+
export declare const CreateAgentTeamOfAgents$outboundSchema: z.ZodType<CreateAgentTeamOfAgents$Outbound, z.ZodTypeDef, CreateAgentTeamOfAgents>;
|
|
1374
|
+
/**
|
|
1375
|
+
* @internal
|
|
1376
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1377
|
+
*/
|
|
1378
|
+
export declare namespace CreateAgentTeamOfAgents$ {
|
|
1379
|
+
/** @deprecated use `CreateAgentTeamOfAgents$inboundSchema` instead. */
|
|
1380
|
+
const inboundSchema: z.ZodType<CreateAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1381
|
+
/** @deprecated use `CreateAgentTeamOfAgents$outboundSchema` instead. */
|
|
1382
|
+
const outboundSchema: z.ZodType<CreateAgentTeamOfAgents$Outbound, z.ZodTypeDef, CreateAgentTeamOfAgents>;
|
|
1383
|
+
/** @deprecated use `CreateAgentTeamOfAgents$Outbound` instead. */
|
|
1384
|
+
type Outbound = CreateAgentTeamOfAgents$Outbound;
|
|
1385
|
+
}
|
|
1386
|
+
export declare function createAgentTeamOfAgentsToJSON(createAgentTeamOfAgents: CreateAgentTeamOfAgents): string;
|
|
1387
|
+
export declare function createAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<CreateAgentTeamOfAgents, SDKValidationError>;
|
|
1388
|
+
/** @internal */
|
|
1389
|
+
export declare const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown>;
|
|
1390
|
+
/** @internal */
|
|
1391
|
+
export type Metrics$Outbound = {
|
|
1392
|
+
total_cost: number;
|
|
1393
|
+
};
|
|
1394
|
+
/** @internal */
|
|
1395
|
+
export declare const Metrics$outboundSchema: z.ZodType<Metrics$Outbound, z.ZodTypeDef, Metrics>;
|
|
1396
|
+
/**
|
|
1397
|
+
* @internal
|
|
1398
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1399
|
+
*/
|
|
1400
|
+
export declare namespace Metrics$ {
|
|
1401
|
+
/** @deprecated use `Metrics$inboundSchema` instead. */
|
|
1402
|
+
const inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown>;
|
|
1403
|
+
/** @deprecated use `Metrics$outboundSchema` instead. */
|
|
1404
|
+
const outboundSchema: z.ZodType<Metrics$Outbound, z.ZodTypeDef, Metrics>;
|
|
1405
|
+
/** @deprecated use `Metrics$Outbound` instead. */
|
|
1406
|
+
type Outbound = Metrics$Outbound;
|
|
1407
|
+
}
|
|
1408
|
+
export declare function metricsToJSON(metrics: Metrics): string;
|
|
1409
|
+
export declare function metricsFromJSON(jsonString: string): SafeParseResult<Metrics, SDKValidationError>;
|
|
1410
|
+
/** @internal */
|
|
1411
|
+
export declare const CreateAgentKnowledgeBases$inboundSchema: z.ZodType<CreateAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1412
|
+
/** @internal */
|
|
1413
|
+
export type CreateAgentKnowledgeBases$Outbound = {
|
|
1414
|
+
knowledge_id: string;
|
|
1415
|
+
};
|
|
1416
|
+
/** @internal */
|
|
1417
|
+
export declare const CreateAgentKnowledgeBases$outboundSchema: z.ZodType<CreateAgentKnowledgeBases$Outbound, z.ZodTypeDef, CreateAgentKnowledgeBases>;
|
|
1418
|
+
/**
|
|
1419
|
+
* @internal
|
|
1420
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1421
|
+
*/
|
|
1422
|
+
export declare namespace CreateAgentKnowledgeBases$ {
|
|
1423
|
+
/** @deprecated use `CreateAgentKnowledgeBases$inboundSchema` instead. */
|
|
1424
|
+
const inboundSchema: z.ZodType<CreateAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1425
|
+
/** @deprecated use `CreateAgentKnowledgeBases$outboundSchema` instead. */
|
|
1426
|
+
const outboundSchema: z.ZodType<CreateAgentKnowledgeBases$Outbound, z.ZodTypeDef, CreateAgentKnowledgeBases>;
|
|
1427
|
+
/** @deprecated use `CreateAgentKnowledgeBases$Outbound` instead. */
|
|
1428
|
+
type Outbound = CreateAgentKnowledgeBases$Outbound;
|
|
1429
|
+
}
|
|
1430
|
+
export declare function createAgentKnowledgeBasesToJSON(createAgentKnowledgeBases: CreateAgentKnowledgeBases): string;
|
|
1431
|
+
export declare function createAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentKnowledgeBases, SDKValidationError>;
|
|
1432
|
+
/** @internal */
|
|
1433
|
+
export declare const HiddenPanels$inboundSchema: z.ZodNativeEnum<typeof HiddenPanels>;
|
|
1434
|
+
/** @internal */
|
|
1435
|
+
export declare const HiddenPanels$outboundSchema: z.ZodNativeEnum<typeof HiddenPanels>;
|
|
1436
|
+
/**
|
|
1437
|
+
* @internal
|
|
1438
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1439
|
+
*/
|
|
1440
|
+
export declare namespace HiddenPanels$ {
|
|
1441
|
+
/** @deprecated use `HiddenPanels$inboundSchema` instead. */
|
|
1442
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1443
|
+
readonly Model: "model";
|
|
1444
|
+
readonly Tools: "tools";
|
|
1445
|
+
readonly KnowledgeBases: "knowledge_bases";
|
|
1446
|
+
readonly Variables: "variables";
|
|
1447
|
+
readonly RuntimeConstraints: "runtime_constraints";
|
|
1448
|
+
}>;
|
|
1449
|
+
/** @deprecated use `HiddenPanels$outboundSchema` instead. */
|
|
1450
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1451
|
+
readonly Model: "model";
|
|
1452
|
+
readonly Tools: "tools";
|
|
1453
|
+
readonly KnowledgeBases: "knowledge_bases";
|
|
1454
|
+
readonly Variables: "variables";
|
|
1455
|
+
readonly RuntimeConstraints: "runtime_constraints";
|
|
1456
|
+
}>;
|
|
1457
|
+
}
|
|
1458
|
+
/** @internal */
|
|
1459
|
+
export declare const CreateAgentResponseBody$inboundSchema: z.ZodType<CreateAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
1460
|
+
/** @internal */
|
|
1461
|
+
export type CreateAgentResponseBody$Outbound = {
|
|
1462
|
+
_id: string;
|
|
1463
|
+
key: string;
|
|
1464
|
+
workspace_id: string;
|
|
1465
|
+
project_id: string;
|
|
1466
|
+
created_by_id?: string | null | undefined;
|
|
1467
|
+
updated_by_id?: string | null | undefined;
|
|
1468
|
+
created?: string | undefined;
|
|
1469
|
+
updated?: string | undefined;
|
|
1470
|
+
role: string;
|
|
1471
|
+
description: string;
|
|
1472
|
+
system_prompt?: string | undefined;
|
|
1473
|
+
instructions: string;
|
|
1474
|
+
status: string;
|
|
1475
|
+
settings?: CreateAgentSettings$Outbound | undefined;
|
|
1476
|
+
model: CreateAgentModel$Outbound;
|
|
1477
|
+
version_hash?: string | undefined;
|
|
1478
|
+
path: string;
|
|
1479
|
+
memory_stores: Array<string>;
|
|
1480
|
+
team_of_agents: Array<CreateAgentTeamOfAgents$Outbound>;
|
|
1481
|
+
metrics?: Metrics$Outbound | undefined;
|
|
1482
|
+
variables?: {
|
|
1483
|
+
[k: string]: any;
|
|
1484
|
+
} | undefined;
|
|
1485
|
+
knowledge_bases?: Array<CreateAgentKnowledgeBases$Outbound> | undefined;
|
|
1486
|
+
hidden_panels?: Array<string> | undefined;
|
|
1487
|
+
};
|
|
1488
|
+
/** @internal */
|
|
1489
|
+
export declare const CreateAgentResponseBody$outboundSchema: z.ZodType<CreateAgentResponseBody$Outbound, z.ZodTypeDef, CreateAgentResponseBody>;
|
|
1490
|
+
/**
|
|
1491
|
+
* @internal
|
|
1492
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1493
|
+
*/
|
|
1494
|
+
export declare namespace CreateAgentResponseBody$ {
|
|
1495
|
+
/** @deprecated use `CreateAgentResponseBody$inboundSchema` instead. */
|
|
1496
|
+
const inboundSchema: z.ZodType<CreateAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
1497
|
+
/** @deprecated use `CreateAgentResponseBody$outboundSchema` instead. */
|
|
1498
|
+
const outboundSchema: z.ZodType<CreateAgentResponseBody$Outbound, z.ZodTypeDef, CreateAgentResponseBody>;
|
|
1499
|
+
/** @deprecated use `CreateAgentResponseBody$Outbound` instead. */
|
|
1500
|
+
type Outbound = CreateAgentResponseBody$Outbound;
|
|
1501
|
+
}
|
|
1502
|
+
export declare function createAgentResponseBodyToJSON(createAgentResponseBody: CreateAgentResponseBody): string;
|
|
1503
|
+
export declare function createAgentResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateAgentResponseBody, SDKValidationError>;
|
|
1504
|
+
//# sourceMappingURL=createagent.d.ts.map
|