@archastro/sdk 0.21.0 → 0.22.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/channels/api_chat_channel.d.ts +3 -1
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +6 -2
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -1
- package/dist/client.js.map +1 -1
- package/dist/types/artifacts.d.ts +97 -0
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/automations.d.ts +4 -4
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +5 -5
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +3762 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +2585 -152
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +48 -12
- package/dist/types/common.js.map +1 -1
- package/dist/types/computers.d.ts +20 -0
- package/dist/types/computers.d.ts.map +1 -1
- package/dist/types/computers.js +8 -1
- package/dist/types/computers.js.map +1 -1
- package/dist/types/tasks.d.ts +244 -3
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +46 -4
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +381 -0
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/threads.d.ts +357 -0
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +3 -1
- package/dist/types/threads.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +15 -0
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +1 -1
- package/dist/v1/resources/agent_computers.d.ts +15 -0
- package/dist/v1/resources/agent_computers.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.js +1 -1
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_requests.d.ts +8 -0
- package/dist/v1/resources/agent_requests.d.ts.map +1 -1
- package/dist/v1/resources/agent_requests.js +9 -1
- package/dist/v1/resources/agent_requests.js.map +1 -1
- package/dist/v1/resources/agent_routines.d.ts +15 -0
- package/dist/v1/resources/agent_routines.d.ts.map +1 -1
- package/dist/v1/resources/agent_routines.js +1 -1
- package/dist/v1/resources/agent_routines.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +65 -0
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +2 -1
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +30 -0
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +1 -1
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/automation_runs.d.ts +6 -2
- package/dist/v1/resources/automation_runs.d.ts.map +1 -1
- package/dist/v1/resources/automation_runs.js +10 -4
- package/dist/v1/resources/automation_runs.js.map +1 -1
- package/dist/v1/resources/computers.d.ts +113 -0
- package/dist/v1/resources/computers.d.ts.map +1 -0
- package/dist/v1/resources/computers.js +113 -0
- package/dist/v1/resources/computers.js.map +1 -0
- package/dist/v1/resources/custom_objects.d.ts +60 -0
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +1 -1
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/files.d.ts +24 -0
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +8 -1
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +2 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +3 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/orgs.d.ts +317 -40
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +151 -31
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +15 -0
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +1 -1
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/task_epics.d.ts +85 -0
- package/dist/v1/resources/task_epics.d.ts.map +1 -0
- package/dist/v1/resources/task_epics.js +71 -0
- package/dist/v1/resources/task_epics.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +61 -1
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +40 -2
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +337 -51
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +111 -45
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +15 -0
- 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 +53 -3
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +5 -4
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +294 -51
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +139 -45
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1.d.ts +4 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +7 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
package/dist/types/threads.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ export interface Thread {
|
|
|
95
95
|
tags?: string[] | undefined;
|
|
96
96
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
97
97
|
team?: string | null | undefined;
|
|
98
|
+
/** Read-only key of the template used to create this thread. `null` for threads not created from a template. */
|
|
99
|
+
thread_template_key?: string | null | undefined;
|
|
98
100
|
/** Human-readable name of the thread. `null` if no title has been set. */
|
|
99
101
|
title?: string | null | undefined;
|
|
100
102
|
/** Offset-free expiry timestamp after which the thread may be automatically cleaned up. `null` if the thread does not expire. */
|
|
@@ -220,6 +222,32 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
220
222
|
principal_type: string;
|
|
221
223
|
principal?: string | undefined;
|
|
222
224
|
}>, "many">>;
|
|
225
|
+
add_denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
227
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
228
|
+
principal_type: z.ZodString;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
actions: string[];
|
|
231
|
+
principal_type: string;
|
|
232
|
+
principal?: string | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
actions: string[];
|
|
235
|
+
principal_type: string;
|
|
236
|
+
principal?: string | undefined;
|
|
237
|
+
}>, "many">>;
|
|
238
|
+
denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
240
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
241
|
+
principal_type: z.ZodString;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
actions: string[];
|
|
244
|
+
principal_type: string;
|
|
245
|
+
principal?: string | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
actions: string[];
|
|
248
|
+
principal_type: string;
|
|
249
|
+
principal?: string | undefined;
|
|
250
|
+
}>, "many">>;
|
|
223
251
|
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
252
|
actions: z.ZodArray<z.ZodString, "many">;
|
|
225
253
|
principal: z.ZodOptional<z.ZodString>;
|
|
@@ -233,6 +261,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
233
261
|
principal_type: string;
|
|
234
262
|
principal?: string | undefined;
|
|
235
263
|
}>, "many">>;
|
|
264
|
+
preserve_denies: z.ZodOptional<z.ZodBoolean>;
|
|
236
265
|
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
266
|
principal: z.ZodOptional<z.ZodString>;
|
|
238
267
|
principal_type: z.ZodString;
|
|
@@ -243,36 +272,76 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
243
272
|
principal_type: string;
|
|
244
273
|
principal?: string | undefined;
|
|
245
274
|
}>, "many">>;
|
|
275
|
+
remove_denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
276
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
277
|
+
principal_type: z.ZodString;
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
principal_type: string;
|
|
280
|
+
principal?: string | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
principal_type: string;
|
|
283
|
+
principal?: string | undefined;
|
|
284
|
+
}>, "many">>;
|
|
246
285
|
}, "strip", z.ZodTypeAny, {
|
|
247
286
|
add?: {
|
|
248
287
|
actions: string[];
|
|
249
288
|
principal_type: string;
|
|
250
289
|
principal?: string | undefined;
|
|
251
290
|
}[] | undefined;
|
|
291
|
+
add_denies?: {
|
|
292
|
+
actions: string[];
|
|
293
|
+
principal_type: string;
|
|
294
|
+
principal?: string | undefined;
|
|
295
|
+
}[] | undefined;
|
|
296
|
+
denies?: {
|
|
297
|
+
actions: string[];
|
|
298
|
+
principal_type: string;
|
|
299
|
+
principal?: string | undefined;
|
|
300
|
+
}[] | undefined;
|
|
252
301
|
grants?: {
|
|
253
302
|
actions: string[];
|
|
254
303
|
principal_type: string;
|
|
255
304
|
principal?: string | undefined;
|
|
256
305
|
}[] | undefined;
|
|
306
|
+
preserve_denies?: boolean | undefined;
|
|
257
307
|
remove?: {
|
|
258
308
|
principal_type: string;
|
|
259
309
|
principal?: string | undefined;
|
|
260
310
|
}[] | undefined;
|
|
311
|
+
remove_denies?: {
|
|
312
|
+
principal_type: string;
|
|
313
|
+
principal?: string | undefined;
|
|
314
|
+
}[] | undefined;
|
|
261
315
|
}, {
|
|
262
316
|
add?: {
|
|
263
317
|
actions: string[];
|
|
264
318
|
principal_type: string;
|
|
265
319
|
principal?: string | undefined;
|
|
266
320
|
}[] | undefined;
|
|
321
|
+
add_denies?: {
|
|
322
|
+
actions: string[];
|
|
323
|
+
principal_type: string;
|
|
324
|
+
principal?: string | undefined;
|
|
325
|
+
}[] | undefined;
|
|
326
|
+
denies?: {
|
|
327
|
+
actions: string[];
|
|
328
|
+
principal_type: string;
|
|
329
|
+
principal?: string | undefined;
|
|
330
|
+
}[] | undefined;
|
|
267
331
|
grants?: {
|
|
268
332
|
actions: string[];
|
|
269
333
|
principal_type: string;
|
|
270
334
|
principal?: string | undefined;
|
|
271
335
|
}[] | undefined;
|
|
336
|
+
preserve_denies?: boolean | undefined;
|
|
272
337
|
remove?: {
|
|
273
338
|
principal_type: string;
|
|
274
339
|
principal?: string | undefined;
|
|
275
340
|
}[] | undefined;
|
|
341
|
+
remove_denies?: {
|
|
342
|
+
principal_type: string;
|
|
343
|
+
principal?: string | undefined;
|
|
344
|
+
}[] | undefined;
|
|
276
345
|
}>>>;
|
|
277
346
|
actors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
347
|
alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -719,15 +788,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
719
788
|
principal_type: string;
|
|
720
789
|
principal?: string | undefined;
|
|
721
790
|
}[] | undefined;
|
|
791
|
+
add_denies?: {
|
|
792
|
+
actions: string[];
|
|
793
|
+
principal_type: string;
|
|
794
|
+
principal?: string | undefined;
|
|
795
|
+
}[] | undefined;
|
|
796
|
+
denies?: {
|
|
797
|
+
actions: string[];
|
|
798
|
+
principal_type: string;
|
|
799
|
+
principal?: string | undefined;
|
|
800
|
+
}[] | undefined;
|
|
722
801
|
grants?: {
|
|
723
802
|
actions: string[];
|
|
724
803
|
principal_type: string;
|
|
725
804
|
principal?: string | undefined;
|
|
726
805
|
}[] | undefined;
|
|
806
|
+
preserve_denies?: boolean | undefined;
|
|
727
807
|
remove?: {
|
|
728
808
|
principal_type: string;
|
|
729
809
|
principal?: string | undefined;
|
|
730
810
|
}[] | undefined;
|
|
811
|
+
remove_denies?: {
|
|
812
|
+
principal_type: string;
|
|
813
|
+
principal?: string | undefined;
|
|
814
|
+
}[] | undefined;
|
|
731
815
|
} | null | undefined;
|
|
732
816
|
attachments?: {
|
|
733
817
|
type: string;
|
|
@@ -859,15 +943,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
859
943
|
principal_type: string;
|
|
860
944
|
principal?: string | undefined;
|
|
861
945
|
}[] | undefined;
|
|
946
|
+
add_denies?: {
|
|
947
|
+
actions: string[];
|
|
948
|
+
principal_type: string;
|
|
949
|
+
principal?: string | undefined;
|
|
950
|
+
}[] | undefined;
|
|
951
|
+
denies?: {
|
|
952
|
+
actions: string[];
|
|
953
|
+
principal_type: string;
|
|
954
|
+
principal?: string | undefined;
|
|
955
|
+
}[] | undefined;
|
|
862
956
|
grants?: {
|
|
863
957
|
actions: string[];
|
|
864
958
|
principal_type: string;
|
|
865
959
|
principal?: string | undefined;
|
|
866
960
|
}[] | undefined;
|
|
961
|
+
preserve_denies?: boolean | undefined;
|
|
867
962
|
remove?: {
|
|
868
963
|
principal_type: string;
|
|
869
964
|
principal?: string | undefined;
|
|
870
965
|
}[] | undefined;
|
|
966
|
+
remove_denies?: {
|
|
967
|
+
principal_type: string;
|
|
968
|
+
principal?: string | undefined;
|
|
969
|
+
}[] | undefined;
|
|
871
970
|
} | null | undefined;
|
|
872
971
|
attachments?: {
|
|
873
972
|
type: string;
|
|
@@ -1044,6 +1143,32 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1044
1143
|
principal_type: string;
|
|
1045
1144
|
principal?: string | undefined;
|
|
1046
1145
|
}>, "many">>;
|
|
1146
|
+
add_denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1147
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
1148
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
principal_type: z.ZodString;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
actions: string[];
|
|
1152
|
+
principal_type: string;
|
|
1153
|
+
principal?: string | undefined;
|
|
1154
|
+
}, {
|
|
1155
|
+
actions: string[];
|
|
1156
|
+
principal_type: string;
|
|
1157
|
+
principal?: string | undefined;
|
|
1158
|
+
}>, "many">>;
|
|
1159
|
+
denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1160
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
1161
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
principal_type: z.ZodString;
|
|
1163
|
+
}, "strip", z.ZodTypeAny, {
|
|
1164
|
+
actions: string[];
|
|
1165
|
+
principal_type: string;
|
|
1166
|
+
principal?: string | undefined;
|
|
1167
|
+
}, {
|
|
1168
|
+
actions: string[];
|
|
1169
|
+
principal_type: string;
|
|
1170
|
+
principal?: string | undefined;
|
|
1171
|
+
}>, "many">>;
|
|
1047
1172
|
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1048
1173
|
actions: z.ZodArray<z.ZodString, "many">;
|
|
1049
1174
|
principal: z.ZodOptional<z.ZodString>;
|
|
@@ -1057,6 +1182,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1057
1182
|
principal_type: string;
|
|
1058
1183
|
principal?: string | undefined;
|
|
1059
1184
|
}>, "many">>;
|
|
1185
|
+
preserve_denies: z.ZodOptional<z.ZodBoolean>;
|
|
1060
1186
|
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1061
1187
|
principal: z.ZodOptional<z.ZodString>;
|
|
1062
1188
|
principal_type: z.ZodString;
|
|
@@ -1067,36 +1193,76 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1067
1193
|
principal_type: string;
|
|
1068
1194
|
principal?: string | undefined;
|
|
1069
1195
|
}>, "many">>;
|
|
1196
|
+
remove_denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1197
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
principal_type: z.ZodString;
|
|
1199
|
+
}, "strip", z.ZodTypeAny, {
|
|
1200
|
+
principal_type: string;
|
|
1201
|
+
principal?: string | undefined;
|
|
1202
|
+
}, {
|
|
1203
|
+
principal_type: string;
|
|
1204
|
+
principal?: string | undefined;
|
|
1205
|
+
}>, "many">>;
|
|
1070
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1207
|
add?: {
|
|
1072
1208
|
actions: string[];
|
|
1073
1209
|
principal_type: string;
|
|
1074
1210
|
principal?: string | undefined;
|
|
1075
1211
|
}[] | undefined;
|
|
1212
|
+
add_denies?: {
|
|
1213
|
+
actions: string[];
|
|
1214
|
+
principal_type: string;
|
|
1215
|
+
principal?: string | undefined;
|
|
1216
|
+
}[] | undefined;
|
|
1217
|
+
denies?: {
|
|
1218
|
+
actions: string[];
|
|
1219
|
+
principal_type: string;
|
|
1220
|
+
principal?: string | undefined;
|
|
1221
|
+
}[] | undefined;
|
|
1076
1222
|
grants?: {
|
|
1077
1223
|
actions: string[];
|
|
1078
1224
|
principal_type: string;
|
|
1079
1225
|
principal?: string | undefined;
|
|
1080
1226
|
}[] | undefined;
|
|
1227
|
+
preserve_denies?: boolean | undefined;
|
|
1081
1228
|
remove?: {
|
|
1082
1229
|
principal_type: string;
|
|
1083
1230
|
principal?: string | undefined;
|
|
1084
1231
|
}[] | undefined;
|
|
1232
|
+
remove_denies?: {
|
|
1233
|
+
principal_type: string;
|
|
1234
|
+
principal?: string | undefined;
|
|
1235
|
+
}[] | undefined;
|
|
1085
1236
|
}, {
|
|
1086
1237
|
add?: {
|
|
1087
1238
|
actions: string[];
|
|
1088
1239
|
principal_type: string;
|
|
1089
1240
|
principal?: string | undefined;
|
|
1090
1241
|
}[] | undefined;
|
|
1242
|
+
add_denies?: {
|
|
1243
|
+
actions: string[];
|
|
1244
|
+
principal_type: string;
|
|
1245
|
+
principal?: string | undefined;
|
|
1246
|
+
}[] | undefined;
|
|
1247
|
+
denies?: {
|
|
1248
|
+
actions: string[];
|
|
1249
|
+
principal_type: string;
|
|
1250
|
+
principal?: string | undefined;
|
|
1251
|
+
}[] | undefined;
|
|
1091
1252
|
grants?: {
|
|
1092
1253
|
actions: string[];
|
|
1093
1254
|
principal_type: string;
|
|
1094
1255
|
principal?: string | undefined;
|
|
1095
1256
|
}[] | undefined;
|
|
1257
|
+
preserve_denies?: boolean | undefined;
|
|
1096
1258
|
remove?: {
|
|
1097
1259
|
principal_type: string;
|
|
1098
1260
|
principal?: string | undefined;
|
|
1099
1261
|
}[] | undefined;
|
|
1262
|
+
remove_denies?: {
|
|
1263
|
+
principal_type: string;
|
|
1264
|
+
principal?: string | undefined;
|
|
1265
|
+
}[] | undefined;
|
|
1100
1266
|
}>>>;
|
|
1101
1267
|
app: z.ZodOptional<z.ZodString>;
|
|
1102
1268
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -2112,15 +2278,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2112
2278
|
principal_type: string;
|
|
2113
2279
|
principal?: string | undefined;
|
|
2114
2280
|
}[] | undefined;
|
|
2281
|
+
add_denies?: {
|
|
2282
|
+
actions: string[];
|
|
2283
|
+
principal_type: string;
|
|
2284
|
+
principal?: string | undefined;
|
|
2285
|
+
}[] | undefined;
|
|
2286
|
+
denies?: {
|
|
2287
|
+
actions: string[];
|
|
2288
|
+
principal_type: string;
|
|
2289
|
+
principal?: string | undefined;
|
|
2290
|
+
}[] | undefined;
|
|
2115
2291
|
grants?: {
|
|
2116
2292
|
actions: string[];
|
|
2117
2293
|
principal_type: string;
|
|
2118
2294
|
principal?: string | undefined;
|
|
2119
2295
|
}[] | undefined;
|
|
2296
|
+
preserve_denies?: boolean | undefined;
|
|
2120
2297
|
remove?: {
|
|
2121
2298
|
principal_type: string;
|
|
2122
2299
|
principal?: string | undefined;
|
|
2123
2300
|
}[] | undefined;
|
|
2301
|
+
remove_denies?: {
|
|
2302
|
+
principal_type: string;
|
|
2303
|
+
principal?: string | undefined;
|
|
2304
|
+
}[] | undefined;
|
|
2124
2305
|
} | null | undefined;
|
|
2125
2306
|
default_model?: string | null | undefined;
|
|
2126
2307
|
identity?: string | null | undefined;
|
|
@@ -2290,15 +2471,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2290
2471
|
principal_type: string;
|
|
2291
2472
|
principal?: string | undefined;
|
|
2292
2473
|
}[] | undefined;
|
|
2474
|
+
add_denies?: {
|
|
2475
|
+
actions: string[];
|
|
2476
|
+
principal_type: string;
|
|
2477
|
+
principal?: string | undefined;
|
|
2478
|
+
}[] | undefined;
|
|
2479
|
+
denies?: {
|
|
2480
|
+
actions: string[];
|
|
2481
|
+
principal_type: string;
|
|
2482
|
+
principal?: string | undefined;
|
|
2483
|
+
}[] | undefined;
|
|
2293
2484
|
grants?: {
|
|
2294
2485
|
actions: string[];
|
|
2295
2486
|
principal_type: string;
|
|
2296
2487
|
principal?: string | undefined;
|
|
2297
2488
|
}[] | undefined;
|
|
2489
|
+
preserve_denies?: boolean | undefined;
|
|
2298
2490
|
remove?: {
|
|
2299
2491
|
principal_type: string;
|
|
2300
2492
|
principal?: string | undefined;
|
|
2301
2493
|
}[] | undefined;
|
|
2494
|
+
remove_denies?: {
|
|
2495
|
+
principal_type: string;
|
|
2496
|
+
principal?: string | undefined;
|
|
2497
|
+
}[] | undefined;
|
|
2302
2498
|
} | null | undefined;
|
|
2303
2499
|
default_model?: string | null | undefined;
|
|
2304
2500
|
identity?: string | null | undefined;
|
|
@@ -2469,6 +2665,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2469
2665
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2470
2666
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
2471
2667
|
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2668
|
+
/** Read-only key of the template used to create this thread. `null` for threads not created from a template. */
|
|
2669
|
+
thread_template_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2472
2670
|
/** Human-readable name of the thread. `null` if no title has been set. */
|
|
2473
2671
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2474
2672
|
/** Offset-free expiry timestamp after which the thread may be automatically cleaned up. `null` if the thread does not expire. */
|
|
@@ -2586,15 +2784,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2586
2784
|
principal_type: string;
|
|
2587
2785
|
principal?: string | undefined;
|
|
2588
2786
|
}[] | undefined;
|
|
2787
|
+
add_denies?: {
|
|
2788
|
+
actions: string[];
|
|
2789
|
+
principal_type: string;
|
|
2790
|
+
principal?: string | undefined;
|
|
2791
|
+
}[] | undefined;
|
|
2792
|
+
denies?: {
|
|
2793
|
+
actions: string[];
|
|
2794
|
+
principal_type: string;
|
|
2795
|
+
principal?: string | undefined;
|
|
2796
|
+
}[] | undefined;
|
|
2589
2797
|
grants?: {
|
|
2590
2798
|
actions: string[];
|
|
2591
2799
|
principal_type: string;
|
|
2592
2800
|
principal?: string | undefined;
|
|
2593
2801
|
}[] | undefined;
|
|
2802
|
+
preserve_denies?: boolean | undefined;
|
|
2594
2803
|
remove?: {
|
|
2595
2804
|
principal_type: string;
|
|
2596
2805
|
principal?: string | undefined;
|
|
2597
2806
|
}[] | undefined;
|
|
2807
|
+
remove_denies?: {
|
|
2808
|
+
principal_type: string;
|
|
2809
|
+
principal?: string | undefined;
|
|
2810
|
+
}[] | undefined;
|
|
2598
2811
|
} | null | undefined;
|
|
2599
2812
|
attachments?: {
|
|
2600
2813
|
type: string;
|
|
@@ -2712,15 +2925,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2712
2925
|
principal_type: string;
|
|
2713
2926
|
principal?: string | undefined;
|
|
2714
2927
|
}[] | undefined;
|
|
2928
|
+
add_denies?: {
|
|
2929
|
+
actions: string[];
|
|
2930
|
+
principal_type: string;
|
|
2931
|
+
principal?: string | undefined;
|
|
2932
|
+
}[] | undefined;
|
|
2933
|
+
denies?: {
|
|
2934
|
+
actions: string[];
|
|
2935
|
+
principal_type: string;
|
|
2936
|
+
principal?: string | undefined;
|
|
2937
|
+
}[] | undefined;
|
|
2715
2938
|
grants?: {
|
|
2716
2939
|
actions: string[];
|
|
2717
2940
|
principal_type: string;
|
|
2718
2941
|
principal?: string | undefined;
|
|
2719
2942
|
}[] | undefined;
|
|
2943
|
+
preserve_denies?: boolean | undefined;
|
|
2720
2944
|
remove?: {
|
|
2721
2945
|
principal_type: string;
|
|
2722
2946
|
principal?: string | undefined;
|
|
2723
2947
|
}[] | undefined;
|
|
2948
|
+
remove_denies?: {
|
|
2949
|
+
principal_type: string;
|
|
2950
|
+
principal?: string | undefined;
|
|
2951
|
+
}[] | undefined;
|
|
2724
2952
|
} | null | undefined;
|
|
2725
2953
|
default_model?: string | null | undefined;
|
|
2726
2954
|
identity?: string | null | undefined;
|
|
@@ -2875,6 +3103,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2875
3103
|
} | undefined;
|
|
2876
3104
|
sub_threads?: Record<string, {} | null>[] | null | undefined;
|
|
2877
3105
|
tags?: string[] | undefined;
|
|
3106
|
+
thread_template_key?: string | null | undefined;
|
|
2878
3107
|
ttl?: string | null | undefined;
|
|
2879
3108
|
unread_count?: number | null | undefined;
|
|
2880
3109
|
}, {
|
|
@@ -2982,15 +3211,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2982
3211
|
principal_type: string;
|
|
2983
3212
|
principal?: string | undefined;
|
|
2984
3213
|
}[] | undefined;
|
|
3214
|
+
add_denies?: {
|
|
3215
|
+
actions: string[];
|
|
3216
|
+
principal_type: string;
|
|
3217
|
+
principal?: string | undefined;
|
|
3218
|
+
}[] | undefined;
|
|
3219
|
+
denies?: {
|
|
3220
|
+
actions: string[];
|
|
3221
|
+
principal_type: string;
|
|
3222
|
+
principal?: string | undefined;
|
|
3223
|
+
}[] | undefined;
|
|
2985
3224
|
grants?: {
|
|
2986
3225
|
actions: string[];
|
|
2987
3226
|
principal_type: string;
|
|
2988
3227
|
principal?: string | undefined;
|
|
2989
3228
|
}[] | undefined;
|
|
3229
|
+
preserve_denies?: boolean | undefined;
|
|
2990
3230
|
remove?: {
|
|
2991
3231
|
principal_type: string;
|
|
2992
3232
|
principal?: string | undefined;
|
|
2993
3233
|
}[] | undefined;
|
|
3234
|
+
remove_denies?: {
|
|
3235
|
+
principal_type: string;
|
|
3236
|
+
principal?: string | undefined;
|
|
3237
|
+
}[] | undefined;
|
|
2994
3238
|
} | null | undefined;
|
|
2995
3239
|
attachments?: {
|
|
2996
3240
|
type: string;
|
|
@@ -3108,15 +3352,30 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3108
3352
|
principal_type: string;
|
|
3109
3353
|
principal?: string | undefined;
|
|
3110
3354
|
}[] | undefined;
|
|
3355
|
+
add_denies?: {
|
|
3356
|
+
actions: string[];
|
|
3357
|
+
principal_type: string;
|
|
3358
|
+
principal?: string | undefined;
|
|
3359
|
+
}[] | undefined;
|
|
3360
|
+
denies?: {
|
|
3361
|
+
actions: string[];
|
|
3362
|
+
principal_type: string;
|
|
3363
|
+
principal?: string | undefined;
|
|
3364
|
+
}[] | undefined;
|
|
3111
3365
|
grants?: {
|
|
3112
3366
|
actions: string[];
|
|
3113
3367
|
principal_type: string;
|
|
3114
3368
|
principal?: string | undefined;
|
|
3115
3369
|
}[] | undefined;
|
|
3370
|
+
preserve_denies?: boolean | undefined;
|
|
3116
3371
|
remove?: {
|
|
3117
3372
|
principal_type: string;
|
|
3118
3373
|
principal?: string | undefined;
|
|
3119
3374
|
}[] | undefined;
|
|
3375
|
+
remove_denies?: {
|
|
3376
|
+
principal_type: string;
|
|
3377
|
+
principal?: string | undefined;
|
|
3378
|
+
}[] | undefined;
|
|
3120
3379
|
} | null | undefined;
|
|
3121
3380
|
default_model?: string | null | undefined;
|
|
3122
3381
|
identity?: string | null | undefined;
|
|
@@ -3271,6 +3530,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3271
3530
|
} | undefined;
|
|
3272
3531
|
sub_threads?: Record<string, {} | null>[] | null | undefined;
|
|
3273
3532
|
tags?: string[] | undefined;
|
|
3533
|
+
thread_template_key?: string | null | undefined;
|
|
3274
3534
|
ttl?: string | null | undefined;
|
|
3275
3535
|
unread_count?: number | null | undefined;
|
|
3276
3536
|
}>;
|
|
@@ -3334,6 +3594,32 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3334
3594
|
principal_type: string;
|
|
3335
3595
|
principal?: string | undefined;
|
|
3336
3596
|
}>, "many">>;
|
|
3597
|
+
add_denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3598
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
3599
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
3600
|
+
principal_type: z.ZodString;
|
|
3601
|
+
}, "strip", z.ZodTypeAny, {
|
|
3602
|
+
actions: string[];
|
|
3603
|
+
principal_type: string;
|
|
3604
|
+
principal?: string | undefined;
|
|
3605
|
+
}, {
|
|
3606
|
+
actions: string[];
|
|
3607
|
+
principal_type: string;
|
|
3608
|
+
principal?: string | undefined;
|
|
3609
|
+
}>, "many">>;
|
|
3610
|
+
denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3611
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
3612
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
3613
|
+
principal_type: z.ZodString;
|
|
3614
|
+
}, "strip", z.ZodTypeAny, {
|
|
3615
|
+
actions: string[];
|
|
3616
|
+
principal_type: string;
|
|
3617
|
+
principal?: string | undefined;
|
|
3618
|
+
}, {
|
|
3619
|
+
actions: string[];
|
|
3620
|
+
principal_type: string;
|
|
3621
|
+
principal?: string | undefined;
|
|
3622
|
+
}>, "many">>;
|
|
3337
3623
|
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3338
3624
|
actions: z.ZodArray<z.ZodString, "many">;
|
|
3339
3625
|
principal: z.ZodOptional<z.ZodString>;
|
|
@@ -3347,6 +3633,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3347
3633
|
principal_type: string;
|
|
3348
3634
|
principal?: string | undefined;
|
|
3349
3635
|
}>, "many">>;
|
|
3636
|
+
preserve_denies: z.ZodOptional<z.ZodBoolean>;
|
|
3350
3637
|
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3351
3638
|
principal: z.ZodOptional<z.ZodString>;
|
|
3352
3639
|
principal_type: z.ZodString;
|
|
@@ -3357,36 +3644,76 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3357
3644
|
principal_type: string;
|
|
3358
3645
|
principal?: string | undefined;
|
|
3359
3646
|
}>, "many">>;
|
|
3647
|
+
remove_denies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3648
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
3649
|
+
principal_type: z.ZodString;
|
|
3650
|
+
}, "strip", z.ZodTypeAny, {
|
|
3651
|
+
principal_type: string;
|
|
3652
|
+
principal?: string | undefined;
|
|
3653
|
+
}, {
|
|
3654
|
+
principal_type: string;
|
|
3655
|
+
principal?: string | undefined;
|
|
3656
|
+
}>, "many">>;
|
|
3360
3657
|
}, "strip", z.ZodTypeAny, {
|
|
3361
3658
|
add?: {
|
|
3362
3659
|
actions: string[];
|
|
3363
3660
|
principal_type: string;
|
|
3364
3661
|
principal?: string | undefined;
|
|
3365
3662
|
}[] | undefined;
|
|
3663
|
+
add_denies?: {
|
|
3664
|
+
actions: string[];
|
|
3665
|
+
principal_type: string;
|
|
3666
|
+
principal?: string | undefined;
|
|
3667
|
+
}[] | undefined;
|
|
3668
|
+
denies?: {
|
|
3669
|
+
actions: string[];
|
|
3670
|
+
principal_type: string;
|
|
3671
|
+
principal?: string | undefined;
|
|
3672
|
+
}[] | undefined;
|
|
3366
3673
|
grants?: {
|
|
3367
3674
|
actions: string[];
|
|
3368
3675
|
principal_type: string;
|
|
3369
3676
|
principal?: string | undefined;
|
|
3370
3677
|
}[] | undefined;
|
|
3678
|
+
preserve_denies?: boolean | undefined;
|
|
3371
3679
|
remove?: {
|
|
3372
3680
|
principal_type: string;
|
|
3373
3681
|
principal?: string | undefined;
|
|
3374
3682
|
}[] | undefined;
|
|
3683
|
+
remove_denies?: {
|
|
3684
|
+
principal_type: string;
|
|
3685
|
+
principal?: string | undefined;
|
|
3686
|
+
}[] | undefined;
|
|
3375
3687
|
}, {
|
|
3376
3688
|
add?: {
|
|
3377
3689
|
actions: string[];
|
|
3378
3690
|
principal_type: string;
|
|
3379
3691
|
principal?: string | undefined;
|
|
3380
3692
|
}[] | undefined;
|
|
3693
|
+
add_denies?: {
|
|
3694
|
+
actions: string[];
|
|
3695
|
+
principal_type: string;
|
|
3696
|
+
principal?: string | undefined;
|
|
3697
|
+
}[] | undefined;
|
|
3698
|
+
denies?: {
|
|
3699
|
+
actions: string[];
|
|
3700
|
+
principal_type: string;
|
|
3701
|
+
principal?: string | undefined;
|
|
3702
|
+
}[] | undefined;
|
|
3381
3703
|
grants?: {
|
|
3382
3704
|
actions: string[];
|
|
3383
3705
|
principal_type: string;
|
|
3384
3706
|
principal?: string | undefined;
|
|
3385
3707
|
}[] | undefined;
|
|
3708
|
+
preserve_denies?: boolean | undefined;
|
|
3386
3709
|
remove?: {
|
|
3387
3710
|
principal_type: string;
|
|
3388
3711
|
principal?: string | undefined;
|
|
3389
3712
|
}[] | undefined;
|
|
3713
|
+
remove_denies?: {
|
|
3714
|
+
principal_type: string;
|
|
3715
|
+
principal?: string | undefined;
|
|
3716
|
+
}[] | undefined;
|
|
3390
3717
|
}>>;
|
|
3391
3718
|
/** Admin-only diagnostic metadata for the message, including execution trajectory details. Only present in developer portal responses. */
|
|
3392
3719
|
admin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
@@ -3680,15 +4007,30 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3680
4007
|
principal_type: string;
|
|
3681
4008
|
principal?: string | undefined;
|
|
3682
4009
|
}[] | undefined;
|
|
4010
|
+
add_denies?: {
|
|
4011
|
+
actions: string[];
|
|
4012
|
+
principal_type: string;
|
|
4013
|
+
principal?: string | undefined;
|
|
4014
|
+
}[] | undefined;
|
|
4015
|
+
denies?: {
|
|
4016
|
+
actions: string[];
|
|
4017
|
+
principal_type: string;
|
|
4018
|
+
principal?: string | undefined;
|
|
4019
|
+
}[] | undefined;
|
|
3683
4020
|
grants?: {
|
|
3684
4021
|
actions: string[];
|
|
3685
4022
|
principal_type: string;
|
|
3686
4023
|
principal?: string | undefined;
|
|
3687
4024
|
}[] | undefined;
|
|
4025
|
+
preserve_denies?: boolean | undefined;
|
|
3688
4026
|
remove?: {
|
|
3689
4027
|
principal_type: string;
|
|
3690
4028
|
principal?: string | undefined;
|
|
3691
4029
|
}[] | undefined;
|
|
4030
|
+
remove_denies?: {
|
|
4031
|
+
principal_type: string;
|
|
4032
|
+
principal?: string | undefined;
|
|
4033
|
+
}[] | undefined;
|
|
3692
4034
|
} | undefined;
|
|
3693
4035
|
attachments?: {
|
|
3694
4036
|
type: string;
|
|
@@ -3768,15 +4110,30 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3768
4110
|
principal_type: string;
|
|
3769
4111
|
principal?: string | undefined;
|
|
3770
4112
|
}[] | undefined;
|
|
4113
|
+
add_denies?: {
|
|
4114
|
+
actions: string[];
|
|
4115
|
+
principal_type: string;
|
|
4116
|
+
principal?: string | undefined;
|
|
4117
|
+
}[] | undefined;
|
|
4118
|
+
denies?: {
|
|
4119
|
+
actions: string[];
|
|
4120
|
+
principal_type: string;
|
|
4121
|
+
principal?: string | undefined;
|
|
4122
|
+
}[] | undefined;
|
|
3771
4123
|
grants?: {
|
|
3772
4124
|
actions: string[];
|
|
3773
4125
|
principal_type: string;
|
|
3774
4126
|
principal?: string | undefined;
|
|
3775
4127
|
}[] | undefined;
|
|
4128
|
+
preserve_denies?: boolean | undefined;
|
|
3776
4129
|
remove?: {
|
|
3777
4130
|
principal_type: string;
|
|
3778
4131
|
principal?: string | undefined;
|
|
3779
4132
|
}[] | undefined;
|
|
4133
|
+
remove_denies?: {
|
|
4134
|
+
principal_type: string;
|
|
4135
|
+
principal?: string | undefined;
|
|
4136
|
+
}[] | undefined;
|
|
3780
4137
|
} | undefined;
|
|
3781
4138
|
attachments?: {
|
|
3782
4139
|
type: string;
|