@spotto/contract 1.0.11 → 1.0.13-alpha.0

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 (52) hide show
  1. package/dist/assets/[id]/get.d.ts +1 -0
  2. package/dist/assets/[id]/patch/request.d.ts +1 -0
  3. package/dist/assets/post/request.d.ts +1 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +1 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/readers/constants/deviceTypes.d.ts +3 -0
  8. package/dist/readers/constants/deviceTypes.js +16 -1
  9. package/dist/readers/constants/deviceTypes.js.map +1 -1
  10. package/dist/types/[id]/get.d.ts +8 -0
  11. package/dist/types/[id]/get.js +3 -0
  12. package/dist/types/[id]/get.js.map +1 -0
  13. package/dist/types/[id]/index.d.ts +2 -0
  14. package/dist/types/[id]/index.js +19 -0
  15. package/dist/types/[id]/index.js.map +1 -0
  16. package/dist/types/[id]/patch/index.d.ts +2 -0
  17. package/dist/types/[id]/patch/index.js +19 -0
  18. package/dist/types/[id]/patch/index.js.map +1 -0
  19. package/dist/types/[id]/patch/request.d.ts +6 -0
  20. package/dist/types/[id]/patch/request.js +3 -0
  21. package/dist/types/[id]/patch/request.js.map +1 -0
  22. package/dist/types/[id]/patch/response.d.ts +1 -0
  23. package/dist/types/[id]/patch/response.js +3 -0
  24. package/dist/types/[id]/patch/response.js.map +1 -0
  25. package/dist/types/get/index.d.ts +2 -0
  26. package/dist/types/get/index.js +19 -0
  27. package/dist/types/get/index.js.map +1 -0
  28. package/dist/types/get/query.d.ts +10 -0
  29. package/dist/types/get/query.js +3 -0
  30. package/dist/types/get/query.js.map +1 -0
  31. package/dist/types/get/response.d.ts +7 -0
  32. package/dist/types/get/response.js +3 -0
  33. package/dist/types/get/response.js.map +1 -0
  34. package/dist/types/hierarchy/index.d.ts +1 -0
  35. package/dist/types/hierarchy/index.js +18 -0
  36. package/dist/types/hierarchy/index.js.map +1 -0
  37. package/dist/types/hierarchy/response.d.ts +8 -0
  38. package/dist/types/hierarchy/response.js +27 -0
  39. package/dist/types/hierarchy/response.js.map +1 -0
  40. package/dist/types/index.d.ts +4 -0
  41. package/dist/types/index.js +21 -0
  42. package/dist/types/index.js.map +1 -0
  43. package/dist/types/post/index.d.ts +2 -0
  44. package/dist/types/post/index.js +19 -0
  45. package/dist/types/post/index.js.map +1 -0
  46. package/dist/types/post/request.d.ts +8 -0
  47. package/dist/types/post/request.js +9 -0
  48. package/dist/types/post/request.js.map +1 -0
  49. package/dist/types/post/response.d.ts +5 -0
  50. package/dist/types/post/response.js +3 -0
  51. package/dist/types/post/response.js.map +1 -0
  52. package/package.json +2 -2
@@ -17,6 +17,7 @@ export interface GetAssetResponse {
17
17
  labels: IEmbeddedLabel[];
18
18
  organisation?: IEmbeddedEntity;
19
19
  tagIds?: string[];
20
+ typeId?: string;
20
21
  score?: number;
21
22
  meta?: IEntityMeta;
22
23
  telemetry?: IAssetTelemetry;
@@ -2,4 +2,5 @@ export interface UpdateAssetRequest {
2
2
  name?: string;
3
3
  tagIds?: string[];
4
4
  labels?: string[];
5
+ typeId?: string;
5
6
  }
@@ -2,5 +2,6 @@ export interface PostAssetRequest {
2
2
  name: string;
3
3
  tagIds?: string[];
4
4
  labels?: string[];
5
+ typeId?: string;
5
6
  }
6
7
  export declare type PostAssetsRequest = PostAssetRequest[];
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './readers';
10
10
  export * from './roles';
11
11
  export * from './tags';
12
12
  export * from './telemetry';
13
+ export * from './types';
13
14
  export * from './users';
14
15
  export * from './errors';
15
16
  export * from './geo-location';
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ __exportStar(require("./readers"), exports);
26
26
  __exportStar(require("./roles"), exports);
27
27
  __exportStar(require("./tags"), exports);
28
28
  __exportStar(require("./telemetry"), exports);
29
+ __exportStar(require("./types"), exports);
29
30
  __exportStar(require("./users"), exports);
30
31
  __exportStar(require("./errors"), exports);
31
32
  __exportStar(require("./geo-location"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,kDAAgC;AAChC,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,0CAAwB;AACxB,2CAAyB;AACzB,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,kDAAgC;AAChC,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,0CAAwB;AACxB,0CAAwB;AACxB,2CAAyB;AACzB,iDAA+B"}
@@ -12,6 +12,7 @@ export interface IDeviceTypeDetail {
12
12
  manufacturer?: DeviceManufacturer;
13
13
  protocols: ConnectorProtocol[];
14
14
  deviceIdFormat?: DeviceIdFormat;
15
+ deviceIdRequired?: boolean;
15
16
  visible: boolean;
16
17
  }
17
18
  export declare const DEVICE_TYPE_DETAILS: IDeviceTypeDetail[];
@@ -21,6 +22,8 @@ declare type QuerySignature = {
21
22
  };
22
23
  export declare const getDeviceTypes: (query: QuerySignature) => IDeviceTypeDetail[];
23
24
  export declare const getDeviceTypesForFormat: (deviceIdFormat: DeviceIdFormat) => DeviceType[];
25
+ export declare const getDeviceTypesWithRequiredDeviceId: () => DeviceType[];
24
26
  export declare const getDeviceTypesForManufacturer: (manufacturer: DeviceManufacturer) => DeviceType[];
25
27
  export declare const isIoTX3: (id: DeviceType) => boolean;
28
+ export declare const isDeviceIdRequired: (id: DeviceType) => boolean;
26
29
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isIoTX3 = exports.getDeviceTypesForManufacturer = exports.getDeviceTypesForFormat = exports.getDeviceTypes = exports.getDeviceTypeById = exports.DEVICE_TYPE_DETAILS = exports.DEVICE_TYPES = void 0;
3
+ exports.isDeviceIdRequired = exports.isIoTX3 = exports.getDeviceTypesForManufacturer = exports.getDeviceTypesWithRequiredDeviceId = 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',
@@ -25,6 +25,7 @@ exports.DEVICE_TYPE_DETAILS = [
25
25
  manufacturer: 'iotx3',
26
26
  protocols: ['http'],
27
27
  deviceIdFormat: 'mac',
28
+ deviceIdRequired: true,
28
29
  visible: true,
29
30
  },
30
31
  {
@@ -35,6 +36,7 @@ exports.DEVICE_TYPE_DETAILS = [
35
36
  manufacturer: 'spotto',
36
37
  protocols: ['mqtt', 'http'],
37
38
  deviceIdFormat: 'mac',
39
+ deviceIdRequired: true,
38
40
  visible: true,
39
41
  },
40
42
  {
@@ -44,6 +46,7 @@ exports.DEVICE_TYPE_DETAILS = [
44
46
  endpoint: 'iotx3/{readerId}',
45
47
  protocols: ['http'],
46
48
  deviceIdFormat: 'mac',
49
+ deviceIdRequired: true,
47
50
  visible: true,
48
51
  },
49
52
  {
@@ -53,6 +56,7 @@ exports.DEVICE_TYPE_DETAILS = [
53
56
  endpoint: 'iotx3/{readerId}',
54
57
  protocols: ['http'],
55
58
  deviceIdFormat: 'mac',
59
+ deviceIdRequired: true,
56
60
  visible: true,
57
61
  },
58
62
  {
@@ -62,6 +66,7 @@ exports.DEVICE_TYPE_DETAILS = [
62
66
  endpoint: 'iotx3/{readerId}',
63
67
  protocols: ['http'],
64
68
  deviceIdFormat: 'mac',
69
+ deviceIdRequired: true,
65
70
  visible: true,
66
71
  },
67
72
  {
@@ -99,6 +104,7 @@ exports.DEVICE_TYPE_DETAILS = [
99
104
  manufacturer: 'digitalmatter',
100
105
  protocols: ['http'],
101
106
  deviceIdFormat: 'string',
107
+ deviceIdRequired: true,
102
108
  visible: true,
103
109
  },
104
110
  {
@@ -109,6 +115,7 @@ exports.DEVICE_TYPE_DETAILS = [
109
115
  endpoint: 'kb',
110
116
  manufacturer: 'kkm',
111
117
  deviceIdFormat: 'mac',
118
+ deviceIdRequired: true,
112
119
  visible: true,
113
120
  },
114
121
  {
@@ -119,6 +126,7 @@ exports.DEVICE_TYPE_DETAILS = [
119
126
  endpoint: 'minew',
120
127
  manufacturer: 'minew',
121
128
  deviceIdFormat: 'mac',
129
+ deviceIdRequired: true,
122
130
  visible: true,
123
131
  },
124
132
  {
@@ -127,6 +135,8 @@ exports.DEVICE_TYPE_DETAILS = [
127
135
  technology: ['RFID', 'BLE', 'HID'],
128
136
  endpoint: 'other/{readerId}',
129
137
  protocols: ['http'],
138
+ deviceIdFormat: 'string',
139
+ deviceIdRequired: false,
130
140
  visible: true,
131
141
  },
132
142
  {
@@ -136,6 +146,7 @@ exports.DEVICE_TYPE_DETAILS = [
136
146
  endpoint: 'detector/{readerId}',
137
147
  protocols: ['http'],
138
148
  deviceIdFormat: 'string',
149
+ deviceIdRequired: true,
139
150
  visible: false,
140
151
  },
141
152
  ];
@@ -154,8 +165,12 @@ const getDeviceTypes = (query) => exports.DEVICE_TYPE_DETAILS.filter(type => Obj
154
165
  exports.getDeviceTypes = getDeviceTypes;
155
166
  const getDeviceTypesForFormat = (deviceIdFormat) => (0, exports.getDeviceTypes)({ deviceIdFormat }).map(({ id }) => id);
156
167
  exports.getDeviceTypesForFormat = getDeviceTypesForFormat;
168
+ const getDeviceTypesWithRequiredDeviceId = () => (0, exports.getDeviceTypes)({ deviceIdRequired: true }).map(({ id }) => id);
169
+ exports.getDeviceTypesWithRequiredDeviceId = getDeviceTypesWithRequiredDeviceId;
157
170
  const getDeviceTypesForManufacturer = (manufacturer) => (0, exports.getDeviceTypes)({ manufacturer }).map(({ id }) => id);
158
171
  exports.getDeviceTypesForManufacturer = getDeviceTypesForManufacturer;
159
172
  const isIoTX3 = (id) => (0, exports.getDeviceTypesForManufacturer)('iotx3').includes(id);
160
173
  exports.isIoTX3 = isIoTX3;
174
+ const isDeviceIdRequired = (id) => (0, exports.getDeviceTypesWithRequiredDeviceId)().includes(id);
175
+ exports.isDeviceIdRequired = isDeviceIdRequired;
161
176
  //# sourceMappingURL=deviceTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTypes.js","sourceRoot":"","sources":["../../../src/readers/constants/deviceTypes.ts"],"names":[],"mappings":";;;AAea,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,OAAO;IACP,aAAa;CACd,CAAC;AAgCW,QAAA,mBAAmB,GAAwB;IACtD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,YAAY,EAAE,OAAO;QACrB,SAAS,EAAE,CAAC,MAAM,CAAC;QACnB,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,QAAQ;QAClB,YAAY,EAAE,QAAQ;QACtB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;QAC3B,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,CAAC,MAAM,CAAC;Q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CACxC,IAAA,qCAA6B,EAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADzC,QAAA,OAAO,WACkC"}
1
+ {"version":3,"file":"deviceTypes.js","sourceRoot":"","sources":["../../../src/readers/constants/deviceTypes.ts"],"names":[],"mappings":";;;AAea,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,OAAO;IACP,aAAa;CACd,CAAC;AAiCW,QAAA,mBAAmB,GAAwB;IACtD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,YAAY,EAAE,OAAO;QACrB,SAAS,EAAE,CAAC,MAAM,CAAC;QACnB,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,QAAQ;QACtB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;QAC3B,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,kBAAkB;QAC5B,SAAS,EAAE,CAAC,MAAM,CAAC;QACnB,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAA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AC3C,YAAgC,EAChC,EAAE,CAAC,IAAA,sBAAc,EAAC,EAAE,YAAY,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,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;AAE/C,MAAM,kBAAkB,GAAG,CAAC,EAAc,EAAE,EAAE,CACnD,IAAA,0CAAkC,GAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADvC,QAAA,kBAAkB,sBACqB"}
@@ -0,0 +1,8 @@
1
+ export interface GetTypeResponse {
2
+ id: string;
3
+ name: string;
4
+ fullName?: string;
5
+ parent?: string;
6
+ fullNameTemplate?: string;
7
+ description?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/types/[id]/get.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './patch';
2
+ export * from './get';
@@ -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("./patch"), exports);
18
+ __exportStar(require("./get"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/[id]/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,wCAAsB"}
@@ -0,0 +1,2 @@
1
+ export * from './request';
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("./request"), exports);
18
+ __exportStar(require("./response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/[id]/patch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B"}
@@ -0,0 +1,6 @@
1
+ export interface UpdateTypeRequest {
2
+ name?: string;
3
+ parent?: string;
4
+ fullNameTemplate?: string;
5
+ description?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/[id]/patch/request.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export { GetTypeResponse as UpdateTypeResponse } from '../get';
@@ -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/types/[id]/patch/response.ts"],"names":[],"mappings":""}
@@ -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/types/get/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
@@ -0,0 +1,10 @@
1
+ import { StandardSortFields, SortOrders } from '../../shared';
2
+ export declare type TypeSortField = StandardSortFields;
3
+ export declare type TypeEmbedField = 'meta';
4
+ export interface GetTypesQuery {
5
+ page?: number;
6
+ limit?: number;
7
+ sort?: TypeSortField;
8
+ sortOrder?: SortOrders;
9
+ embed?: Array<TypeEmbedField>;
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/types/get/query.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetTypesQuery } from './query';
2
+ import { GetTypeResponse } from '../[id]/get';
3
+ export interface GetTypesResponse {
4
+ query: GetTypesQuery | null;
5
+ total: number;
6
+ items: GetTypeResponse[];
7
+ }
@@ -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/types/get/response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './response';
@@ -0,0 +1,18 @@
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("./response"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/hierarchy/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,8 @@
1
+ export interface ITypeWithChildren {
2
+ id: string;
3
+ name: string;
4
+ fullName?: string;
5
+ children?: ITypeWithChildren[];
6
+ }
7
+ export declare type GetTypesHierarchyResponse = ITypeWithChildren;
8
+ export declare const testITypeWithChildren: ITypeWithChildren;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.testITypeWithChildren = void 0;
4
+ exports.testITypeWithChildren = {
5
+ id: '1111',
6
+ name: '',
7
+ children: [
8
+ {
9
+ id: '2222',
10
+ name: 'Hammers',
11
+ fullName: 'Hammers',
12
+ children: [
13
+ {
14
+ id: '4444',
15
+ name: 'H1',
16
+ fullName: 'Hammers H1',
17
+ },
18
+ ],
19
+ },
20
+ {
21
+ id: '3333',
22
+ name: 'Equipment',
23
+ fullName: 'Equipment',
24
+ },
25
+ ],
26
+ };
27
+ //# sourceMappingURL=response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/types/hierarchy/response.ts"],"names":[],"mappings":";;;AAUa,QAAA,qBAAqB,GAAsB;IACtD,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,QAAQ,EAAE;gBACR;oBACE,EAAE,EAAE,MAAM;oBACV,IAAI,EAAE,IAAI;oBACV,QAAQ,EAAE,YAAY;iBACvB;aACF;SACF;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,WAAW;YACjB,QAAQ,EAAE,WAAW;SACtB;KACF;CACF,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './[id]';
2
+ export * from './get';
3
+ export * from './hierarchy';
4
+ export * from './post';
@@ -0,0 +1,21 @@
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("./[id]"), exports);
18
+ __exportStar(require("./get"), exports);
19
+ __exportStar(require("./hierarchy"), exports);
20
+ __exportStar(require("./post"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,wCAAsB;AACtB,8CAA4B;AAC5B,yCAAuB"}
@@ -0,0 +1,2 @@
1
+ export * from './request';
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("./request"), exports);
18
+ __exportStar(require("./response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/post/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B"}
@@ -0,0 +1,8 @@
1
+ export interface PostTypeRequest {
2
+ name: string;
3
+ parent?: string;
4
+ fullNameTemplate?: string;
5
+ description?: string;
6
+ }
7
+ export declare type PostTypesRequest = PostTypeRequest[];
8
+ export declare const testPostTypeRequest: PostTypeRequest;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.testPostTypeRequest = void 0;
4
+ exports.testPostTypeRequest = {
5
+ parent: 'abcd',
6
+ name: '1 kg',
7
+ fullNameTemplate: '@name',
8
+ };
9
+ //# sourceMappingURL=request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/types/post/request.ts"],"names":[],"mappings":";;;AAUa,QAAA,mBAAmB,GAAoB;IAClD,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,OAAO;CAC1B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { GetTypeResponse } from '../[id]/get';
2
+ export interface PostTypesResponse {
3
+ inserted: number;
4
+ items: GetTypeResponse[];
5
+ }
@@ -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/types/post/response.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "1.0.11",
4
+ "version": "1.0.13-alpha.0",
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": "d52a781966bbd40b5eca296327f3a4bc62436b7a"
17
+ "gitHead": "494e77856ce7d1e1293f041dc3e5b4e386143621"
18
18
  }