@orq-ai/node 3.13.10 → 3.13.12
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 +44131 -41116
- package/bin/mcp-server.js.map +118 -99
- 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 +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +18 -1
- package/lib/env.js.map +1 -1
- package/mcp-server/mcp-server.js +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 +3 -3
- package/packages/orq-rc/src/lib/env.ts +20 -3
- 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/components/deployments.ts +6 -6
- 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 +14 -14
- 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/deploymentcreatemetric.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -6
- 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 +30 -30
- 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 +11 -11
- 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 +11 -11
- 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 +14 -14
- 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 +3 -3
- package/src/lib/env.ts +20 -3
- 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
|
@@ -5,50 +5,50 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Tool message
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const RunAgentRoleToolMessage: {
|
|
9
9
|
readonly Tool: "tool";
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Tool message
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
14
|
+
export type RunAgentRoleToolMessage = ClosedEnum<typeof RunAgentRoleToolMessage>;
|
|
15
15
|
/**
|
|
16
16
|
* User message
|
|
17
17
|
*/
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const RunAgentRoleUserMessage: {
|
|
19
19
|
readonly User: "user";
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* User message
|
|
23
23
|
*/
|
|
24
|
-
export type
|
|
24
|
+
export type RunAgentRoleUserMessage = ClosedEnum<typeof RunAgentRoleUserMessage>;
|
|
25
25
|
/**
|
|
26
26
|
* Message role (user or tool for continuing executions)
|
|
27
27
|
*/
|
|
28
|
-
export type RunAgentRole =
|
|
29
|
-
export declare const
|
|
28
|
+
export type RunAgentRole = RunAgentRoleUserMessage | RunAgentRoleToolMessage;
|
|
29
|
+
export declare const RunAgentPublicMessagePartAgentsRequestKind: {
|
|
30
30
|
readonly ToolResult: "tool_result";
|
|
31
31
|
};
|
|
32
|
-
export type
|
|
32
|
+
export type RunAgentPublicMessagePartAgentsRequestKind = ClosedEnum<typeof RunAgentPublicMessagePartAgentsRequestKind>;
|
|
33
33
|
/**
|
|
34
34
|
* Tool execution result part. Use this ONLY when providing results for a pending tool call from the agent. The tool_call_id must match the ID from the agent's tool call request.
|
|
35
35
|
*/
|
|
36
|
-
export type
|
|
37
|
-
kind:
|
|
36
|
+
export type PublicMessagePartToolResultPart = {
|
|
37
|
+
kind: RunAgentPublicMessagePartAgentsRequestKind;
|
|
38
38
|
toolCallId: string;
|
|
39
39
|
result?: any | undefined;
|
|
40
40
|
metadata?: {
|
|
41
41
|
[k: string]: any;
|
|
42
42
|
} | undefined;
|
|
43
43
|
};
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const RunAgentPublicMessagePartAgentsKind: {
|
|
45
45
|
readonly File: "file";
|
|
46
46
|
};
|
|
47
|
-
export type
|
|
47
|
+
export type RunAgentPublicMessagePartAgentsKind = ClosedEnum<typeof RunAgentPublicMessagePartAgentsKind>;
|
|
48
48
|
/**
|
|
49
49
|
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
50
50
|
*/
|
|
51
|
-
export type
|
|
51
|
+
export type FileFileInURIFormat = {
|
|
52
52
|
/**
|
|
53
53
|
* URL for the File content
|
|
54
54
|
*/
|
|
@@ -65,7 +65,7 @@ export type FileInURIFormat = {
|
|
|
65
65
|
/**
|
|
66
66
|
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
67
67
|
*/
|
|
68
|
-
export type
|
|
68
|
+
export type FileBinaryFormat = {
|
|
69
69
|
/**
|
|
70
70
|
* base64 encoded content of the file
|
|
71
71
|
*/
|
|
@@ -79,36 +79,36 @@ export type BinaryFormat = {
|
|
|
79
79
|
*/
|
|
80
80
|
name?: string | undefined;
|
|
81
81
|
};
|
|
82
|
-
export type
|
|
82
|
+
export type RunAgentPublicMessagePartFile = FileBinaryFormat | FileFileInURIFormat;
|
|
83
83
|
/**
|
|
84
84
|
* File attachment part. Use this to send files (images, documents, etc.) to the agent for processing.
|
|
85
85
|
*/
|
|
86
|
-
export type
|
|
87
|
-
kind:
|
|
88
|
-
file:
|
|
86
|
+
export type PublicMessagePartFilePart = {
|
|
87
|
+
kind: RunAgentPublicMessagePartAgentsKind;
|
|
88
|
+
file: FileBinaryFormat | FileFileInURIFormat;
|
|
89
89
|
metadata?: {
|
|
90
90
|
[k: string]: any;
|
|
91
91
|
} | undefined;
|
|
92
92
|
};
|
|
93
|
-
export declare const
|
|
93
|
+
export declare const RunAgentPublicMessagePartKind: {
|
|
94
94
|
readonly Text: "text";
|
|
95
95
|
};
|
|
96
|
-
export type
|
|
96
|
+
export type RunAgentPublicMessagePartKind = ClosedEnum<typeof RunAgentPublicMessagePartKind>;
|
|
97
97
|
/**
|
|
98
98
|
* Text content part. Use this to send text messages to the agent.
|
|
99
99
|
*/
|
|
100
|
-
export type
|
|
101
|
-
kind:
|
|
100
|
+
export type PublicMessagePartTextPart = {
|
|
101
|
+
kind: RunAgentPublicMessagePartKind;
|
|
102
102
|
text: string;
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
105
|
* Message part that can be provided by users. Use "text" for regular messages, "file" for attachments, or "tool_result" when responding to tool call requests.
|
|
106
106
|
*/
|
|
107
|
-
export type
|
|
107
|
+
export type RunAgentPublicMessagePart = PublicMessagePartTextPart | PublicMessagePartFilePart | PublicMessagePartToolResultPart;
|
|
108
108
|
/**
|
|
109
109
|
* The A2A format message containing the task for the agent to perform.
|
|
110
110
|
*/
|
|
111
|
-
export type
|
|
111
|
+
export type RunAgentMessage = {
|
|
112
112
|
/**
|
|
113
113
|
* Optional A2A message ID in ULID format
|
|
114
114
|
*/
|
|
@@ -116,16 +116,16 @@ export type Message = {
|
|
|
116
116
|
/**
|
|
117
117
|
* Message role (user or tool for continuing executions)
|
|
118
118
|
*/
|
|
119
|
-
role:
|
|
119
|
+
role: RunAgentRoleUserMessage | RunAgentRoleToolMessage;
|
|
120
120
|
/**
|
|
121
121
|
* A2A message parts (text, file, or tool_result only)
|
|
122
122
|
*/
|
|
123
|
-
parts: Array<
|
|
123
|
+
parts: Array<PublicMessagePartTextPart | PublicMessagePartFilePart | PublicMessagePartToolResultPart>;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
126
|
* Information about the contact making the request. If the contact does not exist, it will be created automatically.
|
|
127
127
|
*/
|
|
128
|
-
export type
|
|
128
|
+
export type RunAgentContact = {
|
|
129
129
|
/**
|
|
130
130
|
* Unique identifier for the contact
|
|
131
131
|
*/
|
|
@@ -169,42 +169,17 @@ export type RunAgentThread = {
|
|
|
169
169
|
/**
|
|
170
170
|
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
171
171
|
*/
|
|
172
|
-
export type
|
|
172
|
+
export type RunAgentMemory = {
|
|
173
173
|
/**
|
|
174
174
|
* An entity ID used to link memory stores to a specific user, session, or conversation. This ID is used to isolate and retrieve memories specific to the entity across agent executions.
|
|
175
175
|
*/
|
|
176
176
|
entityId: string;
|
|
177
177
|
};
|
|
178
|
-
export
|
|
179
|
-
readonly Query: "query";
|
|
180
|
-
};
|
|
181
|
-
export type RunAgentKnowledgeBaseConfigurationType = ClosedEnum<typeof RunAgentKnowledgeBaseConfigurationType>;
|
|
182
|
-
/**
|
|
183
|
-
* Defines the configuration settings for a static query.
|
|
184
|
-
*/
|
|
185
|
-
export type KnowledgeBaseStaticQuery = {
|
|
186
|
-
type: RunAgentKnowledgeBaseConfigurationType;
|
|
187
|
-
query: string;
|
|
188
|
-
};
|
|
189
|
-
export declare const KnowledgeBaseConfigurationType: {
|
|
190
|
-
readonly LastUserMessage: "last_user_message";
|
|
191
|
-
};
|
|
192
|
-
export type KnowledgeBaseConfigurationType = ClosedEnum<typeof KnowledgeBaseConfigurationType>;
|
|
193
|
-
/**
|
|
194
|
-
* Defines the configuration settings for a last user message type retrieval.
|
|
195
|
-
*/
|
|
196
|
-
export type KnowledgeBaseLastUserMessage = {
|
|
197
|
-
type: KnowledgeBaseConfigurationType;
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
201
|
-
*/
|
|
202
|
-
export type KnowledgeBaseConfiguration = KnowledgeBaseStaticQuery | KnowledgeBaseLastUserMessage;
|
|
203
|
-
export type KnowledgeBases = {
|
|
178
|
+
export type RunAgentKnowledgeBases = {
|
|
204
179
|
/**
|
|
205
|
-
*
|
|
180
|
+
* Unique identifier of the knowledge base to search
|
|
206
181
|
*/
|
|
207
|
-
|
|
182
|
+
knowledgeId: string;
|
|
208
183
|
};
|
|
209
184
|
export type TeamOfAgents = {
|
|
210
185
|
/**
|
|
@@ -216,34 +191,49 @@ export type TeamOfAgents = {
|
|
|
216
191
|
*/
|
|
217
192
|
role?: string | undefined;
|
|
218
193
|
};
|
|
219
|
-
export declare const
|
|
194
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type: {
|
|
220
195
|
readonly Function: "function";
|
|
221
196
|
};
|
|
222
|
-
export type
|
|
223
|
-
export type
|
|
197
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
198
|
+
export type AgentToolInputRunFunction = {
|
|
199
|
+
/**
|
|
200
|
+
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
201
|
+
*/
|
|
224
202
|
name: string;
|
|
203
|
+
/**
|
|
204
|
+
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
205
|
+
*/
|
|
225
206
|
description?: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
|
|
209
|
+
*/
|
|
226
210
|
strict?: boolean | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
213
|
+
*/
|
|
227
214
|
parameters?: {
|
|
228
215
|
[k: string]: any;
|
|
229
216
|
} | undefined;
|
|
230
217
|
};
|
|
231
218
|
/**
|
|
232
|
-
*
|
|
219
|
+
* Function tool with inline definition for on-the-fly creation in run endpoint
|
|
233
220
|
*/
|
|
234
|
-
export type
|
|
235
|
-
type:
|
|
236
|
-
|
|
221
|
+
export type FunctionToolRun = {
|
|
222
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type;
|
|
223
|
+
/**
|
|
224
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
225
|
+
*/
|
|
237
226
|
key: string;
|
|
227
|
+
id?: string | undefined;
|
|
238
228
|
displayName?: string | undefined;
|
|
239
229
|
description?: string | undefined;
|
|
230
|
+
function: AgentToolInputRunFunction;
|
|
240
231
|
requiresApproval?: boolean | undefined;
|
|
241
|
-
function: RunAgentRequestToolFunction;
|
|
242
232
|
};
|
|
243
|
-
export declare const
|
|
233
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type: {
|
|
244
234
|
readonly Code: "code";
|
|
245
235
|
};
|
|
246
|
-
export type
|
|
236
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
247
237
|
export declare const Language: {
|
|
248
238
|
readonly Python: "python";
|
|
249
239
|
};
|
|
@@ -262,30 +252,27 @@ export type CodeTool = {
|
|
|
262
252
|
code: string;
|
|
263
253
|
};
|
|
264
254
|
/**
|
|
265
|
-
*
|
|
255
|
+
* Code execution tool with inline definition for on-the-fly creation in run endpoint
|
|
266
256
|
*/
|
|
267
|
-
export type
|
|
257
|
+
export type CodeToolRun = {
|
|
258
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type;
|
|
268
259
|
/**
|
|
269
260
|
* Unique key of the tool as it will be displayed in the UI
|
|
270
261
|
*/
|
|
271
262
|
key: string;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
*/
|
|
275
|
-
displayName: string;
|
|
263
|
+
id?: string | undefined;
|
|
264
|
+
displayName?: string | undefined;
|
|
276
265
|
/**
|
|
277
266
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
278
267
|
*/
|
|
279
268
|
description: string;
|
|
280
|
-
type: RunAgentRunAgentRequestToolAgentsRequestRequestBodySettingsTools13Type;
|
|
281
269
|
codeTool: CodeTool;
|
|
282
|
-
id?: string | undefined;
|
|
283
270
|
requiresApproval?: boolean | undefined;
|
|
284
271
|
};
|
|
285
|
-
export declare const
|
|
272
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type: {
|
|
286
273
|
readonly Http: "http";
|
|
287
274
|
};
|
|
288
|
-
export type
|
|
275
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
289
276
|
/**
|
|
290
277
|
* The HTTP method to use.
|
|
291
278
|
*/
|
|
@@ -327,7 +314,7 @@ export type Blueprint = {
|
|
|
327
314
|
/**
|
|
328
315
|
* The type of the argument.
|
|
329
316
|
*/
|
|
330
|
-
export declare const
|
|
317
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType: {
|
|
331
318
|
readonly String: "string";
|
|
332
319
|
readonly Number: "number";
|
|
333
320
|
readonly Boolean: "boolean";
|
|
@@ -335,7 +322,7 @@ export declare const RunAgentRunAgentRequestToolAgentsRequestRequestBodySettings
|
|
|
335
322
|
/**
|
|
336
323
|
* The type of the argument.
|
|
337
324
|
*/
|
|
338
|
-
export type
|
|
325
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
339
326
|
/**
|
|
340
327
|
* The default value of the argument.
|
|
341
328
|
*/
|
|
@@ -344,7 +331,7 @@ export type Arguments = {
|
|
|
344
331
|
/**
|
|
345
332
|
* The type of the argument.
|
|
346
333
|
*/
|
|
347
|
-
type:
|
|
334
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType;
|
|
348
335
|
/**
|
|
349
336
|
* A description of the argument.
|
|
350
337
|
*/
|
|
@@ -371,155 +358,185 @@ export type Http = {
|
|
|
371
358
|
} | undefined;
|
|
372
359
|
};
|
|
373
360
|
/**
|
|
374
|
-
*
|
|
361
|
+
* HTTP tool with inline definition for on-the-fly creation in run endpoint
|
|
375
362
|
*/
|
|
376
|
-
export type
|
|
377
|
-
|
|
363
|
+
export type HTTPToolRun = {
|
|
364
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type;
|
|
378
365
|
/**
|
|
379
366
|
* Unique key of the tool as it will be displayed in the UI
|
|
380
367
|
*/
|
|
381
368
|
key: string;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
*/
|
|
385
|
-
displayName: string;
|
|
369
|
+
id?: string | undefined;
|
|
370
|
+
displayName?: string | undefined;
|
|
386
371
|
/**
|
|
387
372
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
388
373
|
*/
|
|
389
374
|
description: string;
|
|
390
|
-
type: RunAgentRunAgentRequestToolAgentsRequestRequestBodySettingsTools12Type;
|
|
391
375
|
http: Http;
|
|
392
376
|
requiresApproval?: boolean | undefined;
|
|
393
377
|
};
|
|
394
|
-
export declare const
|
|
378
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type: {
|
|
395
379
|
readonly CurrentDate: "current_date";
|
|
396
380
|
};
|
|
397
|
-
export type
|
|
381
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
398
382
|
/**
|
|
399
|
-
*
|
|
383
|
+
* Returns the current date and time
|
|
400
384
|
*/
|
|
401
|
-
export type
|
|
402
|
-
type:
|
|
385
|
+
export type AgentToolInputRunCurrentDateTool = {
|
|
386
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type;
|
|
387
|
+
/**
|
|
388
|
+
* Whether this tool requires approval before execution
|
|
389
|
+
*/
|
|
403
390
|
requiresApproval?: boolean | undefined;
|
|
404
391
|
};
|
|
405
|
-
export declare const
|
|
392
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type: {
|
|
406
393
|
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
407
394
|
};
|
|
408
|
-
export type
|
|
395
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
409
396
|
/**
|
|
410
397
|
* Queries knowledge bases for information
|
|
411
398
|
*/
|
|
412
|
-
export type
|
|
413
|
-
type:
|
|
399
|
+
export type AgentToolInputRunQueryKnowledgeBaseTool = {
|
|
400
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type;
|
|
401
|
+
/**
|
|
402
|
+
* Whether this tool requires approval before execution
|
|
403
|
+
*/
|
|
414
404
|
requiresApproval?: boolean | undefined;
|
|
415
405
|
};
|
|
416
|
-
export declare const
|
|
406
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type: {
|
|
417
407
|
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
418
408
|
};
|
|
419
|
-
export type
|
|
409
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
420
410
|
/**
|
|
421
411
|
* Lists available knowledge bases
|
|
422
412
|
*/
|
|
423
|
-
export type
|
|
424
|
-
type:
|
|
413
|
+
export type AgentToolInputRunRetrieveKnowledgeBasesTool = {
|
|
414
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type;
|
|
415
|
+
/**
|
|
416
|
+
* Whether this tool requires approval before execution
|
|
417
|
+
*/
|
|
425
418
|
requiresApproval?: boolean | undefined;
|
|
426
419
|
};
|
|
427
|
-
export declare const
|
|
420
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type: {
|
|
428
421
|
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
429
422
|
};
|
|
430
|
-
export type
|
|
423
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
431
424
|
/**
|
|
432
|
-
* Deletes
|
|
425
|
+
* Deletes documents from memory stores
|
|
433
426
|
*/
|
|
434
|
-
export type
|
|
435
|
-
type:
|
|
427
|
+
export type AgentToolInputRunDeleteMemoryDocumentTool = {
|
|
428
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type;
|
|
429
|
+
/**
|
|
430
|
+
* Whether this tool requires approval before execution
|
|
431
|
+
*/
|
|
436
432
|
requiresApproval?: boolean | undefined;
|
|
437
433
|
};
|
|
438
|
-
export declare const
|
|
434
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType: {
|
|
439
435
|
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
440
436
|
};
|
|
441
|
-
export type
|
|
437
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
442
438
|
/**
|
|
443
439
|
* Lists available memory stores
|
|
444
440
|
*/
|
|
445
|
-
export type
|
|
446
|
-
type:
|
|
441
|
+
export type AgentToolInputRunRetrieveMemoryStoresTool = {
|
|
442
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType;
|
|
443
|
+
/**
|
|
444
|
+
* Whether this tool requires approval before execution
|
|
445
|
+
*/
|
|
447
446
|
requiresApproval?: boolean | undefined;
|
|
448
447
|
};
|
|
449
|
-
export declare const
|
|
448
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType: {
|
|
450
449
|
readonly WriteMemoryStore: "write_memory_store";
|
|
451
450
|
};
|
|
452
|
-
export type
|
|
451
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
453
452
|
/**
|
|
454
453
|
* Writes information to agent memory stores
|
|
455
454
|
*/
|
|
456
|
-
export type
|
|
457
|
-
type:
|
|
455
|
+
export type AgentToolInputRunWriteMemoryStoreTool = {
|
|
456
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType;
|
|
457
|
+
/**
|
|
458
|
+
* Whether this tool requires approval before execution
|
|
459
|
+
*/
|
|
458
460
|
requiresApproval?: boolean | undefined;
|
|
459
461
|
};
|
|
460
|
-
export declare const
|
|
462
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodyType: {
|
|
461
463
|
readonly QueryMemoryStore: "query_memory_store";
|
|
462
464
|
};
|
|
463
|
-
export type
|
|
465
|
+
export type RunAgentAgentToolInputRunAgentsRequestRequestBodyType = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
464
466
|
/**
|
|
465
467
|
* Queries agent memory stores for context
|
|
466
468
|
*/
|
|
467
|
-
export type
|
|
468
|
-
type:
|
|
469
|
+
export type AgentToolInputRunQueryMemoryStoreTool = {
|
|
470
|
+
type: RunAgentAgentToolInputRunAgentsRequestRequestBodyType;
|
|
471
|
+
/**
|
|
472
|
+
* Whether this tool requires approval before execution
|
|
473
|
+
*/
|
|
469
474
|
requiresApproval?: boolean | undefined;
|
|
470
475
|
};
|
|
471
|
-
export declare const
|
|
476
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestType: {
|
|
472
477
|
readonly RetrieveAgents: "retrieve_agents";
|
|
473
478
|
};
|
|
474
|
-
export type
|
|
479
|
+
export type RunAgentAgentToolInputRunAgentsRequestType = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsRequestType>;
|
|
475
480
|
/**
|
|
476
481
|
* Retrieves available agents in the system
|
|
477
482
|
*/
|
|
478
|
-
export type
|
|
479
|
-
type:
|
|
483
|
+
export type AgentToolInputRunRetrieveAgentsTool = {
|
|
484
|
+
type: RunAgentAgentToolInputRunAgentsRequestType;
|
|
485
|
+
/**
|
|
486
|
+
* Whether this tool requires approval before execution
|
|
487
|
+
*/
|
|
480
488
|
requiresApproval?: boolean | undefined;
|
|
481
489
|
};
|
|
482
|
-
export declare const
|
|
490
|
+
export declare const RunAgentAgentToolInputRunAgentsType: {
|
|
483
491
|
readonly CallSubAgent: "call_sub_agent";
|
|
484
492
|
};
|
|
485
|
-
export type
|
|
493
|
+
export type RunAgentAgentToolInputRunAgentsType = ClosedEnum<typeof RunAgentAgentToolInputRunAgentsType>;
|
|
486
494
|
/**
|
|
487
495
|
* Delegates tasks to specialized sub-agents
|
|
488
496
|
*/
|
|
489
|
-
export type
|
|
490
|
-
type:
|
|
497
|
+
export type AgentToolInputRunCallSubAgentTool = {
|
|
498
|
+
type: RunAgentAgentToolInputRunAgentsType;
|
|
499
|
+
/**
|
|
500
|
+
* Whether this tool requires approval before execution
|
|
501
|
+
*/
|
|
491
502
|
requiresApproval?: boolean | undefined;
|
|
492
503
|
};
|
|
493
|
-
export declare const
|
|
504
|
+
export declare const RunAgentAgentToolInputRunType: {
|
|
494
505
|
readonly WebScraper: "web_scraper";
|
|
495
506
|
};
|
|
496
|
-
export type
|
|
507
|
+
export type RunAgentAgentToolInputRunType = ClosedEnum<typeof RunAgentAgentToolInputRunType>;
|
|
497
508
|
/**
|
|
498
509
|
* Scrapes and extracts content from web pages
|
|
499
510
|
*/
|
|
500
|
-
export type
|
|
501
|
-
type:
|
|
511
|
+
export type AgentToolInputRunWebScraperTool = {
|
|
512
|
+
type: RunAgentAgentToolInputRunType;
|
|
513
|
+
/**
|
|
514
|
+
* Whether this tool requires approval before execution
|
|
515
|
+
*/
|
|
502
516
|
requiresApproval?: boolean | undefined;
|
|
503
517
|
};
|
|
504
|
-
export declare const
|
|
518
|
+
export declare const AgentToolInputRunType: {
|
|
505
519
|
readonly GoogleSearch: "google_search";
|
|
506
520
|
};
|
|
507
|
-
export type
|
|
521
|
+
export type AgentToolInputRunType = ClosedEnum<typeof AgentToolInputRunType>;
|
|
508
522
|
/**
|
|
509
523
|
* Performs Google searches to retrieve web content
|
|
510
524
|
*/
|
|
511
|
-
export type
|
|
512
|
-
type:
|
|
525
|
+
export type AgentToolInputRunGoogleSearchTool = {
|
|
526
|
+
type: AgentToolInputRunType;
|
|
527
|
+
/**
|
|
528
|
+
* Whether this tool requires approval before execution
|
|
529
|
+
*/
|
|
513
530
|
requiresApproval?: boolean | undefined;
|
|
514
531
|
};
|
|
515
532
|
/**
|
|
516
|
-
*
|
|
533
|
+
* Tool configuration for agent run operations. Built-in tools only require a type and requires_approval, while custom tools (http, code, function) support full inline definitions for on-the-fly creation.
|
|
517
534
|
*/
|
|
518
|
-
export type
|
|
535
|
+
export type AgentToolInputRun = HTTPToolRun | CodeToolRun | FunctionToolRun | AgentToolInputRunGoogleSearchTool | AgentToolInputRunWebScraperTool | AgentToolInputRunCallSubAgentTool | AgentToolInputRunRetrieveAgentsTool | AgentToolInputRunQueryMemoryStoreTool | AgentToolInputRunWriteMemoryStoreTool | AgentToolInputRunRetrieveMemoryStoresTool | AgentToolInputRunDeleteMemoryDocumentTool | AgentToolInputRunRetrieveKnowledgeBasesTool | AgentToolInputRunQueryKnowledgeBaseTool | AgentToolInputRunCurrentDateTool;
|
|
519
536
|
/**
|
|
520
537
|
* 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.
|
|
521
538
|
*/
|
|
522
|
-
export declare const
|
|
539
|
+
export declare const RunAgentToolApprovalRequired: {
|
|
523
540
|
readonly All: "all";
|
|
524
541
|
readonly RespectTool: "respect_tool";
|
|
525
542
|
readonly None: "none";
|
|
@@ -527,16 +544,16 @@ export declare const ToolApprovalRequired: {
|
|
|
527
544
|
/**
|
|
528
545
|
* 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.
|
|
529
546
|
*/
|
|
530
|
-
export type
|
|
531
|
-
export type
|
|
547
|
+
export type RunAgentToolApprovalRequired = ClosedEnum<typeof RunAgentToolApprovalRequired>;
|
|
548
|
+
export type RunAgentSettings = {
|
|
532
549
|
/**
|
|
533
550
|
* Tools available to the agent
|
|
534
551
|
*/
|
|
535
|
-
tools: Array<
|
|
552
|
+
tools: Array<HTTPToolRun | CodeToolRun | FunctionToolRun | AgentToolInputRunGoogleSearchTool | AgentToolInputRunWebScraperTool | AgentToolInputRunCallSubAgentTool | AgentToolInputRunRetrieveAgentsTool | AgentToolInputRunQueryMemoryStoreTool | AgentToolInputRunWriteMemoryStoreTool | AgentToolInputRunRetrieveMemoryStoresTool | AgentToolInputRunDeleteMemoryDocumentTool | AgentToolInputRunRetrieveKnowledgeBasesTool | AgentToolInputRunQueryKnowledgeBaseTool | AgentToolInputRunCurrentDateTool>;
|
|
536
553
|
/**
|
|
537
554
|
* 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.
|
|
538
555
|
*/
|
|
539
|
-
toolApprovalRequired?:
|
|
556
|
+
toolApprovalRequired?: RunAgentToolApprovalRequired | undefined;
|
|
540
557
|
/**
|
|
541
558
|
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
542
559
|
*/
|
|
@@ -574,7 +591,7 @@ export type RunAgentRequestBody = {
|
|
|
574
591
|
/**
|
|
575
592
|
* The A2A format message containing the task for the agent to perform.
|
|
576
593
|
*/
|
|
577
|
-
message:
|
|
594
|
+
message: RunAgentMessage;
|
|
578
595
|
/**
|
|
579
596
|
* Optional variables for template replacement in system prompt, instructions, and messages
|
|
580
597
|
*/
|
|
@@ -584,7 +601,7 @@ export type RunAgentRequestBody = {
|
|
|
584
601
|
/**
|
|
585
602
|
* Information about the contact making the request. If the contact does not exist, it will be created automatically.
|
|
586
603
|
*/
|
|
587
|
-
contact?:
|
|
604
|
+
contact?: RunAgentContact | undefined;
|
|
588
605
|
/**
|
|
589
606
|
* Thread information to group related requests
|
|
590
607
|
*/
|
|
@@ -592,7 +609,7 @@ export type RunAgentRequestBody = {
|
|
|
592
609
|
/**
|
|
593
610
|
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
594
611
|
*/
|
|
595
|
-
memory?:
|
|
612
|
+
memory?: RunAgentMemory | undefined;
|
|
596
613
|
/**
|
|
597
614
|
* 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.
|
|
598
615
|
*/
|
|
@@ -609,12 +626,15 @@ export type RunAgentRequestBody = {
|
|
|
609
626
|
* The list of keys of the memory stores that are accessible to the agent.
|
|
610
627
|
*/
|
|
611
628
|
memoryStores?: Array<string> | undefined;
|
|
612
|
-
|
|
629
|
+
/**
|
|
630
|
+
* Knowledge base configurations for the agent to access
|
|
631
|
+
*/
|
|
632
|
+
knowledgeBases?: Array<RunAgentKnowledgeBases> | undefined;
|
|
613
633
|
/**
|
|
614
634
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
615
635
|
*/
|
|
616
636
|
teamOfAgents?: Array<TeamOfAgents> | undefined;
|
|
617
|
-
settings:
|
|
637
|
+
settings: RunAgentSettings;
|
|
618
638
|
/**
|
|
619
639
|
* Optional metadata for the agent run as key-value pairs that will be included in traces
|
|
620
640
|
*/
|
|
@@ -670,7 +690,7 @@ export type RunAgentAgentsRole = ClosedEnum<typeof RunAgentAgentsRole>;
|
|
|
670
690
|
/**
|
|
671
691
|
* Optional status message
|
|
672
692
|
*/
|
|
673
|
-
export type
|
|
693
|
+
export type RunAgentAgentsMessage = {
|
|
674
694
|
kind: RunAgentAgentsKind;
|
|
675
695
|
messageId: string;
|
|
676
696
|
/**
|
|
@@ -694,7 +714,7 @@ export type RunAgentStatus = {
|
|
|
694
714
|
/**
|
|
695
715
|
* Optional status message
|
|
696
716
|
*/
|
|
697
|
-
message?:
|
|
717
|
+
message?: RunAgentAgentsMessage | undefined;
|
|
698
718
|
};
|
|
699
719
|
/**
|
|
700
720
|
* A2A Task response format
|
|
@@ -705,7 +725,7 @@ export type RunAgentResponseBody = {
|
|
|
705
725
|
*/
|
|
706
726
|
id: string;
|
|
707
727
|
/**
|
|
708
|
-
* The
|
|
728
|
+
* The correlation ID for this execution
|
|
709
729
|
*/
|
|
710
730
|
contextId: string;
|
|
711
731
|
/**
|
|
@@ -717,44 +737,44 @@ export type RunAgentResponseBody = {
|
|
|
717
737
|
*/
|
|
718
738
|
status: RunAgentStatus;
|
|
719
739
|
/**
|
|
720
|
-
* Task metadata
|
|
740
|
+
* Task metadata containing workspace_id and trace_id for feedback
|
|
721
741
|
*/
|
|
722
742
|
metadata?: {
|
|
723
743
|
[k: string]: any;
|
|
724
744
|
} | undefined;
|
|
725
745
|
};
|
|
726
746
|
/** @internal */
|
|
727
|
-
export declare const
|
|
747
|
+
export declare const RunAgentRoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof RunAgentRoleToolMessage>;
|
|
728
748
|
/** @internal */
|
|
729
|
-
export declare const
|
|
749
|
+
export declare const RunAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof RunAgentRoleToolMessage>;
|
|
730
750
|
/**
|
|
731
751
|
* @internal
|
|
732
752
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
733
753
|
*/
|
|
734
|
-
export declare namespace
|
|
735
|
-
/** @deprecated use `
|
|
754
|
+
export declare namespace RunAgentRoleToolMessage$ {
|
|
755
|
+
/** @deprecated use `RunAgentRoleToolMessage$inboundSchema` instead. */
|
|
736
756
|
const inboundSchema: z.ZodNativeEnum<{
|
|
737
757
|
readonly Tool: "tool";
|
|
738
758
|
}>;
|
|
739
|
-
/** @deprecated use `
|
|
759
|
+
/** @deprecated use `RunAgentRoleToolMessage$outboundSchema` instead. */
|
|
740
760
|
const outboundSchema: z.ZodNativeEnum<{
|
|
741
761
|
readonly Tool: "tool";
|
|
742
762
|
}>;
|
|
743
763
|
}
|
|
744
764
|
/** @internal */
|
|
745
|
-
export declare const
|
|
765
|
+
export declare const RunAgentRoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof RunAgentRoleUserMessage>;
|
|
746
766
|
/** @internal */
|
|
747
|
-
export declare const
|
|
767
|
+
export declare const RunAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof RunAgentRoleUserMessage>;
|
|
748
768
|
/**
|
|
749
769
|
* @internal
|
|
750
770
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
751
771
|
*/
|
|
752
|
-
export declare namespace
|
|
753
|
-
/** @deprecated use `
|
|
772
|
+
export declare namespace RunAgentRoleUserMessage$ {
|
|
773
|
+
/** @deprecated use `RunAgentRoleUserMessage$inboundSchema` instead. */
|
|
754
774
|
const inboundSchema: z.ZodNativeEnum<{
|
|
755
775
|
readonly User: "user";
|
|
756
776
|
}>;
|
|
757
|
-
/** @deprecated use `
|
|
777
|
+
/** @deprecated use `RunAgentRoleUserMessage$outboundSchema` instead. */
|
|
758
778
|
const outboundSchema: z.ZodNativeEnum<{
|
|
759
779
|
readonly User: "user";
|
|
760
780
|
}>;
|
|
@@ -780,27 +800,27 @@ export declare namespace RunAgentRole$ {
|
|
|
780
800
|
export declare function runAgentRoleToJSON(runAgentRole: RunAgentRole): string;
|
|
781
801
|
export declare function runAgentRoleFromJSON(jsonString: string): SafeParseResult<RunAgentRole, SDKValidationError>;
|
|
782
802
|
/** @internal */
|
|
783
|
-
export declare const
|
|
803
|
+
export declare const RunAgentPublicMessagePartAgentsRequestKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPublicMessagePartAgentsRequestKind>;
|
|
784
804
|
/** @internal */
|
|
785
|
-
export declare const
|
|
805
|
+
export declare const RunAgentPublicMessagePartAgentsRequestKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPublicMessagePartAgentsRequestKind>;
|
|
786
806
|
/**
|
|
787
807
|
* @internal
|
|
788
808
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
789
809
|
*/
|
|
790
|
-
export declare namespace
|
|
791
|
-
/** @deprecated use `
|
|
810
|
+
export declare namespace RunAgentPublicMessagePartAgentsRequestKind$ {
|
|
811
|
+
/** @deprecated use `RunAgentPublicMessagePartAgentsRequestKind$inboundSchema` instead. */
|
|
792
812
|
const inboundSchema: z.ZodNativeEnum<{
|
|
793
813
|
readonly ToolResult: "tool_result";
|
|
794
814
|
}>;
|
|
795
|
-
/** @deprecated use `
|
|
815
|
+
/** @deprecated use `RunAgentPublicMessagePartAgentsRequestKind$outboundSchema` instead. */
|
|
796
816
|
const outboundSchema: z.ZodNativeEnum<{
|
|
797
817
|
readonly ToolResult: "tool_result";
|
|
798
818
|
}>;
|
|
799
819
|
}
|
|
800
820
|
/** @internal */
|
|
801
|
-
export declare const
|
|
821
|
+
export declare const PublicMessagePartToolResultPart$inboundSchema: z.ZodType<PublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
|
|
802
822
|
/** @internal */
|
|
803
|
-
export type
|
|
823
|
+
export type PublicMessagePartToolResultPart$Outbound = {
|
|
804
824
|
kind: string;
|
|
805
825
|
tool_call_id: string;
|
|
806
826
|
result?: any | undefined;
|
|
@@ -809,222 +829,222 @@ export type ToolResultPart$Outbound = {
|
|
|
809
829
|
} | undefined;
|
|
810
830
|
};
|
|
811
831
|
/** @internal */
|
|
812
|
-
export declare const
|
|
832
|
+
export declare const PublicMessagePartToolResultPart$outboundSchema: z.ZodType<PublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, PublicMessagePartToolResultPart>;
|
|
813
833
|
/**
|
|
814
834
|
* @internal
|
|
815
835
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
816
836
|
*/
|
|
817
|
-
export declare namespace
|
|
818
|
-
/** @deprecated use `
|
|
819
|
-
const inboundSchema: z.ZodType<
|
|
820
|
-
/** @deprecated use `
|
|
821
|
-
const outboundSchema: z.ZodType<
|
|
822
|
-
/** @deprecated use `
|
|
823
|
-
type Outbound =
|
|
837
|
+
export declare namespace PublicMessagePartToolResultPart$ {
|
|
838
|
+
/** @deprecated use `PublicMessagePartToolResultPart$inboundSchema` instead. */
|
|
839
|
+
const inboundSchema: z.ZodType<PublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
|
|
840
|
+
/** @deprecated use `PublicMessagePartToolResultPart$outboundSchema` instead. */
|
|
841
|
+
const outboundSchema: z.ZodType<PublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, PublicMessagePartToolResultPart>;
|
|
842
|
+
/** @deprecated use `PublicMessagePartToolResultPart$Outbound` instead. */
|
|
843
|
+
type Outbound = PublicMessagePartToolResultPart$Outbound;
|
|
824
844
|
}
|
|
825
|
-
export declare function
|
|
826
|
-
export declare function
|
|
845
|
+
export declare function publicMessagePartToolResultPartToJSON(publicMessagePartToolResultPart: PublicMessagePartToolResultPart): string;
|
|
846
|
+
export declare function publicMessagePartToolResultPartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartToolResultPart, SDKValidationError>;
|
|
827
847
|
/** @internal */
|
|
828
|
-
export declare const
|
|
848
|
+
export declare const RunAgentPublicMessagePartAgentsKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPublicMessagePartAgentsKind>;
|
|
829
849
|
/** @internal */
|
|
830
|
-
export declare const
|
|
850
|
+
export declare const RunAgentPublicMessagePartAgentsKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPublicMessagePartAgentsKind>;
|
|
831
851
|
/**
|
|
832
852
|
* @internal
|
|
833
853
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
834
854
|
*/
|
|
835
|
-
export declare namespace
|
|
836
|
-
/** @deprecated use `
|
|
855
|
+
export declare namespace RunAgentPublicMessagePartAgentsKind$ {
|
|
856
|
+
/** @deprecated use `RunAgentPublicMessagePartAgentsKind$inboundSchema` instead. */
|
|
837
857
|
const inboundSchema: z.ZodNativeEnum<{
|
|
838
858
|
readonly File: "file";
|
|
839
859
|
}>;
|
|
840
|
-
/** @deprecated use `
|
|
860
|
+
/** @deprecated use `RunAgentPublicMessagePartAgentsKind$outboundSchema` instead. */
|
|
841
861
|
const outboundSchema: z.ZodNativeEnum<{
|
|
842
862
|
readonly File: "file";
|
|
843
863
|
}>;
|
|
844
864
|
}
|
|
845
865
|
/** @internal */
|
|
846
|
-
export declare const
|
|
866
|
+
export declare const FileFileInURIFormat$inboundSchema: z.ZodType<FileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
847
867
|
/** @internal */
|
|
848
|
-
export type
|
|
868
|
+
export type FileFileInURIFormat$Outbound = {
|
|
849
869
|
uri: string;
|
|
850
870
|
mimeType?: string | undefined;
|
|
851
871
|
name?: string | undefined;
|
|
852
872
|
};
|
|
853
873
|
/** @internal */
|
|
854
|
-
export declare const
|
|
874
|
+
export declare const FileFileInURIFormat$outboundSchema: z.ZodType<FileFileInURIFormat$Outbound, z.ZodTypeDef, FileFileInURIFormat>;
|
|
855
875
|
/**
|
|
856
876
|
* @internal
|
|
857
877
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
858
878
|
*/
|
|
859
|
-
export declare namespace
|
|
860
|
-
/** @deprecated use `
|
|
861
|
-
const inboundSchema: z.ZodType<
|
|
862
|
-
/** @deprecated use `
|
|
863
|
-
const outboundSchema: z.ZodType<
|
|
864
|
-
/** @deprecated use `
|
|
865
|
-
type Outbound =
|
|
879
|
+
export declare namespace FileFileInURIFormat$ {
|
|
880
|
+
/** @deprecated use `FileFileInURIFormat$inboundSchema` instead. */
|
|
881
|
+
const inboundSchema: z.ZodType<FileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
882
|
+
/** @deprecated use `FileFileInURIFormat$outboundSchema` instead. */
|
|
883
|
+
const outboundSchema: z.ZodType<FileFileInURIFormat$Outbound, z.ZodTypeDef, FileFileInURIFormat>;
|
|
884
|
+
/** @deprecated use `FileFileInURIFormat$Outbound` instead. */
|
|
885
|
+
type Outbound = FileFileInURIFormat$Outbound;
|
|
866
886
|
}
|
|
867
|
-
export declare function
|
|
868
|
-
export declare function
|
|
887
|
+
export declare function fileFileInURIFormatToJSON(fileFileInURIFormat: FileFileInURIFormat): string;
|
|
888
|
+
export declare function fileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<FileFileInURIFormat, SDKValidationError>;
|
|
869
889
|
/** @internal */
|
|
870
|
-
export declare const
|
|
890
|
+
export declare const FileBinaryFormat$inboundSchema: z.ZodType<FileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
871
891
|
/** @internal */
|
|
872
|
-
export type
|
|
892
|
+
export type FileBinaryFormat$Outbound = {
|
|
873
893
|
bytes: string;
|
|
874
894
|
mimeType?: string | undefined;
|
|
875
895
|
name?: string | undefined;
|
|
876
896
|
};
|
|
877
897
|
/** @internal */
|
|
878
|
-
export declare const
|
|
898
|
+
export declare const FileBinaryFormat$outboundSchema: z.ZodType<FileBinaryFormat$Outbound, z.ZodTypeDef, FileBinaryFormat>;
|
|
879
899
|
/**
|
|
880
900
|
* @internal
|
|
881
901
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
882
902
|
*/
|
|
883
|
-
export declare namespace
|
|
884
|
-
/** @deprecated use `
|
|
885
|
-
const inboundSchema: z.ZodType<
|
|
886
|
-
/** @deprecated use `
|
|
887
|
-
const outboundSchema: z.ZodType<
|
|
888
|
-
/** @deprecated use `
|
|
889
|
-
type Outbound =
|
|
903
|
+
export declare namespace FileBinaryFormat$ {
|
|
904
|
+
/** @deprecated use `FileBinaryFormat$inboundSchema` instead. */
|
|
905
|
+
const inboundSchema: z.ZodType<FileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
906
|
+
/** @deprecated use `FileBinaryFormat$outboundSchema` instead. */
|
|
907
|
+
const outboundSchema: z.ZodType<FileBinaryFormat$Outbound, z.ZodTypeDef, FileBinaryFormat>;
|
|
908
|
+
/** @deprecated use `FileBinaryFormat$Outbound` instead. */
|
|
909
|
+
type Outbound = FileBinaryFormat$Outbound;
|
|
890
910
|
}
|
|
891
|
-
export declare function
|
|
892
|
-
export declare function
|
|
911
|
+
export declare function fileBinaryFormatToJSON(fileBinaryFormat: FileBinaryFormat): string;
|
|
912
|
+
export declare function fileBinaryFormatFromJSON(jsonString: string): SafeParseResult<FileBinaryFormat, SDKValidationError>;
|
|
893
913
|
/** @internal */
|
|
894
|
-
export declare const
|
|
914
|
+
export declare const RunAgentPublicMessagePartFile$inboundSchema: z.ZodType<RunAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
|
|
895
915
|
/** @internal */
|
|
896
|
-
export type
|
|
916
|
+
export type RunAgentPublicMessagePartFile$Outbound = FileBinaryFormat$Outbound | FileFileInURIFormat$Outbound;
|
|
897
917
|
/** @internal */
|
|
898
|
-
export declare const
|
|
918
|
+
export declare const RunAgentPublicMessagePartFile$outboundSchema: z.ZodType<RunAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, RunAgentPublicMessagePartFile>;
|
|
899
919
|
/**
|
|
900
920
|
* @internal
|
|
901
921
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
902
922
|
*/
|
|
903
|
-
export declare namespace
|
|
904
|
-
/** @deprecated use `
|
|
905
|
-
const inboundSchema: z.ZodType<
|
|
906
|
-
/** @deprecated use `
|
|
907
|
-
const outboundSchema: z.ZodType<
|
|
908
|
-
/** @deprecated use `
|
|
909
|
-
type Outbound =
|
|
923
|
+
export declare namespace RunAgentPublicMessagePartFile$ {
|
|
924
|
+
/** @deprecated use `RunAgentPublicMessagePartFile$inboundSchema` instead. */
|
|
925
|
+
const inboundSchema: z.ZodType<RunAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
|
|
926
|
+
/** @deprecated use `RunAgentPublicMessagePartFile$outboundSchema` instead. */
|
|
927
|
+
const outboundSchema: z.ZodType<RunAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, RunAgentPublicMessagePartFile>;
|
|
928
|
+
/** @deprecated use `RunAgentPublicMessagePartFile$Outbound` instead. */
|
|
929
|
+
type Outbound = RunAgentPublicMessagePartFile$Outbound;
|
|
910
930
|
}
|
|
911
|
-
export declare function
|
|
912
|
-
export declare function
|
|
931
|
+
export declare function runAgentPublicMessagePartFileToJSON(runAgentPublicMessagePartFile: RunAgentPublicMessagePartFile): string;
|
|
932
|
+
export declare function runAgentPublicMessagePartFileFromJSON(jsonString: string): SafeParseResult<RunAgentPublicMessagePartFile, SDKValidationError>;
|
|
913
933
|
/** @internal */
|
|
914
|
-
export declare const
|
|
934
|
+
export declare const PublicMessagePartFilePart$inboundSchema: z.ZodType<PublicMessagePartFilePart, z.ZodTypeDef, unknown>;
|
|
915
935
|
/** @internal */
|
|
916
|
-
export type
|
|
936
|
+
export type PublicMessagePartFilePart$Outbound = {
|
|
917
937
|
kind: string;
|
|
918
|
-
file:
|
|
938
|
+
file: FileBinaryFormat$Outbound | FileFileInURIFormat$Outbound;
|
|
919
939
|
metadata?: {
|
|
920
940
|
[k: string]: any;
|
|
921
941
|
} | undefined;
|
|
922
942
|
};
|
|
923
943
|
/** @internal */
|
|
924
|
-
export declare const
|
|
944
|
+
export declare const PublicMessagePartFilePart$outboundSchema: z.ZodType<PublicMessagePartFilePart$Outbound, z.ZodTypeDef, PublicMessagePartFilePart>;
|
|
925
945
|
/**
|
|
926
946
|
* @internal
|
|
927
947
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
928
948
|
*/
|
|
929
|
-
export declare namespace
|
|
930
|
-
/** @deprecated use `
|
|
931
|
-
const inboundSchema: z.ZodType<
|
|
932
|
-
/** @deprecated use `
|
|
933
|
-
const outboundSchema: z.ZodType<
|
|
934
|
-
/** @deprecated use `
|
|
935
|
-
type Outbound =
|
|
949
|
+
export declare namespace PublicMessagePartFilePart$ {
|
|
950
|
+
/** @deprecated use `PublicMessagePartFilePart$inboundSchema` instead. */
|
|
951
|
+
const inboundSchema: z.ZodType<PublicMessagePartFilePart, z.ZodTypeDef, unknown>;
|
|
952
|
+
/** @deprecated use `PublicMessagePartFilePart$outboundSchema` instead. */
|
|
953
|
+
const outboundSchema: z.ZodType<PublicMessagePartFilePart$Outbound, z.ZodTypeDef, PublicMessagePartFilePart>;
|
|
954
|
+
/** @deprecated use `PublicMessagePartFilePart$Outbound` instead. */
|
|
955
|
+
type Outbound = PublicMessagePartFilePart$Outbound;
|
|
936
956
|
}
|
|
937
|
-
export declare function
|
|
938
|
-
export declare function
|
|
957
|
+
export declare function publicMessagePartFilePartToJSON(publicMessagePartFilePart: PublicMessagePartFilePart): string;
|
|
958
|
+
export declare function publicMessagePartFilePartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartFilePart, SDKValidationError>;
|
|
939
959
|
/** @internal */
|
|
940
|
-
export declare const
|
|
960
|
+
export declare const RunAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPublicMessagePartKind>;
|
|
941
961
|
/** @internal */
|
|
942
|
-
export declare const
|
|
962
|
+
export declare const RunAgentPublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPublicMessagePartKind>;
|
|
943
963
|
/**
|
|
944
964
|
* @internal
|
|
945
965
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
946
966
|
*/
|
|
947
|
-
export declare namespace
|
|
948
|
-
/** @deprecated use `
|
|
967
|
+
export declare namespace RunAgentPublicMessagePartKind$ {
|
|
968
|
+
/** @deprecated use `RunAgentPublicMessagePartKind$inboundSchema` instead. */
|
|
949
969
|
const inboundSchema: z.ZodNativeEnum<{
|
|
950
970
|
readonly Text: "text";
|
|
951
971
|
}>;
|
|
952
|
-
/** @deprecated use `
|
|
972
|
+
/** @deprecated use `RunAgentPublicMessagePartKind$outboundSchema` instead. */
|
|
953
973
|
const outboundSchema: z.ZodNativeEnum<{
|
|
954
974
|
readonly Text: "text";
|
|
955
975
|
}>;
|
|
956
976
|
}
|
|
957
977
|
/** @internal */
|
|
958
|
-
export declare const
|
|
978
|
+
export declare const PublicMessagePartTextPart$inboundSchema: z.ZodType<PublicMessagePartTextPart, z.ZodTypeDef, unknown>;
|
|
959
979
|
/** @internal */
|
|
960
|
-
export type
|
|
980
|
+
export type PublicMessagePartTextPart$Outbound = {
|
|
961
981
|
kind: string;
|
|
962
982
|
text: string;
|
|
963
983
|
};
|
|
964
984
|
/** @internal */
|
|
965
|
-
export declare const
|
|
985
|
+
export declare const PublicMessagePartTextPart$outboundSchema: z.ZodType<PublicMessagePartTextPart$Outbound, z.ZodTypeDef, PublicMessagePartTextPart>;
|
|
966
986
|
/**
|
|
967
987
|
* @internal
|
|
968
988
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
969
989
|
*/
|
|
970
|
-
export declare namespace
|
|
971
|
-
/** @deprecated use `
|
|
972
|
-
const inboundSchema: z.ZodType<
|
|
973
|
-
/** @deprecated use `
|
|
974
|
-
const outboundSchema: z.ZodType<
|
|
975
|
-
/** @deprecated use `
|
|
976
|
-
type Outbound =
|
|
990
|
+
export declare namespace PublicMessagePartTextPart$ {
|
|
991
|
+
/** @deprecated use `PublicMessagePartTextPart$inboundSchema` instead. */
|
|
992
|
+
const inboundSchema: z.ZodType<PublicMessagePartTextPart, z.ZodTypeDef, unknown>;
|
|
993
|
+
/** @deprecated use `PublicMessagePartTextPart$outboundSchema` instead. */
|
|
994
|
+
const outboundSchema: z.ZodType<PublicMessagePartTextPart$Outbound, z.ZodTypeDef, PublicMessagePartTextPart>;
|
|
995
|
+
/** @deprecated use `PublicMessagePartTextPart$Outbound` instead. */
|
|
996
|
+
type Outbound = PublicMessagePartTextPart$Outbound;
|
|
977
997
|
}
|
|
978
|
-
export declare function
|
|
979
|
-
export declare function
|
|
998
|
+
export declare function publicMessagePartTextPartToJSON(publicMessagePartTextPart: PublicMessagePartTextPart): string;
|
|
999
|
+
export declare function publicMessagePartTextPartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartTextPart, SDKValidationError>;
|
|
980
1000
|
/** @internal */
|
|
981
|
-
export declare const
|
|
1001
|
+
export declare const RunAgentPublicMessagePart$inboundSchema: z.ZodType<RunAgentPublicMessagePart, z.ZodTypeDef, unknown>;
|
|
982
1002
|
/** @internal */
|
|
983
|
-
export type
|
|
1003
|
+
export type RunAgentPublicMessagePart$Outbound = PublicMessagePartTextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound;
|
|
984
1004
|
/** @internal */
|
|
985
|
-
export declare const
|
|
1005
|
+
export declare const RunAgentPublicMessagePart$outboundSchema: z.ZodType<RunAgentPublicMessagePart$Outbound, z.ZodTypeDef, RunAgentPublicMessagePart>;
|
|
986
1006
|
/**
|
|
987
1007
|
* @internal
|
|
988
1008
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
989
1009
|
*/
|
|
990
|
-
export declare namespace
|
|
991
|
-
/** @deprecated use `
|
|
992
|
-
const inboundSchema: z.ZodType<
|
|
993
|
-
/** @deprecated use `
|
|
994
|
-
const outboundSchema: z.ZodType<
|
|
995
|
-
/** @deprecated use `
|
|
996
|
-
type Outbound =
|
|
1010
|
+
export declare namespace RunAgentPublicMessagePart$ {
|
|
1011
|
+
/** @deprecated use `RunAgentPublicMessagePart$inboundSchema` instead. */
|
|
1012
|
+
const inboundSchema: z.ZodType<RunAgentPublicMessagePart, z.ZodTypeDef, unknown>;
|
|
1013
|
+
/** @deprecated use `RunAgentPublicMessagePart$outboundSchema` instead. */
|
|
1014
|
+
const outboundSchema: z.ZodType<RunAgentPublicMessagePart$Outbound, z.ZodTypeDef, RunAgentPublicMessagePart>;
|
|
1015
|
+
/** @deprecated use `RunAgentPublicMessagePart$Outbound` instead. */
|
|
1016
|
+
type Outbound = RunAgentPublicMessagePart$Outbound;
|
|
997
1017
|
}
|
|
998
|
-
export declare function
|
|
999
|
-
export declare function
|
|
1018
|
+
export declare function runAgentPublicMessagePartToJSON(runAgentPublicMessagePart: RunAgentPublicMessagePart): string;
|
|
1019
|
+
export declare function runAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<RunAgentPublicMessagePart, SDKValidationError>;
|
|
1000
1020
|
/** @internal */
|
|
1001
|
-
export declare const
|
|
1021
|
+
export declare const RunAgentMessage$inboundSchema: z.ZodType<RunAgentMessage, z.ZodTypeDef, unknown>;
|
|
1002
1022
|
/** @internal */
|
|
1003
|
-
export type
|
|
1023
|
+
export type RunAgentMessage$Outbound = {
|
|
1004
1024
|
messageId?: string | undefined;
|
|
1005
1025
|
role: string | string;
|
|
1006
|
-
parts: Array<
|
|
1026
|
+
parts: Array<PublicMessagePartTextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound>;
|
|
1007
1027
|
};
|
|
1008
1028
|
/** @internal */
|
|
1009
|
-
export declare const
|
|
1029
|
+
export declare const RunAgentMessage$outboundSchema: z.ZodType<RunAgentMessage$Outbound, z.ZodTypeDef, RunAgentMessage>;
|
|
1010
1030
|
/**
|
|
1011
1031
|
* @internal
|
|
1012
1032
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1013
1033
|
*/
|
|
1014
|
-
export declare namespace
|
|
1015
|
-
/** @deprecated use `
|
|
1016
|
-
const inboundSchema: z.ZodType<
|
|
1017
|
-
/** @deprecated use `
|
|
1018
|
-
const outboundSchema: z.ZodType<
|
|
1019
|
-
/** @deprecated use `
|
|
1020
|
-
type Outbound =
|
|
1034
|
+
export declare namespace RunAgentMessage$ {
|
|
1035
|
+
/** @deprecated use `RunAgentMessage$inboundSchema` instead. */
|
|
1036
|
+
const inboundSchema: z.ZodType<RunAgentMessage, z.ZodTypeDef, unknown>;
|
|
1037
|
+
/** @deprecated use `RunAgentMessage$outboundSchema` instead. */
|
|
1038
|
+
const outboundSchema: z.ZodType<RunAgentMessage$Outbound, z.ZodTypeDef, RunAgentMessage>;
|
|
1039
|
+
/** @deprecated use `RunAgentMessage$Outbound` instead. */
|
|
1040
|
+
type Outbound = RunAgentMessage$Outbound;
|
|
1021
1041
|
}
|
|
1022
|
-
export declare function
|
|
1023
|
-
export declare function
|
|
1042
|
+
export declare function runAgentMessageToJSON(runAgentMessage: RunAgentMessage): string;
|
|
1043
|
+
export declare function runAgentMessageFromJSON(jsonString: string): SafeParseResult<RunAgentMessage, SDKValidationError>;
|
|
1024
1044
|
/** @internal */
|
|
1025
|
-
export declare const
|
|
1045
|
+
export declare const RunAgentContact$inboundSchema: z.ZodType<RunAgentContact, z.ZodTypeDef, unknown>;
|
|
1026
1046
|
/** @internal */
|
|
1027
|
-
export type
|
|
1047
|
+
export type RunAgentContact$Outbound = {
|
|
1028
1048
|
id: string;
|
|
1029
1049
|
display_name?: string | undefined;
|
|
1030
1050
|
email?: string | undefined;
|
|
@@ -1035,21 +1055,21 @@ export type Contact$Outbound = {
|
|
|
1035
1055
|
tags?: Array<string> | undefined;
|
|
1036
1056
|
};
|
|
1037
1057
|
/** @internal */
|
|
1038
|
-
export declare const
|
|
1058
|
+
export declare const RunAgentContact$outboundSchema: z.ZodType<RunAgentContact$Outbound, z.ZodTypeDef, RunAgentContact>;
|
|
1039
1059
|
/**
|
|
1040
1060
|
* @internal
|
|
1041
1061
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1042
1062
|
*/
|
|
1043
|
-
export declare namespace
|
|
1044
|
-
/** @deprecated use `
|
|
1045
|
-
const inboundSchema: z.ZodType<
|
|
1046
|
-
/** @deprecated use `
|
|
1047
|
-
const outboundSchema: z.ZodType<
|
|
1048
|
-
/** @deprecated use `
|
|
1049
|
-
type Outbound =
|
|
1063
|
+
export declare namespace RunAgentContact$ {
|
|
1064
|
+
/** @deprecated use `RunAgentContact$inboundSchema` instead. */
|
|
1065
|
+
const inboundSchema: z.ZodType<RunAgentContact, z.ZodTypeDef, unknown>;
|
|
1066
|
+
/** @deprecated use `RunAgentContact$outboundSchema` instead. */
|
|
1067
|
+
const outboundSchema: z.ZodType<RunAgentContact$Outbound, z.ZodTypeDef, RunAgentContact>;
|
|
1068
|
+
/** @deprecated use `RunAgentContact$Outbound` instead. */
|
|
1069
|
+
type Outbound = RunAgentContact$Outbound;
|
|
1050
1070
|
}
|
|
1051
|
-
export declare function
|
|
1052
|
-
export declare function
|
|
1071
|
+
export declare function runAgentContactToJSON(runAgentContact: RunAgentContact): string;
|
|
1072
|
+
export declare function runAgentContactFromJSON(jsonString: string): SafeParseResult<RunAgentContact, SDKValidationError>;
|
|
1053
1073
|
/** @internal */
|
|
1054
1074
|
export declare const RunAgentThread$inboundSchema: z.ZodType<RunAgentThread, z.ZodTypeDef, unknown>;
|
|
1055
1075
|
/** @internal */
|
|
@@ -1074,150 +1094,49 @@ export declare namespace RunAgentThread$ {
|
|
|
1074
1094
|
export declare function runAgentThreadToJSON(runAgentThread: RunAgentThread): string;
|
|
1075
1095
|
export declare function runAgentThreadFromJSON(jsonString: string): SafeParseResult<RunAgentThread, SDKValidationError>;
|
|
1076
1096
|
/** @internal */
|
|
1077
|
-
export declare const
|
|
1097
|
+
export declare const RunAgentMemory$inboundSchema: z.ZodType<RunAgentMemory, z.ZodTypeDef, unknown>;
|
|
1078
1098
|
/** @internal */
|
|
1079
|
-
export type
|
|
1099
|
+
export type RunAgentMemory$Outbound = {
|
|
1080
1100
|
entity_id: string;
|
|
1081
1101
|
};
|
|
1082
1102
|
/** @internal */
|
|
1083
|
-
export declare const
|
|
1103
|
+
export declare const RunAgentMemory$outboundSchema: z.ZodType<RunAgentMemory$Outbound, z.ZodTypeDef, RunAgentMemory>;
|
|
1084
1104
|
/**
|
|
1085
1105
|
* @internal
|
|
1086
1106
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1087
1107
|
*/
|
|
1088
|
-
export declare namespace
|
|
1089
|
-
/** @deprecated use `
|
|
1090
|
-
const inboundSchema: z.ZodType<
|
|
1091
|
-
/** @deprecated use `
|
|
1092
|
-
const outboundSchema: z.ZodType<
|
|
1093
|
-
/** @deprecated use `
|
|
1094
|
-
type Outbound =
|
|
1108
|
+
export declare namespace RunAgentMemory$ {
|
|
1109
|
+
/** @deprecated use `RunAgentMemory$inboundSchema` instead. */
|
|
1110
|
+
const inboundSchema: z.ZodType<RunAgentMemory, z.ZodTypeDef, unknown>;
|
|
1111
|
+
/** @deprecated use `RunAgentMemory$outboundSchema` instead. */
|
|
1112
|
+
const outboundSchema: z.ZodType<RunAgentMemory$Outbound, z.ZodTypeDef, RunAgentMemory>;
|
|
1113
|
+
/** @deprecated use `RunAgentMemory$Outbound` instead. */
|
|
1114
|
+
type Outbound = RunAgentMemory$Outbound;
|
|
1095
1115
|
}
|
|
1096
|
-
export declare function
|
|
1097
|
-
export declare function
|
|
1116
|
+
export declare function runAgentMemoryToJSON(runAgentMemory: RunAgentMemory): string;
|
|
1117
|
+
export declare function runAgentMemoryFromJSON(jsonString: string): SafeParseResult<RunAgentMemory, SDKValidationError>;
|
|
1098
1118
|
/** @internal */
|
|
1099
|
-
export declare const
|
|
1119
|
+
export declare const RunAgentKnowledgeBases$inboundSchema: z.ZodType<RunAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1100
1120
|
/** @internal */
|
|
1101
|
-
export
|
|
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 RunAgentKnowledgeBaseConfigurationType$ {
|
|
1107
|
-
/** @deprecated use `RunAgentKnowledgeBaseConfigurationType$inboundSchema` instead. */
|
|
1108
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1109
|
-
readonly Query: "query";
|
|
1110
|
-
}>;
|
|
1111
|
-
/** @deprecated use `RunAgentKnowledgeBaseConfigurationType$outboundSchema` instead. */
|
|
1112
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1113
|
-
readonly Query: "query";
|
|
1114
|
-
}>;
|
|
1115
|
-
}
|
|
1116
|
-
/** @internal */
|
|
1117
|
-
export declare const KnowledgeBaseStaticQuery$inboundSchema: z.ZodType<KnowledgeBaseStaticQuery, z.ZodTypeDef, unknown>;
|
|
1118
|
-
/** @internal */
|
|
1119
|
-
export type KnowledgeBaseStaticQuery$Outbound = {
|
|
1120
|
-
type: string;
|
|
1121
|
-
query: string;
|
|
1121
|
+
export type RunAgentKnowledgeBases$Outbound = {
|
|
1122
|
+
knowledge_id: string;
|
|
1122
1123
|
};
|
|
1123
1124
|
/** @internal */
|
|
1124
|
-
export declare const
|
|
1125
|
+
export declare const RunAgentKnowledgeBases$outboundSchema: z.ZodType<RunAgentKnowledgeBases$Outbound, z.ZodTypeDef, RunAgentKnowledgeBases>;
|
|
1125
1126
|
/**
|
|
1126
1127
|
* @internal
|
|
1127
1128
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1128
1129
|
*/
|
|
1129
|
-
export declare namespace
|
|
1130
|
-
/** @deprecated use `
|
|
1131
|
-
const inboundSchema: z.ZodType<
|
|
1132
|
-
/** @deprecated use `
|
|
1133
|
-
const outboundSchema: z.ZodType<
|
|
1134
|
-
/** @deprecated use `
|
|
1135
|
-
type Outbound =
|
|
1130
|
+
export declare namespace RunAgentKnowledgeBases$ {
|
|
1131
|
+
/** @deprecated use `RunAgentKnowledgeBases$inboundSchema` instead. */
|
|
1132
|
+
const inboundSchema: z.ZodType<RunAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1133
|
+
/** @deprecated use `RunAgentKnowledgeBases$outboundSchema` instead. */
|
|
1134
|
+
const outboundSchema: z.ZodType<RunAgentKnowledgeBases$Outbound, z.ZodTypeDef, RunAgentKnowledgeBases>;
|
|
1135
|
+
/** @deprecated use `RunAgentKnowledgeBases$Outbound` instead. */
|
|
1136
|
+
type Outbound = RunAgentKnowledgeBases$Outbound;
|
|
1136
1137
|
}
|
|
1137
|
-
export declare function
|
|
1138
|
-
export declare function
|
|
1139
|
-
/** @internal */
|
|
1140
|
-
export declare const KnowledgeBaseConfigurationType$inboundSchema: z.ZodNativeEnum<typeof KnowledgeBaseConfigurationType>;
|
|
1141
|
-
/** @internal */
|
|
1142
|
-
export declare const KnowledgeBaseConfigurationType$outboundSchema: z.ZodNativeEnum<typeof KnowledgeBaseConfigurationType>;
|
|
1143
|
-
/**
|
|
1144
|
-
* @internal
|
|
1145
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1146
|
-
*/
|
|
1147
|
-
export declare namespace KnowledgeBaseConfigurationType$ {
|
|
1148
|
-
/** @deprecated use `KnowledgeBaseConfigurationType$inboundSchema` instead. */
|
|
1149
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1150
|
-
readonly LastUserMessage: "last_user_message";
|
|
1151
|
-
}>;
|
|
1152
|
-
/** @deprecated use `KnowledgeBaseConfigurationType$outboundSchema` instead. */
|
|
1153
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1154
|
-
readonly LastUserMessage: "last_user_message";
|
|
1155
|
-
}>;
|
|
1156
|
-
}
|
|
1157
|
-
/** @internal */
|
|
1158
|
-
export declare const KnowledgeBaseLastUserMessage$inboundSchema: z.ZodType<KnowledgeBaseLastUserMessage, z.ZodTypeDef, unknown>;
|
|
1159
|
-
/** @internal */
|
|
1160
|
-
export type KnowledgeBaseLastUserMessage$Outbound = {
|
|
1161
|
-
type: string;
|
|
1162
|
-
};
|
|
1163
|
-
/** @internal */
|
|
1164
|
-
export declare const KnowledgeBaseLastUserMessage$outboundSchema: z.ZodType<KnowledgeBaseLastUserMessage$Outbound, z.ZodTypeDef, KnowledgeBaseLastUserMessage>;
|
|
1165
|
-
/**
|
|
1166
|
-
* @internal
|
|
1167
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1168
|
-
*/
|
|
1169
|
-
export declare namespace KnowledgeBaseLastUserMessage$ {
|
|
1170
|
-
/** @deprecated use `KnowledgeBaseLastUserMessage$inboundSchema` instead. */
|
|
1171
|
-
const inboundSchema: z.ZodType<KnowledgeBaseLastUserMessage, z.ZodTypeDef, unknown>;
|
|
1172
|
-
/** @deprecated use `KnowledgeBaseLastUserMessage$outboundSchema` instead. */
|
|
1173
|
-
const outboundSchema: z.ZodType<KnowledgeBaseLastUserMessage$Outbound, z.ZodTypeDef, KnowledgeBaseLastUserMessage>;
|
|
1174
|
-
/** @deprecated use `KnowledgeBaseLastUserMessage$Outbound` instead. */
|
|
1175
|
-
type Outbound = KnowledgeBaseLastUserMessage$Outbound;
|
|
1176
|
-
}
|
|
1177
|
-
export declare function knowledgeBaseLastUserMessageToJSON(knowledgeBaseLastUserMessage: KnowledgeBaseLastUserMessage): string;
|
|
1178
|
-
export declare function knowledgeBaseLastUserMessageFromJSON(jsonString: string): SafeParseResult<KnowledgeBaseLastUserMessage, SDKValidationError>;
|
|
1179
|
-
/** @internal */
|
|
1180
|
-
export declare const KnowledgeBaseConfiguration$inboundSchema: z.ZodType<KnowledgeBaseConfiguration, z.ZodTypeDef, unknown>;
|
|
1181
|
-
/** @internal */
|
|
1182
|
-
export type KnowledgeBaseConfiguration$Outbound = KnowledgeBaseStaticQuery$Outbound | KnowledgeBaseLastUserMessage$Outbound;
|
|
1183
|
-
/** @internal */
|
|
1184
|
-
export declare const KnowledgeBaseConfiguration$outboundSchema: z.ZodType<KnowledgeBaseConfiguration$Outbound, z.ZodTypeDef, KnowledgeBaseConfiguration>;
|
|
1185
|
-
/**
|
|
1186
|
-
* @internal
|
|
1187
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1188
|
-
*/
|
|
1189
|
-
export declare namespace KnowledgeBaseConfiguration$ {
|
|
1190
|
-
/** @deprecated use `KnowledgeBaseConfiguration$inboundSchema` instead. */
|
|
1191
|
-
const inboundSchema: z.ZodType<KnowledgeBaseConfiguration, z.ZodTypeDef, unknown>;
|
|
1192
|
-
/** @deprecated use `KnowledgeBaseConfiguration$outboundSchema` instead. */
|
|
1193
|
-
const outboundSchema: z.ZodType<KnowledgeBaseConfiguration$Outbound, z.ZodTypeDef, KnowledgeBaseConfiguration>;
|
|
1194
|
-
/** @deprecated use `KnowledgeBaseConfiguration$Outbound` instead. */
|
|
1195
|
-
type Outbound = KnowledgeBaseConfiguration$Outbound;
|
|
1196
|
-
}
|
|
1197
|
-
export declare function knowledgeBaseConfigurationToJSON(knowledgeBaseConfiguration: KnowledgeBaseConfiguration): string;
|
|
1198
|
-
export declare function knowledgeBaseConfigurationFromJSON(jsonString: string): SafeParseResult<KnowledgeBaseConfiguration, SDKValidationError>;
|
|
1199
|
-
/** @internal */
|
|
1200
|
-
export declare const KnowledgeBases$inboundSchema: z.ZodType<KnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1201
|
-
/** @internal */
|
|
1202
|
-
export type KnowledgeBases$Outbound = {
|
|
1203
|
-
configuration: KnowledgeBaseStaticQuery$Outbound | KnowledgeBaseLastUserMessage$Outbound;
|
|
1204
|
-
};
|
|
1205
|
-
/** @internal */
|
|
1206
|
-
export declare const KnowledgeBases$outboundSchema: z.ZodType<KnowledgeBases$Outbound, z.ZodTypeDef, KnowledgeBases>;
|
|
1207
|
-
/**
|
|
1208
|
-
* @internal
|
|
1209
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1210
|
-
*/
|
|
1211
|
-
export declare namespace KnowledgeBases$ {
|
|
1212
|
-
/** @deprecated use `KnowledgeBases$inboundSchema` instead. */
|
|
1213
|
-
const inboundSchema: z.ZodType<KnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1214
|
-
/** @deprecated use `KnowledgeBases$outboundSchema` instead. */
|
|
1215
|
-
const outboundSchema: z.ZodType<KnowledgeBases$Outbound, z.ZodTypeDef, KnowledgeBases>;
|
|
1216
|
-
/** @deprecated use `KnowledgeBases$Outbound` instead. */
|
|
1217
|
-
type Outbound = KnowledgeBases$Outbound;
|
|
1218
|
-
}
|
|
1219
|
-
export declare function knowledgeBasesToJSON(knowledgeBases: KnowledgeBases): string;
|
|
1220
|
-
export declare function knowledgeBasesFromJSON(jsonString: string): SafeParseResult<KnowledgeBases, SDKValidationError>;
|
|
1138
|
+
export declare function runAgentKnowledgeBasesToJSON(runAgentKnowledgeBases: RunAgentKnowledgeBases): string;
|
|
1139
|
+
export declare function runAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RunAgentKnowledgeBases, SDKValidationError>;
|
|
1221
1140
|
/** @internal */
|
|
1222
1141
|
export declare const TeamOfAgents$inboundSchema: z.ZodType<TeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1223
1142
|
/** @internal */
|
|
@@ -1242,27 +1161,27 @@ export declare namespace TeamOfAgents$ {
|
|
|
1242
1161
|
export declare function teamOfAgentsToJSON(teamOfAgents: TeamOfAgents): string;
|
|
1243
1162
|
export declare function teamOfAgentsFromJSON(jsonString: string): SafeParseResult<TeamOfAgents, SDKValidationError>;
|
|
1244
1163
|
/** @internal */
|
|
1245
|
-
export declare const
|
|
1164
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
1246
1165
|
/** @internal */
|
|
1247
|
-
export declare const
|
|
1166
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
1248
1167
|
/**
|
|
1249
1168
|
* @internal
|
|
1250
1169
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1251
1170
|
*/
|
|
1252
|
-
export declare namespace
|
|
1253
|
-
/** @deprecated use `
|
|
1171
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$ {
|
|
1172
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema` instead. */
|
|
1254
1173
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1255
1174
|
readonly Function: "function";
|
|
1256
1175
|
}>;
|
|
1257
|
-
/** @deprecated use `
|
|
1176
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema` instead. */
|
|
1258
1177
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1259
1178
|
readonly Function: "function";
|
|
1260
1179
|
}>;
|
|
1261
1180
|
}
|
|
1262
1181
|
/** @internal */
|
|
1263
|
-
export declare const
|
|
1182
|
+
export declare const AgentToolInputRunFunction$inboundSchema: z.ZodType<AgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
1264
1183
|
/** @internal */
|
|
1265
|
-
export type
|
|
1184
|
+
export type AgentToolInputRunFunction$Outbound = {
|
|
1266
1185
|
name: string;
|
|
1267
1186
|
description?: string | undefined;
|
|
1268
1187
|
strict?: boolean | undefined;
|
|
@@ -1271,63 +1190,63 @@ export type RunAgentRequestToolFunction$Outbound = {
|
|
|
1271
1190
|
} | undefined;
|
|
1272
1191
|
};
|
|
1273
1192
|
/** @internal */
|
|
1274
|
-
export declare const
|
|
1193
|
+
export declare const AgentToolInputRunFunction$outboundSchema: z.ZodType<AgentToolInputRunFunction$Outbound, z.ZodTypeDef, AgentToolInputRunFunction>;
|
|
1275
1194
|
/**
|
|
1276
1195
|
* @internal
|
|
1277
1196
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1278
1197
|
*/
|
|
1279
|
-
export declare namespace
|
|
1280
|
-
/** @deprecated use `
|
|
1281
|
-
const inboundSchema: z.ZodType<
|
|
1282
|
-
/** @deprecated use `
|
|
1283
|
-
const outboundSchema: z.ZodType<
|
|
1284
|
-
/** @deprecated use `
|
|
1285
|
-
type Outbound =
|
|
1198
|
+
export declare namespace AgentToolInputRunFunction$ {
|
|
1199
|
+
/** @deprecated use `AgentToolInputRunFunction$inboundSchema` instead. */
|
|
1200
|
+
const inboundSchema: z.ZodType<AgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
1201
|
+
/** @deprecated use `AgentToolInputRunFunction$outboundSchema` instead. */
|
|
1202
|
+
const outboundSchema: z.ZodType<AgentToolInputRunFunction$Outbound, z.ZodTypeDef, AgentToolInputRunFunction>;
|
|
1203
|
+
/** @deprecated use `AgentToolInputRunFunction$Outbound` instead. */
|
|
1204
|
+
type Outbound = AgentToolInputRunFunction$Outbound;
|
|
1286
1205
|
}
|
|
1287
|
-
export declare function
|
|
1288
|
-
export declare function
|
|
1206
|
+
export declare function agentToolInputRunFunctionToJSON(agentToolInputRunFunction: AgentToolInputRunFunction): string;
|
|
1207
|
+
export declare function agentToolInputRunFunctionFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunFunction, SDKValidationError>;
|
|
1289
1208
|
/** @internal */
|
|
1290
|
-
export declare const
|
|
1209
|
+
export declare const FunctionToolRun$inboundSchema: z.ZodType<FunctionToolRun, z.ZodTypeDef, unknown>;
|
|
1291
1210
|
/** @internal */
|
|
1292
|
-
export type
|
|
1211
|
+
export type FunctionToolRun$Outbound = {
|
|
1293
1212
|
type: string;
|
|
1294
|
-
_id?: string | undefined;
|
|
1295
1213
|
key: string;
|
|
1214
|
+
_id?: string | undefined;
|
|
1296
1215
|
display_name?: string | undefined;
|
|
1297
1216
|
description?: string | undefined;
|
|
1217
|
+
function: AgentToolInputRunFunction$Outbound;
|
|
1298
1218
|
requires_approval: boolean;
|
|
1299
|
-
function: RunAgentRequestToolFunction$Outbound;
|
|
1300
1219
|
};
|
|
1301
1220
|
/** @internal */
|
|
1302
|
-
export declare const
|
|
1221
|
+
export declare const FunctionToolRun$outboundSchema: z.ZodType<FunctionToolRun$Outbound, z.ZodTypeDef, FunctionToolRun>;
|
|
1303
1222
|
/**
|
|
1304
1223
|
* @internal
|
|
1305
1224
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1306
1225
|
*/
|
|
1307
|
-
export declare namespace
|
|
1308
|
-
/** @deprecated use `
|
|
1309
|
-
const inboundSchema: z.ZodType<
|
|
1310
|
-
/** @deprecated use `
|
|
1311
|
-
const outboundSchema: z.ZodType<
|
|
1312
|
-
/** @deprecated use `
|
|
1313
|
-
type Outbound =
|
|
1226
|
+
export declare namespace FunctionToolRun$ {
|
|
1227
|
+
/** @deprecated use `FunctionToolRun$inboundSchema` instead. */
|
|
1228
|
+
const inboundSchema: z.ZodType<FunctionToolRun, z.ZodTypeDef, unknown>;
|
|
1229
|
+
/** @deprecated use `FunctionToolRun$outboundSchema` instead. */
|
|
1230
|
+
const outboundSchema: z.ZodType<FunctionToolRun$Outbound, z.ZodTypeDef, FunctionToolRun>;
|
|
1231
|
+
/** @deprecated use `FunctionToolRun$Outbound` instead. */
|
|
1232
|
+
type Outbound = FunctionToolRun$Outbound;
|
|
1314
1233
|
}
|
|
1315
|
-
export declare function
|
|
1316
|
-
export declare function
|
|
1234
|
+
export declare function functionToolRunToJSON(functionToolRun: FunctionToolRun): string;
|
|
1235
|
+
export declare function functionToolRunFromJSON(jsonString: string): SafeParseResult<FunctionToolRun, SDKValidationError>;
|
|
1317
1236
|
/** @internal */
|
|
1318
|
-
export declare const
|
|
1237
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
1319
1238
|
/** @internal */
|
|
1320
|
-
export declare const
|
|
1239
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
1321
1240
|
/**
|
|
1322
1241
|
* @internal
|
|
1323
1242
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1324
1243
|
*/
|
|
1325
|
-
export declare namespace
|
|
1326
|
-
/** @deprecated use `
|
|
1244
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$ {
|
|
1245
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema` instead. */
|
|
1327
1246
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1328
1247
|
readonly Code: "code";
|
|
1329
1248
|
}>;
|
|
1330
|
-
/** @deprecated use `
|
|
1249
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema` instead. */
|
|
1331
1250
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1332
1251
|
readonly Code: "code";
|
|
1333
1252
|
}>;
|
|
@@ -1377,47 +1296,47 @@ export declare namespace CodeTool$ {
|
|
|
1377
1296
|
export declare function codeToolToJSON(codeTool: CodeTool): string;
|
|
1378
1297
|
export declare function codeToolFromJSON(jsonString: string): SafeParseResult<CodeTool, SDKValidationError>;
|
|
1379
1298
|
/** @internal */
|
|
1380
|
-
export declare const
|
|
1299
|
+
export declare const CodeToolRun$inboundSchema: z.ZodType<CodeToolRun, z.ZodTypeDef, unknown>;
|
|
1381
1300
|
/** @internal */
|
|
1382
|
-
export type
|
|
1301
|
+
export type CodeToolRun$Outbound = {
|
|
1302
|
+
type: string;
|
|
1383
1303
|
key: string;
|
|
1384
|
-
|
|
1304
|
+
_id?: string | undefined;
|
|
1305
|
+
display_name?: string | undefined;
|
|
1385
1306
|
description: string;
|
|
1386
|
-
type: string;
|
|
1387
1307
|
code_tool: CodeTool$Outbound;
|
|
1388
|
-
_id?: string | undefined;
|
|
1389
1308
|
requires_approval: boolean;
|
|
1390
1309
|
};
|
|
1391
1310
|
/** @internal */
|
|
1392
|
-
export declare const
|
|
1311
|
+
export declare const CodeToolRun$outboundSchema: z.ZodType<CodeToolRun$Outbound, z.ZodTypeDef, CodeToolRun>;
|
|
1393
1312
|
/**
|
|
1394
1313
|
* @internal
|
|
1395
1314
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1396
1315
|
*/
|
|
1397
|
-
export declare namespace
|
|
1398
|
-
/** @deprecated use `
|
|
1399
|
-
const inboundSchema: z.ZodType<
|
|
1400
|
-
/** @deprecated use `
|
|
1401
|
-
const outboundSchema: z.ZodType<
|
|
1402
|
-
/** @deprecated use `
|
|
1403
|
-
type Outbound =
|
|
1316
|
+
export declare namespace CodeToolRun$ {
|
|
1317
|
+
/** @deprecated use `CodeToolRun$inboundSchema` instead. */
|
|
1318
|
+
const inboundSchema: z.ZodType<CodeToolRun, z.ZodTypeDef, unknown>;
|
|
1319
|
+
/** @deprecated use `CodeToolRun$outboundSchema` instead. */
|
|
1320
|
+
const outboundSchema: z.ZodType<CodeToolRun$Outbound, z.ZodTypeDef, CodeToolRun>;
|
|
1321
|
+
/** @deprecated use `CodeToolRun$Outbound` instead. */
|
|
1322
|
+
type Outbound = CodeToolRun$Outbound;
|
|
1404
1323
|
}
|
|
1405
|
-
export declare function
|
|
1406
|
-
export declare function
|
|
1324
|
+
export declare function codeToolRunToJSON(codeToolRun: CodeToolRun): string;
|
|
1325
|
+
export declare function codeToolRunFromJSON(jsonString: string): SafeParseResult<CodeToolRun, SDKValidationError>;
|
|
1407
1326
|
/** @internal */
|
|
1408
|
-
export declare const
|
|
1327
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
1409
1328
|
/** @internal */
|
|
1410
|
-
export declare const
|
|
1329
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
1411
1330
|
/**
|
|
1412
1331
|
* @internal
|
|
1413
1332
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1414
1333
|
*/
|
|
1415
|
-
export declare namespace
|
|
1416
|
-
/** @deprecated use `
|
|
1334
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$ {
|
|
1335
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema` instead. */
|
|
1417
1336
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1418
1337
|
readonly Http: "http";
|
|
1419
1338
|
}>;
|
|
1420
|
-
/** @deprecated use `
|
|
1339
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema` instead. */
|
|
1421
1340
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1422
1341
|
readonly Http: "http";
|
|
1423
1342
|
}>;
|
|
@@ -1476,21 +1395,21 @@ export declare namespace Blueprint$ {
|
|
|
1476
1395
|
export declare function blueprintToJSON(blueprint: Blueprint): string;
|
|
1477
1396
|
export declare function blueprintFromJSON(jsonString: string): SafeParseResult<Blueprint, SDKValidationError>;
|
|
1478
1397
|
/** @internal */
|
|
1479
|
-
export declare const
|
|
1398
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
1480
1399
|
/** @internal */
|
|
1481
|
-
export declare const
|
|
1400
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
1482
1401
|
/**
|
|
1483
1402
|
* @internal
|
|
1484
1403
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1485
1404
|
*/
|
|
1486
|
-
export declare namespace
|
|
1487
|
-
/** @deprecated use `
|
|
1405
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$ {
|
|
1406
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema` instead. */
|
|
1488
1407
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1489
1408
|
readonly String: "string";
|
|
1490
1409
|
readonly Number: "number";
|
|
1491
1410
|
readonly Boolean: "boolean";
|
|
1492
1411
|
}>;
|
|
1493
|
-
/** @deprecated use `
|
|
1412
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema` instead. */
|
|
1494
1413
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1495
1414
|
readonly String: "string";
|
|
1496
1415
|
readonly Number: "number";
|
|
@@ -1568,520 +1487,520 @@ export declare namespace Http$ {
|
|
|
1568
1487
|
export declare function httpToJSON(http: Http): string;
|
|
1569
1488
|
export declare function httpFromJSON(jsonString: string): SafeParseResult<Http, SDKValidationError>;
|
|
1570
1489
|
/** @internal */
|
|
1571
|
-
export declare const
|
|
1490
|
+
export declare const HTTPToolRun$inboundSchema: z.ZodType<HTTPToolRun, z.ZodTypeDef, unknown>;
|
|
1572
1491
|
/** @internal */
|
|
1573
|
-
export type
|
|
1574
|
-
|
|
1492
|
+
export type HTTPToolRun$Outbound = {
|
|
1493
|
+
type: string;
|
|
1575
1494
|
key: string;
|
|
1576
|
-
|
|
1495
|
+
_id?: string | undefined;
|
|
1496
|
+
display_name?: string | undefined;
|
|
1577
1497
|
description: string;
|
|
1578
|
-
type: string;
|
|
1579
1498
|
http: Http$Outbound;
|
|
1580
1499
|
requires_approval: boolean;
|
|
1581
1500
|
};
|
|
1582
1501
|
/** @internal */
|
|
1583
|
-
export declare const
|
|
1502
|
+
export declare const HTTPToolRun$outboundSchema: z.ZodType<HTTPToolRun$Outbound, z.ZodTypeDef, HTTPToolRun>;
|
|
1584
1503
|
/**
|
|
1585
1504
|
* @internal
|
|
1586
1505
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1587
1506
|
*/
|
|
1588
|
-
export declare namespace
|
|
1589
|
-
/** @deprecated use `
|
|
1590
|
-
const inboundSchema: z.ZodType<
|
|
1591
|
-
/** @deprecated use `
|
|
1592
|
-
const outboundSchema: z.ZodType<
|
|
1593
|
-
/** @deprecated use `
|
|
1594
|
-
type Outbound =
|
|
1507
|
+
export declare namespace HTTPToolRun$ {
|
|
1508
|
+
/** @deprecated use `HTTPToolRun$inboundSchema` instead. */
|
|
1509
|
+
const inboundSchema: z.ZodType<HTTPToolRun, z.ZodTypeDef, unknown>;
|
|
1510
|
+
/** @deprecated use `HTTPToolRun$outboundSchema` instead. */
|
|
1511
|
+
const outboundSchema: z.ZodType<HTTPToolRun$Outbound, z.ZodTypeDef, HTTPToolRun>;
|
|
1512
|
+
/** @deprecated use `HTTPToolRun$Outbound` instead. */
|
|
1513
|
+
type Outbound = HTTPToolRun$Outbound;
|
|
1595
1514
|
}
|
|
1596
|
-
export declare function
|
|
1597
|
-
export declare function
|
|
1515
|
+
export declare function httpToolRunToJSON(httpToolRun: HTTPToolRun): string;
|
|
1516
|
+
export declare function httpToolRunFromJSON(jsonString: string): SafeParseResult<HTTPToolRun, SDKValidationError>;
|
|
1598
1517
|
/** @internal */
|
|
1599
|
-
export declare const
|
|
1518
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
1600
1519
|
/** @internal */
|
|
1601
|
-
export declare const
|
|
1520
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
1602
1521
|
/**
|
|
1603
1522
|
* @internal
|
|
1604
1523
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1605
1524
|
*/
|
|
1606
|
-
export declare namespace
|
|
1607
|
-
/** @deprecated use `
|
|
1525
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$ {
|
|
1526
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema` instead. */
|
|
1608
1527
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1609
1528
|
readonly CurrentDate: "current_date";
|
|
1610
1529
|
}>;
|
|
1611
|
-
/** @deprecated use `
|
|
1530
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema` instead. */
|
|
1612
1531
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1613
1532
|
readonly CurrentDate: "current_date";
|
|
1614
1533
|
}>;
|
|
1615
1534
|
}
|
|
1616
1535
|
/** @internal */
|
|
1617
|
-
export declare const
|
|
1536
|
+
export declare const AgentToolInputRunCurrentDateTool$inboundSchema: z.ZodType<AgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
1618
1537
|
/** @internal */
|
|
1619
|
-
export type
|
|
1538
|
+
export type AgentToolInputRunCurrentDateTool$Outbound = {
|
|
1620
1539
|
type: string;
|
|
1621
1540
|
requires_approval: boolean;
|
|
1622
1541
|
};
|
|
1623
1542
|
/** @internal */
|
|
1624
|
-
export declare const
|
|
1543
|
+
export declare const AgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<AgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, AgentToolInputRunCurrentDateTool>;
|
|
1625
1544
|
/**
|
|
1626
1545
|
* @internal
|
|
1627
1546
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1628
1547
|
*/
|
|
1629
|
-
export declare namespace
|
|
1630
|
-
/** @deprecated use `
|
|
1631
|
-
const inboundSchema: z.ZodType<
|
|
1632
|
-
/** @deprecated use `
|
|
1633
|
-
const outboundSchema: z.ZodType<
|
|
1634
|
-
/** @deprecated use `
|
|
1635
|
-
type Outbound =
|
|
1548
|
+
export declare namespace AgentToolInputRunCurrentDateTool$ {
|
|
1549
|
+
/** @deprecated use `AgentToolInputRunCurrentDateTool$inboundSchema` instead. */
|
|
1550
|
+
const inboundSchema: z.ZodType<AgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
1551
|
+
/** @deprecated use `AgentToolInputRunCurrentDateTool$outboundSchema` instead. */
|
|
1552
|
+
const outboundSchema: z.ZodType<AgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, AgentToolInputRunCurrentDateTool>;
|
|
1553
|
+
/** @deprecated use `AgentToolInputRunCurrentDateTool$Outbound` instead. */
|
|
1554
|
+
type Outbound = AgentToolInputRunCurrentDateTool$Outbound;
|
|
1636
1555
|
}
|
|
1637
|
-
export declare function
|
|
1638
|
-
export declare function
|
|
1556
|
+
export declare function agentToolInputRunCurrentDateToolToJSON(agentToolInputRunCurrentDateTool: AgentToolInputRunCurrentDateTool): string;
|
|
1557
|
+
export declare function agentToolInputRunCurrentDateToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCurrentDateTool, SDKValidationError>;
|
|
1639
1558
|
/** @internal */
|
|
1640
|
-
export declare const
|
|
1559
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
1641
1560
|
/** @internal */
|
|
1642
|
-
export declare const
|
|
1561
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
1643
1562
|
/**
|
|
1644
1563
|
* @internal
|
|
1645
1564
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1646
1565
|
*/
|
|
1647
|
-
export declare namespace
|
|
1648
|
-
/** @deprecated use `
|
|
1566
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$ {
|
|
1567
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema` instead. */
|
|
1649
1568
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1650
1569
|
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
1651
1570
|
}>;
|
|
1652
|
-
/** @deprecated use `
|
|
1571
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema` instead. */
|
|
1653
1572
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1654
1573
|
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
1655
1574
|
}>;
|
|
1656
1575
|
}
|
|
1657
1576
|
/** @internal */
|
|
1658
|
-
export declare const
|
|
1577
|
+
export declare const AgentToolInputRunQueryKnowledgeBaseTool$inboundSchema: z.ZodType<AgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
1659
1578
|
/** @internal */
|
|
1660
|
-
export type
|
|
1579
|
+
export type AgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
1661
1580
|
type: string;
|
|
1662
1581
|
requires_approval: boolean;
|
|
1663
1582
|
};
|
|
1664
1583
|
/** @internal */
|
|
1665
|
-
export declare const
|
|
1584
|
+
export declare const AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<AgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, AgentToolInputRunQueryKnowledgeBaseTool>;
|
|
1666
1585
|
/**
|
|
1667
1586
|
* @internal
|
|
1668
1587
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1669
1588
|
*/
|
|
1670
|
-
export declare namespace
|
|
1671
|
-
/** @deprecated use `
|
|
1672
|
-
const inboundSchema: z.ZodType<
|
|
1673
|
-
/** @deprecated use `
|
|
1674
|
-
const outboundSchema: z.ZodType<
|
|
1675
|
-
/** @deprecated use `
|
|
1676
|
-
type Outbound =
|
|
1589
|
+
export declare namespace AgentToolInputRunQueryKnowledgeBaseTool$ {
|
|
1590
|
+
/** @deprecated use `AgentToolInputRunQueryKnowledgeBaseTool$inboundSchema` instead. */
|
|
1591
|
+
const inboundSchema: z.ZodType<AgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
1592
|
+
/** @deprecated use `AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema` instead. */
|
|
1593
|
+
const outboundSchema: z.ZodType<AgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, AgentToolInputRunQueryKnowledgeBaseTool>;
|
|
1594
|
+
/** @deprecated use `AgentToolInputRunQueryKnowledgeBaseTool$Outbound` instead. */
|
|
1595
|
+
type Outbound = AgentToolInputRunQueryKnowledgeBaseTool$Outbound;
|
|
1677
1596
|
}
|
|
1678
|
-
export declare function
|
|
1679
|
-
export declare function
|
|
1597
|
+
export declare function agentToolInputRunQueryKnowledgeBaseToolToJSON(agentToolInputRunQueryKnowledgeBaseTool: AgentToolInputRunQueryKnowledgeBaseTool): string;
|
|
1598
|
+
export declare function agentToolInputRunQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunQueryKnowledgeBaseTool, SDKValidationError>;
|
|
1680
1599
|
/** @internal */
|
|
1681
|
-
export declare const
|
|
1600
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
1682
1601
|
/** @internal */
|
|
1683
|
-
export declare const
|
|
1602
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
1684
1603
|
/**
|
|
1685
1604
|
* @internal
|
|
1686
1605
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1687
1606
|
*/
|
|
1688
|
-
export declare namespace
|
|
1689
|
-
/** @deprecated use `
|
|
1607
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$ {
|
|
1608
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema` instead. */
|
|
1690
1609
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1691
1610
|
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
1692
1611
|
}>;
|
|
1693
|
-
/** @deprecated use `
|
|
1612
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema` instead. */
|
|
1694
1613
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1695
1614
|
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
1696
1615
|
}>;
|
|
1697
1616
|
}
|
|
1698
1617
|
/** @internal */
|
|
1699
|
-
export declare const
|
|
1618
|
+
export declare const AgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<AgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
1700
1619
|
/** @internal */
|
|
1701
|
-
export type
|
|
1620
|
+
export type AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
1702
1621
|
type: string;
|
|
1703
1622
|
requires_approval: boolean;
|
|
1704
1623
|
};
|
|
1705
1624
|
/** @internal */
|
|
1706
|
-
export declare const
|
|
1625
|
+
export declare const AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, AgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
1707
1626
|
/**
|
|
1708
1627
|
* @internal
|
|
1709
1628
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1710
1629
|
*/
|
|
1711
|
-
export declare namespace
|
|
1712
|
-
/** @deprecated use `
|
|
1713
|
-
const inboundSchema: z.ZodType<
|
|
1714
|
-
/** @deprecated use `
|
|
1715
|
-
const outboundSchema: z.ZodType<
|
|
1716
|
-
/** @deprecated use `
|
|
1717
|
-
type Outbound =
|
|
1630
|
+
export declare namespace AgentToolInputRunRetrieveKnowledgeBasesTool$ {
|
|
1631
|
+
/** @deprecated use `AgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema` instead. */
|
|
1632
|
+
const inboundSchema: z.ZodType<AgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
1633
|
+
/** @deprecated use `AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema` instead. */
|
|
1634
|
+
const outboundSchema: z.ZodType<AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, AgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
1635
|
+
/** @deprecated use `AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound` instead. */
|
|
1636
|
+
type Outbound = AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound;
|
|
1718
1637
|
}
|
|
1719
|
-
export declare function
|
|
1720
|
-
export declare function
|
|
1638
|
+
export declare function agentToolInputRunRetrieveKnowledgeBasesToolToJSON(agentToolInputRunRetrieveKnowledgeBasesTool: AgentToolInputRunRetrieveKnowledgeBasesTool): string;
|
|
1639
|
+
export declare function agentToolInputRunRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunRetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
1721
1640
|
/** @internal */
|
|
1722
|
-
export declare const
|
|
1641
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
1723
1642
|
/** @internal */
|
|
1724
|
-
export declare const
|
|
1643
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
1725
1644
|
/**
|
|
1726
1645
|
* @internal
|
|
1727
1646
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1728
1647
|
*/
|
|
1729
|
-
export declare namespace
|
|
1730
|
-
/** @deprecated use `
|
|
1648
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$ {
|
|
1649
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema` instead. */
|
|
1731
1650
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1732
1651
|
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
1733
1652
|
}>;
|
|
1734
|
-
/** @deprecated use `
|
|
1653
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema` instead. */
|
|
1735
1654
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1736
1655
|
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
1737
1656
|
}>;
|
|
1738
1657
|
}
|
|
1739
1658
|
/** @internal */
|
|
1740
|
-
export declare const
|
|
1659
|
+
export declare const AgentToolInputRunDeleteMemoryDocumentTool$inboundSchema: z.ZodType<AgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
1741
1660
|
/** @internal */
|
|
1742
|
-
export type
|
|
1661
|
+
export type AgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
1743
1662
|
type: string;
|
|
1744
1663
|
requires_approval: boolean;
|
|
1745
1664
|
};
|
|
1746
1665
|
/** @internal */
|
|
1747
|
-
export declare const
|
|
1666
|
+
export declare const AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema: z.ZodType<AgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, AgentToolInputRunDeleteMemoryDocumentTool>;
|
|
1748
1667
|
/**
|
|
1749
1668
|
* @internal
|
|
1750
1669
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1751
1670
|
*/
|
|
1752
|
-
export declare namespace
|
|
1753
|
-
/** @deprecated use `
|
|
1754
|
-
const inboundSchema: z.ZodType<
|
|
1755
|
-
/** @deprecated use `
|
|
1756
|
-
const outboundSchema: z.ZodType<
|
|
1757
|
-
/** @deprecated use `
|
|
1758
|
-
type Outbound =
|
|
1671
|
+
export declare namespace AgentToolInputRunDeleteMemoryDocumentTool$ {
|
|
1672
|
+
/** @deprecated use `AgentToolInputRunDeleteMemoryDocumentTool$inboundSchema` instead. */
|
|
1673
|
+
const inboundSchema: z.ZodType<AgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
1674
|
+
/** @deprecated use `AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema` instead. */
|
|
1675
|
+
const outboundSchema: z.ZodType<AgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, AgentToolInputRunDeleteMemoryDocumentTool>;
|
|
1676
|
+
/** @deprecated use `AgentToolInputRunDeleteMemoryDocumentTool$Outbound` instead. */
|
|
1677
|
+
type Outbound = AgentToolInputRunDeleteMemoryDocumentTool$Outbound;
|
|
1759
1678
|
}
|
|
1760
|
-
export declare function
|
|
1761
|
-
export declare function
|
|
1679
|
+
export declare function agentToolInputRunDeleteMemoryDocumentToolToJSON(agentToolInputRunDeleteMemoryDocumentTool: AgentToolInputRunDeleteMemoryDocumentTool): string;
|
|
1680
|
+
export declare function agentToolInputRunDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunDeleteMemoryDocumentTool, SDKValidationError>;
|
|
1762
1681
|
/** @internal */
|
|
1763
|
-
export declare const
|
|
1682
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
1764
1683
|
/** @internal */
|
|
1765
|
-
export declare const
|
|
1684
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
1766
1685
|
/**
|
|
1767
1686
|
* @internal
|
|
1768
1687
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1769
1688
|
*/
|
|
1770
|
-
export declare namespace
|
|
1771
|
-
/** @deprecated use `
|
|
1689
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$ {
|
|
1690
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema` instead. */
|
|
1772
1691
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1773
1692
|
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
1774
1693
|
}>;
|
|
1775
|
-
/** @deprecated use `
|
|
1694
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema` instead. */
|
|
1776
1695
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1777
1696
|
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
1778
1697
|
}>;
|
|
1779
1698
|
}
|
|
1780
1699
|
/** @internal */
|
|
1781
|
-
export declare const
|
|
1700
|
+
export declare const AgentToolInputRunRetrieveMemoryStoresTool$inboundSchema: z.ZodType<AgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
1782
1701
|
/** @internal */
|
|
1783
|
-
export type
|
|
1702
|
+
export type AgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
1784
1703
|
type: string;
|
|
1785
1704
|
requires_approval: boolean;
|
|
1786
1705
|
};
|
|
1787
1706
|
/** @internal */
|
|
1788
|
-
export declare const
|
|
1707
|
+
export declare const AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema: z.ZodType<AgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, AgentToolInputRunRetrieveMemoryStoresTool>;
|
|
1789
1708
|
/**
|
|
1790
1709
|
* @internal
|
|
1791
1710
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1792
1711
|
*/
|
|
1793
|
-
export declare namespace
|
|
1794
|
-
/** @deprecated use `
|
|
1795
|
-
const inboundSchema: z.ZodType<
|
|
1796
|
-
/** @deprecated use `
|
|
1797
|
-
const outboundSchema: z.ZodType<
|
|
1798
|
-
/** @deprecated use `
|
|
1799
|
-
type Outbound =
|
|
1712
|
+
export declare namespace AgentToolInputRunRetrieveMemoryStoresTool$ {
|
|
1713
|
+
/** @deprecated use `AgentToolInputRunRetrieveMemoryStoresTool$inboundSchema` instead. */
|
|
1714
|
+
const inboundSchema: z.ZodType<AgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
1715
|
+
/** @deprecated use `AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema` instead. */
|
|
1716
|
+
const outboundSchema: z.ZodType<AgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, AgentToolInputRunRetrieveMemoryStoresTool>;
|
|
1717
|
+
/** @deprecated use `AgentToolInputRunRetrieveMemoryStoresTool$Outbound` instead. */
|
|
1718
|
+
type Outbound = AgentToolInputRunRetrieveMemoryStoresTool$Outbound;
|
|
1800
1719
|
}
|
|
1801
|
-
export declare function
|
|
1802
|
-
export declare function
|
|
1720
|
+
export declare function agentToolInputRunRetrieveMemoryStoresToolToJSON(agentToolInputRunRetrieveMemoryStoresTool: AgentToolInputRunRetrieveMemoryStoresTool): string;
|
|
1721
|
+
export declare function agentToolInputRunRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunRetrieveMemoryStoresTool, SDKValidationError>;
|
|
1803
1722
|
/** @internal */
|
|
1804
|
-
export declare const
|
|
1723
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
1805
1724
|
/** @internal */
|
|
1806
|
-
export declare const
|
|
1725
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
1807
1726
|
/**
|
|
1808
1727
|
* @internal
|
|
1809
1728
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1810
1729
|
*/
|
|
1811
|
-
export declare namespace
|
|
1812
|
-
/** @deprecated use `
|
|
1730
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$ {
|
|
1731
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema` instead. */
|
|
1813
1732
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1814
1733
|
readonly WriteMemoryStore: "write_memory_store";
|
|
1815
1734
|
}>;
|
|
1816
|
-
/** @deprecated use `
|
|
1735
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema` instead. */
|
|
1817
1736
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1818
1737
|
readonly WriteMemoryStore: "write_memory_store";
|
|
1819
1738
|
}>;
|
|
1820
1739
|
}
|
|
1821
1740
|
/** @internal */
|
|
1822
|
-
export declare const
|
|
1741
|
+
export declare const AgentToolInputRunWriteMemoryStoreTool$inboundSchema: z.ZodType<AgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1823
1742
|
/** @internal */
|
|
1824
|
-
export type
|
|
1743
|
+
export type AgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
1825
1744
|
type: string;
|
|
1826
1745
|
requires_approval: boolean;
|
|
1827
1746
|
};
|
|
1828
1747
|
/** @internal */
|
|
1829
|
-
export declare const
|
|
1748
|
+
export declare const AgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<AgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputRunWriteMemoryStoreTool>;
|
|
1830
1749
|
/**
|
|
1831
1750
|
* @internal
|
|
1832
1751
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1833
1752
|
*/
|
|
1834
|
-
export declare namespace
|
|
1835
|
-
/** @deprecated use `
|
|
1836
|
-
const inboundSchema: z.ZodType<
|
|
1837
|
-
/** @deprecated use `
|
|
1838
|
-
const outboundSchema: z.ZodType<
|
|
1839
|
-
/** @deprecated use `
|
|
1840
|
-
type Outbound =
|
|
1753
|
+
export declare namespace AgentToolInputRunWriteMemoryStoreTool$ {
|
|
1754
|
+
/** @deprecated use `AgentToolInputRunWriteMemoryStoreTool$inboundSchema` instead. */
|
|
1755
|
+
const inboundSchema: z.ZodType<AgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1756
|
+
/** @deprecated use `AgentToolInputRunWriteMemoryStoreTool$outboundSchema` instead. */
|
|
1757
|
+
const outboundSchema: z.ZodType<AgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputRunWriteMemoryStoreTool>;
|
|
1758
|
+
/** @deprecated use `AgentToolInputRunWriteMemoryStoreTool$Outbound` instead. */
|
|
1759
|
+
type Outbound = AgentToolInputRunWriteMemoryStoreTool$Outbound;
|
|
1841
1760
|
}
|
|
1842
|
-
export declare function
|
|
1843
|
-
export declare function
|
|
1761
|
+
export declare function agentToolInputRunWriteMemoryStoreToolToJSON(agentToolInputRunWriteMemoryStoreTool: AgentToolInputRunWriteMemoryStoreTool): string;
|
|
1762
|
+
export declare function agentToolInputRunWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunWriteMemoryStoreTool, SDKValidationError>;
|
|
1844
1763
|
/** @internal */
|
|
1845
|
-
export declare const
|
|
1764
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
1846
1765
|
/** @internal */
|
|
1847
|
-
export declare const
|
|
1766
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
1848
1767
|
/**
|
|
1849
1768
|
* @internal
|
|
1850
1769
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1851
1770
|
*/
|
|
1852
|
-
export declare namespace
|
|
1853
|
-
/** @deprecated use `
|
|
1771
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestRequestBodyType$ {
|
|
1772
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema` instead. */
|
|
1854
1773
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1855
1774
|
readonly QueryMemoryStore: "query_memory_store";
|
|
1856
1775
|
}>;
|
|
1857
|
-
/** @deprecated use `
|
|
1776
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema` instead. */
|
|
1858
1777
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1859
1778
|
readonly QueryMemoryStore: "query_memory_store";
|
|
1860
1779
|
}>;
|
|
1861
1780
|
}
|
|
1862
1781
|
/** @internal */
|
|
1863
|
-
export declare const
|
|
1782
|
+
export declare const AgentToolInputRunQueryMemoryStoreTool$inboundSchema: z.ZodType<AgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1864
1783
|
/** @internal */
|
|
1865
|
-
export type
|
|
1784
|
+
export type AgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
1866
1785
|
type: string;
|
|
1867
1786
|
requires_approval: boolean;
|
|
1868
1787
|
};
|
|
1869
1788
|
/** @internal */
|
|
1870
|
-
export declare const
|
|
1789
|
+
export declare const AgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<AgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputRunQueryMemoryStoreTool>;
|
|
1871
1790
|
/**
|
|
1872
1791
|
* @internal
|
|
1873
1792
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1874
1793
|
*/
|
|
1875
|
-
export declare namespace
|
|
1876
|
-
/** @deprecated use `
|
|
1877
|
-
const inboundSchema: z.ZodType<
|
|
1878
|
-
/** @deprecated use `
|
|
1879
|
-
const outboundSchema: z.ZodType<
|
|
1880
|
-
/** @deprecated use `
|
|
1881
|
-
type Outbound =
|
|
1794
|
+
export declare namespace AgentToolInputRunQueryMemoryStoreTool$ {
|
|
1795
|
+
/** @deprecated use `AgentToolInputRunQueryMemoryStoreTool$inboundSchema` instead. */
|
|
1796
|
+
const inboundSchema: z.ZodType<AgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1797
|
+
/** @deprecated use `AgentToolInputRunQueryMemoryStoreTool$outboundSchema` instead. */
|
|
1798
|
+
const outboundSchema: z.ZodType<AgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, AgentToolInputRunQueryMemoryStoreTool>;
|
|
1799
|
+
/** @deprecated use `AgentToolInputRunQueryMemoryStoreTool$Outbound` instead. */
|
|
1800
|
+
type Outbound = AgentToolInputRunQueryMemoryStoreTool$Outbound;
|
|
1882
1801
|
}
|
|
1883
|
-
export declare function
|
|
1884
|
-
export declare function
|
|
1802
|
+
export declare function agentToolInputRunQueryMemoryStoreToolToJSON(agentToolInputRunQueryMemoryStoreTool: AgentToolInputRunQueryMemoryStoreTool): string;
|
|
1803
|
+
export declare function agentToolInputRunQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunQueryMemoryStoreTool, SDKValidationError>;
|
|
1885
1804
|
/** @internal */
|
|
1886
|
-
export declare const
|
|
1805
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestType>;
|
|
1887
1806
|
/** @internal */
|
|
1888
|
-
export declare const
|
|
1807
|
+
export declare const RunAgentAgentToolInputRunAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsRequestType>;
|
|
1889
1808
|
/**
|
|
1890
1809
|
* @internal
|
|
1891
1810
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1892
1811
|
*/
|
|
1893
|
-
export declare namespace
|
|
1894
|
-
/** @deprecated use `
|
|
1812
|
+
export declare namespace RunAgentAgentToolInputRunAgentsRequestType$ {
|
|
1813
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestType$inboundSchema` instead. */
|
|
1895
1814
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1896
1815
|
readonly RetrieveAgents: "retrieve_agents";
|
|
1897
1816
|
}>;
|
|
1898
|
-
/** @deprecated use `
|
|
1817
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsRequestType$outboundSchema` instead. */
|
|
1899
1818
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1900
1819
|
readonly RetrieveAgents: "retrieve_agents";
|
|
1901
1820
|
}>;
|
|
1902
1821
|
}
|
|
1903
1822
|
/** @internal */
|
|
1904
|
-
export declare const
|
|
1823
|
+
export declare const AgentToolInputRunRetrieveAgentsTool$inboundSchema: z.ZodType<AgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
1905
1824
|
/** @internal */
|
|
1906
|
-
export type
|
|
1825
|
+
export type AgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
1907
1826
|
type: string;
|
|
1908
1827
|
requires_approval: boolean;
|
|
1909
1828
|
};
|
|
1910
1829
|
/** @internal */
|
|
1911
|
-
export declare const
|
|
1830
|
+
export declare const AgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<AgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, AgentToolInputRunRetrieveAgentsTool>;
|
|
1912
1831
|
/**
|
|
1913
1832
|
* @internal
|
|
1914
1833
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1915
1834
|
*/
|
|
1916
|
-
export declare namespace
|
|
1917
|
-
/** @deprecated use `
|
|
1918
|
-
const inboundSchema: z.ZodType<
|
|
1919
|
-
/** @deprecated use `
|
|
1920
|
-
const outboundSchema: z.ZodType<
|
|
1921
|
-
/** @deprecated use `
|
|
1922
|
-
type Outbound =
|
|
1835
|
+
export declare namespace AgentToolInputRunRetrieveAgentsTool$ {
|
|
1836
|
+
/** @deprecated use `AgentToolInputRunRetrieveAgentsTool$inboundSchema` instead. */
|
|
1837
|
+
const inboundSchema: z.ZodType<AgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
1838
|
+
/** @deprecated use `AgentToolInputRunRetrieveAgentsTool$outboundSchema` instead. */
|
|
1839
|
+
const outboundSchema: z.ZodType<AgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, AgentToolInputRunRetrieveAgentsTool>;
|
|
1840
|
+
/** @deprecated use `AgentToolInputRunRetrieveAgentsTool$Outbound` instead. */
|
|
1841
|
+
type Outbound = AgentToolInputRunRetrieveAgentsTool$Outbound;
|
|
1923
1842
|
}
|
|
1924
|
-
export declare function
|
|
1925
|
-
export declare function
|
|
1843
|
+
export declare function agentToolInputRunRetrieveAgentsToolToJSON(agentToolInputRunRetrieveAgentsTool: AgentToolInputRunRetrieveAgentsTool): string;
|
|
1844
|
+
export declare function agentToolInputRunRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunRetrieveAgentsTool, SDKValidationError>;
|
|
1926
1845
|
/** @internal */
|
|
1927
|
-
export declare const
|
|
1846
|
+
export declare const RunAgentAgentToolInputRunAgentsType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsType>;
|
|
1928
1847
|
/** @internal */
|
|
1929
|
-
export declare const
|
|
1848
|
+
export declare const RunAgentAgentToolInputRunAgentsType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunAgentsType>;
|
|
1930
1849
|
/**
|
|
1931
1850
|
* @internal
|
|
1932
1851
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1933
1852
|
*/
|
|
1934
|
-
export declare namespace
|
|
1935
|
-
/** @deprecated use `
|
|
1853
|
+
export declare namespace RunAgentAgentToolInputRunAgentsType$ {
|
|
1854
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsType$inboundSchema` instead. */
|
|
1936
1855
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1937
1856
|
readonly CallSubAgent: "call_sub_agent";
|
|
1938
1857
|
}>;
|
|
1939
|
-
/** @deprecated use `
|
|
1858
|
+
/** @deprecated use `RunAgentAgentToolInputRunAgentsType$outboundSchema` instead. */
|
|
1940
1859
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1941
1860
|
readonly CallSubAgent: "call_sub_agent";
|
|
1942
1861
|
}>;
|
|
1943
1862
|
}
|
|
1944
1863
|
/** @internal */
|
|
1945
|
-
export declare const
|
|
1864
|
+
export declare const AgentToolInputRunCallSubAgentTool$inboundSchema: z.ZodType<AgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1946
1865
|
/** @internal */
|
|
1947
|
-
export type
|
|
1866
|
+
export type AgentToolInputRunCallSubAgentTool$Outbound = {
|
|
1948
1867
|
type: string;
|
|
1949
1868
|
requires_approval: boolean;
|
|
1950
1869
|
};
|
|
1951
1870
|
/** @internal */
|
|
1952
|
-
export declare const
|
|
1871
|
+
export declare const AgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<AgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, AgentToolInputRunCallSubAgentTool>;
|
|
1953
1872
|
/**
|
|
1954
1873
|
* @internal
|
|
1955
1874
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1956
1875
|
*/
|
|
1957
|
-
export declare namespace
|
|
1958
|
-
/** @deprecated use `
|
|
1959
|
-
const inboundSchema: z.ZodType<
|
|
1960
|
-
/** @deprecated use `
|
|
1961
|
-
const outboundSchema: z.ZodType<
|
|
1962
|
-
/** @deprecated use `
|
|
1963
|
-
type Outbound =
|
|
1876
|
+
export declare namespace AgentToolInputRunCallSubAgentTool$ {
|
|
1877
|
+
/** @deprecated use `AgentToolInputRunCallSubAgentTool$inboundSchema` instead. */
|
|
1878
|
+
const inboundSchema: z.ZodType<AgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1879
|
+
/** @deprecated use `AgentToolInputRunCallSubAgentTool$outboundSchema` instead. */
|
|
1880
|
+
const outboundSchema: z.ZodType<AgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, AgentToolInputRunCallSubAgentTool>;
|
|
1881
|
+
/** @deprecated use `AgentToolInputRunCallSubAgentTool$Outbound` instead. */
|
|
1882
|
+
type Outbound = AgentToolInputRunCallSubAgentTool$Outbound;
|
|
1964
1883
|
}
|
|
1965
|
-
export declare function
|
|
1966
|
-
export declare function
|
|
1884
|
+
export declare function agentToolInputRunCallSubAgentToolToJSON(agentToolInputRunCallSubAgentTool: AgentToolInputRunCallSubAgentTool): string;
|
|
1885
|
+
export declare function agentToolInputRunCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCallSubAgentTool, SDKValidationError>;
|
|
1967
1886
|
/** @internal */
|
|
1968
|
-
export declare const
|
|
1887
|
+
export declare const RunAgentAgentToolInputRunType$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunType>;
|
|
1969
1888
|
/** @internal */
|
|
1970
|
-
export declare const
|
|
1889
|
+
export declare const RunAgentAgentToolInputRunType$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentToolInputRunType>;
|
|
1971
1890
|
/**
|
|
1972
1891
|
* @internal
|
|
1973
1892
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1974
1893
|
*/
|
|
1975
|
-
export declare namespace
|
|
1976
|
-
/** @deprecated use `
|
|
1894
|
+
export declare namespace RunAgentAgentToolInputRunType$ {
|
|
1895
|
+
/** @deprecated use `RunAgentAgentToolInputRunType$inboundSchema` instead. */
|
|
1977
1896
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1978
1897
|
readonly WebScraper: "web_scraper";
|
|
1979
1898
|
}>;
|
|
1980
|
-
/** @deprecated use `
|
|
1899
|
+
/** @deprecated use `RunAgentAgentToolInputRunType$outboundSchema` instead. */
|
|
1981
1900
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1982
1901
|
readonly WebScraper: "web_scraper";
|
|
1983
1902
|
}>;
|
|
1984
1903
|
}
|
|
1985
1904
|
/** @internal */
|
|
1986
|
-
export declare const
|
|
1905
|
+
export declare const AgentToolInputRunWebScraperTool$inboundSchema: z.ZodType<AgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1987
1906
|
/** @internal */
|
|
1988
|
-
export type
|
|
1907
|
+
export type AgentToolInputRunWebScraperTool$Outbound = {
|
|
1989
1908
|
type: string;
|
|
1990
1909
|
requires_approval: boolean;
|
|
1991
1910
|
};
|
|
1992
1911
|
/** @internal */
|
|
1993
|
-
export declare const
|
|
1912
|
+
export declare const AgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<AgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, AgentToolInputRunWebScraperTool>;
|
|
1994
1913
|
/**
|
|
1995
1914
|
* @internal
|
|
1996
1915
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1997
1916
|
*/
|
|
1998
|
-
export declare namespace
|
|
1999
|
-
/** @deprecated use `
|
|
2000
|
-
const inboundSchema: z.ZodType<
|
|
2001
|
-
/** @deprecated use `
|
|
2002
|
-
const outboundSchema: z.ZodType<
|
|
2003
|
-
/** @deprecated use `
|
|
2004
|
-
type Outbound =
|
|
1917
|
+
export declare namespace AgentToolInputRunWebScraperTool$ {
|
|
1918
|
+
/** @deprecated use `AgentToolInputRunWebScraperTool$inboundSchema` instead. */
|
|
1919
|
+
const inboundSchema: z.ZodType<AgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1920
|
+
/** @deprecated use `AgentToolInputRunWebScraperTool$outboundSchema` instead. */
|
|
1921
|
+
const outboundSchema: z.ZodType<AgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, AgentToolInputRunWebScraperTool>;
|
|
1922
|
+
/** @deprecated use `AgentToolInputRunWebScraperTool$Outbound` instead. */
|
|
1923
|
+
type Outbound = AgentToolInputRunWebScraperTool$Outbound;
|
|
2005
1924
|
}
|
|
2006
|
-
export declare function
|
|
2007
|
-
export declare function
|
|
1925
|
+
export declare function agentToolInputRunWebScraperToolToJSON(agentToolInputRunWebScraperTool: AgentToolInputRunWebScraperTool): string;
|
|
1926
|
+
export declare function agentToolInputRunWebScraperToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunWebScraperTool, SDKValidationError>;
|
|
2008
1927
|
/** @internal */
|
|
2009
|
-
export declare const
|
|
1928
|
+
export declare const AgentToolInputRunType$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunType>;
|
|
2010
1929
|
/** @internal */
|
|
2011
|
-
export declare const
|
|
1930
|
+
export declare const AgentToolInputRunType$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunType>;
|
|
2012
1931
|
/**
|
|
2013
1932
|
* @internal
|
|
2014
1933
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2015
1934
|
*/
|
|
2016
|
-
export declare namespace
|
|
2017
|
-
/** @deprecated use `
|
|
1935
|
+
export declare namespace AgentToolInputRunType$ {
|
|
1936
|
+
/** @deprecated use `AgentToolInputRunType$inboundSchema` instead. */
|
|
2018
1937
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2019
1938
|
readonly GoogleSearch: "google_search";
|
|
2020
1939
|
}>;
|
|
2021
|
-
/** @deprecated use `
|
|
1940
|
+
/** @deprecated use `AgentToolInputRunType$outboundSchema` instead. */
|
|
2022
1941
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2023
1942
|
readonly GoogleSearch: "google_search";
|
|
2024
1943
|
}>;
|
|
2025
1944
|
}
|
|
2026
1945
|
/** @internal */
|
|
2027
|
-
export declare const
|
|
1946
|
+
export declare const AgentToolInputRunGoogleSearchTool$inboundSchema: z.ZodType<AgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
2028
1947
|
/** @internal */
|
|
2029
|
-
export type
|
|
1948
|
+
export type AgentToolInputRunGoogleSearchTool$Outbound = {
|
|
2030
1949
|
type: string;
|
|
2031
1950
|
requires_approval: boolean;
|
|
2032
1951
|
};
|
|
2033
1952
|
/** @internal */
|
|
2034
|
-
export declare const
|
|
1953
|
+
export declare const AgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<AgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, AgentToolInputRunGoogleSearchTool>;
|
|
2035
1954
|
/**
|
|
2036
1955
|
* @internal
|
|
2037
1956
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2038
1957
|
*/
|
|
2039
|
-
export declare namespace
|
|
2040
|
-
/** @deprecated use `
|
|
2041
|
-
const inboundSchema: z.ZodType<
|
|
2042
|
-
/** @deprecated use `
|
|
2043
|
-
const outboundSchema: z.ZodType<
|
|
2044
|
-
/** @deprecated use `
|
|
2045
|
-
type Outbound =
|
|
1958
|
+
export declare namespace AgentToolInputRunGoogleSearchTool$ {
|
|
1959
|
+
/** @deprecated use `AgentToolInputRunGoogleSearchTool$inboundSchema` instead. */
|
|
1960
|
+
const inboundSchema: z.ZodType<AgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1961
|
+
/** @deprecated use `AgentToolInputRunGoogleSearchTool$outboundSchema` instead. */
|
|
1962
|
+
const outboundSchema: z.ZodType<AgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, AgentToolInputRunGoogleSearchTool>;
|
|
1963
|
+
/** @deprecated use `AgentToolInputRunGoogleSearchTool$Outbound` instead. */
|
|
1964
|
+
type Outbound = AgentToolInputRunGoogleSearchTool$Outbound;
|
|
2046
1965
|
}
|
|
2047
|
-
export declare function
|
|
2048
|
-
export declare function
|
|
1966
|
+
export declare function agentToolInputRunGoogleSearchToolToJSON(agentToolInputRunGoogleSearchTool: AgentToolInputRunGoogleSearchTool): string;
|
|
1967
|
+
export declare function agentToolInputRunGoogleSearchToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunGoogleSearchTool, SDKValidationError>;
|
|
2049
1968
|
/** @internal */
|
|
2050
|
-
export declare const
|
|
1969
|
+
export declare const AgentToolInputRun$inboundSchema: z.ZodType<AgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
2051
1970
|
/** @internal */
|
|
2052
|
-
export type
|
|
1971
|
+
export type AgentToolInputRun$Outbound = HTTPToolRun$Outbound | CodeToolRun$Outbound | FunctionToolRun$Outbound | AgentToolInputRunGoogleSearchTool$Outbound | AgentToolInputRunWebScraperTool$Outbound | AgentToolInputRunCallSubAgentTool$Outbound | AgentToolInputRunRetrieveAgentsTool$Outbound | AgentToolInputRunQueryMemoryStoreTool$Outbound | AgentToolInputRunWriteMemoryStoreTool$Outbound | AgentToolInputRunRetrieveMemoryStoresTool$Outbound | AgentToolInputRunDeleteMemoryDocumentTool$Outbound | AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | AgentToolInputRunQueryKnowledgeBaseTool$Outbound | AgentToolInputRunCurrentDateTool$Outbound;
|
|
2053
1972
|
/** @internal */
|
|
2054
|
-
export declare const
|
|
1973
|
+
export declare const AgentToolInputRun$outboundSchema: z.ZodType<AgentToolInputRun$Outbound, z.ZodTypeDef, AgentToolInputRun>;
|
|
2055
1974
|
/**
|
|
2056
1975
|
* @internal
|
|
2057
1976
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2058
1977
|
*/
|
|
2059
|
-
export declare namespace
|
|
2060
|
-
/** @deprecated use `
|
|
2061
|
-
const inboundSchema: z.ZodType<
|
|
2062
|
-
/** @deprecated use `
|
|
2063
|
-
const outboundSchema: z.ZodType<
|
|
2064
|
-
/** @deprecated use `
|
|
2065
|
-
type Outbound =
|
|
1978
|
+
export declare namespace AgentToolInputRun$ {
|
|
1979
|
+
/** @deprecated use `AgentToolInputRun$inboundSchema` instead. */
|
|
1980
|
+
const inboundSchema: z.ZodType<AgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
1981
|
+
/** @deprecated use `AgentToolInputRun$outboundSchema` instead. */
|
|
1982
|
+
const outboundSchema: z.ZodType<AgentToolInputRun$Outbound, z.ZodTypeDef, AgentToolInputRun>;
|
|
1983
|
+
/** @deprecated use `AgentToolInputRun$Outbound` instead. */
|
|
1984
|
+
type Outbound = AgentToolInputRun$Outbound;
|
|
2066
1985
|
}
|
|
2067
|
-
export declare function
|
|
2068
|
-
export declare function
|
|
1986
|
+
export declare function agentToolInputRunToJSON(agentToolInputRun: AgentToolInputRun): string;
|
|
1987
|
+
export declare function agentToolInputRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRun, SDKValidationError>;
|
|
2069
1988
|
/** @internal */
|
|
2070
|
-
export declare const
|
|
1989
|
+
export declare const RunAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof RunAgentToolApprovalRequired>;
|
|
2071
1990
|
/** @internal */
|
|
2072
|
-
export declare const
|
|
1991
|
+
export declare const RunAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof RunAgentToolApprovalRequired>;
|
|
2073
1992
|
/**
|
|
2074
1993
|
* @internal
|
|
2075
1994
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2076
1995
|
*/
|
|
2077
|
-
export declare namespace
|
|
2078
|
-
/** @deprecated use `
|
|
1996
|
+
export declare namespace RunAgentToolApprovalRequired$ {
|
|
1997
|
+
/** @deprecated use `RunAgentToolApprovalRequired$inboundSchema` instead. */
|
|
2079
1998
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2080
1999
|
readonly All: "all";
|
|
2081
2000
|
readonly RespectTool: "respect_tool";
|
|
2082
2001
|
readonly None: "none";
|
|
2083
2002
|
}>;
|
|
2084
|
-
/** @deprecated use `
|
|
2003
|
+
/** @deprecated use `RunAgentToolApprovalRequired$outboundSchema` instead. */
|
|
2085
2004
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2086
2005
|
readonly All: "all";
|
|
2087
2006
|
readonly RespectTool: "respect_tool";
|
|
@@ -2089,54 +2008,54 @@ export declare namespace ToolApprovalRequired$ {
|
|
|
2089
2008
|
}>;
|
|
2090
2009
|
}
|
|
2091
2010
|
/** @internal */
|
|
2092
|
-
export declare const
|
|
2011
|
+
export declare const RunAgentSettings$inboundSchema: z.ZodType<RunAgentSettings, z.ZodTypeDef, unknown>;
|
|
2093
2012
|
/** @internal */
|
|
2094
|
-
export type
|
|
2095
|
-
tools: Array<
|
|
2013
|
+
export type RunAgentSettings$Outbound = {
|
|
2014
|
+
tools: Array<HTTPToolRun$Outbound | CodeToolRun$Outbound | FunctionToolRun$Outbound | AgentToolInputRunGoogleSearchTool$Outbound | AgentToolInputRunWebScraperTool$Outbound | AgentToolInputRunCallSubAgentTool$Outbound | AgentToolInputRunRetrieveAgentsTool$Outbound | AgentToolInputRunQueryMemoryStoreTool$Outbound | AgentToolInputRunWriteMemoryStoreTool$Outbound | AgentToolInputRunRetrieveMemoryStoresTool$Outbound | AgentToolInputRunDeleteMemoryDocumentTool$Outbound | AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | AgentToolInputRunQueryKnowledgeBaseTool$Outbound | AgentToolInputRunCurrentDateTool$Outbound>;
|
|
2096
2015
|
tool_approval_required: string;
|
|
2097
2016
|
max_iterations: number;
|
|
2098
2017
|
max_execution_time: number;
|
|
2099
2018
|
};
|
|
2100
2019
|
/** @internal */
|
|
2101
|
-
export declare const
|
|
2020
|
+
export declare const RunAgentSettings$outboundSchema: z.ZodType<RunAgentSettings$Outbound, z.ZodTypeDef, RunAgentSettings>;
|
|
2102
2021
|
/**
|
|
2103
2022
|
* @internal
|
|
2104
2023
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2105
2024
|
*/
|
|
2106
|
-
export declare namespace
|
|
2107
|
-
/** @deprecated use `
|
|
2108
|
-
const inboundSchema: z.ZodType<
|
|
2109
|
-
/** @deprecated use `
|
|
2110
|
-
const outboundSchema: z.ZodType<
|
|
2111
|
-
/** @deprecated use `
|
|
2112
|
-
type Outbound =
|
|
2025
|
+
export declare namespace RunAgentSettings$ {
|
|
2026
|
+
/** @deprecated use `RunAgentSettings$inboundSchema` instead. */
|
|
2027
|
+
const inboundSchema: z.ZodType<RunAgentSettings, z.ZodTypeDef, unknown>;
|
|
2028
|
+
/** @deprecated use `RunAgentSettings$outboundSchema` instead. */
|
|
2029
|
+
const outboundSchema: z.ZodType<RunAgentSettings$Outbound, z.ZodTypeDef, RunAgentSettings>;
|
|
2030
|
+
/** @deprecated use `RunAgentSettings$Outbound` instead. */
|
|
2031
|
+
type Outbound = RunAgentSettings$Outbound;
|
|
2113
2032
|
}
|
|
2114
|
-
export declare function
|
|
2115
|
-
export declare function
|
|
2033
|
+
export declare function runAgentSettingsToJSON(runAgentSettings: RunAgentSettings): string;
|
|
2034
|
+
export declare function runAgentSettingsFromJSON(jsonString: string): SafeParseResult<RunAgentSettings, SDKValidationError>;
|
|
2116
2035
|
/** @internal */
|
|
2117
2036
|
export declare const RunAgentRequestBody$inboundSchema: z.ZodType<RunAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
2118
2037
|
/** @internal */
|
|
2119
2038
|
export type RunAgentRequestBody$Outbound = {
|
|
2120
2039
|
key: string;
|
|
2121
|
-
|
|
2040
|
+
task_id?: string | undefined;
|
|
2122
2041
|
model: string;
|
|
2123
2042
|
fallback_models?: Array<string> | undefined;
|
|
2124
2043
|
role: string;
|
|
2125
2044
|
instructions: string;
|
|
2126
|
-
message:
|
|
2045
|
+
message: RunAgentMessage$Outbound;
|
|
2127
2046
|
variables?: {
|
|
2128
2047
|
[k: string]: any;
|
|
2129
2048
|
} | undefined;
|
|
2130
|
-
contact?:
|
|
2049
|
+
contact?: RunAgentContact$Outbound | undefined;
|
|
2131
2050
|
thread?: RunAgentThread$Outbound | undefined;
|
|
2132
|
-
memory?:
|
|
2051
|
+
memory?: RunAgentMemory$Outbound | undefined;
|
|
2133
2052
|
path: string;
|
|
2134
2053
|
description?: string | undefined;
|
|
2135
2054
|
system_prompt?: string | undefined;
|
|
2136
2055
|
memory_stores?: Array<string> | undefined;
|
|
2137
|
-
knowledge_bases?: Array<
|
|
2056
|
+
knowledge_bases?: Array<RunAgentKnowledgeBases$Outbound> | undefined;
|
|
2138
2057
|
team_of_agents?: Array<TeamOfAgents$Outbound> | undefined;
|
|
2139
|
-
settings:
|
|
2058
|
+
settings: RunAgentSettings$Outbound;
|
|
2140
2059
|
metadata?: {
|
|
2141
2060
|
[k: string]: any;
|
|
2142
2061
|
} | undefined;
|
|
@@ -2252,37 +2171,37 @@ export declare namespace RunAgentAgentsRole$ {
|
|
|
2252
2171
|
}>;
|
|
2253
2172
|
}
|
|
2254
2173
|
/** @internal */
|
|
2255
|
-
export declare const
|
|
2174
|
+
export declare const RunAgentAgentsMessage$inboundSchema: z.ZodType<RunAgentAgentsMessage, z.ZodTypeDef, unknown>;
|
|
2256
2175
|
/** @internal */
|
|
2257
|
-
export type
|
|
2176
|
+
export type RunAgentAgentsMessage$Outbound = {
|
|
2258
2177
|
kind: string;
|
|
2259
2178
|
messageId: string;
|
|
2260
2179
|
role: string;
|
|
2261
2180
|
parts: Array<any>;
|
|
2262
2181
|
};
|
|
2263
2182
|
/** @internal */
|
|
2264
|
-
export declare const
|
|
2183
|
+
export declare const RunAgentAgentsMessage$outboundSchema: z.ZodType<RunAgentAgentsMessage$Outbound, z.ZodTypeDef, RunAgentAgentsMessage>;
|
|
2265
2184
|
/**
|
|
2266
2185
|
* @internal
|
|
2267
2186
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2268
2187
|
*/
|
|
2269
|
-
export declare namespace
|
|
2270
|
-
/** @deprecated use `
|
|
2271
|
-
const inboundSchema: z.ZodType<
|
|
2272
|
-
/** @deprecated use `
|
|
2273
|
-
const outboundSchema: z.ZodType<
|
|
2274
|
-
/** @deprecated use `
|
|
2275
|
-
type Outbound =
|
|
2188
|
+
export declare namespace RunAgentAgentsMessage$ {
|
|
2189
|
+
/** @deprecated use `RunAgentAgentsMessage$inboundSchema` instead. */
|
|
2190
|
+
const inboundSchema: z.ZodType<RunAgentAgentsMessage, z.ZodTypeDef, unknown>;
|
|
2191
|
+
/** @deprecated use `RunAgentAgentsMessage$outboundSchema` instead. */
|
|
2192
|
+
const outboundSchema: z.ZodType<RunAgentAgentsMessage$Outbound, z.ZodTypeDef, RunAgentAgentsMessage>;
|
|
2193
|
+
/** @deprecated use `RunAgentAgentsMessage$Outbound` instead. */
|
|
2194
|
+
type Outbound = RunAgentAgentsMessage$Outbound;
|
|
2276
2195
|
}
|
|
2277
|
-
export declare function
|
|
2278
|
-
export declare function
|
|
2196
|
+
export declare function runAgentAgentsMessageToJSON(runAgentAgentsMessage: RunAgentAgentsMessage): string;
|
|
2197
|
+
export declare function runAgentAgentsMessageFromJSON(jsonString: string): SafeParseResult<RunAgentAgentsMessage, SDKValidationError>;
|
|
2279
2198
|
/** @internal */
|
|
2280
2199
|
export declare const RunAgentStatus$inboundSchema: z.ZodType<RunAgentStatus, z.ZodTypeDef, unknown>;
|
|
2281
2200
|
/** @internal */
|
|
2282
2201
|
export type RunAgentStatus$Outbound = {
|
|
2283
2202
|
state: string;
|
|
2284
2203
|
timestamp?: string | undefined;
|
|
2285
|
-
message?:
|
|
2204
|
+
message?: RunAgentAgentsMessage$Outbound | undefined;
|
|
2286
2205
|
};
|
|
2287
2206
|
/** @internal */
|
|
2288
2207
|
export declare const RunAgentStatus$outboundSchema: z.ZodType<RunAgentStatus$Outbound, z.ZodTypeDef, RunAgentStatus>;
|