@archastro/sdk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/agents.d.ts +590 -443
- package/dist/types/agents.d.ts.map +1 -1
- package/dist/types/agents.js +48 -38
- package/dist/types/agents.js.map +1 -1
- package/dist/types/ai.d.ts +49 -49
- package/dist/types/ai.js +6 -6
- package/dist/types/ai.js.map +1 -1
- package/dist/types/api.d.ts +169 -0
- package/dist/types/api.d.ts.map +1 -0
- package/dist/types/api.js +49 -0
- package/dist/types/api.js.map +1 -0
- package/dist/types/artifacts.d.ts +104 -24
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/artifacts.js +4 -3
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +15 -15
- package/dist/types/automations.js +4 -4
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +258 -6
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +5 -3
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +3137 -950
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +210 -166
- package/dist/types/common.js.map +1 -1
- package/dist/types/config.d.ts +24 -24
- package/dist/types/config.js +6 -6
- package/dist/types/config.js.map +1 -1
- package/dist/types/device.d.ts +26 -0
- package/dist/types/device.d.ts.map +1 -0
- package/dist/types/device.js +14 -0
- package/dist/types/device.js.map +1 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/me.d.ts +176 -20
- package/dist/types/me.d.ts.map +1 -1
- package/dist/types/me.js +4 -3
- package/dist/types/me.js.map +1 -1
- package/dist/types/members.d.ts +3 -3
- package/dist/types/members.js +2 -2
- package/dist/types/members.js.map +1 -1
- package/dist/types/messages.d.ts +457 -49
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/types/messages.js +19 -18
- package/dist/types/messages.js.map +1 -1
- package/dist/types/oauth.d.ts +206 -0
- package/dist/types/oauth.d.ts.map +1 -0
- package/dist/types/oauth.js +51 -0
- package/dist/types/oauth.js.map +1 -0
- package/dist/types/orgs.d.ts +6 -6
- package/dist/types/picture.d.ts +2 -2
- package/dist/types/profile.d.ts +2 -2
- package/dist/types/reactions.d.ts +5 -5
- package/dist/types/reactions.js +2 -2
- package/dist/types/reactions.js.map +1 -1
- package/dist/types/schedules.d.ts +5 -5
- package/dist/types/schedules.js +2 -2
- package/dist/types/schedules.js.map +1 -1
- package/dist/types/teams.d.ts +750 -70
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/teams.js +13 -10
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +1165 -201
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +26 -26
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +53 -13
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +4 -4
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/agent_installations.d.ts +1 -1
- package/dist/v1/resources/agent_installations.d.ts.map +1 -1
- package/dist/v1/resources/agent_installations.js +1 -1
- package/dist/v1/resources/agents.d.ts +18 -5
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +19 -1
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/api.d.ts +1026 -0
- package/dist/v1/resources/api.d.ts.map +1 -0
- package/dist/v1/resources/api.js +944 -0
- package/dist/v1/resources/api.js.map +1 -0
- package/dist/v1/resources/artifacts.d.ts +2 -2
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +1 -1
- package/dist/v1/resources/config.d.ts +4 -4
- package/dist/v1/resources/config.d.ts.map +1 -1
- package/dist/v1/resources/config.js +1 -1
- package/dist/v1/resources/custom_objects.d.ts +2 -2
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +1 -1
- package/dist/v1/resources/oauth.d.ts +25 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -0
- package/dist/v1/resources/oauth.js +41 -0
- package/dist/v1/resources/oauth.js.map +1 -0
- package/dist/v1/resources/teams.d.ts +185 -23
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +1 -1
- package/dist/v1/resources/thread_messages.d.ts +2 -3
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +1 -1
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +102 -6
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +1 -1
- package/dist/v1/resources/users.d.ts +127 -13
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +1 -1
- package/package.json +1 -1
package/dist/types/agents.d.ts
CHANGED
|
@@ -1,4 +1,302 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/** API schema for an agent. */
|
|
3
|
+
export declare const agentSchema: z.ZodObject<{
|
|
4
|
+
acl: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
8
|
+
principal_type: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
actions: string[];
|
|
11
|
+
principal_type: string;
|
|
12
|
+
principal?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
actions: string[];
|
|
15
|
+
principal_type: string;
|
|
16
|
+
principal?: string | undefined;
|
|
17
|
+
}>, "many">>;
|
|
18
|
+
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
20
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
21
|
+
principal_type: z.ZodString;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
actions: string[];
|
|
24
|
+
principal_type: string;
|
|
25
|
+
principal?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
actions: string[];
|
|
28
|
+
principal_type: string;
|
|
29
|
+
principal?: string | undefined;
|
|
30
|
+
}>, "many">>;
|
|
31
|
+
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
33
|
+
principal_type: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
principal_type: string;
|
|
36
|
+
principal?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
principal_type: string;
|
|
39
|
+
principal?: string | undefined;
|
|
40
|
+
}>, "many">>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
add?: {
|
|
43
|
+
actions: string[];
|
|
44
|
+
principal_type: string;
|
|
45
|
+
principal?: string | undefined;
|
|
46
|
+
}[] | undefined;
|
|
47
|
+
grants?: {
|
|
48
|
+
actions: string[];
|
|
49
|
+
principal_type: string;
|
|
50
|
+
principal?: string | undefined;
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
remove?: {
|
|
53
|
+
principal_type: string;
|
|
54
|
+
principal?: string | undefined;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
add?: {
|
|
58
|
+
actions: string[];
|
|
59
|
+
principal_type: string;
|
|
60
|
+
principal?: string | undefined;
|
|
61
|
+
}[] | undefined;
|
|
62
|
+
grants?: {
|
|
63
|
+
actions: string[];
|
|
64
|
+
principal_type: string;
|
|
65
|
+
principal?: string | undefined;
|
|
66
|
+
}[] | undefined;
|
|
67
|
+
remove?: {
|
|
68
|
+
principal_type: string;
|
|
69
|
+
principal?: string | undefined;
|
|
70
|
+
}[] | undefined;
|
|
71
|
+
}>>;
|
|
72
|
+
app: z.ZodOptional<z.ZodString>;
|
|
73
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
74
|
+
default_model: z.ZodOptional<z.ZodString>;
|
|
75
|
+
email: z.ZodOptional<z.ZodString>;
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
78
|
+
lookup_key: z.ZodOptional<z.ZodString>;
|
|
79
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
80
|
+
name: z.ZodOptional<z.ZodString>;
|
|
81
|
+
org: z.ZodOptional<z.ZodString>;
|
|
82
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
83
|
+
sandbox: z.ZodOptional<z.ZodString>;
|
|
84
|
+
team: z.ZodOptional<z.ZodString>;
|
|
85
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
86
|
+
user: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
id: string;
|
|
89
|
+
email?: string | undefined;
|
|
90
|
+
created_at?: string | undefined;
|
|
91
|
+
updated_at?: string | undefined;
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
org?: string | undefined;
|
|
94
|
+
sandbox?: string | undefined;
|
|
95
|
+
metadata?: Record<string, unknown> | undefined;
|
|
96
|
+
user?: string | undefined;
|
|
97
|
+
team?: string | undefined;
|
|
98
|
+
lookup_key?: string | undefined;
|
|
99
|
+
acl?: {
|
|
100
|
+
add?: {
|
|
101
|
+
actions: string[];
|
|
102
|
+
principal_type: string;
|
|
103
|
+
principal?: string | undefined;
|
|
104
|
+
}[] | undefined;
|
|
105
|
+
grants?: {
|
|
106
|
+
actions: string[];
|
|
107
|
+
principal_type: string;
|
|
108
|
+
principal?: string | undefined;
|
|
109
|
+
}[] | undefined;
|
|
110
|
+
remove?: {
|
|
111
|
+
principal_type: string;
|
|
112
|
+
principal?: string | undefined;
|
|
113
|
+
}[] | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
app?: string | undefined;
|
|
116
|
+
default_model?: string | undefined;
|
|
117
|
+
identity?: string | undefined;
|
|
118
|
+
phone_number?: string | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
id: string;
|
|
121
|
+
email?: string | undefined;
|
|
122
|
+
created_at?: string | undefined;
|
|
123
|
+
updated_at?: string | undefined;
|
|
124
|
+
name?: string | undefined;
|
|
125
|
+
org?: string | undefined;
|
|
126
|
+
sandbox?: string | undefined;
|
|
127
|
+
metadata?: Record<string, unknown> | undefined;
|
|
128
|
+
user?: string | undefined;
|
|
129
|
+
team?: string | undefined;
|
|
130
|
+
lookup_key?: string | undefined;
|
|
131
|
+
acl?: {
|
|
132
|
+
add?: {
|
|
133
|
+
actions: string[];
|
|
134
|
+
principal_type: string;
|
|
135
|
+
principal?: string | undefined;
|
|
136
|
+
}[] | undefined;
|
|
137
|
+
grants?: {
|
|
138
|
+
actions: string[];
|
|
139
|
+
principal_type: string;
|
|
140
|
+
principal?: string | undefined;
|
|
141
|
+
}[] | undefined;
|
|
142
|
+
remove?: {
|
|
143
|
+
principal_type: string;
|
|
144
|
+
principal?: string | undefined;
|
|
145
|
+
}[] | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
app?: string | undefined;
|
|
148
|
+
default_model?: string | undefined;
|
|
149
|
+
identity?: string | undefined;
|
|
150
|
+
phone_number?: string | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
export type Agent = z.infer<typeof agentSchema>;
|
|
153
|
+
/** API schema for an agent export response.
|
|
154
|
+
|
|
155
|
+
Contains the reconstructed AgentTemplate and all dependent config files
|
|
156
|
+
needed for a fully self-contained re-deploy.
|
|
157
|
+
*/
|
|
158
|
+
export declare const agentExportSchema: z.ZodObject<{
|
|
159
|
+
configs: z.ZodArray<z.ZodObject<{
|
|
160
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
161
|
+
current_version: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
change_description: z.ZodOptional<z.ZodString>;
|
|
163
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
164
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
org: z.ZodOptional<z.ZodString>;
|
|
167
|
+
sandbox: z.ZodOptional<z.ZodString>;
|
|
168
|
+
version_number: z.ZodNumber;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
id: string;
|
|
171
|
+
version_number: number;
|
|
172
|
+
created_at?: string | undefined;
|
|
173
|
+
org?: string | undefined;
|
|
174
|
+
sandbox?: string | undefined;
|
|
175
|
+
data?: Record<string, unknown> | undefined;
|
|
176
|
+
change_description?: string | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
id: string;
|
|
179
|
+
version_number: number;
|
|
180
|
+
created_at?: string | undefined;
|
|
181
|
+
org?: string | undefined;
|
|
182
|
+
sandbox?: string | undefined;
|
|
183
|
+
data?: Record<string, unknown> | undefined;
|
|
184
|
+
change_description?: string | undefined;
|
|
185
|
+
}>>;
|
|
186
|
+
id: z.ZodString;
|
|
187
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
kind: z.ZodString;
|
|
189
|
+
lookup_key: z.ZodOptional<z.ZodString>;
|
|
190
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
191
|
+
org: z.ZodOptional<z.ZodString>;
|
|
192
|
+
raw_content: z.ZodOptional<z.ZodString>;
|
|
193
|
+
sandbox: z.ZodOptional<z.ZodString>;
|
|
194
|
+
team: z.ZodOptional<z.ZodString>;
|
|
195
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
196
|
+
user: z.ZodOptional<z.ZodString>;
|
|
197
|
+
virtual_path: z.ZodOptional<z.ZodString>;
|
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
id: string;
|
|
200
|
+
kind: string;
|
|
201
|
+
mime_type?: string | undefined;
|
|
202
|
+
created_at?: string | undefined;
|
|
203
|
+
updated_at?: string | undefined;
|
|
204
|
+
org?: string | undefined;
|
|
205
|
+
sandbox?: string | undefined;
|
|
206
|
+
user?: string | undefined;
|
|
207
|
+
team?: string | undefined;
|
|
208
|
+
lookup_key?: string | undefined;
|
|
209
|
+
raw_content?: string | undefined;
|
|
210
|
+
current_version?: {
|
|
211
|
+
id: string;
|
|
212
|
+
version_number: number;
|
|
213
|
+
created_at?: string | undefined;
|
|
214
|
+
org?: string | undefined;
|
|
215
|
+
sandbox?: string | undefined;
|
|
216
|
+
data?: Record<string, unknown> | undefined;
|
|
217
|
+
change_description?: string | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
is_archived?: boolean | undefined;
|
|
220
|
+
virtual_path?: string | undefined;
|
|
221
|
+
}, {
|
|
222
|
+
id: string;
|
|
223
|
+
kind: string;
|
|
224
|
+
mime_type?: string | undefined;
|
|
225
|
+
created_at?: string | undefined;
|
|
226
|
+
updated_at?: string | undefined;
|
|
227
|
+
org?: string | undefined;
|
|
228
|
+
sandbox?: string | undefined;
|
|
229
|
+
user?: string | undefined;
|
|
230
|
+
team?: string | undefined;
|
|
231
|
+
lookup_key?: string | undefined;
|
|
232
|
+
raw_content?: string | undefined;
|
|
233
|
+
current_version?: {
|
|
234
|
+
id: string;
|
|
235
|
+
version_number: number;
|
|
236
|
+
created_at?: string | undefined;
|
|
237
|
+
org?: string | undefined;
|
|
238
|
+
sandbox?: string | undefined;
|
|
239
|
+
data?: Record<string, unknown> | undefined;
|
|
240
|
+
change_description?: string | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
is_archived?: boolean | undefined;
|
|
243
|
+
virtual_path?: string | undefined;
|
|
244
|
+
}>, "many">;
|
|
245
|
+
template: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
configs: {
|
|
248
|
+
id: string;
|
|
249
|
+
kind: string;
|
|
250
|
+
mime_type?: string | undefined;
|
|
251
|
+
created_at?: string | undefined;
|
|
252
|
+
updated_at?: string | undefined;
|
|
253
|
+
org?: string | undefined;
|
|
254
|
+
sandbox?: string | undefined;
|
|
255
|
+
user?: string | undefined;
|
|
256
|
+
team?: string | undefined;
|
|
257
|
+
lookup_key?: string | undefined;
|
|
258
|
+
raw_content?: string | undefined;
|
|
259
|
+
current_version?: {
|
|
260
|
+
id: string;
|
|
261
|
+
version_number: number;
|
|
262
|
+
created_at?: string | undefined;
|
|
263
|
+
org?: string | undefined;
|
|
264
|
+
sandbox?: string | undefined;
|
|
265
|
+
data?: Record<string, unknown> | undefined;
|
|
266
|
+
change_description?: string | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
is_archived?: boolean | undefined;
|
|
269
|
+
virtual_path?: string | undefined;
|
|
270
|
+
}[];
|
|
271
|
+
template: Record<string, unknown>;
|
|
272
|
+
}, {
|
|
273
|
+
configs: {
|
|
274
|
+
id: string;
|
|
275
|
+
kind: string;
|
|
276
|
+
mime_type?: string | undefined;
|
|
277
|
+
created_at?: string | undefined;
|
|
278
|
+
updated_at?: string | undefined;
|
|
279
|
+
org?: string | undefined;
|
|
280
|
+
sandbox?: string | undefined;
|
|
281
|
+
user?: string | undefined;
|
|
282
|
+
team?: string | undefined;
|
|
283
|
+
lookup_key?: string | undefined;
|
|
284
|
+
raw_content?: string | undefined;
|
|
285
|
+
current_version?: {
|
|
286
|
+
id: string;
|
|
287
|
+
version_number: number;
|
|
288
|
+
created_at?: string | undefined;
|
|
289
|
+
org?: string | undefined;
|
|
290
|
+
sandbox?: string | undefined;
|
|
291
|
+
data?: Record<string, unknown> | undefined;
|
|
292
|
+
change_description?: string | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
is_archived?: boolean | undefined;
|
|
295
|
+
virtual_path?: string | undefined;
|
|
296
|
+
}[];
|
|
297
|
+
template: Record<string, unknown>;
|
|
298
|
+
}>;
|
|
299
|
+
export type AgentExport = z.infer<typeof agentExportSchema>;
|
|
2
300
|
/** API schema for an agent session. */
|
|
3
301
|
export declare const agentSessionSchema: z.ZodObject<{
|
|
4
302
|
agent: z.ZodOptional<z.ZodString>;
|
|
@@ -6,15 +304,15 @@ export declare const agentSessionSchema: z.ZodObject<{
|
|
|
6
304
|
created_at: z.ZodOptional<z.ZodString>;
|
|
7
305
|
error: z.ZodOptional<z.ZodString>;
|
|
8
306
|
id: z.ZodString;
|
|
9
|
-
inbox: z.ZodOptional<z.ZodArray<z.
|
|
307
|
+
inbox: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
10
308
|
instructions: z.ZodOptional<z.ZodString>;
|
|
11
309
|
is_system_session: z.ZodOptional<z.ZodBoolean>;
|
|
12
310
|
max_runs_per_turn: z.ZodOptional<z.ZodNumber>;
|
|
13
311
|
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
14
312
|
max_turns: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
313
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
314
|
name: z.ZodOptional<z.ZodString>;
|
|
17
|
-
result: z.ZodOptional<z.ZodUnknown
|
|
315
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
316
|
started_at: z.ZodOptional<z.ZodString>;
|
|
19
317
|
status: z.ZodOptional<z.ZodString>;
|
|
20
318
|
trajectory: z.ZodOptional<z.ZodString>;
|
|
@@ -22,38 +320,38 @@ export declare const agentSessionSchema: z.ZodObject<{
|
|
|
22
320
|
id: string;
|
|
23
321
|
error?: string | undefined;
|
|
24
322
|
status?: string | undefined;
|
|
25
|
-
agent?: string | undefined;
|
|
26
323
|
created_at?: string | undefined;
|
|
27
|
-
metadata?: unknown;
|
|
28
324
|
name?: string | undefined;
|
|
325
|
+
metadata?: Record<string, unknown> | undefined;
|
|
326
|
+
agent?: string | undefined;
|
|
29
327
|
completed_at?: string | undefined;
|
|
30
328
|
started_at?: string | undefined;
|
|
31
329
|
trajectory?: string | undefined;
|
|
32
|
-
inbox?: unknown[] | undefined;
|
|
330
|
+
inbox?: Record<string, unknown>[] | undefined;
|
|
33
331
|
instructions?: string | undefined;
|
|
34
332
|
is_system_session?: boolean | undefined;
|
|
35
333
|
max_runs_per_turn?: number | undefined;
|
|
36
334
|
max_tokens?: number | undefined;
|
|
37
335
|
max_turns?: number | undefined;
|
|
38
|
-
result?: unknown;
|
|
336
|
+
result?: Record<string, unknown> | undefined;
|
|
39
337
|
}, {
|
|
40
338
|
id: string;
|
|
41
339
|
error?: string | undefined;
|
|
42
340
|
status?: string | undefined;
|
|
43
|
-
agent?: string | undefined;
|
|
44
341
|
created_at?: string | undefined;
|
|
45
|
-
metadata?: unknown;
|
|
46
342
|
name?: string | undefined;
|
|
343
|
+
metadata?: Record<string, unknown> | undefined;
|
|
344
|
+
agent?: string | undefined;
|
|
47
345
|
completed_at?: string | undefined;
|
|
48
346
|
started_at?: string | undefined;
|
|
49
347
|
trajectory?: string | undefined;
|
|
50
|
-
inbox?: unknown[] | undefined;
|
|
348
|
+
inbox?: Record<string, unknown>[] | undefined;
|
|
51
349
|
instructions?: string | undefined;
|
|
52
350
|
is_system_session?: boolean | undefined;
|
|
53
351
|
max_runs_per_turn?: number | undefined;
|
|
54
352
|
max_tokens?: number | undefined;
|
|
55
353
|
max_turns?: number | undefined;
|
|
56
|
-
result?: unknown;
|
|
354
|
+
result?: Record<string, unknown> | undefined;
|
|
57
355
|
}>;
|
|
58
356
|
export type AgentSession = z.infer<typeof agentSessionSchema>;
|
|
59
357
|
/** List response for agent sessions. */
|
|
@@ -64,15 +362,15 @@ export declare const agentSessionListResponseSchema: z.ZodObject<{
|
|
|
64
362
|
created_at: z.ZodOptional<z.ZodString>;
|
|
65
363
|
error: z.ZodOptional<z.ZodString>;
|
|
66
364
|
id: z.ZodString;
|
|
67
|
-
inbox: z.ZodOptional<z.ZodArray<z.
|
|
365
|
+
inbox: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
68
366
|
instructions: z.ZodOptional<z.ZodString>;
|
|
69
367
|
is_system_session: z.ZodOptional<z.ZodBoolean>;
|
|
70
368
|
max_runs_per_turn: z.ZodOptional<z.ZodNumber>;
|
|
71
369
|
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
72
370
|
max_turns: z.ZodOptional<z.ZodNumber>;
|
|
73
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
371
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
74
372
|
name: z.ZodOptional<z.ZodString>;
|
|
75
|
-
result: z.ZodOptional<z.ZodUnknown
|
|
373
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
374
|
started_at: z.ZodOptional<z.ZodString>;
|
|
77
375
|
status: z.ZodOptional<z.ZodString>;
|
|
78
376
|
trajectory: z.ZodOptional<z.ZodString>;
|
|
@@ -80,98 +378,98 @@ export declare const agentSessionListResponseSchema: z.ZodObject<{
|
|
|
80
378
|
id: string;
|
|
81
379
|
error?: string | undefined;
|
|
82
380
|
status?: string | undefined;
|
|
83
|
-
agent?: string | undefined;
|
|
84
381
|
created_at?: string | undefined;
|
|
85
|
-
metadata?: unknown;
|
|
86
382
|
name?: string | undefined;
|
|
383
|
+
metadata?: Record<string, unknown> | undefined;
|
|
384
|
+
agent?: string | undefined;
|
|
87
385
|
completed_at?: string | undefined;
|
|
88
386
|
started_at?: string | undefined;
|
|
89
387
|
trajectory?: string | undefined;
|
|
90
|
-
inbox?: unknown[] | undefined;
|
|
388
|
+
inbox?: Record<string, unknown>[] | undefined;
|
|
91
389
|
instructions?: string | undefined;
|
|
92
390
|
is_system_session?: boolean | undefined;
|
|
93
391
|
max_runs_per_turn?: number | undefined;
|
|
94
392
|
max_tokens?: number | undefined;
|
|
95
393
|
max_turns?: number | undefined;
|
|
96
|
-
result?: unknown;
|
|
394
|
+
result?: Record<string, unknown> | undefined;
|
|
97
395
|
}, {
|
|
98
396
|
id: string;
|
|
99
397
|
error?: string | undefined;
|
|
100
398
|
status?: string | undefined;
|
|
101
|
-
agent?: string | undefined;
|
|
102
399
|
created_at?: string | undefined;
|
|
103
|
-
metadata?: unknown;
|
|
104
400
|
name?: string | undefined;
|
|
401
|
+
metadata?: Record<string, unknown> | undefined;
|
|
402
|
+
agent?: string | undefined;
|
|
105
403
|
completed_at?: string | undefined;
|
|
106
404
|
started_at?: string | undefined;
|
|
107
405
|
trajectory?: string | undefined;
|
|
108
|
-
inbox?: unknown[] | undefined;
|
|
406
|
+
inbox?: Record<string, unknown>[] | undefined;
|
|
109
407
|
instructions?: string | undefined;
|
|
110
408
|
is_system_session?: boolean | undefined;
|
|
111
409
|
max_runs_per_turn?: number | undefined;
|
|
112
410
|
max_tokens?: number | undefined;
|
|
113
411
|
max_turns?: number | undefined;
|
|
114
|
-
result?: unknown;
|
|
412
|
+
result?: Record<string, unknown> | undefined;
|
|
115
413
|
}>, "many">;
|
|
116
414
|
}, "strip", z.ZodTypeAny, {
|
|
117
415
|
data: {
|
|
118
416
|
id: string;
|
|
119
417
|
error?: string | undefined;
|
|
120
418
|
status?: string | undefined;
|
|
121
|
-
agent?: string | undefined;
|
|
122
419
|
created_at?: string | undefined;
|
|
123
|
-
metadata?: unknown;
|
|
124
420
|
name?: string | undefined;
|
|
421
|
+
metadata?: Record<string, unknown> | undefined;
|
|
422
|
+
agent?: string | undefined;
|
|
125
423
|
completed_at?: string | undefined;
|
|
126
424
|
started_at?: string | undefined;
|
|
127
425
|
trajectory?: string | undefined;
|
|
128
|
-
inbox?: unknown[] | undefined;
|
|
426
|
+
inbox?: Record<string, unknown>[] | undefined;
|
|
129
427
|
instructions?: string | undefined;
|
|
130
428
|
is_system_session?: boolean | undefined;
|
|
131
429
|
max_runs_per_turn?: number | undefined;
|
|
132
430
|
max_tokens?: number | undefined;
|
|
133
431
|
max_turns?: number | undefined;
|
|
134
|
-
result?: unknown;
|
|
432
|
+
result?: Record<string, unknown> | undefined;
|
|
135
433
|
}[];
|
|
136
434
|
}, {
|
|
137
435
|
data: {
|
|
138
436
|
id: string;
|
|
139
437
|
error?: string | undefined;
|
|
140
438
|
status?: string | undefined;
|
|
141
|
-
agent?: string | undefined;
|
|
142
439
|
created_at?: string | undefined;
|
|
143
|
-
metadata?: unknown;
|
|
144
440
|
name?: string | undefined;
|
|
441
|
+
metadata?: Record<string, unknown> | undefined;
|
|
442
|
+
agent?: string | undefined;
|
|
145
443
|
completed_at?: string | undefined;
|
|
146
444
|
started_at?: string | undefined;
|
|
147
445
|
trajectory?: string | undefined;
|
|
148
|
-
inbox?: unknown[] | undefined;
|
|
446
|
+
inbox?: Record<string, unknown>[] | undefined;
|
|
149
447
|
instructions?: string | undefined;
|
|
150
448
|
is_system_session?: boolean | undefined;
|
|
151
449
|
max_runs_per_turn?: number | undefined;
|
|
152
450
|
max_tokens?: number | undefined;
|
|
153
451
|
max_turns?: number | undefined;
|
|
154
|
-
result?: unknown;
|
|
452
|
+
result?: Record<string, unknown> | undefined;
|
|
155
453
|
}[];
|
|
156
454
|
}>;
|
|
157
455
|
export type AgentSessionListResponse = z.infer<typeof agentSessionListResponseSchema>;
|
|
158
456
|
/** API schema for the result of running an agent tool via impersonation. */
|
|
159
457
|
export declare const agentImpersonationToolRunResultSchema: z.ZodObject<{
|
|
160
458
|
duration_ms: z.ZodNumber;
|
|
161
|
-
result: z.ZodUnknown
|
|
459
|
+
result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
162
460
|
}, "strip", z.ZodTypeAny, {
|
|
163
461
|
duration_ms: number;
|
|
164
|
-
result
|
|
462
|
+
result: Record<string, unknown>;
|
|
165
463
|
}, {
|
|
166
464
|
duration_ms: number;
|
|
167
|
-
result
|
|
465
|
+
result: Record<string, unknown>;
|
|
168
466
|
}>;
|
|
169
467
|
export type AgentImpersonationToolRunResult = z.infer<typeof agentImpersonationToolRunResultSchema>;
|
|
170
468
|
/** API schema for an agent tool. */
|
|
171
469
|
export declare const agentToolSchema: z.ZodObject<{
|
|
172
470
|
agent: z.ZodOptional<z.ZodString>;
|
|
173
471
|
app: z.ZodOptional<z.ZodString>;
|
|
174
|
-
builtin_tool_config: z.ZodOptional<z.ZodUnknown
|
|
472
|
+
builtin_tool_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
175
473
|
builtin_tool_key: z.ZodOptional<z.ZodString>;
|
|
176
474
|
config: z.ZodOptional<z.ZodString>;
|
|
177
475
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -181,47 +479,47 @@ export declare const agentToolSchema: z.ZodObject<{
|
|
|
181
479
|
instruction: z.ZodOptional<z.ZodString>;
|
|
182
480
|
kind: z.ZodOptional<z.ZodString>;
|
|
183
481
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
184
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
482
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
185
483
|
name: z.ZodOptional<z.ZodString>;
|
|
186
|
-
parameters: z.ZodOptional<z.ZodUnknown
|
|
484
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
187
485
|
parameters_config: z.ZodOptional<z.ZodString>;
|
|
188
486
|
status: z.ZodOptional<z.ZodString>;
|
|
189
487
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
190
488
|
}, "strip", z.ZodTypeAny, {
|
|
191
489
|
id: string;
|
|
192
490
|
status?: string | undefined;
|
|
193
|
-
agent?: string | undefined;
|
|
194
491
|
created_at?: string | undefined;
|
|
195
|
-
metadata?: unknown;
|
|
196
|
-
name?: string | undefined;
|
|
197
492
|
updated_at?: string | undefined;
|
|
198
|
-
|
|
493
|
+
name?: string | undefined;
|
|
494
|
+
metadata?: Record<string, unknown> | undefined;
|
|
199
495
|
description?: string | undefined;
|
|
496
|
+
agent?: string | undefined;
|
|
497
|
+
lookup_key?: string | undefined;
|
|
200
498
|
kind?: string | undefined;
|
|
201
499
|
config?: string | undefined;
|
|
202
500
|
app?: string | undefined;
|
|
203
501
|
instruction?: string | undefined;
|
|
204
|
-
parameters?: unknown;
|
|
205
|
-
builtin_tool_config?: unknown;
|
|
502
|
+
parameters?: Record<string, unknown> | undefined;
|
|
503
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
206
504
|
builtin_tool_key?: string | undefined;
|
|
207
505
|
handler_type?: string | undefined;
|
|
208
506
|
parameters_config?: string | undefined;
|
|
209
507
|
}, {
|
|
210
508
|
id: string;
|
|
211
509
|
status?: string | undefined;
|
|
212
|
-
agent?: string | undefined;
|
|
213
510
|
created_at?: string | undefined;
|
|
214
|
-
metadata?: unknown;
|
|
215
|
-
name?: string | undefined;
|
|
216
511
|
updated_at?: string | undefined;
|
|
217
|
-
|
|
512
|
+
name?: string | undefined;
|
|
513
|
+
metadata?: Record<string, unknown> | undefined;
|
|
218
514
|
description?: string | undefined;
|
|
515
|
+
agent?: string | undefined;
|
|
516
|
+
lookup_key?: string | undefined;
|
|
219
517
|
kind?: string | undefined;
|
|
220
518
|
config?: string | undefined;
|
|
221
519
|
app?: string | undefined;
|
|
222
520
|
instruction?: string | undefined;
|
|
223
|
-
parameters?: unknown;
|
|
224
|
-
builtin_tool_config?: unknown;
|
|
521
|
+
parameters?: Record<string, unknown> | undefined;
|
|
522
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
225
523
|
builtin_tool_key?: string | undefined;
|
|
226
524
|
handler_type?: string | undefined;
|
|
227
525
|
parameters_config?: string | undefined;
|
|
@@ -235,26 +533,26 @@ export declare const agentSkillSchema: z.ZodObject<{
|
|
|
235
533
|
created_at: z.ZodOptional<z.ZodString>;
|
|
236
534
|
id: z.ZodString;
|
|
237
535
|
instruction: z.ZodOptional<z.ZodString>;
|
|
238
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
536
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
239
537
|
status: z.ZodOptional<z.ZodString>;
|
|
240
538
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
241
539
|
}, "strip", z.ZodTypeAny, {
|
|
242
540
|
id: string;
|
|
243
541
|
status?: string | undefined;
|
|
244
|
-
agent?: string | undefined;
|
|
245
542
|
created_at?: string | undefined;
|
|
246
|
-
metadata?: unknown;
|
|
247
543
|
updated_at?: string | undefined;
|
|
544
|
+
metadata?: Record<string, unknown> | undefined;
|
|
545
|
+
agent?: string | undefined;
|
|
248
546
|
config?: string | undefined;
|
|
249
547
|
app?: string | undefined;
|
|
250
548
|
instruction?: string | undefined;
|
|
251
549
|
}, {
|
|
252
550
|
id: string;
|
|
253
551
|
status?: string | undefined;
|
|
254
|
-
agent?: string | undefined;
|
|
255
552
|
created_at?: string | undefined;
|
|
256
|
-
metadata?: unknown;
|
|
257
553
|
updated_at?: string | undefined;
|
|
554
|
+
metadata?: Record<string, unknown> | undefined;
|
|
555
|
+
agent?: string | undefined;
|
|
258
556
|
config?: string | undefined;
|
|
259
557
|
app?: string | undefined;
|
|
260
558
|
instruction?: string | undefined;
|
|
@@ -264,225 +562,74 @@ export type AgentSkill = z.infer<typeof agentSkillSchema>;
|
|
|
264
562
|
export declare const agentComputerSchema: z.ZodObject<{
|
|
265
563
|
agent: z.ZodOptional<z.ZodString>;
|
|
266
564
|
app: z.ZodOptional<z.ZodString>;
|
|
267
|
-
config: z.ZodOptional<z.ZodUnknown
|
|
565
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
268
566
|
created_at: z.ZodOptional<z.ZodString>;
|
|
269
567
|
error_message: z.ZodOptional<z.ZodString>;
|
|
270
568
|
id: z.ZodString;
|
|
271
569
|
last_active_at: z.ZodOptional<z.ZodString>;
|
|
272
|
-
lookup_key: z.ZodOptional<z.ZodString>;
|
|
273
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
274
|
-
name: z.ZodOptional<z.ZodString>;
|
|
275
|
-
region: z.ZodOptional<z.ZodString>;
|
|
276
|
-
sprite_url: z.ZodOptional<z.ZodString>;
|
|
277
|
-
status: z.ZodOptional<z.ZodString>;
|
|
278
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
279
|
-
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
id: string;
|
|
281
|
-
status?: string | undefined;
|
|
282
|
-
agent?: string | undefined;
|
|
283
|
-
created_at?: string | undefined;
|
|
284
|
-
metadata?: unknown;
|
|
285
|
-
name?: string | undefined;
|
|
286
|
-
updated_at?: string | undefined;
|
|
287
|
-
error_message?: string | undefined;
|
|
288
|
-
lookup_key?: string | undefined;
|
|
289
|
-
config?: unknown;
|
|
290
|
-
app?: string | undefined;
|
|
291
|
-
last_active_at?: string | undefined;
|
|
292
|
-
region?: string | undefined;
|
|
293
|
-
sprite_url?: string | undefined;
|
|
294
|
-
}, {
|
|
295
|
-
id: string;
|
|
296
|
-
status?: string | undefined;
|
|
297
|
-
agent?: string | undefined;
|
|
298
|
-
created_at?: string | undefined;
|
|
299
|
-
metadata?: unknown;
|
|
300
|
-
name?: string | undefined;
|
|
301
|
-
updated_at?: string | undefined;
|
|
302
|
-
error_message?: string | undefined;
|
|
303
|
-
lookup_key?: string | undefined;
|
|
304
|
-
config?: unknown;
|
|
305
|
-
app?: string | undefined;
|
|
306
|
-
last_active_at?: string | undefined;
|
|
307
|
-
region?: string | undefined;
|
|
308
|
-
sprite_url?: string | undefined;
|
|
309
|
-
}>;
|
|
310
|
-
export type AgentComputer = z.infer<typeof agentComputerSchema>;
|
|
311
|
-
/** API schema for an agent conversation history session. */
|
|
312
|
-
export declare const agentConversationHistorySchema: z.ZodObject<{
|
|
313
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
314
|
-
last_interaction_at: z.ZodOptional<z.ZodString>;
|
|
315
|
-
name: z.ZodOptional<z.ZodString>;
|
|
316
|
-
org: z.ZodOptional<z.ZodString>;
|
|
317
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
318
|
-
session: z.ZodOptional<z.ZodString>;
|
|
319
|
-
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
created_at?: string | undefined;
|
|
321
|
-
org?: string | undefined;
|
|
322
|
-
sandbox?: string | undefined;
|
|
323
|
-
name?: string | undefined;
|
|
324
|
-
last_interaction_at?: string | undefined;
|
|
325
|
-
session?: string | undefined;
|
|
326
|
-
}, {
|
|
327
|
-
created_at?: string | undefined;
|
|
328
|
-
org?: string | undefined;
|
|
329
|
-
sandbox?: string | undefined;
|
|
330
|
-
name?: string | undefined;
|
|
331
|
-
last_interaction_at?: string | undefined;
|
|
332
|
-
session?: string | undefined;
|
|
333
|
-
}>;
|
|
334
|
-
export type AgentConversationHistory = z.infer<typeof agentConversationHistorySchema>;
|
|
335
|
-
/** API schema for an agent. */
|
|
336
|
-
export declare const agentSchema: z.ZodObject<{
|
|
337
|
-
acl: z.ZodOptional<z.ZodObject<{
|
|
338
|
-
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
339
|
-
actions: z.ZodArray<z.ZodString, "many">;
|
|
340
|
-
principal: z.ZodOptional<z.ZodString>;
|
|
341
|
-
principal_type: z.ZodString;
|
|
342
|
-
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
actions: string[];
|
|
344
|
-
principal_type: string;
|
|
345
|
-
principal?: string | undefined;
|
|
346
|
-
}, {
|
|
347
|
-
actions: string[];
|
|
348
|
-
principal_type: string;
|
|
349
|
-
principal?: string | undefined;
|
|
350
|
-
}>, "many">>;
|
|
351
|
-
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
352
|
-
actions: z.ZodArray<z.ZodString, "many">;
|
|
353
|
-
principal: z.ZodOptional<z.ZodString>;
|
|
354
|
-
principal_type: z.ZodString;
|
|
355
|
-
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
actions: string[];
|
|
357
|
-
principal_type: string;
|
|
358
|
-
principal?: string | undefined;
|
|
359
|
-
}, {
|
|
360
|
-
actions: string[];
|
|
361
|
-
principal_type: string;
|
|
362
|
-
principal?: string | undefined;
|
|
363
|
-
}>, "many">>;
|
|
364
|
-
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
365
|
-
principal: z.ZodOptional<z.ZodString>;
|
|
366
|
-
principal_type: z.ZodString;
|
|
367
|
-
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
principal_type: string;
|
|
369
|
-
principal?: string | undefined;
|
|
370
|
-
}, {
|
|
371
|
-
principal_type: string;
|
|
372
|
-
principal?: string | undefined;
|
|
373
|
-
}>, "many">>;
|
|
374
|
-
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
add?: {
|
|
376
|
-
actions: string[];
|
|
377
|
-
principal_type: string;
|
|
378
|
-
principal?: string | undefined;
|
|
379
|
-
}[] | undefined;
|
|
380
|
-
grants?: {
|
|
381
|
-
actions: string[];
|
|
382
|
-
principal_type: string;
|
|
383
|
-
principal?: string | undefined;
|
|
384
|
-
}[] | undefined;
|
|
385
|
-
remove?: {
|
|
386
|
-
principal_type: string;
|
|
387
|
-
principal?: string | undefined;
|
|
388
|
-
}[] | undefined;
|
|
389
|
-
}, {
|
|
390
|
-
add?: {
|
|
391
|
-
actions: string[];
|
|
392
|
-
principal_type: string;
|
|
393
|
-
principal?: string | undefined;
|
|
394
|
-
}[] | undefined;
|
|
395
|
-
grants?: {
|
|
396
|
-
actions: string[];
|
|
397
|
-
principal_type: string;
|
|
398
|
-
principal?: string | undefined;
|
|
399
|
-
}[] | undefined;
|
|
400
|
-
remove?: {
|
|
401
|
-
principal_type: string;
|
|
402
|
-
principal?: string | undefined;
|
|
403
|
-
}[] | undefined;
|
|
404
|
-
}>>;
|
|
405
|
-
app: z.ZodOptional<z.ZodString>;
|
|
406
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
407
|
-
default_model: z.ZodOptional<z.ZodString>;
|
|
408
|
-
email: z.ZodOptional<z.ZodString>;
|
|
409
|
-
id: z.ZodString;
|
|
410
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
411
|
-
lookup_key: z.ZodOptional<z.ZodString>;
|
|
412
|
-
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
413
|
-
name: z.ZodOptional<z.ZodString>;
|
|
414
|
-
org: z.ZodOptional<z.ZodString>;
|
|
415
|
-
phone_number: z.ZodOptional<z.ZodString>;
|
|
416
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
417
|
-
team: z.ZodOptional<z.ZodString>;
|
|
570
|
+
lookup_key: z.ZodOptional<z.ZodString>;
|
|
571
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
572
|
+
name: z.ZodOptional<z.ZodString>;
|
|
573
|
+
region: z.ZodOptional<z.ZodString>;
|
|
574
|
+
sprite_url: z.ZodOptional<z.ZodString>;
|
|
575
|
+
status: z.ZodOptional<z.ZodString>;
|
|
418
576
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
419
|
-
user: z.ZodOptional<z.ZodString>;
|
|
420
577
|
}, "strip", z.ZodTypeAny, {
|
|
421
578
|
id: string;
|
|
422
|
-
|
|
579
|
+
status?: string | undefined;
|
|
423
580
|
created_at?: string | undefined;
|
|
424
|
-
metadata?: unknown;
|
|
425
|
-
org?: string | undefined;
|
|
426
|
-
sandbox?: string | undefined;
|
|
427
|
-
team?: string | undefined;
|
|
428
|
-
user?: string | undefined;
|
|
429
|
-
name?: string | undefined;
|
|
430
581
|
updated_at?: string | undefined;
|
|
582
|
+
name?: string | undefined;
|
|
583
|
+
metadata?: Record<string, unknown> | undefined;
|
|
584
|
+
agent?: string | undefined;
|
|
585
|
+
error_message?: string | undefined;
|
|
431
586
|
lookup_key?: string | undefined;
|
|
432
|
-
|
|
433
|
-
add?: {
|
|
434
|
-
actions: string[];
|
|
435
|
-
principal_type: string;
|
|
436
|
-
principal?: string | undefined;
|
|
437
|
-
}[] | undefined;
|
|
438
|
-
grants?: {
|
|
439
|
-
actions: string[];
|
|
440
|
-
principal_type: string;
|
|
441
|
-
principal?: string | undefined;
|
|
442
|
-
}[] | undefined;
|
|
443
|
-
remove?: {
|
|
444
|
-
principal_type: string;
|
|
445
|
-
principal?: string | undefined;
|
|
446
|
-
}[] | undefined;
|
|
447
|
-
} | undefined;
|
|
587
|
+
config?: Record<string, unknown> | undefined;
|
|
448
588
|
app?: string | undefined;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
589
|
+
last_active_at?: string | undefined;
|
|
590
|
+
region?: string | undefined;
|
|
591
|
+
sprite_url?: string | undefined;
|
|
452
592
|
}, {
|
|
453
593
|
id: string;
|
|
454
|
-
|
|
594
|
+
status?: string | undefined;
|
|
455
595
|
created_at?: string | undefined;
|
|
456
|
-
metadata?: unknown;
|
|
457
|
-
org?: string | undefined;
|
|
458
|
-
sandbox?: string | undefined;
|
|
459
|
-
team?: string | undefined;
|
|
460
|
-
user?: string | undefined;
|
|
461
|
-
name?: string | undefined;
|
|
462
596
|
updated_at?: string | undefined;
|
|
597
|
+
name?: string | undefined;
|
|
598
|
+
metadata?: Record<string, unknown> | undefined;
|
|
599
|
+
agent?: string | undefined;
|
|
600
|
+
error_message?: string | undefined;
|
|
463
601
|
lookup_key?: string | undefined;
|
|
464
|
-
|
|
465
|
-
add?: {
|
|
466
|
-
actions: string[];
|
|
467
|
-
principal_type: string;
|
|
468
|
-
principal?: string | undefined;
|
|
469
|
-
}[] | undefined;
|
|
470
|
-
grants?: {
|
|
471
|
-
actions: string[];
|
|
472
|
-
principal_type: string;
|
|
473
|
-
principal?: string | undefined;
|
|
474
|
-
}[] | undefined;
|
|
475
|
-
remove?: {
|
|
476
|
-
principal_type: string;
|
|
477
|
-
principal?: string | undefined;
|
|
478
|
-
}[] | undefined;
|
|
479
|
-
} | undefined;
|
|
602
|
+
config?: Record<string, unknown> | undefined;
|
|
480
603
|
app?: string | undefined;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
604
|
+
last_active_at?: string | undefined;
|
|
605
|
+
region?: string | undefined;
|
|
606
|
+
sprite_url?: string | undefined;
|
|
484
607
|
}>;
|
|
485
|
-
export type
|
|
608
|
+
export type AgentComputer = z.infer<typeof agentComputerSchema>;
|
|
609
|
+
/** API schema for an agent conversation history session. */
|
|
610
|
+
export declare const agentConversationHistorySchema: z.ZodObject<{
|
|
611
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
612
|
+
last_interaction_at: z.ZodOptional<z.ZodString>;
|
|
613
|
+
name: z.ZodOptional<z.ZodString>;
|
|
614
|
+
org: z.ZodOptional<z.ZodString>;
|
|
615
|
+
sandbox: z.ZodOptional<z.ZodString>;
|
|
616
|
+
session: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
|
+
created_at?: string | undefined;
|
|
619
|
+
name?: string | undefined;
|
|
620
|
+
org?: string | undefined;
|
|
621
|
+
sandbox?: string | undefined;
|
|
622
|
+
last_interaction_at?: string | undefined;
|
|
623
|
+
session?: string | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
created_at?: string | undefined;
|
|
626
|
+
name?: string | undefined;
|
|
627
|
+
org?: string | undefined;
|
|
628
|
+
sandbox?: string | undefined;
|
|
629
|
+
last_interaction_at?: string | undefined;
|
|
630
|
+
session?: string | undefined;
|
|
631
|
+
}>;
|
|
632
|
+
export type AgentConversationHistory = z.infer<typeof agentConversationHistorySchema>;
|
|
486
633
|
/** API schema for an agent impersonation skill file entry. */
|
|
487
634
|
export declare const agentImpersonationSkillFileSchema: z.ZodObject<{
|
|
488
635
|
content_type: z.ZodOptional<z.ZodString>;
|
|
@@ -638,7 +785,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
638
785
|
id: z.ZodString;
|
|
639
786
|
identity: z.ZodOptional<z.ZodString>;
|
|
640
787
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
641
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
788
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
642
789
|
name: z.ZodOptional<z.ZodString>;
|
|
643
790
|
org: z.ZodOptional<z.ZodString>;
|
|
644
791
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
@@ -650,13 +797,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
650
797
|
id: string;
|
|
651
798
|
email?: string | undefined;
|
|
652
799
|
created_at?: string | undefined;
|
|
653
|
-
|
|
800
|
+
updated_at?: string | undefined;
|
|
801
|
+
name?: string | undefined;
|
|
654
802
|
org?: string | undefined;
|
|
655
803
|
sandbox?: string | undefined;
|
|
656
|
-
|
|
804
|
+
metadata?: Record<string, unknown> | undefined;
|
|
657
805
|
user?: string | undefined;
|
|
658
|
-
|
|
659
|
-
updated_at?: string | undefined;
|
|
806
|
+
team?: string | undefined;
|
|
660
807
|
lookup_key?: string | undefined;
|
|
661
808
|
acl?: {
|
|
662
809
|
add?: {
|
|
@@ -682,13 +829,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
682
829
|
id: string;
|
|
683
830
|
email?: string | undefined;
|
|
684
831
|
created_at?: string | undefined;
|
|
685
|
-
|
|
832
|
+
updated_at?: string | undefined;
|
|
833
|
+
name?: string | undefined;
|
|
686
834
|
org?: string | undefined;
|
|
687
835
|
sandbox?: string | undefined;
|
|
688
|
-
|
|
836
|
+
metadata?: Record<string, unknown> | undefined;
|
|
689
837
|
user?: string | undefined;
|
|
690
|
-
|
|
691
|
-
updated_at?: string | undefined;
|
|
838
|
+
team?: string | undefined;
|
|
692
839
|
lookup_key?: string | undefined;
|
|
693
840
|
acl?: {
|
|
694
841
|
add?: {
|
|
@@ -722,13 +869,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
722
869
|
id: string;
|
|
723
870
|
email?: string | undefined;
|
|
724
871
|
created_at?: string | undefined;
|
|
725
|
-
|
|
872
|
+
updated_at?: string | undefined;
|
|
873
|
+
name?: string | undefined;
|
|
726
874
|
org?: string | undefined;
|
|
727
875
|
sandbox?: string | undefined;
|
|
728
|
-
|
|
876
|
+
metadata?: Record<string, unknown> | undefined;
|
|
729
877
|
user?: string | undefined;
|
|
730
|
-
|
|
731
|
-
updated_at?: string | undefined;
|
|
878
|
+
team?: string | undefined;
|
|
732
879
|
lookup_key?: string | undefined;
|
|
733
880
|
acl?: {
|
|
734
881
|
add?: {
|
|
@@ -762,13 +909,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
762
909
|
id: string;
|
|
763
910
|
email?: string | undefined;
|
|
764
911
|
created_at?: string | undefined;
|
|
765
|
-
|
|
912
|
+
updated_at?: string | undefined;
|
|
913
|
+
name?: string | undefined;
|
|
766
914
|
org?: string | undefined;
|
|
767
915
|
sandbox?: string | undefined;
|
|
768
|
-
|
|
916
|
+
metadata?: Record<string, unknown> | undefined;
|
|
769
917
|
user?: string | undefined;
|
|
770
|
-
|
|
771
|
-
updated_at?: string | undefined;
|
|
918
|
+
team?: string | undefined;
|
|
772
919
|
lookup_key?: string | undefined;
|
|
773
920
|
acl?: {
|
|
774
921
|
add?: {
|
|
@@ -804,7 +951,7 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
804
951
|
data: z.ZodArray<z.ZodObject<{
|
|
805
952
|
agent: z.ZodOptional<z.ZodString>;
|
|
806
953
|
app: z.ZodOptional<z.ZodString>;
|
|
807
|
-
builtin_tool_config: z.ZodOptional<z.ZodUnknown
|
|
954
|
+
builtin_tool_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
808
955
|
builtin_tool_key: z.ZodOptional<z.ZodString>;
|
|
809
956
|
config: z.ZodOptional<z.ZodString>;
|
|
810
957
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -814,47 +961,47 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
814
961
|
instruction: z.ZodOptional<z.ZodString>;
|
|
815
962
|
kind: z.ZodOptional<z.ZodString>;
|
|
816
963
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
817
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
964
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
818
965
|
name: z.ZodOptional<z.ZodString>;
|
|
819
|
-
parameters: z.ZodOptional<z.ZodUnknown
|
|
966
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
820
967
|
parameters_config: z.ZodOptional<z.ZodString>;
|
|
821
968
|
status: z.ZodOptional<z.ZodString>;
|
|
822
969
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
823
970
|
}, "strip", z.ZodTypeAny, {
|
|
824
971
|
id: string;
|
|
825
972
|
status?: string | undefined;
|
|
826
|
-
agent?: string | undefined;
|
|
827
973
|
created_at?: string | undefined;
|
|
828
|
-
metadata?: unknown;
|
|
829
|
-
name?: string | undefined;
|
|
830
974
|
updated_at?: string | undefined;
|
|
831
|
-
|
|
975
|
+
name?: string | undefined;
|
|
976
|
+
metadata?: Record<string, unknown> | undefined;
|
|
832
977
|
description?: string | undefined;
|
|
978
|
+
agent?: string | undefined;
|
|
979
|
+
lookup_key?: string | undefined;
|
|
833
980
|
kind?: string | undefined;
|
|
834
981
|
config?: string | undefined;
|
|
835
982
|
app?: string | undefined;
|
|
836
983
|
instruction?: string | undefined;
|
|
837
|
-
parameters?: unknown;
|
|
838
|
-
builtin_tool_config?: unknown;
|
|
984
|
+
parameters?: Record<string, unknown> | undefined;
|
|
985
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
839
986
|
builtin_tool_key?: string | undefined;
|
|
840
987
|
handler_type?: string | undefined;
|
|
841
988
|
parameters_config?: string | undefined;
|
|
842
989
|
}, {
|
|
843
990
|
id: string;
|
|
844
991
|
status?: string | undefined;
|
|
845
|
-
agent?: string | undefined;
|
|
846
992
|
created_at?: string | undefined;
|
|
847
|
-
metadata?: unknown;
|
|
848
|
-
name?: string | undefined;
|
|
849
993
|
updated_at?: string | undefined;
|
|
850
|
-
|
|
994
|
+
name?: string | undefined;
|
|
995
|
+
metadata?: Record<string, unknown> | undefined;
|
|
851
996
|
description?: string | undefined;
|
|
997
|
+
agent?: string | undefined;
|
|
998
|
+
lookup_key?: string | undefined;
|
|
852
999
|
kind?: string | undefined;
|
|
853
1000
|
config?: string | undefined;
|
|
854
1001
|
app?: string | undefined;
|
|
855
1002
|
instruction?: string | undefined;
|
|
856
|
-
parameters?: unknown;
|
|
857
|
-
builtin_tool_config?: unknown;
|
|
1003
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1004
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
858
1005
|
builtin_tool_key?: string | undefined;
|
|
859
1006
|
handler_type?: string | undefined;
|
|
860
1007
|
parameters_config?: string | undefined;
|
|
@@ -863,19 +1010,19 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
863
1010
|
data: {
|
|
864
1011
|
id: string;
|
|
865
1012
|
status?: string | undefined;
|
|
866
|
-
agent?: string | undefined;
|
|
867
1013
|
created_at?: string | undefined;
|
|
868
|
-
metadata?: unknown;
|
|
869
|
-
name?: string | undefined;
|
|
870
1014
|
updated_at?: string | undefined;
|
|
871
|
-
|
|
1015
|
+
name?: string | undefined;
|
|
1016
|
+
metadata?: Record<string, unknown> | undefined;
|
|
872
1017
|
description?: string | undefined;
|
|
1018
|
+
agent?: string | undefined;
|
|
1019
|
+
lookup_key?: string | undefined;
|
|
873
1020
|
kind?: string | undefined;
|
|
874
1021
|
config?: string | undefined;
|
|
875
1022
|
app?: string | undefined;
|
|
876
1023
|
instruction?: string | undefined;
|
|
877
|
-
parameters?: unknown;
|
|
878
|
-
builtin_tool_config?: unknown;
|
|
1024
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1025
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
879
1026
|
builtin_tool_key?: string | undefined;
|
|
880
1027
|
handler_type?: string | undefined;
|
|
881
1028
|
parameters_config?: string | undefined;
|
|
@@ -884,19 +1031,19 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
884
1031
|
data: {
|
|
885
1032
|
id: string;
|
|
886
1033
|
status?: string | undefined;
|
|
887
|
-
agent?: string | undefined;
|
|
888
1034
|
created_at?: string | undefined;
|
|
889
|
-
metadata?: unknown;
|
|
890
|
-
name?: string | undefined;
|
|
891
1035
|
updated_at?: string | undefined;
|
|
892
|
-
|
|
1036
|
+
name?: string | undefined;
|
|
1037
|
+
metadata?: Record<string, unknown> | undefined;
|
|
893
1038
|
description?: string | undefined;
|
|
1039
|
+
agent?: string | undefined;
|
|
1040
|
+
lookup_key?: string | undefined;
|
|
894
1041
|
kind?: string | undefined;
|
|
895
1042
|
config?: string | undefined;
|
|
896
1043
|
app?: string | undefined;
|
|
897
1044
|
instruction?: string | undefined;
|
|
898
|
-
parameters?: unknown;
|
|
899
|
-
builtin_tool_config?: unknown;
|
|
1045
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1046
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
900
1047
|
builtin_tool_key?: string | undefined;
|
|
901
1048
|
handler_type?: string | undefined;
|
|
902
1049
|
parameters_config?: string | undefined;
|
|
@@ -913,7 +1060,7 @@ export declare const agentScheduleSchema: z.ZodObject<{
|
|
|
913
1060
|
instructions: z.ZodOptional<z.ZodString>;
|
|
914
1061
|
last_run_at: z.ZodOptional<z.ZodString>;
|
|
915
1062
|
max_runs: z.ZodOptional<z.ZodNumber>;
|
|
916
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
1063
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
917
1064
|
next_run_at: z.ZodOptional<z.ZodString>;
|
|
918
1065
|
run_count: z.ZodOptional<z.ZodNumber>;
|
|
919
1066
|
schedule_type: z.ZodOptional<z.ZodString>;
|
|
@@ -926,11 +1073,11 @@ export declare const agentScheduleSchema: z.ZodObject<{
|
|
|
926
1073
|
id: string;
|
|
927
1074
|
timezone?: string | undefined;
|
|
928
1075
|
status?: string | undefined;
|
|
929
|
-
agent?: string | undefined;
|
|
930
1076
|
created_at?: string | undefined;
|
|
931
|
-
metadata?: unknown;
|
|
932
|
-
thread?: string | undefined;
|
|
933
1077
|
updated_at?: string | undefined;
|
|
1078
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1079
|
+
thread?: string | undefined;
|
|
1080
|
+
agent?: string | undefined;
|
|
934
1081
|
app?: string | undefined;
|
|
935
1082
|
instructions?: string | undefined;
|
|
936
1083
|
cron_expression?: string | undefined;
|
|
@@ -944,11 +1091,11 @@ export declare const agentScheduleSchema: z.ZodObject<{
|
|
|
944
1091
|
id: string;
|
|
945
1092
|
timezone?: string | undefined;
|
|
946
1093
|
status?: string | undefined;
|
|
947
|
-
agent?: string | undefined;
|
|
948
1094
|
created_at?: string | undefined;
|
|
949
|
-
metadata?: unknown;
|
|
950
|
-
thread?: string | undefined;
|
|
951
1095
|
updated_at?: string | undefined;
|
|
1096
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1097
|
+
thread?: string | undefined;
|
|
1098
|
+
agent?: string | undefined;
|
|
952
1099
|
app?: string | undefined;
|
|
953
1100
|
instructions?: string | undefined;
|
|
954
1101
|
cron_expression?: string | undefined;
|
|
@@ -1036,12 +1183,12 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
1036
1183
|
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
1037
1184
|
event_id: z.ZodOptional<z.ZodString>;
|
|
1038
1185
|
id: z.ZodString;
|
|
1039
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
1040
|
-
payload: z.ZodOptional<z.ZodUnknown
|
|
1041
|
-
result: z.ZodOptional<z.ZodUnknown
|
|
1186
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1187
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1188
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1042
1189
|
routine: z.ZodOptional<z.ZodString>;
|
|
1043
1190
|
status: z.ZodOptional<z.ZodString>;
|
|
1044
|
-
structured_response: z.ZodOptional<z.ZodUnknown
|
|
1191
|
+
structured_response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1045
1192
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1046
1193
|
worker: z.ZodOptional<z.ZodObject<{
|
|
1047
1194
|
attempt: z.ZodNumber;
|
|
@@ -1059,11 +1206,11 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
1059
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1060
1207
|
id: string;
|
|
1061
1208
|
status?: string | undefined;
|
|
1062
|
-
agent?: string | undefined;
|
|
1063
1209
|
created_at?: string | undefined;
|
|
1064
|
-
metadata?: unknown;
|
|
1065
|
-
payload?: unknown;
|
|
1066
1210
|
updated_at?: string | undefined;
|
|
1211
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1212
|
+
agent?: string | undefined;
|
|
1213
|
+
payload?: Record<string, unknown> | undefined;
|
|
1067
1214
|
duration_ms?: number | undefined;
|
|
1068
1215
|
acl?: {
|
|
1069
1216
|
add?: {
|
|
@@ -1083,9 +1230,9 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
1083
1230
|
} | undefined;
|
|
1084
1231
|
app?: string | undefined;
|
|
1085
1232
|
event_id?: string | undefined;
|
|
1086
|
-
result?: unknown;
|
|
1233
|
+
result?: Record<string, unknown> | undefined;
|
|
1087
1234
|
routine?: string | undefined;
|
|
1088
|
-
structured_response?: unknown;
|
|
1235
|
+
structured_response?: Record<string, unknown> | undefined;
|
|
1089
1236
|
worker?: {
|
|
1090
1237
|
status: string;
|
|
1091
1238
|
attempt: number;
|
|
@@ -1094,11 +1241,11 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
1094
1241
|
}, {
|
|
1095
1242
|
id: string;
|
|
1096
1243
|
status?: string | undefined;
|
|
1097
|
-
agent?: string | undefined;
|
|
1098
1244
|
created_at?: string | undefined;
|
|
1099
|
-
metadata?: unknown;
|
|
1100
|
-
payload?: unknown;
|
|
1101
1245
|
updated_at?: string | undefined;
|
|
1246
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1247
|
+
agent?: string | undefined;
|
|
1248
|
+
payload?: Record<string, unknown> | undefined;
|
|
1102
1249
|
duration_ms?: number | undefined;
|
|
1103
1250
|
acl?: {
|
|
1104
1251
|
add?: {
|
|
@@ -1118,9 +1265,9 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
1118
1265
|
} | undefined;
|
|
1119
1266
|
app?: string | undefined;
|
|
1120
1267
|
event_id?: string | undefined;
|
|
1121
|
-
result?: unknown;
|
|
1268
|
+
result?: Record<string, unknown> | undefined;
|
|
1122
1269
|
routine?: string | undefined;
|
|
1123
|
-
structured_response?: unknown;
|
|
1270
|
+
structured_response?: Record<string, unknown> | undefined;
|
|
1124
1271
|
worker?: {
|
|
1125
1272
|
status: string;
|
|
1126
1273
|
attempt: number;
|
|
@@ -1207,12 +1354,12 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1207
1354
|
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
1208
1355
|
event_id: z.ZodOptional<z.ZodString>;
|
|
1209
1356
|
id: z.ZodString;
|
|
1210
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
1211
|
-
payload: z.ZodOptional<z.ZodUnknown
|
|
1212
|
-
result: z.ZodOptional<z.ZodUnknown
|
|
1357
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1358
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1359
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1213
1360
|
routine: z.ZodOptional<z.ZodString>;
|
|
1214
1361
|
status: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
structured_response: z.ZodOptional<z.ZodUnknown
|
|
1362
|
+
structured_response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1216
1363
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1217
1364
|
worker: z.ZodOptional<z.ZodObject<{
|
|
1218
1365
|
attempt: z.ZodNumber;
|
|
@@ -1230,11 +1377,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1230
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1231
1378
|
id: string;
|
|
1232
1379
|
status?: string | undefined;
|
|
1233
|
-
agent?: string | undefined;
|
|
1234
1380
|
created_at?: string | undefined;
|
|
1235
|
-
metadata?: unknown;
|
|
1236
|
-
payload?: unknown;
|
|
1237
1381
|
updated_at?: string | undefined;
|
|
1382
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1383
|
+
agent?: string | undefined;
|
|
1384
|
+
payload?: Record<string, unknown> | undefined;
|
|
1238
1385
|
duration_ms?: number | undefined;
|
|
1239
1386
|
acl?: {
|
|
1240
1387
|
add?: {
|
|
@@ -1254,9 +1401,9 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1254
1401
|
} | undefined;
|
|
1255
1402
|
app?: string | undefined;
|
|
1256
1403
|
event_id?: string | undefined;
|
|
1257
|
-
result?: unknown;
|
|
1404
|
+
result?: Record<string, unknown> | undefined;
|
|
1258
1405
|
routine?: string | undefined;
|
|
1259
|
-
structured_response?: unknown;
|
|
1406
|
+
structured_response?: Record<string, unknown> | undefined;
|
|
1260
1407
|
worker?: {
|
|
1261
1408
|
status: string;
|
|
1262
1409
|
attempt: number;
|
|
@@ -1265,11 +1412,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1265
1412
|
}, {
|
|
1266
1413
|
id: string;
|
|
1267
1414
|
status?: string | undefined;
|
|
1268
|
-
agent?: string | undefined;
|
|
1269
1415
|
created_at?: string | undefined;
|
|
1270
|
-
metadata?: unknown;
|
|
1271
|
-
payload?: unknown;
|
|
1272
1416
|
updated_at?: string | undefined;
|
|
1417
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1418
|
+
agent?: string | undefined;
|
|
1419
|
+
payload?: Record<string, unknown> | undefined;
|
|
1273
1420
|
duration_ms?: number | undefined;
|
|
1274
1421
|
acl?: {
|
|
1275
1422
|
add?: {
|
|
@@ -1289,9 +1436,9 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1289
1436
|
} | undefined;
|
|
1290
1437
|
app?: string | undefined;
|
|
1291
1438
|
event_id?: string | undefined;
|
|
1292
|
-
result?: unknown;
|
|
1439
|
+
result?: Record<string, unknown> | undefined;
|
|
1293
1440
|
routine?: string | undefined;
|
|
1294
|
-
structured_response?: unknown;
|
|
1441
|
+
structured_response?: Record<string, unknown> | undefined;
|
|
1295
1442
|
worker?: {
|
|
1296
1443
|
status: string;
|
|
1297
1444
|
attempt: number;
|
|
@@ -1302,11 +1449,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1302
1449
|
data: {
|
|
1303
1450
|
id: string;
|
|
1304
1451
|
status?: string | undefined;
|
|
1305
|
-
agent?: string | undefined;
|
|
1306
1452
|
created_at?: string | undefined;
|
|
1307
|
-
metadata?: unknown;
|
|
1308
|
-
payload?: unknown;
|
|
1309
1453
|
updated_at?: string | undefined;
|
|
1454
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1455
|
+
agent?: string | undefined;
|
|
1456
|
+
payload?: Record<string, unknown> | undefined;
|
|
1310
1457
|
duration_ms?: number | undefined;
|
|
1311
1458
|
acl?: {
|
|
1312
1459
|
add?: {
|
|
@@ -1326,9 +1473,9 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1326
1473
|
} | undefined;
|
|
1327
1474
|
app?: string | undefined;
|
|
1328
1475
|
event_id?: string | undefined;
|
|
1329
|
-
result?: unknown;
|
|
1476
|
+
result?: Record<string, unknown> | undefined;
|
|
1330
1477
|
routine?: string | undefined;
|
|
1331
|
-
structured_response?: unknown;
|
|
1478
|
+
structured_response?: Record<string, unknown> | undefined;
|
|
1332
1479
|
worker?: {
|
|
1333
1480
|
status: string;
|
|
1334
1481
|
attempt: number;
|
|
@@ -1341,11 +1488,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1341
1488
|
data: {
|
|
1342
1489
|
id: string;
|
|
1343
1490
|
status?: string | undefined;
|
|
1344
|
-
agent?: string | undefined;
|
|
1345
1491
|
created_at?: string | undefined;
|
|
1346
|
-
metadata?: unknown;
|
|
1347
|
-
payload?: unknown;
|
|
1348
1492
|
updated_at?: string | undefined;
|
|
1493
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1494
|
+
agent?: string | undefined;
|
|
1495
|
+
payload?: Record<string, unknown> | undefined;
|
|
1349
1496
|
duration_ms?: number | undefined;
|
|
1350
1497
|
acl?: {
|
|
1351
1498
|
add?: {
|
|
@@ -1365,9 +1512,9 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
1365
1512
|
} | undefined;
|
|
1366
1513
|
app?: string | undefined;
|
|
1367
1514
|
event_id?: string | undefined;
|
|
1368
|
-
result?: unknown;
|
|
1515
|
+
result?: Record<string, unknown> | undefined;
|
|
1369
1516
|
routine?: string | undefined;
|
|
1370
|
-
structured_response?: unknown;
|
|
1517
|
+
structured_response?: Record<string, unknown> | undefined;
|
|
1371
1518
|
worker?: {
|
|
1372
1519
|
status: string;
|
|
1373
1520
|
attempt: number;
|
|
@@ -1456,7 +1603,7 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1456
1603
|
id: z.ZodString;
|
|
1457
1604
|
identity: z.ZodOptional<z.ZodString>;
|
|
1458
1605
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1459
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
1606
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1460
1607
|
name: z.ZodOptional<z.ZodString>;
|
|
1461
1608
|
org: z.ZodOptional<z.ZodString>;
|
|
1462
1609
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
@@ -1468,13 +1615,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1468
1615
|
id: string;
|
|
1469
1616
|
email?: string | undefined;
|
|
1470
1617
|
created_at?: string | undefined;
|
|
1471
|
-
|
|
1618
|
+
updated_at?: string | undefined;
|
|
1619
|
+
name?: string | undefined;
|
|
1472
1620
|
org?: string | undefined;
|
|
1473
1621
|
sandbox?: string | undefined;
|
|
1474
|
-
|
|
1622
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1475
1623
|
user?: string | undefined;
|
|
1476
|
-
|
|
1477
|
-
updated_at?: string | undefined;
|
|
1624
|
+
team?: string | undefined;
|
|
1478
1625
|
lookup_key?: string | undefined;
|
|
1479
1626
|
acl?: {
|
|
1480
1627
|
add?: {
|
|
@@ -1500,13 +1647,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1500
1647
|
id: string;
|
|
1501
1648
|
email?: string | undefined;
|
|
1502
1649
|
created_at?: string | undefined;
|
|
1503
|
-
|
|
1650
|
+
updated_at?: string | undefined;
|
|
1651
|
+
name?: string | undefined;
|
|
1504
1652
|
org?: string | undefined;
|
|
1505
1653
|
sandbox?: string | undefined;
|
|
1506
|
-
|
|
1654
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1507
1655
|
user?: string | undefined;
|
|
1508
|
-
|
|
1509
|
-
updated_at?: string | undefined;
|
|
1656
|
+
team?: string | undefined;
|
|
1510
1657
|
lookup_key?: string | undefined;
|
|
1511
1658
|
acl?: {
|
|
1512
1659
|
add?: {
|
|
@@ -1548,7 +1695,7 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1548
1695
|
tools: z.ZodArray<z.ZodObject<{
|
|
1549
1696
|
agent: z.ZodOptional<z.ZodString>;
|
|
1550
1697
|
app: z.ZodOptional<z.ZodString>;
|
|
1551
|
-
builtin_tool_config: z.ZodOptional<z.ZodUnknown
|
|
1698
|
+
builtin_tool_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1552
1699
|
builtin_tool_key: z.ZodOptional<z.ZodString>;
|
|
1553
1700
|
config: z.ZodOptional<z.ZodString>;
|
|
1554
1701
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1558,47 +1705,47 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1558
1705
|
instruction: z.ZodOptional<z.ZodString>;
|
|
1559
1706
|
kind: z.ZodOptional<z.ZodString>;
|
|
1560
1707
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1561
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
1708
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1562
1709
|
name: z.ZodOptional<z.ZodString>;
|
|
1563
|
-
parameters: z.ZodOptional<z.ZodUnknown
|
|
1710
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1564
1711
|
parameters_config: z.ZodOptional<z.ZodString>;
|
|
1565
1712
|
status: z.ZodOptional<z.ZodString>;
|
|
1566
1713
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1567
1714
|
}, "strip", z.ZodTypeAny, {
|
|
1568
1715
|
id: string;
|
|
1569
1716
|
status?: string | undefined;
|
|
1570
|
-
agent?: string | undefined;
|
|
1571
1717
|
created_at?: string | undefined;
|
|
1572
|
-
metadata?: unknown;
|
|
1573
|
-
name?: string | undefined;
|
|
1574
1718
|
updated_at?: string | undefined;
|
|
1575
|
-
|
|
1719
|
+
name?: string | undefined;
|
|
1720
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1576
1721
|
description?: string | undefined;
|
|
1722
|
+
agent?: string | undefined;
|
|
1723
|
+
lookup_key?: string | undefined;
|
|
1577
1724
|
kind?: string | undefined;
|
|
1578
1725
|
config?: string | undefined;
|
|
1579
1726
|
app?: string | undefined;
|
|
1580
1727
|
instruction?: string | undefined;
|
|
1581
|
-
parameters?: unknown;
|
|
1582
|
-
builtin_tool_config?: unknown;
|
|
1728
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1729
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
1583
1730
|
builtin_tool_key?: string | undefined;
|
|
1584
1731
|
handler_type?: string | undefined;
|
|
1585
1732
|
parameters_config?: string | undefined;
|
|
1586
1733
|
}, {
|
|
1587
1734
|
id: string;
|
|
1588
1735
|
status?: string | undefined;
|
|
1589
|
-
agent?: string | undefined;
|
|
1590
1736
|
created_at?: string | undefined;
|
|
1591
|
-
metadata?: unknown;
|
|
1592
|
-
name?: string | undefined;
|
|
1593
1737
|
updated_at?: string | undefined;
|
|
1594
|
-
|
|
1738
|
+
name?: string | undefined;
|
|
1739
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1595
1740
|
description?: string | undefined;
|
|
1741
|
+
agent?: string | undefined;
|
|
1742
|
+
lookup_key?: string | undefined;
|
|
1596
1743
|
kind?: string | undefined;
|
|
1597
1744
|
config?: string | undefined;
|
|
1598
1745
|
app?: string | undefined;
|
|
1599
1746
|
instruction?: string | undefined;
|
|
1600
|
-
parameters?: unknown;
|
|
1601
|
-
builtin_tool_config?: unknown;
|
|
1747
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1748
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
1602
1749
|
builtin_tool_key?: string | undefined;
|
|
1603
1750
|
handler_type?: string | undefined;
|
|
1604
1751
|
parameters_config?: string | undefined;
|
|
@@ -1608,13 +1755,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1608
1755
|
id: string;
|
|
1609
1756
|
email?: string | undefined;
|
|
1610
1757
|
created_at?: string | undefined;
|
|
1611
|
-
|
|
1758
|
+
updated_at?: string | undefined;
|
|
1759
|
+
name?: string | undefined;
|
|
1612
1760
|
org?: string | undefined;
|
|
1613
1761
|
sandbox?: string | undefined;
|
|
1614
|
-
|
|
1762
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1615
1763
|
user?: string | undefined;
|
|
1616
|
-
|
|
1617
|
-
updated_at?: string | undefined;
|
|
1764
|
+
team?: string | undefined;
|
|
1618
1765
|
lookup_key?: string | undefined;
|
|
1619
1766
|
acl?: {
|
|
1620
1767
|
add?: {
|
|
@@ -1640,19 +1787,19 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1640
1787
|
tools: {
|
|
1641
1788
|
id: string;
|
|
1642
1789
|
status?: string | undefined;
|
|
1643
|
-
agent?: string | undefined;
|
|
1644
1790
|
created_at?: string | undefined;
|
|
1645
|
-
metadata?: unknown;
|
|
1646
|
-
name?: string | undefined;
|
|
1647
1791
|
updated_at?: string | undefined;
|
|
1648
|
-
|
|
1792
|
+
name?: string | undefined;
|
|
1793
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1649
1794
|
description?: string | undefined;
|
|
1795
|
+
agent?: string | undefined;
|
|
1796
|
+
lookup_key?: string | undefined;
|
|
1650
1797
|
kind?: string | undefined;
|
|
1651
1798
|
config?: string | undefined;
|
|
1652
1799
|
app?: string | undefined;
|
|
1653
1800
|
instruction?: string | undefined;
|
|
1654
|
-
parameters?: unknown;
|
|
1655
|
-
builtin_tool_config?: unknown;
|
|
1801
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1802
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
1656
1803
|
builtin_tool_key?: string | undefined;
|
|
1657
1804
|
handler_type?: string | undefined;
|
|
1658
1805
|
parameters_config?: string | undefined;
|
|
@@ -1668,13 +1815,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1668
1815
|
id: string;
|
|
1669
1816
|
email?: string | undefined;
|
|
1670
1817
|
created_at?: string | undefined;
|
|
1671
|
-
|
|
1818
|
+
updated_at?: string | undefined;
|
|
1819
|
+
name?: string | undefined;
|
|
1672
1820
|
org?: string | undefined;
|
|
1673
1821
|
sandbox?: string | undefined;
|
|
1674
|
-
|
|
1822
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1675
1823
|
user?: string | undefined;
|
|
1676
|
-
|
|
1677
|
-
updated_at?: string | undefined;
|
|
1824
|
+
team?: string | undefined;
|
|
1678
1825
|
lookup_key?: string | undefined;
|
|
1679
1826
|
acl?: {
|
|
1680
1827
|
add?: {
|
|
@@ -1700,19 +1847,19 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
|
|
|
1700
1847
|
tools: {
|
|
1701
1848
|
id: string;
|
|
1702
1849
|
status?: string | undefined;
|
|
1703
|
-
agent?: string | undefined;
|
|
1704
1850
|
created_at?: string | undefined;
|
|
1705
|
-
metadata?: unknown;
|
|
1706
|
-
name?: string | undefined;
|
|
1707
1851
|
updated_at?: string | undefined;
|
|
1708
|
-
|
|
1852
|
+
name?: string | undefined;
|
|
1853
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1709
1854
|
description?: string | undefined;
|
|
1855
|
+
agent?: string | undefined;
|
|
1856
|
+
lookup_key?: string | undefined;
|
|
1710
1857
|
kind?: string | undefined;
|
|
1711
1858
|
config?: string | undefined;
|
|
1712
1859
|
app?: string | undefined;
|
|
1713
1860
|
instruction?: string | undefined;
|
|
1714
|
-
parameters?: unknown;
|
|
1715
|
-
builtin_tool_config?: unknown;
|
|
1861
|
+
parameters?: Record<string, unknown> | undefined;
|
|
1862
|
+
builtin_tool_config?: Record<string, unknown> | undefined;
|
|
1716
1863
|
builtin_tool_key?: string | undefined;
|
|
1717
1864
|
handler_type?: string | undefined;
|
|
1718
1865
|
parameters_config?: string | undefined;
|
|
@@ -1800,14 +1947,14 @@ export declare const agentRoutineSchema: z.ZodObject<{
|
|
|
1800
1947
|
config: z.ZodOptional<z.ZodString>;
|
|
1801
1948
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1802
1949
|
description: z.ZodOptional<z.ZodString>;
|
|
1803
|
-
event_config: z.ZodOptional<z.ZodUnknown
|
|
1950
|
+
event_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1804
1951
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1805
1952
|
handler_type: z.ZodOptional<z.ZodString>;
|
|
1806
1953
|
id: z.ZodString;
|
|
1807
1954
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1808
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
1955
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1809
1956
|
name: z.ZodOptional<z.ZodString>;
|
|
1810
|
-
preset_config: z.ZodOptional<z.ZodUnknown
|
|
1957
|
+
preset_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1811
1958
|
preset_name: z.ZodOptional<z.ZodString>;
|
|
1812
1959
|
schedule: z.ZodOptional<z.ZodString>;
|
|
1813
1960
|
script: z.ZodOptional<z.ZodString>;
|
|
@@ -1817,14 +1964,14 @@ export declare const agentRoutineSchema: z.ZodObject<{
|
|
|
1817
1964
|
}, "strip", z.ZodTypeAny, {
|
|
1818
1965
|
id: string;
|
|
1819
1966
|
status?: string | undefined;
|
|
1820
|
-
agent?: string | undefined;
|
|
1821
1967
|
created_at?: string | undefined;
|
|
1822
|
-
metadata?: unknown;
|
|
1823
|
-
name?: string | undefined;
|
|
1824
1968
|
updated_at?: string | undefined;
|
|
1969
|
+
name?: string | undefined;
|
|
1970
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1971
|
+
description?: string | undefined;
|
|
1972
|
+
agent?: string | undefined;
|
|
1825
1973
|
event_type?: string | undefined;
|
|
1826
1974
|
lookup_key?: string | undefined;
|
|
1827
|
-
description?: string | undefined;
|
|
1828
1975
|
config?: string | undefined;
|
|
1829
1976
|
acl?: {
|
|
1830
1977
|
add?: {
|
|
@@ -1844,8 +1991,8 @@ export declare const agentRoutineSchema: z.ZodObject<{
|
|
|
1844
1991
|
} | undefined;
|
|
1845
1992
|
app?: string | undefined;
|
|
1846
1993
|
handler_type?: string | undefined;
|
|
1847
|
-
event_config?: unknown;
|
|
1848
|
-
preset_config?: unknown;
|
|
1994
|
+
event_config?: Record<string, unknown> | undefined;
|
|
1995
|
+
preset_config?: Record<string, unknown> | undefined;
|
|
1849
1996
|
preset_name?: string | undefined;
|
|
1850
1997
|
schedule?: string | undefined;
|
|
1851
1998
|
script?: string | undefined;
|
|
@@ -1853,14 +2000,14 @@ export declare const agentRoutineSchema: z.ZodObject<{
|
|
|
1853
2000
|
}, {
|
|
1854
2001
|
id: string;
|
|
1855
2002
|
status?: string | undefined;
|
|
1856
|
-
agent?: string | undefined;
|
|
1857
2003
|
created_at?: string | undefined;
|
|
1858
|
-
metadata?: unknown;
|
|
1859
|
-
name?: string | undefined;
|
|
1860
2004
|
updated_at?: string | undefined;
|
|
2005
|
+
name?: string | undefined;
|
|
2006
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2007
|
+
description?: string | undefined;
|
|
2008
|
+
agent?: string | undefined;
|
|
1861
2009
|
event_type?: string | undefined;
|
|
1862
2010
|
lookup_key?: string | undefined;
|
|
1863
|
-
description?: string | undefined;
|
|
1864
2011
|
config?: string | undefined;
|
|
1865
2012
|
acl?: {
|
|
1866
2013
|
add?: {
|
|
@@ -1880,8 +2027,8 @@ export declare const agentRoutineSchema: z.ZodObject<{
|
|
|
1880
2027
|
} | undefined;
|
|
1881
2028
|
app?: string | undefined;
|
|
1882
2029
|
handler_type?: string | undefined;
|
|
1883
|
-
event_config?: unknown;
|
|
1884
|
-
preset_config?: unknown;
|
|
2030
|
+
event_config?: Record<string, unknown> | undefined;
|
|
2031
|
+
preset_config?: Record<string, unknown> | undefined;
|
|
1885
2032
|
preset_name?: string | undefined;
|
|
1886
2033
|
schedule?: string | undefined;
|
|
1887
2034
|
script?: string | undefined;
|
|
@@ -1964,14 +2111,14 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
1964
2111
|
config: z.ZodOptional<z.ZodString>;
|
|
1965
2112
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1966
2113
|
description: z.ZodOptional<z.ZodString>;
|
|
1967
|
-
event_config: z.ZodOptional<z.ZodUnknown
|
|
2114
|
+
event_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1968
2115
|
event_type: z.ZodOptional<z.ZodString>;
|
|
1969
2116
|
handler_type: z.ZodOptional<z.ZodString>;
|
|
1970
2117
|
id: z.ZodString;
|
|
1971
2118
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1972
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
2119
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1973
2120
|
name: z.ZodOptional<z.ZodString>;
|
|
1974
|
-
preset_config: z.ZodOptional<z.ZodUnknown
|
|
2121
|
+
preset_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1975
2122
|
preset_name: z.ZodOptional<z.ZodString>;
|
|
1976
2123
|
schedule: z.ZodOptional<z.ZodString>;
|
|
1977
2124
|
script: z.ZodOptional<z.ZodString>;
|
|
@@ -1981,14 +2128,14 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
1981
2128
|
}, "strip", z.ZodTypeAny, {
|
|
1982
2129
|
id: string;
|
|
1983
2130
|
status?: string | undefined;
|
|
1984
|
-
agent?: string | undefined;
|
|
1985
2131
|
created_at?: string | undefined;
|
|
1986
|
-
metadata?: unknown;
|
|
1987
|
-
name?: string | undefined;
|
|
1988
2132
|
updated_at?: string | undefined;
|
|
2133
|
+
name?: string | undefined;
|
|
2134
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2135
|
+
description?: string | undefined;
|
|
2136
|
+
agent?: string | undefined;
|
|
1989
2137
|
event_type?: string | undefined;
|
|
1990
2138
|
lookup_key?: string | undefined;
|
|
1991
|
-
description?: string | undefined;
|
|
1992
2139
|
config?: string | undefined;
|
|
1993
2140
|
acl?: {
|
|
1994
2141
|
add?: {
|
|
@@ -2008,8 +2155,8 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2008
2155
|
} | undefined;
|
|
2009
2156
|
app?: string | undefined;
|
|
2010
2157
|
handler_type?: string | undefined;
|
|
2011
|
-
event_config?: unknown;
|
|
2012
|
-
preset_config?: unknown;
|
|
2158
|
+
event_config?: Record<string, unknown> | undefined;
|
|
2159
|
+
preset_config?: Record<string, unknown> | undefined;
|
|
2013
2160
|
preset_name?: string | undefined;
|
|
2014
2161
|
schedule?: string | undefined;
|
|
2015
2162
|
script?: string | undefined;
|
|
@@ -2017,14 +2164,14 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2017
2164
|
}, {
|
|
2018
2165
|
id: string;
|
|
2019
2166
|
status?: string | undefined;
|
|
2020
|
-
agent?: string | undefined;
|
|
2021
2167
|
created_at?: string | undefined;
|
|
2022
|
-
metadata?: unknown;
|
|
2023
|
-
name?: string | undefined;
|
|
2024
2168
|
updated_at?: string | undefined;
|
|
2169
|
+
name?: string | undefined;
|
|
2170
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2171
|
+
description?: string | undefined;
|
|
2172
|
+
agent?: string | undefined;
|
|
2025
2173
|
event_type?: string | undefined;
|
|
2026
2174
|
lookup_key?: string | undefined;
|
|
2027
|
-
description?: string | undefined;
|
|
2028
2175
|
config?: string | undefined;
|
|
2029
2176
|
acl?: {
|
|
2030
2177
|
add?: {
|
|
@@ -2044,8 +2191,8 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2044
2191
|
} | undefined;
|
|
2045
2192
|
app?: string | undefined;
|
|
2046
2193
|
handler_type?: string | undefined;
|
|
2047
|
-
event_config?: unknown;
|
|
2048
|
-
preset_config?: unknown;
|
|
2194
|
+
event_config?: Record<string, unknown> | undefined;
|
|
2195
|
+
preset_config?: Record<string, unknown> | undefined;
|
|
2049
2196
|
preset_name?: string | undefined;
|
|
2050
2197
|
schedule?: string | undefined;
|
|
2051
2198
|
script?: string | undefined;
|
|
@@ -2055,14 +2202,14 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2055
2202
|
data: {
|
|
2056
2203
|
id: string;
|
|
2057
2204
|
status?: string | undefined;
|
|
2058
|
-
agent?: string | undefined;
|
|
2059
2205
|
created_at?: string | undefined;
|
|
2060
|
-
metadata?: unknown;
|
|
2061
|
-
name?: string | undefined;
|
|
2062
2206
|
updated_at?: string | undefined;
|
|
2207
|
+
name?: string | undefined;
|
|
2208
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2209
|
+
description?: string | undefined;
|
|
2210
|
+
agent?: string | undefined;
|
|
2063
2211
|
event_type?: string | undefined;
|
|
2064
2212
|
lookup_key?: string | undefined;
|
|
2065
|
-
description?: string | undefined;
|
|
2066
2213
|
config?: string | undefined;
|
|
2067
2214
|
acl?: {
|
|
2068
2215
|
add?: {
|
|
@@ -2082,8 +2229,8 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2082
2229
|
} | undefined;
|
|
2083
2230
|
app?: string | undefined;
|
|
2084
2231
|
handler_type?: string | undefined;
|
|
2085
|
-
event_config?: unknown;
|
|
2086
|
-
preset_config?: unknown;
|
|
2232
|
+
event_config?: Record<string, unknown> | undefined;
|
|
2233
|
+
preset_config?: Record<string, unknown> | undefined;
|
|
2087
2234
|
preset_name?: string | undefined;
|
|
2088
2235
|
schedule?: string | undefined;
|
|
2089
2236
|
script?: string | undefined;
|
|
@@ -2093,14 +2240,14 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2093
2240
|
data: {
|
|
2094
2241
|
id: string;
|
|
2095
2242
|
status?: string | undefined;
|
|
2096
|
-
agent?: string | undefined;
|
|
2097
2243
|
created_at?: string | undefined;
|
|
2098
|
-
metadata?: unknown;
|
|
2099
|
-
name?: string | undefined;
|
|
2100
2244
|
updated_at?: string | undefined;
|
|
2245
|
+
name?: string | undefined;
|
|
2246
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2247
|
+
description?: string | undefined;
|
|
2248
|
+
agent?: string | undefined;
|
|
2101
2249
|
event_type?: string | undefined;
|
|
2102
2250
|
lookup_key?: string | undefined;
|
|
2103
|
-
description?: string | undefined;
|
|
2104
2251
|
config?: string | undefined;
|
|
2105
2252
|
acl?: {
|
|
2106
2253
|
add?: {
|
|
@@ -2120,8 +2267,8 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
|
|
|
2120
2267
|
} | undefined;
|
|
2121
2268
|
app?: string | undefined;
|
|
2122
2269
|
handler_type?: string | undefined;
|
|
2123
|
-
event_config?: unknown;
|
|
2124
|
-
preset_config?: unknown;
|
|
2270
|
+
event_config?: Record<string, unknown> | undefined;
|
|
2271
|
+
preset_config?: Record<string, unknown> | undefined;
|
|
2125
2272
|
preset_name?: string | undefined;
|
|
2126
2273
|
schedule?: string | undefined;
|
|
2127
2274
|
script?: string | undefined;
|
|
@@ -2134,27 +2281,27 @@ export declare const agentImpersonationToolListSchema: z.ZodObject<{
|
|
|
2134
2281
|
data: z.ZodArray<z.ZodObject<{
|
|
2135
2282
|
description: z.ZodOptional<z.ZodString>;
|
|
2136
2283
|
name: z.ZodString;
|
|
2137
|
-
parameters: z.ZodOptional<z.ZodUnknown
|
|
2284
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2138
2285
|
}, "strip", z.ZodTypeAny, {
|
|
2139
2286
|
name: string;
|
|
2140
2287
|
description?: string | undefined;
|
|
2141
|
-
parameters?: unknown;
|
|
2288
|
+
parameters?: Record<string, unknown> | undefined;
|
|
2142
2289
|
}, {
|
|
2143
2290
|
name: string;
|
|
2144
2291
|
description?: string | undefined;
|
|
2145
|
-
parameters?: unknown;
|
|
2292
|
+
parameters?: Record<string, unknown> | undefined;
|
|
2146
2293
|
}>, "many">;
|
|
2147
2294
|
}, "strip", z.ZodTypeAny, {
|
|
2148
2295
|
data: {
|
|
2149
2296
|
name: string;
|
|
2150
2297
|
description?: string | undefined;
|
|
2151
|
-
parameters?: unknown;
|
|
2298
|
+
parameters?: Record<string, unknown> | undefined;
|
|
2152
2299
|
}[];
|
|
2153
2300
|
}, {
|
|
2154
2301
|
data: {
|
|
2155
2302
|
name: string;
|
|
2156
2303
|
description?: string | undefined;
|
|
2157
|
-
parameters?: unknown;
|
|
2304
|
+
parameters?: Record<string, unknown> | undefined;
|
|
2158
2305
|
}[];
|
|
2159
2306
|
}>;
|
|
2160
2307
|
export type AgentImpersonationToolList = z.infer<typeof agentImpersonationToolListSchema>;
|
|
@@ -2201,26 +2348,26 @@ export declare const agentSkillListSchema: z.ZodObject<{
|
|
|
2201
2348
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2202
2349
|
id: z.ZodString;
|
|
2203
2350
|
instruction: z.ZodOptional<z.ZodString>;
|
|
2204
|
-
metadata: z.ZodOptional<z.ZodUnknown
|
|
2351
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2205
2352
|
status: z.ZodOptional<z.ZodString>;
|
|
2206
2353
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
2207
2354
|
}, "strip", z.ZodTypeAny, {
|
|
2208
2355
|
id: string;
|
|
2209
2356
|
status?: string | undefined;
|
|
2210
|
-
agent?: string | undefined;
|
|
2211
2357
|
created_at?: string | undefined;
|
|
2212
|
-
metadata?: unknown;
|
|
2213
2358
|
updated_at?: string | undefined;
|
|
2359
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2360
|
+
agent?: string | undefined;
|
|
2214
2361
|
config?: string | undefined;
|
|
2215
2362
|
app?: string | undefined;
|
|
2216
2363
|
instruction?: string | undefined;
|
|
2217
2364
|
}, {
|
|
2218
2365
|
id: string;
|
|
2219
2366
|
status?: string | undefined;
|
|
2220
|
-
agent?: string | undefined;
|
|
2221
2367
|
created_at?: string | undefined;
|
|
2222
|
-
metadata?: unknown;
|
|
2223
2368
|
updated_at?: string | undefined;
|
|
2369
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2370
|
+
agent?: string | undefined;
|
|
2224
2371
|
config?: string | undefined;
|
|
2225
2372
|
app?: string | undefined;
|
|
2226
2373
|
instruction?: string | undefined;
|
|
@@ -2229,10 +2376,10 @@ export declare const agentSkillListSchema: z.ZodObject<{
|
|
|
2229
2376
|
data: {
|
|
2230
2377
|
id: string;
|
|
2231
2378
|
status?: string | undefined;
|
|
2232
|
-
agent?: string | undefined;
|
|
2233
2379
|
created_at?: string | undefined;
|
|
2234
|
-
metadata?: unknown;
|
|
2235
2380
|
updated_at?: string | undefined;
|
|
2381
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2382
|
+
agent?: string | undefined;
|
|
2236
2383
|
config?: string | undefined;
|
|
2237
2384
|
app?: string | undefined;
|
|
2238
2385
|
instruction?: string | undefined;
|
|
@@ -2241,10 +2388,10 @@ export declare const agentSkillListSchema: z.ZodObject<{
|
|
|
2241
2388
|
data: {
|
|
2242
2389
|
id: string;
|
|
2243
2390
|
status?: string | undefined;
|
|
2244
|
-
agent?: string | undefined;
|
|
2245
2391
|
created_at?: string | undefined;
|
|
2246
|
-
metadata?: unknown;
|
|
2247
2392
|
updated_at?: string | undefined;
|
|
2393
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2394
|
+
agent?: string | undefined;
|
|
2248
2395
|
config?: string | undefined;
|
|
2249
2396
|
app?: string | undefined;
|
|
2250
2397
|
instruction?: string | undefined;
|