homey-api 1.5.27 → 1.5.28

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.
@@ -2459,6 +2459,10 @@
2459
2459
  "x-homey-readonly": true,
2460
2460
  "type": "boolean"
2461
2461
  },
2462
+ "triggerable": {
2463
+ "x-homey-readonly": true,
2464
+ "type": "boolean"
2465
+ },
2462
2466
  "trigger": {
2463
2467
  "type": "object",
2464
2468
  "required": [
@@ -2863,6 +2867,10 @@
2863
2867
  "x-homey-readonly": true,
2864
2868
  "type": "boolean"
2865
2869
  },
2870
+ "triggerable": {
2871
+ "x-homey-readonly": true,
2872
+ "type": "boolean"
2873
+ },
2866
2874
  "folder": {
2867
2875
  "type": [
2868
2876
  "string",
@@ -2906,6 +2914,25 @@
2906
2914
  }
2907
2915
  },
2908
2916
  "operations": {
2917
+ "triggerAdvancedFlow": {
2918
+ "method": "POST",
2919
+ "path": "/advancedflow/:id/trigger",
2920
+ "private": false,
2921
+ "scopes": [
2922
+ "homey.flow.start"
2923
+ ],
2924
+ "parameters": {
2925
+ "id": {
2926
+ "in": "path",
2927
+ "required": true,
2928
+ "type": "string"
2929
+ },
2930
+ "state": {
2931
+ "in": "body",
2932
+ "root": true
2933
+ }
2934
+ }
2935
+ },
2909
2936
  "deleteAdvancedFlow": {
2910
2937
  "method": "DELETE",
2911
2938
  "path": "/advancedflow/:id",
@@ -5375,6 +5402,24 @@
5375
5402
  ],
5376
5403
  "parameters": {}
5377
5404
  },
5405
+ "stopCPUProfile": {
5406
+ "method": "POST",
5407
+ "path": "/cpuprofile/stop",
5408
+ "private": true,
5409
+ "scopes": [
5410
+ "homey.system.readonly"
5411
+ ],
5412
+ "parameters": {}
5413
+ },
5414
+ "startCPUProfile": {
5415
+ "method": "POST",
5416
+ "path": "/cpuprofile/start",
5417
+ "private": true,
5418
+ "scopes": [
5419
+ "homey.system.readonly"
5420
+ ],
5421
+ "parameters": {}
5422
+ },
5378
5423
  "createHeapdump": {
5379
5424
  "method": "POST",
5380
5425
  "path": "/heapdump",
@@ -1210,6 +1210,8 @@
1210
1210
 
1211
1211
  broken: boolean;
1212
1212
 
1213
+ triggerable: boolean;
1214
+
1213
1215
  folder: string | null;
1214
1216
 
1215
1217
  cards: object;
@@ -1234,6 +1236,8 @@
1234
1236
 
1235
1237
  broken: boolean;
1236
1238
 
1239
+ triggerable: boolean;
1240
+
1237
1241
  trigger: object;
1238
1242
 
1239
1243
  conditions: Array<any>;
@@ -6641,6 +6645,29 @@
6641
6645
 
6642
6646
 
6643
6647
 
6648
+ triggerAdvancedFlow(
6649
+
6650
+
6651
+
6652
+
6653
+ opts: {
6654
+
6655
+
6656
+ id: string,
6657
+
6658
+
6659
+
6660
+ state: *,
6661
+
6662
+
6663
+ },
6664
+
6665
+
6666
+
6667
+
6668
+ ):
6669
+ Promise<any>;
6670
+
6644
6671
  deleteAdvancedFlow(
6645
6672
 
6646
6673
 
@@ -6370,6 +6370,8 @@
6370
6370
 
6371
6371
  broken: boolean;
6372
6372
 
6373
+ triggerable: boolean;
6374
+
6373
6375
  folder: string | null;
6374
6376
 
6375
6377
  cards: object;
@@ -6394,6 +6396,8 @@
6394
6396
 
6395
6397
  broken: boolean;
6396
6398
 
6399
+ triggerable: boolean;
6400
+
6397
6401
  trigger: object;
6398
6402
 
6399
6403
  conditions: Array<any>;
@@ -12149,6 +12153,29 @@
12149
12153
 
12150
12154
 
12151
12155
 
12156
+ triggerAdvancedFlow(
12157
+
12158
+
12159
+
12160
+
12161
+ opts: {
12162
+
12163
+
12164
+ id: string,
12165
+
12166
+
12167
+
12168
+ state: *,
12169
+
12170
+
12171
+ },
12172
+
12173
+
12174
+
12175
+
12176
+ ):
12177
+ Promise<any>;
12178
+
12152
12179
  deleteAdvancedFlow(
12153
12180
 
12154
12181
 
@@ -14294,6 +14321,16 @@
14294
14321
 
14295
14322
  runGC(
14296
14323
 
14324
+ ):
14325
+ Promise<any>;
14326
+
14327
+ stopCPUProfile(
14328
+
14329
+ ):
14330
+ Promise<any>;
14331
+
14332
+ startCPUProfile(
14333
+
14297
14334
  ):
14298
14335
  Promise<any>;
14299
14336
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "1.5.27",
3
+ "version": "1.5.28",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "types": "assets/types/homey-api.d.ts",