homey-api 3.12.3 → 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",
@@ -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>;
@@ -6564,6 +6648,48 @@ export class AthomCloudAPI {
6564
6648
  userId: string;
6565
6649
  }): Promise<any>;
6566
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
+
6567
6693
  getAppInstallsStatistics(): Promise<any>;
6568
6694
 
6569
6695
  getAppDriversStatistics(): Promise<any>;
@@ -7172,6 +7298,48 @@ export class AthomCloudAPI {
7172
7298
  userId: string;
7173
7299
  }): Promise<any>;
7174
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
+
7175
7343
  getAppInstallsStatistics(): Promise<any>;
7176
7344
 
7177
7345
  getAppDriversStatistics(): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.12.3",
3
+ "version": "3.12.4",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [