homey-api 3.11.0 → 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.
@@ -1485,11 +1485,12 @@
1485
1485
  "parameters": {
1486
1486
  "date": {
1487
1487
  "in": "query",
1488
- "type": "string"
1488
+ "type": "string",
1489
+ "required": true
1489
1490
  },
1490
1491
  "cache": {
1491
1492
  "in": "query",
1492
- "type": "boolean"
1493
+ "type": "string"
1493
1494
  }
1494
1495
  }
1495
1496
  },
@@ -1503,11 +1504,12 @@
1503
1504
  "parameters": {
1504
1505
  "isoWeek": {
1505
1506
  "in": "query",
1506
- "type": "string"
1507
+ "type": "string",
1508
+ "required": true
1507
1509
  },
1508
1510
  "cache": {
1509
1511
  "in": "query",
1510
- "type": "boolean"
1512
+ "type": "string"
1511
1513
  }
1512
1514
  }
1513
1515
  },
@@ -1521,11 +1523,12 @@
1521
1523
  "parameters": {
1522
1524
  "yearMonth": {
1523
1525
  "in": "query",
1524
- "type": "string"
1526
+ "type": "string",
1527
+ "required": true
1525
1528
  },
1526
1529
  "cache": {
1527
1530
  "in": "query",
1528
- "type": "boolean"
1531
+ "type": "string"
1529
1532
  }
1530
1533
  }
1531
1534
  },
@@ -1539,11 +1542,12 @@
1539
1542
  "parameters": {
1540
1543
  "year": {
1541
1544
  "in": "query",
1542
- "type": "string"
1545
+ "type": "string",
1546
+ "required": true
1543
1547
  },
1544
1548
  "cache": {
1545
1549
  "in": "query",
1546
- "type": "boolean"
1550
+ "type": "string"
1547
1551
  }
1548
1552
  }
1549
1553
  },
@@ -1906,11 +1906,12 @@
1906
1906
  "parameters": {
1907
1907
  "date": {
1908
1908
  "in": "query",
1909
- "type": "string"
1909
+ "type": "string",
1910
+ "required": true
1910
1911
  },
1911
1912
  "cache": {
1912
1913
  "in": "query",
1913
- "type": "boolean"
1914
+ "type": "string"
1914
1915
  }
1915
1916
  }
1916
1917
  },
@@ -1924,11 +1925,12 @@
1924
1925
  "parameters": {
1925
1926
  "isoWeek": {
1926
1927
  "in": "query",
1927
- "type": "string"
1928
+ "type": "string",
1929
+ "required": true
1928
1930
  },
1929
1931
  "cache": {
1930
1932
  "in": "query",
1931
- "type": "boolean"
1933
+ "type": "string"
1932
1934
  }
1933
1935
  }
1934
1936
  },
@@ -1942,11 +1944,12 @@
1942
1944
  "parameters": {
1943
1945
  "yearMonth": {
1944
1946
  "in": "query",
1945
- "type": "string"
1947
+ "type": "string",
1948
+ "required": true
1946
1949
  },
1947
1950
  "cache": {
1948
1951
  "in": "query",
1949
- "type": "boolean"
1952
+ "type": "string"
1950
1953
  }
1951
1954
  }
1952
1955
  },
@@ -1960,11 +1963,12 @@
1960
1963
  "parameters": {
1961
1964
  "year": {
1962
1965
  "in": "query",
1963
- "type": "string"
1966
+ "type": "string",
1967
+ "required": true
1964
1968
  },
1965
1969
  "cache": {
1966
1970
  "in": "query",
1967
- "type": "boolean"
1971
+ "type": "string"
1968
1972
  }
1969
1973
  }
1970
1974
  },
@@ -2201,27 +2201,27 @@ export namespace HomeyAPIV3Cloud {
2201
2201
  getLiveReport(opts: { zone?: string }): Promise<any>;
2202
2202
 
2203
2203
  getReportDay(opts: {
2204
- date?: string;
2204
+ date: string;
2205
2205
 
2206
- cache?: boolean;
2206
+ cache?: string;
2207
2207
  }): Promise<any>;
2208
2208
 
2209
2209
  getReportWeek(opts: {
2210
- isoWeek?: string;
2210
+ isoWeek: string;
2211
2211
 
2212
- cache?: boolean;
2212
+ cache?: string;
2213
2213
  }): Promise<any>;
2214
2214
 
2215
2215
  getReportMonth(opts: {
2216
- yearMonth?: string;
2216
+ yearMonth: string;
2217
2217
 
2218
- cache?: boolean;
2218
+ cache?: string;
2219
2219
  }): Promise<any>;
2220
2220
 
2221
2221
  getReportYear(opts: {
2222
- year?: string;
2222
+ year: string;
2223
2223
 
2224
- cache?: boolean;
2224
+ cache?: string;
2225
2225
  }): Promise<any>;
2226
2226
 
2227
2227
  getReportsAvailable(): Promise<any>;
@@ -3753,27 +3753,27 @@ export namespace HomeyAPIV3Local {
3753
3753
  getLiveReport(opts: { zone?: string }): Promise<any>;
3754
3754
 
3755
3755
  getReportDay(opts: {
3756
- date?: string;
3756
+ date: string;
3757
3757
 
3758
- cache?: boolean;
3758
+ cache?: string;
3759
3759
  }): Promise<any>;
3760
3760
 
3761
3761
  getReportWeek(opts: {
3762
- isoWeek?: string;
3762
+ isoWeek: string;
3763
3763
 
3764
- cache?: boolean;
3764
+ cache?: string;
3765
3765
  }): Promise<any>;
3766
3766
 
3767
3767
  getReportMonth(opts: {
3768
- yearMonth?: string;
3768
+ yearMonth: string;
3769
3769
 
3770
- cache?: boolean;
3770
+ cache?: string;
3771
3771
  }): Promise<any>;
3772
3772
 
3773
3773
  getReportYear(opts: {
3774
- year?: string;
3774
+ year: string;
3775
3775
 
3776
- cache?: boolean;
3776
+ cache?: string;
3777
3777
  }): Promise<any>;
3778
3778
 
3779
3779
  getReportsAvailable(): Promise<any>;
@@ -8760,27 +8760,27 @@ export namespace HomeyAPIV3Cloud {
8760
8760
  getLiveReport(opts: { zone?: string }): Promise<any>;
8761
8761
 
8762
8762
  getReportDay(opts: {
8763
- date?: string;
8763
+ date: string;
8764
8764
 
8765
- cache?: boolean;
8765
+ cache?: string;
8766
8766
  }): Promise<any>;
8767
8767
 
8768
8768
  getReportWeek(opts: {
8769
- isoWeek?: string;
8769
+ isoWeek: string;
8770
8770
 
8771
- cache?: boolean;
8771
+ cache?: string;
8772
8772
  }): Promise<any>;
8773
8773
 
8774
8774
  getReportMonth(opts: {
8775
- yearMonth?: string;
8775
+ yearMonth: string;
8776
8776
 
8777
- cache?: boolean;
8777
+ cache?: string;
8778
8778
  }): Promise<any>;
8779
8779
 
8780
8780
  getReportYear(opts: {
8781
- year?: string;
8781
+ year: string;
8782
8782
 
8783
- cache?: boolean;
8783
+ cache?: string;
8784
8784
  }): Promise<any>;
8785
8785
 
8786
8786
  getReportsAvailable(): Promise<any>;
@@ -10520,27 +10520,27 @@ export namespace HomeyAPIV3Local {
10520
10520
  getLiveReport(opts: { zone?: string }): Promise<any>;
10521
10521
 
10522
10522
  getReportDay(opts: {
10523
- date?: string;
10523
+ date: string;
10524
10524
 
10525
- cache?: boolean;
10525
+ cache?: string;
10526
10526
  }): Promise<any>;
10527
10527
 
10528
10528
  getReportWeek(opts: {
10529
- isoWeek?: string;
10529
+ isoWeek: string;
10530
10530
 
10531
- cache?: boolean;
10531
+ cache?: string;
10532
10532
  }): Promise<any>;
10533
10533
 
10534
10534
  getReportMonth(opts: {
10535
- yearMonth?: string;
10535
+ yearMonth: string;
10536
10536
 
10537
- cache?: boolean;
10537
+ cache?: string;
10538
10538
  }): Promise<any>;
10539
10539
 
10540
10540
  getReportYear(opts: {
10541
- year?: string;
10541
+ year: string;
10542
10542
 
10543
- cache?: boolean;
10543
+ cache?: string;
10544
10544
  }): Promise<any>;
10545
10545
 
10546
10546
  getReportsAvailable(): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [