homey-api 1.5.29 → 1.5.30
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.
|
@@ -394,7 +394,33 @@
|
|
|
394
394
|
"type": "string",
|
|
395
395
|
"required": true
|
|
396
396
|
},
|
|
397
|
-
"
|
|
397
|
+
"paymentProvider": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"in": "body"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"createOfferCouponApple": {
|
|
404
|
+
"path": "/offer/coupon_apple",
|
|
405
|
+
"method": "post",
|
|
406
|
+
"parameters": {
|
|
407
|
+
"coupon": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"in": "body"
|
|
410
|
+
},
|
|
411
|
+
"expiresAt": {
|
|
412
|
+
"type": "string",
|
|
413
|
+
"in": "body"
|
|
414
|
+
},
|
|
415
|
+
"subscriptionType": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"in": "body"
|
|
418
|
+
},
|
|
419
|
+
"subscriptionQuantity": {
|
|
420
|
+
"type": "number",
|
|
421
|
+
"in": "body"
|
|
422
|
+
},
|
|
423
|
+
"subscriptionDuration": {
|
|
398
424
|
"type": "string",
|
|
399
425
|
"in": "body"
|
|
400
426
|
}
|
|
@@ -417,6 +443,10 @@
|
|
|
417
443
|
"type": "string",
|
|
418
444
|
"in": "body"
|
|
419
445
|
},
|
|
446
|
+
"campaignId": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"in": "body"
|
|
449
|
+
},
|
|
420
450
|
"subscriptionType": {
|
|
421
451
|
"type": "string",
|
|
422
452
|
"in": "body"
|
|
@@ -4738,7 +4738,42 @@
|
|
|
4738
4738
|
|
|
4739
4739
|
|
|
4740
4740
|
|
|
4741
|
-
|
|
4741
|
+
paymentProvider: string,
|
|
4742
|
+
|
|
4743
|
+
|
|
4744
|
+
},
|
|
4745
|
+
|
|
4746
|
+
|
|
4747
|
+
|
|
4748
|
+
|
|
4749
|
+
):
|
|
4750
|
+
Promise<any>;
|
|
4751
|
+
|
|
4752
|
+
createOfferCouponApple(
|
|
4753
|
+
|
|
4754
|
+
|
|
4755
|
+
|
|
4756
|
+
|
|
4757
|
+
opts: {
|
|
4758
|
+
|
|
4759
|
+
|
|
4760
|
+
coupon: string,
|
|
4761
|
+
|
|
4762
|
+
|
|
4763
|
+
|
|
4764
|
+
expiresAt: string,
|
|
4765
|
+
|
|
4766
|
+
|
|
4767
|
+
|
|
4768
|
+
subscriptionType: string,
|
|
4769
|
+
|
|
4770
|
+
|
|
4771
|
+
|
|
4772
|
+
subscriptionQuantity: number,
|
|
4773
|
+
|
|
4774
|
+
|
|
4775
|
+
|
|
4776
|
+
subscriptionDuration: string,
|
|
4742
4777
|
|
|
4743
4778
|
|
|
4744
4779
|
},
|
|
@@ -4770,6 +4805,10 @@
|
|
|
4770
4805
|
|
|
4771
4806
|
|
|
4772
4807
|
|
|
4808
|
+
campaignId: string,
|
|
4809
|
+
|
|
4810
|
+
|
|
4811
|
+
|
|
4773
4812
|
subscriptionType: string,
|
|
4774
4813
|
|
|
4775
4814
|
|