homey-api 1.10.15 → 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
  },
@@ -1063,6 +1081,36 @@
1063
1081
  "type": "string"
1064
1082
  }
1065
1083
  }
1084
+ },
1085
+ "stopApp": {
1086
+ "method": "delete",
1087
+ "path": "/:session",
1088
+ "private": false,
1089
+ "scopes": [
1090
+ "homey.app"
1091
+ ],
1092
+ "parameters": {
1093
+ "session": {
1094
+ "in": "path",
1095
+ "type": "string",
1096
+ "required": true
1097
+ }
1098
+ }
1099
+ },
1100
+ "getAppStdOut": {
1101
+ "method": "get",
1102
+ "path": "/std/:session",
1103
+ "private": false,
1104
+ "scopes": [
1105
+ "homey.app"
1106
+ ],
1107
+ "parameters": {
1108
+ "session": {
1109
+ "in": "path",
1110
+ "type": "string",
1111
+ "required": true
1112
+ }
1113
+ }
1066
1114
  }
1067
1115
  }
1068
1116
  },
@@ -1426,17 +1474,6 @@
1426
1474
  }
1427
1475
  }
1428
1476
  },
1429
- "ExperimentHomeKit": {
1430
- "id": "experiment-homekit",
1431
- "schema": {
1432
- "type": "object",
1433
- "properties": {
1434
- "id": {
1435
- "type": "string"
1436
- }
1437
- }
1438
- }
1439
- },
1440
1477
  "ExperimentPowerUser": {
1441
1478
  "id": "experiment-poweruser",
1442
1479
  "schema": {
@@ -1900,6 +1937,30 @@
1900
1937
  }
1901
1938
  }
1902
1939
  },
1940
+ "getFlowCardTrigger": {
1941
+ "method": "get",
1942
+ "path": "/flowcardtrigger/:uri/:id",
1943
+ "private": false,
1944
+ "scopes": [
1945
+ "homey.flow.readonly"
1946
+ ],
1947
+ "crud": {
1948
+ "type": "getOne",
1949
+ "item": "FlowCardTrigger"
1950
+ },
1951
+ "parameters": {
1952
+ "id": {
1953
+ "in": "path",
1954
+ "type": "string",
1955
+ "required": true
1956
+ },
1957
+ "uri": {
1958
+ "in": "path",
1959
+ "type": "string",
1960
+ "required": true
1961
+ }
1962
+ }
1963
+ },
1903
1964
  "getFlowCardTriggers": {
1904
1965
  "method": "get",
1905
1966
  "path": "/flowcardtrigger",
@@ -1913,6 +1974,30 @@
1913
1974
  },
1914
1975
  "parameters": {}
1915
1976
  },
1977
+ "getFlowCardCondition": {
1978
+ "method": "get",
1979
+ "path": "/flowcardcondition/:uri/:id",
1980
+ "private": false,
1981
+ "scopes": [
1982
+ "homey.flow.readonly"
1983
+ ],
1984
+ "crud": {
1985
+ "type": "getOne",
1986
+ "item": "FlowCardCondition"
1987
+ },
1988
+ "parameters": {
1989
+ "id": {
1990
+ "in": "path",
1991
+ "type": "string",
1992
+ "required": true
1993
+ },
1994
+ "uri": {
1995
+ "in": "path",
1996
+ "type": "string",
1997
+ "required": true
1998
+ }
1999
+ }
2000
+ },
1916
2001
  "getFlowCardConditions": {
1917
2002
  "method": "get",
1918
2003
  "path": "/flowcardcondition",
@@ -1962,6 +2047,30 @@
1962
2047
  }
1963
2048
  }
1964
2049
  },
2050
+ "getFlowCardAction": {
2051
+ "method": "get",
2052
+ "path": "/flowcardaction/:uri/:id",
2053
+ "private": false,
2054
+ "scopes": [
2055
+ "homey.flow.readonly"
2056
+ ],
2057
+ "crud": {
2058
+ "type": "getOne",
2059
+ "item": "FlowCardAction"
2060
+ },
2061
+ "parameters": {
2062
+ "id": {
2063
+ "in": "path",
2064
+ "type": "string",
2065
+ "required": true
2066
+ },
2067
+ "uri": {
2068
+ "in": "path",
2069
+ "type": "string",
2070
+ "required": true
2071
+ }
2072
+ }
2073
+ },
1965
2074
  "getFlowCardActions": {
1966
2075
  "method": "get",
1967
2076
  "path": "/flowcardaction",
@@ -3282,7 +3391,8 @@
3282
3391
  "type": "string",
3283
3392
  "enum": [
3284
3393
  "OAUTH",
3285
- "APP"
3394
+ "APP",
3395
+ "PAT"
3286
3396
  ]
3287
3397
  },
3288
3398
  "scopes": {
@@ -2312,8 +2312,6 @@
2312
2312
 
2313
2313
 
2314
2314
 
2315
-
2316
-
2317
2315
 
2318
2316
 
2319
2317
 
@@ -2489,16 +2487,6 @@
2489
2487
 
2490
2488
  export namespace HomeyAPIV3Local.ManagerExperiments {
2491
2489
 
2492
- export class ExperimentHomeKit {
2493
-
2494
-
2495
-
2496
- id: string;
2497
-
2498
-
2499
-
2500
- }
2501
-
2502
2490
  export class ExperimentPowerUser {
2503
2491
 
2504
2492
 
@@ -11070,7 +11058,7 @@
11070
11058
 
11071
11059
 
11072
11060
 
11073
- value: object,
11061
+ value: *,
11074
11062
 
11075
11063
 
11076
11064
  },
@@ -11376,6 +11364,29 @@
11376
11364
 
11377
11365
  getState(
11378
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
+
11379
11390
  ):
11380
11391
  Promise<any>;
11381
11392
 
@@ -11857,6 +11868,44 @@
11857
11868
 
11858
11869
 
11859
11870
 
11871
+ ):
11872
+ Promise<any>;
11873
+
11874
+ stopApp(
11875
+
11876
+
11877
+
11878
+
11879
+ opts: {
11880
+
11881
+
11882
+ session: string,
11883
+
11884
+
11885
+ },
11886
+
11887
+
11888
+
11889
+
11890
+ ):
11891
+ Promise<any>;
11892
+
11893
+ getAppStdOut(
11894
+
11895
+
11896
+
11897
+
11898
+ opts: {
11899
+
11900
+
11901
+ session: string,
11902
+
11903
+
11904
+ },
11905
+
11906
+
11907
+
11908
+
11860
11909
  ):
11861
11910
  Promise<any>;
11862
11911
 
@@ -12624,11 +12673,57 @@
12624
12673
  ):
12625
12674
  Promise<any>;
12626
12675
 
12676
+ getFlowCardTrigger(
12677
+
12678
+
12679
+
12680
+
12681
+ opts: {
12682
+
12683
+
12684
+ id: string,
12685
+
12686
+
12687
+
12688
+ uri: string,
12689
+
12690
+
12691
+ },
12692
+
12693
+
12694
+
12695
+
12696
+ ):
12697
+ Promise<HomeyAPIV3Local.ManagerFlow.FlowCardTrigger>;
12698
+
12627
12699
  getFlowCardTriggers(
12628
12700
 
12629
12701
  ):
12630
12702
  Promise<HomeyAPIV3Local.ManagerFlow.FlowCardTrigger>;
12631
12703
 
12704
+ getFlowCardCondition(
12705
+
12706
+
12707
+
12708
+
12709
+ opts: {
12710
+
12711
+
12712
+ id: string,
12713
+
12714
+
12715
+
12716
+ uri: string,
12717
+
12718
+
12719
+ },
12720
+
12721
+
12722
+
12723
+
12724
+ ):
12725
+ Promise<HomeyAPIV3Local.ManagerFlow.FlowCardCondition>;
12726
+
12632
12727
  getFlowCardConditions(
12633
12728
 
12634
12729
  ):
@@ -12673,6 +12768,29 @@
12673
12768
  ):
12674
12769
  Promise<any>;
12675
12770
 
12771
+ getFlowCardAction(
12772
+
12773
+
12774
+
12775
+
12776
+ opts: {
12777
+
12778
+
12779
+ id: string,
12780
+
12781
+
12782
+
12783
+ uri: string,
12784
+
12785
+
12786
+ },
12787
+
12788
+
12789
+
12790
+
12791
+ ):
12792
+ Promise<HomeyAPIV3Local.ManagerFlow.FlowCardAction>;
12793
+
12676
12794
  getFlowCardActions(
12677
12795
 
12678
12796
  ):
@@ -7702,8 +7702,6 @@
7702
7702
 
7703
7703
 
7704
7704
 
7705
-
7706
-
7707
7705
 
7708
7706
 
7709
7707
 
@@ -7899,16 +7897,6 @@
7899
7897
 
7900
7898
  export namespace HomeyAPIV3Local.ManagerExperiments {
7901
7899
 
7902
- export class ExperimentHomeKit {
7903
-
7904
-
7905
-
7906
- id: string;
7907
-
7908
-
7909
-
7910
- }
7911
-
7912
7900
  export class ExperimentPowerUser {
7913
7901
 
7914
7902
 
@@ -17027,7 +17015,7 @@
17027
17015
 
17028
17016
 
17029
17017
 
17030
- value: object,
17018
+ value: *,
17031
17019
 
17032
17020
 
17033
17021
  },
@@ -17333,6 +17321,29 @@
17333
17321
 
17334
17322
  getState(
17335
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
+
17336
17347
  ):
17337
17348
  Promise<any>;
17338
17349
 
@@ -17955,6 +17966,44 @@
17955
17966
 
17956
17967
 
17957
17968
 
17969
+ ):
17970
+ Promise<any>;
17971
+
17972
+ stopApp(
17973
+
17974
+
17975
+
17976
+
17977
+ opts: {
17978
+
17979
+
17980
+ session: string,
17981
+
17982
+
17983
+ },
17984
+
17985
+
17986
+
17987
+
17988
+ ):
17989
+ Promise<any>;
17990
+
17991
+ getAppStdOut(
17992
+
17993
+
17994
+
17995
+
17996
+ opts: {
17997
+
17998
+
17999
+ session: string,
18000
+
18001
+
18002
+ },
18003
+
18004
+
18005
+
18006
+
17958
18007
  ):
17959
18008
  Promise<any>;
17960
18009
 
@@ -18722,11 +18771,57 @@
18722
18771
  ):
18723
18772
  Promise<any>;
18724
18773
 
18774
+ getFlowCardTrigger(
18775
+
18776
+
18777
+
18778
+
18779
+ opts: {
18780
+
18781
+
18782
+ id: string,
18783
+
18784
+
18785
+
18786
+ uri: string,
18787
+
18788
+
18789
+ },
18790
+
18791
+
18792
+
18793
+
18794
+ ):
18795
+ Promise<HomeyAPIV3Local.ManagerFlow.FlowCardTrigger>;
18796
+
18725
18797
  getFlowCardTriggers(
18726
18798
 
18727
18799
  ):
18728
18800
  Promise<HomeyAPIV3Local.ManagerFlow.FlowCardTrigger>;
18729
18801
 
18802
+ getFlowCardCondition(
18803
+
18804
+
18805
+
18806
+
18807
+ opts: {
18808
+
18809
+
18810
+ id: string,
18811
+
18812
+
18813
+
18814
+ uri: string,
18815
+
18816
+
18817
+ },
18818
+
18819
+
18820
+
18821
+
18822
+ ):
18823
+ Promise<HomeyAPIV3Local.ManagerFlow.FlowCardCondition>;
18824
+
18730
18825
  getFlowCardConditions(
18731
18826
 
18732
18827
  ):
@@ -18771,6 +18866,29 @@
18771
18866
  ):
18772
18867
  Promise<any>;
18773
18868
 
18869
+ getFlowCardAction(
18870
+
18871
+
18872
+
18873
+
18874
+ opts: {
18875
+
18876
+
18877
+ id: string,
18878
+
18879
+
18880
+
18881
+ uri: string,
18882
+
18883
+
18884
+ },
18885
+
18886
+
18887
+
18888
+
18889
+ ):
18890
+ Promise<HomeyAPIV3Local.ManagerFlow.FlowCardAction>;
18891
+
18774
18892
  getFlowCardActions(
18775
18893
 
18776
18894
  ):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "1.10.15",
3
+ "version": "1.10.17",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [