homey-api 1.5.26 → 1.5.27
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.
|
@@ -837,6 +837,23 @@
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
},
|
|
840
|
+
"addHomeyLicense": {
|
|
841
|
+
"path": "/homey/{homeyId}/license/{license}",
|
|
842
|
+
"method": "post",
|
|
843
|
+
"private": true,
|
|
844
|
+
"parameters": {
|
|
845
|
+
"homeyId": {
|
|
846
|
+
"in": "path",
|
|
847
|
+
"type": "string",
|
|
848
|
+
"required": true
|
|
849
|
+
},
|
|
850
|
+
"license": {
|
|
851
|
+
"in": "path",
|
|
852
|
+
"type": "string",
|
|
853
|
+
"required": true
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
},
|
|
840
857
|
"createHomeyUser": {
|
|
841
858
|
"path": "/homey/{homeyId}/user",
|
|
842
859
|
"method": "post",
|
|
@@ -329,6 +329,32 @@
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
|
+
"deferSubscription": {
|
|
333
|
+
"path": "/subscription/defer",
|
|
334
|
+
"method": "post",
|
|
335
|
+
"parameters": {
|
|
336
|
+
"sku": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"in": "body"
|
|
339
|
+
},
|
|
340
|
+
"packageName": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"in": "body"
|
|
343
|
+
},
|
|
344
|
+
"athomId": {
|
|
345
|
+
"type": "string",
|
|
346
|
+
"in": "body"
|
|
347
|
+
},
|
|
348
|
+
"quantity": {
|
|
349
|
+
"type": "number",
|
|
350
|
+
"in": "body"
|
|
351
|
+
},
|
|
352
|
+
"duration": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"in": "body"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
332
358
|
"getExpiredSubscriptions": {
|
|
333
359
|
"path": "/subscription/expired",
|
|
334
360
|
"method": "post",
|
|
@@ -2534,6 +2534,29 @@
|
|
|
2534
2534
|
|
|
2535
2535
|
|
|
2536
2536
|
|
|
2537
|
+
):
|
|
2538
|
+
Promise<any>;
|
|
2539
|
+
|
|
2540
|
+
addHomeyLicense(
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
opts: {
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
homeyId: string,
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
|
|
2552
|
+
license: string,
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
},
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
|
|
2537
2560
|
):
|
|
2538
2561
|
Promise<any>;
|
|
2539
2562
|
|
|
@@ -4619,6 +4642,41 @@
|
|
|
4619
4642
|
|
|
4620
4643
|
|
|
4621
4644
|
|
|
4645
|
+
):
|
|
4646
|
+
Promise<any>;
|
|
4647
|
+
|
|
4648
|
+
deferSubscription(
|
|
4649
|
+
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
|
|
4653
|
+
opts: {
|
|
4654
|
+
|
|
4655
|
+
|
|
4656
|
+
sku: string,
|
|
4657
|
+
|
|
4658
|
+
|
|
4659
|
+
|
|
4660
|
+
packageName: string,
|
|
4661
|
+
|
|
4662
|
+
|
|
4663
|
+
|
|
4664
|
+
athomId: string,
|
|
4665
|
+
|
|
4666
|
+
|
|
4667
|
+
|
|
4668
|
+
quantity: number,
|
|
4669
|
+
|
|
4670
|
+
|
|
4671
|
+
|
|
4672
|
+
duration: string,
|
|
4673
|
+
|
|
4674
|
+
|
|
4675
|
+
},
|
|
4676
|
+
|
|
4677
|
+
|
|
4678
|
+
|
|
4679
|
+
|
|
4622
4680
|
):
|
|
4623
4681
|
Promise<any>;
|
|
4624
4682
|
|
|
@@ -5532,6 +5590,19 @@
|
|
|
5532
5590
|
):
|
|
5533
5591
|
string;
|
|
5534
5592
|
|
|
5593
|
+
promiseAny(
|
|
5594
|
+
|
|
5595
|
+
|
|
5596
|
+
|
|
5597
|
+
|
|
5598
|
+
promises: Array<Promise>,
|
|
5599
|
+
|
|
5600
|
+
|
|
5601
|
+
|
|
5602
|
+
|
|
5603
|
+
):
|
|
5604
|
+
Promise<any>;
|
|
5605
|
+
|
|
5535
5606
|
}
|
|
5536
5607
|
|
|
5537
5608
|
|