homey-api 3.12.0 → 3.12.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.
@@ -630,6 +630,63 @@
630
630
  }
631
631
  }
632
632
  },
633
+ "getAuthenticatedUserClients": {
634
+ "path": "/user/me/client",
635
+ "method": "get",
636
+ "parameters": {}
637
+ },
638
+ "createAuthenticatedUserClient": {
639
+ "path": "/user/me/client",
640
+ "method": "post",
641
+ "parameters": {
642
+ "name": {
643
+ "type": "string",
644
+ "in": "body"
645
+ },
646
+ "redirectUri": {
647
+ "type": "array",
648
+ "in": "body"
649
+ },
650
+ "scopes": {
651
+ "type": "array",
652
+ "in": "body"
653
+ }
654
+ }
655
+ },
656
+ "updateAuthenticatedUserClient": {
657
+ "path": "/user/me/client/{id}",
658
+ "method": "put",
659
+ "parameters": {
660
+ "id": {
661
+ "in": "path",
662
+ "type": "string",
663
+ "required": true
664
+ },
665
+ "name": {
666
+ "type": "string",
667
+ "in": "body"
668
+ },
669
+ "redirectUri": {
670
+ "type": "array",
671
+ "in": "body"
672
+ },
673
+ "scopes": {
674
+ "type": "array",
675
+ "in": "body"
676
+ }
677
+ }
678
+ },
679
+ "deleteAuthenticatedUserClient": {
680
+ "path": "/user/me/client/{id}",
681
+ "method": "delete",
682
+ "parameters": {
683
+ "id": {
684
+ "in": "path",
685
+ "type": "string",
686
+ "required": true
687
+ }
688
+ }
689
+ },
633
690
  "getBridges": {
634
691
  "path": "/bridge/",
635
692
  "method": "get",
@@ -1587,6 +1587,28 @@ export class AthomCloudAPI {
1587
1587
 
1588
1588
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1589
1589
 
1590
+ getAuthenticatedUserClients(): Promise<any>;
1591
+
1592
+ createAuthenticatedUserClient(opts: {
1593
+ name?: string;
1594
+
1595
+ redirectUri?: Array<any>;
1596
+
1597
+ scopes?: Array<any>;
1598
+ }): Promise<any>;
1599
+
1600
+ updateAuthenticatedUserClient(opts: {
1601
+ id: string;
1602
+
1603
+ name?: string;
1604
+
1605
+ redirectUri?: Array<any>;
1606
+
1607
+ scopes?: Array<any>;
1608
+ }): Promise<any>;
1609
+
1610
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1611
+
1590
1612
  isLoggedIn(): Promise<boolean>;
1591
1613
 
1592
1614
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1619,6 +1641,28 @@ export class AthomCloudAPI {
1619
1641
 
1620
1642
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1621
1643
 
1644
+ getAuthenticatedUserClients(): Promise<any>;
1645
+
1646
+ createAuthenticatedUserClient(opts: {
1647
+ name?: string;
1648
+
1649
+ redirectUri?: Array<any>;
1650
+
1651
+ scopes?: Array<any>;
1652
+ }): Promise<any>;
1653
+
1654
+ updateAuthenticatedUserClient(opts: {
1655
+ id: string;
1656
+
1657
+ name?: string;
1658
+
1659
+ redirectUri?: Array<any>;
1660
+
1661
+ scopes?: Array<any>;
1662
+ }): Promise<any>;
1663
+
1664
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1665
+
1622
1666
  isLoggedIn(): Promise<boolean>;
1623
1667
 
1624
1668
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1771,6 +1815,28 @@ export class AthomCloudAPI {
1771
1815
 
1772
1816
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1773
1817
 
1818
+ getAuthenticatedUserClients(): Promise<any>;
1819
+
1820
+ createAuthenticatedUserClient(opts: {
1821
+ name?: string;
1822
+
1823
+ redirectUri?: Array<any>;
1824
+
1825
+ scopes?: Array<any>;
1826
+ }): Promise<any>;
1827
+
1828
+ updateAuthenticatedUserClient(opts: {
1829
+ id: string;
1830
+
1831
+ name?: string;
1832
+
1833
+ redirectUri?: Array<any>;
1834
+
1835
+ scopes?: Array<any>;
1836
+ }): Promise<any>;
1837
+
1838
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1839
+
1774
1840
  isLoggedIn(): Promise<boolean>;
1775
1841
 
1776
1842
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1803,6 +1869,28 @@ export class AthomCloudAPI {
1803
1869
 
1804
1870
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1805
1871
 
1872
+ getAuthenticatedUserClients(): Promise<any>;
1873
+
1874
+ createAuthenticatedUserClient(opts: {
1875
+ name?: string;
1876
+
1877
+ redirectUri?: Array<any>;
1878
+
1879
+ scopes?: Array<any>;
1880
+ }): Promise<any>;
1881
+
1882
+ updateAuthenticatedUserClient(opts: {
1883
+ id: string;
1884
+
1885
+ name?: string;
1886
+
1887
+ redirectUri?: Array<any>;
1888
+
1889
+ scopes?: Array<any>;
1890
+ }): Promise<any>;
1891
+
1892
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1893
+
1806
1894
  isLoggedIn(): Promise<boolean>;
1807
1895
 
1808
1896
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -2764,6 +2764,28 @@ export class AthomCloudAPI {
2764
2764
 
2765
2765
  getInstallerInformation(opts: { userId: string }): Promise<any>;
2766
2766
 
2767
+ getAuthenticatedUserClients(): Promise<any>;
2768
+
2769
+ createAuthenticatedUserClient(opts: {
2770
+ name?: string;
2771
+
2772
+ redirectUri?: Array<any>;
2773
+
2774
+ scopes?: Array<any>;
2775
+ }): Promise<any>;
2776
+
2777
+ updateAuthenticatedUserClient(opts: {
2778
+ id: string;
2779
+
2780
+ name?: string;
2781
+
2782
+ redirectUri?: Array<any>;
2783
+
2784
+ scopes?: Array<any>;
2785
+ }): Promise<any>;
2786
+
2787
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
2788
+
2767
2789
  getBridges(opts: {
2768
2790
  serial?: string;
2769
2791
 
@@ -3350,6 +3372,28 @@ export class AthomCloudAPI {
3350
3372
 
3351
3373
  getInstallerInformation(opts: { userId: string }): Promise<any>;
3352
3374
 
3375
+ getAuthenticatedUserClients(): Promise<any>;
3376
+
3377
+ createAuthenticatedUserClient(opts: {
3378
+ name?: string;
3379
+
3380
+ redirectUri?: Array<any>;
3381
+
3382
+ scopes?: Array<any>;
3383
+ }): Promise<any>;
3384
+
3385
+ updateAuthenticatedUserClient(opts: {
3386
+ id: string;
3387
+
3388
+ name?: string;
3389
+
3390
+ redirectUri?: Array<any>;
3391
+
3392
+ scopes?: Array<any>;
3393
+ }): Promise<any>;
3394
+
3395
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
3396
+
3353
3397
  getBridges(opts: {
3354
3398
  serial?: string;
3355
3399
 
@@ -6198,6 +6242,28 @@ export class AthomCloudAPI {
6198
6242
 
6199
6243
  getInstallerInformation(opts: { userId: string }): Promise<any>;
6200
6244
 
6245
+ getAuthenticatedUserClients(): Promise<any>;
6246
+
6247
+ createAuthenticatedUserClient(opts: {
6248
+ name?: string;
6249
+
6250
+ redirectUri?: Array<any>;
6251
+
6252
+ scopes?: Array<any>;
6253
+ }): Promise<any>;
6254
+
6255
+ updateAuthenticatedUserClient(opts: {
6256
+ id: string;
6257
+
6258
+ name?: string;
6259
+
6260
+ redirectUri?: Array<any>;
6261
+
6262
+ scopes?: Array<any>;
6263
+ }): Promise<any>;
6264
+
6265
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
6266
+
6201
6267
  getBridges(opts: {
6202
6268
  serial?: string;
6203
6269
 
@@ -6784,6 +6850,28 @@ export class AthomCloudAPI {
6784
6850
 
6785
6851
  getInstallerInformation(opts: { userId: string }): Promise<any>;
6786
6852
 
6853
+ getAuthenticatedUserClients(): Promise<any>;
6854
+
6855
+ createAuthenticatedUserClient(opts: {
6856
+ name?: string;
6857
+
6858
+ redirectUri?: Array<any>;
6859
+
6860
+ scopes?: Array<any>;
6861
+ }): Promise<any>;
6862
+
6863
+ updateAuthenticatedUserClient(opts: {
6864
+ id: string;
6865
+
6866
+ name?: string;
6867
+
6868
+ redirectUri?: Array<any>;
6869
+
6870
+ scopes?: Array<any>;
6871
+ }): Promise<any>;
6872
+
6873
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
6874
+
6787
6875
  getBridges(opts: {
6788
6876
  serial?: string;
6789
6877
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [