@orq-ai/node 4.0.0-rc.51 → 4.0.0-rc.52
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 +3 -4
- package/bin/mcp-server.js +1125 -606
- package/bin/mcp-server.js.map +50 -51
- package/docs/sdks/agents/README.md +80 -80
- package/examples/package-lock.json +1 -1
- package/funcs/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +1 -1
- package/funcs/agentsListTasks.d.ts.map +1 -1
- package/funcs/agentsListTasks.js +1 -1
- package/funcs/agentsListTasks.js.map +1 -1
- package/funcs/agentsRetrieveTask.d.ts +1 -1
- package/funcs/agentsRetrieveTask.d.ts.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- 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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +25 -25
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +41 -41
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +6 -6
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +9 -9
- package/models/operations/deploymentinvoke.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/getagenttask.d.ts +682 -108
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +635 -155
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/invokeagent.d.ts +143 -123
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -146
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +680 -118
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +612 -144
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +6 -6
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +9 -9
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +6 -6
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +12 -11
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +112 -98
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +120 -121
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +18 -12
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +13 -13
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +12 -12
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -15
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +11 -8
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +13 -11
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- 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.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +10 -10
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +4 -4
- package/src/funcs/agentsListTasks.ts +4 -4
- package/src/funcs/agentsRetrieveTask.ts +8 -8
- package/src/funcs/agentsRun.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/errors/index.ts +0 -1
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +76 -76
- package/src/models/operations/deploymentinvoke.ts +17 -24
- 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/getagenttask.ts +1873 -428
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/invokeagent.ts +319 -299
- package/src/models/operations/listagenttasks.ts +2029 -540
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +14 -14
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +15 -22
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +264 -220
- package/src/models/operations/streamagent.ts +28 -22
- package/src/models/operations/streamrunagent.ts +24 -24
- package/src/models/operations/updateagent.ts +25 -18
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- 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 +14 -14
- package/src/sdk/agents.ts +20 -20
- package/models/errors/getagenttask.d.ts +0 -29
- package/models/errors/getagenttask.d.ts.map +0 -1
- package/models/errors/getagenttask.js +0 -74
- package/models/errors/getagenttask.js.map +0 -1
- package/src/models/errors/getagenttask.ts +0 -67
|
@@ -2,10 +2,42 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type ListAgentTasksRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The unique key of the agent
|
|
8
|
+
*/
|
|
9
|
+
agentKey: string;
|
|
10
|
+
/**
|
|
11
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
16
|
+
*/
|
|
17
|
+
startingAfter?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
20
|
+
*/
|
|
21
|
+
endingBefore?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Comma-separated list of task statuses to filter by. Available values: submitted, working, input-required, auth-required, completed, failed, canceled, rejected
|
|
24
|
+
*/
|
|
25
|
+
status?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A2A entity type
|
|
29
|
+
*/
|
|
30
|
+
export declare const ListAgentTasksKind: {
|
|
31
|
+
readonly Task: "task";
|
|
32
|
+
};
|
|
5
33
|
/**
|
|
6
|
-
*
|
|
34
|
+
* A2A entity type
|
|
7
35
|
*/
|
|
8
|
-
export
|
|
36
|
+
export type ListAgentTasksKind = ClosedEnum<typeof ListAgentTasksKind>;
|
|
37
|
+
/**
|
|
38
|
+
* Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
|
|
39
|
+
*/
|
|
40
|
+
export declare const ListAgentTasksTaskState: {
|
|
9
41
|
readonly Submitted: "submitted";
|
|
10
42
|
readonly Working: "working";
|
|
11
43
|
readonly InputRequired: "input-required";
|
|
@@ -16,62 +48,190 @@ export declare const Status: {
|
|
|
16
48
|
readonly Rejected: "rejected";
|
|
17
49
|
};
|
|
18
50
|
/**
|
|
19
|
-
*
|
|
51
|
+
* Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
|
|
20
52
|
*/
|
|
21
|
-
export type
|
|
22
|
-
export
|
|
53
|
+
export type ListAgentTasksTaskState = ClosedEnum<typeof ListAgentTasksTaskState>;
|
|
54
|
+
export declare const ListAgentTasksAgentsResponseKind: {
|
|
55
|
+
readonly Message: "message";
|
|
56
|
+
};
|
|
57
|
+
export type ListAgentTasksAgentsResponseKind = ClosedEnum<typeof ListAgentTasksAgentsResponseKind>;
|
|
58
|
+
/**
|
|
59
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
60
|
+
*/
|
|
61
|
+
export declare const ListAgentTasksAgentsExtendedMessageRole: {
|
|
62
|
+
readonly User: "user";
|
|
63
|
+
readonly Agent: "agent";
|
|
64
|
+
readonly Tool: "tool";
|
|
65
|
+
readonly System: "system";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
69
|
+
*/
|
|
70
|
+
export type ListAgentTasksAgentsExtendedMessageRole = ClosedEnum<typeof ListAgentTasksAgentsExtendedMessageRole>;
|
|
71
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind: {
|
|
72
|
+
readonly ToolResult: "tool_result";
|
|
73
|
+
};
|
|
74
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind>;
|
|
75
|
+
/**
|
|
76
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
77
|
+
*/
|
|
78
|
+
export type ListAgentTasksPartsAgentsToolResultPart = {
|
|
79
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind;
|
|
80
|
+
toolCallId: string;
|
|
81
|
+
result?: any | undefined;
|
|
82
|
+
metadata?: {
|
|
83
|
+
[k: string]: any;
|
|
84
|
+
} | undefined;
|
|
85
|
+
};
|
|
86
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind: {
|
|
87
|
+
readonly ToolCall: "tool_call";
|
|
88
|
+
};
|
|
89
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind>;
|
|
90
|
+
/**
|
|
91
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
92
|
+
*/
|
|
93
|
+
export type ListAgentTasksPartsToolCallPart = {
|
|
94
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind;
|
|
95
|
+
toolName: string;
|
|
96
|
+
toolCallId: string;
|
|
97
|
+
arguments: {
|
|
98
|
+
[k: string]: any;
|
|
99
|
+
};
|
|
100
|
+
metadata?: {
|
|
101
|
+
[k: string]: any;
|
|
102
|
+
} | undefined;
|
|
103
|
+
};
|
|
104
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind: {
|
|
105
|
+
readonly File: "file";
|
|
106
|
+
};
|
|
107
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind>;
|
|
108
|
+
/**
|
|
109
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
110
|
+
*/
|
|
111
|
+
export type ListAgentTasksFileAgentsResponseFileInURIFormat = {
|
|
23
112
|
/**
|
|
24
|
-
*
|
|
113
|
+
* URL for the File content
|
|
25
114
|
*/
|
|
26
|
-
|
|
115
|
+
uri: string;
|
|
27
116
|
/**
|
|
28
|
-
*
|
|
117
|
+
* Optional mimeType for the file
|
|
29
118
|
*/
|
|
30
|
-
|
|
119
|
+
mimeType?: string | undefined;
|
|
31
120
|
/**
|
|
32
|
-
*
|
|
121
|
+
* Optional name for the file
|
|
33
122
|
*/
|
|
34
|
-
|
|
123
|
+
name?: string | undefined;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
127
|
+
*/
|
|
128
|
+
export type ListAgentTasksFileAgentsResponseBinaryFormat = {
|
|
35
129
|
/**
|
|
36
|
-
*
|
|
130
|
+
* base64 encoded content of the file
|
|
37
131
|
*/
|
|
38
|
-
|
|
132
|
+
bytes: string;
|
|
133
|
+
/**
|
|
134
|
+
* Optional mimeType for the file
|
|
135
|
+
*/
|
|
136
|
+
mimeType?: string | undefined;
|
|
39
137
|
/**
|
|
40
|
-
*
|
|
138
|
+
* Optional name for the file
|
|
41
139
|
*/
|
|
42
|
-
|
|
140
|
+
name?: string | undefined;
|
|
43
141
|
};
|
|
44
|
-
export
|
|
45
|
-
|
|
142
|
+
export type ListAgentTasksPartsAgentsResponseFile = ListAgentTasksFileAgentsResponseBinaryFormat | ListAgentTasksFileAgentsResponseFileInURIFormat;
|
|
143
|
+
/**
|
|
144
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
145
|
+
*/
|
|
146
|
+
export type ListAgentTasksPartsAgentsResponseFilePart = {
|
|
147
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind;
|
|
148
|
+
file: ListAgentTasksFileAgentsResponseBinaryFormat | ListAgentTasksFileAgentsResponseFileInURIFormat;
|
|
149
|
+
metadata?: {
|
|
150
|
+
[k: string]: any;
|
|
151
|
+
} | undefined;
|
|
46
152
|
};
|
|
47
|
-
export
|
|
48
|
-
|
|
49
|
-
|
|
153
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind: {
|
|
154
|
+
readonly Data: "data";
|
|
155
|
+
};
|
|
156
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind>;
|
|
157
|
+
/**
|
|
158
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
159
|
+
*/
|
|
160
|
+
export type ListAgentTasksPartsAgentsResponseDataPart = {
|
|
161
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind;
|
|
162
|
+
data: {
|
|
163
|
+
[k: string]: any;
|
|
164
|
+
};
|
|
165
|
+
metadata?: {
|
|
166
|
+
[k: string]: any;
|
|
167
|
+
} | undefined;
|
|
168
|
+
};
|
|
169
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind: {
|
|
170
|
+
readonly Text: "text";
|
|
171
|
+
};
|
|
172
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind>;
|
|
173
|
+
/**
|
|
174
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
175
|
+
*/
|
|
176
|
+
export type ListAgentTasksPartsAgentsResponseTextPart = {
|
|
177
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind;
|
|
178
|
+
text: string;
|
|
179
|
+
};
|
|
180
|
+
export type ListAgentTasksAgentsResponseParts = ListAgentTasksPartsToolCallPart | ListAgentTasksPartsAgentsResponseTextPart | ListAgentTasksPartsAgentsResponseDataPart | ListAgentTasksPartsAgentsResponseFilePart | ListAgentTasksPartsAgentsToolResultPart;
|
|
181
|
+
/**
|
|
182
|
+
* Optional A2A message providing additional context about the current status
|
|
183
|
+
*/
|
|
184
|
+
export type ListAgentTasksTaskStatusMessage = {
|
|
185
|
+
kind: ListAgentTasksAgentsResponseKind;
|
|
186
|
+
messageId: string;
|
|
187
|
+
/**
|
|
188
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
189
|
+
*/
|
|
190
|
+
role: ListAgentTasksAgentsExtendedMessageRole;
|
|
191
|
+
parts: Array<ListAgentTasksPartsToolCallPart | ListAgentTasksPartsAgentsResponseTextPart | ListAgentTasksPartsAgentsResponseDataPart | ListAgentTasksPartsAgentsResponseFilePart | ListAgentTasksPartsAgentsToolResultPart>;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Current task execution status
|
|
195
|
+
*/
|
|
196
|
+
export type ListAgentTasksTaskStatus = {
|
|
197
|
+
/**
|
|
198
|
+
* Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
|
|
199
|
+
*/
|
|
200
|
+
state: ListAgentTasksTaskState;
|
|
201
|
+
/**
|
|
202
|
+
* ISO 8601 timestamp of when the status was updated
|
|
203
|
+
*/
|
|
50
204
|
timestamp?: string | undefined;
|
|
51
|
-
|
|
205
|
+
/**
|
|
206
|
+
* Optional A2A message providing additional context about the current status
|
|
207
|
+
*/
|
|
208
|
+
message?: ListAgentTasksTaskStatusMessage | undefined;
|
|
52
209
|
};
|
|
53
210
|
export declare const ListAgentTasksAgentsKind: {
|
|
54
211
|
readonly Message: "message";
|
|
55
212
|
};
|
|
56
213
|
export type ListAgentTasksAgentsKind = ClosedEnum<typeof ListAgentTasksAgentsKind>;
|
|
57
214
|
/**
|
|
58
|
-
*
|
|
215
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
59
216
|
*/
|
|
60
|
-
export declare const
|
|
217
|
+
export declare const ListAgentTasksExtendedMessageRole: {
|
|
61
218
|
readonly User: "user";
|
|
62
219
|
readonly Agent: "agent";
|
|
63
220
|
readonly Tool: "tool";
|
|
64
221
|
readonly System: "system";
|
|
65
222
|
};
|
|
66
223
|
/**
|
|
67
|
-
*
|
|
224
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
68
225
|
*/
|
|
69
|
-
export type
|
|
226
|
+
export type ListAgentTasksExtendedMessageRole = ClosedEnum<typeof ListAgentTasksExtendedMessageRole>;
|
|
70
227
|
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONKind: {
|
|
71
228
|
readonly ToolResult: "tool_result";
|
|
72
229
|
};
|
|
73
230
|
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONKind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONKind>;
|
|
74
|
-
|
|
231
|
+
/**
|
|
232
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
233
|
+
*/
|
|
234
|
+
export type ListAgentTasksPartsToolResultPart = {
|
|
75
235
|
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONKind;
|
|
76
236
|
toolCallId: string;
|
|
77
237
|
result?: any | undefined;
|
|
@@ -83,7 +243,10 @@ export declare const ListAgentTasksPartsAgentsResponse200Kind: {
|
|
|
83
243
|
readonly ToolCall: "tool_call";
|
|
84
244
|
};
|
|
85
245
|
export type ListAgentTasksPartsAgentsResponse200Kind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200Kind>;
|
|
86
|
-
|
|
246
|
+
/**
|
|
247
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
248
|
+
*/
|
|
249
|
+
export type PartsToolCallPart = {
|
|
87
250
|
kind: ListAgentTasksPartsAgentsResponse200Kind;
|
|
88
251
|
toolName: string;
|
|
89
252
|
toolCallId: string;
|
|
@@ -133,7 +296,10 @@ export type ListAgentTasksFileBinaryFormat = {
|
|
|
133
296
|
name?: string | undefined;
|
|
134
297
|
};
|
|
135
298
|
export type ListAgentTasksPartsFile = ListAgentTasksFileBinaryFormat | ListAgentTasksFileFileInURIFormat;
|
|
136
|
-
|
|
299
|
+
/**
|
|
300
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
301
|
+
*/
|
|
302
|
+
export type ListAgentTasksPartsFilePart = {
|
|
137
303
|
kind: ListAgentTasksPartsAgentsResponseKind;
|
|
138
304
|
file: ListAgentTasksFileBinaryFormat | ListAgentTasksFileFileInURIFormat;
|
|
139
305
|
metadata?: {
|
|
@@ -144,7 +310,10 @@ export declare const ListAgentTasksPartsAgentsKind: {
|
|
|
144
310
|
readonly Data: "data";
|
|
145
311
|
};
|
|
146
312
|
export type ListAgentTasksPartsAgentsKind = ClosedEnum<typeof ListAgentTasksPartsAgentsKind>;
|
|
147
|
-
|
|
313
|
+
/**
|
|
314
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
315
|
+
*/
|
|
316
|
+
export type ListAgentTasksPartsAgentsDataPart = {
|
|
148
317
|
kind: ListAgentTasksPartsAgentsKind;
|
|
149
318
|
data: {
|
|
150
319
|
[k: string]: any;
|
|
@@ -157,60 +326,203 @@ export declare const ListAgentTasksPartsKind: {
|
|
|
157
326
|
readonly Text: "text";
|
|
158
327
|
};
|
|
159
328
|
export type ListAgentTasksPartsKind = ClosedEnum<typeof ListAgentTasksPartsKind>;
|
|
160
|
-
|
|
329
|
+
/**
|
|
330
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
331
|
+
*/
|
|
332
|
+
export type ListAgentTasksPartsTextPart = {
|
|
161
333
|
kind: ListAgentTasksPartsKind;
|
|
162
334
|
text: string;
|
|
163
335
|
};
|
|
164
|
-
export type ListAgentTasksParts =
|
|
165
|
-
|
|
336
|
+
export type ListAgentTasksParts = PartsToolCallPart | ListAgentTasksPartsTextPart | ListAgentTasksPartsAgentsDataPart | ListAgentTasksPartsFilePart | ListAgentTasksPartsToolResultPart;
|
|
337
|
+
/**
|
|
338
|
+
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with Orquesta-specific features.
|
|
339
|
+
*/
|
|
340
|
+
export type ListAgentTasksExtendedA2AMessage = {
|
|
166
341
|
kind: ListAgentTasksAgentsKind;
|
|
342
|
+
/**
|
|
343
|
+
* Unique identifier for the message
|
|
344
|
+
*/
|
|
167
345
|
messageId: string;
|
|
168
346
|
/**
|
|
169
|
-
*
|
|
347
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
348
|
+
*/
|
|
349
|
+
role: ListAgentTasksExtendedMessageRole;
|
|
350
|
+
/**
|
|
351
|
+
* Array of message parts (text, file, tool_call, tool_result)
|
|
352
|
+
*/
|
|
353
|
+
parts: Array<PartsToolCallPart | ListAgentTasksPartsTextPart | ListAgentTasksPartsAgentsDataPart | ListAgentTasksPartsFilePart | ListAgentTasksPartsToolResultPart>;
|
|
354
|
+
/**
|
|
355
|
+
* Associated task ID if applicable
|
|
170
356
|
*/
|
|
171
|
-
role: ListAgentTasksRole;
|
|
172
|
-
parts: Array<ListAgentTasksParts4 | ListAgentTasksParts1 | ListAgentTasksParts2 | ListAgentTasksParts3 | ListAgentTasksParts5>;
|
|
173
357
|
taskId?: string | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* Correlation ID for execution tracking
|
|
360
|
+
*/
|
|
174
361
|
contextId?: string | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* Additional message metadata
|
|
364
|
+
*/
|
|
175
365
|
metadata?: {
|
|
176
366
|
[k: string]: any;
|
|
177
367
|
} | undefined;
|
|
178
368
|
};
|
|
179
|
-
export declare const
|
|
180
|
-
readonly
|
|
369
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind: {
|
|
370
|
+
readonly Data: "data";
|
|
181
371
|
};
|
|
182
|
-
export type
|
|
183
|
-
|
|
184
|
-
|
|
372
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind>;
|
|
373
|
+
/**
|
|
374
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
375
|
+
*/
|
|
376
|
+
export type ListAgentTasksPartsDataPart = {
|
|
377
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind;
|
|
378
|
+
data: {
|
|
379
|
+
[k: string]: any;
|
|
380
|
+
};
|
|
381
|
+
metadata?: {
|
|
382
|
+
[k: string]: any;
|
|
383
|
+
} | undefined;
|
|
384
|
+
};
|
|
385
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind: {
|
|
386
|
+
readonly File: "file";
|
|
387
|
+
};
|
|
388
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind>;
|
|
389
|
+
/**
|
|
390
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
391
|
+
*/
|
|
392
|
+
export type ListAgentTasksFileAgentsFileInURIFormat = {
|
|
393
|
+
/**
|
|
394
|
+
* URL for the File content
|
|
395
|
+
*/
|
|
396
|
+
uri: string;
|
|
397
|
+
/**
|
|
398
|
+
* Optional mimeType for the file
|
|
399
|
+
*/
|
|
400
|
+
mimeType?: string | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* Optional name for the file
|
|
403
|
+
*/
|
|
404
|
+
name?: string | undefined;
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
408
|
+
*/
|
|
409
|
+
export type ListAgentTasksFileAgentsBinaryFormat = {
|
|
410
|
+
/**
|
|
411
|
+
* base64 encoded content of the file
|
|
412
|
+
*/
|
|
413
|
+
bytes: string;
|
|
414
|
+
/**
|
|
415
|
+
* Optional mimeType for the file
|
|
416
|
+
*/
|
|
417
|
+
mimeType?: string | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* Optional name for the file
|
|
420
|
+
*/
|
|
421
|
+
name?: string | undefined;
|
|
422
|
+
};
|
|
423
|
+
export type ListAgentTasksPartsAgentsFile = ListAgentTasksFileAgentsBinaryFormat | ListAgentTasksFileAgentsFileInURIFormat;
|
|
424
|
+
/**
|
|
425
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
426
|
+
*/
|
|
427
|
+
export type ListAgentTasksPartsAgentsFilePart = {
|
|
428
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind;
|
|
429
|
+
file: ListAgentTasksFileAgentsBinaryFormat | ListAgentTasksFileAgentsFileInURIFormat;
|
|
430
|
+
metadata?: {
|
|
431
|
+
[k: string]: any;
|
|
432
|
+
} | undefined;
|
|
433
|
+
};
|
|
434
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind: {
|
|
435
|
+
readonly Text: "text";
|
|
436
|
+
};
|
|
437
|
+
export type ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind = ClosedEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind>;
|
|
438
|
+
/**
|
|
439
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
440
|
+
*/
|
|
441
|
+
export type ListAgentTasksPartsAgentsTextPart = {
|
|
442
|
+
kind: ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind;
|
|
443
|
+
text: string;
|
|
444
|
+
};
|
|
445
|
+
export type ListAgentTasksAgentsParts = ListAgentTasksPartsAgentsTextPart | ListAgentTasksPartsAgentsFilePart | ListAgentTasksPartsDataPart;
|
|
446
|
+
/**
|
|
447
|
+
* A file or data artifact produced by the agent during task execution. Follows the A2A SDK Artifact structure with required name field.
|
|
448
|
+
*/
|
|
449
|
+
export type ListAgentTasksTaskArtifact = {
|
|
450
|
+
/**
|
|
451
|
+
* Unique identifier for the artifact (ULID format)
|
|
452
|
+
*/
|
|
185
453
|
artifactId: string;
|
|
454
|
+
/**
|
|
455
|
+
* Required name for the artifact (e.g., filename or descriptive title)
|
|
456
|
+
*/
|
|
186
457
|
name: string;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
458
|
+
/**
|
|
459
|
+
* Optional human-readable description of the artifact
|
|
460
|
+
*/
|
|
461
|
+
description?: string | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* Array of artifact content parts (text, file, or data). Does not include tool_call or tool_result parts.
|
|
464
|
+
*/
|
|
465
|
+
parts: Array<ListAgentTasksPartsAgentsTextPart | ListAgentTasksPartsAgentsFilePart | ListAgentTasksPartsDataPart>;
|
|
466
|
+
/**
|
|
467
|
+
* File extensions associated with this artifact (e.g., [".pdf"])
|
|
468
|
+
*/
|
|
469
|
+
extensions?: Array<string> | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* Additional artifact metadata as key-value pairs
|
|
472
|
+
*/
|
|
473
|
+
metadata?: {
|
|
474
|
+
[k: string]: any;
|
|
475
|
+
} | undefined;
|
|
190
476
|
};
|
|
191
|
-
|
|
477
|
+
/**
|
|
478
|
+
* Agent task execution response format with full conversation history and artifacts. Used for API responses when retrieving task details.
|
|
479
|
+
*/
|
|
480
|
+
export type ExtendedTaskResponse = {
|
|
481
|
+
/**
|
|
482
|
+
* Unique task execution identifier
|
|
483
|
+
*/
|
|
192
484
|
id: string;
|
|
485
|
+
/**
|
|
486
|
+
* Correlation ID for tracking
|
|
487
|
+
*/
|
|
193
488
|
contextId: string;
|
|
489
|
+
/**
|
|
490
|
+
* A2A entity type
|
|
491
|
+
*/
|
|
194
492
|
kind: ListAgentTasksKind;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
493
|
+
/**
|
|
494
|
+
* Current task execution status
|
|
495
|
+
*/
|
|
496
|
+
status: ListAgentTasksTaskStatus;
|
|
497
|
+
/**
|
|
498
|
+
* Conversation history with all messages exchanged
|
|
499
|
+
*/
|
|
500
|
+
history: Array<ListAgentTasksExtendedA2AMessage>;
|
|
501
|
+
/**
|
|
502
|
+
* Optional files or data produced during execution
|
|
503
|
+
*/
|
|
504
|
+
artifacts?: Array<ListAgentTasksTaskArtifact> | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* Additional task metadata
|
|
507
|
+
*/
|
|
198
508
|
metadata?: {
|
|
199
509
|
[k: string]: any;
|
|
200
510
|
} | undefined;
|
|
201
511
|
};
|
|
202
512
|
/**
|
|
203
|
-
*
|
|
513
|
+
* Response format for listing all tasks associated with an agent. Includes paginated task array and total count.
|
|
204
514
|
*/
|
|
205
|
-
export type
|
|
206
|
-
|
|
515
|
+
export type ListAgentTasksAgentTasksListResponse = {
|
|
516
|
+
/**
|
|
517
|
+
* Array of agent tasks with full execution details
|
|
518
|
+
*/
|
|
519
|
+
tasks: Array<ExtendedTaskResponse>;
|
|
520
|
+
/**
|
|
521
|
+
* Total count of tasks for this agent (across all pages, unfiltered)
|
|
522
|
+
*/
|
|
207
523
|
overallTotal: number;
|
|
208
524
|
};
|
|
209
525
|
/** @internal */
|
|
210
|
-
export declare const Status$inboundSchema: z.ZodNativeEnum<typeof Status>;
|
|
211
|
-
/** @internal */
|
|
212
|
-
export declare const Status$outboundSchema: z.ZodNativeEnum<typeof Status>;
|
|
213
|
-
/** @internal */
|
|
214
526
|
export declare const ListAgentTasksRequest$inboundSchema: z.ZodType<ListAgentTasksRequest, z.ZodTypeDef, unknown>;
|
|
215
527
|
/** @internal */
|
|
216
528
|
export type ListAgentTasksRequest$Outbound = {
|
|
@@ -229,33 +541,192 @@ export declare const ListAgentTasksKind$inboundSchema: z.ZodNativeEnum<typeof Li
|
|
|
229
541
|
/** @internal */
|
|
230
542
|
export declare const ListAgentTasksKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksKind>;
|
|
231
543
|
/** @internal */
|
|
232
|
-
export declare const
|
|
544
|
+
export declare const ListAgentTasksTaskState$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksTaskState>;
|
|
545
|
+
/** @internal */
|
|
546
|
+
export declare const ListAgentTasksTaskState$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksTaskState>;
|
|
547
|
+
/** @internal */
|
|
548
|
+
export declare const ListAgentTasksAgentsResponseKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksAgentsResponseKind>;
|
|
549
|
+
/** @internal */
|
|
550
|
+
export declare const ListAgentTasksAgentsResponseKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksAgentsResponseKind>;
|
|
551
|
+
/** @internal */
|
|
552
|
+
export declare const ListAgentTasksAgentsExtendedMessageRole$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksAgentsExtendedMessageRole>;
|
|
553
|
+
/** @internal */
|
|
554
|
+
export declare const ListAgentTasksAgentsExtendedMessageRole$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksAgentsExtendedMessageRole>;
|
|
555
|
+
/** @internal */
|
|
556
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind>;
|
|
557
|
+
/** @internal */
|
|
558
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage5Kind>;
|
|
559
|
+
/** @internal */
|
|
560
|
+
export declare const ListAgentTasksPartsAgentsToolResultPart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsToolResultPart, z.ZodTypeDef, unknown>;
|
|
561
|
+
/** @internal */
|
|
562
|
+
export type ListAgentTasksPartsAgentsToolResultPart$Outbound = {
|
|
563
|
+
kind: string;
|
|
564
|
+
tool_call_id: string;
|
|
565
|
+
result?: any | undefined;
|
|
566
|
+
metadata?: {
|
|
567
|
+
[k: string]: any;
|
|
568
|
+
} | undefined;
|
|
569
|
+
};
|
|
570
|
+
/** @internal */
|
|
571
|
+
export declare const ListAgentTasksPartsAgentsToolResultPart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsToolResultPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsToolResultPart>;
|
|
572
|
+
export declare function listAgentTasksPartsAgentsToolResultPartToJSON(listAgentTasksPartsAgentsToolResultPart: ListAgentTasksPartsAgentsToolResultPart): string;
|
|
573
|
+
export declare function listAgentTasksPartsAgentsToolResultPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsToolResultPart, SDKValidationError>;
|
|
574
|
+
/** @internal */
|
|
575
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind>;
|
|
576
|
+
/** @internal */
|
|
577
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessageKind>;
|
|
578
|
+
/** @internal */
|
|
579
|
+
export declare const ListAgentTasksPartsToolCallPart$inboundSchema: z.ZodType<ListAgentTasksPartsToolCallPart, z.ZodTypeDef, unknown>;
|
|
580
|
+
/** @internal */
|
|
581
|
+
export type ListAgentTasksPartsToolCallPart$Outbound = {
|
|
582
|
+
kind: string;
|
|
583
|
+
tool_name: string;
|
|
584
|
+
tool_call_id: string;
|
|
585
|
+
arguments: {
|
|
586
|
+
[k: string]: any;
|
|
587
|
+
};
|
|
588
|
+
metadata?: {
|
|
589
|
+
[k: string]: any;
|
|
590
|
+
} | undefined;
|
|
591
|
+
};
|
|
592
|
+
/** @internal */
|
|
593
|
+
export declare const ListAgentTasksPartsToolCallPart$outboundSchema: z.ZodType<ListAgentTasksPartsToolCallPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsToolCallPart>;
|
|
594
|
+
export declare function listAgentTasksPartsToolCallPartToJSON(listAgentTasksPartsToolCallPart: ListAgentTasksPartsToolCallPart): string;
|
|
595
|
+
export declare function listAgentTasksPartsToolCallPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsToolCallPart, SDKValidationError>;
|
|
596
|
+
/** @internal */
|
|
597
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind>;
|
|
598
|
+
/** @internal */
|
|
599
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusKind>;
|
|
600
|
+
/** @internal */
|
|
601
|
+
export declare const ListAgentTasksFileAgentsResponseFileInURIFormat$inboundSchema: z.ZodType<ListAgentTasksFileAgentsResponseFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
602
|
+
/** @internal */
|
|
603
|
+
export type ListAgentTasksFileAgentsResponseFileInURIFormat$Outbound = {
|
|
604
|
+
uri: string;
|
|
605
|
+
mimeType?: string | undefined;
|
|
606
|
+
name?: string | undefined;
|
|
607
|
+
};
|
|
608
|
+
/** @internal */
|
|
609
|
+
export declare const ListAgentTasksFileAgentsResponseFileInURIFormat$outboundSchema: z.ZodType<ListAgentTasksFileAgentsResponseFileInURIFormat$Outbound, z.ZodTypeDef, ListAgentTasksFileAgentsResponseFileInURIFormat>;
|
|
610
|
+
export declare function listAgentTasksFileAgentsResponseFileInURIFormatToJSON(listAgentTasksFileAgentsResponseFileInURIFormat: ListAgentTasksFileAgentsResponseFileInURIFormat): string;
|
|
611
|
+
export declare function listAgentTasksFileAgentsResponseFileInURIFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFileAgentsResponseFileInURIFormat, SDKValidationError>;
|
|
612
|
+
/** @internal */
|
|
613
|
+
export declare const ListAgentTasksFileAgentsResponseBinaryFormat$inboundSchema: z.ZodType<ListAgentTasksFileAgentsResponseBinaryFormat, z.ZodTypeDef, unknown>;
|
|
614
|
+
/** @internal */
|
|
615
|
+
export type ListAgentTasksFileAgentsResponseBinaryFormat$Outbound = {
|
|
616
|
+
bytes: string;
|
|
617
|
+
mimeType?: string | undefined;
|
|
618
|
+
name?: string | undefined;
|
|
619
|
+
};
|
|
620
|
+
/** @internal */
|
|
621
|
+
export declare const ListAgentTasksFileAgentsResponseBinaryFormat$outboundSchema: z.ZodType<ListAgentTasksFileAgentsResponseBinaryFormat$Outbound, z.ZodTypeDef, ListAgentTasksFileAgentsResponseBinaryFormat>;
|
|
622
|
+
export declare function listAgentTasksFileAgentsResponseBinaryFormatToJSON(listAgentTasksFileAgentsResponseBinaryFormat: ListAgentTasksFileAgentsResponseBinaryFormat): string;
|
|
623
|
+
export declare function listAgentTasksFileAgentsResponseBinaryFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFileAgentsResponseBinaryFormat, SDKValidationError>;
|
|
624
|
+
/** @internal */
|
|
625
|
+
export declare const ListAgentTasksPartsAgentsResponseFile$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseFile, z.ZodTypeDef, unknown>;
|
|
626
|
+
/** @internal */
|
|
627
|
+
export type ListAgentTasksPartsAgentsResponseFile$Outbound = ListAgentTasksFileAgentsResponseBinaryFormat$Outbound | ListAgentTasksFileAgentsResponseFileInURIFormat$Outbound;
|
|
628
|
+
/** @internal */
|
|
629
|
+
export declare const ListAgentTasksPartsAgentsResponseFile$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseFile$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsResponseFile>;
|
|
630
|
+
export declare function listAgentTasksPartsAgentsResponseFileToJSON(listAgentTasksPartsAgentsResponseFile: ListAgentTasksPartsAgentsResponseFile): string;
|
|
631
|
+
export declare function listAgentTasksPartsAgentsResponseFileFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsResponseFile, SDKValidationError>;
|
|
632
|
+
/** @internal */
|
|
633
|
+
export declare const ListAgentTasksPartsAgentsResponseFilePart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseFilePart, z.ZodTypeDef, unknown>;
|
|
634
|
+
/** @internal */
|
|
635
|
+
export type ListAgentTasksPartsAgentsResponseFilePart$Outbound = {
|
|
636
|
+
kind: string;
|
|
637
|
+
file: ListAgentTasksFileAgentsResponseBinaryFormat$Outbound | ListAgentTasksFileAgentsResponseFileInURIFormat$Outbound;
|
|
638
|
+
metadata?: {
|
|
639
|
+
[k: string]: any;
|
|
640
|
+
} | undefined;
|
|
641
|
+
};
|
|
642
|
+
/** @internal */
|
|
643
|
+
export declare const ListAgentTasksPartsAgentsResponseFilePart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseFilePart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsResponseFilePart>;
|
|
644
|
+
export declare function listAgentTasksPartsAgentsResponseFilePartToJSON(listAgentTasksPartsAgentsResponseFilePart: ListAgentTasksPartsAgentsResponseFilePart): string;
|
|
645
|
+
export declare function listAgentTasksPartsAgentsResponseFilePartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsResponseFilePart, SDKValidationError>;
|
|
646
|
+
/** @internal */
|
|
647
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind>;
|
|
233
648
|
/** @internal */
|
|
234
|
-
export
|
|
649
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage2Kind>;
|
|
650
|
+
/** @internal */
|
|
651
|
+
export declare const ListAgentTasksPartsAgentsResponseDataPart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseDataPart, z.ZodTypeDef, unknown>;
|
|
652
|
+
/** @internal */
|
|
653
|
+
export type ListAgentTasksPartsAgentsResponseDataPart$Outbound = {
|
|
654
|
+
kind: string;
|
|
655
|
+
data: {
|
|
656
|
+
[k: string]: any;
|
|
657
|
+
};
|
|
658
|
+
metadata?: {
|
|
659
|
+
[k: string]: any;
|
|
660
|
+
} | undefined;
|
|
661
|
+
};
|
|
662
|
+
/** @internal */
|
|
663
|
+
export declare const ListAgentTasksPartsAgentsResponseDataPart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseDataPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsResponseDataPart>;
|
|
664
|
+
export declare function listAgentTasksPartsAgentsResponseDataPartToJSON(listAgentTasksPartsAgentsResponseDataPart: ListAgentTasksPartsAgentsResponseDataPart): string;
|
|
665
|
+
export declare function listAgentTasksPartsAgentsResponseDataPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsResponseDataPart, SDKValidationError>;
|
|
666
|
+
/** @internal */
|
|
667
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind>;
|
|
668
|
+
/** @internal */
|
|
669
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksStatusMessage1Kind>;
|
|
670
|
+
/** @internal */
|
|
671
|
+
export declare const ListAgentTasksPartsAgentsResponseTextPart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseTextPart, z.ZodTypeDef, unknown>;
|
|
672
|
+
/** @internal */
|
|
673
|
+
export type ListAgentTasksPartsAgentsResponseTextPart$Outbound = {
|
|
674
|
+
kind: string;
|
|
675
|
+
text: string;
|
|
676
|
+
};
|
|
677
|
+
/** @internal */
|
|
678
|
+
export declare const ListAgentTasksPartsAgentsResponseTextPart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsResponseTextPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsResponseTextPart>;
|
|
679
|
+
export declare function listAgentTasksPartsAgentsResponseTextPartToJSON(listAgentTasksPartsAgentsResponseTextPart: ListAgentTasksPartsAgentsResponseTextPart): string;
|
|
680
|
+
export declare function listAgentTasksPartsAgentsResponseTextPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsResponseTextPart, SDKValidationError>;
|
|
681
|
+
/** @internal */
|
|
682
|
+
export declare const ListAgentTasksAgentsResponseParts$inboundSchema: z.ZodType<ListAgentTasksAgentsResponseParts, z.ZodTypeDef, unknown>;
|
|
683
|
+
/** @internal */
|
|
684
|
+
export type ListAgentTasksAgentsResponseParts$Outbound = ListAgentTasksPartsToolCallPart$Outbound | ListAgentTasksPartsAgentsResponseTextPart$Outbound | ListAgentTasksPartsAgentsResponseDataPart$Outbound | ListAgentTasksPartsAgentsResponseFilePart$Outbound | ListAgentTasksPartsAgentsToolResultPart$Outbound;
|
|
685
|
+
/** @internal */
|
|
686
|
+
export declare const ListAgentTasksAgentsResponseParts$outboundSchema: z.ZodType<ListAgentTasksAgentsResponseParts$Outbound, z.ZodTypeDef, ListAgentTasksAgentsResponseParts>;
|
|
687
|
+
export declare function listAgentTasksAgentsResponsePartsToJSON(listAgentTasksAgentsResponseParts: ListAgentTasksAgentsResponseParts): string;
|
|
688
|
+
export declare function listAgentTasksAgentsResponsePartsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksAgentsResponseParts, SDKValidationError>;
|
|
689
|
+
/** @internal */
|
|
690
|
+
export declare const ListAgentTasksTaskStatusMessage$inboundSchema: z.ZodType<ListAgentTasksTaskStatusMessage, z.ZodTypeDef, unknown>;
|
|
691
|
+
/** @internal */
|
|
692
|
+
export type ListAgentTasksTaskStatusMessage$Outbound = {
|
|
693
|
+
kind: string;
|
|
694
|
+
messageId: string;
|
|
695
|
+
role: string;
|
|
696
|
+
parts: Array<ListAgentTasksPartsToolCallPart$Outbound | ListAgentTasksPartsAgentsResponseTextPart$Outbound | ListAgentTasksPartsAgentsResponseDataPart$Outbound | ListAgentTasksPartsAgentsResponseFilePart$Outbound | ListAgentTasksPartsAgentsToolResultPart$Outbound>;
|
|
697
|
+
};
|
|
698
|
+
/** @internal */
|
|
699
|
+
export declare const ListAgentTasksTaskStatusMessage$outboundSchema: z.ZodType<ListAgentTasksTaskStatusMessage$Outbound, z.ZodTypeDef, ListAgentTasksTaskStatusMessage>;
|
|
700
|
+
export declare function listAgentTasksTaskStatusMessageToJSON(listAgentTasksTaskStatusMessage: ListAgentTasksTaskStatusMessage): string;
|
|
701
|
+
export declare function listAgentTasksTaskStatusMessageFromJSON(jsonString: string): SafeParseResult<ListAgentTasksTaskStatusMessage, SDKValidationError>;
|
|
702
|
+
/** @internal */
|
|
703
|
+
export declare const ListAgentTasksTaskStatus$inboundSchema: z.ZodType<ListAgentTasksTaskStatus, z.ZodTypeDef, unknown>;
|
|
704
|
+
/** @internal */
|
|
705
|
+
export type ListAgentTasksTaskStatus$Outbound = {
|
|
235
706
|
state: string;
|
|
236
707
|
timestamp?: string | undefined;
|
|
237
|
-
message?:
|
|
708
|
+
message?: ListAgentTasksTaskStatusMessage$Outbound | undefined;
|
|
238
709
|
};
|
|
239
710
|
/** @internal */
|
|
240
|
-
export declare const
|
|
241
|
-
export declare function
|
|
242
|
-
export declare function
|
|
711
|
+
export declare const ListAgentTasksTaskStatus$outboundSchema: z.ZodType<ListAgentTasksTaskStatus$Outbound, z.ZodTypeDef, ListAgentTasksTaskStatus>;
|
|
712
|
+
export declare function listAgentTasksTaskStatusToJSON(listAgentTasksTaskStatus: ListAgentTasksTaskStatus): string;
|
|
713
|
+
export declare function listAgentTasksTaskStatusFromJSON(jsonString: string): SafeParseResult<ListAgentTasksTaskStatus, SDKValidationError>;
|
|
243
714
|
/** @internal */
|
|
244
715
|
export declare const ListAgentTasksAgentsKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksAgentsKind>;
|
|
245
716
|
/** @internal */
|
|
246
717
|
export declare const ListAgentTasksAgentsKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksAgentsKind>;
|
|
247
718
|
/** @internal */
|
|
248
|
-
export declare const
|
|
719
|
+
export declare const ListAgentTasksExtendedMessageRole$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksExtendedMessageRole>;
|
|
249
720
|
/** @internal */
|
|
250
|
-
export declare const
|
|
721
|
+
export declare const ListAgentTasksExtendedMessageRole$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksExtendedMessageRole>;
|
|
251
722
|
/** @internal */
|
|
252
723
|
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONKind>;
|
|
253
724
|
/** @internal */
|
|
254
725
|
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONKind>;
|
|
255
726
|
/** @internal */
|
|
256
|
-
export declare const
|
|
727
|
+
export declare const ListAgentTasksPartsToolResultPart$inboundSchema: z.ZodType<ListAgentTasksPartsToolResultPart, z.ZodTypeDef, unknown>;
|
|
257
728
|
/** @internal */
|
|
258
|
-
export type
|
|
729
|
+
export type ListAgentTasksPartsToolResultPart$Outbound = {
|
|
259
730
|
kind: string;
|
|
260
731
|
tool_call_id: string;
|
|
261
732
|
result?: any | undefined;
|
|
@@ -264,17 +735,17 @@ export type ListAgentTasksParts5$Outbound = {
|
|
|
264
735
|
} | undefined;
|
|
265
736
|
};
|
|
266
737
|
/** @internal */
|
|
267
|
-
export declare const
|
|
268
|
-
export declare function
|
|
269
|
-
export declare function
|
|
738
|
+
export declare const ListAgentTasksPartsToolResultPart$outboundSchema: z.ZodType<ListAgentTasksPartsToolResultPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsToolResultPart>;
|
|
739
|
+
export declare function listAgentTasksPartsToolResultPartToJSON(listAgentTasksPartsToolResultPart: ListAgentTasksPartsToolResultPart): string;
|
|
740
|
+
export declare function listAgentTasksPartsToolResultPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsToolResultPart, SDKValidationError>;
|
|
270
741
|
/** @internal */
|
|
271
742
|
export declare const ListAgentTasksPartsAgentsResponse200Kind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200Kind>;
|
|
272
743
|
/** @internal */
|
|
273
744
|
export declare const ListAgentTasksPartsAgentsResponse200Kind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200Kind>;
|
|
274
745
|
/** @internal */
|
|
275
|
-
export declare const
|
|
746
|
+
export declare const PartsToolCallPart$inboundSchema: z.ZodType<PartsToolCallPart, z.ZodTypeDef, unknown>;
|
|
276
747
|
/** @internal */
|
|
277
|
-
export type
|
|
748
|
+
export type PartsToolCallPart$Outbound = {
|
|
278
749
|
kind: string;
|
|
279
750
|
tool_name: string;
|
|
280
751
|
tool_call_id: string;
|
|
@@ -286,9 +757,9 @@ export type ListAgentTasksParts4$Outbound = {
|
|
|
286
757
|
} | undefined;
|
|
287
758
|
};
|
|
288
759
|
/** @internal */
|
|
289
|
-
export declare const
|
|
290
|
-
export declare function
|
|
291
|
-
export declare function
|
|
760
|
+
export declare const PartsToolCallPart$outboundSchema: z.ZodType<PartsToolCallPart$Outbound, z.ZodTypeDef, PartsToolCallPart>;
|
|
761
|
+
export declare function partsToolCallPartToJSON(partsToolCallPart: PartsToolCallPart): string;
|
|
762
|
+
export declare function partsToolCallPartFromJSON(jsonString: string): SafeParseResult<PartsToolCallPart, SDKValidationError>;
|
|
292
763
|
/** @internal */
|
|
293
764
|
export declare const ListAgentTasksPartsAgentsResponseKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponseKind>;
|
|
294
765
|
/** @internal */
|
|
@@ -326,9 +797,9 @@ export declare const ListAgentTasksPartsFile$outboundSchema: z.ZodType<ListAgent
|
|
|
326
797
|
export declare function listAgentTasksPartsFileToJSON(listAgentTasksPartsFile: ListAgentTasksPartsFile): string;
|
|
327
798
|
export declare function listAgentTasksPartsFileFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsFile, SDKValidationError>;
|
|
328
799
|
/** @internal */
|
|
329
|
-
export declare const
|
|
800
|
+
export declare const ListAgentTasksPartsFilePart$inboundSchema: z.ZodType<ListAgentTasksPartsFilePart, z.ZodTypeDef, unknown>;
|
|
330
801
|
/** @internal */
|
|
331
|
-
export type
|
|
802
|
+
export type ListAgentTasksPartsFilePart$Outbound = {
|
|
332
803
|
kind: string;
|
|
333
804
|
file: ListAgentTasksFileBinaryFormat$Outbound | ListAgentTasksFileFileInURIFormat$Outbound;
|
|
334
805
|
metadata?: {
|
|
@@ -336,17 +807,17 @@ export type ListAgentTasksParts3$Outbound = {
|
|
|
336
807
|
} | undefined;
|
|
337
808
|
};
|
|
338
809
|
/** @internal */
|
|
339
|
-
export declare const
|
|
340
|
-
export declare function
|
|
341
|
-
export declare function
|
|
810
|
+
export declare const ListAgentTasksPartsFilePart$outboundSchema: z.ZodType<ListAgentTasksPartsFilePart$Outbound, z.ZodTypeDef, ListAgentTasksPartsFilePart>;
|
|
811
|
+
export declare function listAgentTasksPartsFilePartToJSON(listAgentTasksPartsFilePart: ListAgentTasksPartsFilePart): string;
|
|
812
|
+
export declare function listAgentTasksPartsFilePartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsFilePart, SDKValidationError>;
|
|
342
813
|
/** @internal */
|
|
343
814
|
export declare const ListAgentTasksPartsAgentsKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsKind>;
|
|
344
815
|
/** @internal */
|
|
345
816
|
export declare const ListAgentTasksPartsAgentsKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsKind>;
|
|
346
817
|
/** @internal */
|
|
347
|
-
export declare const
|
|
818
|
+
export declare const ListAgentTasksPartsAgentsDataPart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsDataPart, z.ZodTypeDef, unknown>;
|
|
348
819
|
/** @internal */
|
|
349
|
-
export type
|
|
820
|
+
export type ListAgentTasksPartsAgentsDataPart$Outbound = {
|
|
350
821
|
kind: string;
|
|
351
822
|
data: {
|
|
352
823
|
[k: string]: any;
|
|
@@ -356,40 +827,40 @@ export type ListAgentTasksParts2$Outbound = {
|
|
|
356
827
|
} | undefined;
|
|
357
828
|
};
|
|
358
829
|
/** @internal */
|
|
359
|
-
export declare const
|
|
360
|
-
export declare function
|
|
361
|
-
export declare function
|
|
830
|
+
export declare const ListAgentTasksPartsAgentsDataPart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsDataPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsDataPart>;
|
|
831
|
+
export declare function listAgentTasksPartsAgentsDataPartToJSON(listAgentTasksPartsAgentsDataPart: ListAgentTasksPartsAgentsDataPart): string;
|
|
832
|
+
export declare function listAgentTasksPartsAgentsDataPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsDataPart, SDKValidationError>;
|
|
362
833
|
/** @internal */
|
|
363
834
|
export declare const ListAgentTasksPartsKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsKind>;
|
|
364
835
|
/** @internal */
|
|
365
836
|
export declare const ListAgentTasksPartsKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsKind>;
|
|
366
837
|
/** @internal */
|
|
367
|
-
export declare const
|
|
838
|
+
export declare const ListAgentTasksPartsTextPart$inboundSchema: z.ZodType<ListAgentTasksPartsTextPart, z.ZodTypeDef, unknown>;
|
|
368
839
|
/** @internal */
|
|
369
|
-
export type
|
|
840
|
+
export type ListAgentTasksPartsTextPart$Outbound = {
|
|
370
841
|
kind: string;
|
|
371
842
|
text: string;
|
|
372
843
|
};
|
|
373
844
|
/** @internal */
|
|
374
|
-
export declare const
|
|
375
|
-
export declare function
|
|
376
|
-
export declare function
|
|
845
|
+
export declare const ListAgentTasksPartsTextPart$outboundSchema: z.ZodType<ListAgentTasksPartsTextPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsTextPart>;
|
|
846
|
+
export declare function listAgentTasksPartsTextPartToJSON(listAgentTasksPartsTextPart: ListAgentTasksPartsTextPart): string;
|
|
847
|
+
export declare function listAgentTasksPartsTextPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsTextPart, SDKValidationError>;
|
|
377
848
|
/** @internal */
|
|
378
849
|
export declare const ListAgentTasksParts$inboundSchema: z.ZodType<ListAgentTasksParts, z.ZodTypeDef, unknown>;
|
|
379
850
|
/** @internal */
|
|
380
|
-
export type ListAgentTasksParts$Outbound =
|
|
851
|
+
export type ListAgentTasksParts$Outbound = PartsToolCallPart$Outbound | ListAgentTasksPartsTextPart$Outbound | ListAgentTasksPartsAgentsDataPart$Outbound | ListAgentTasksPartsFilePart$Outbound | ListAgentTasksPartsToolResultPart$Outbound;
|
|
381
852
|
/** @internal */
|
|
382
853
|
export declare const ListAgentTasksParts$outboundSchema: z.ZodType<ListAgentTasksParts$Outbound, z.ZodTypeDef, ListAgentTasksParts>;
|
|
383
854
|
export declare function listAgentTasksPartsToJSON(listAgentTasksParts: ListAgentTasksParts): string;
|
|
384
855
|
export declare function listAgentTasksPartsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksParts, SDKValidationError>;
|
|
385
856
|
/** @internal */
|
|
386
|
-
export declare const
|
|
857
|
+
export declare const ListAgentTasksExtendedA2AMessage$inboundSchema: z.ZodType<ListAgentTasksExtendedA2AMessage, z.ZodTypeDef, unknown>;
|
|
387
858
|
/** @internal */
|
|
388
|
-
export type
|
|
859
|
+
export type ListAgentTasksExtendedA2AMessage$Outbound = {
|
|
389
860
|
kind: string;
|
|
390
861
|
messageId: string;
|
|
391
862
|
role: string;
|
|
392
|
-
parts: Array<
|
|
863
|
+
parts: Array<PartsToolCallPart$Outbound | ListAgentTasksPartsTextPart$Outbound | ListAgentTasksPartsAgentsDataPart$Outbound | ListAgentTasksPartsFilePart$Outbound | ListAgentTasksPartsToolResultPart$Outbound>;
|
|
393
864
|
taskId?: string | undefined;
|
|
394
865
|
contextId?: string | undefined;
|
|
395
866
|
metadata?: {
|
|
@@ -397,55 +868,146 @@ export type ListAgentTasksHistory$Outbound = {
|
|
|
397
868
|
} | undefined;
|
|
398
869
|
};
|
|
399
870
|
/** @internal */
|
|
400
|
-
export declare const
|
|
401
|
-
export declare function
|
|
402
|
-
export declare function
|
|
871
|
+
export declare const ListAgentTasksExtendedA2AMessage$outboundSchema: z.ZodType<ListAgentTasksExtendedA2AMessage$Outbound, z.ZodTypeDef, ListAgentTasksExtendedA2AMessage>;
|
|
872
|
+
export declare function listAgentTasksExtendedA2AMessageToJSON(listAgentTasksExtendedA2AMessage: ListAgentTasksExtendedA2AMessage): string;
|
|
873
|
+
export declare function listAgentTasksExtendedA2AMessageFromJSON(jsonString: string): SafeParseResult<ListAgentTasksExtendedA2AMessage, SDKValidationError>;
|
|
403
874
|
/** @internal */
|
|
404
|
-
export declare const
|
|
875
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind>;
|
|
405
876
|
/** @internal */
|
|
406
|
-
export declare const
|
|
877
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksArtifactsKind>;
|
|
407
878
|
/** @internal */
|
|
408
|
-
export declare const
|
|
879
|
+
export declare const ListAgentTasksPartsDataPart$inboundSchema: z.ZodType<ListAgentTasksPartsDataPart, z.ZodTypeDef, unknown>;
|
|
409
880
|
/** @internal */
|
|
410
|
-
export type
|
|
881
|
+
export type ListAgentTasksPartsDataPart$Outbound = {
|
|
411
882
|
kind: string;
|
|
883
|
+
data: {
|
|
884
|
+
[k: string]: any;
|
|
885
|
+
};
|
|
886
|
+
metadata?: {
|
|
887
|
+
[k: string]: any;
|
|
888
|
+
} | undefined;
|
|
889
|
+
};
|
|
890
|
+
/** @internal */
|
|
891
|
+
export declare const ListAgentTasksPartsDataPart$outboundSchema: z.ZodType<ListAgentTasksPartsDataPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsDataPart>;
|
|
892
|
+
export declare function listAgentTasksPartsDataPartToJSON(listAgentTasksPartsDataPart: ListAgentTasksPartsDataPart): string;
|
|
893
|
+
export declare function listAgentTasksPartsDataPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsDataPart, SDKValidationError>;
|
|
894
|
+
/** @internal */
|
|
895
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind>;
|
|
896
|
+
/** @internal */
|
|
897
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyTasksKind>;
|
|
898
|
+
/** @internal */
|
|
899
|
+
export declare const ListAgentTasksFileAgentsFileInURIFormat$inboundSchema: z.ZodType<ListAgentTasksFileAgentsFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
900
|
+
/** @internal */
|
|
901
|
+
export type ListAgentTasksFileAgentsFileInURIFormat$Outbound = {
|
|
902
|
+
uri: string;
|
|
903
|
+
mimeType?: string | undefined;
|
|
904
|
+
name?: string | undefined;
|
|
905
|
+
};
|
|
906
|
+
/** @internal */
|
|
907
|
+
export declare const ListAgentTasksFileAgentsFileInURIFormat$outboundSchema: z.ZodType<ListAgentTasksFileAgentsFileInURIFormat$Outbound, z.ZodTypeDef, ListAgentTasksFileAgentsFileInURIFormat>;
|
|
908
|
+
export declare function listAgentTasksFileAgentsFileInURIFormatToJSON(listAgentTasksFileAgentsFileInURIFormat: ListAgentTasksFileAgentsFileInURIFormat): string;
|
|
909
|
+
export declare function listAgentTasksFileAgentsFileInURIFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFileAgentsFileInURIFormat, SDKValidationError>;
|
|
910
|
+
/** @internal */
|
|
911
|
+
export declare const ListAgentTasksFileAgentsBinaryFormat$inboundSchema: z.ZodType<ListAgentTasksFileAgentsBinaryFormat, z.ZodTypeDef, unknown>;
|
|
912
|
+
/** @internal */
|
|
913
|
+
export type ListAgentTasksFileAgentsBinaryFormat$Outbound = {
|
|
914
|
+
bytes: string;
|
|
915
|
+
mimeType?: string | undefined;
|
|
916
|
+
name?: string | undefined;
|
|
917
|
+
};
|
|
918
|
+
/** @internal */
|
|
919
|
+
export declare const ListAgentTasksFileAgentsBinaryFormat$outboundSchema: z.ZodType<ListAgentTasksFileAgentsBinaryFormat$Outbound, z.ZodTypeDef, ListAgentTasksFileAgentsBinaryFormat>;
|
|
920
|
+
export declare function listAgentTasksFileAgentsBinaryFormatToJSON(listAgentTasksFileAgentsBinaryFormat: ListAgentTasksFileAgentsBinaryFormat): string;
|
|
921
|
+
export declare function listAgentTasksFileAgentsBinaryFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFileAgentsBinaryFormat, SDKValidationError>;
|
|
922
|
+
/** @internal */
|
|
923
|
+
export declare const ListAgentTasksPartsAgentsFile$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsFile, z.ZodTypeDef, unknown>;
|
|
924
|
+
/** @internal */
|
|
925
|
+
export type ListAgentTasksPartsAgentsFile$Outbound = ListAgentTasksFileAgentsBinaryFormat$Outbound | ListAgentTasksFileAgentsFileInURIFormat$Outbound;
|
|
926
|
+
/** @internal */
|
|
927
|
+
export declare const ListAgentTasksPartsAgentsFile$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsFile$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsFile>;
|
|
928
|
+
export declare function listAgentTasksPartsAgentsFileToJSON(listAgentTasksPartsAgentsFile: ListAgentTasksPartsAgentsFile): string;
|
|
929
|
+
export declare function listAgentTasksPartsAgentsFileFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsFile, SDKValidationError>;
|
|
930
|
+
/** @internal */
|
|
931
|
+
export declare const ListAgentTasksPartsAgentsFilePart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsFilePart, z.ZodTypeDef, unknown>;
|
|
932
|
+
/** @internal */
|
|
933
|
+
export type ListAgentTasksPartsAgentsFilePart$Outbound = {
|
|
934
|
+
kind: string;
|
|
935
|
+
file: ListAgentTasksFileAgentsBinaryFormat$Outbound | ListAgentTasksFileAgentsFileInURIFormat$Outbound;
|
|
936
|
+
metadata?: {
|
|
937
|
+
[k: string]: any;
|
|
938
|
+
} | undefined;
|
|
939
|
+
};
|
|
940
|
+
/** @internal */
|
|
941
|
+
export declare const ListAgentTasksPartsAgentsFilePart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsFilePart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsFilePart>;
|
|
942
|
+
export declare function listAgentTasksPartsAgentsFilePartToJSON(listAgentTasksPartsAgentsFilePart: ListAgentTasksPartsAgentsFilePart): string;
|
|
943
|
+
export declare function listAgentTasksPartsAgentsFilePartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsFilePart, SDKValidationError>;
|
|
944
|
+
/** @internal */
|
|
945
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind>;
|
|
946
|
+
/** @internal */
|
|
947
|
+
export declare const ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksPartsAgentsResponse200ApplicationJSONResponseBodyKind>;
|
|
948
|
+
/** @internal */
|
|
949
|
+
export declare const ListAgentTasksPartsAgentsTextPart$inboundSchema: z.ZodType<ListAgentTasksPartsAgentsTextPart, z.ZodTypeDef, unknown>;
|
|
950
|
+
/** @internal */
|
|
951
|
+
export type ListAgentTasksPartsAgentsTextPart$Outbound = {
|
|
952
|
+
kind: string;
|
|
953
|
+
text: string;
|
|
954
|
+
};
|
|
955
|
+
/** @internal */
|
|
956
|
+
export declare const ListAgentTasksPartsAgentsTextPart$outboundSchema: z.ZodType<ListAgentTasksPartsAgentsTextPart$Outbound, z.ZodTypeDef, ListAgentTasksPartsAgentsTextPart>;
|
|
957
|
+
export declare function listAgentTasksPartsAgentsTextPartToJSON(listAgentTasksPartsAgentsTextPart: ListAgentTasksPartsAgentsTextPart): string;
|
|
958
|
+
export declare function listAgentTasksPartsAgentsTextPartFromJSON(jsonString: string): SafeParseResult<ListAgentTasksPartsAgentsTextPart, SDKValidationError>;
|
|
959
|
+
/** @internal */
|
|
960
|
+
export declare const ListAgentTasksAgentsParts$inboundSchema: z.ZodType<ListAgentTasksAgentsParts, z.ZodTypeDef, unknown>;
|
|
961
|
+
/** @internal */
|
|
962
|
+
export type ListAgentTasksAgentsParts$Outbound = ListAgentTasksPartsAgentsTextPart$Outbound | ListAgentTasksPartsAgentsFilePart$Outbound | ListAgentTasksPartsDataPart$Outbound;
|
|
963
|
+
/** @internal */
|
|
964
|
+
export declare const ListAgentTasksAgentsParts$outboundSchema: z.ZodType<ListAgentTasksAgentsParts$Outbound, z.ZodTypeDef, ListAgentTasksAgentsParts>;
|
|
965
|
+
export declare function listAgentTasksAgentsPartsToJSON(listAgentTasksAgentsParts: ListAgentTasksAgentsParts): string;
|
|
966
|
+
export declare function listAgentTasksAgentsPartsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksAgentsParts, SDKValidationError>;
|
|
967
|
+
/** @internal */
|
|
968
|
+
export declare const ListAgentTasksTaskArtifact$inboundSchema: z.ZodType<ListAgentTasksTaskArtifact, z.ZodTypeDef, unknown>;
|
|
969
|
+
/** @internal */
|
|
970
|
+
export type ListAgentTasksTaskArtifact$Outbound = {
|
|
412
971
|
artifactId: string;
|
|
413
972
|
name: string;
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
973
|
+
description?: string | undefined;
|
|
974
|
+
parts: Array<ListAgentTasksPartsAgentsTextPart$Outbound | ListAgentTasksPartsAgentsFilePart$Outbound | ListAgentTasksPartsDataPart$Outbound>;
|
|
975
|
+
extensions?: Array<string> | undefined;
|
|
976
|
+
metadata?: {
|
|
977
|
+
[k: string]: any;
|
|
978
|
+
} | undefined;
|
|
417
979
|
};
|
|
418
980
|
/** @internal */
|
|
419
|
-
export declare const
|
|
420
|
-
export declare function
|
|
421
|
-
export declare function
|
|
981
|
+
export declare const ListAgentTasksTaskArtifact$outboundSchema: z.ZodType<ListAgentTasksTaskArtifact$Outbound, z.ZodTypeDef, ListAgentTasksTaskArtifact>;
|
|
982
|
+
export declare function listAgentTasksTaskArtifactToJSON(listAgentTasksTaskArtifact: ListAgentTasksTaskArtifact): string;
|
|
983
|
+
export declare function listAgentTasksTaskArtifactFromJSON(jsonString: string): SafeParseResult<ListAgentTasksTaskArtifact, SDKValidationError>;
|
|
422
984
|
/** @internal */
|
|
423
|
-
export declare const
|
|
985
|
+
export declare const ExtendedTaskResponse$inboundSchema: z.ZodType<ExtendedTaskResponse, z.ZodTypeDef, unknown>;
|
|
424
986
|
/** @internal */
|
|
425
|
-
export type
|
|
987
|
+
export type ExtendedTaskResponse$Outbound = {
|
|
426
988
|
id: string;
|
|
427
989
|
contextId: string;
|
|
428
990
|
kind: string;
|
|
429
|
-
status:
|
|
430
|
-
history: Array<
|
|
431
|
-
artifacts?: Array<
|
|
991
|
+
status: ListAgentTasksTaskStatus$Outbound;
|
|
992
|
+
history: Array<ListAgentTasksExtendedA2AMessage$Outbound>;
|
|
993
|
+
artifacts?: Array<ListAgentTasksTaskArtifact$Outbound> | undefined;
|
|
432
994
|
metadata?: {
|
|
433
995
|
[k: string]: any;
|
|
434
996
|
} | undefined;
|
|
435
997
|
};
|
|
436
998
|
/** @internal */
|
|
437
|
-
export declare const
|
|
438
|
-
export declare function
|
|
439
|
-
export declare function
|
|
999
|
+
export declare const ExtendedTaskResponse$outboundSchema: z.ZodType<ExtendedTaskResponse$Outbound, z.ZodTypeDef, ExtendedTaskResponse>;
|
|
1000
|
+
export declare function extendedTaskResponseToJSON(extendedTaskResponse: ExtendedTaskResponse): string;
|
|
1001
|
+
export declare function extendedTaskResponseFromJSON(jsonString: string): SafeParseResult<ExtendedTaskResponse, SDKValidationError>;
|
|
440
1002
|
/** @internal */
|
|
441
|
-
export declare const
|
|
1003
|
+
export declare const ListAgentTasksAgentTasksListResponse$inboundSchema: z.ZodType<ListAgentTasksAgentTasksListResponse, z.ZodTypeDef, unknown>;
|
|
442
1004
|
/** @internal */
|
|
443
|
-
export type
|
|
444
|
-
tasks: Array<
|
|
1005
|
+
export type ListAgentTasksAgentTasksListResponse$Outbound = {
|
|
1006
|
+
tasks: Array<ExtendedTaskResponse$Outbound>;
|
|
445
1007
|
overall_total: number;
|
|
446
1008
|
};
|
|
447
1009
|
/** @internal */
|
|
448
|
-
export declare const
|
|
449
|
-
export declare function
|
|
450
|
-
export declare function
|
|
1010
|
+
export declare const ListAgentTasksAgentTasksListResponse$outboundSchema: z.ZodType<ListAgentTasksAgentTasksListResponse$Outbound, z.ZodTypeDef, ListAgentTasksAgentTasksListResponse>;
|
|
1011
|
+
export declare function listAgentTasksAgentTasksListResponseToJSON(listAgentTasksAgentTasksListResponse: ListAgentTasksAgentTasksListResponse): string;
|
|
1012
|
+
export declare function listAgentTasksAgentTasksListResponseFromJSON(jsonString: string): SafeParseResult<ListAgentTasksAgentTasksListResponse, SDKValidationError>;
|
|
451
1013
|
//# sourceMappingURL=listagenttasks.d.ts.map
|