homey-api 3.6.2 → 3.6.3
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.
|
@@ -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
|
|