/
types.gen.ts
709 lines (708 loc) · 23.4 KB
/
types.gen.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
// Do not modify this file!
// It was generated by the command "yarn codegen".
// Instead update the code generation logic or the OpenAPI document.
import { CursorAndAsyncIterator } from "@cognite/sdk-core";
/**
* The external ID provided by the client. Must be unique for the resource type.
* @example my.known.id
*/
export type CogniteExternalId = string;
/**
* A server-generated ID for the object.
* @format int64
* @min 1
* @max 9007199254740991
*/
export type CogniteInternalId = number;
/**
* A document
*/
export interface Document {
/**
* The ids of any assets referred to in the document
* @example [42,101]
*/
assetIds?: CogniteInternalId[];
/**
* The author of the document
* @example William Shakespeare
*/
author?: string;
/**
* When the document was created, measured in milliseconds since 00:00:00 Thursday, 1 January 1970. We do a best effort to determine the created time for the document, and it will be derived from either the document metadata, the user-specified created time provided when uploading the file or as a last resort the creation timestamp of the underlying file resource.
* @example 1519862400000
*/
createdTime: EpochTimestamp;
/**
* Extension of the file (always in lowercase)
* @example pdf
*/
extension?: string;
/**
* The external ID for the document. This field will be the same as the value set in the Files API.
* @example haml001
*/
externalId?: CogniteExternalId;
/**
* Geolocation derived for this document. Represented using a GeoJSON Geometry.
*
* The derived geolocation also includes geolocation information from a matched
* asset (see assetIds property). For matched assets without geolocation information
* the parent chain is followed until it finds an asset with geolocation information.
*/
geoLocation?: DocumentGeoJsonGeometry;
/**
* The unique identifier for the document. This is automatically generated by CDF, and will be the same as the corresponding value in the Files API.
* @example 2384
*/
id: CogniteInternalId;
labels?: LabelList;
/**
* The detected language used in the document
* @example en
*/
language?: string;
/**
* When the document was last indexed in the documents search engine, measured in milliseconds since 00:00:00 Thursday, 1 January 1970.
* @example 1521062805000
*/
lastIndexedTime?: EpochTimestamp;
/**
* Detected mime type for the document
* @example text/plain
*/
mimeType?: string;
/**
* When the document was last modified, measured in milliseconds since 00:00:00 Thursday, 1 January 1970. This holdes the user-specified modified time provided for the underlying file resource, but might in the future also be derived from document metadata.
* @example 1519958703000
*/
modifiedTime?: EpochTimestamp;
/**
* Number of pages for multi-page documents
* @format int32
* @example 2
*/
pageCount?: number;
/** The producer of the document. Many document types contain metadata indicating what software or system was used to create the document. */
producer?: string;
/** The source file that this document is derived from. */
sourceFile: DocumentSourceFile;
/**
* The title of the document
* @example Hamlet
*/
title?: string;
/**
* The textual content of the document. Truncated to 155 characters but subject to change
* @example ACT I
* SCENE I. Elsinore. A platform before the castle.
* FRANCISCO at his post. Enter to him BERNARDO
* BERNARDO
* Who's there?
*
*/
truncatedContent?: string;
/**
* Detected type of document
* @example Document
*/
type?: string;
}
/**
* A JSON based filtering language. See detailed documentation above.
*/
export type DocumentAggregateFilter = DocumentAggregateFilterBool | DocumentAggregateFilterLeaf;
/**
* A query that matches items matching boolean combinations of other queries.
It is built using one or more boolean clauses, which can be of types: `and`, `or` or `not`
*/
export type DocumentAggregateFilterBool = {
and: DocumentAggregateFilter[];
} | {
or: DocumentAggregateFilter[];
} | {
not: DocumentAggregateFilter;
};
/**
* Leaf filter
*/
export type DocumentAggregateFilterLeaf = DocumentAggregateFilterPrefix;
export interface DocumentAggregateFilterPrefix {
/**
* Matches items that contain a specific prefix in the provided property.
* @example {"property":["name"],"value":"Report"}
*/
prefix: {
value: DocumentFilterValue;
};
}
export type DocumentAggregateValue = string | number | Label;
export interface DocumentCursor {
/** Cursor for paging through results. */
cursor?: string;
}
/**
* A JSON based filtering language. See detailed documentation above.
*/
export type DocumentFilter = DocumentFilterBool | DocumentFilterLeaf;
/**
* A query that matches items matching boolean combinations of other queries.
It is built using one or more boolean clauses, which can be of types: `and`, `or` or `not`
*/
export type DocumentFilterBool = {
and: DocumentFilter[];
} | {
or: DocumentFilter[];
} | {
not: DocumentFilter;
};
export interface DocumentFilterContainsAll {
/**
* Matches items where the property contains all the given values
* @example {"property":["assetIds"],"values":[51276,94287]}
*/
containsAll: {
property: DocumentFilterProperty;
values: DocumentFilterValueList;
};
}
export interface DocumentFilterContainsAny {
/**
* Matches items where the property contains one or more of the given values
* @example {"property":["assetIds"],"values":[51276,94287]}
*/
containsAny: {
property: DocumentFilterProperty;
values: DocumentFilterValueList;
};
}
export interface DocumentFilterEquals {
/**
* Matches items that contain the exact value in the provided property.
* @example {"property":["type"],"value":"PDF"}
*/
equals: {
property: DocumentFilterProperty;
value: DocumentFilterValue;
};
}
export interface DocumentFilterExists {
/**
* Matches items that contain a value for the provided property.
* @example {"property":["language"]}
*/
exists: {
property: DocumentFilterProperty;
};
}
export interface DocumentFilterGeoJsonDisjoint {
/** Matches items with geolocations that are disjoint from the provided geometry */
geojsonDisjoint: {
property: DocumentFilterProperty;
geometry: DocumentGeoJsonGeometry;
};
}
export interface DocumentFilterGeoJsonIntersects {
/** Matches items with geolocations that intersect the provided geometry */
geojsonIntersects: {
property: DocumentFilterProperty;
geometry: DocumentGeoJsonGeometry;
};
}
export interface DocumentFilterGeoJsonWithin {
/** Matches items with geolocations that are within the provided geometry */
geojsonWithin: {
property: DocumentFilterProperty;
geometry: DocumentGeoJsonGeometry;
};
}
export interface DocumentFilterIn {
/**
* Matches items where the property matches one of the given values
* @example {"property":["author"],"values":["Etiam Eget","Praesent Vestibulum"]}
*/
in: {
property: DocumentFilterProperty;
values: DocumentFilterValueList;
};
}
export interface DocumentFilterInAssetSubtree {
/**
* Matches items where the property contains one or more assets in a subtree rooted at any of the given values
* @example {"property":["assetIds"],"values":[51276,94287]}
*/
inAssetSubtree: {
property: DocumentFilterProperty;
values: DocumentFilterValueList;
};
}
/**
* Leaf filter
*/
export type DocumentFilterLeaf = DocumentFilterEquals | DocumentFilterIn | DocumentFilterContainsAny | DocumentFilterContainsAll | DocumentFilterRange | DocumentFilterPrefix | DocumentFilterSearch | DocumentFilterExists | DocumentFilterGeoJsonIntersects | DocumentFilterGeoJsonDisjoint | DocumentFilterGeoJsonWithin | DocumentFilterInAssetSubtree;
export interface DocumentFilterPrefix {
/**
* Matches items that contain a specific prefix in the provided property.
* @example {"property":["name"],"value":"Report"}
*/
prefix: {
property: DocumentFilterProperty;
value: DocumentFilterValue;
};
}
/**
* Property you wish to filter. It's a list of strings to allow specifying nested properties.
For example, If you have the object `{"foo": {"../bar": "baz"}, "bar": 123}`, you can refer to the nested property as `["foo", "../bar"]` and the un-nested one as `["bar"]`.
* @example ["sourceFile","name"]
*/
export type DocumentFilterProperty = string[];
export interface DocumentFilterRange {
/**
* Matches items that contain terms within the provided range.
* Range must include both an upper and a lower bound. It is not allowed to specify both inclusive and exclusive
* bounds (like `gte`, `gt`) together.
* `gte`: Greater than or equal to.
* `gt`: Greater than.
* `lte`: Less than or equal to.
* `lt`: Less than.
*
* @example {"property":["createdTime"],"gte":1609459200000,"lt":1640995200000}
*/
range: {
property: DocumentFilterProperty;
gte?: DocumentFilterRangeValue;
gt?: DocumentFilterRangeValue;
lte?: DocumentFilterRangeValue;
lt?: DocumentFilterRangeValue;
};
}
/**
* Value you wish to find in the provided property using a range clause.
*/
export type DocumentFilterRangeValue = number;
export interface DocumentFilterSearch {
/**
* Matches items that contains the search query.
* @example {"property":["content"],"value":"Report"}
*/
search: {
property: DocumentFilterProperty;
value: string;
};
}
/**
* Value you wish to find in the provided property.
*/
export type DocumentFilterValue = string | number | boolean | Label;
/**
* One or more values you wish to find in the provided property.
*/
export type DocumentFilterValueList = DocumentFilterValue[];
/**
* GeoJSON Geometry.
* @example {"type":"Point","coordinates":[10.74609,59.91273]}
*/
export interface DocumentGeoJsonGeometry {
/** Coordinates of the geometry. */
coordinates?: number[] | number[][] | number[][][] | (number[] & number[][] & number[][][]);
/** List of geometries for a GeometryCollection. Nested GeometryCollection is not supported */
geometries?: DocumentGeoJsonGeometry[];
/**
* Type of the GeoJSON Geometry. When filtering there is a limit of specifying up to 100 positions in the data.
* @example Point
*/
type: string;
}
/**
* Highlighted snippets from name and content fields which show where the query matches are. The matched terms will be placed inside <em> tags
* @example {"name":["amet elit <em>non diam</em> aliquam suscipit"],"content":["Nunc <em>vulputate erat</em> ipsum, at aliquet ligula vestibulum at","<em>Quisque</em> lectus ex, fringilla aliquet <em>eleifend</em> nec, laoreet a velit.\n\nPhasellus <em>faucibus</em> risus arcu"]}
*/
export interface DocumentHighlight {
/** Matches in content. */
content: string[];
/** Matches in name. */
name: string[];
}
/**
* Filter with exact match
*/
export interface DocumentListFilter {
/**
* A JSON based filtering language. See detailed documentation above.
*
*/
filter?: DocumentFilter;
}
export interface DocumentListLimit {
/**
* Maximum number of items per page. Use the cursor to get more pages.
* @format int32
* @min 1
* @max 1000
*/
limit?: number;
}
export type DocumentListRequest = DocumentListFilter & DocumentSort & DocumentListLimit & DocumentCursor;
export interface DocumentListResponse extends CursorAndAsyncIterator<Document> {
}
export interface DocumentsAggregateAllUniquePropertiesItem {
/**
* Number of properties with this name
* @format int64
*/
count: number;
/** A property name */
values: string[];
}
/**
* Find all metadata property names
*/
export type DocumentsAggregateAllUniquePropertiesRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate: "allUniqueProperties";
properties: {
property: DocumentFilterProperty;
}[];
limit?: number;
cursor?: string;
};
/**
* Response for the allUniqueProperties aggregate.
* @example {"items":[{"count":4,"values":["hello"]},{"count":33,"values":["world"]}]}
*/
export interface DocumentsAggregateAllUniquePropertiesResponse extends CursorAndAsyncIterator<DocumentsAggregateAllUniquePropertiesItem> {
}
export interface DocumentsAggregateAllUniqueValuesItem {
/**
* Number of items in this aggregation group.
* @format int64
*/
count: number;
/** A unique value found in the specified properties. Each item is a value for the specified property with same index. */
values: DocumentAggregateValue[];
}
/**
* Paginated list of all unique values for given properties.
*/
export type DocumentsAggregateAllUniqueValuesRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate?: "allUniqueValues";
properties?: {
property: DocumentFilterProperty;
}[];
limit?: number;
cursor?: string;
};
/**
* Response for allUniqueValues aggregate.
* @example {"items":[{"count":4,"values":["hello"]},{"count":33,"values":["world"]}]}
*/
export interface DocumentsAggregateAllUniqueValuesResponse extends CursorAndAsyncIterator<DocumentsAggregateAllUniqueValuesItem> {
}
export interface DocumentsAggregateCardinalityPropertiesItem {
/**
* Number of items in this aggregation group.
* @format int64
*/
count: number;
}
/**
* Find approximate number of unique properties.
*/
export type DocumentsAggregateCardinalityPropertiesRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate: "cardinalityProperties";
aggregateFilter?: DocumentAggregateFilter;
path: "metadata"[];
};
/**
* Response for cardinalityProperties aggregate.
* @example {"items":[{"count":10}]}
*/
export interface DocumentsAggregateCardinalityPropertiesResponse {
items: DocumentsAggregateCardinalityPropertiesItem[];
}
export interface DocumentsAggregateCardinalityValuesItem {
/**
* Number of items in this aggregation group.
* @format int64
*/
count: number;
}
/**
* Find approximate number of unique values.
*/
export type DocumentsAggregateCardinalityValuesRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate: "cardinalityValues";
aggregateFilter?: DocumentAggregateFilter;
properties: {
property: DocumentFilterProperty;
}[];
};
/**
* Response for cardinalityValues aggregate.
* @example {"items":[{"count":10}]}
*/
export interface DocumentsAggregateCardinalityValuesResponse {
items: DocumentsAggregateCardinalityValuesItem[];
}
export interface DocumentsAggregateCountItem {
/**
* Number of items in this aggregation group.
* @format int64
*/
count: number;
}
/**
* Count of documents.
*/
export type DocumentsAggregateCountRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate?: "count";
};
/**
* Response for count aggregate.
* @example {"items":[{"count":10}]}
*/
export interface DocumentsAggregateCountResponse {
items: DocumentsAggregateCountItem[];
}
export type DocumentsAggregateRequest = DocumentsAggregateCountRequest | DocumentsAggregateCardinalityValuesRequest | DocumentsAggregateCardinalityPropertiesRequest | DocumentsAggregateUniqueValuesRequest | DocumentsAggregateUniquePropertiesRequest | DocumentsAggregateAllUniquePropertiesRequest | DocumentsAggregateAllUniqueValuesRequest;
export type DocumentsAggregateResponse = DocumentsAggregateCountResponse | DocumentsAggregateCardinalityValuesResponse | DocumentsAggregateCardinalityPropertiesResponse | DocumentsAggregateUniqueValuesResponse | DocumentsAggregateUniquePropertiesResponse | DocumentsAggregateAllUniquePropertiesResponse | DocumentsAggregateAllUniqueValuesResponse;
export interface DocumentsAggregateUniquePropertiesItem {
/**
* Number of properties with this name
* @format int64
*/
count: number;
/** A property name */
values: string[];
}
/**
* Top unique metadata property names
*/
export type DocumentsAggregateUniquePropertiesRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate: "uniqueProperties";
aggregateFilter?: DocumentAggregateFilter;
properties: {
property: DocumentFilterProperty;
}[];
limit?: number;
};
/**
* Response for the uniqueProperties aggregate.
* @example {"items":[{"count":4,"values":["hello"]},{"count":33,"values":["world"]}]}
*/
export interface DocumentsAggregateUniquePropertiesResponse {
items: DocumentsAggregateUniquePropertiesItem[];
}
export interface DocumentsAggregateUniqueValuesItem {
/**
* Number of items in this aggregation group.
* @format int64
*/
count: number;
/** A unique value found in the specified properties. Each item is a value for the specified property with same index. */
values: DocumentAggregateValue[];
}
/**
* Top unique values for given properties.
*/
export type DocumentsAggregateUniqueValuesRequest = DocumentSearchInAggregate & DocumentSearchFilter & {
aggregate?: "uniqueValues";
aggregateFilter?: DocumentAggregateFilter;
properties?: {
property: DocumentFilterProperty;
}[];
limit?: number;
};
/**
* Response for uniqueValues aggregate.
* @example {"items":[{"count":4,"values":["hello"]},{"count":33,"values":["world"]}]}
*/
export interface DocumentsAggregateUniqueValuesResponse {
items: DocumentsAggregateUniqueValuesItem[];
}
export interface DocumentSearch {
search?: {
query: string;
highlight?: boolean;
};
}
export interface DocumentSearchAggregate {
groups: DocumentSearchAggregateGroup[];
/** User defined name for this aggregate */
name: string;
/**
* Total number of results for this aggregate
* @format int32
*/
total: number;
}
export interface DocumentSearchAggregateGroup {
/**
* The number of documents in this group.
* @format int32
*/
count: number;
group: DocumentSearchAggregateGroupIdentifier[];
}
export interface DocumentSearchAggregateGroupIdentifier {
/** The property that is being aggregated on. */
property: DocumentFilterProperty;
/** The value of the property for this group. */
value: DocumentFilterValue;
}
export interface DocumentSearchAggregates {
/** @example [{"name":"countOfTypes","aggregate":"count","groupBy":[{"property":["type"]}]}] */
aggregates?: DocumentSearchCountAggregate[];
}
/**
* @example {"name":"countOfTypes","aggregate":"count","groupBy":[{"property":["type"]}]}
*/
export interface DocumentSearchCountAggregate {
/**
* count
* @example count
*/
aggregate: "count";
/** List of properties to group the count by. It's currently only possible to group by 0 or 1 properties. If grouping by 0 properties, the aggregate value is the total count of all documents. */
groupBy?: DocumentSearchCountAggregatesGroup[];
/** User defined name for this aggregate */
name: string;
}
export interface DocumentSearchCountAggregatesGroup {
/**
* A property to group by.
* @example ["type"]
*/
property: DocumentFilterProperty;
}
/**
* Filter with exact match
*/
export interface DocumentSearchFilter {
/**
* A JSON based filtering language. See detailed documentation above.
*
*/
filter?: DocumentFilter;
}
export interface DocumentSearchHighlight {
/** Whether or not matches in search results should be highlighted. */
highlight?: boolean;
}
export interface DocumentSearchInAggregate {
search?: {
query: string;
};
}
export interface DocumentSearchItem {
/** Highlighted snippets from name and content fields which show where the query matches are. The matched terms will be placed inside <em> tags */
highlight?: DocumentHighlight;
/** A document */
item: Document;
}
export interface DocumentSearchLimit {
/**
* Maximum number of items. When using highlights the maximum value is reduced to 20.
* @format int32
* @min 0
* @max 1000
*/
limit?: number;
}
export type DocumentSearchRequest = DocumentSearch & DocumentSearchFilter & DocumentSearchAggregates & DocumentSort & DocumentSearchLimit & DocumentCursor & DocumentSearchHighlight;
export interface DocumentSearchResponse {
aggregates?: DocumentSearchAggregate[];
items: DocumentSearchItem[];
/** The cursor to get the next page of results (if available). The search endpoint only gives a limited number of results. A missing nextCursor does not imply there are no more results for the provided search. */
nextCursor?: string;
}
export interface DocumentSort {
/** List of properties to sort by. Currently only supports 1 property. */
sort?: DocumentSortItem[];
}
export interface DocumentSortItem {
order?: "asc" | "desc";
/**
* Property you wish to filter. It's a list of strings to allow specifying nested properties.
* For example, If you have the object `{"foo": {"../bar": "baz"}, "bar": 123}`, you can refer to the nested property as `["foo", "../bar"]` and the un-nested one as `["bar"]`.
*
*/
property: DocumentFilterProperty;
}
/**
* The source file that this document is derived from.
*/
export interface DocumentSourceFile {
/**
* The ids of the assets related to this file
* @example []
*/
assetIds?: CogniteInternalId[];
/** The id if the dataset this file belongs to, if any */
datasetId?: CogniteInternalId;
/**
* The directory the file can be found in
* @example plays/shakespeare
*/
directory?: string;
/** GeoJSON Geometry. */
geoLocation?: DocumentGeoJsonGeometry;
/**
* The hash of the source file. This is a SHA256 hash of the original file. The hash only covers the file content, and not other CDF metadata.
* @example 23203f9264161714cdb8d2f474b9b641e6a735f8cea4098c40a3cab8743bd749
*/
hash?: string;
/** A list of labels associated with this document's source file in CDF. */
labels?: LabelList;
metadata?: Record<string, string>;
/**
* The mime type of the file
* @example application/octet-stream
*/
mimeType?: string;
/**
* Name of the file.
* @example hamlet.txt
*/
name: string;
/**
* The security category IDs required to access this file
* @example []
*/
securityCategories?: number[];
/**
* The size of the source file in bytes
* @format int64
* @example 1000
*/
size?: number;
/**
* The source of the file
* @example SubsurfaceConnectors
*/
source?: string;
}
/**
* A temporary link to download a preview of the document. The link is reachable without additional authentication details for a limited time.
*/
export interface DocumentsPreviewTemporaryLinkResponse {
/** @example 1519862400000 */
expirationTime: EpochTimestamp;
temporaryLink: string;
}
/**
* The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
* @format int64
* @min 0
*/
export type EpochTimestamp = number;
/**
* A label assigned to a resource.
*/
export interface Label {
/** An external ID to a predefined label definition. */
externalId: CogniteExternalId;
}
/**
* A list of the labels associated with this resource item.
*/
export type LabelList = Label[];