@edgeiq/edgeiq-api-js 1.4.2 → 1.4.4

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.
@@ -23,9 +23,7 @@ export interface CommandInput {
23
23
  options?: {
24
24
  [key: string]: unknown;
25
25
  };
26
- payload?: {
27
- [key: string]: unknown;
28
- };
26
+ payload?: string;
29
27
  translator_id?: string;
30
28
  save_command_output?: boolean;
31
29
  }
@@ -25,7 +25,7 @@ export interface DeviceTypeMapping {
25
25
  value?: string;
26
26
  }
27
27
  export interface IngestorRoute {
28
- method?: string;
28
+ method?: string[];
29
29
  path?: string;
30
30
  }
31
31
  export interface IngestorListener {
@@ -180,7 +180,7 @@ exports.EmptyIngestor = __assign(__assign({}, baseModel), { company_id: '', name
180
180
  }, handler: {
181
181
  routes: [
182
182
  {
183
- method: 'get',
183
+ method: ['get'],
184
184
  path: '',
185
185
  },
186
186
  ],
@@ -215,7 +215,7 @@ exports.TestIngestor = {
215
215
  handler: {
216
216
  routes: [
217
217
  {
218
- method: 'get',
218
+ method: ['get'],
219
219
  path: '',
220
220
  },
221
221
  ],
@@ -251,7 +251,7 @@ exports.TestIngestor2 = {
251
251
  handler: {
252
252
  routes: [
253
253
  {
254
- method: 'get',
254
+ method: ['get'],
255
255
  path: '',
256
256
  },
257
257
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeiq/edgeiq-api-js",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "author": "EdgeIQ",
5
5
  "license": "ISC",
6
6
  "description": "This project presents EdgeIQ API SDK.",