graphlit-client 1.0.20241222001 → 1.0.20241224002
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.d.ts +5 -4
- package/dist/client.js +13 -8
- package/dist/generated/graphql-documents.js +290 -5
- package/dist/generated/graphql-types.d.ts +347 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
@@ -40,10 +40,11 @@ declare class Graphlit {
|
|
40
40
|
describeImage(prompt: string, uri: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.DescribeImageMutation>;
|
41
41
|
describeEncodedImage(prompt: string, mimeType: string, data: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.DescribeEncodedImageMutation>;
|
42
42
|
screenshotPage(uri: string, maximumHeight?: number, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.ScreenshotPageMutation>;
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
43
|
+
ingestTextBatch(batch: [Types.TextContentInput], textType: Types.TextTypes, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestTextBatchMutation>;
|
44
|
+
ingestBatch(uris: [string], workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestBatchMutation>;
|
45
|
+
ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestUriMutation>;
|
46
|
+
ingestText(name: string, text: string, textType?: Types.TextTypes, uri?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestTextMutation>;
|
47
|
+
ingestEncodedFile(name: string, data: string, mimeType: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], observations?: [Types.ObservationReferenceInput], correlationId?: string): Promise<Types.IngestEncodedFileMutation>;
|
47
48
|
updateContent(content: Types.ContentUpdateInput): Promise<Types.UpdateContentMutation>;
|
48
49
|
deleteContent(id: string): Promise<Types.DeleteContentMutation>;
|
49
50
|
deleteContents(): Promise<Types.DeleteContentsMutation>;
|
package/dist/client.js
CHANGED
@@ -258,24 +258,29 @@ class Graphlit {
|
|
258
258
|
return this.mutateAndCheckError(Documents.ScreenshotPage, { uri: uri, maximumHeight: maximumHeight, isSynchronous: isSynchronous, workflow: workflow, collections: collections, correlationId: correlationId });
|
259
259
|
});
|
260
260
|
}
|
261
|
-
|
261
|
+
ingestTextBatch(batch, textType, collections, observations, correlationId) {
|
262
262
|
return __awaiter(this, void 0, void 0, function* () {
|
263
|
-
return this.mutateAndCheckError(Documents.
|
263
|
+
return this.mutateAndCheckError(Documents.IngestTextBatch, { batch: batch, textType: textType, collections: collections, observations: observations, correlationId: correlationId });
|
264
264
|
});
|
265
265
|
}
|
266
|
-
|
266
|
+
ingestBatch(uris, workflow, collections, observations, correlationId) {
|
267
267
|
return __awaiter(this, void 0, void 0, function* () {
|
268
|
-
return this.mutateAndCheckError(Documents.
|
268
|
+
return this.mutateAndCheckError(Documents.IngestBatch, { uris: uris, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
269
269
|
});
|
270
270
|
}
|
271
|
-
|
271
|
+
ingestUri(uri, name, id, isSynchronous, workflow, collections, observations, correlationId) {
|
272
272
|
return __awaiter(this, void 0, void 0, function* () {
|
273
|
-
return this.mutateAndCheckError(Documents.
|
273
|
+
return this.mutateAndCheckError(Documents.IngestUri, { uri: uri, name: name, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
274
274
|
});
|
275
275
|
}
|
276
|
-
|
276
|
+
ingestText(name, text, textType, uri, id, isSynchronous, workflow, collections, observations, correlationId) {
|
277
277
|
return __awaiter(this, void 0, void 0, function* () {
|
278
|
-
return this.mutateAndCheckError(Documents.
|
278
|
+
return this.mutateAndCheckError(Documents.IngestText, { name: name, text: text, textType: textType, uri: uri, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
279
|
+
});
|
280
|
+
}
|
281
|
+
ingestEncodedFile(name, data, mimeType, id, isSynchronous, workflow, collections, observations, correlationId) {
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
283
|
+
return this.mutateAndCheckError(Documents.IngestEncodedFile, { name: name, data: data, mimeType: mimeType, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, observations: observations, correlationId: correlationId });
|
279
284
|
});
|
280
285
|
}
|
281
286
|
updateContent(content) {
|
@@ -1092,11 +1092,12 @@ exports.GetContent = (0, graphql_tag_1.default) `
|
|
1092
1092
|
}
|
1093
1093
|
`;
|
1094
1094
|
exports.IngestBatch = (0, graphql_tag_1.default) `
|
1095
|
-
mutation IngestBatch($uris: [URL!]!, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1095
|
+
mutation IngestBatch($uris: [URL!]!, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1096
1096
|
ingestBatch(
|
1097
1097
|
uris: $uris
|
1098
1098
|
workflow: $workflow
|
1099
1099
|
collections: $collections
|
1100
|
+
observations: $observations
|
1100
1101
|
correlationId: $correlationId
|
1101
1102
|
) {
|
1102
1103
|
id
|
@@ -1110,11 +1111,39 @@ exports.IngestBatch = (0, graphql_tag_1.default) `
|
|
1110
1111
|
id
|
1111
1112
|
name
|
1112
1113
|
}
|
1114
|
+
observations {
|
1115
|
+
id
|
1116
|
+
type
|
1117
|
+
observable {
|
1118
|
+
id
|
1119
|
+
name
|
1120
|
+
}
|
1121
|
+
related {
|
1122
|
+
id
|
1123
|
+
name
|
1124
|
+
}
|
1125
|
+
relatedType
|
1126
|
+
relation
|
1127
|
+
occurrences {
|
1128
|
+
type
|
1129
|
+
confidence
|
1130
|
+
startTime
|
1131
|
+
endTime
|
1132
|
+
pageIndex
|
1133
|
+
boundingBox {
|
1134
|
+
left
|
1135
|
+
top
|
1136
|
+
width
|
1137
|
+
height
|
1138
|
+
}
|
1139
|
+
}
|
1140
|
+
state
|
1141
|
+
}
|
1113
1142
|
}
|
1114
1143
|
}
|
1115
1144
|
`;
|
1116
1145
|
exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
1117
|
-
mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
|
1146
|
+
mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
|
1118
1147
|
ingestEncodedFile(
|
1119
1148
|
name: $name
|
1120
1149
|
data: $data
|
@@ -1122,6 +1151,7 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
|
1122
1151
|
id: $id
|
1123
1152
|
isSynchronous: $isSynchronous
|
1124
1153
|
collections: $collections
|
1154
|
+
observations: $observations
|
1125
1155
|
workflow: $workflow
|
1126
1156
|
correlationId: $correlationId
|
1127
1157
|
) {
|
@@ -1136,11 +1166,39 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
|
1136
1166
|
id
|
1137
1167
|
name
|
1138
1168
|
}
|
1169
|
+
observations {
|
1170
|
+
id
|
1171
|
+
type
|
1172
|
+
observable {
|
1173
|
+
id
|
1174
|
+
name
|
1175
|
+
}
|
1176
|
+
related {
|
1177
|
+
id
|
1178
|
+
name
|
1179
|
+
}
|
1180
|
+
relatedType
|
1181
|
+
relation
|
1182
|
+
occurrences {
|
1183
|
+
type
|
1184
|
+
confidence
|
1185
|
+
startTime
|
1186
|
+
endTime
|
1187
|
+
pageIndex
|
1188
|
+
boundingBox {
|
1189
|
+
left
|
1190
|
+
top
|
1191
|
+
width
|
1192
|
+
height
|
1193
|
+
}
|
1194
|
+
}
|
1195
|
+
state
|
1196
|
+
}
|
1139
1197
|
}
|
1140
1198
|
}
|
1141
1199
|
`;
|
1142
1200
|
exports.IngestText = (0, graphql_tag_1.default) `
|
1143
|
-
mutation IngestText($name: String!, $text: String!, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1201
|
+
mutation IngestText($name: String!, $text: String!, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1144
1202
|
ingestText(
|
1145
1203
|
name: $name
|
1146
1204
|
text: $text
|
@@ -1150,6 +1208,7 @@ exports.IngestText = (0, graphql_tag_1.default) `
|
|
1150
1208
|
isSynchronous: $isSynchronous
|
1151
1209
|
workflow: $workflow
|
1152
1210
|
collections: $collections
|
1211
|
+
observations: $observations
|
1153
1212
|
correlationId: $correlationId
|
1154
1213
|
) {
|
1155
1214
|
id
|
@@ -1163,16 +1222,45 @@ exports.IngestText = (0, graphql_tag_1.default) `
|
|
1163
1222
|
id
|
1164
1223
|
name
|
1165
1224
|
}
|
1225
|
+
observations {
|
1226
|
+
id
|
1227
|
+
type
|
1228
|
+
observable {
|
1229
|
+
id
|
1230
|
+
name
|
1231
|
+
}
|
1232
|
+
related {
|
1233
|
+
id
|
1234
|
+
name
|
1235
|
+
}
|
1236
|
+
relatedType
|
1237
|
+
relation
|
1238
|
+
occurrences {
|
1239
|
+
type
|
1240
|
+
confidence
|
1241
|
+
startTime
|
1242
|
+
endTime
|
1243
|
+
pageIndex
|
1244
|
+
boundingBox {
|
1245
|
+
left
|
1246
|
+
top
|
1247
|
+
width
|
1248
|
+
height
|
1249
|
+
}
|
1250
|
+
}
|
1251
|
+
state
|
1252
|
+
}
|
1166
1253
|
}
|
1167
1254
|
}
|
1168
1255
|
`;
|
1169
1256
|
exports.IngestTextBatch = (0, graphql_tag_1.default) `
|
1170
|
-
mutation IngestTextBatch($batch: [TextContentInput!]!, $textType: TextTypes, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1257
|
+
mutation IngestTextBatch($batch: [TextContentInput!]!, $textType: TextTypes, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1171
1258
|
ingestTextBatch(
|
1172
1259
|
batch: $batch
|
1173
1260
|
workflow: $workflow
|
1174
1261
|
textType: $textType
|
1175
1262
|
collections: $collections
|
1263
|
+
observations: $observations
|
1176
1264
|
correlationId: $correlationId
|
1177
1265
|
) {
|
1178
1266
|
id
|
@@ -1186,17 +1274,46 @@ exports.IngestTextBatch = (0, graphql_tag_1.default) `
|
|
1186
1274
|
id
|
1187
1275
|
name
|
1188
1276
|
}
|
1277
|
+
observations {
|
1278
|
+
id
|
1279
|
+
type
|
1280
|
+
observable {
|
1281
|
+
id
|
1282
|
+
name
|
1283
|
+
}
|
1284
|
+
related {
|
1285
|
+
id
|
1286
|
+
name
|
1287
|
+
}
|
1288
|
+
relatedType
|
1289
|
+
relation
|
1290
|
+
occurrences {
|
1291
|
+
type
|
1292
|
+
confidence
|
1293
|
+
startTime
|
1294
|
+
endTime
|
1295
|
+
pageIndex
|
1296
|
+
boundingBox {
|
1297
|
+
left
|
1298
|
+
top
|
1299
|
+
width
|
1300
|
+
height
|
1301
|
+
}
|
1302
|
+
}
|
1303
|
+
state
|
1304
|
+
}
|
1189
1305
|
}
|
1190
1306
|
}
|
1191
1307
|
`;
|
1192
1308
|
exports.IngestUri = (0, graphql_tag_1.default) `
|
1193
|
-
mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1309
|
+
mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
|
1194
1310
|
ingestUri(
|
1195
1311
|
name: $name
|
1196
1312
|
uri: $uri
|
1197
1313
|
id: $id
|
1198
1314
|
workflow: $workflow
|
1199
1315
|
collections: $collections
|
1316
|
+
observations: $observations
|
1200
1317
|
isSynchronous: $isSynchronous
|
1201
1318
|
correlationId: $correlationId
|
1202
1319
|
) {
|
@@ -1211,6 +1328,34 @@ exports.IngestUri = (0, graphql_tag_1.default) `
|
|
1211
1328
|
id
|
1212
1329
|
name
|
1213
1330
|
}
|
1331
|
+
observations {
|
1332
|
+
id
|
1333
|
+
type
|
1334
|
+
observable {
|
1335
|
+
id
|
1336
|
+
name
|
1337
|
+
}
|
1338
|
+
related {
|
1339
|
+
id
|
1340
|
+
name
|
1341
|
+
}
|
1342
|
+
relatedType
|
1343
|
+
relation
|
1344
|
+
occurrences {
|
1345
|
+
type
|
1346
|
+
confidence
|
1347
|
+
startTime
|
1348
|
+
endTime
|
1349
|
+
pageIndex
|
1350
|
+
boundingBox {
|
1351
|
+
left
|
1352
|
+
top
|
1353
|
+
width
|
1354
|
+
height
|
1355
|
+
}
|
1356
|
+
}
|
1357
|
+
state
|
1358
|
+
}
|
1214
1359
|
}
|
1215
1360
|
}
|
1216
1361
|
`;
|
@@ -1246,6 +1391,34 @@ exports.PublishContents = (0, graphql_tag_1.default) `
|
|
1246
1391
|
id
|
1247
1392
|
name
|
1248
1393
|
}
|
1394
|
+
observations {
|
1395
|
+
id
|
1396
|
+
type
|
1397
|
+
observable {
|
1398
|
+
id
|
1399
|
+
name
|
1400
|
+
}
|
1401
|
+
related {
|
1402
|
+
id
|
1403
|
+
name
|
1404
|
+
}
|
1405
|
+
relatedType
|
1406
|
+
relation
|
1407
|
+
occurrences {
|
1408
|
+
type
|
1409
|
+
confidence
|
1410
|
+
startTime
|
1411
|
+
endTime
|
1412
|
+
pageIndex
|
1413
|
+
boundingBox {
|
1414
|
+
left
|
1415
|
+
top
|
1416
|
+
width
|
1417
|
+
height
|
1418
|
+
}
|
1419
|
+
}
|
1420
|
+
state
|
1421
|
+
}
|
1249
1422
|
textUri
|
1250
1423
|
audioUri
|
1251
1424
|
markdown
|
@@ -1274,6 +1447,34 @@ exports.PublishText = (0, graphql_tag_1.default) `
|
|
1274
1447
|
id
|
1275
1448
|
name
|
1276
1449
|
}
|
1450
|
+
observations {
|
1451
|
+
id
|
1452
|
+
type
|
1453
|
+
observable {
|
1454
|
+
id
|
1455
|
+
name
|
1456
|
+
}
|
1457
|
+
related {
|
1458
|
+
id
|
1459
|
+
name
|
1460
|
+
}
|
1461
|
+
relatedType
|
1462
|
+
relation
|
1463
|
+
occurrences {
|
1464
|
+
type
|
1465
|
+
confidence
|
1466
|
+
startTime
|
1467
|
+
endTime
|
1468
|
+
pageIndex
|
1469
|
+
boundingBox {
|
1470
|
+
left
|
1471
|
+
top
|
1472
|
+
width
|
1473
|
+
height
|
1474
|
+
}
|
1475
|
+
}
|
1476
|
+
state
|
1477
|
+
}
|
1277
1478
|
textUri
|
1278
1479
|
audioUri
|
1279
1480
|
markdown
|
@@ -1835,6 +2036,34 @@ exports.ScreenshotPage = (0, graphql_tag_1.default) `
|
|
1835
2036
|
id
|
1836
2037
|
name
|
1837
2038
|
}
|
2039
|
+
observations {
|
2040
|
+
id
|
2041
|
+
type
|
2042
|
+
observable {
|
2043
|
+
id
|
2044
|
+
name
|
2045
|
+
}
|
2046
|
+
related {
|
2047
|
+
id
|
2048
|
+
name
|
2049
|
+
}
|
2050
|
+
relatedType
|
2051
|
+
relation
|
2052
|
+
occurrences {
|
2053
|
+
type
|
2054
|
+
confidence
|
2055
|
+
startTime
|
2056
|
+
endTime
|
2057
|
+
pageIndex
|
2058
|
+
boundingBox {
|
2059
|
+
left
|
2060
|
+
top
|
2061
|
+
width
|
2062
|
+
height
|
2063
|
+
}
|
2064
|
+
}
|
2065
|
+
state
|
2066
|
+
}
|
1838
2067
|
}
|
1839
2068
|
}
|
1840
2069
|
`;
|
@@ -1899,6 +2128,34 @@ exports.UpdateContent = (0, graphql_tag_1.default) `
|
|
1899
2128
|
id
|
1900
2129
|
name
|
1901
2130
|
}
|
2131
|
+
observations {
|
2132
|
+
id
|
2133
|
+
type
|
2134
|
+
observable {
|
2135
|
+
id
|
2136
|
+
name
|
2137
|
+
}
|
2138
|
+
related {
|
2139
|
+
id
|
2140
|
+
name
|
2141
|
+
}
|
2142
|
+
relatedType
|
2143
|
+
relation
|
2144
|
+
occurrences {
|
2145
|
+
type
|
2146
|
+
confidence
|
2147
|
+
startTime
|
2148
|
+
endTime
|
2149
|
+
pageIndex
|
2150
|
+
boundingBox {
|
2151
|
+
left
|
2152
|
+
top
|
2153
|
+
width
|
2154
|
+
height
|
2155
|
+
}
|
2156
|
+
}
|
2157
|
+
state
|
2158
|
+
}
|
1902
2159
|
}
|
1903
2160
|
}
|
1904
2161
|
`;
|
@@ -3641,6 +3898,34 @@ exports.PublishConversation = (0, graphql_tag_1.default) `
|
|
3641
3898
|
id
|
3642
3899
|
name
|
3643
3900
|
}
|
3901
|
+
observations {
|
3902
|
+
id
|
3903
|
+
type
|
3904
|
+
observable {
|
3905
|
+
id
|
3906
|
+
name
|
3907
|
+
}
|
3908
|
+
related {
|
3909
|
+
id
|
3910
|
+
name
|
3911
|
+
}
|
3912
|
+
relatedType
|
3913
|
+
relation
|
3914
|
+
occurrences {
|
3915
|
+
type
|
3916
|
+
confidence
|
3917
|
+
startTime
|
3918
|
+
endTime
|
3919
|
+
pageIndex
|
3920
|
+
boundingBox {
|
3921
|
+
left
|
3922
|
+
top
|
3923
|
+
width
|
3924
|
+
height
|
3925
|
+
}
|
3926
|
+
}
|
3927
|
+
state
|
3928
|
+
}
|
3644
3929
|
textUri
|
3645
3930
|
audioUri
|
3646
3931
|
markdown
|
@@ -7686,6 +7686,7 @@ export type MutationFormatConversationArgs = {
|
|
7686
7686
|
export type MutationIngestBatchArgs = {
|
7687
7687
|
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
7688
7688
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7689
|
+
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
7689
7690
|
uris: Array<Scalars['URL']['input']>;
|
7690
7691
|
workflow?: InputMaybe<EntityReferenceInput>;
|
7691
7692
|
};
|
@@ -7697,6 +7698,7 @@ export type MutationIngestEncodedFileArgs = {
|
|
7697
7698
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
7698
7699
|
mimeType: Scalars['String']['input'];
|
7699
7700
|
name: Scalars['String']['input'];
|
7701
|
+
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
7700
7702
|
workflow?: InputMaybe<EntityReferenceInput>;
|
7701
7703
|
};
|
7702
7704
|
export type MutationIngestFileArgs = {
|
@@ -7723,6 +7725,7 @@ export type MutationIngestTextArgs = {
|
|
7723
7725
|
id?: InputMaybe<Scalars['ID']['input']>;
|
7724
7726
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
7725
7727
|
name: Scalars['String']['input'];
|
7728
|
+
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
7726
7729
|
text: Scalars['String']['input'];
|
7727
7730
|
textType?: InputMaybe<TextTypes>;
|
7728
7731
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
@@ -7732,6 +7735,7 @@ export type MutationIngestTextBatchArgs = {
|
|
7732
7735
|
batch: Array<TextContentInput>;
|
7733
7736
|
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
7734
7737
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7738
|
+
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
7735
7739
|
textType?: InputMaybe<TextTypes>;
|
7736
7740
|
workflow?: InputMaybe<EntityReferenceInput>;
|
7737
7741
|
};
|
@@ -7741,6 +7745,7 @@ export type MutationIngestUriArgs = {
|
|
7741
7745
|
id?: InputMaybe<Scalars['ID']['input']>;
|
7742
7746
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
7743
7747
|
name?: InputMaybe<Scalars['String']['input']>;
|
7748
|
+
observations?: InputMaybe<Array<ObservationReferenceInput>>;
|
7744
7749
|
uri: Scalars['URL']['input'];
|
7745
7750
|
workflow?: InputMaybe<EntityReferenceInput>;
|
7746
7751
|
};
|
@@ -8176,6 +8181,13 @@ export type ObservationReferenceFilter = {
|
|
8176
8181
|
/** Filter by observed entity type. */
|
8177
8182
|
type: ObservableTypes;
|
8178
8183
|
};
|
8184
|
+
/** Represents an observation reference. */
|
8185
|
+
export type ObservationReferenceInput = {
|
8186
|
+
/** The observed entity. */
|
8187
|
+
observable: NamedEntityReferenceInput;
|
8188
|
+
/** The observed entity type. */
|
8189
|
+
type: ObservableTypes;
|
8190
|
+
};
|
8179
8191
|
/** Represents an observation. */
|
8180
8192
|
export type ObservationUpdateInput = {
|
8181
8193
|
/** The ID of the observation to update. */
|
@@ -13529,6 +13541,7 @@ export type IngestBatchMutationVariables = Exact<{
|
|
13529
13541
|
uris: Array<Scalars['URL']['input']> | Scalars['URL']['input'];
|
13530
13542
|
workflow?: InputMaybe<EntityReferenceInput>;
|
13531
13543
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13544
|
+
observations?: InputMaybe<Array<ObservationReferenceInput> | ObservationReferenceInput>;
|
13532
13545
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13533
13546
|
}>;
|
13534
13547
|
export type IngestBatchMutation = {
|
@@ -13547,6 +13560,39 @@ export type IngestBatchMutation = {
|
|
13547
13560
|
id: string;
|
13548
13561
|
name: string;
|
13549
13562
|
} | null> | null;
|
13563
|
+
observations?: Array<{
|
13564
|
+
__typename?: 'Observation';
|
13565
|
+
id: string;
|
13566
|
+
type: ObservableTypes;
|
13567
|
+
relatedType?: ObservableTypes | null;
|
13568
|
+
relation?: string | null;
|
13569
|
+
state: EntityState;
|
13570
|
+
observable: {
|
13571
|
+
__typename?: 'NamedEntityReference';
|
13572
|
+
id: string;
|
13573
|
+
name?: string | null;
|
13574
|
+
};
|
13575
|
+
related?: {
|
13576
|
+
__typename?: 'NamedEntityReference';
|
13577
|
+
id: string;
|
13578
|
+
name?: string | null;
|
13579
|
+
} | null;
|
13580
|
+
occurrences?: Array<{
|
13581
|
+
__typename?: 'ObservationOccurrence';
|
13582
|
+
type?: OccurrenceTypes | null;
|
13583
|
+
confidence?: number | null;
|
13584
|
+
startTime?: any | null;
|
13585
|
+
endTime?: any | null;
|
13586
|
+
pageIndex?: number | null;
|
13587
|
+
boundingBox?: {
|
13588
|
+
__typename?: 'BoundingBox';
|
13589
|
+
left?: number | null;
|
13590
|
+
top?: number | null;
|
13591
|
+
width?: number | null;
|
13592
|
+
height?: number | null;
|
13593
|
+
} | null;
|
13594
|
+
} | null> | null;
|
13595
|
+
} | null> | null;
|
13550
13596
|
} | null> | null;
|
13551
13597
|
};
|
13552
13598
|
export type IngestEncodedFileMutationVariables = Exact<{
|
@@ -13556,6 +13602,7 @@ export type IngestEncodedFileMutationVariables = Exact<{
|
|
13556
13602
|
id?: InputMaybe<Scalars['ID']['input']>;
|
13557
13603
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
13558
13604
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13605
|
+
observations?: InputMaybe<Array<ObservationReferenceInput> | ObservationReferenceInput>;
|
13559
13606
|
workflow?: InputMaybe<EntityReferenceInput>;
|
13560
13607
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13561
13608
|
}>;
|
@@ -13575,6 +13622,39 @@ export type IngestEncodedFileMutation = {
|
|
13575
13622
|
id: string;
|
13576
13623
|
name: string;
|
13577
13624
|
} | null> | null;
|
13625
|
+
observations?: Array<{
|
13626
|
+
__typename?: 'Observation';
|
13627
|
+
id: string;
|
13628
|
+
type: ObservableTypes;
|
13629
|
+
relatedType?: ObservableTypes | null;
|
13630
|
+
relation?: string | null;
|
13631
|
+
state: EntityState;
|
13632
|
+
observable: {
|
13633
|
+
__typename?: 'NamedEntityReference';
|
13634
|
+
id: string;
|
13635
|
+
name?: string | null;
|
13636
|
+
};
|
13637
|
+
related?: {
|
13638
|
+
__typename?: 'NamedEntityReference';
|
13639
|
+
id: string;
|
13640
|
+
name?: string | null;
|
13641
|
+
} | null;
|
13642
|
+
occurrences?: Array<{
|
13643
|
+
__typename?: 'ObservationOccurrence';
|
13644
|
+
type?: OccurrenceTypes | null;
|
13645
|
+
confidence?: number | null;
|
13646
|
+
startTime?: any | null;
|
13647
|
+
endTime?: any | null;
|
13648
|
+
pageIndex?: number | null;
|
13649
|
+
boundingBox?: {
|
13650
|
+
__typename?: 'BoundingBox';
|
13651
|
+
left?: number | null;
|
13652
|
+
top?: number | null;
|
13653
|
+
width?: number | null;
|
13654
|
+
height?: number | null;
|
13655
|
+
} | null;
|
13656
|
+
} | null> | null;
|
13657
|
+
} | null> | null;
|
13578
13658
|
} | null;
|
13579
13659
|
};
|
13580
13660
|
export type IngestTextMutationVariables = Exact<{
|
@@ -13586,6 +13666,7 @@ export type IngestTextMutationVariables = Exact<{
|
|
13586
13666
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
13587
13667
|
workflow?: InputMaybe<EntityReferenceInput>;
|
13588
13668
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13669
|
+
observations?: InputMaybe<Array<ObservationReferenceInput> | ObservationReferenceInput>;
|
13589
13670
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13590
13671
|
}>;
|
13591
13672
|
export type IngestTextMutation = {
|
@@ -13604,6 +13685,39 @@ export type IngestTextMutation = {
|
|
13604
13685
|
id: string;
|
13605
13686
|
name: string;
|
13606
13687
|
} | null> | null;
|
13688
|
+
observations?: Array<{
|
13689
|
+
__typename?: 'Observation';
|
13690
|
+
id: string;
|
13691
|
+
type: ObservableTypes;
|
13692
|
+
relatedType?: ObservableTypes | null;
|
13693
|
+
relation?: string | null;
|
13694
|
+
state: EntityState;
|
13695
|
+
observable: {
|
13696
|
+
__typename?: 'NamedEntityReference';
|
13697
|
+
id: string;
|
13698
|
+
name?: string | null;
|
13699
|
+
};
|
13700
|
+
related?: {
|
13701
|
+
__typename?: 'NamedEntityReference';
|
13702
|
+
id: string;
|
13703
|
+
name?: string | null;
|
13704
|
+
} | null;
|
13705
|
+
occurrences?: Array<{
|
13706
|
+
__typename?: 'ObservationOccurrence';
|
13707
|
+
type?: OccurrenceTypes | null;
|
13708
|
+
confidence?: number | null;
|
13709
|
+
startTime?: any | null;
|
13710
|
+
endTime?: any | null;
|
13711
|
+
pageIndex?: number | null;
|
13712
|
+
boundingBox?: {
|
13713
|
+
__typename?: 'BoundingBox';
|
13714
|
+
left?: number | null;
|
13715
|
+
top?: number | null;
|
13716
|
+
width?: number | null;
|
13717
|
+
height?: number | null;
|
13718
|
+
} | null;
|
13719
|
+
} | null> | null;
|
13720
|
+
} | null> | null;
|
13607
13721
|
} | null;
|
13608
13722
|
};
|
13609
13723
|
export type IngestTextBatchMutationVariables = Exact<{
|
@@ -13611,6 +13725,7 @@ export type IngestTextBatchMutationVariables = Exact<{
|
|
13611
13725
|
textType?: InputMaybe<TextTypes>;
|
13612
13726
|
workflow?: InputMaybe<EntityReferenceInput>;
|
13613
13727
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13728
|
+
observations?: InputMaybe<Array<ObservationReferenceInput> | ObservationReferenceInput>;
|
13614
13729
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13615
13730
|
}>;
|
13616
13731
|
export type IngestTextBatchMutation = {
|
@@ -13629,6 +13744,39 @@ export type IngestTextBatchMutation = {
|
|
13629
13744
|
id: string;
|
13630
13745
|
name: string;
|
13631
13746
|
} | null> | null;
|
13747
|
+
observations?: Array<{
|
13748
|
+
__typename?: 'Observation';
|
13749
|
+
id: string;
|
13750
|
+
type: ObservableTypes;
|
13751
|
+
relatedType?: ObservableTypes | null;
|
13752
|
+
relation?: string | null;
|
13753
|
+
state: EntityState;
|
13754
|
+
observable: {
|
13755
|
+
__typename?: 'NamedEntityReference';
|
13756
|
+
id: string;
|
13757
|
+
name?: string | null;
|
13758
|
+
};
|
13759
|
+
related?: {
|
13760
|
+
__typename?: 'NamedEntityReference';
|
13761
|
+
id: string;
|
13762
|
+
name?: string | null;
|
13763
|
+
} | null;
|
13764
|
+
occurrences?: Array<{
|
13765
|
+
__typename?: 'ObservationOccurrence';
|
13766
|
+
type?: OccurrenceTypes | null;
|
13767
|
+
confidence?: number | null;
|
13768
|
+
startTime?: any | null;
|
13769
|
+
endTime?: any | null;
|
13770
|
+
pageIndex?: number | null;
|
13771
|
+
boundingBox?: {
|
13772
|
+
__typename?: 'BoundingBox';
|
13773
|
+
left?: number | null;
|
13774
|
+
top?: number | null;
|
13775
|
+
width?: number | null;
|
13776
|
+
height?: number | null;
|
13777
|
+
} | null;
|
13778
|
+
} | null> | null;
|
13779
|
+
} | null> | null;
|
13632
13780
|
} | null> | null;
|
13633
13781
|
};
|
13634
13782
|
export type IngestUriMutationVariables = Exact<{
|
@@ -13638,6 +13786,7 @@ export type IngestUriMutationVariables = Exact<{
|
|
13638
13786
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
13639
13787
|
workflow?: InputMaybe<EntityReferenceInput>;
|
13640
13788
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13789
|
+
observations?: InputMaybe<Array<ObservationReferenceInput> | ObservationReferenceInput>;
|
13641
13790
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13642
13791
|
}>;
|
13643
13792
|
export type IngestUriMutation = {
|
@@ -13656,6 +13805,39 @@ export type IngestUriMutation = {
|
|
13656
13805
|
id: string;
|
13657
13806
|
name: string;
|
13658
13807
|
} | null> | null;
|
13808
|
+
observations?: Array<{
|
13809
|
+
__typename?: 'Observation';
|
13810
|
+
id: string;
|
13811
|
+
type: ObservableTypes;
|
13812
|
+
relatedType?: ObservableTypes | null;
|
13813
|
+
relation?: string | null;
|
13814
|
+
state: EntityState;
|
13815
|
+
observable: {
|
13816
|
+
__typename?: 'NamedEntityReference';
|
13817
|
+
id: string;
|
13818
|
+
name?: string | null;
|
13819
|
+
};
|
13820
|
+
related?: {
|
13821
|
+
__typename?: 'NamedEntityReference';
|
13822
|
+
id: string;
|
13823
|
+
name?: string | null;
|
13824
|
+
} | null;
|
13825
|
+
occurrences?: Array<{
|
13826
|
+
__typename?: 'ObservationOccurrence';
|
13827
|
+
type?: OccurrenceTypes | null;
|
13828
|
+
confidence?: number | null;
|
13829
|
+
startTime?: any | null;
|
13830
|
+
endTime?: any | null;
|
13831
|
+
pageIndex?: number | null;
|
13832
|
+
boundingBox?: {
|
13833
|
+
__typename?: 'BoundingBox';
|
13834
|
+
left?: number | null;
|
13835
|
+
top?: number | null;
|
13836
|
+
width?: number | null;
|
13837
|
+
height?: number | null;
|
13838
|
+
} | null;
|
13839
|
+
} | null> | null;
|
13840
|
+
} | null> | null;
|
13659
13841
|
} | null;
|
13660
13842
|
};
|
13661
13843
|
export type IsContentDoneQueryVariables = Exact<{
|
@@ -13699,6 +13881,39 @@ export type PublishContentsMutation = {
|
|
13699
13881
|
id: string;
|
13700
13882
|
name: string;
|
13701
13883
|
} | null> | null;
|
13884
|
+
observations?: Array<{
|
13885
|
+
__typename?: 'Observation';
|
13886
|
+
id: string;
|
13887
|
+
type: ObservableTypes;
|
13888
|
+
relatedType?: ObservableTypes | null;
|
13889
|
+
relation?: string | null;
|
13890
|
+
state: EntityState;
|
13891
|
+
observable: {
|
13892
|
+
__typename?: 'NamedEntityReference';
|
13893
|
+
id: string;
|
13894
|
+
name?: string | null;
|
13895
|
+
};
|
13896
|
+
related?: {
|
13897
|
+
__typename?: 'NamedEntityReference';
|
13898
|
+
id: string;
|
13899
|
+
name?: string | null;
|
13900
|
+
} | null;
|
13901
|
+
occurrences?: Array<{
|
13902
|
+
__typename?: 'ObservationOccurrence';
|
13903
|
+
type?: OccurrenceTypes | null;
|
13904
|
+
confidence?: number | null;
|
13905
|
+
startTime?: any | null;
|
13906
|
+
endTime?: any | null;
|
13907
|
+
pageIndex?: number | null;
|
13908
|
+
boundingBox?: {
|
13909
|
+
__typename?: 'BoundingBox';
|
13910
|
+
left?: number | null;
|
13911
|
+
top?: number | null;
|
13912
|
+
width?: number | null;
|
13913
|
+
height?: number | null;
|
13914
|
+
} | null;
|
13915
|
+
} | null> | null;
|
13916
|
+
} | null> | null;
|
13702
13917
|
} | null;
|
13703
13918
|
};
|
13704
13919
|
export type PublishTextMutationVariables = Exact<{
|
@@ -13729,6 +13944,39 @@ export type PublishTextMutation = {
|
|
13729
13944
|
id: string;
|
13730
13945
|
name: string;
|
13731
13946
|
} | null> | null;
|
13947
|
+
observations?: Array<{
|
13948
|
+
__typename?: 'Observation';
|
13949
|
+
id: string;
|
13950
|
+
type: ObservableTypes;
|
13951
|
+
relatedType?: ObservableTypes | null;
|
13952
|
+
relation?: string | null;
|
13953
|
+
state: EntityState;
|
13954
|
+
observable: {
|
13955
|
+
__typename?: 'NamedEntityReference';
|
13956
|
+
id: string;
|
13957
|
+
name?: string | null;
|
13958
|
+
};
|
13959
|
+
related?: {
|
13960
|
+
__typename?: 'NamedEntityReference';
|
13961
|
+
id: string;
|
13962
|
+
name?: string | null;
|
13963
|
+
} | null;
|
13964
|
+
occurrences?: Array<{
|
13965
|
+
__typename?: 'ObservationOccurrence';
|
13966
|
+
type?: OccurrenceTypes | null;
|
13967
|
+
confidence?: number | null;
|
13968
|
+
startTime?: any | null;
|
13969
|
+
endTime?: any | null;
|
13970
|
+
pageIndex?: number | null;
|
13971
|
+
boundingBox?: {
|
13972
|
+
__typename?: 'BoundingBox';
|
13973
|
+
left?: number | null;
|
13974
|
+
top?: number | null;
|
13975
|
+
width?: number | null;
|
13976
|
+
height?: number | null;
|
13977
|
+
} | null;
|
13978
|
+
} | null> | null;
|
13979
|
+
} | null> | null;
|
13732
13980
|
} | null;
|
13733
13981
|
};
|
13734
13982
|
export type QueryContentsQueryVariables = Exact<{
|
@@ -14369,6 +14617,39 @@ export type ScreenshotPageMutation = {
|
|
14369
14617
|
id: string;
|
14370
14618
|
name: string;
|
14371
14619
|
} | null> | null;
|
14620
|
+
observations?: Array<{
|
14621
|
+
__typename?: 'Observation';
|
14622
|
+
id: string;
|
14623
|
+
type: ObservableTypes;
|
14624
|
+
relatedType?: ObservableTypes | null;
|
14625
|
+
relation?: string | null;
|
14626
|
+
state: EntityState;
|
14627
|
+
observable: {
|
14628
|
+
__typename?: 'NamedEntityReference';
|
14629
|
+
id: string;
|
14630
|
+
name?: string | null;
|
14631
|
+
};
|
14632
|
+
related?: {
|
14633
|
+
__typename?: 'NamedEntityReference';
|
14634
|
+
id: string;
|
14635
|
+
name?: string | null;
|
14636
|
+
} | null;
|
14637
|
+
occurrences?: Array<{
|
14638
|
+
__typename?: 'ObservationOccurrence';
|
14639
|
+
type?: OccurrenceTypes | null;
|
14640
|
+
confidence?: number | null;
|
14641
|
+
startTime?: any | null;
|
14642
|
+
endTime?: any | null;
|
14643
|
+
pageIndex?: number | null;
|
14644
|
+
boundingBox?: {
|
14645
|
+
__typename?: 'BoundingBox';
|
14646
|
+
left?: number | null;
|
14647
|
+
top?: number | null;
|
14648
|
+
width?: number | null;
|
14649
|
+
height?: number | null;
|
14650
|
+
} | null;
|
14651
|
+
} | null> | null;
|
14652
|
+
} | null> | null;
|
14372
14653
|
} | null;
|
14373
14654
|
};
|
14374
14655
|
export type SummarizeContentsMutationVariables = Exact<{
|
@@ -14445,6 +14726,39 @@ export type UpdateContentMutation = {
|
|
14445
14726
|
id: string;
|
14446
14727
|
name: string;
|
14447
14728
|
} | null> | null;
|
14729
|
+
observations?: Array<{
|
14730
|
+
__typename?: 'Observation';
|
14731
|
+
id: string;
|
14732
|
+
type: ObservableTypes;
|
14733
|
+
relatedType?: ObservableTypes | null;
|
14734
|
+
relation?: string | null;
|
14735
|
+
state: EntityState;
|
14736
|
+
observable: {
|
14737
|
+
__typename?: 'NamedEntityReference';
|
14738
|
+
id: string;
|
14739
|
+
name?: string | null;
|
14740
|
+
};
|
14741
|
+
related?: {
|
14742
|
+
__typename?: 'NamedEntityReference';
|
14743
|
+
id: string;
|
14744
|
+
name?: string | null;
|
14745
|
+
} | null;
|
14746
|
+
occurrences?: Array<{
|
14747
|
+
__typename?: 'ObservationOccurrence';
|
14748
|
+
type?: OccurrenceTypes | null;
|
14749
|
+
confidence?: number | null;
|
14750
|
+
startTime?: any | null;
|
14751
|
+
endTime?: any | null;
|
14752
|
+
pageIndex?: number | null;
|
14753
|
+
boundingBox?: {
|
14754
|
+
__typename?: 'BoundingBox';
|
14755
|
+
left?: number | null;
|
14756
|
+
top?: number | null;
|
14757
|
+
width?: number | null;
|
14758
|
+
height?: number | null;
|
14759
|
+
} | null;
|
14760
|
+
} | null> | null;
|
14761
|
+
} | null> | null;
|
14448
14762
|
} | null;
|
14449
14763
|
};
|
14450
14764
|
export type ClearConversationMutationVariables = Exact<{
|
@@ -16382,6 +16696,39 @@ export type PublishConversationMutation = {
|
|
16382
16696
|
id: string;
|
16383
16697
|
name: string;
|
16384
16698
|
} | null> | null;
|
16699
|
+
observations?: Array<{
|
16700
|
+
__typename?: 'Observation';
|
16701
|
+
id: string;
|
16702
|
+
type: ObservableTypes;
|
16703
|
+
relatedType?: ObservableTypes | null;
|
16704
|
+
relation?: string | null;
|
16705
|
+
state: EntityState;
|
16706
|
+
observable: {
|
16707
|
+
__typename?: 'NamedEntityReference';
|
16708
|
+
id: string;
|
16709
|
+
name?: string | null;
|
16710
|
+
};
|
16711
|
+
related?: {
|
16712
|
+
__typename?: 'NamedEntityReference';
|
16713
|
+
id: string;
|
16714
|
+
name?: string | null;
|
16715
|
+
} | null;
|
16716
|
+
occurrences?: Array<{
|
16717
|
+
__typename?: 'ObservationOccurrence';
|
16718
|
+
type?: OccurrenceTypes | null;
|
16719
|
+
confidence?: number | null;
|
16720
|
+
startTime?: any | null;
|
16721
|
+
endTime?: any | null;
|
16722
|
+
pageIndex?: number | null;
|
16723
|
+
boundingBox?: {
|
16724
|
+
__typename?: 'BoundingBox';
|
16725
|
+
left?: number | null;
|
16726
|
+
top?: number | null;
|
16727
|
+
width?: number | null;
|
16728
|
+
height?: number | null;
|
16729
|
+
} | null;
|
16730
|
+
} | null> | null;
|
16731
|
+
} | null> | null;
|
16385
16732
|
} | null;
|
16386
16733
|
};
|
16387
16734
|
export type QueryConversationsQueryVariables = Exact<{
|