homey-api 3.9.0 → 3.10.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.
@@ -599,6 +599,26 @@
599
599
  }
600
600
  }
601
601
  },
602
+ "getAuthenticatedUserNewsletterStatus": {
603
+ "path": "/user/me/newsletter",
604
+ "method": "get",
605
+ "parameters": {}
606
+ },
607
+ "subscribeAuthenticatedUserToNewsletter": {
608
+ "path": "/user/me/newsletter",
609
+ "method": "post",
610
+ "parameters": {
611
+ "language": {
612
+ "type": "string",
613
+ "in": "body"
614
+ }
615
+ }
616
+ },
617
+ "unsubscribeAuthenticatedUserFromNewsletter": {
618
+ "path": "/user/me/newsletter",
619
+ "method": "delete",
620
+ "parameters": {}
621
+ },
602
622
  "getBridges": {
603
623
  "path": "/bridge/",
604
624
  "method": "get",
@@ -1577,6 +1577,14 @@ export class AthomCloudAPI {
1577
1577
 
1578
1578
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1579
1579
 
1580
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1581
+
1582
+ subscribeAuthenticatedUserToNewsletter(opts: {
1583
+ language?: string;
1584
+ }): Promise<any>;
1585
+
1586
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1587
+
1580
1588
  isLoggedIn(): Promise<boolean>;
1581
1589
 
1582
1590
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1599,6 +1607,14 @@ export class AthomCloudAPI {
1599
1607
 
1600
1608
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1601
1609
 
1610
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1611
+
1612
+ subscribeAuthenticatedUserToNewsletter(opts: {
1613
+ language?: string;
1614
+ }): Promise<any>;
1615
+
1616
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1617
+
1602
1618
  isLoggedIn(): Promise<boolean>;
1603
1619
 
1604
1620
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1741,6 +1757,14 @@ export class AthomCloudAPI {
1741
1757
 
1742
1758
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1743
1759
 
1760
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1761
+
1762
+ subscribeAuthenticatedUserToNewsletter(opts: {
1763
+ language?: string;
1764
+ }): Promise<any>;
1765
+
1766
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1767
+
1744
1768
  isLoggedIn(): Promise<boolean>;
1745
1769
 
1746
1770
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1763,6 +1787,14 @@ export class AthomCloudAPI {
1763
1787
 
1764
1788
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1765
1789
 
1790
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1791
+
1792
+ subscribeAuthenticatedUserToNewsletter(opts: {
1793
+ language?: string;
1794
+ }): Promise<any>;
1795
+
1796
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1797
+
1766
1798
  isLoggedIn(): Promise<boolean>;
1767
1799
 
1768
1800
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -2754,6 +2754,14 @@ export class AthomCloudAPI {
2754
2754
  inviterId: string;
2755
2755
  }): Promise<any>;
2756
2756
 
2757
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
2758
+
2759
+ subscribeAuthenticatedUserToNewsletter(opts: {
2760
+ language?: string;
2761
+ }): Promise<any>;
2762
+
2763
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
2764
+
2757
2765
  getBridges(opts: {
2758
2766
  serial?: string;
2759
2767
 
@@ -3330,6 +3338,14 @@ export class AthomCloudAPI {
3330
3338
  inviterId: string;
3331
3339
  }): Promise<any>;
3332
3340
 
3341
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
3342
+
3343
+ subscribeAuthenticatedUserToNewsletter(opts: {
3344
+ language?: string;
3345
+ }): Promise<any>;
3346
+
3347
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
3348
+
3333
3349
  getBridges(opts: {
3334
3350
  serial?: string;
3335
3351
 
@@ -6106,6 +6122,14 @@ export class AthomCloudAPI {
6106
6122
  inviterId: string;
6107
6123
  }): Promise<any>;
6108
6124
 
6125
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
6126
+
6127
+ subscribeAuthenticatedUserToNewsletter(opts: {
6128
+ language?: string;
6129
+ }): Promise<any>;
6130
+
6131
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
6132
+
6109
6133
  getBridges(opts: {
6110
6134
  serial?: string;
6111
6135
 
@@ -6682,6 +6706,14 @@ export class AthomCloudAPI {
6682
6706
  inviterId: string;
6683
6707
  }): Promise<any>;
6684
6708
 
6709
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
6710
+
6711
+ subscribeAuthenticatedUserToNewsletter(opts: {
6712
+ language?: string;
6713
+ }): Promise<any>;
6714
+
6715
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
6716
+
6685
6717
  getBridges(opts: {
6686
6718
  serial?: string;
6687
6719
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.9.0",
3
+ "version": "3.10.1",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [