homey-api 3.14.7 → 3.14.9

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
  },
@@ -1220,19 +1220,29 @@
1220
1220
  "type": "string",
1221
1221
  "required": true
1222
1222
  },
1223
- "data": {
1224
- "in": "body",
1225
- "type": "object",
1226
- "required": true,
1227
- "unpack": true,
1228
- "properties": {
1229
- "type": {
1230
- "type": "string"
1231
- },
1232
- "expiresAt": {
1233
- "type": "string"
1234
- }
1235
- }
1223
+ "type": {
1224
+ "type": "string",
1225
+ "in": "body"
1226
+ },
1227
+ "expiresAt": {
1228
+ "type": "string",
1229
+ "in": "body"
1230
+ }
1231
+ }
1232
+ },
1233
+ "transferHomeySelfHostedServerLifetimeLicense": {
1234
+ "path": "/homey/shs/{homeyId}/transfer-lifetime-license",
1235
+ "method": "post",
1236
+ "private": true,
1237
+ "parameters": {
1238
+ "homeyId": {
1239
+ "in": "path",
1240
+ "type": "string",
1241
+ "required": true
1242
+ },
1243
+ "newHomeyId": {
1244
+ "type": "string",
1245
+ "in": "body"
1236
1246
  }
1237
1247
  }
1238
1248
  },
@@ -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>;
@@ -3721,11 +3729,15 @@ export class AthomCloudAPI {
3721
3729
  updateHomeySelfHostedServerSubscription(opts: {
3722
3730
  homeyId: string;
3723
3731
 
3724
- data: {
3725
- type: string;
3732
+ type?: string;
3726
3733
 
3727
- expiresAt: string;
3728
- };
3734
+ expiresAt?: string;
3735
+ }): Promise<any>;
3736
+
3737
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
3738
+ homeyId: string;
3739
+
3740
+ newHomeyId?: string;
3729
3741
  }): Promise<any>;
3730
3742
 
3731
3743
  sendFormattedEmail(opts: {
@@ -4383,11 +4395,15 @@ export class AthomCloudAPI {
4383
4395
  updateHomeySelfHostedServerSubscription(opts: {
4384
4396
  homeyId: string;
4385
4397
 
4386
- data: {
4387
- type: string;
4398
+ type?: string;
4388
4399
 
4389
- expiresAt: string;
4390
- };
4400
+ expiresAt?: string;
4401
+ }): Promise<any>;
4402
+
4403
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
4404
+ homeyId: string;
4405
+
4406
+ newHomeyId?: string;
4391
4407
  }): Promise<any>;
4392
4408
 
4393
4409
  sendFormattedEmail(opts: {
@@ -6279,11 +6295,15 @@ export class AthomAppsAPI {
6279
6295
  createCrash(opts: {
6280
6296
  appId: string;
6281
6297
 
6298
+ appVersion?: string;
6299
+
6282
6300
  homeyId?: string;
6283
6301
 
6284
6302
  homeyVersion?: string;
6285
6303
 
6286
- appVersion?: string;
6304
+ homeyModelId?: string;
6305
+
6306
+ homeyModelName?: string;
6287
6307
 
6288
6308
  stack?: string;
6289
6309
  }): Promise<any>;
@@ -6613,11 +6633,15 @@ export class AthomAppsAPI {
6613
6633
  createCrash(opts: {
6614
6634
  appId: string;
6615
6635
 
6636
+ appVersion?: string;
6637
+
6616
6638
  homeyId?: string;
6617
6639
 
6618
6640
  homeyVersion?: string;
6619
6641
 
6620
- appVersion?: string;
6642
+ homeyModelId?: string;
6643
+
6644
+ homeyModelName?: string;
6621
6645
 
6622
6646
  stack?: string;
6623
6647
  }): Promise<any>;
@@ -7323,11 +7347,15 @@ export class AthomCloudAPI {
7323
7347
  updateHomeySelfHostedServerSubscription(opts: {
7324
7348
  homeyId: string;
7325
7349
 
7326
- data: {
7327
- type: string;
7350
+ type?: string;
7328
7351
 
7329
- expiresAt: string;
7330
- };
7352
+ expiresAt?: string;
7353
+ }): Promise<any>;
7354
+
7355
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
7356
+ homeyId: string;
7357
+
7358
+ newHomeyId?: string;
7331
7359
  }): Promise<any>;
7332
7360
 
7333
7361
  sendFormattedEmail(opts: {
@@ -7985,11 +8013,15 @@ export class AthomCloudAPI {
7985
8013
  updateHomeySelfHostedServerSubscription(opts: {
7986
8014
  homeyId: string;
7987
8015
 
7988
- data: {
7989
- type: string;
8016
+ type?: string;
7990
8017
 
7991
- expiresAt: string;
7992
- };
8018
+ expiresAt?: string;
8019
+ }): Promise<any>;
8020
+
8021
+ transferHomeySelfHostedServerLifetimeLicense(opts: {
8022
+ homeyId: string;
8023
+
8024
+ newHomeyId?: string;
7993
8025
  }): Promise<any>;
7994
8026
 
7995
8027
  sendFormattedEmail(opts: {
@@ -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.7",
3
+ "version": "3.14.9",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [