homey-api 3.6.6 → 3.6.7

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.
@@ -330,6 +330,40 @@
330
330
  }
331
331
  }
332
332
  },
333
+ "getAppSettings": {
334
+ "path": "/app/{appId}/settings",
335
+ "method": "get",
336
+ "parameters": {
337
+ "appId": {
338
+ "in": "path",
339
+ "type": "string",
340
+ "required": true
341
+ }
342
+ }
343
+ },
344
+ "updateAppSettings": {
345
+ "path": "/app/{appId}/settings",
346
+ "method": "put",
347
+ "parameters": {
348
+ "appId": {
349
+ "in": "path",
350
+ "type": "string",
351
+ "required": true
352
+ },
353
+ "sendEmailCrash": {
354
+ "type": "boolean",
355
+ "in": "body"
356
+ },
357
+ "sendEmailSuggestion": {
358
+ "type": "boolean",
359
+ "in": "body"
360
+ },
361
+ "sendEmailThanks": {
362
+ "type": "boolean",
363
+ "in": "body"
364
+ }
365
+ }
366
+ },
333
367
  "getAppChangelog": {
334
368
  "path": "/app/{appId}/changelog",
335
369
  "method": "get",
@@ -820,6 +854,25 @@
820
854
  }
821
855
  }
822
856
  },
857
+ "getAppSuggestions": {
858
+ "path": "/app/{appId}/suggestion",
859
+ "method": "get",
860
+ "parameters": {
861
+ "appId": {
862
+ "in": "path",
863
+ "type": "string",
864
+ "required": true
865
+ },
866
+ "offset": {
867
+ "in": "query",
868
+ "type": "number"
869
+ },
870
+ "length": {
871
+ "in": "query",
872
+ "type": "number"
873
+ }
874
+ }
875
+ },
823
876
  "createAppSuggestion": {
824
877
  "path": "/app/{appId}/suggestion",
825
878
  "method": "post",
@@ -1735,6 +1735,18 @@ export class AthomAppsAPI {
1735
1735
 
1736
1736
  deleteApp(opts: { appId: string }): Promise<any>;
1737
1737
 
1738
+ getAppSettings(opts: { appId: string }): Promise<any>;
1739
+
1740
+ updateAppSettings(opts: {
1741
+ appId: string;
1742
+
1743
+ sendEmailCrash?: boolean;
1744
+
1745
+ sendEmailSuggestion?: boolean;
1746
+
1747
+ sendEmailThanks?: boolean;
1748
+ }): Promise<any>;
1749
+
1738
1750
  getAppChangelog(opts: { appId: string }): Promise<any>;
1739
1751
 
1740
1752
  updateAppAuthor(opts: {
@@ -1905,6 +1917,14 @@ export class AthomAppsAPI {
1905
1917
  mac?: Array<any>;
1906
1918
  }): Promise<any>;
1907
1919
 
1920
+ getAppSuggestions(opts: {
1921
+ appId: string;
1922
+
1923
+ offset?: number;
1924
+
1925
+ length?: number;
1926
+ }): Promise<any>;
1927
+
1908
1928
  createAppSuggestion(opts: {
1909
1929
  appId: string;
1910
1930
 
@@ -2049,6 +2069,18 @@ export class AthomAppsAPI {
2049
2069
 
2050
2070
  deleteApp(opts: { appId: string }): Promise<any>;
2051
2071
 
2072
+ getAppSettings(opts: { appId: string }): Promise<any>;
2073
+
2074
+ updateAppSettings(opts: {
2075
+ appId: string;
2076
+
2077
+ sendEmailCrash?: boolean;
2078
+
2079
+ sendEmailSuggestion?: boolean;
2080
+
2081
+ sendEmailThanks?: boolean;
2082
+ }): Promise<any>;
2083
+
2052
2084
  getAppChangelog(opts: { appId: string }): Promise<any>;
2053
2085
 
2054
2086
  updateAppAuthor(opts: {
@@ -2219,6 +2251,14 @@ export class AthomAppsAPI {
2219
2251
  mac?: Array<any>;
2220
2252
  }): Promise<any>;
2221
2253
 
2254
+ getAppSuggestions(opts: {
2255
+ appId: string;
2256
+
2257
+ offset?: number;
2258
+
2259
+ length?: number;
2260
+ }): Promise<any>;
2261
+
2222
2262
  createAppSuggestion(opts: {
2223
2263
  appId: string;
2224
2264
 
@@ -5047,6 +5087,18 @@ export class AthomAppsAPI {
5047
5087
 
5048
5088
  deleteApp(opts: { appId: string }): Promise<any>;
5049
5089
 
5090
+ getAppSettings(opts: { appId: string }): Promise<any>;
5091
+
5092
+ updateAppSettings(opts: {
5093
+ appId: string;
5094
+
5095
+ sendEmailCrash?: boolean;
5096
+
5097
+ sendEmailSuggestion?: boolean;
5098
+
5099
+ sendEmailThanks?: boolean;
5100
+ }): Promise<any>;
5101
+
5050
5102
  getAppChangelog(opts: { appId: string }): Promise<any>;
5051
5103
 
5052
5104
  updateAppAuthor(opts: {
@@ -5217,6 +5269,14 @@ export class AthomAppsAPI {
5217
5269
  mac?: Array<any>;
5218
5270
  }): Promise<any>;
5219
5271
 
5272
+ getAppSuggestions(opts: {
5273
+ appId: string;
5274
+
5275
+ offset?: number;
5276
+
5277
+ length?: number;
5278
+ }): Promise<any>;
5279
+
5220
5280
  createAppSuggestion(opts: {
5221
5281
  appId: string;
5222
5282
 
@@ -5361,6 +5421,18 @@ export class AthomAppsAPI {
5361
5421
 
5362
5422
  deleteApp(opts: { appId: string }): Promise<any>;
5363
5423
 
5424
+ getAppSettings(opts: { appId: string }): Promise<any>;
5425
+
5426
+ updateAppSettings(opts: {
5427
+ appId: string;
5428
+
5429
+ sendEmailCrash?: boolean;
5430
+
5431
+ sendEmailSuggestion?: boolean;
5432
+
5433
+ sendEmailThanks?: boolean;
5434
+ }): Promise<any>;
5435
+
5364
5436
  getAppChangelog(opts: { appId: string }): Promise<any>;
5365
5437
 
5366
5438
  updateAppAuthor(opts: {
@@ -5531,6 +5603,14 @@ export class AthomAppsAPI {
5531
5603
  mac?: Array<any>;
5532
5604
  }): Promise<any>;
5533
5605
 
5606
+ getAppSuggestions(opts: {
5607
+ appId: string;
5608
+
5609
+ offset?: number;
5610
+
5611
+ length?: number;
5612
+ }): Promise<any>;
5613
+
5534
5614
  createAppSuggestion(opts: {
5535
5615
  appId: string;
5536
5616
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.6.6",
3
+ "version": "3.6.7",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [