homey-api 3.0.9 → 3.0.10

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.
package/README.md CHANGED
@@ -14,7 +14,7 @@ This documentation is primarily intended by `homey-api` users in a JavaScript en
14
14
 
15
15
  ## Getting Started
16
16
 
17
- Most likely you'll want to access a Homey from a server or front-end. Follow the installation instructions below, then head over to [AthomCloudAPI](http://athombv.github.io/node-homey-api/AthomCloudAPI.html) to get started.
17
+ Most likely you'll want to access a Homey from a server or front-end. Follow the installation instructions below, then head over to [AthomCloudAPI](https://athombv.github.io/node-homey-api/AthomCloudAPI.html) to get started.
18
18
 
19
19
  ### Node.js
20
20
 
@@ -42,7 +42,7 @@ You can then access the APIs using `window.AthomCloudAPI` etc.
42
42
 
43
43
  ### In-app
44
44
 
45
- To use Homey API inside of an Homey Pro app with the `homey:manager:api` permission, see [HomeyAPI.createAppAPI](./HomeyAPI.html#.createAppAPI).
45
+ To use Homey API inside of an Homey Pro app with the `homey:manager:api` permission, see [HomeyAPI.createAppAPI](https://athombv.github.io/node-homey-api/HomeyAPI.html#.createAppAPI).
46
46
 
47
47
  ## Issues
48
48
 
@@ -554,6 +554,28 @@
554
554
  }
555
555
  }
556
556
  },
557
+ "getThanks": {
558
+ "path": "/app/{appId}/thanks",
559
+ "method": "get",
560
+ "parameters": {
561
+ "appId": {
562
+ "in": "path",
563
+ "type": "string",
564
+ "required": true
565
+ }
566
+ }
567
+ },
568
+ "sayThanks": {
569
+ "path": "/app/{appId}/thanks",
570
+ "method": "put",
571
+ "parameters": {
572
+ "appId": {
573
+ "in": "path",
574
+ "type": "string",
575
+ "required": true
576
+ }
577
+ }
578
+ },
557
579
  "getReviewsStats": {
558
580
  "path": "/app/{appId}/review/stats",
559
581
  "method": "get",
@@ -1066,6 +1066,10 @@
1066
1066
  "type": "string",
1067
1067
  "in": "body"
1068
1068
  },
1069
+ "logo": {
1070
+ "type": "object",
1071
+ "in": "body"
1072
+ },
1069
1073
  "header": {
1070
1074
  "type": "object",
1071
1075
  "in": "body"
@@ -1719,6 +1719,10 @@ export class AthomAppsAPI {
1719
1719
 
1720
1720
  deleteReview(opts: { appId: string }): Promise<any>;
1721
1721
 
1722
+ getThanks(opts: { appId: string }): Promise<any>;
1723
+
1724
+ sayThanks(opts: { appId: string }): Promise<any>;
1725
+
1722
1726
  getReviewsStats(opts: { appId: string }): Promise<any>;
1723
1727
 
1724
1728
  deleteAllReviews(opts: { appId: string }): Promise<any>;
@@ -1973,6 +1977,10 @@ export class AthomAppsAPI {
1973
1977
 
1974
1978
  deleteReview(opts: { appId: string }): Promise<any>;
1975
1979
 
1980
+ getThanks(opts: { appId: string }): Promise<any>;
1981
+
1982
+ sayThanks(opts: { appId: string }): Promise<any>;
1983
+
1976
1984
  getReviewsStats(opts: { appId: string }): Promise<any>;
1977
1985
 
1978
1986
  deleteAllReviews(opts: { appId: string }): Promise<any>;
@@ -2630,6 +2638,8 @@ export class AthomCloudAPI {
2630
2638
 
2631
2639
  replyTo?: string;
2632
2640
 
2641
+ logo?: object;
2642
+
2633
2643
  header?: object;
2634
2644
 
2635
2645
  button?: object;
@@ -3152,6 +3162,8 @@ export class AthomCloudAPI {
3152
3162
 
3153
3163
  replyTo?: string;
3154
3164
 
3165
+ logo?: object;
3166
+
3155
3167
  header?: object;
3156
3168
 
3157
3169
  button?: object;
@@ -4727,6 +4739,10 @@ export class AthomAppsAPI {
4727
4739
 
4728
4740
  deleteReview(opts: { appId: string }): Promise<any>;
4729
4741
 
4742
+ getThanks(opts: { appId: string }): Promise<any>;
4743
+
4744
+ sayThanks(opts: { appId: string }): Promise<any>;
4745
+
4730
4746
  getReviewsStats(opts: { appId: string }): Promise<any>;
4731
4747
 
4732
4748
  deleteAllReviews(opts: { appId: string }): Promise<any>;
@@ -4981,6 +4997,10 @@ export class AthomAppsAPI {
4981
4997
 
4982
4998
  deleteReview(opts: { appId: string }): Promise<any>;
4983
4999
 
5000
+ getThanks(opts: { appId: string }): Promise<any>;
5001
+
5002
+ sayThanks(opts: { appId: string }): Promise<any>;
5003
+
4984
5004
  getReviewsStats(opts: { appId: string }): Promise<any>;
4985
5005
 
4986
5006
  deleteAllReviews(opts: { appId: string }): Promise<any>;
@@ -5638,6 +5658,8 @@ export class AthomCloudAPI {
5638
5658
 
5639
5659
  replyTo?: string;
5640
5660
 
5661
+ logo?: object;
5662
+
5641
5663
  header?: object;
5642
5664
 
5643
5665
  button?: object;
@@ -6160,6 +6182,8 @@ export class AthomCloudAPI {
6160
6182
 
6161
6183
  replyTo?: string;
6162
6184
 
6185
+ logo?: object;
6186
+
6163
6187
  header?: object;
6164
6188
 
6165
6189
  button?: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [