@emilgroup/discount-sdk 1.3.0 → 1.3.1-beta.0
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.
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/discount-sdk@1.3.0 --save
|
|
20
|
+
npm install @emilgroup/discount-sdk@1.3.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/discount-sdk@1.3.0
|
|
24
|
+
yarn add @emilgroup/discount-sdk@1.3.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CampaignApi`.
|
|
@@ -81,6 +81,12 @@ export interface ChargePolicyVoucherResponseClass {
|
|
|
81
81
|
* @memberof ChargePolicyVoucherResponseClass
|
|
82
82
|
*/
|
|
83
83
|
'chargedAmount': number;
|
|
84
|
+
/**
|
|
85
|
+
* The end date of the voucher discount. Calculated based on the policy start date and the voucher duration.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ChargePolicyVoucherResponseClass
|
|
88
|
+
*/
|
|
89
|
+
'discountEndDate': string;
|
|
84
90
|
}
|
|
85
91
|
export declare const ChargePolicyVoucherResponseClassStatusEnum: {
|
|
86
92
|
readonly Redeemable: "REDEEMABLE";
|
|
@@ -84,6 +84,12 @@ export interface PolicyVoucherClass {
|
|
|
84
84
|
* @memberof PolicyVoucherClass
|
|
85
85
|
*/
|
|
86
86
|
'redeemedAt': string;
|
|
87
|
+
/**
|
|
88
|
+
* The end date of the voucher discount. Calculated based on the policy start date and the voucher duration.
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof PolicyVoucherClass
|
|
91
|
+
*/
|
|
92
|
+
'discountEndDate': string;
|
|
87
93
|
/**
|
|
88
94
|
* The remaining number of months left in the voucher to use
|
|
89
95
|
* @type {number}
|
|
@@ -86,6 +86,12 @@ export interface ChargePolicyVoucherResponseClass {
|
|
|
86
86
|
* @memberof ChargePolicyVoucherResponseClass
|
|
87
87
|
*/
|
|
88
88
|
'chargedAmount': number;
|
|
89
|
+
/**
|
|
90
|
+
* The end date of the voucher discount. Calculated based on the policy start date and the voucher duration.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ChargePolicyVoucherResponseClass
|
|
93
|
+
*/
|
|
94
|
+
'discountEndDate': string;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
export const ChargePolicyVoucherResponseClassStatusEnum = {
|
|
@@ -89,6 +89,12 @@ export interface PolicyVoucherClass {
|
|
|
89
89
|
* @memberof PolicyVoucherClass
|
|
90
90
|
*/
|
|
91
91
|
'redeemedAt': string;
|
|
92
|
+
/**
|
|
93
|
+
* The end date of the voucher discount. Calculated based on the policy start date and the voucher duration.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PolicyVoucherClass
|
|
96
|
+
*/
|
|
97
|
+
'discountEndDate': string;
|
|
92
98
|
/**
|
|
93
99
|
* The remaining number of months left in the voucher to use
|
|
94
100
|
* @type {number}
|