homey-api 3.14.8 → 3.14.10

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.
@@ -791,6 +791,10 @@
791
791
  "type": "string",
792
792
  "required": true
793
793
  },
794
+ "appVersion": {
795
+ "type": "string",
796
+ "in": "body"
797
+ },
794
798
  "homeyId": {
795
799
  "type": "string",
796
800
  "in": "body"
@@ -799,7 +803,11 @@
799
803
  "type": "string",
800
804
  "in": "body"
801
805
  },
802
- "appVersion": {
806
+ "homeyModelId": {
807
+ "type": "string",
808
+ "in": "body"
809
+ },
810
+ "homeyModelName": {
803
811
  "type": "string",
804
812
  "in": "body"
805
813
  },
@@ -630,6 +630,33 @@
630
630
  }
631
631
  }
632
632
  },
633
+ "updateInstallerInformation": {
634
+ "path": "/user/{userId}/installer-information",
635
+ "method": "put",
636
+ "parameters": {
637
+ "userId": {
638
+ "in": "path",
639
+ "type": "string",
640
+ "required": true
641
+ },
642
+ "body": {
643
+ "in": "body",
644
+ "type": "object",
645
+ "unpack": true,
646
+ "properties": {
647
+ "website": {
648
+ "type": "string"
649
+ },
650
+ "email": {
651
+ "type": "string"
652
+ },
653
+ "phone": {
654
+ "type": "string"
655
+ }
656
+ }
657
+ }
658
+ }
659
+ },
633
660
  "getAuthenticatedUserClients": {
634
661
  "path": "/user/me/client",
635
662
  "method": "get",
@@ -1230,6 +1257,22 @@
1230
1257
  }
1231
1258
  }
1232
1259
  },
1260
+ "transferHomeySelfHostedServerLifetimeLicense": {
1261
+ "path": "/homey/shs/{homeyId}/transfer-lifetime-license",
1262
+ "method": "post",
1263
+ "private": true,
1264
+ "parameters": {
1265
+ "homeyId": {
1266
+ "in": "path",
1267
+ "type": "string",
1268
+ "required": true
1269
+ },
1270
+ "newHomeyId": {
1271
+ "type": "string",
1272
+ "in": "body"
1273
+ }
1274
+ }
1275
+ },
1233
1276
  "sendFormattedEmail": {
1234
1277
  "path": "/mail/formatted",
1235
1278
  "method": "post",
@@ -2343,6 +2343,18 @@ export class AthomCloudAPI {
2343
2343
 
2344
2344
  getInstallerInformation(opts: { userId: string }): Promise<any>;
2345
2345
 
2346
+ updateInstallerInformation(opts: {
2347
+ userId: string;
2348
+
2349
+ body?: {
2350
+ website: string;
2351
+
2352
+ email: string;
2353
+
2354
+ phone: string;
2355
+ };
2356
+ }): Promise<any>;
2357
+
2346
2358
  getAuthenticatedUserClients(): Promise<any>;
2347
2359
 
2348
2360
  createAuthenticatedUserClient(opts: {
@@ -2397,6 +2409,18 @@ export class AthomCloudAPI {
2397
2409
 
2398
2410
  getInstallerInformation(opts: { userId: string }): Promise<any>;
2399
2411
 
2412
+ updateInstallerInformation(opts: {
2413
+ userId: string;
2414
+
2415
+ body?: {
2416
+ website: string;
2417
+
2418
+ email: string;
2419
+
2420
+ phone: string;
2421
+ };
2422
+ }): Promise<any>;
2423
+
2400
2424
  getAuthenticatedUserClients(): Promise<any>;
2401
2425
 
2402
2426
  createAuthenticatedUserClient(opts: {
@@ -2571,6 +2595,18 @@ export class AthomCloudAPI {
2571
2595
 
2572
2596
  getInstallerInformation(opts: { userId: string }): Promise<any>;
2573
2597
 
2598
+ updateInstallerInformation(opts: {
2599
+ userId: string;
2600
+
2601
+ body?: {
2602
+ website: string;
2603
+
2604
+ email: string;
2605
+
2606
+ phone: string;
2607
+ };
2608
+ }): Promise<any>;
2609
+
2574
2610
  getAuthenticatedUserClients(): Promise<any>;
2575
2611
 
2576
2612
  createAuthenticatedUserClient(opts: {
@@ -2625,6 +2661,18 @@ export class AthomCloudAPI {
2625
2661
 
2626
2662
  getInstallerInformation(opts: { userId: string }): Promise<any>;
2627
2663
 
2664
+ updateInstallerInformation(opts: {
2665
+ userId: string;
2666
+
2667
+ body?: {
2668
+ website: string;
2669
+
2670
+ email: string;
2671
+
2672
+ phone: string;
2673
+ };
2674
+ }): Promise<any>;
2675
+
2628
2676
  getAuthenticatedUserClients(): Promise<any>;
2629
2677
 
2630
2678
  createAuthenticatedUserClient(opts: {
@@ -2677,11 +2677,15 @@ export class AthomAppsAPI {
2677
2677
  createCrash(opts: {
2678
2678
  appId: string;
2679
2679
 
2680
+ appVersion?: string;
2681
+
2680
2682
  homeyId?: string;
2681
2683
 
2682
2684
  homeyVersion?: string;
2683
2685
 
2684
- appVersion?: string;
2686
+ homeyModelId?: string;
2687
+
2688
+ homeyModelName?: string;
2685
2689
 
2686
2690
  stack?: string;
2687
2691
  }): Promise<any>;
@@ -3011,11 +3015,15 @@ export class AthomAppsAPI {
3011
3015
  createCrash(opts: {
3012
3016
  appId: string;
3013
3017
 
3018
+ appVersion?: string;
3019
+
3014
3020
  homeyId?: string;
3015
3021
 
3016
3022
  homeyVersion?: string;
3017
3023
 
3018
- appVersion?: string;
3024
+ homeyModelId?: string;
3025
+
3026
+ homeyModelName?: string;
3019
3027
 
3020
3028
  stack?: string;
3021
3029
  }): Promise<any>;
@@ -3468,6 +3476,18 @@ export class AthomCloudAPI {
3468
3476
 
3469
3477
  getInstallerInformation(opts: { userId: string }): Promise<any>;
3470
3478
 
3479
+ updateInstallerInformation(opts: {
3480
+ userId: string;
3481
+
3482
+ body?: {
3483
+ website: string;
3484
+
3485
+ email: string;
3486
+
3487
+ phone: string;
3488
+ };
3489
+ }): Promise<any>;
3490
+
3471
3491
  getAuthenticatedUserClients(): Promise<any>;
3472
3492
 
3473
3493
  createAuthenticatedUserClient(opts: {
@@ -3726,6 +3746,12 @@ export class AthomCloudAPI {
3726
3746
  expiresAt?: string;
3727
3747
  }): Promise<any>;
3728
3748
 
3749
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
3750
+ homeyId: string;
3751
+
3752
+ newHomeyId?: string;
3753
+ }): Promise<any>;
3754
+
3729
3755
  sendFormattedEmail(opts: {
3730
3756
  to?: string;
3731
3757
 
@@ -4128,6 +4154,18 @@ export class AthomCloudAPI {
4128
4154
 
4129
4155
  getInstallerInformation(opts: { userId: string }): Promise<any>;
4130
4156
 
4157
+ updateInstallerInformation(opts: {
4158
+ userId: string;
4159
+
4160
+ body?: {
4161
+ website: string;
4162
+
4163
+ email: string;
4164
+
4165
+ phone: string;
4166
+ };
4167
+ }): Promise<any>;
4168
+
4131
4169
  getAuthenticatedUserClients(): Promise<any>;
4132
4170
 
4133
4171
  createAuthenticatedUserClient(opts: {
@@ -4386,6 +4424,12 @@ export class AthomCloudAPI {
4386
4424
  expiresAt?: string;
4387
4425
  }): Promise<any>;
4388
4426
 
4427
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
4428
+ homeyId: string;
4429
+
4430
+ newHomeyId?: string;
4431
+ }): Promise<any>;
4432
+
4389
4433
  sendFormattedEmail(opts: {
4390
4434
  to?: string;
4391
4435
 
@@ -6275,11 +6319,15 @@ export class AthomAppsAPI {
6275
6319
  createCrash(opts: {
6276
6320
  appId: string;
6277
6321
 
6322
+ appVersion?: string;
6323
+
6278
6324
  homeyId?: string;
6279
6325
 
6280
6326
  homeyVersion?: string;
6281
6327
 
6282
- appVersion?: string;
6328
+ homeyModelId?: string;
6329
+
6330
+ homeyModelName?: string;
6283
6331
 
6284
6332
  stack?: string;
6285
6333
  }): Promise<any>;
@@ -6609,11 +6657,15 @@ export class AthomAppsAPI {
6609
6657
  createCrash(opts: {
6610
6658
  appId: string;
6611
6659
 
6660
+ appVersion?: string;
6661
+
6612
6662
  homeyId?: string;
6613
6663
 
6614
6664
  homeyVersion?: string;
6615
6665
 
6616
- appVersion?: string;
6666
+ homeyModelId?: string;
6667
+
6668
+ homeyModelName?: string;
6617
6669
 
6618
6670
  stack?: string;
6619
6671
  }): Promise<any>;
@@ -7066,6 +7118,18 @@ export class AthomCloudAPI {
7066
7118
 
7067
7119
  getInstallerInformation(opts: { userId: string }): Promise<any>;
7068
7120
 
7121
+ updateInstallerInformation(opts: {
7122
+ userId: string;
7123
+
7124
+ body?: {
7125
+ website: string;
7126
+
7127
+ email: string;
7128
+
7129
+ phone: string;
7130
+ };
7131
+ }): Promise<any>;
7132
+
7069
7133
  getAuthenticatedUserClients(): Promise<any>;
7070
7134
 
7071
7135
  createAuthenticatedUserClient(opts: {
@@ -7324,6 +7388,12 @@ export class AthomCloudAPI {
7324
7388
  expiresAt?: string;
7325
7389
  }): Promise<any>;
7326
7390
 
7391
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
7392
+ homeyId: string;
7393
+
7394
+ newHomeyId?: string;
7395
+ }): Promise<any>;
7396
+
7327
7397
  sendFormattedEmail(opts: {
7328
7398
  to?: string;
7329
7399
 
@@ -7726,6 +7796,18 @@ export class AthomCloudAPI {
7726
7796
 
7727
7797
  getInstallerInformation(opts: { userId: string }): Promise<any>;
7728
7798
 
7799
+ updateInstallerInformation(opts: {
7800
+ userId: string;
7801
+
7802
+ body?: {
7803
+ website: string;
7804
+
7805
+ email: string;
7806
+
7807
+ phone: string;
7808
+ };
7809
+ }): Promise<any>;
7810
+
7729
7811
  getAuthenticatedUserClients(): Promise<any>;
7730
7812
 
7731
7813
  createAuthenticatedUserClient(opts: {
@@ -7984,6 +8066,12 @@ export class AthomCloudAPI {
7984
8066
  expiresAt?: string;
7985
8067
  }): Promise<any>;
7986
8068
 
8069
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
8070
+ homeyId: string;
8071
+
8072
+ newHomeyId?: string;
8073
+ }): Promise<any>;
8074
+
7987
8075
  sendFormattedEmail(opts: {
7988
8076
  to?: string;
7989
8077
 
@@ -800,10 +800,6 @@ class HomeyAPIV3 extends HomeyAPI {
800
800
  this.__socket = SocketIOClient(baseUrl, {
801
801
  autoConnect: false,
802
802
  transports: ['websocket'],
803
- transportOptions: {
804
- pingTimeout: 8000,
805
- pingInterval: 5000,
806
- },
807
803
  reconnection: this.__reconnect,
808
804
  });
809
805
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.14.8",
3
+ "version": "3.14.10",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [