homey-api 3.12.2 → 3.12.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.
|
@@ -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",
|
|
@@ -26,6 +26,27 @@
|
|
|
26
26
|
"type": "string"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
},
|
|
30
|
+
"getHourlyWeather": {
|
|
31
|
+
"path": "/forecast/hourly",
|
|
32
|
+
"method": "get",
|
|
33
|
+
"parameters": {
|
|
34
|
+
"latitude": {
|
|
35
|
+
"in": "query",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"required": true
|
|
38
|
+
},
|
|
39
|
+
"longitude": {
|
|
40
|
+
"in": "query",
|
|
41
|
+
"type": "string",
|
|
42
|
+
"required": true
|
|
43
|
+
},
|
|
44
|
+
"homey": {
|
|
45
|
+
"in": "query",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"required": true
|
|
48
|
+
}
|
|
49
|
+
}
|
|
29
50
|
}
|
|
30
51
|
}
|
|
31
52
|
}
|
|
@@ -3070,6 +3070,48 @@ export class AthomCloudAPI {
|
|
|
3070
3070
|
userId: string;
|
|
3071
3071
|
}): Promise<any>;
|
|
3072
3072
|
|
|
3073
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
3074
|
+
|
|
3075
|
+
createPortal(opts: {
|
|
3076
|
+
portal?: {
|
|
3077
|
+
serial: string;
|
|
3078
|
+
|
|
3079
|
+
build: number;
|
|
3080
|
+
|
|
3081
|
+
manufacturedAt: string;
|
|
3082
|
+
|
|
3083
|
+
activationHistory: Array<any>;
|
|
3084
|
+
|
|
3085
|
+
model: string;
|
|
3086
|
+
};
|
|
3087
|
+
}): Promise<any>;
|
|
3088
|
+
|
|
3089
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
3090
|
+
|
|
3091
|
+
updatePortal(opts: {
|
|
3092
|
+
serial: string;
|
|
3093
|
+
|
|
3094
|
+
portal?: {
|
|
3095
|
+
serial: string;
|
|
3096
|
+
|
|
3097
|
+
build: number;
|
|
3098
|
+
|
|
3099
|
+
manufacturedAt: string;
|
|
3100
|
+
|
|
3101
|
+
activationHistory: Array<any>;
|
|
3102
|
+
|
|
3103
|
+
model: string;
|
|
3104
|
+
};
|
|
3105
|
+
}): Promise<any>;
|
|
3106
|
+
|
|
3107
|
+
activatePortal(opts: {
|
|
3108
|
+
serial: string;
|
|
3109
|
+
|
|
3110
|
+
homeyId?: string;
|
|
3111
|
+
|
|
3112
|
+
userId?: string;
|
|
3113
|
+
}): Promise<any>;
|
|
3114
|
+
|
|
3073
3115
|
getAppInstallsStatistics(): Promise<any>;
|
|
3074
3116
|
|
|
3075
3117
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -3678,6 +3720,48 @@ export class AthomCloudAPI {
|
|
|
3678
3720
|
userId: string;
|
|
3679
3721
|
}): Promise<any>;
|
|
3680
3722
|
|
|
3723
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
3724
|
+
|
|
3725
|
+
createPortal(opts: {
|
|
3726
|
+
portal?: {
|
|
3727
|
+
serial: string;
|
|
3728
|
+
|
|
3729
|
+
build: number;
|
|
3730
|
+
|
|
3731
|
+
manufacturedAt: string;
|
|
3732
|
+
|
|
3733
|
+
activationHistory: Array<any>;
|
|
3734
|
+
|
|
3735
|
+
model: string;
|
|
3736
|
+
};
|
|
3737
|
+
}): Promise<any>;
|
|
3738
|
+
|
|
3739
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
3740
|
+
|
|
3741
|
+
updatePortal(opts: {
|
|
3742
|
+
serial: string;
|
|
3743
|
+
|
|
3744
|
+
portal?: {
|
|
3745
|
+
serial: string;
|
|
3746
|
+
|
|
3747
|
+
build: number;
|
|
3748
|
+
|
|
3749
|
+
manufacturedAt: string;
|
|
3750
|
+
|
|
3751
|
+
activationHistory: Array<any>;
|
|
3752
|
+
|
|
3753
|
+
model: string;
|
|
3754
|
+
};
|
|
3755
|
+
}): Promise<any>;
|
|
3756
|
+
|
|
3757
|
+
activatePortal(opts: {
|
|
3758
|
+
serial: string;
|
|
3759
|
+
|
|
3760
|
+
homeyId?: string;
|
|
3761
|
+
|
|
3762
|
+
userId?: string;
|
|
3763
|
+
}): Promise<any>;
|
|
3764
|
+
|
|
3681
3765
|
getAppInstallsStatistics(): Promise<any>;
|
|
3682
3766
|
|
|
3683
3767
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -4748,6 +4832,14 @@ export class AthomWeatherAPI {
|
|
|
4748
4832
|
language?: string;
|
|
4749
4833
|
}): Promise<any>;
|
|
4750
4834
|
|
|
4835
|
+
getHourlyWeather(opts: {
|
|
4836
|
+
latitude: string;
|
|
4837
|
+
|
|
4838
|
+
longitude: string;
|
|
4839
|
+
|
|
4840
|
+
homey: string;
|
|
4841
|
+
}): Promise<any>;
|
|
4842
|
+
|
|
4751
4843
|
getWeather(opts: {
|
|
4752
4844
|
latitude: string;
|
|
4753
4845
|
|
|
@@ -4757,6 +4849,14 @@ export class AthomWeatherAPI {
|
|
|
4757
4849
|
|
|
4758
4850
|
language?: string;
|
|
4759
4851
|
}): Promise<any>;
|
|
4852
|
+
|
|
4853
|
+
getHourlyWeather(opts: {
|
|
4854
|
+
latitude: string;
|
|
4855
|
+
|
|
4856
|
+
longitude: string;
|
|
4857
|
+
|
|
4858
|
+
homey: string;
|
|
4859
|
+
}): Promise<any>;
|
|
4760
4860
|
}
|
|
4761
4861
|
|
|
4762
4862
|
export class AthomWebhooksAPI {
|
|
@@ -6548,6 +6648,48 @@ export class AthomCloudAPI {
|
|
|
6548
6648
|
userId: string;
|
|
6549
6649
|
}): Promise<any>;
|
|
6550
6650
|
|
|
6651
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
6652
|
+
|
|
6653
|
+
createPortal(opts: {
|
|
6654
|
+
portal?: {
|
|
6655
|
+
serial: string;
|
|
6656
|
+
|
|
6657
|
+
build: number;
|
|
6658
|
+
|
|
6659
|
+
manufacturedAt: string;
|
|
6660
|
+
|
|
6661
|
+
activationHistory: Array<any>;
|
|
6662
|
+
|
|
6663
|
+
model: string;
|
|
6664
|
+
};
|
|
6665
|
+
}): Promise<any>;
|
|
6666
|
+
|
|
6667
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
6668
|
+
|
|
6669
|
+
updatePortal(opts: {
|
|
6670
|
+
serial: string;
|
|
6671
|
+
|
|
6672
|
+
portal?: {
|
|
6673
|
+
serial: string;
|
|
6674
|
+
|
|
6675
|
+
build: number;
|
|
6676
|
+
|
|
6677
|
+
manufacturedAt: string;
|
|
6678
|
+
|
|
6679
|
+
activationHistory: Array<any>;
|
|
6680
|
+
|
|
6681
|
+
model: string;
|
|
6682
|
+
};
|
|
6683
|
+
}): Promise<any>;
|
|
6684
|
+
|
|
6685
|
+
activatePortal(opts: {
|
|
6686
|
+
serial: string;
|
|
6687
|
+
|
|
6688
|
+
homeyId?: string;
|
|
6689
|
+
|
|
6690
|
+
userId?: string;
|
|
6691
|
+
}): Promise<any>;
|
|
6692
|
+
|
|
6551
6693
|
getAppInstallsStatistics(): Promise<any>;
|
|
6552
6694
|
|
|
6553
6695
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -7156,6 +7298,48 @@ export class AthomCloudAPI {
|
|
|
7156
7298
|
userId: string;
|
|
7157
7299
|
}): Promise<any>;
|
|
7158
7300
|
|
|
7301
|
+
getPortals(opts: { serial?: string }): Promise<any>;
|
|
7302
|
+
|
|
7303
|
+
createPortal(opts: {
|
|
7304
|
+
portal?: {
|
|
7305
|
+
serial: string;
|
|
7306
|
+
|
|
7307
|
+
build: number;
|
|
7308
|
+
|
|
7309
|
+
manufacturedAt: string;
|
|
7310
|
+
|
|
7311
|
+
activationHistory: Array<any>;
|
|
7312
|
+
|
|
7313
|
+
model: string;
|
|
7314
|
+
};
|
|
7315
|
+
}): Promise<any>;
|
|
7316
|
+
|
|
7317
|
+
getPortal(opts: { serial: string }): Promise<any>;
|
|
7318
|
+
|
|
7319
|
+
updatePortal(opts: {
|
|
7320
|
+
serial: string;
|
|
7321
|
+
|
|
7322
|
+
portal?: {
|
|
7323
|
+
serial: string;
|
|
7324
|
+
|
|
7325
|
+
build: number;
|
|
7326
|
+
|
|
7327
|
+
manufacturedAt: string;
|
|
7328
|
+
|
|
7329
|
+
activationHistory: Array<any>;
|
|
7330
|
+
|
|
7331
|
+
model: string;
|
|
7332
|
+
};
|
|
7333
|
+
}): Promise<any>;
|
|
7334
|
+
|
|
7335
|
+
activatePortal(opts: {
|
|
7336
|
+
serial: string;
|
|
7337
|
+
|
|
7338
|
+
homeyId?: string;
|
|
7339
|
+
|
|
7340
|
+
userId?: string;
|
|
7341
|
+
}): Promise<any>;
|
|
7342
|
+
|
|
7159
7343
|
getAppInstallsStatistics(): Promise<any>;
|
|
7160
7344
|
|
|
7161
7345
|
getAppDriversStatistics(): Promise<any>;
|
|
@@ -8226,6 +8410,14 @@ export class AthomWeatherAPI {
|
|
|
8226
8410
|
language?: string;
|
|
8227
8411
|
}): Promise<any>;
|
|
8228
8412
|
|
|
8413
|
+
getHourlyWeather(opts: {
|
|
8414
|
+
latitude: string;
|
|
8415
|
+
|
|
8416
|
+
longitude: string;
|
|
8417
|
+
|
|
8418
|
+
homey: string;
|
|
8419
|
+
}): Promise<any>;
|
|
8420
|
+
|
|
8229
8421
|
getWeather(opts: {
|
|
8230
8422
|
latitude: string;
|
|
8231
8423
|
|
|
@@ -8235,6 +8427,14 @@ export class AthomWeatherAPI {
|
|
|
8235
8427
|
|
|
8236
8428
|
language?: string;
|
|
8237
8429
|
}): Promise<any>;
|
|
8430
|
+
|
|
8431
|
+
getHourlyWeather(opts: {
|
|
8432
|
+
latitude: string;
|
|
8433
|
+
|
|
8434
|
+
longitude: string;
|
|
8435
|
+
|
|
8436
|
+
homey: string;
|
|
8437
|
+
}): Promise<any>;
|
|
8238
8438
|
}
|
|
8239
8439
|
|
|
8240
8440
|
export class AthomWebhooksAPI {
|