homey-api 3.12.3 → 3.13.0
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.
|
@@ -1303,6 +1303,112 @@
|
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
},
|
|
1306
|
+
"getPortals": {
|
|
1307
|
+
"path": "/portal/",
|
|
1308
|
+
"method": "get",
|
|
1309
|
+
"private": true,
|
|
1310
|
+
"parameters": {
|
|
1311
|
+
"serial": {
|
|
1312
|
+
"in": "query",
|
|
1313
|
+
"type": "string"
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
"createPortal": {
|
|
1318
|
+
"path": "/portal/",
|
|
1319
|
+
"method": "post",
|
|
1320
|
+
"private": true,
|
|
1321
|
+
"parameters": {
|
|
1322
|
+
"portal": {
|
|
1323
|
+
"in": "body",
|
|
1324
|
+
"type": "object",
|
|
1325
|
+
"unpack": true,
|
|
1326
|
+
"properties": {
|
|
1327
|
+
"serial": {
|
|
1328
|
+
"type": "string"
|
|
1329
|
+
},
|
|
1330
|
+
"build": {
|
|
1331
|
+
"type": "number"
|
|
1332
|
+
},
|
|
1333
|
+
"manufacturedAt": {
|
|
1334
|
+
"type": "string"
|
|
1335
|
+
},
|
|
1336
|
+
"activationHistory": {
|
|
1337
|
+
"type": "array"
|
|
1338
|
+
},
|
|
1339
|
+
"model": {
|
|
1340
|
+
"type": "string"
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"getPortal": {
|
|
1347
|
+
"path": "/portal/{serial}",
|
|
1348
|
+
"method": "get",
|
|
1349
|
+
"private": true,
|
|
1350
|
+
"parameters": {
|
|
1351
|
+
"serial": {
|
|
1352
|
+
"in": "path",
|
|
1353
|
+
"type": "string",
|
|
1354
|
+
"required": true
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"updatePortal": {
|
|
1359
|
+
"path": "/portal/{serial}",
|
|
1360
|
+
"method": "put",
|
|
1361
|
+
"private": true,
|
|
1362
|
+
"parameters": {
|
|
1363
|
+
"serial": {
|
|
1364
|
+
"in": "path",
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"required": true
|
|
1367
|
+
},
|
|
1368
|
+
"portal": {
|
|
1369
|
+
"in": "body",
|
|
1370
|
+
"type": "object",
|
|
1371
|
+
"unpack": true,
|
|
1372
|
+
"properties": {
|
|
1373
|
+
"serial": {
|
|
1374
|
+
"type": "string"
|
|
1375
|
+
},
|
|
1376
|
+
"build": {
|
|
1377
|
+
"type": "number"
|
|
1378
|
+
},
|
|
1379
|
+
"manufacturedAt": {
|
|
1380
|
+
"type": "string"
|
|
1381
|
+
},
|
|
1382
|
+
"activationHistory": {
|
|
1383
|
+
"type": "array"
|
|
1384
|
+
},
|
|
1385
|
+
"model": {
|
|
1386
|
+
"type": "string"
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
"activatePortal": {
|
|
1393
|
+
"path": "/portal/{serial}/activate",
|
|
1394
|
+
"method": "post",
|
|
1395
|
+
"private": true,
|
|
1396
|
+
"parameters": {
|
|
1397
|
+
"serial": {
|
|
1398
|
+
"in": "path",
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"required": true
|
|
1401
|
+
},
|
|
1402
|
+
"homeyId": {
|
|
1403
|
+
"type": "string",
|
|
1404
|
+
"in": "body"
|
|
1405
|
+
},
|
|
1406
|
+
"userId": {
|
|
1407
|
+
"type": "string",
|
|
1408
|
+
"in": "body"
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1306
1412
|
"getAppInstallsStatistics": {
|
|
1307
1413
|
"path": "/stats/app-installs",
|
|
1308
1414
|
"method": "get",
|
|
@@ -627,6 +627,103 @@
|
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
},
|
|
630
|
+
"ManagerCameras": {
|
|
631
|
+
"id": "cameras",
|
|
632
|
+
"idCamelCase": "cameras",
|
|
633
|
+
"private": true,
|
|
634
|
+
"items": {
|
|
635
|
+
"Camera": {
|
|
636
|
+
"id": "camera",
|
|
637
|
+
"schema": {
|
|
638
|
+
"type": "object",
|
|
639
|
+
"properties": {
|
|
640
|
+
"id": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"operations": {
|
|
648
|
+
"getState": {
|
|
649
|
+
"method": "get",
|
|
650
|
+
"path": "/state",
|
|
651
|
+
"private": false,
|
|
652
|
+
"scopes": [
|
|
653
|
+
"homey.system.readonly"
|
|
654
|
+
],
|
|
655
|
+
"parameters": {}
|
|
656
|
+
},
|
|
657
|
+
"getCameras": {
|
|
658
|
+
"method": "get",
|
|
659
|
+
"path": "/camera",
|
|
660
|
+
"private": false,
|
|
661
|
+
"scopes": [
|
|
662
|
+
"homey.device.readonly"
|
|
663
|
+
],
|
|
664
|
+
"crud": {
|
|
665
|
+
"type": "getAll",
|
|
666
|
+
"item": "Camera"
|
|
667
|
+
},
|
|
668
|
+
"parameters": {}
|
|
669
|
+
},
|
|
670
|
+
"offer": {
|
|
671
|
+
"method": "post",
|
|
672
|
+
"path": "/:id/offer",
|
|
673
|
+
"private": false,
|
|
674
|
+
"scopes": [
|
|
675
|
+
"homey.device.readonly"
|
|
676
|
+
],
|
|
677
|
+
"parameters": {
|
|
678
|
+
"id": {
|
|
679
|
+
"in": "path",
|
|
680
|
+
"type": "string",
|
|
681
|
+
"required": true
|
|
682
|
+
},
|
|
683
|
+
"offer": {
|
|
684
|
+
"in": "body",
|
|
685
|
+
"type": "string",
|
|
686
|
+
"required": true
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"keepAlive": {
|
|
691
|
+
"method": "post",
|
|
692
|
+
"path": "/:id/keep-alive",
|
|
693
|
+
"private": false,
|
|
694
|
+
"scopes": [
|
|
695
|
+
"homey.device.readonly"
|
|
696
|
+
],
|
|
697
|
+
"parameters": {
|
|
698
|
+
"id": {
|
|
699
|
+
"in": "path",
|
|
700
|
+
"type": "string",
|
|
701
|
+
"required": true
|
|
702
|
+
},
|
|
703
|
+
"streamId": {
|
|
704
|
+
"in": "body",
|
|
705
|
+
"type": "string",
|
|
706
|
+
"required": true
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
"videoUrl": {
|
|
711
|
+
"method": "get",
|
|
712
|
+
"path": "/:id/video-url",
|
|
713
|
+
"private": false,
|
|
714
|
+
"scopes": [
|
|
715
|
+
"homey.device.readonly"
|
|
716
|
+
],
|
|
717
|
+
"parameters": {
|
|
718
|
+
"id": {
|
|
719
|
+
"in": "path",
|
|
720
|
+
"type": "string",
|
|
721
|
+
"required": true
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
},
|
|
630
727
|
"ManagerClock": {
|
|
631
728
|
"id": "clock",
|
|
632
729
|
"idCamelCase": "clock",
|
|
@@ -6362,6 +6459,45 @@
|
|
|
6362
6459
|
}
|
|
6363
6460
|
}
|
|
6364
6461
|
},
|
|
6462
|
+
"getFirmwareVersion": {
|
|
6463
|
+
"method": "get",
|
|
6464
|
+
"path": "/firmware-version",
|
|
6465
|
+
"private": true,
|
|
6466
|
+
"scopes": [
|
|
6467
|
+
"homey.system"
|
|
6468
|
+
],
|
|
6469
|
+
"parameters": {}
|
|
6470
|
+
},
|
|
6471
|
+
"flashFirmware": {
|
|
6472
|
+
"method": "put",
|
|
6473
|
+
"path": "/flash-firmware",
|
|
6474
|
+
"private": true,
|
|
6475
|
+
"scopes": [
|
|
6476
|
+
"homey.system"
|
|
6477
|
+
],
|
|
6478
|
+
"parameters": {
|
|
6479
|
+
"erase": {
|
|
6480
|
+
"in": "body",
|
|
6481
|
+
"type": "string"
|
|
6482
|
+
},
|
|
6483
|
+
"downgrade": {
|
|
6484
|
+
"in": "body",
|
|
6485
|
+
"type": "string"
|
|
6486
|
+
},
|
|
6487
|
+
"version": {
|
|
6488
|
+
"in": "body",
|
|
6489
|
+
"type": "string"
|
|
6490
|
+
},
|
|
6491
|
+
"firmware": {
|
|
6492
|
+
"in": "body",
|
|
6493
|
+
"type": "string"
|
|
6494
|
+
},
|
|
6495
|
+
"shasum": {
|
|
6496
|
+
"in": "body",
|
|
6497
|
+
"type": "string"
|
|
6498
|
+
}
|
|
6499
|
+
}
|
|
6500
|
+
},
|
|
6365
6501
|
"getLog": {
|
|
6366
6502
|
"method": "get",
|
|
6367
6503
|
"path": "/log",
|
|
@@ -6385,6 +6521,30 @@
|
|
|
6385
6521
|
"required": true
|
|
6386
6522
|
}
|
|
6387
6523
|
}
|
|
6524
|
+
},
|
|
6525
|
+
"setLBTThreshold": {
|
|
6526
|
+
"method": "put",
|
|
6527
|
+
"path": "/lbt-threshold",
|
|
6528
|
+
"private": true,
|
|
6529
|
+
"scopes": [
|
|
6530
|
+
"homey.system"
|
|
6531
|
+
],
|
|
6532
|
+
"parameters": {
|
|
6533
|
+
"threshold": {
|
|
6534
|
+
"in": "body",
|
|
6535
|
+
"type": "number",
|
|
6536
|
+
"required": true
|
|
6537
|
+
}
|
|
6538
|
+
}
|
|
6539
|
+
},
|
|
6540
|
+
"attemptNvmFix": {
|
|
6541
|
+
"method": "put",
|
|
6542
|
+
"path": "/attempt-nvm-fix",
|
|
6543
|
+
"private": true,
|
|
6544
|
+
"scopes": [
|
|
6545
|
+
"homey.system"
|
|
6546
|
+
],
|
|
6547
|
+
"parameters": {}
|
|
6388
6548
|
}
|
|
6389
6549
|
}
|
|
6390
6550
|
}
|
|
@@ -1166,6 +1166,12 @@ export namespace HomeyAPIV3Local.ManagerApps {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
|
+
export namespace HomeyAPIV3Local.ManagerCameras {
|
|
1170
|
+
export class Camera {
|
|
1171
|
+
id: string;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1169
1175
|
export namespace HomeyAPIV3Local.ManagerCloud {
|
|
1170
1176
|
export class Webhook {
|
|
1171
1177
|
id: string;
|
|
@@ -3070,6 +3076,48 @@ export class AthomCloudAPI {
|
|
|
3070
3076
|
userId: string;
|
|
3071
3077
|
}): Promise<any>;
|
|
3072
3078
|
|
|
3079
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
3080
|
+
|
|
3081
|
+
createPortal(opts: {
|
|
3082
|
+
portal?: {
|
|
3083
|
+
serial: string;
|
|
3084
|
+
|
|
3085
|
+
build: number;
|
|
3086
|
+
|
|
3087
|
+
manufacturedAt: string;
|
|
3088
|
+
|
|
3089
|
+
activationHistory: Array<any>;
|
|
3090
|
+
|
|
3091
|
+
model: string;
|
|
3092
|
+
};
|
|
3093
|
+
}): Promise<any>;
|
|
3094
|
+
|
|
3095
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
3096
|
+
|
|
3097
|
+
updatePortal(opts: {
|
|
3098
|
+
serial: string;
|
|
3099
|
+
|
|
3100
|
+
portal?: {
|
|
3101
|
+
serial: string;
|
|
3102
|
+
|
|
3103
|
+
build: number;
|
|
3104
|
+
|
|
3105
|
+
manufacturedAt: string;
|
|
3106
|
+
|
|
3107
|
+
activationHistory: Array<any>;
|
|
3108
|
+
|
|
3109
|
+
model: string;
|
|
3110
|
+
};
|
|
3111
|
+
}): Promise<any>;
|
|
3112
|
+
|
|
3113
|
+
activatePortal(opts: {
|
|
3114
|
+
serial: string;
|
|
3115
|
+
|
|
3116
|
+
homeyId?: string;
|
|
3117
|
+
|
|
3118
|
+
userId?: string;
|
|
3119
|
+
}): Promise<any>;
|
|
3120
|
+
|
|
3073
3121
|
getAppInstallsStatistics(): Promise<any>;
|
|
3074
3122
|
|
|
3075
3123
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -3678,6 +3726,48 @@ export class AthomCloudAPI {
|
|
|
3678
3726
|
userId: string;
|
|
3679
3727
|
}): Promise<any>;
|
|
3680
3728
|
|
|
3729
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
3730
|
+
|
|
3731
|
+
createPortal(opts: {
|
|
3732
|
+
portal?: {
|
|
3733
|
+
serial: string;
|
|
3734
|
+
|
|
3735
|
+
build: number;
|
|
3736
|
+
|
|
3737
|
+
manufacturedAt: string;
|
|
3738
|
+
|
|
3739
|
+
activationHistory: Array<any>;
|
|
3740
|
+
|
|
3741
|
+
model: string;
|
|
3742
|
+
};
|
|
3743
|
+
}): Promise<any>;
|
|
3744
|
+
|
|
3745
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
3746
|
+
|
|
3747
|
+
updatePortal(opts: {
|
|
3748
|
+
serial: string;
|
|
3749
|
+
|
|
3750
|
+
portal?: {
|
|
3751
|
+
serial: string;
|
|
3752
|
+
|
|
3753
|
+
build: number;
|
|
3754
|
+
|
|
3755
|
+
manufacturedAt: string;
|
|
3756
|
+
|
|
3757
|
+
activationHistory: Array<any>;
|
|
3758
|
+
|
|
3759
|
+
model: string;
|
|
3760
|
+
};
|
|
3761
|
+
}): Promise<any>;
|
|
3762
|
+
|
|
3763
|
+
activatePortal(opts: {
|
|
3764
|
+
serial: string;
|
|
3765
|
+
|
|
3766
|
+
homeyId?: string;
|
|
3767
|
+
|
|
3768
|
+
userId?: string;
|
|
3769
|
+
}): Promise<any>;
|
|
3770
|
+
|
|
3681
3771
|
getAppInstallsStatistics(): Promise<any>;
|
|
3682
3772
|
|
|
3683
3773
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -6564,6 +6654,48 @@ export class AthomCloudAPI {
|
|
|
6564
6654
|
userId: string;
|
|
6565
6655
|
}): Promise<any>;
|
|
6566
6656
|
|
|
6657
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
6658
|
+
|
|
6659
|
+
createPortal(opts: {
|
|
6660
|
+
portal?: {
|
|
6661
|
+
serial: string;
|
|
6662
|
+
|
|
6663
|
+
build: number;
|
|
6664
|
+
|
|
6665
|
+
manufacturedAt: string;
|
|
6666
|
+
|
|
6667
|
+
activationHistory: Array<any>;
|
|
6668
|
+
|
|
6669
|
+
model: string;
|
|
6670
|
+
};
|
|
6671
|
+
}): Promise<any>;
|
|
6672
|
+
|
|
6673
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
6674
|
+
|
|
6675
|
+
updatePortal(opts: {
|
|
6676
|
+
serial: string;
|
|
6677
|
+
|
|
6678
|
+
portal?: {
|
|
6679
|
+
serial: string;
|
|
6680
|
+
|
|
6681
|
+
build: number;
|
|
6682
|
+
|
|
6683
|
+
manufacturedAt: string;
|
|
6684
|
+
|
|
6685
|
+
activationHistory: Array<any>;
|
|
6686
|
+
|
|
6687
|
+
model: string;
|
|
6688
|
+
};
|
|
6689
|
+
}): Promise<any>;
|
|
6690
|
+
|
|
6691
|
+
activatePortal(opts: {
|
|
6692
|
+
serial: string;
|
|
6693
|
+
|
|
6694
|
+
homeyId?: string;
|
|
6695
|
+
|
|
6696
|
+
userId?: string;
|
|
6697
|
+
}): Promise<any>;
|
|
6698
|
+
|
|
6567
6699
|
getAppInstallsStatistics(): Promise<any>;
|
|
6568
6700
|
|
|
6569
6701
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -7172,6 +7304,48 @@ export class AthomCloudAPI {
|
|
|
7172
7304
|
userId: string;
|
|
7173
7305
|
}): Promise<any>;
|
|
7174
7306
|
|
|
7307
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
7308
|
+
|
|
7309
|
+
createPortal(opts: {
|
|
7310
|
+
portal?: {
|
|
7311
|
+
serial: string;
|
|
7312
|
+
|
|
7313
|
+
build: number;
|
|
7314
|
+
|
|
7315
|
+
manufacturedAt: string;
|
|
7316
|
+
|
|
7317
|
+
activationHistory: Array<any>;
|
|
7318
|
+
|
|
7319
|
+
model: string;
|
|
7320
|
+
};
|
|
7321
|
+
}): Promise<any>;
|
|
7322
|
+
|
|
7323
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
7324
|
+
|
|
7325
|
+
updatePortal(opts: {
|
|
7326
|
+
serial: string;
|
|
7327
|
+
|
|
7328
|
+
portal?: {
|
|
7329
|
+
serial: string;
|
|
7330
|
+
|
|
7331
|
+
build: number;
|
|
7332
|
+
|
|
7333
|
+
manufacturedAt: string;
|
|
7334
|
+
|
|
7335
|
+
activationHistory: Array<any>;
|
|
7336
|
+
|
|
7337
|
+
model: string;
|
|
7338
|
+
};
|
|
7339
|
+
}): Promise<any>;
|
|
7340
|
+
|
|
7341
|
+
activatePortal(opts: {
|
|
7342
|
+
serial: string;
|
|
7343
|
+
|
|
7344
|
+
homeyId?: string;
|
|
7345
|
+
|
|
7346
|
+
userId?: string;
|
|
7347
|
+
}): Promise<any>;
|
|
7348
|
+
|
|
7175
7349
|
getAppInstallsStatistics(): Promise<any>;
|
|
7176
7350
|
|
|
7177
7351
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -10454,6 +10628,28 @@ export namespace HomeyAPIV3Local {
|
|
|
10454
10628
|
}): Promise<any>;
|
|
10455
10629
|
}
|
|
10456
10630
|
|
|
10631
|
+
export class ManagerCameras extends HomeyAPIV3.ManagerCameras {
|
|
10632
|
+
getState(): Promise<any>;
|
|
10633
|
+
|
|
10634
|
+
getCameras(): Promise<{
|
|
10635
|
+
[key: string]: HomeyAPIV3Local.ManagerCameras.Camera;
|
|
10636
|
+
}>;
|
|
10637
|
+
|
|
10638
|
+
offer(opts: {
|
|
10639
|
+
id: string;
|
|
10640
|
+
|
|
10641
|
+
offer: string;
|
|
10642
|
+
}): Promise<any>;
|
|
10643
|
+
|
|
10644
|
+
keepAlive(opts: {
|
|
10645
|
+
id: string;
|
|
10646
|
+
|
|
10647
|
+
streamId: string;
|
|
10648
|
+
}): Promise<any>;
|
|
10649
|
+
|
|
10650
|
+
videoUrl(opts: { id: string }): Promise<any>;
|
|
10651
|
+
}
|
|
10652
|
+
|
|
10457
10653
|
export class ManagerClock extends HomeyAPIV3.ManagerClock {
|
|
10458
10654
|
getState(): Promise<any>;
|
|
10459
10655
|
}
|
|
@@ -11773,9 +11969,27 @@ export namespace HomeyAPIV3Local {
|
|
|
11773
11969
|
opts?: object;
|
|
11774
11970
|
}): Promise<any>;
|
|
11775
11971
|
|
|
11972
|
+
getFirmwareVersion(): Promise<any>;
|
|
11973
|
+
|
|
11974
|
+
flashFirmware(opts: {
|
|
11975
|
+
erase?: string;
|
|
11976
|
+
|
|
11977
|
+
downgrade?: string;
|
|
11978
|
+
|
|
11979
|
+
version?: string;
|
|
11980
|
+
|
|
11981
|
+
firmware?: string;
|
|
11982
|
+
|
|
11983
|
+
shasum?: string;
|
|
11984
|
+
}): Promise<any>;
|
|
11985
|
+
|
|
11776
11986
|
getLog(): Promise<any>;
|
|
11777
11987
|
|
|
11778
11988
|
setLogEnabled(opts: { enabled: boolean }): Promise<any>;
|
|
11989
|
+
|
|
11990
|
+
setLBTThreshold(opts: { threshold: number }): Promise<any>;
|
|
11991
|
+
|
|
11992
|
+
attemptNvmFix(): Promise<any>;
|
|
11779
11993
|
}
|
|
11780
11994
|
}
|
|
11781
11995
|
|