homey-api 3.10.0 → 3.11.0
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.
|
@@ -608,15 +608,9 @@
|
|
|
608
608
|
"path": "/user/me/newsletter",
|
|
609
609
|
"method": "post",
|
|
610
610
|
"parameters": {
|
|
611
|
-
"
|
|
612
|
-
"
|
|
613
|
-
"
|
|
614
|
-
"unpack": true,
|
|
615
|
-
"properties": {
|
|
616
|
-
"language": {
|
|
617
|
-
"type": "string"
|
|
618
|
-
}
|
|
619
|
-
}
|
|
611
|
+
"language": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"in": "body"
|
|
620
614
|
}
|
|
621
615
|
}
|
|
622
616
|
},
|
|
@@ -1486,6 +1486,10 @@
|
|
|
1486
1486
|
"date": {
|
|
1487
1487
|
"in": "query",
|
|
1488
1488
|
"type": "string"
|
|
1489
|
+
},
|
|
1490
|
+
"cache": {
|
|
1491
|
+
"in": "query",
|
|
1492
|
+
"type": "boolean"
|
|
1489
1493
|
}
|
|
1490
1494
|
}
|
|
1491
1495
|
},
|
|
@@ -1500,6 +1504,10 @@
|
|
|
1500
1504
|
"isoWeek": {
|
|
1501
1505
|
"in": "query",
|
|
1502
1506
|
"type": "string"
|
|
1507
|
+
},
|
|
1508
|
+
"cache": {
|
|
1509
|
+
"in": "query",
|
|
1510
|
+
"type": "boolean"
|
|
1503
1511
|
}
|
|
1504
1512
|
}
|
|
1505
1513
|
},
|
|
@@ -1514,6 +1522,10 @@
|
|
|
1514
1522
|
"yearMonth": {
|
|
1515
1523
|
"in": "query",
|
|
1516
1524
|
"type": "string"
|
|
1525
|
+
},
|
|
1526
|
+
"cache": {
|
|
1527
|
+
"in": "query",
|
|
1528
|
+
"type": "boolean"
|
|
1517
1529
|
}
|
|
1518
1530
|
}
|
|
1519
1531
|
},
|
|
@@ -1528,6 +1540,10 @@
|
|
|
1528
1540
|
"year": {
|
|
1529
1541
|
"in": "query",
|
|
1530
1542
|
"type": "string"
|
|
1543
|
+
},
|
|
1544
|
+
"cache": {
|
|
1545
|
+
"in": "query",
|
|
1546
|
+
"type": "boolean"
|
|
1531
1547
|
}
|
|
1532
1548
|
}
|
|
1533
1549
|
},
|
|
@@ -1907,6 +1907,10 @@
|
|
|
1907
1907
|
"date": {
|
|
1908
1908
|
"in": "query",
|
|
1909
1909
|
"type": "string"
|
|
1910
|
+
},
|
|
1911
|
+
"cache": {
|
|
1912
|
+
"in": "query",
|
|
1913
|
+
"type": "boolean"
|
|
1910
1914
|
}
|
|
1911
1915
|
}
|
|
1912
1916
|
},
|
|
@@ -1921,6 +1925,10 @@
|
|
|
1921
1925
|
"isoWeek": {
|
|
1922
1926
|
"in": "query",
|
|
1923
1927
|
"type": "string"
|
|
1928
|
+
},
|
|
1929
|
+
"cache": {
|
|
1930
|
+
"in": "query",
|
|
1931
|
+
"type": "boolean"
|
|
1924
1932
|
}
|
|
1925
1933
|
}
|
|
1926
1934
|
},
|
|
@@ -1935,6 +1943,10 @@
|
|
|
1935
1943
|
"yearMonth": {
|
|
1936
1944
|
"in": "query",
|
|
1937
1945
|
"type": "string"
|
|
1946
|
+
},
|
|
1947
|
+
"cache": {
|
|
1948
|
+
"in": "query",
|
|
1949
|
+
"type": "boolean"
|
|
1938
1950
|
}
|
|
1939
1951
|
}
|
|
1940
1952
|
},
|
|
@@ -1949,6 +1961,10 @@
|
|
|
1949
1961
|
"year": {
|
|
1950
1962
|
"in": "query",
|
|
1951
1963
|
"type": "string"
|
|
1964
|
+
},
|
|
1965
|
+
"cache": {
|
|
1966
|
+
"in": "query",
|
|
1967
|
+
"type": "boolean"
|
|
1952
1968
|
}
|
|
1953
1969
|
}
|
|
1954
1970
|
},
|
|
@@ -1580,9 +1580,7 @@ export class AthomCloudAPI {
|
|
|
1580
1580
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
1581
1581
|
|
|
1582
1582
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
1583
|
-
|
|
1584
|
-
language: string;
|
|
1585
|
-
};
|
|
1583
|
+
language?: string;
|
|
1586
1584
|
}): Promise<any>;
|
|
1587
1585
|
|
|
1588
1586
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -1612,9 +1610,7 @@ export class AthomCloudAPI {
|
|
|
1612
1610
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
1613
1611
|
|
|
1614
1612
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
1615
|
-
|
|
1616
|
-
language: string;
|
|
1617
|
-
};
|
|
1613
|
+
language?: string;
|
|
1618
1614
|
}): Promise<any>;
|
|
1619
1615
|
|
|
1620
1616
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -1764,9 +1760,7 @@ export class AthomCloudAPI {
|
|
|
1764
1760
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
1765
1761
|
|
|
1766
1762
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
1767
|
-
|
|
1768
|
-
language: string;
|
|
1769
|
-
};
|
|
1763
|
+
language?: string;
|
|
1770
1764
|
}): Promise<any>;
|
|
1771
1765
|
|
|
1772
1766
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -1796,9 +1790,7 @@ export class AthomCloudAPI {
|
|
|
1796
1790
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
1797
1791
|
|
|
1798
1792
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
1799
|
-
|
|
1800
|
-
language: string;
|
|
1801
|
-
};
|
|
1793
|
+
language?: string;
|
|
1802
1794
|
}): Promise<any>;
|
|
1803
1795
|
|
|
1804
1796
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -2208,13 +2200,29 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2208
2200
|
|
|
2209
2201
|
getLiveReport(opts: { zone?: string }): Promise<any>;
|
|
2210
2202
|
|
|
2211
|
-
getReportDay(opts: {
|
|
2203
|
+
getReportDay(opts: {
|
|
2204
|
+
date?: string;
|
|
2212
2205
|
|
|
2213
|
-
|
|
2206
|
+
cache?: boolean;
|
|
2207
|
+
}): Promise<any>;
|
|
2208
|
+
|
|
2209
|
+
getReportWeek(opts: {
|
|
2210
|
+
isoWeek?: string;
|
|
2211
|
+
|
|
2212
|
+
cache?: boolean;
|
|
2213
|
+
}): Promise<any>;
|
|
2214
2214
|
|
|
2215
|
-
getReportMonth(opts: {
|
|
2215
|
+
getReportMonth(opts: {
|
|
2216
|
+
yearMonth?: string;
|
|
2216
2217
|
|
|
2217
|
-
|
|
2218
|
+
cache?: boolean;
|
|
2219
|
+
}): Promise<any>;
|
|
2220
|
+
|
|
2221
|
+
getReportYear(opts: {
|
|
2222
|
+
year?: string;
|
|
2223
|
+
|
|
2224
|
+
cache?: boolean;
|
|
2225
|
+
}): Promise<any>;
|
|
2218
2226
|
|
|
2219
2227
|
getReportsAvailable(): Promise<any>;
|
|
2220
2228
|
|
|
@@ -3744,13 +3752,29 @@ export namespace HomeyAPIV3Local {
|
|
|
3744
3752
|
|
|
3745
3753
|
getLiveReport(opts: { zone?: string }): Promise<any>;
|
|
3746
3754
|
|
|
3747
|
-
getReportDay(opts: {
|
|
3755
|
+
getReportDay(opts: {
|
|
3756
|
+
date?: string;
|
|
3748
3757
|
|
|
3749
|
-
|
|
3758
|
+
cache?: boolean;
|
|
3759
|
+
}): Promise<any>;
|
|
3760
|
+
|
|
3761
|
+
getReportWeek(opts: {
|
|
3762
|
+
isoWeek?: string;
|
|
3763
|
+
|
|
3764
|
+
cache?: boolean;
|
|
3765
|
+
}): Promise<any>;
|
|
3750
3766
|
|
|
3751
|
-
getReportMonth(opts: {
|
|
3767
|
+
getReportMonth(opts: {
|
|
3768
|
+
yearMonth?: string;
|
|
3752
3769
|
|
|
3753
|
-
|
|
3770
|
+
cache?: boolean;
|
|
3771
|
+
}): Promise<any>;
|
|
3772
|
+
|
|
3773
|
+
getReportYear(opts: {
|
|
3774
|
+
year?: string;
|
|
3775
|
+
|
|
3776
|
+
cache?: boolean;
|
|
3777
|
+
}): Promise<any>;
|
|
3754
3778
|
|
|
3755
3779
|
getReportsAvailable(): Promise<any>;
|
|
3756
3780
|
|
|
@@ -2757,9 +2757,7 @@ export class AthomCloudAPI {
|
|
|
2757
2757
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
2758
2758
|
|
|
2759
2759
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
2760
|
-
|
|
2761
|
-
language: string;
|
|
2762
|
-
};
|
|
2760
|
+
language?: string;
|
|
2763
2761
|
}): Promise<any>;
|
|
2764
2762
|
|
|
2765
2763
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -3343,9 +3341,7 @@ export class AthomCloudAPI {
|
|
|
3343
3341
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
3344
3342
|
|
|
3345
3343
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
3346
|
-
|
|
3347
|
-
language: string;
|
|
3348
|
-
};
|
|
3344
|
+
language?: string;
|
|
3349
3345
|
}): Promise<any>;
|
|
3350
3346
|
|
|
3351
3347
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -6129,9 +6125,7 @@ export class AthomCloudAPI {
|
|
|
6129
6125
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
6130
6126
|
|
|
6131
6127
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
6132
|
-
|
|
6133
|
-
language: string;
|
|
6134
|
-
};
|
|
6128
|
+
language?: string;
|
|
6135
6129
|
}): Promise<any>;
|
|
6136
6130
|
|
|
6137
6131
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -6715,9 +6709,7 @@ export class AthomCloudAPI {
|
|
|
6715
6709
|
getAuthenticatedUserNewsletterStatus(): Promise<any>;
|
|
6716
6710
|
|
|
6717
6711
|
subscribeAuthenticatedUserToNewsletter(opts: {
|
|
6718
|
-
|
|
6719
|
-
language: string;
|
|
6720
|
-
};
|
|
6712
|
+
language?: string;
|
|
6721
6713
|
}): Promise<any>;
|
|
6722
6714
|
|
|
6723
6715
|
unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
|
|
@@ -8767,13 +8759,29 @@ export namespace HomeyAPIV3Cloud {
|
|
|
8767
8759
|
|
|
8768
8760
|
getLiveReport(opts: { zone?: string }): Promise<any>;
|
|
8769
8761
|
|
|
8770
|
-
getReportDay(opts: {
|
|
8762
|
+
getReportDay(opts: {
|
|
8763
|
+
date?: string;
|
|
8771
8764
|
|
|
8772
|
-
|
|
8765
|
+
cache?: boolean;
|
|
8766
|
+
}): Promise<any>;
|
|
8767
|
+
|
|
8768
|
+
getReportWeek(opts: {
|
|
8769
|
+
isoWeek?: string;
|
|
8770
|
+
|
|
8771
|
+
cache?: boolean;
|
|
8772
|
+
}): Promise<any>;
|
|
8773
8773
|
|
|
8774
|
-
getReportMonth(opts: {
|
|
8774
|
+
getReportMonth(opts: {
|
|
8775
|
+
yearMonth?: string;
|
|
8775
8776
|
|
|
8776
|
-
|
|
8777
|
+
cache?: boolean;
|
|
8778
|
+
}): Promise<any>;
|
|
8779
|
+
|
|
8780
|
+
getReportYear(opts: {
|
|
8781
|
+
year?: string;
|
|
8782
|
+
|
|
8783
|
+
cache?: boolean;
|
|
8784
|
+
}): Promise<any>;
|
|
8777
8785
|
|
|
8778
8786
|
getReportsAvailable(): Promise<any>;
|
|
8779
8787
|
|
|
@@ -10511,13 +10519,29 @@ export namespace HomeyAPIV3Local {
|
|
|
10511
10519
|
|
|
10512
10520
|
getLiveReport(opts: { zone?: string }): Promise<any>;
|
|
10513
10521
|
|
|
10514
|
-
getReportDay(opts: {
|
|
10522
|
+
getReportDay(opts: {
|
|
10523
|
+
date?: string;
|
|
10515
10524
|
|
|
10516
|
-
|
|
10525
|
+
cache?: boolean;
|
|
10526
|
+
}): Promise<any>;
|
|
10527
|
+
|
|
10528
|
+
getReportWeek(opts: {
|
|
10529
|
+
isoWeek?: string;
|
|
10530
|
+
|
|
10531
|
+
cache?: boolean;
|
|
10532
|
+
}): Promise<any>;
|
|
10517
10533
|
|
|
10518
|
-
getReportMonth(opts: {
|
|
10534
|
+
getReportMonth(opts: {
|
|
10535
|
+
yearMonth?: string;
|
|
10519
10536
|
|
|
10520
|
-
|
|
10537
|
+
cache?: boolean;
|
|
10538
|
+
}): Promise<any>;
|
|
10539
|
+
|
|
10540
|
+
getReportYear(opts: {
|
|
10541
|
+
year?: string;
|
|
10542
|
+
|
|
10543
|
+
cache?: boolean;
|
|
10544
|
+
}): Promise<any>;
|
|
10521
10545
|
|
|
10522
10546
|
getReportsAvailable(): Promise<any>;
|
|
10523
10547
|
|