homey-api 3.9.0 → 3.10.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.
@@ -599,6 +599,32 @@
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
+ "data": {
612
+ "in": "body",
613
+ "type": "object",
614
+ "unpack": true,
615
+ "properties": {
616
+ "language": {
617
+ "type": "string"
618
+ }
619
+ }
620
+ }
621
+ }
622
+ },
623
+ "unsubscribeAuthenticatedUserFromNewsletter": {
624
+ "path": "/user/me/newsletter",
625
+ "method": "delete",
626
+ "parameters": {}
627
+ },
602
628
  "getBridges": {
603
629
  "path": "/bridge/",
604
630
  "method": "get",
@@ -1577,6 +1577,16 @@ export class AthomCloudAPI {
1577
1577
 
1578
1578
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1579
1579
 
1580
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1581
+
1582
+ subscribeAuthenticatedUserToNewsletter(opts: {
1583
+ data?: {
1584
+ language: string;
1585
+ };
1586
+ }): Promise<any>;
1587
+
1588
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1589
+
1580
1590
  isLoggedIn(): Promise<boolean>;
1581
1591
 
1582
1592
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1599,6 +1609,16 @@ export class AthomCloudAPI {
1599
1609
 
1600
1610
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1601
1611
 
1612
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1613
+
1614
+ subscribeAuthenticatedUserToNewsletter(opts: {
1615
+ data?: {
1616
+ language: string;
1617
+ };
1618
+ }): Promise<any>;
1619
+
1620
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1621
+
1602
1622
  isLoggedIn(): Promise<boolean>;
1603
1623
 
1604
1624
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1741,6 +1761,16 @@ export class AthomCloudAPI {
1741
1761
 
1742
1762
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1743
1763
 
1764
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1765
+
1766
+ subscribeAuthenticatedUserToNewsletter(opts: {
1767
+ data?: {
1768
+ language: string;
1769
+ };
1770
+ }): Promise<any>;
1771
+
1772
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1773
+
1744
1774
  isLoggedIn(): Promise<boolean>;
1745
1775
 
1746
1776
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1763,6 +1793,16 @@ export class AthomCloudAPI {
1763
1793
 
1764
1794
  getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
1765
1795
 
1796
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
1797
+
1798
+ subscribeAuthenticatedUserToNewsletter(opts: {
1799
+ data?: {
1800
+ language: string;
1801
+ };
1802
+ }): Promise<any>;
1803
+
1804
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
1805
+
1766
1806
  isLoggedIn(): Promise<boolean>;
1767
1807
 
1768
1808
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -2754,6 +2754,16 @@ export class AthomCloudAPI {
2754
2754
  inviterId: string;
2755
2755
  }): Promise<any>;
2756
2756
 
2757
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
2758
+
2759
+ subscribeAuthenticatedUserToNewsletter(opts: {
2760
+ data?: {
2761
+ language: string;
2762
+ };
2763
+ }): Promise<any>;
2764
+
2765
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
2766
+
2757
2767
  getBridges(opts: {
2758
2768
  serial?: string;
2759
2769
 
@@ -3330,6 +3340,16 @@ export class AthomCloudAPI {
3330
3340
  inviterId: string;
3331
3341
  }): Promise<any>;
3332
3342
 
3343
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
3344
+
3345
+ subscribeAuthenticatedUserToNewsletter(opts: {
3346
+ data?: {
3347
+ language: string;
3348
+ };
3349
+ }): Promise<any>;
3350
+
3351
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
3352
+
3333
3353
  getBridges(opts: {
3334
3354
  serial?: string;
3335
3355
 
@@ -6106,6 +6126,16 @@ export class AthomCloudAPI {
6106
6126
  inviterId: string;
6107
6127
  }): Promise<any>;
6108
6128
 
6129
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
6130
+
6131
+ subscribeAuthenticatedUserToNewsletter(opts: {
6132
+ data?: {
6133
+ language: string;
6134
+ };
6135
+ }): Promise<any>;
6136
+
6137
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
6138
+
6109
6139
  getBridges(opts: {
6110
6140
  serial?: string;
6111
6141
 
@@ -6682,6 +6712,16 @@ export class AthomCloudAPI {
6682
6712
  inviterId: string;
6683
6713
  }): Promise<any>;
6684
6714
 
6715
+ getAuthenticatedUserNewsletterStatus(): Promise<any>;
6716
+
6717
+ subscribeAuthenticatedUserToNewsletter(opts: {
6718
+ data?: {
6719
+ language: string;
6720
+ };
6721
+ }): Promise<any>;
6722
+
6723
+ unsubscribeAuthenticatedUserFromNewsletter(): Promise<any>;
6724
+
6685
6725
  getBridges(opts: {
6686
6726
  serial?: string;
6687
6727
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [