homey-api 1.10.16 → 1.10.17

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.
@@ -178,7 +178,6 @@
178
178
  },
179
179
  "value": {
180
180
  "in": "body",
181
- "type": "object",
182
181
  "required": true
183
182
  }
184
183
  }
@@ -419,6 +418,25 @@
419
418
  "homey.system.readonly"
420
419
  ],
421
420
  "parameters": {}
421
+ },
422
+ "runCommand": {
423
+ "method": "post",
424
+ "path": "/command",
425
+ "private": false,
426
+ "scopes": [
427
+ "homey.system"
428
+ ],
429
+ "parameters": {
430
+ "command": {
431
+ "in": "body",
432
+ "type": "string",
433
+ "required": true
434
+ },
435
+ "opts": {
436
+ "in": "body",
437
+ "type": "object"
438
+ }
439
+ }
422
440
  }
423
441
  }
424
442
  },
@@ -11058,7 +11058,7 @@
11058
11058
 
11059
11059
 
11060
11060
 
11061
- value: object,
11061
+ value: *,
11062
11062
 
11063
11063
 
11064
11064
  },
@@ -11364,6 +11364,29 @@
11364
11364
 
11365
11365
  getState(
11366
11366
 
11367
+ ):
11368
+ Promise<any>;
11369
+
11370
+ runCommand(
11371
+
11372
+
11373
+
11374
+
11375
+ opts: {
11376
+
11377
+
11378
+ command: string,
11379
+
11380
+
11381
+
11382
+ opts: object,
11383
+
11384
+
11385
+ },
11386
+
11387
+
11388
+
11389
+
11367
11390
  ):
11368
11391
  Promise<any>;
11369
11392
 
@@ -17015,7 +17015,7 @@
17015
17015
 
17016
17016
 
17017
17017
 
17018
- value: object,
17018
+ value: *,
17019
17019
 
17020
17020
 
17021
17021
  },
@@ -17321,6 +17321,29 @@
17321
17321
 
17322
17322
  getState(
17323
17323
 
17324
+ ):
17325
+ Promise<any>;
17326
+
17327
+ runCommand(
17328
+
17329
+
17330
+
17331
+
17332
+ opts: {
17333
+
17334
+
17335
+ command: string,
17336
+
17337
+
17338
+
17339
+ opts: object,
17340
+
17341
+
17342
+ },
17343
+
17344
+
17345
+
17346
+
17324
17347
  ):
17325
17348
  Promise<any>;
17326
17349
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "1.10.16",
3
+ "version": "1.10.17",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [