homey-api 3.4.26 → 3.4.28
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.
|
@@ -508,6 +508,12 @@
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
|
+
"getAcceptedInvites": {
|
|
512
|
+
"path": "/user/me/accepted_invites",
|
|
513
|
+
"method": "get",
|
|
514
|
+
"private": true,
|
|
515
|
+
"parameters": {}
|
|
516
|
+
},
|
|
511
517
|
"updateAuthenticatedUserPassword": {
|
|
512
518
|
"path": "/user/me/password",
|
|
513
519
|
"method": "post",
|
|
@@ -564,6 +570,23 @@
|
|
|
564
570
|
}
|
|
565
571
|
}
|
|
566
572
|
},
|
|
573
|
+
"acceptInvite": {
|
|
574
|
+
"path": "/user/{userId}/accept_invite/{inviterId}",
|
|
575
|
+
"method": "post",
|
|
576
|
+
"private": true,
|
|
577
|
+
"parameters": {
|
|
578
|
+
"userId": {
|
|
579
|
+
"in": "path",
|
|
580
|
+
"type": "string",
|
|
581
|
+
"required": true
|
|
582
|
+
},
|
|
583
|
+
"inviterId": {
|
|
584
|
+
"in": "path",
|
|
585
|
+
"type": "string",
|
|
586
|
+
"required": true
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
},
|
|
567
590
|
"getBridges": {
|
|
568
591
|
"path": "/bridge/",
|
|
569
592
|
"method": "get",
|
|
@@ -760,6 +783,15 @@
|
|
|
760
783
|
},
|
|
761
784
|
"devices": {
|
|
762
785
|
"type": "array"
|
|
786
|
+
},
|
|
787
|
+
"eMMCestLifeTimeA": {
|
|
788
|
+
"type": "number"
|
|
789
|
+
},
|
|
790
|
+
"eMMCestLifeTimeB": {
|
|
791
|
+
"type": "number"
|
|
792
|
+
},
|
|
793
|
+
"eMMCpreEOLInfo": {
|
|
794
|
+
"type": "number"
|
|
763
795
|
}
|
|
764
796
|
}
|
|
765
797
|
}
|
|
@@ -846,6 +878,15 @@
|
|
|
846
878
|
},
|
|
847
879
|
"devices": {
|
|
848
880
|
"type": "array"
|
|
881
|
+
},
|
|
882
|
+
"eMMCestLifeTimeA": {
|
|
883
|
+
"type": "number"
|
|
884
|
+
},
|
|
885
|
+
"eMMCestLifeTimeB": {
|
|
886
|
+
"type": "number"
|
|
887
|
+
},
|
|
888
|
+
"eMMCpreEOLInfo": {
|
|
889
|
+
"type": "number"
|
|
849
890
|
}
|
|
850
891
|
}
|
|
851
892
|
}
|
|
@@ -385,6 +385,20 @@
|
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
|
+
"redeemReferAFriend": {
|
|
389
|
+
"path": "/offer/refer_a_friend",
|
|
390
|
+
"method": "post",
|
|
391
|
+
"parameters": {
|
|
392
|
+
"paymentProvider": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"in": "body"
|
|
395
|
+
},
|
|
396
|
+
"inviterId": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"in": "body"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
388
402
|
"redeemOffer": {
|
|
389
403
|
"path": "/offer/{offerId}/redeem",
|
|
390
404
|
"method": "post",
|
|
@@ -428,6 +442,10 @@
|
|
|
428
442
|
"subscriptionDuration": {
|
|
429
443
|
"type": "string",
|
|
430
444
|
"in": "body"
|
|
445
|
+
},
|
|
446
|
+
"newCustomersOnly": {
|
|
447
|
+
"type": "boolean",
|
|
448
|
+
"in": "body"
|
|
431
449
|
}
|
|
432
450
|
}
|
|
433
451
|
},
|
|
@@ -2485,6 +2485,8 @@ export class AthomCloudAPI {
|
|
|
2485
2485
|
|
|
2486
2486
|
getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
|
|
2487
2487
|
|
|
2488
|
+
getAcceptedInvites(): Promise<any>;
|
|
2489
|
+
|
|
2488
2490
|
updateAuthenticatedUserPassword(opts: {
|
|
2489
2491
|
password?: string;
|
|
2490
2492
|
|
|
@@ -2501,6 +2503,12 @@ export class AthomCloudAPI {
|
|
|
2501
2503
|
sessionId: string;
|
|
2502
2504
|
}): Promise<any>;
|
|
2503
2505
|
|
|
2506
|
+
acceptInvite(opts: {
|
|
2507
|
+
userId: string;
|
|
2508
|
+
|
|
2509
|
+
inviterId: string;
|
|
2510
|
+
}): Promise<any>;
|
|
2511
|
+
|
|
2504
2512
|
getBridges(opts: {
|
|
2505
2513
|
serial?: string;
|
|
2506
2514
|
|
|
@@ -2594,6 +2602,12 @@ export class AthomCloudAPI {
|
|
|
2594
2602
|
apps: Array<any>;
|
|
2595
2603
|
|
|
2596
2604
|
devices: Array<any>;
|
|
2605
|
+
|
|
2606
|
+
eMMCestLifeTimeA: number;
|
|
2607
|
+
|
|
2608
|
+
eMMCestLifeTimeB: number;
|
|
2609
|
+
|
|
2610
|
+
eMMCpreEOLInfo: number;
|
|
2597
2611
|
};
|
|
2598
2612
|
}): Promise<any>;
|
|
2599
2613
|
|
|
@@ -2638,6 +2652,12 @@ export class AthomCloudAPI {
|
|
|
2638
2652
|
apps: Array<any>;
|
|
2639
2653
|
|
|
2640
2654
|
devices: Array<any>;
|
|
2655
|
+
|
|
2656
|
+
eMMCestLifeTimeA: number;
|
|
2657
|
+
|
|
2658
|
+
eMMCestLifeTimeB: number;
|
|
2659
|
+
|
|
2660
|
+
eMMCpreEOLInfo: number;
|
|
2641
2661
|
};
|
|
2642
2662
|
}): Promise<any>;
|
|
2643
2663
|
|
|
@@ -3025,6 +3045,8 @@ export class AthomCloudAPI {
|
|
|
3025
3045
|
|
|
3026
3046
|
getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
|
|
3027
3047
|
|
|
3048
|
+
getAcceptedInvites(): Promise<any>;
|
|
3049
|
+
|
|
3028
3050
|
updateAuthenticatedUserPassword(opts: {
|
|
3029
3051
|
password?: string;
|
|
3030
3052
|
|
|
@@ -3041,6 +3063,12 @@ export class AthomCloudAPI {
|
|
|
3041
3063
|
sessionId: string;
|
|
3042
3064
|
}): Promise<any>;
|
|
3043
3065
|
|
|
3066
|
+
acceptInvite(opts: {
|
|
3067
|
+
userId: string;
|
|
3068
|
+
|
|
3069
|
+
inviterId: string;
|
|
3070
|
+
}): Promise<any>;
|
|
3071
|
+
|
|
3044
3072
|
getBridges(opts: {
|
|
3045
3073
|
serial?: string;
|
|
3046
3074
|
|
|
@@ -3134,6 +3162,12 @@ export class AthomCloudAPI {
|
|
|
3134
3162
|
apps: Array<any>;
|
|
3135
3163
|
|
|
3136
3164
|
devices: Array<any>;
|
|
3165
|
+
|
|
3166
|
+
eMMCestLifeTimeA: number;
|
|
3167
|
+
|
|
3168
|
+
eMMCestLifeTimeB: number;
|
|
3169
|
+
|
|
3170
|
+
eMMCpreEOLInfo: number;
|
|
3137
3171
|
};
|
|
3138
3172
|
}): Promise<any>;
|
|
3139
3173
|
|
|
@@ -3178,6 +3212,12 @@ export class AthomCloudAPI {
|
|
|
3178
3212
|
apps: Array<any>;
|
|
3179
3213
|
|
|
3180
3214
|
devices: Array<any>;
|
|
3215
|
+
|
|
3216
|
+
eMMCestLifeTimeA: number;
|
|
3217
|
+
|
|
3218
|
+
eMMCestLifeTimeB: number;
|
|
3219
|
+
|
|
3220
|
+
eMMCpreEOLInfo: number;
|
|
3181
3221
|
};
|
|
3182
3222
|
}): Promise<any>;
|
|
3183
3223
|
|
|
@@ -3961,6 +4001,12 @@ export class AthomStoreAPI {
|
|
|
3961
4001
|
|
|
3962
4002
|
getOffer(opts: { offerId: string }): Promise<any>;
|
|
3963
4003
|
|
|
4004
|
+
redeemReferAFriend(opts: {
|
|
4005
|
+
paymentProvider?: string;
|
|
4006
|
+
|
|
4007
|
+
inviterId?: string;
|
|
4008
|
+
}): Promise<any>;
|
|
4009
|
+
|
|
3964
4010
|
redeemOffer(opts: {
|
|
3965
4011
|
offerId: string;
|
|
3966
4012
|
|
|
@@ -3979,6 +4025,8 @@ export class AthomStoreAPI {
|
|
|
3979
4025
|
subscriptionQuantity?: number;
|
|
3980
4026
|
|
|
3981
4027
|
subscriptionDuration?: string;
|
|
4028
|
+
|
|
4029
|
+
newCustomersOnly?: boolean;
|
|
3982
4030
|
}): Promise<any>;
|
|
3983
4031
|
|
|
3984
4032
|
getOffers(): Promise<any>;
|
|
@@ -4163,6 +4211,12 @@ export class AthomStoreAPI {
|
|
|
4163
4211
|
|
|
4164
4212
|
getOffer(opts: { offerId: string }): Promise<any>;
|
|
4165
4213
|
|
|
4214
|
+
redeemReferAFriend(opts: {
|
|
4215
|
+
paymentProvider?: string;
|
|
4216
|
+
|
|
4217
|
+
inviterId?: string;
|
|
4218
|
+
}): Promise<any>;
|
|
4219
|
+
|
|
4166
4220
|
redeemOffer(opts: {
|
|
4167
4221
|
offerId: string;
|
|
4168
4222
|
|
|
@@ -4181,6 +4235,8 @@ export class AthomStoreAPI {
|
|
|
4181
4235
|
subscriptionQuantity?: number;
|
|
4182
4236
|
|
|
4183
4237
|
subscriptionDuration?: string;
|
|
4238
|
+
|
|
4239
|
+
newCustomersOnly?: boolean;
|
|
4184
4240
|
}): Promise<any>;
|
|
4185
4241
|
|
|
4186
4242
|
getOffers(): Promise<any>;
|
|
@@ -5605,6 +5661,8 @@ export class AthomCloudAPI {
|
|
|
5605
5661
|
|
|
5606
5662
|
getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
|
|
5607
5663
|
|
|
5664
|
+
getAcceptedInvites(): Promise<any>;
|
|
5665
|
+
|
|
5608
5666
|
updateAuthenticatedUserPassword(opts: {
|
|
5609
5667
|
password?: string;
|
|
5610
5668
|
|
|
@@ -5621,6 +5679,12 @@ export class AthomCloudAPI {
|
|
|
5621
5679
|
sessionId: string;
|
|
5622
5680
|
}): Promise<any>;
|
|
5623
5681
|
|
|
5682
|
+
acceptInvite(opts: {
|
|
5683
|
+
userId: string;
|
|
5684
|
+
|
|
5685
|
+
inviterId: string;
|
|
5686
|
+
}): Promise<any>;
|
|
5687
|
+
|
|
5624
5688
|
getBridges(opts: {
|
|
5625
5689
|
serial?: string;
|
|
5626
5690
|
|
|
@@ -5714,6 +5778,12 @@ export class AthomCloudAPI {
|
|
|
5714
5778
|
apps: Array<any>;
|
|
5715
5779
|
|
|
5716
5780
|
devices: Array<any>;
|
|
5781
|
+
|
|
5782
|
+
eMMCestLifeTimeA: number;
|
|
5783
|
+
|
|
5784
|
+
eMMCestLifeTimeB: number;
|
|
5785
|
+
|
|
5786
|
+
eMMCpreEOLInfo: number;
|
|
5717
5787
|
};
|
|
5718
5788
|
}): Promise<any>;
|
|
5719
5789
|
|
|
@@ -5758,6 +5828,12 @@ export class AthomCloudAPI {
|
|
|
5758
5828
|
apps: Array<any>;
|
|
5759
5829
|
|
|
5760
5830
|
devices: Array<any>;
|
|
5831
|
+
|
|
5832
|
+
eMMCestLifeTimeA: number;
|
|
5833
|
+
|
|
5834
|
+
eMMCestLifeTimeB: number;
|
|
5835
|
+
|
|
5836
|
+
eMMCpreEOLInfo: number;
|
|
5761
5837
|
};
|
|
5762
5838
|
}): Promise<any>;
|
|
5763
5839
|
|
|
@@ -6145,6 +6221,8 @@ export class AthomCloudAPI {
|
|
|
6145
6221
|
|
|
6146
6222
|
getAuthenticatedUser(opts: { additionalScopes?: string }): Promise<any>;
|
|
6147
6223
|
|
|
6224
|
+
getAcceptedInvites(): Promise<any>;
|
|
6225
|
+
|
|
6148
6226
|
updateAuthenticatedUserPassword(opts: {
|
|
6149
6227
|
password?: string;
|
|
6150
6228
|
|
|
@@ -6161,6 +6239,12 @@ export class AthomCloudAPI {
|
|
|
6161
6239
|
sessionId: string;
|
|
6162
6240
|
}): Promise<any>;
|
|
6163
6241
|
|
|
6242
|
+
acceptInvite(opts: {
|
|
6243
|
+
userId: string;
|
|
6244
|
+
|
|
6245
|
+
inviterId: string;
|
|
6246
|
+
}): Promise<any>;
|
|
6247
|
+
|
|
6164
6248
|
getBridges(opts: {
|
|
6165
6249
|
serial?: string;
|
|
6166
6250
|
|
|
@@ -6254,6 +6338,12 @@ export class AthomCloudAPI {
|
|
|
6254
6338
|
apps: Array<any>;
|
|
6255
6339
|
|
|
6256
6340
|
devices: Array<any>;
|
|
6341
|
+
|
|
6342
|
+
eMMCestLifeTimeA: number;
|
|
6343
|
+
|
|
6344
|
+
eMMCestLifeTimeB: number;
|
|
6345
|
+
|
|
6346
|
+
eMMCpreEOLInfo: number;
|
|
6257
6347
|
};
|
|
6258
6348
|
}): Promise<any>;
|
|
6259
6349
|
|
|
@@ -6298,6 +6388,12 @@ export class AthomCloudAPI {
|
|
|
6298
6388
|
apps: Array<any>;
|
|
6299
6389
|
|
|
6300
6390
|
devices: Array<any>;
|
|
6391
|
+
|
|
6392
|
+
eMMCestLifeTimeA: number;
|
|
6393
|
+
|
|
6394
|
+
eMMCestLifeTimeB: number;
|
|
6395
|
+
|
|
6396
|
+
eMMCpreEOLInfo: number;
|
|
6301
6397
|
};
|
|
6302
6398
|
}): Promise<any>;
|
|
6303
6399
|
|
|
@@ -7081,6 +7177,12 @@ export class AthomStoreAPI {
|
|
|
7081
7177
|
|
|
7082
7178
|
getOffer(opts: { offerId: string }): Promise<any>;
|
|
7083
7179
|
|
|
7180
|
+
redeemReferAFriend(opts: {
|
|
7181
|
+
paymentProvider?: string;
|
|
7182
|
+
|
|
7183
|
+
inviterId?: string;
|
|
7184
|
+
}): Promise<any>;
|
|
7185
|
+
|
|
7084
7186
|
redeemOffer(opts: {
|
|
7085
7187
|
offerId: string;
|
|
7086
7188
|
|
|
@@ -7099,6 +7201,8 @@ export class AthomStoreAPI {
|
|
|
7099
7201
|
subscriptionQuantity?: number;
|
|
7100
7202
|
|
|
7101
7203
|
subscriptionDuration?: string;
|
|
7204
|
+
|
|
7205
|
+
newCustomersOnly?: boolean;
|
|
7102
7206
|
}): Promise<any>;
|
|
7103
7207
|
|
|
7104
7208
|
getOffers(): Promise<any>;
|
|
@@ -7283,6 +7387,12 @@ export class AthomStoreAPI {
|
|
|
7283
7387
|
|
|
7284
7388
|
getOffer(opts: { offerId: string }): Promise<any>;
|
|
7285
7389
|
|
|
7390
|
+
redeemReferAFriend(opts: {
|
|
7391
|
+
paymentProvider?: string;
|
|
7392
|
+
|
|
7393
|
+
inviterId?: string;
|
|
7394
|
+
}): Promise<any>;
|
|
7395
|
+
|
|
7286
7396
|
redeemOffer(opts: {
|
|
7287
7397
|
offerId: string;
|
|
7288
7398
|
|
|
@@ -7301,6 +7411,8 @@ export class AthomStoreAPI {
|
|
|
7301
7411
|
subscriptionQuantity?: number;
|
|
7302
7412
|
|
|
7303
7413
|
subscriptionDuration?: string;
|
|
7414
|
+
|
|
7415
|
+
newCustomersOnly?: boolean;
|
|
7304
7416
|
}): Promise<any>;
|
|
7305
7417
|
|
|
7306
7418
|
getOffers(): Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homey-api",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.28",
|
|
4
4
|
"description": "Homey API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"test": "jest --verbose",
|
|
16
16
|
"lint": "eslint .",
|
|
17
17
|
"serve": "concurrently \"serve jsdoc/\" \"npm run jsdoc:watch\"",
|
|
18
|
-
"build": "npm run build:specs
|
|
18
|
+
"build": "npm run build:specs && npm run build:jsdoc && npm run build:types && npm run build:webpack;",
|
|
19
19
|
"build:webpack": "npm run webpack",
|
|
20
20
|
"build:webpack:watch": "npm run webpack:watch",
|
|
21
21
|
"build:types": "npm run generate-types;",
|