@spotto/contract 1.0.67-alpha.3 → 1.0.68-alpha.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/manifests/[id]/get.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/manifests/[id]/get.ts"],"names":[],"mappings":";;;AAoCA,QAAQ;AACK,QAAA,sBAAsB,GAAwB;IACzD,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC;IAC7C,KAAK,EAAE;QACL;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,SAAS;SACnB;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,GAAG;YACV,OAAO,EAAE,WAAW;SACrB;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACf;KACF;IACD,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;CACf,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { SortOrders } from '../../shared';
|
|
|
2
2
|
export declare type SnapshotSortField = 'created' | 'submitted';
|
|
3
3
|
export declare const snapshotSortFields: SnapshotSortField[];
|
|
4
4
|
export declare type SnapshotEmbedField = 'meta';
|
|
5
|
+
export declare type SnapshotType = 'INVENTORY_SCAN' | 'STOCKTAKE';
|
|
5
6
|
export interface SnapshotFilters {
|
|
6
7
|
ids?: string[];
|
|
7
8
|
locationIds?: string[];
|
|
@@ -11,6 +12,7 @@ export interface SnapshotFilters {
|
|
|
11
12
|
readerIds?: string[];
|
|
12
13
|
timeFrom?: number;
|
|
13
14
|
timeTo?: number;
|
|
15
|
+
snapshotType?: SnapshotType;
|
|
14
16
|
}
|
|
15
17
|
export interface GetSnapshotsQuery extends SnapshotFilters {
|
|
16
18
|
page?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.68-alpha.1",
|
|
5
5
|
"description": "Spotto's API Contract type definitions",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"@types/geojson": "^7946.0.11",
|
|
19
19
|
"shx": "^0.3.4"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "9070961c9619ce154181a7077184cfa6c1afa6d8"
|
|
22
22
|
}
|