homey-api 3.10.1 → 3.11.1

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.
@@ -1484,6 +1484,11 @@
1484
1484
  ],
1485
1485
  "parameters": {
1486
1486
  "date": {
1487
+ "in": "query",
1488
+ "type": "string",
1489
+ "required": true
1490
+ },
1491
+ "cache": {
1487
1492
  "in": "query",
1488
1493
  "type": "string"
1489
1494
  }
@@ -1498,6 +1503,11 @@
1498
1503
  ],
1499
1504
  "parameters": {
1500
1505
  "isoWeek": {
1506
+ "in": "query",
1507
+ "type": "string",
1508
+ "required": true
1509
+ },
1510
+ "cache": {
1501
1511
  "in": "query",
1502
1512
  "type": "string"
1503
1513
  }
@@ -1512,6 +1522,11 @@
1512
1522
  ],
1513
1523
  "parameters": {
1514
1524
  "yearMonth": {
1525
+ "in": "query",
1526
+ "type": "string",
1527
+ "required": true
1528
+ },
1529
+ "cache": {
1515
1530
  "in": "query",
1516
1531
  "type": "string"
1517
1532
  }
@@ -1526,6 +1541,11 @@
1526
1541
  ],
1527
1542
  "parameters": {
1528
1543
  "year": {
1544
+ "in": "query",
1545
+ "type": "string",
1546
+ "required": true
1547
+ },
1548
+ "cache": {
1529
1549
  "in": "query",
1530
1550
  "type": "string"
1531
1551
  }
@@ -1905,6 +1905,11 @@
1905
1905
  ],
1906
1906
  "parameters": {
1907
1907
  "date": {
1908
+ "in": "query",
1909
+ "type": "string",
1910
+ "required": true
1911
+ },
1912
+ "cache": {
1908
1913
  "in": "query",
1909
1914
  "type": "string"
1910
1915
  }
@@ -1919,6 +1924,11 @@
1919
1924
  ],
1920
1925
  "parameters": {
1921
1926
  "isoWeek": {
1927
+ "in": "query",
1928
+ "type": "string",
1929
+ "required": true
1930
+ },
1931
+ "cache": {
1922
1932
  "in": "query",
1923
1933
  "type": "string"
1924
1934
  }
@@ -1933,6 +1943,11 @@
1933
1943
  ],
1934
1944
  "parameters": {
1935
1945
  "yearMonth": {
1946
+ "in": "query",
1947
+ "type": "string",
1948
+ "required": true
1949
+ },
1950
+ "cache": {
1936
1951
  "in": "query",
1937
1952
  "type": "string"
1938
1953
  }
@@ -1947,6 +1962,11 @@
1947
1962
  ],
1948
1963
  "parameters": {
1949
1964
  "year": {
1965
+ "in": "query",
1966
+ "type": "string",
1967
+ "required": true
1968
+ },
1969
+ "cache": {
1950
1970
  "in": "query",
1951
1971
  "type": "string"
1952
1972
  }
@@ -2200,13 +2200,29 @@ export namespace HomeyAPIV3Cloud {
2200
2200
 
2201
2201
  getLiveReport(opts: { zone?: string }): Promise<any>;
2202
2202
 
2203
- getReportDay(opts: { date?: string }): Promise<any>;
2203
+ getReportDay(opts: {
2204
+ date: string;
2204
2205
 
2205
- getReportWeek(opts: { isoWeek?: string }): Promise<any>;
2206
+ cache?: string;
2207
+ }): Promise<any>;
2208
+
2209
+ getReportWeek(opts: {
2210
+ isoWeek: string;
2211
+
2212
+ cache?: string;
2213
+ }): Promise<any>;
2206
2214
 
2207
- getReportMonth(opts: { yearMonth?: string }): Promise<any>;
2215
+ getReportMonth(opts: {
2216
+ yearMonth: string;
2208
2217
 
2209
- getReportYear(opts: { year?: string }): Promise<any>;
2218
+ cache?: string;
2219
+ }): Promise<any>;
2220
+
2221
+ getReportYear(opts: {
2222
+ year: string;
2223
+
2224
+ cache?: string;
2225
+ }): Promise<any>;
2210
2226
 
2211
2227
  getReportsAvailable(): Promise<any>;
2212
2228
 
@@ -3736,13 +3752,29 @@ export namespace HomeyAPIV3Local {
3736
3752
 
3737
3753
  getLiveReport(opts: { zone?: string }): Promise<any>;
3738
3754
 
3739
- getReportDay(opts: { date?: string }): Promise<any>;
3755
+ getReportDay(opts: {
3756
+ date: string;
3740
3757
 
3741
- getReportWeek(opts: { isoWeek?: string }): Promise<any>;
3758
+ cache?: string;
3759
+ }): Promise<any>;
3760
+
3761
+ getReportWeek(opts: {
3762
+ isoWeek: string;
3763
+
3764
+ cache?: string;
3765
+ }): Promise<any>;
3742
3766
 
3743
- getReportMonth(opts: { yearMonth?: string }): Promise<any>;
3767
+ getReportMonth(opts: {
3768
+ yearMonth: string;
3744
3769
 
3745
- getReportYear(opts: { year?: string }): Promise<any>;
3770
+ cache?: string;
3771
+ }): Promise<any>;
3772
+
3773
+ getReportYear(opts: {
3774
+ year: string;
3775
+
3776
+ cache?: string;
3777
+ }): Promise<any>;
3746
3778
 
3747
3779
  getReportsAvailable(): Promise<any>;
3748
3780
 
@@ -8759,13 +8759,29 @@ export namespace HomeyAPIV3Cloud {
8759
8759
 
8760
8760
  getLiveReport(opts: { zone?: string }): Promise<any>;
8761
8761
 
8762
- getReportDay(opts: { date?: string }): Promise<any>;
8762
+ getReportDay(opts: {
8763
+ date: string;
8763
8764
 
8764
- getReportWeek(opts: { isoWeek?: string }): Promise<any>;
8765
+ cache?: string;
8766
+ }): Promise<any>;
8767
+
8768
+ getReportWeek(opts: {
8769
+ isoWeek: string;
8770
+
8771
+ cache?: string;
8772
+ }): Promise<any>;
8765
8773
 
8766
- getReportMonth(opts: { yearMonth?: string }): Promise<any>;
8774
+ getReportMonth(opts: {
8775
+ yearMonth: string;
8767
8776
 
8768
- getReportYear(opts: { year?: string }): Promise<any>;
8777
+ cache?: string;
8778
+ }): Promise<any>;
8779
+
8780
+ getReportYear(opts: {
8781
+ year: string;
8782
+
8783
+ cache?: string;
8784
+ }): Promise<any>;
8769
8785
 
8770
8786
  getReportsAvailable(): Promise<any>;
8771
8787
 
@@ -10503,13 +10519,29 @@ export namespace HomeyAPIV3Local {
10503
10519
 
10504
10520
  getLiveReport(opts: { zone?: string }): Promise<any>;
10505
10521
 
10506
- getReportDay(opts: { date?: string }): Promise<any>;
10522
+ getReportDay(opts: {
10523
+ date: string;
10507
10524
 
10508
- getReportWeek(opts: { isoWeek?: string }): Promise<any>;
10525
+ cache?: string;
10526
+ }): Promise<any>;
10527
+
10528
+ getReportWeek(opts: {
10529
+ isoWeek: string;
10530
+
10531
+ cache?: string;
10532
+ }): Promise<any>;
10509
10533
 
10510
- getReportMonth(opts: { yearMonth?: string }): Promise<any>;
10534
+ getReportMonth(opts: {
10535
+ yearMonth: string;
10511
10536
 
10512
- getReportYear(opts: { year?: string }): Promise<any>;
10537
+ cache?: string;
10538
+ }): Promise<any>;
10539
+
10540
+ getReportYear(opts: {
10541
+ year: string;
10542
+
10543
+ cache?: string;
10544
+ }): Promise<any>;
10513
10545
 
10514
10546
  getReportsAvailable(): Promise<any>;
10515
10547
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.10.1",
3
+ "version": "3.11.1",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [