graphlit-client 1.0.20260329002 → 1.0.20260402002
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/client.js +94 -59
- package/dist/generated/graphql-documents.js +376 -0
- package/dist/generated/graphql-types.d.ts +500 -8
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -200,6 +200,8 @@ catch (e) {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
const DEFAULT_MAX_TOOL_ROUNDS = 100;
|
|
203
|
+
/** Maximum number of tool calls to execute concurrently within a single streaming round. */
|
|
204
|
+
const DEFAULT_MAX_PARALLEL_TOOL_CALLS = 4;
|
|
203
205
|
/** Maximum number of retries for transient provider errors (5xx, network, overloaded). */
|
|
204
206
|
const DEFAULT_PROVIDER_RETRIES = 3;
|
|
205
207
|
/** Base delay in ms for exponential backoff between provider retries. */
|
|
@@ -6330,8 +6332,8 @@ class Graphlit {
|
|
|
6330
6332
|
roundToolCalls.reduce((sum, tc) => sum + estimateTokens(tc.arguments), 0);
|
|
6331
6333
|
budgetTracker.addMessage("", assistantTokens);
|
|
6332
6334
|
}
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
+
const toolExecutionResults = new Array(roundToolCalls.length);
|
|
6336
|
+
const executeStreamingToolCall = async (toolCall, index) => {
|
|
6335
6337
|
if (abortSignal?.aborted) {
|
|
6336
6338
|
throw new Error("Operation aborted");
|
|
6337
6339
|
}
|
|
@@ -6359,20 +6361,21 @@ class Graphlit {
|
|
|
6359
6361
|
},
|
|
6360
6362
|
error: errorMessage,
|
|
6361
6363
|
});
|
|
6362
|
-
const
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6364
|
+
const errorText = `Error: ${errorMessage}`;
|
|
6365
|
+
toolExecutionResults[index] = {
|
|
6366
|
+
index,
|
|
6367
|
+
toolMessage: {
|
|
6368
|
+
__typename: "ConversationMessage",
|
|
6369
|
+
role: Types.ConversationRoleTypes.Tool,
|
|
6370
|
+
message: errorText,
|
|
6371
|
+
toolCallId: toolCall.id,
|
|
6372
|
+
timestamp: terminalAt,
|
|
6373
|
+
toolCallResponse: toolCall.name,
|
|
6374
|
+
},
|
|
6375
|
+
budgetText: errorText,
|
|
6376
|
+
errorEntry: `${toolCall.name}: ${errorMessage}`,
|
|
6369
6377
|
};
|
|
6370
|
-
|
|
6371
|
-
errors.push(`${toolCall.name}: ${errorMessage}`);
|
|
6372
|
-
if (budgetTracker) {
|
|
6373
|
-
budgetTracker.addMessage(errorToolMessage.message || "");
|
|
6374
|
-
}
|
|
6375
|
-
continue;
|
|
6378
|
+
return;
|
|
6376
6379
|
}
|
|
6377
6380
|
try {
|
|
6378
6381
|
let args;
|
|
@@ -6453,20 +6456,21 @@ class Graphlit {
|
|
|
6453
6456
|
},
|
|
6454
6457
|
error: parseErrorText,
|
|
6455
6458
|
});
|
|
6456
|
-
const
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6459
|
+
const errorText = `Error: ${parseErrorText}`;
|
|
6460
|
+
toolExecutionResults[index] = {
|
|
6461
|
+
index,
|
|
6462
|
+
toolMessage: {
|
|
6463
|
+
__typename: "ConversationMessage",
|
|
6464
|
+
role: Types.ConversationRoleTypes.Tool,
|
|
6465
|
+
message: errorText,
|
|
6466
|
+
toolCallId: toolCall.id,
|
|
6467
|
+
timestamp: terminalAt,
|
|
6468
|
+
toolCallResponse: toolCall.name,
|
|
6469
|
+
},
|
|
6470
|
+
budgetText: errorText,
|
|
6471
|
+
errorEntry: parseErrorText,
|
|
6463
6472
|
};
|
|
6464
|
-
|
|
6465
|
-
errors.push(parseErrorText);
|
|
6466
|
-
if (budgetTracker) {
|
|
6467
|
-
budgetTracker.addMessage(errorToolMessage.message || "");
|
|
6468
|
-
}
|
|
6469
|
-
continue;
|
|
6473
|
+
return;
|
|
6470
6474
|
}
|
|
6471
6475
|
}
|
|
6472
6476
|
const executionStartMs = Date.now();
|
|
@@ -6504,44 +6508,36 @@ class Graphlit {
|
|
|
6504
6508
|
});
|
|
6505
6509
|
const rawResult = typeof result === "string" ? result : JSON.stringify(result);
|
|
6506
6510
|
const truncatedResult = truncateToolResult(rawResult, toolResultTokenLimit, toolCall.name);
|
|
6511
|
+
let contextAction;
|
|
6507
6512
|
if (truncatedResult.length < rawResult.length) {
|
|
6508
|
-
|
|
6513
|
+
contextAction = {
|
|
6509
6514
|
type: "truncated_tool_result",
|
|
6510
6515
|
toolName: toolCall.name,
|
|
6511
6516
|
originalTokens: estimateTokens(rawResult),
|
|
6512
6517
|
truncatedTokens: estimateTokens(truncatedResult),
|
|
6513
6518
|
};
|
|
6514
|
-
contextActions.push(action);
|
|
6515
|
-
if (budgetTracker) {
|
|
6516
|
-
uiAdapter.handleEvent({
|
|
6517
|
-
type: "context_management",
|
|
6518
|
-
action,
|
|
6519
|
-
usage: budgetTracker.getUsageSnapshot(),
|
|
6520
|
-
timestamp: new Date(),
|
|
6521
|
-
});
|
|
6522
|
-
}
|
|
6523
6519
|
if (process.env.DEBUG_GRAPHLIT_SDK_STREAMING) {
|
|
6524
6520
|
console.log(`📊 [Context Management] Truncated tool result for ${toolCall.name}: ` +
|
|
6525
6521
|
`${estimateTokens(rawResult)} → ${estimateTokens(truncatedResult)} tokens`);
|
|
6526
6522
|
}
|
|
6527
6523
|
}
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6524
|
+
toolExecutionResults[index] = {
|
|
6525
|
+
index,
|
|
6526
|
+
toolMessage: {
|
|
6527
|
+
__typename: "ConversationMessage",
|
|
6528
|
+
role: Types.ConversationRoleTypes.Tool,
|
|
6529
|
+
message: truncatedResult,
|
|
6530
|
+
toolCallId: toolCall.id,
|
|
6531
|
+
timestamp: new Date().toISOString(),
|
|
6532
|
+
toolCallResponse: toolCall.name,
|
|
6533
|
+
},
|
|
6534
|
+
budgetText: truncatedResult,
|
|
6535
|
+
contextAction,
|
|
6535
6536
|
};
|
|
6536
|
-
messages.push(toolMessage);
|
|
6537
|
-
if (budgetTracker) {
|
|
6538
|
-
budgetTracker.addMessage(truncatedResult);
|
|
6539
|
-
}
|
|
6540
6537
|
}
|
|
6541
6538
|
catch (error) {
|
|
6542
6539
|
const errorMessage = error instanceof Error ? error.message : "Unknown error";
|
|
6543
6540
|
console.error(`Tool execution error for ${toolCall.name}:`, error);
|
|
6544
|
-
errors.push(`${toolCall.name}: ${errorMessage}`);
|
|
6545
6541
|
const completedAt = nowIsoString();
|
|
6546
6542
|
if (!toolCall.startedAt) {
|
|
6547
6543
|
toolCall.startedAt = completedAt;
|
|
@@ -6567,19 +6563,58 @@ class Graphlit {
|
|
|
6567
6563
|
error: errorMessage,
|
|
6568
6564
|
});
|
|
6569
6565
|
const errorText = `Error: ${errorMessage}`;
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6566
|
+
toolExecutionResults[index] = {
|
|
6567
|
+
index,
|
|
6568
|
+
toolMessage: {
|
|
6569
|
+
__typename: "ConversationMessage",
|
|
6570
|
+
role: Types.ConversationRoleTypes.Tool,
|
|
6571
|
+
message: errorText,
|
|
6572
|
+
toolCallId: toolCall.id,
|
|
6573
|
+
timestamp: new Date().toISOString(),
|
|
6574
|
+
toolCallResponse: toolCall.name,
|
|
6575
|
+
},
|
|
6576
|
+
budgetText: errorText,
|
|
6577
|
+
errorEntry: `${toolCall.name}: ${errorMessage}`,
|
|
6577
6578
|
};
|
|
6578
|
-
|
|
6579
|
+
}
|
|
6580
|
+
};
|
|
6581
|
+
const workerCount = Math.min(DEFAULT_MAX_PARALLEL_TOOL_CALLS, roundToolCalls.length);
|
|
6582
|
+
let nextToolIndex = 0;
|
|
6583
|
+
await Promise.all(Array.from({ length: workerCount }, async () => {
|
|
6584
|
+
while (true) {
|
|
6585
|
+
if (abortSignal?.aborted) {
|
|
6586
|
+
throw new Error("Operation aborted");
|
|
6587
|
+
}
|
|
6588
|
+
const currentIndex = nextToolIndex;
|
|
6589
|
+
nextToolIndex += 1;
|
|
6590
|
+
if (currentIndex >= roundToolCalls.length) {
|
|
6591
|
+
break;
|
|
6592
|
+
}
|
|
6593
|
+
await executeStreamingToolCall(roundToolCalls[currentIndex], currentIndex);
|
|
6594
|
+
}
|
|
6595
|
+
}));
|
|
6596
|
+
for (const executionResult of toolExecutionResults) {
|
|
6597
|
+
if (!executionResult) {
|
|
6598
|
+
continue;
|
|
6599
|
+
}
|
|
6600
|
+
if (executionResult.contextAction) {
|
|
6601
|
+
contextActions.push(executionResult.contextAction);
|
|
6579
6602
|
if (budgetTracker) {
|
|
6580
|
-
|
|
6603
|
+
uiAdapter.handleEvent({
|
|
6604
|
+
type: "context_management",
|
|
6605
|
+
action: executionResult.contextAction,
|
|
6606
|
+
usage: budgetTracker.getUsageSnapshot(),
|
|
6607
|
+
timestamp: new Date(),
|
|
6608
|
+
});
|
|
6581
6609
|
}
|
|
6582
6610
|
}
|
|
6611
|
+
messages.push(executionResult.toolMessage);
|
|
6612
|
+
if (executionResult.errorEntry) {
|
|
6613
|
+
errors.push(executionResult.errorEntry);
|
|
6614
|
+
}
|
|
6615
|
+
if (budgetTracker) {
|
|
6616
|
+
budgetTracker.addMessage(executionResult.budgetText);
|
|
6617
|
+
}
|
|
6583
6618
|
}
|
|
6584
6619
|
}
|
|
6585
6620
|
// Emit context window usage after each tool round
|
|
@@ -80,12 +80,200 @@ export const GetAgent = gql `
|
|
|
80
80
|
specification {
|
|
81
81
|
id
|
|
82
82
|
}
|
|
83
|
+
trigger {
|
|
84
|
+
types
|
|
85
|
+
fileTypes
|
|
86
|
+
feeds {
|
|
87
|
+
id
|
|
88
|
+
}
|
|
89
|
+
}
|
|
83
90
|
filter {
|
|
91
|
+
dateRange {
|
|
92
|
+
from
|
|
93
|
+
to
|
|
94
|
+
}
|
|
95
|
+
inLast
|
|
96
|
+
inNext
|
|
97
|
+
creationDateRange {
|
|
98
|
+
from
|
|
99
|
+
to
|
|
100
|
+
}
|
|
101
|
+
createdInLast
|
|
84
102
|
types
|
|
85
103
|
fileTypes
|
|
104
|
+
formats
|
|
105
|
+
fileExtensions
|
|
106
|
+
fileSizeRange {
|
|
107
|
+
from
|
|
108
|
+
to
|
|
109
|
+
}
|
|
110
|
+
similarContents {
|
|
111
|
+
id
|
|
112
|
+
}
|
|
113
|
+
contents {
|
|
114
|
+
id
|
|
115
|
+
}
|
|
86
116
|
feeds {
|
|
87
117
|
id
|
|
88
118
|
}
|
|
119
|
+
workflows {
|
|
120
|
+
id
|
|
121
|
+
}
|
|
122
|
+
collections {
|
|
123
|
+
id
|
|
124
|
+
}
|
|
125
|
+
users {
|
|
126
|
+
id
|
|
127
|
+
}
|
|
128
|
+
observations {
|
|
129
|
+
type
|
|
130
|
+
observable {
|
|
131
|
+
id
|
|
132
|
+
}
|
|
133
|
+
states
|
|
134
|
+
}
|
|
135
|
+
or {
|
|
136
|
+
feeds {
|
|
137
|
+
id
|
|
138
|
+
}
|
|
139
|
+
workflows {
|
|
140
|
+
id
|
|
141
|
+
}
|
|
142
|
+
collections {
|
|
143
|
+
id
|
|
144
|
+
}
|
|
145
|
+
users {
|
|
146
|
+
id
|
|
147
|
+
}
|
|
148
|
+
observations {
|
|
149
|
+
type
|
|
150
|
+
observable {
|
|
151
|
+
id
|
|
152
|
+
}
|
|
153
|
+
states
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
and {
|
|
157
|
+
feeds {
|
|
158
|
+
id
|
|
159
|
+
}
|
|
160
|
+
workflows {
|
|
161
|
+
id
|
|
162
|
+
}
|
|
163
|
+
collections {
|
|
164
|
+
id
|
|
165
|
+
}
|
|
166
|
+
users {
|
|
167
|
+
id
|
|
168
|
+
}
|
|
169
|
+
observations {
|
|
170
|
+
type
|
|
171
|
+
observable {
|
|
172
|
+
id
|
|
173
|
+
}
|
|
174
|
+
states
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
hasObservations
|
|
178
|
+
hasFeeds
|
|
179
|
+
hasCollections
|
|
180
|
+
hasWorkflows
|
|
181
|
+
collectionMode
|
|
182
|
+
observationMode
|
|
183
|
+
}
|
|
184
|
+
augmentedFilter {
|
|
185
|
+
dateRange {
|
|
186
|
+
from
|
|
187
|
+
to
|
|
188
|
+
}
|
|
189
|
+
inLast
|
|
190
|
+
inNext
|
|
191
|
+
creationDateRange {
|
|
192
|
+
from
|
|
193
|
+
to
|
|
194
|
+
}
|
|
195
|
+
createdInLast
|
|
196
|
+
types
|
|
197
|
+
fileTypes
|
|
198
|
+
formats
|
|
199
|
+
fileExtensions
|
|
200
|
+
fileSizeRange {
|
|
201
|
+
from
|
|
202
|
+
to
|
|
203
|
+
}
|
|
204
|
+
similarContents {
|
|
205
|
+
id
|
|
206
|
+
}
|
|
207
|
+
contents {
|
|
208
|
+
id
|
|
209
|
+
}
|
|
210
|
+
feeds {
|
|
211
|
+
id
|
|
212
|
+
}
|
|
213
|
+
workflows {
|
|
214
|
+
id
|
|
215
|
+
}
|
|
216
|
+
collections {
|
|
217
|
+
id
|
|
218
|
+
}
|
|
219
|
+
users {
|
|
220
|
+
id
|
|
221
|
+
}
|
|
222
|
+
observations {
|
|
223
|
+
type
|
|
224
|
+
observable {
|
|
225
|
+
id
|
|
226
|
+
}
|
|
227
|
+
states
|
|
228
|
+
}
|
|
229
|
+
or {
|
|
230
|
+
feeds {
|
|
231
|
+
id
|
|
232
|
+
}
|
|
233
|
+
workflows {
|
|
234
|
+
id
|
|
235
|
+
}
|
|
236
|
+
collections {
|
|
237
|
+
id
|
|
238
|
+
}
|
|
239
|
+
users {
|
|
240
|
+
id
|
|
241
|
+
}
|
|
242
|
+
observations {
|
|
243
|
+
type
|
|
244
|
+
observable {
|
|
245
|
+
id
|
|
246
|
+
}
|
|
247
|
+
states
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
and {
|
|
251
|
+
feeds {
|
|
252
|
+
id
|
|
253
|
+
}
|
|
254
|
+
workflows {
|
|
255
|
+
id
|
|
256
|
+
}
|
|
257
|
+
collections {
|
|
258
|
+
id
|
|
259
|
+
}
|
|
260
|
+
users {
|
|
261
|
+
id
|
|
262
|
+
}
|
|
263
|
+
observations {
|
|
264
|
+
type
|
|
265
|
+
observable {
|
|
266
|
+
id
|
|
267
|
+
}
|
|
268
|
+
states
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
hasObservations
|
|
272
|
+
hasFeeds
|
|
273
|
+
hasCollections
|
|
274
|
+
hasWorkflows
|
|
275
|
+
collectionMode
|
|
276
|
+
observationMode
|
|
89
277
|
}
|
|
90
278
|
schedulePolicy {
|
|
91
279
|
recurrenceType
|
|
@@ -128,12 +316,200 @@ export const QueryAgents = gql `
|
|
|
128
316
|
specification {
|
|
129
317
|
id
|
|
130
318
|
}
|
|
319
|
+
trigger {
|
|
320
|
+
types
|
|
321
|
+
fileTypes
|
|
322
|
+
feeds {
|
|
323
|
+
id
|
|
324
|
+
}
|
|
325
|
+
}
|
|
131
326
|
filter {
|
|
327
|
+
dateRange {
|
|
328
|
+
from
|
|
329
|
+
to
|
|
330
|
+
}
|
|
331
|
+
inLast
|
|
332
|
+
inNext
|
|
333
|
+
creationDateRange {
|
|
334
|
+
from
|
|
335
|
+
to
|
|
336
|
+
}
|
|
337
|
+
createdInLast
|
|
132
338
|
types
|
|
133
339
|
fileTypes
|
|
340
|
+
formats
|
|
341
|
+
fileExtensions
|
|
342
|
+
fileSizeRange {
|
|
343
|
+
from
|
|
344
|
+
to
|
|
345
|
+
}
|
|
346
|
+
similarContents {
|
|
347
|
+
id
|
|
348
|
+
}
|
|
349
|
+
contents {
|
|
350
|
+
id
|
|
351
|
+
}
|
|
134
352
|
feeds {
|
|
135
353
|
id
|
|
136
354
|
}
|
|
355
|
+
workflows {
|
|
356
|
+
id
|
|
357
|
+
}
|
|
358
|
+
collections {
|
|
359
|
+
id
|
|
360
|
+
}
|
|
361
|
+
users {
|
|
362
|
+
id
|
|
363
|
+
}
|
|
364
|
+
observations {
|
|
365
|
+
type
|
|
366
|
+
observable {
|
|
367
|
+
id
|
|
368
|
+
}
|
|
369
|
+
states
|
|
370
|
+
}
|
|
371
|
+
or {
|
|
372
|
+
feeds {
|
|
373
|
+
id
|
|
374
|
+
}
|
|
375
|
+
workflows {
|
|
376
|
+
id
|
|
377
|
+
}
|
|
378
|
+
collections {
|
|
379
|
+
id
|
|
380
|
+
}
|
|
381
|
+
users {
|
|
382
|
+
id
|
|
383
|
+
}
|
|
384
|
+
observations {
|
|
385
|
+
type
|
|
386
|
+
observable {
|
|
387
|
+
id
|
|
388
|
+
}
|
|
389
|
+
states
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
and {
|
|
393
|
+
feeds {
|
|
394
|
+
id
|
|
395
|
+
}
|
|
396
|
+
workflows {
|
|
397
|
+
id
|
|
398
|
+
}
|
|
399
|
+
collections {
|
|
400
|
+
id
|
|
401
|
+
}
|
|
402
|
+
users {
|
|
403
|
+
id
|
|
404
|
+
}
|
|
405
|
+
observations {
|
|
406
|
+
type
|
|
407
|
+
observable {
|
|
408
|
+
id
|
|
409
|
+
}
|
|
410
|
+
states
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
hasObservations
|
|
414
|
+
hasFeeds
|
|
415
|
+
hasCollections
|
|
416
|
+
hasWorkflows
|
|
417
|
+
collectionMode
|
|
418
|
+
observationMode
|
|
419
|
+
}
|
|
420
|
+
augmentedFilter {
|
|
421
|
+
dateRange {
|
|
422
|
+
from
|
|
423
|
+
to
|
|
424
|
+
}
|
|
425
|
+
inLast
|
|
426
|
+
inNext
|
|
427
|
+
creationDateRange {
|
|
428
|
+
from
|
|
429
|
+
to
|
|
430
|
+
}
|
|
431
|
+
createdInLast
|
|
432
|
+
types
|
|
433
|
+
fileTypes
|
|
434
|
+
formats
|
|
435
|
+
fileExtensions
|
|
436
|
+
fileSizeRange {
|
|
437
|
+
from
|
|
438
|
+
to
|
|
439
|
+
}
|
|
440
|
+
similarContents {
|
|
441
|
+
id
|
|
442
|
+
}
|
|
443
|
+
contents {
|
|
444
|
+
id
|
|
445
|
+
}
|
|
446
|
+
feeds {
|
|
447
|
+
id
|
|
448
|
+
}
|
|
449
|
+
workflows {
|
|
450
|
+
id
|
|
451
|
+
}
|
|
452
|
+
collections {
|
|
453
|
+
id
|
|
454
|
+
}
|
|
455
|
+
users {
|
|
456
|
+
id
|
|
457
|
+
}
|
|
458
|
+
observations {
|
|
459
|
+
type
|
|
460
|
+
observable {
|
|
461
|
+
id
|
|
462
|
+
}
|
|
463
|
+
states
|
|
464
|
+
}
|
|
465
|
+
or {
|
|
466
|
+
feeds {
|
|
467
|
+
id
|
|
468
|
+
}
|
|
469
|
+
workflows {
|
|
470
|
+
id
|
|
471
|
+
}
|
|
472
|
+
collections {
|
|
473
|
+
id
|
|
474
|
+
}
|
|
475
|
+
users {
|
|
476
|
+
id
|
|
477
|
+
}
|
|
478
|
+
observations {
|
|
479
|
+
type
|
|
480
|
+
observable {
|
|
481
|
+
id
|
|
482
|
+
}
|
|
483
|
+
states
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
and {
|
|
487
|
+
feeds {
|
|
488
|
+
id
|
|
489
|
+
}
|
|
490
|
+
workflows {
|
|
491
|
+
id
|
|
492
|
+
}
|
|
493
|
+
collections {
|
|
494
|
+
id
|
|
495
|
+
}
|
|
496
|
+
users {
|
|
497
|
+
id
|
|
498
|
+
}
|
|
499
|
+
observations {
|
|
500
|
+
type
|
|
501
|
+
observable {
|
|
502
|
+
id
|
|
503
|
+
}
|
|
504
|
+
states
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
hasObservations
|
|
508
|
+
hasFeeds
|
|
509
|
+
hasCollections
|
|
510
|
+
hasWorkflows
|
|
511
|
+
collectionMode
|
|
512
|
+
observationMode
|
|
137
513
|
}
|
|
138
514
|
schedulePolicy {
|
|
139
515
|
recurrenceType
|
|
@@ -109,6 +109,8 @@ export type AddressInput = {
|
|
|
109
109
|
/** Represents an agent. */
|
|
110
110
|
export type Agent = {
|
|
111
111
|
__typename?: 'Agent';
|
|
112
|
+
/** The pinned content scope for this agent. */
|
|
113
|
+
augmentedFilter?: Maybe<ContentCriteria>;
|
|
112
114
|
/** The agent callback URI, optional. The platform will callback to this webhook upon agent run completion. */
|
|
113
115
|
callbackUri?: Maybe<Scalars['URL']['output']>;
|
|
114
116
|
/** The agent channels. */
|
|
@@ -125,8 +127,8 @@ export type Agent = {
|
|
|
125
127
|
description?: Maybe<Scalars['String']['output']>;
|
|
126
128
|
/** The desks this agent is assigned to. */
|
|
127
129
|
desks?: Maybe<Array<Maybe<Desk>>>;
|
|
128
|
-
/** The
|
|
129
|
-
filter?: Maybe<
|
|
130
|
+
/** The content retrieval scope for this agent. */
|
|
131
|
+
filter?: Maybe<ContentCriteria>;
|
|
130
132
|
/** The ID of the agent. */
|
|
131
133
|
id: Scalars['ID']['output'];
|
|
132
134
|
/** The modified date of the agent. */
|
|
@@ -149,6 +151,8 @@ export type Agent = {
|
|
|
149
151
|
state: EntityState;
|
|
150
152
|
/** The agent timeout. */
|
|
151
153
|
timeout?: Maybe<Scalars['TimeSpan']['output']>;
|
|
154
|
+
/** The trigger filter for event-driven activation. */
|
|
155
|
+
trigger?: Maybe<AgentTriggerFilter>;
|
|
152
156
|
/** The agent type. */
|
|
153
157
|
type: AgentTypes;
|
|
154
158
|
/** The user that created the entity. */
|
|
@@ -233,6 +237,8 @@ export type AgentFilter = {
|
|
|
233
237
|
};
|
|
234
238
|
/** Represents an agent. */
|
|
235
239
|
export type AgentInput = {
|
|
240
|
+
/** The pinned content scope for this agent. */
|
|
241
|
+
augmentedFilter?: InputMaybe<ContentCriteriaInput>;
|
|
236
242
|
/** The agent callback URI, optional. The platform will callback to this webhook upon agent run completion. */
|
|
237
243
|
callbackUri?: InputMaybe<Scalars['URL']['input']>;
|
|
238
244
|
/** The agent channels. */
|
|
@@ -241,8 +247,8 @@ export type AgentInput = {
|
|
|
241
247
|
connectors?: InputMaybe<Array<EntityReferenceInput>>;
|
|
242
248
|
/** The description of the agent. */
|
|
243
249
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
244
|
-
/** The
|
|
245
|
-
filter?: InputMaybe<
|
|
250
|
+
/** The content retrieval scope for this agent. */
|
|
251
|
+
filter?: InputMaybe<ContentCriteriaInput>;
|
|
246
252
|
/** The name of the agent. */
|
|
247
253
|
name: Scalars['String']['input'];
|
|
248
254
|
/** The execution prompt run on each triggered activation. */
|
|
@@ -255,6 +261,8 @@ export type AgentInput = {
|
|
|
255
261
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
256
262
|
/** The agent timeout. */
|
|
257
263
|
timeout?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
264
|
+
/** The trigger filter for event-driven activation. */
|
|
265
|
+
trigger?: InputMaybe<AgentTriggerFilterInput>;
|
|
258
266
|
/** The agent type. */
|
|
259
267
|
type: AgentTypes;
|
|
260
268
|
};
|
|
@@ -313,6 +321,8 @@ export declare enum AgentTypes {
|
|
|
313
321
|
}
|
|
314
322
|
/** Represents an agent. */
|
|
315
323
|
export type AgentUpdateInput = {
|
|
324
|
+
/** The pinned content scope for this agent. */
|
|
325
|
+
augmentedFilter?: InputMaybe<ContentCriteriaInput>;
|
|
316
326
|
/** The agent callback URI, optional. The platform will callback to this webhook upon agent run completion. */
|
|
317
327
|
callbackUri?: InputMaybe<Scalars['URL']['input']>;
|
|
318
328
|
/** The agent channels. */
|
|
@@ -321,8 +331,8 @@ export type AgentUpdateInput = {
|
|
|
321
331
|
connectors?: InputMaybe<Array<EntityReferenceInput>>;
|
|
322
332
|
/** The description of the agent. */
|
|
323
333
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
324
|
-
/** The
|
|
325
|
-
filter?: InputMaybe<
|
|
334
|
+
/** The content retrieval scope for this agent. */
|
|
335
|
+
filter?: InputMaybe<ContentCriteriaInput>;
|
|
326
336
|
/** The ID of the agent to update. */
|
|
327
337
|
id: Scalars['ID']['input'];
|
|
328
338
|
/** The name of the agent. */
|
|
@@ -337,6 +347,8 @@ export type AgentUpdateInput = {
|
|
|
337
347
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
338
348
|
/** The agent timeout. */
|
|
339
349
|
timeout?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
350
|
+
/** The trigger filter for event-driven activation. */
|
|
351
|
+
trigger?: InputMaybe<AgentTriggerFilterInput>;
|
|
340
352
|
};
|
|
341
353
|
/** Represents an alert. */
|
|
342
354
|
export type Alert = {
|
|
@@ -25276,7 +25288,7 @@ export type GetAgentQuery = {
|
|
|
25276
25288
|
__typename?: 'EntityReference';
|
|
25277
25289
|
id: string;
|
|
25278
25290
|
} | null;
|
|
25279
|
-
|
|
25291
|
+
trigger?: {
|
|
25280
25292
|
__typename?: 'AgentTriggerFilter';
|
|
25281
25293
|
types?: Array<ContentTypes> | null;
|
|
25282
25294
|
fileTypes?: Array<FileTypes> | null;
|
|
@@ -25285,6 +25297,246 @@ export type GetAgentQuery = {
|
|
|
25285
25297
|
id: string;
|
|
25286
25298
|
}> | null;
|
|
25287
25299
|
} | null;
|
|
25300
|
+
filter?: {
|
|
25301
|
+
__typename?: 'ContentCriteria';
|
|
25302
|
+
inLast?: any | null;
|
|
25303
|
+
inNext?: any | null;
|
|
25304
|
+
createdInLast?: any | null;
|
|
25305
|
+
types?: Array<ContentTypes> | null;
|
|
25306
|
+
fileTypes?: Array<FileTypes> | null;
|
|
25307
|
+
formats?: Array<string> | null;
|
|
25308
|
+
fileExtensions?: Array<string> | null;
|
|
25309
|
+
hasObservations?: boolean | null;
|
|
25310
|
+
hasFeeds?: boolean | null;
|
|
25311
|
+
hasCollections?: boolean | null;
|
|
25312
|
+
hasWorkflows?: boolean | null;
|
|
25313
|
+
collectionMode?: FilterMode | null;
|
|
25314
|
+
observationMode?: FilterMode | null;
|
|
25315
|
+
dateRange?: {
|
|
25316
|
+
__typename?: 'DateRange';
|
|
25317
|
+
from?: any | null;
|
|
25318
|
+
to?: any | null;
|
|
25319
|
+
} | null;
|
|
25320
|
+
creationDateRange?: {
|
|
25321
|
+
__typename?: 'DateRange';
|
|
25322
|
+
from?: any | null;
|
|
25323
|
+
to?: any | null;
|
|
25324
|
+
} | null;
|
|
25325
|
+
fileSizeRange?: {
|
|
25326
|
+
__typename?: 'Int64Range';
|
|
25327
|
+
from?: any | null;
|
|
25328
|
+
to?: any | null;
|
|
25329
|
+
} | null;
|
|
25330
|
+
similarContents?: Array<{
|
|
25331
|
+
__typename?: 'EntityReference';
|
|
25332
|
+
id: string;
|
|
25333
|
+
}> | null;
|
|
25334
|
+
contents?: Array<{
|
|
25335
|
+
__typename?: 'EntityReference';
|
|
25336
|
+
id: string;
|
|
25337
|
+
}> | null;
|
|
25338
|
+
feeds?: Array<{
|
|
25339
|
+
__typename?: 'EntityReference';
|
|
25340
|
+
id: string;
|
|
25341
|
+
}> | null;
|
|
25342
|
+
workflows?: Array<{
|
|
25343
|
+
__typename?: 'EntityReference';
|
|
25344
|
+
id: string;
|
|
25345
|
+
}> | null;
|
|
25346
|
+
collections?: Array<{
|
|
25347
|
+
__typename?: 'EntityReference';
|
|
25348
|
+
id: string;
|
|
25349
|
+
}> | null;
|
|
25350
|
+
users?: Array<{
|
|
25351
|
+
__typename?: 'EntityReference';
|
|
25352
|
+
id: string;
|
|
25353
|
+
}> | null;
|
|
25354
|
+
observations?: Array<{
|
|
25355
|
+
__typename?: 'ObservationCriteria';
|
|
25356
|
+
type: ObservableTypes;
|
|
25357
|
+
states?: Array<EntityState> | null;
|
|
25358
|
+
observable: {
|
|
25359
|
+
__typename?: 'EntityReference';
|
|
25360
|
+
id: string;
|
|
25361
|
+
};
|
|
25362
|
+
}> | null;
|
|
25363
|
+
or?: Array<{
|
|
25364
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25365
|
+
feeds?: Array<{
|
|
25366
|
+
__typename?: 'EntityReference';
|
|
25367
|
+
id: string;
|
|
25368
|
+
}> | null;
|
|
25369
|
+
workflows?: Array<{
|
|
25370
|
+
__typename?: 'EntityReference';
|
|
25371
|
+
id: string;
|
|
25372
|
+
}> | null;
|
|
25373
|
+
collections?: Array<{
|
|
25374
|
+
__typename?: 'EntityReference';
|
|
25375
|
+
id: string;
|
|
25376
|
+
}> | null;
|
|
25377
|
+
users?: Array<{
|
|
25378
|
+
__typename?: 'EntityReference';
|
|
25379
|
+
id: string;
|
|
25380
|
+
}> | null;
|
|
25381
|
+
observations?: Array<{
|
|
25382
|
+
__typename?: 'ObservationCriteria';
|
|
25383
|
+
type: ObservableTypes;
|
|
25384
|
+
states?: Array<EntityState> | null;
|
|
25385
|
+
observable: {
|
|
25386
|
+
__typename?: 'EntityReference';
|
|
25387
|
+
id: string;
|
|
25388
|
+
};
|
|
25389
|
+
}> | null;
|
|
25390
|
+
}> | null;
|
|
25391
|
+
and?: Array<{
|
|
25392
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25393
|
+
feeds?: Array<{
|
|
25394
|
+
__typename?: 'EntityReference';
|
|
25395
|
+
id: string;
|
|
25396
|
+
}> | null;
|
|
25397
|
+
workflows?: Array<{
|
|
25398
|
+
__typename?: 'EntityReference';
|
|
25399
|
+
id: string;
|
|
25400
|
+
}> | null;
|
|
25401
|
+
collections?: Array<{
|
|
25402
|
+
__typename?: 'EntityReference';
|
|
25403
|
+
id: string;
|
|
25404
|
+
}> | null;
|
|
25405
|
+
users?: Array<{
|
|
25406
|
+
__typename?: 'EntityReference';
|
|
25407
|
+
id: string;
|
|
25408
|
+
}> | null;
|
|
25409
|
+
observations?: Array<{
|
|
25410
|
+
__typename?: 'ObservationCriteria';
|
|
25411
|
+
type: ObservableTypes;
|
|
25412
|
+
states?: Array<EntityState> | null;
|
|
25413
|
+
observable: {
|
|
25414
|
+
__typename?: 'EntityReference';
|
|
25415
|
+
id: string;
|
|
25416
|
+
};
|
|
25417
|
+
}> | null;
|
|
25418
|
+
}> | null;
|
|
25419
|
+
} | null;
|
|
25420
|
+
augmentedFilter?: {
|
|
25421
|
+
__typename?: 'ContentCriteria';
|
|
25422
|
+
inLast?: any | null;
|
|
25423
|
+
inNext?: any | null;
|
|
25424
|
+
createdInLast?: any | null;
|
|
25425
|
+
types?: Array<ContentTypes> | null;
|
|
25426
|
+
fileTypes?: Array<FileTypes> | null;
|
|
25427
|
+
formats?: Array<string> | null;
|
|
25428
|
+
fileExtensions?: Array<string> | null;
|
|
25429
|
+
hasObservations?: boolean | null;
|
|
25430
|
+
hasFeeds?: boolean | null;
|
|
25431
|
+
hasCollections?: boolean | null;
|
|
25432
|
+
hasWorkflows?: boolean | null;
|
|
25433
|
+
collectionMode?: FilterMode | null;
|
|
25434
|
+
observationMode?: FilterMode | null;
|
|
25435
|
+
dateRange?: {
|
|
25436
|
+
__typename?: 'DateRange';
|
|
25437
|
+
from?: any | null;
|
|
25438
|
+
to?: any | null;
|
|
25439
|
+
} | null;
|
|
25440
|
+
creationDateRange?: {
|
|
25441
|
+
__typename?: 'DateRange';
|
|
25442
|
+
from?: any | null;
|
|
25443
|
+
to?: any | null;
|
|
25444
|
+
} | null;
|
|
25445
|
+
fileSizeRange?: {
|
|
25446
|
+
__typename?: 'Int64Range';
|
|
25447
|
+
from?: any | null;
|
|
25448
|
+
to?: any | null;
|
|
25449
|
+
} | null;
|
|
25450
|
+
similarContents?: Array<{
|
|
25451
|
+
__typename?: 'EntityReference';
|
|
25452
|
+
id: string;
|
|
25453
|
+
}> | null;
|
|
25454
|
+
contents?: Array<{
|
|
25455
|
+
__typename?: 'EntityReference';
|
|
25456
|
+
id: string;
|
|
25457
|
+
}> | null;
|
|
25458
|
+
feeds?: Array<{
|
|
25459
|
+
__typename?: 'EntityReference';
|
|
25460
|
+
id: string;
|
|
25461
|
+
}> | null;
|
|
25462
|
+
workflows?: Array<{
|
|
25463
|
+
__typename?: 'EntityReference';
|
|
25464
|
+
id: string;
|
|
25465
|
+
}> | null;
|
|
25466
|
+
collections?: Array<{
|
|
25467
|
+
__typename?: 'EntityReference';
|
|
25468
|
+
id: string;
|
|
25469
|
+
}> | null;
|
|
25470
|
+
users?: Array<{
|
|
25471
|
+
__typename?: 'EntityReference';
|
|
25472
|
+
id: string;
|
|
25473
|
+
}> | null;
|
|
25474
|
+
observations?: Array<{
|
|
25475
|
+
__typename?: 'ObservationCriteria';
|
|
25476
|
+
type: ObservableTypes;
|
|
25477
|
+
states?: Array<EntityState> | null;
|
|
25478
|
+
observable: {
|
|
25479
|
+
__typename?: 'EntityReference';
|
|
25480
|
+
id: string;
|
|
25481
|
+
};
|
|
25482
|
+
}> | null;
|
|
25483
|
+
or?: Array<{
|
|
25484
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25485
|
+
feeds?: Array<{
|
|
25486
|
+
__typename?: 'EntityReference';
|
|
25487
|
+
id: string;
|
|
25488
|
+
}> | null;
|
|
25489
|
+
workflows?: Array<{
|
|
25490
|
+
__typename?: 'EntityReference';
|
|
25491
|
+
id: string;
|
|
25492
|
+
}> | null;
|
|
25493
|
+
collections?: Array<{
|
|
25494
|
+
__typename?: 'EntityReference';
|
|
25495
|
+
id: string;
|
|
25496
|
+
}> | null;
|
|
25497
|
+
users?: Array<{
|
|
25498
|
+
__typename?: 'EntityReference';
|
|
25499
|
+
id: string;
|
|
25500
|
+
}> | null;
|
|
25501
|
+
observations?: Array<{
|
|
25502
|
+
__typename?: 'ObservationCriteria';
|
|
25503
|
+
type: ObservableTypes;
|
|
25504
|
+
states?: Array<EntityState> | null;
|
|
25505
|
+
observable: {
|
|
25506
|
+
__typename?: 'EntityReference';
|
|
25507
|
+
id: string;
|
|
25508
|
+
};
|
|
25509
|
+
}> | null;
|
|
25510
|
+
}> | null;
|
|
25511
|
+
and?: Array<{
|
|
25512
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25513
|
+
feeds?: Array<{
|
|
25514
|
+
__typename?: 'EntityReference';
|
|
25515
|
+
id: string;
|
|
25516
|
+
}> | null;
|
|
25517
|
+
workflows?: Array<{
|
|
25518
|
+
__typename?: 'EntityReference';
|
|
25519
|
+
id: string;
|
|
25520
|
+
}> | null;
|
|
25521
|
+
collections?: Array<{
|
|
25522
|
+
__typename?: 'EntityReference';
|
|
25523
|
+
id: string;
|
|
25524
|
+
}> | null;
|
|
25525
|
+
users?: Array<{
|
|
25526
|
+
__typename?: 'EntityReference';
|
|
25527
|
+
id: string;
|
|
25528
|
+
}> | null;
|
|
25529
|
+
observations?: Array<{
|
|
25530
|
+
__typename?: 'ObservationCriteria';
|
|
25531
|
+
type: ObservableTypes;
|
|
25532
|
+
states?: Array<EntityState> | null;
|
|
25533
|
+
observable: {
|
|
25534
|
+
__typename?: 'EntityReference';
|
|
25535
|
+
id: string;
|
|
25536
|
+
};
|
|
25537
|
+
}> | null;
|
|
25538
|
+
}> | null;
|
|
25539
|
+
} | null;
|
|
25288
25540
|
schedulePolicy?: {
|
|
25289
25541
|
__typename?: 'AgentSchedulePolicy';
|
|
25290
25542
|
recurrenceType?: TimedPolicyRecurrenceTypes | null;
|
|
@@ -25336,7 +25588,7 @@ export type QueryAgentsQuery = {
|
|
|
25336
25588
|
__typename?: 'EntityReference';
|
|
25337
25589
|
id: string;
|
|
25338
25590
|
} | null;
|
|
25339
|
-
|
|
25591
|
+
trigger?: {
|
|
25340
25592
|
__typename?: 'AgentTriggerFilter';
|
|
25341
25593
|
types?: Array<ContentTypes> | null;
|
|
25342
25594
|
fileTypes?: Array<FileTypes> | null;
|
|
@@ -25345,6 +25597,246 @@ export type QueryAgentsQuery = {
|
|
|
25345
25597
|
id: string;
|
|
25346
25598
|
}> | null;
|
|
25347
25599
|
} | null;
|
|
25600
|
+
filter?: {
|
|
25601
|
+
__typename?: 'ContentCriteria';
|
|
25602
|
+
inLast?: any | null;
|
|
25603
|
+
inNext?: any | null;
|
|
25604
|
+
createdInLast?: any | null;
|
|
25605
|
+
types?: Array<ContentTypes> | null;
|
|
25606
|
+
fileTypes?: Array<FileTypes> | null;
|
|
25607
|
+
formats?: Array<string> | null;
|
|
25608
|
+
fileExtensions?: Array<string> | null;
|
|
25609
|
+
hasObservations?: boolean | null;
|
|
25610
|
+
hasFeeds?: boolean | null;
|
|
25611
|
+
hasCollections?: boolean | null;
|
|
25612
|
+
hasWorkflows?: boolean | null;
|
|
25613
|
+
collectionMode?: FilterMode | null;
|
|
25614
|
+
observationMode?: FilterMode | null;
|
|
25615
|
+
dateRange?: {
|
|
25616
|
+
__typename?: 'DateRange';
|
|
25617
|
+
from?: any | null;
|
|
25618
|
+
to?: any | null;
|
|
25619
|
+
} | null;
|
|
25620
|
+
creationDateRange?: {
|
|
25621
|
+
__typename?: 'DateRange';
|
|
25622
|
+
from?: any | null;
|
|
25623
|
+
to?: any | null;
|
|
25624
|
+
} | null;
|
|
25625
|
+
fileSizeRange?: {
|
|
25626
|
+
__typename?: 'Int64Range';
|
|
25627
|
+
from?: any | null;
|
|
25628
|
+
to?: any | null;
|
|
25629
|
+
} | null;
|
|
25630
|
+
similarContents?: Array<{
|
|
25631
|
+
__typename?: 'EntityReference';
|
|
25632
|
+
id: string;
|
|
25633
|
+
}> | null;
|
|
25634
|
+
contents?: Array<{
|
|
25635
|
+
__typename?: 'EntityReference';
|
|
25636
|
+
id: string;
|
|
25637
|
+
}> | null;
|
|
25638
|
+
feeds?: Array<{
|
|
25639
|
+
__typename?: 'EntityReference';
|
|
25640
|
+
id: string;
|
|
25641
|
+
}> | null;
|
|
25642
|
+
workflows?: Array<{
|
|
25643
|
+
__typename?: 'EntityReference';
|
|
25644
|
+
id: string;
|
|
25645
|
+
}> | null;
|
|
25646
|
+
collections?: Array<{
|
|
25647
|
+
__typename?: 'EntityReference';
|
|
25648
|
+
id: string;
|
|
25649
|
+
}> | null;
|
|
25650
|
+
users?: Array<{
|
|
25651
|
+
__typename?: 'EntityReference';
|
|
25652
|
+
id: string;
|
|
25653
|
+
}> | null;
|
|
25654
|
+
observations?: Array<{
|
|
25655
|
+
__typename?: 'ObservationCriteria';
|
|
25656
|
+
type: ObservableTypes;
|
|
25657
|
+
states?: Array<EntityState> | null;
|
|
25658
|
+
observable: {
|
|
25659
|
+
__typename?: 'EntityReference';
|
|
25660
|
+
id: string;
|
|
25661
|
+
};
|
|
25662
|
+
}> | null;
|
|
25663
|
+
or?: Array<{
|
|
25664
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25665
|
+
feeds?: Array<{
|
|
25666
|
+
__typename?: 'EntityReference';
|
|
25667
|
+
id: string;
|
|
25668
|
+
}> | null;
|
|
25669
|
+
workflows?: Array<{
|
|
25670
|
+
__typename?: 'EntityReference';
|
|
25671
|
+
id: string;
|
|
25672
|
+
}> | null;
|
|
25673
|
+
collections?: Array<{
|
|
25674
|
+
__typename?: 'EntityReference';
|
|
25675
|
+
id: string;
|
|
25676
|
+
}> | null;
|
|
25677
|
+
users?: Array<{
|
|
25678
|
+
__typename?: 'EntityReference';
|
|
25679
|
+
id: string;
|
|
25680
|
+
}> | null;
|
|
25681
|
+
observations?: Array<{
|
|
25682
|
+
__typename?: 'ObservationCriteria';
|
|
25683
|
+
type: ObservableTypes;
|
|
25684
|
+
states?: Array<EntityState> | null;
|
|
25685
|
+
observable: {
|
|
25686
|
+
__typename?: 'EntityReference';
|
|
25687
|
+
id: string;
|
|
25688
|
+
};
|
|
25689
|
+
}> | null;
|
|
25690
|
+
}> | null;
|
|
25691
|
+
and?: Array<{
|
|
25692
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25693
|
+
feeds?: Array<{
|
|
25694
|
+
__typename?: 'EntityReference';
|
|
25695
|
+
id: string;
|
|
25696
|
+
}> | null;
|
|
25697
|
+
workflows?: Array<{
|
|
25698
|
+
__typename?: 'EntityReference';
|
|
25699
|
+
id: string;
|
|
25700
|
+
}> | null;
|
|
25701
|
+
collections?: Array<{
|
|
25702
|
+
__typename?: 'EntityReference';
|
|
25703
|
+
id: string;
|
|
25704
|
+
}> | null;
|
|
25705
|
+
users?: Array<{
|
|
25706
|
+
__typename?: 'EntityReference';
|
|
25707
|
+
id: string;
|
|
25708
|
+
}> | null;
|
|
25709
|
+
observations?: Array<{
|
|
25710
|
+
__typename?: 'ObservationCriteria';
|
|
25711
|
+
type: ObservableTypes;
|
|
25712
|
+
states?: Array<EntityState> | null;
|
|
25713
|
+
observable: {
|
|
25714
|
+
__typename?: 'EntityReference';
|
|
25715
|
+
id: string;
|
|
25716
|
+
};
|
|
25717
|
+
}> | null;
|
|
25718
|
+
}> | null;
|
|
25719
|
+
} | null;
|
|
25720
|
+
augmentedFilter?: {
|
|
25721
|
+
__typename?: 'ContentCriteria';
|
|
25722
|
+
inLast?: any | null;
|
|
25723
|
+
inNext?: any | null;
|
|
25724
|
+
createdInLast?: any | null;
|
|
25725
|
+
types?: Array<ContentTypes> | null;
|
|
25726
|
+
fileTypes?: Array<FileTypes> | null;
|
|
25727
|
+
formats?: Array<string> | null;
|
|
25728
|
+
fileExtensions?: Array<string> | null;
|
|
25729
|
+
hasObservations?: boolean | null;
|
|
25730
|
+
hasFeeds?: boolean | null;
|
|
25731
|
+
hasCollections?: boolean | null;
|
|
25732
|
+
hasWorkflows?: boolean | null;
|
|
25733
|
+
collectionMode?: FilterMode | null;
|
|
25734
|
+
observationMode?: FilterMode | null;
|
|
25735
|
+
dateRange?: {
|
|
25736
|
+
__typename?: 'DateRange';
|
|
25737
|
+
from?: any | null;
|
|
25738
|
+
to?: any | null;
|
|
25739
|
+
} | null;
|
|
25740
|
+
creationDateRange?: {
|
|
25741
|
+
__typename?: 'DateRange';
|
|
25742
|
+
from?: any | null;
|
|
25743
|
+
to?: any | null;
|
|
25744
|
+
} | null;
|
|
25745
|
+
fileSizeRange?: {
|
|
25746
|
+
__typename?: 'Int64Range';
|
|
25747
|
+
from?: any | null;
|
|
25748
|
+
to?: any | null;
|
|
25749
|
+
} | null;
|
|
25750
|
+
similarContents?: Array<{
|
|
25751
|
+
__typename?: 'EntityReference';
|
|
25752
|
+
id: string;
|
|
25753
|
+
}> | null;
|
|
25754
|
+
contents?: Array<{
|
|
25755
|
+
__typename?: 'EntityReference';
|
|
25756
|
+
id: string;
|
|
25757
|
+
}> | null;
|
|
25758
|
+
feeds?: Array<{
|
|
25759
|
+
__typename?: 'EntityReference';
|
|
25760
|
+
id: string;
|
|
25761
|
+
}> | null;
|
|
25762
|
+
workflows?: Array<{
|
|
25763
|
+
__typename?: 'EntityReference';
|
|
25764
|
+
id: string;
|
|
25765
|
+
}> | null;
|
|
25766
|
+
collections?: Array<{
|
|
25767
|
+
__typename?: 'EntityReference';
|
|
25768
|
+
id: string;
|
|
25769
|
+
}> | null;
|
|
25770
|
+
users?: Array<{
|
|
25771
|
+
__typename?: 'EntityReference';
|
|
25772
|
+
id: string;
|
|
25773
|
+
}> | null;
|
|
25774
|
+
observations?: Array<{
|
|
25775
|
+
__typename?: 'ObservationCriteria';
|
|
25776
|
+
type: ObservableTypes;
|
|
25777
|
+
states?: Array<EntityState> | null;
|
|
25778
|
+
observable: {
|
|
25779
|
+
__typename?: 'EntityReference';
|
|
25780
|
+
id: string;
|
|
25781
|
+
};
|
|
25782
|
+
}> | null;
|
|
25783
|
+
or?: Array<{
|
|
25784
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25785
|
+
feeds?: Array<{
|
|
25786
|
+
__typename?: 'EntityReference';
|
|
25787
|
+
id: string;
|
|
25788
|
+
}> | null;
|
|
25789
|
+
workflows?: Array<{
|
|
25790
|
+
__typename?: 'EntityReference';
|
|
25791
|
+
id: string;
|
|
25792
|
+
}> | null;
|
|
25793
|
+
collections?: Array<{
|
|
25794
|
+
__typename?: 'EntityReference';
|
|
25795
|
+
id: string;
|
|
25796
|
+
}> | null;
|
|
25797
|
+
users?: Array<{
|
|
25798
|
+
__typename?: 'EntityReference';
|
|
25799
|
+
id: string;
|
|
25800
|
+
}> | null;
|
|
25801
|
+
observations?: Array<{
|
|
25802
|
+
__typename?: 'ObservationCriteria';
|
|
25803
|
+
type: ObservableTypes;
|
|
25804
|
+
states?: Array<EntityState> | null;
|
|
25805
|
+
observable: {
|
|
25806
|
+
__typename?: 'EntityReference';
|
|
25807
|
+
id: string;
|
|
25808
|
+
};
|
|
25809
|
+
}> | null;
|
|
25810
|
+
}> | null;
|
|
25811
|
+
and?: Array<{
|
|
25812
|
+
__typename?: 'ContentCriteriaLevel';
|
|
25813
|
+
feeds?: Array<{
|
|
25814
|
+
__typename?: 'EntityReference';
|
|
25815
|
+
id: string;
|
|
25816
|
+
}> | null;
|
|
25817
|
+
workflows?: Array<{
|
|
25818
|
+
__typename?: 'EntityReference';
|
|
25819
|
+
id: string;
|
|
25820
|
+
}> | null;
|
|
25821
|
+
collections?: Array<{
|
|
25822
|
+
__typename?: 'EntityReference';
|
|
25823
|
+
id: string;
|
|
25824
|
+
}> | null;
|
|
25825
|
+
users?: Array<{
|
|
25826
|
+
__typename?: 'EntityReference';
|
|
25827
|
+
id: string;
|
|
25828
|
+
}> | null;
|
|
25829
|
+
observations?: Array<{
|
|
25830
|
+
__typename?: 'ObservationCriteria';
|
|
25831
|
+
type: ObservableTypes;
|
|
25832
|
+
states?: Array<EntityState> | null;
|
|
25833
|
+
observable: {
|
|
25834
|
+
__typename?: 'EntityReference';
|
|
25835
|
+
id: string;
|
|
25836
|
+
};
|
|
25837
|
+
}> | null;
|
|
25838
|
+
}> | null;
|
|
25839
|
+
} | null;
|
|
25348
25840
|
schedulePolicy?: {
|
|
25349
25841
|
__typename?: 'AgentSchedulePolicy';
|
|
25350
25842
|
recurrenceType?: TimedPolicyRecurrenceTypes | null;
|