homey-api 3.6.2 → 3.6.4

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.
@@ -230,6 +230,10 @@
230
230
  "in": "query",
231
231
  "type": "array"
232
232
  },
233
+ "features": {
234
+ "in": "query",
235
+ "type": "array"
236
+ },
233
237
  "limit": {
234
238
  "in": "query",
235
239
  "type": "number"
@@ -363,6 +363,11 @@
363
363
  }
364
364
  }
365
365
  },
366
+ "restoreSubscriptions": {
367
+ "path": "/subscription/restore",
368
+ "method": "get",
369
+ "parameters": {}
370
+ },
366
371
  "getExpiredSubscriptions": {
367
372
  "path": "/subscription/expired",
368
373
  "method": "post",
@@ -4525,9 +4525,109 @@
4525
4525
  "delete": "dashboard.delete"
4526
4526
  }
4527
4527
  }
4528
+ },
4529
+ "AppWidget": {
4530
+ "id": "appwidget",
4531
+ "type": "id",
4532
+ "schema": {
4533
+ "type": "object",
4534
+ "properties": {
4535
+ "id": {
4536
+ "type": "string"
4537
+ },
4538
+ "ownerId": {
4539
+ "type": "string"
4540
+ },
4541
+ "ownerUri": {
4542
+ "type": "string"
4543
+ },
4544
+ "ownerName": {
4545
+ "type": "string"
4546
+ },
4547
+ "name": {
4548
+ "type": "string"
4549
+ },
4550
+ "settings": {
4551
+ "type": "object"
4552
+ },
4553
+ "height": {
4554
+ "type": [
4555
+ "number",
4556
+ "string"
4557
+ ]
4558
+ }
4559
+ },
4560
+ "x-realtime-bindings": {
4561
+ "read": "getAppWidget",
4562
+ "create": "appwidget.create",
4563
+ "update": "appwidget.update",
4564
+ "delete": "appwidget.delete"
4565
+ }
4566
+ }
4528
4567
  }
4529
4568
  },
4530
4569
  "operations": {
4570
+ "getAppWidgetAutocomplete": {
4571
+ "method": "GET",
4572
+ "path": "/appwidget/:id/autocomplete",
4573
+ "private": false,
4574
+ "scopes": [
4575
+ "homey.dashboard.readonly"
4576
+ ],
4577
+ "parameters": {
4578
+ "id": {
4579
+ "in": "path",
4580
+ "required": true,
4581
+ "type": "string"
4582
+ },
4583
+ "settings": {
4584
+ "in": "query",
4585
+ "type": "string"
4586
+ },
4587
+ "query": {
4588
+ "in": "query",
4589
+ "type": "string",
4590
+ "required": true
4591
+ },
4592
+ "settingId": {
4593
+ "in": "query",
4594
+ "type": "string",
4595
+ "required": true
4596
+ }
4597
+ }
4598
+ },
4599
+ "getAppWidget": {
4600
+ "method": "GET",
4601
+ "path": "/appwidget/:id",
4602
+ "private": false,
4603
+ "scopes": [
4604
+ "homey.dashboard.readonly"
4605
+ ],
4606
+ "crud": {
4607
+ "type": "getOne",
4608
+ "item": "AppWidget"
4609
+ },
4610
+ "parameters": {
4611
+ "id": {
4612
+ "in": "path",
4613
+ "required": true,
4614
+ "type": "string"
4615
+ }
4616
+ }
4617
+ },
4618
+ "getAppWidgets": {
4619
+ "method": "GET",
4620
+ "path": "/appwidget",
4621
+ "private": false,
4622
+ "scopes": [
4623
+ "homey.dashboard.readonly"
4624
+ ],
4625
+ "crud": {
4626
+ "type": "getAll",
4627
+ "item": "AppWidget"
4628
+ },
4629
+ "parameters": {}
4630
+ },
4531
4631
  "deleteDashboard": {
4532
4632
  "method": "DELETE",
4533
4633
  "path": "/dashboard/:id",
@@ -131,6 +131,22 @@ export namespace HomeyAPIV2.ManagerApps {
131
131
  }
132
132
 
133
133
  export namespace HomeyAPIV2.ManagerDashboards {
134
+ export class AppWidget extends HomeyAPIV3Local.ManagerDashboards.AppWidget {
135
+ id: string;
136
+
137
+ ownerId: string;
138
+
139
+ ownerUri: string;
140
+
141
+ ownerName: string;
142
+
143
+ name: string;
144
+
145
+ settings: object;
146
+
147
+ height: number | string;
148
+ }
149
+
134
150
  export class Dashboard extends HomeyAPIV3Local.ManagerDashboards.Dashboard {
135
151
  id: string;
136
152
 
@@ -1686,6 +1702,8 @@ export class AthomAppsAPI {
1686
1702
 
1687
1703
  category?: Array<any>;
1688
1704
 
1705
+ features?: Array<any>;
1706
+
1689
1707
  limit?: number;
1690
1708
 
1691
1709
  offset?: number;
@@ -1992,6 +2010,8 @@ export class AthomAppsAPI {
1992
2010
 
1993
2011
  category?: Array<any>;
1994
2012
 
2013
+ features?: Array<any>;
2014
+
1995
2015
  limit?: number;
1996
2016
 
1997
2017
  offset?: number;
@@ -4105,6 +4125,8 @@ export class AthomStoreAPI {
4105
4125
  duration?: string;
4106
4126
  }): Promise<any>;
4107
4127
 
4128
+ restoreSubscriptions(): Promise<any>;
4129
+
4108
4130
  getExpiredSubscriptions(opts: {
4109
4131
  users?: Array<any>;
4110
4132
 
@@ -4331,6 +4353,8 @@ export class AthomStoreAPI {
4331
4353
  duration?: string;
4332
4354
  }): Promise<any>;
4333
4355
 
4356
+ restoreSubscriptions(): Promise<any>;
4357
+
4334
4358
  getExpiredSubscriptions(opts: {
4335
4359
  users?: Array<any>;
4336
4360
 
@@ -4970,6 +4994,8 @@ export class AthomAppsAPI {
4970
4994
 
4971
4995
  category?: Array<any>;
4972
4996
 
4997
+ features?: Array<any>;
4998
+
4973
4999
  limit?: number;
4974
5000
 
4975
5001
  offset?: number;
@@ -5276,6 +5302,8 @@ export class AthomAppsAPI {
5276
5302
 
5277
5303
  category?: Array<any>;
5278
5304
 
5305
+ features?: Array<any>;
5306
+
5279
5307
  limit?: number;
5280
5308
 
5281
5309
  offset?: number;
@@ -7389,6 +7417,8 @@ export class AthomStoreAPI {
7389
7417
  duration?: string;
7390
7418
  }): Promise<any>;
7391
7419
 
7420
+ restoreSubscriptions(): Promise<any>;
7421
+
7392
7422
  getExpiredSubscriptions(opts: {
7393
7423
  users?: Array<any>;
7394
7424
 
@@ -7615,6 +7645,8 @@ export class AthomStoreAPI {
7615
7645
  duration?: string;
7616
7646
  }): Promise<any>;
7617
7647
 
7648
+ restoreSubscriptions(): Promise<any>;
7649
+
7618
7650
  getExpiredSubscriptions(opts: {
7619
7651
  users?: Array<any>;
7620
7652
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.6.2",
3
+ "version": "3.6.4",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [