@spotto/contract 1.0.4 → 1.0.6

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.
Files changed (62) hide show
  1. package/dist/assets/count/response.d.ts +4 -10
  2. package/dist/assets/download/index.d.ts +2 -0
  3. package/dist/assets/download/index.js +19 -0
  4. package/dist/assets/download/index.js.map +1 -0
  5. package/dist/assets/download/query.d.ts +10 -0
  6. package/dist/assets/download/query.js +3 -0
  7. package/dist/assets/download/query.js.map +1 -0
  8. package/dist/assets/download/response.d.ts +3 -0
  9. package/dist/assets/download/response.js +3 -0
  10. package/dist/assets/download/response.js.map +1 -0
  11. package/dist/assets/get/query.d.ts +5 -0
  12. package/dist/assets/index.d.ts +1 -0
  13. package/dist/assets/index.js +1 -0
  14. package/dist/assets/index.js.map +1 -1
  15. package/dist/events/constants.d.ts +0 -2
  16. package/dist/events/constants.js +1 -2
  17. package/dist/events/constants.js.map +1 -1
  18. package/dist/events/download/query.d.ts +3 -9
  19. package/dist/locations/count/response.d.ts +3 -0
  20. package/dist/locations/download/index.d.ts +2 -0
  21. package/dist/locations/download/index.js +19 -0
  22. package/dist/locations/download/index.js.map +1 -0
  23. package/dist/locations/download/query.d.ts +10 -0
  24. package/dist/locations/download/query.js +3 -0
  25. package/dist/locations/download/query.js.map +1 -0
  26. package/dist/locations/download/response.d.ts +3 -0
  27. package/dist/locations/download/response.js +3 -0
  28. package/dist/locations/download/response.js.map +1 -0
  29. package/dist/locations/index.d.ts +1 -0
  30. package/dist/locations/index.js +1 -0
  31. package/dist/locations/index.js.map +1 -1
  32. package/dist/organisations/[id]/get.d.ts +2 -1
  33. package/dist/readers/[id]/get.d.ts +1 -1
  34. package/dist/readers/constants/deviceTypes.d.ts +6 -5
  35. package/dist/readers/constants/deviceTypes.js +51 -28
  36. package/dist/readers/constants/deviceTypes.js.map +1 -1
  37. package/dist/readers/count/response.d.ts +2 -2
  38. package/dist/readers/download/index.d.ts +2 -0
  39. package/dist/readers/download/index.js +19 -0
  40. package/dist/readers/download/index.js.map +1 -0
  41. package/dist/readers/download/query.d.ts +10 -0
  42. package/dist/readers/download/query.js +3 -0
  43. package/dist/readers/download/query.js.map +1 -0
  44. package/dist/readers/download/response.d.ts +3 -0
  45. package/dist/readers/download/response.js +3 -0
  46. package/dist/readers/download/response.js.map +1 -0
  47. package/dist/readers/get/query.d.ts +2 -0
  48. package/dist/readers/index.d.ts +1 -0
  49. package/dist/readers/index.js +1 -0
  50. package/dist/readers/index.js.map +1 -1
  51. package/dist/shared/index.d.ts +2 -1
  52. package/dist/shared/index.js +2 -1
  53. package/dist/shared/index.js.map +1 -1
  54. package/dist/shared/timestamp.d.ts +2 -0
  55. package/dist/shared/timestamp.js +5 -0
  56. package/dist/shared/timestamp.js.map +1 -0
  57. package/dist/shared/{time.js → timezone.js} +1 -1
  58. package/dist/shared/timezone.js.map +1 -0
  59. package/dist/users/[id]/get/response.d.ts +1 -0
  60. package/package.json +2 -2
  61. package/dist/shared/time.js.map +0 -1
  62. /package/dist/shared/{time.d.ts → timezone.d.ts} +0 -0
@@ -3,17 +3,11 @@ export interface IBatteryCounts {
3
3
  low: number;
4
4
  ok: number;
5
5
  }
6
- export interface IDisplacedCounts {
7
- visiting: number;
8
- away: number;
9
- }
10
- export interface ITaggedCounts {
11
- tagged: number;
12
- untagged: number;
13
- }
14
6
  export interface CountAssetsResponse {
15
7
  battery: IBatteryCounts;
16
- displaced: IDisplacedCounts;
17
- tags: ITaggedCounts;
8
+ isVisiting: number;
9
+ isAway: number;
10
+ hasTags: number;
11
+ hasReported: number;
18
12
  total: number;
19
13
  }
@@ -0,0 +1,2 @@
1
+ export * from './query';
2
+ export * from './response';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./query"), exports);
18
+ __exportStar(require("./response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assets/download/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
@@ -0,0 +1,10 @@
1
+ import { SortOrders, TimestampFormat } from '../../shared';
2
+ import { AssetFilters, AssetSortField } from '../get';
3
+ export interface DownloadAssetsQuery extends AssetFilters {
4
+ limit?: number;
5
+ sort?: AssetSortField;
6
+ sortOrder?: SortOrders;
7
+ timestampFormat?: TimestampFormat;
8
+ timezone?: string;
9
+ withEntityLinks?: boolean;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/assets/download/query.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DownloadAssetsResponse {
2
+ path: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/assets/download/response.ts"],"names":[],"mappings":""}
@@ -2,11 +2,16 @@ import { SearchableSortFields, SortOrders } from '../../shared';
2
2
  export declare type AssetSearchField = 'name' | 'tagIds';
3
3
  export declare type AssetEmbedField = 'meta' | 'tagIds' | 'lastLocation' | 'candidateLocations' | 'telemetry';
4
4
  export declare type AssetSortField = SearchableSortFields | 'battery';
5
+ export declare type AssetBatteryStatus = 'critical' | 'low' | 'ok';
6
+ export declare type AssetRoamingStatus = 'home' | 'visiting' | 'away';
5
7
  export interface AssetFilters {
6
8
  labels?: string[];
7
9
  ids?: string[];
8
10
  tagIds?: string[];
9
11
  hasTags?: boolean;
12
+ hasReported?: boolean;
13
+ roamingStatus?: AssetRoamingStatus;
14
+ battery?: AssetBatteryStatus;
10
15
  archived?: boolean;
11
16
  search?: string;
12
17
  searchFuzzy?: boolean;
@@ -1,5 +1,6 @@
1
1
  export * from './[id]';
2
2
  export * from './count';
3
+ export * from './download';
3
4
  export * from './get';
4
5
  export * from './post';
5
6
  export * from './suggestions';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./[id]"), exports);
18
18
  __exportStar(require("./count"), exports);
19
+ __exportStar(require("./download"), exports);
19
20
  __exportStar(require("./get"), exports);
20
21
  __exportStar(require("./post"), exports);
21
22
  __exportStar(require("./suggestions"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,0CAAwB;AACxB,wCAAsB;AACtB,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,0CAAwB;AACxB,6CAA2B;AAC3B,wCAAsB;AACtB,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB"}
@@ -1,4 +1,2 @@
1
1
  export declare type EventType = 'ReaderArrived' | 'ReaderExited' | 'Arrived' | 'Moved' | 'ExplicitArrived' | 'Exited' | 'ReaderOnline' | 'ReaderOffline' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'LocationCreated' | 'LocationUpdated' | 'LocationDeleted' | 'ReaderCreated' | 'ReaderUpdated' | 'ReaderDeleted' | 'UserSearch';
2
2
  export declare const EVENT_TYPES: EventType[];
3
- export declare type TimestampFormat = 'epoch' | 'iso' | 'human';
4
- export declare const timestampFormats: TimestampFormat[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.timestampFormats = exports.EVENT_TYPES = void 0;
3
+ exports.EVENT_TYPES = void 0;
4
4
  exports.EVENT_TYPES = [
5
5
  'ReaderArrived',
6
6
  'ReaderExited',
@@ -21,5 +21,4 @@ exports.EVENT_TYPES = [
21
21
  'ReaderDeleted',
22
22
  'UserSearch',
23
23
  ];
24
- exports.timestampFormats = ['epoch', 'iso', 'human'];
25
24
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/events/constants.ts"],"names":[],"mappings":";;;AAoBa,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,iBAAiB;IACjB,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,YAAY;CACb,CAAC;AAIW,QAAA,gBAAgB,GAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/events/constants.ts"],"names":[],"mappings":";;;AAoBa,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,iBAAiB;IACjB,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,YAAY;CACb,CAAC"}
@@ -1,13 +1,7 @@
1
- import { SortOrders } from '../../shared';
2
- import { EventType, TimestampFormat } from '../constants';
3
- export interface DownloadEventsQuery {
1
+ import { SortOrders, TimestampFormat } from '../../shared';
2
+ import { EventFilters } from '../get';
3
+ export interface DownloadEventsQuery extends EventFilters {
4
4
  limit?: number;
5
- readers?: string[];
6
- locations?: string[];
7
- assets?: string[];
8
- type?: Array<EventType>;
9
- timeFrom?: number;
10
- timeTo?: number;
11
5
  sortOrder?: SortOrders;
12
6
  timestampFormat?: TimestampFormat;
13
7
  timezone?: string;
@@ -1,3 +1,6 @@
1
1
  export interface CountLocationsResponse {
2
+ hasTags: number;
3
+ hasReaders: number;
4
+ setupComplete: number;
2
5
  total: number;
3
6
  }
@@ -0,0 +1,2 @@
1
+ export * from './query';
2
+ export * from './response';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./query"), exports);
18
+ __exportStar(require("./response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/locations/download/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
@@ -0,0 +1,10 @@
1
+ import { SearchableSortFields, SortOrders, TimestampFormat } from '../../shared';
2
+ import { LocationFilters } from '../get';
3
+ export interface DownloadLocationsQuery extends LocationFilters {
4
+ limit?: number;
5
+ sort?: SearchableSortFields;
6
+ sortOrder?: SortOrders;
7
+ timestampFormat?: TimestampFormat;
8
+ timezone?: string;
9
+ withEntityLinks?: boolean;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/locations/download/query.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DownloadLocationsResponse {
2
+ path: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/locations/download/response.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  export * from './[id]';
2
2
  export * from './count';
3
+ export * from './download';
3
4
  export * from './get';
4
5
  export * from './post';
5
6
  export * from './suggestions';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./[id]"), exports);
18
18
  __exportStar(require("./count"), exports);
19
+ __exportStar(require("./download"), exports);
19
20
  __exportStar(require("./get"), exports);
20
21
  __exportStar(require("./post"), exports);
21
22
  __exportStar(require("./suggestions"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,0CAAwB;AACxB,wCAAsB;AACtB,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,0CAAwB;AACxB,6CAA2B;AAC3B,wCAAsB;AACtB,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB"}
@@ -1,9 +1,10 @@
1
- import { IEntityMeta } from '../../shared';
1
+ import { IEmbeddedEntity, IEntityMeta } from '../../shared';
2
2
  import { Preferences } from '../constants';
3
3
  import { Integrations } from '../../integrations/constants';
4
4
  export interface GetOrganisationResponse {
5
5
  id: string;
6
6
  name: string;
7
+ ancestors?: IEmbeddedEntity[];
7
8
  preferences?: Preferences;
8
9
  integrations?: Integrations;
9
10
  meta?: IEntityMeta;
@@ -21,7 +21,7 @@ export interface GetReaderResponse {
21
21
  type: ReaderType;
22
22
  deviceType: DeviceType;
23
23
  deviceId?: string;
24
- endpoint: string;
24
+ endpoint?: string;
25
25
  network?: string;
26
26
  location?: ReaderLocation;
27
27
  telemetry?: IReaderTelemetry;
@@ -1,15 +1,16 @@
1
- export declare type DeviceType = 'B1' | 'A1' | 'RF1A4' | 'RF1F' | 'HD1' | 'ZEBRA' | 'IMPINJ' | 'TURCK' | 'DIGITAL_MATTER' | 'KKM' | 'OTHER' | 'APPLICATION';
1
+ export declare type DeviceType = 'B1' | 'A1' | 'RF1A4' | 'RF1F' | 'HD1' | 'ZEBRA' | 'IMPINJ' | 'TURCK' | 'DIGITAL_MATTER' | 'KKM' | 'MINEW' | 'OTHER' | 'APPLICATION';
2
2
  export declare const DEVICE_TYPES: DeviceType[];
3
3
  export declare type DeviceTechnologyType = 'BLE' | 'RFID' | 'HID';
4
- export declare type ConnectorEndpoint = 'iotx3' | 'zebra' | 'impinj' | 'turck' | 'digitalmatter' | 'detector' | 'other' | 'zebra';
5
4
  export declare type ConnectorProtocol = 'http' | 'mqtt';
6
5
  export declare type DeviceIdFormat = 'mac' | 'string';
6
+ export declare type DeviceManufacturer = 'spotto' | 'iotx3' | 'zebra' | 'impinj' | 'turck' | 'minew' | 'digitalmatter' | 'kkm';
7
7
  export interface IDeviceTypeDetail {
8
8
  id: DeviceType;
9
9
  name: string;
10
10
  technology: DeviceTechnologyType[];
11
- endpoint?: ConnectorEndpoint;
12
- protocol: ConnectorProtocol;
11
+ endpoint?: string;
12
+ manufacturer?: DeviceManufacturer;
13
+ protocols: ConnectorProtocol[];
13
14
  deviceIdFormat?: DeviceIdFormat;
14
15
  visible: boolean;
15
16
  }
@@ -20,6 +21,6 @@ declare type QuerySignature = {
20
21
  };
21
22
  export declare const getDeviceTypes: (query: QuerySignature) => IDeviceTypeDetail[];
22
23
  export declare const getDeviceTypesForFormat: (deviceIdFormat: DeviceIdFormat) => DeviceType[];
23
- export declare const getDeviceTypesForEndpoint: (endpoint: ConnectorEndpoint) => DeviceType[];
24
+ export declare const getDeviceTypesForManufacturer: (manufacturer: DeviceManufacturer) => DeviceType[];
24
25
  export declare const isIoTX3: (id: DeviceType) => boolean;
25
26
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isIoTX3 = exports.getDeviceTypesForEndpoint = exports.getDeviceTypesForFormat = exports.getDeviceTypes = exports.getDeviceTypeById = exports.DEVICE_TYPE_DETAILS = exports.DEVICE_TYPES = void 0;
3
+ exports.isIoTX3 = exports.getDeviceTypesForManufacturer = exports.getDeviceTypesForFormat = exports.getDeviceTypes = exports.getDeviceTypeById = exports.DEVICE_TYPE_DETAILS = exports.DEVICE_TYPES = void 0;
4
4
  exports.DEVICE_TYPES = [
5
5
  'B1',
6
6
  'A1',
@@ -12,6 +12,7 @@ exports.DEVICE_TYPES = [
12
12
  'TURCK',
13
13
  'DIGITAL_MATTER',
14
14
  'KKM',
15
+ 'MINEW',
15
16
  'OTHER',
16
17
  'APPLICATION',
17
18
  ];
@@ -20,8 +21,9 @@ exports.DEVICE_TYPE_DETAILS = [
20
21
  id: 'B1',
21
22
  name: 'Spotto B1 Bluetooth Reader',
22
23
  technology: ['BLE'],
23
- endpoint: 'iotx3',
24
- protocol: 'http',
24
+ endpoint: 'iotx3/{readerId}',
25
+ manufacturer: 'iotx3',
26
+ protocols: ['http'],
25
27
  deviceIdFormat: 'mac',
26
28
  visible: true,
27
29
  },
@@ -29,7 +31,9 @@ exports.DEVICE_TYPE_DETAILS = [
29
31
  id: 'A1',
30
32
  name: 'Spotto A1 Bluetooth Reader',
31
33
  technology: ['BLE'],
32
- protocol: 'mqtt',
34
+ endpoint: 'spotto',
35
+ manufacturer: 'spotto',
36
+ protocols: ['mqtt', 'http'],
33
37
  deviceIdFormat: 'mac',
34
38
  visible: true,
35
39
  },
@@ -37,8 +41,8 @@ exports.DEVICE_TYPE_DETAILS = [
37
41
  id: 'RF1A4',
38
42
  name: 'Spotto RF1A4 RFID Reader',
39
43
  technology: ['RFID'],
40
- endpoint: 'iotx3',
41
- protocol: 'http',
44
+ endpoint: 'iotx3/{readerId}',
45
+ protocols: ['http'],
42
46
  deviceIdFormat: 'mac',
43
47
  visible: true,
44
48
  },
@@ -46,8 +50,8 @@ exports.DEVICE_TYPE_DETAILS = [
46
50
  id: 'RF1F',
47
51
  name: 'Spotto RF1F RFID Reader',
48
52
  technology: ['RFID'],
49
- endpoint: 'iotx3',
50
- protocol: 'http',
53
+ endpoint: 'iotx3/{readerId}',
54
+ protocols: ['http'],
51
55
  deviceIdFormat: 'mac',
52
56
  visible: true,
53
57
  },
@@ -55,8 +59,8 @@ exports.DEVICE_TYPE_DETAILS = [
55
59
  id: 'HD1',
56
60
  name: 'Spotto HD1 HID Reader',
57
61
  technology: ['HID'],
58
- endpoint: 'iotx3',
59
- protocol: 'http',
62
+ endpoint: 'iotx3/{readerId}',
63
+ protocols: ['http'],
60
64
  deviceIdFormat: 'mac',
61
65
  visible: true,
62
66
  },
@@ -64,24 +68,27 @@ exports.DEVICE_TYPE_DETAILS = [
64
68
  id: 'ZEBRA',
65
69
  name: 'Zebra RFID Reader',
66
70
  technology: ['RFID'],
67
- endpoint: 'zebra',
68
- protocol: 'http',
71
+ endpoint: 'zebra/{readerId}',
72
+ manufacturer: 'zebra',
73
+ protocols: ['http'],
69
74
  visible: true,
70
75
  },
71
76
  {
72
77
  id: 'IMPINJ',
73
78
  name: 'Impinj RFID Reader',
74
79
  technology: ['RFID'],
75
- endpoint: 'impinj',
76
- protocol: 'http',
80
+ endpoint: 'impinj/{readerId}',
81
+ manufacturer: 'impinj',
82
+ protocols: ['http'],
77
83
  visible: true,
78
84
  },
79
85
  {
80
86
  id: 'TURCK',
81
87
  name: 'Turck Handheld RFID Reader',
82
88
  technology: ['RFID'],
83
- endpoint: 'turck',
84
- protocol: 'http',
89
+ endpoint: 'turck/{readerId}?timestamp=GMTTIME&epc=EPC',
90
+ manufacturer: 'turck',
91
+ protocols: ['http'],
85
92
  visible: true,
86
93
  },
87
94
  {
@@ -89,7 +96,8 @@ exports.DEVICE_TYPE_DETAILS = [
89
96
  name: 'Digital Matter BLE Reader',
90
97
  technology: ['BLE'],
91
98
  endpoint: 'digitalmatter',
92
- protocol: 'http',
99
+ manufacturer: 'digitalmatter',
100
+ protocols: ['http'],
93
101
  deviceIdFormat: 'string',
94
102
  visible: true,
95
103
  },
@@ -97,7 +105,19 @@ exports.DEVICE_TYPE_DETAILS = [
97
105
  id: 'KKM',
98
106
  name: 'KKM BLE Reader',
99
107
  technology: ['BLE'],
100
- protocol: 'mqtt',
108
+ protocols: ['mqtt', 'http'],
109
+ endpoint: 'kb',
110
+ manufacturer: 'kkm',
111
+ deviceIdFormat: 'mac',
112
+ visible: true,
113
+ },
114
+ {
115
+ id: 'MINEW',
116
+ name: 'Minew BLE Reader',
117
+ technology: ['BLE'],
118
+ protocols: ['mqtt', 'http'],
119
+ endpoint: 'minew',
120
+ manufacturer: 'minew',
101
121
  deviceIdFormat: 'mac',
102
122
  visible: true,
103
123
  },
@@ -105,16 +125,16 @@ exports.DEVICE_TYPE_DETAILS = [
105
125
  id: 'OTHER',
106
126
  name: 'Custom Reader (BYO Device)',
107
127
  technology: ['RFID', 'BLE', 'HID'],
108
- endpoint: 'other',
109
- protocol: 'http',
128
+ endpoint: 'other/{readerId}',
129
+ protocols: ['http'],
110
130
  visible: true,
111
131
  },
112
132
  {
113
133
  id: 'APPLICATION',
114
134
  name: 'Spotto Detector Application',
115
135
  technology: ['BLE'],
116
- endpoint: 'detector',
117
- protocol: 'http',
136
+ endpoint: 'detector/{readerId}',
137
+ protocols: ['http'],
118
138
  deviceIdFormat: 'string',
119
139
  visible: false,
120
140
  },
@@ -124,15 +144,18 @@ exports.getDeviceTypeById = getDeviceTypeById;
124
144
  const getDeviceTypes = (query) => exports.DEVICE_TYPE_DETAILS.filter(type => Object.keys(query).every(key => {
125
145
  const testField = query[key];
126
146
  const field = type[key];
127
- return (testField === null || testField === void 0 ? void 0 : testField.constructor) === Array && (field === null || field === void 0 ? void 0 : field.constructor) === Array
128
- ? field.every(item => testField === null || testField === void 0 ? void 0 : testField.includes(item))
129
- : testField === field;
147
+ if ((testField === null || testField === void 0 ? void 0 : testField.constructor) === Array && (field === null || field === void 0 ? void 0 : field.constructor) === Array) {
148
+ const _field = field;
149
+ const _testField = testField;
150
+ return _field.every(item => _testField === null || _testField === void 0 ? void 0 : _testField.includes(item));
151
+ }
152
+ return testField === field;
130
153
  }));
131
154
  exports.getDeviceTypes = getDeviceTypes;
132
155
  const getDeviceTypesForFormat = (deviceIdFormat) => (0, exports.getDeviceTypes)({ deviceIdFormat }).map(({ id }) => id);
133
156
  exports.getDeviceTypesForFormat = getDeviceTypesForFormat;
134
- const getDeviceTypesForEndpoint = (endpoint) => (0, exports.getDeviceTypes)({ endpoint }).map(({ id }) => id);
135
- exports.getDeviceTypesForEndpoint = getDeviceTypesForEndpoint;
136
- const isIoTX3 = (id) => (0, exports.getDeviceTypesForEndpoint)('iotx3').includes(id);
157
+ const getDeviceTypesForManufacturer = (manufacturer) => (0, exports.getDeviceTypes)({ manufacturer }).map(({ id }) => id);
158
+ exports.getDeviceTypesForManufacturer = getDeviceTypesForManufacturer;
159
+ const isIoTX3 = (id) => (0, exports.getDeviceTypesForManufacturer)('iotx3').includes(id);
137
160
  exports.isIoTX3 = isIoTX3;
138
161
  //# sourceMappingURL=deviceTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTypes.js","sourceRoot":"","sources":["../../../src/readers/constants/deviceTypes.ts"],"names":[],"mappings":";;;AAca,QAAA,YAAY,GAAiB;IACxC,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,OAAO;IACP,gBAAgB;IAChB,KAAK;IACL,OAAO;IACP,aAAa;CACd,CAAC;AA+BW,QAAA,mBAAmB,GAAwB;IACtD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,OAAO;QACjB,QAAQ,EAAE,MAAM;QAChB,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,MAAM;QAChB,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,OAAO;QACjB,QAAQ,EAAE,MAAM;QAChB,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAAE,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,O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,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AAF7C,QAAA,6BAA6B,iCAEgB;AAMnD,MAAM,OAAO,GAAG,CAAC,EAAc,EAAE,EAAE,CACxC,IAAA,qCAA6B,EAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADzC,QAAA,OAAO,WACkC"}
@@ -1,5 +1,5 @@
1
1
  export interface CountReadersResponse {
2
- offline: number;
3
- online: number;
2
+ isOnline: number;
3
+ hasReported: number;
4
4
  total: number;
5
5
  }
@@ -0,0 +1,2 @@
1
+ export * from './query';
2
+ export * from './response';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./query"), exports);
18
+ __exportStar(require("./response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/readers/download/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
@@ -0,0 +1,10 @@
1
+ import { SearchableSortFields, SortOrders, TimestampFormat } from '../../shared';
2
+ import { ReaderFilters } from '../get';
3
+ export interface DownloadReadersQuery extends ReaderFilters {
4
+ limit?: number;
5
+ sort?: SearchableSortFields;
6
+ sortOrder?: SortOrders;
7
+ timestampFormat?: TimestampFormat;
8
+ timezone?: string;
9
+ withEntityLinks?: boolean;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/readers/download/query.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DownloadReadersResponse {
2
+ path: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/readers/download/response.ts"],"names":[],"mappings":""}
@@ -8,6 +8,8 @@ export interface ReaderFilters {
8
8
  deviceIds?: string[];
9
9
  types?: ReaderType[];
10
10
  deviceTypes?: DeviceType[];
11
+ isOnline?: boolean;
12
+ hasReported?: boolean;
11
13
  archived?: boolean;
12
14
  search?: string;
13
15
  searchFuzzy?: boolean;
@@ -1,6 +1,7 @@
1
1
  export * from './[id]';
2
2
  export * from './constants';
3
3
  export * from './count';
4
+ export * from './download';
4
5
  export * from './get';
5
6
  export * from './post';
6
7
  export * from './suggestions';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./[id]"), exports);
18
18
  __exportStar(require("./constants"), exports);
19
19
  __exportStar(require("./count"), exports);
20
+ __exportStar(require("./download"), exports);
20
21
  __exportStar(require("./get"), exports);
21
22
  __exportStar(require("./post"), exports);
22
23
  __exportStar(require("./suggestions"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/readers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B;AAC5B,0CAAwB;AACxB,wCAAsB;AACtB,yCAAuB;AACvB,gDAA8B;AAC9B,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/readers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,wCAAsB;AACtB,yCAAuB;AACvB,gDAA8B;AAC9B,yCAAuB"}
@@ -6,4 +6,5 @@ export * from './headers';
6
6
  export * from './path';
7
7
  export * from './query';
8
8
  export * from './sort';
9
- export * from './time';
9
+ export * from './timezone';
10
+ export * from './timestamp';
@@ -22,5 +22,6 @@ __exportStar(require("./headers"), exports);
22
22
  __exportStar(require("./path"), exports);
23
23
  __exportStar(require("./query"), exports);
24
24
  __exportStar(require("./sort"), exports);
25
- __exportStar(require("./time"), exports);
25
+ __exportStar(require("./timezone"), exports);
26
+ __exportStar(require("./timestamp"), exports);
26
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,4CAA0B;AAC1B,yCAAuB;AACvB,0CAAwB;AACxB,yCAAuB;AACvB,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,4CAA0B;AAC1B,yCAAuB;AACvB,0CAAwB;AACxB,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B"}
@@ -0,0 +1,2 @@
1
+ export declare type TimestampFormat = 'epoch' | 'iso' | 'human';
2
+ export declare const timestampFormats: TimestampFormat[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.timestampFormats = void 0;
4
+ exports.timestampFormats = ['epoch', 'iso', 'human'];
5
+ //# sourceMappingURL=timestamp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../src/shared/timestamp.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC"}
@@ -352,4 +352,4 @@ exports.timezoneOptions = [
352
352
  'Pacific/Apia',
353
353
  'Africa/Johannesburg',
354
354
  ];
355
- //# sourceMappingURL=time.js.map
355
+ //# sourceMappingURL=timezone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timezone.js","sourceRoot":"","sources":["../../src/shared/timezone.ts"],"names":[],"mappings":";;;AAGa,QAAA,eAAe,GAAG;IAC7B,KAAK;IACL,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,cAAc;IACd,kBAAkB;IAClB,kBAAkB;IAClB,2BAA2B;IAC3B,mBAAmB;IACnB,mBAAmB;IACnB,oBAAoB;IACpB,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;IACnB,gCAAgC;IAChC,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,2BAA2B;IAC3B,6BAA6B;IAC7B,4BAA4B;IAC5B,4BAA4B;IAC5B,2BAA2B;IAC3B,4BAA4B;IAC5B,gCAAgC;IAChC,2BAA2B;IAC3B,mBAAmB;IACnB,eAAe;IACf,qBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,kBAAkB;IAClB,uBAAuB;IACvB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,WAAW;IACX,kBAAkB;IAClB,YAAY;IACZ,iBAAiB;IACjB,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,gBAAgB;IAChB,iBAAiB;IACjB,eAAe;IACf,mBAAmB;IACn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;IACjB,qBAAqB;IACrB,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,oBAAoB;IACpB,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,kBAAkB;IAClB,oBAAoB;IACpB,gBAAgB;IAChB,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,qBAAqB;CACtB,CAAC"}
@@ -13,5 +13,6 @@ export interface GetExternalUserResponse extends BaseGetUserResponse {
13
13
  export interface GetInternalUserResponse extends BaseGetUserResponse {
14
14
  type: 'INTERNAL';
15
15
  email: string;
16
+ lastLogin?: number;
16
17
  }
17
18
  export declare type GetUserResponse = GetExternalUserResponse | GetInternalUserResponse;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "description": "Spotto's API Contract type definitions",
6
6
  "main": "./dist/index.js",
7
7
  "files": [
@@ -14,5 +14,5 @@
14
14
  "devDependencies": {
15
15
  "@types/geojson": "^7946.0.8"
16
16
  },
17
- "gitHead": "718ff33d633d18cd909b35076caa0244135e7776"
17
+ "gitHead": "37d5660bdb686c1d4d821576a772c49c834410c2"
18
18
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"time.js","sourceRoot":"","sources":["../../src/shared/time.ts"],"names":[],"mappings":";;;AAGa,QAAA,eAAe,GAAG;IAC7B,KAAK;IACL,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,cAAc;IACd,kBAAkB;IAClB,kBAAkB;IAClB,2BAA2B;IAC3B,mBAAmB;IACnB,mBAAmB;IACnB,oBAAoB;IACpB,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;IACnB,gCAAgC;IAChC,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,2BAA2B;IAC3B,6BAA6B;IAC7B,4BAA4B;IAC5B,4BAA4B;IAC5B,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