meemup-library 1.2.23 → 1.2.25

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.
@@ -0,0 +1,5 @@
1
+ declare enum EnumRewardPointType {
2
+ PerOrder = 1,
3
+ PerAmount = 2
4
+ }
5
+ export default EnumRewardPointType;
@@ -0,0 +1,6 @@
1
+ var EnumRewardPointType;
2
+ (function (EnumRewardPointType) {
3
+ EnumRewardPointType[EnumRewardPointType["PerOrder"] = 1] = "PerOrder";
4
+ EnumRewardPointType[EnumRewardPointType["PerAmount"] = 2] = "PerAmount";
5
+ })(EnumRewardPointType || (EnumRewardPointType = {}));
6
+ export default EnumRewardPointType;
@@ -53,7 +53,7 @@ export default interface IProduct {
53
53
  packagingCosts: number;
54
54
  depositCost: number;
55
55
  tags: string[] | null;
56
- taxable: boolean;
56
+ taxable: boolean | null;
57
57
  thumbnailImage: string;
58
58
  weight: number;
59
59
  size: number;
@@ -18,6 +18,6 @@ interface IOrderItem {
18
18
  promotionItem: boolean;
19
19
  promotionId: number;
20
20
  stampCardBonusItem: boolean;
21
- taxable: boolean;
21
+ taxable: boolean | null;
22
22
  }
23
23
  export default IOrderItem;
@@ -1,7 +1,7 @@
1
- import EnumRewarddPointType from "../../enums/EnumRewarddPointType";
1
+ import EnumRewardPointType from "../../enums/EnumRewardPointType";
2
2
  export default interface IPointOfSaleSettingRewardProgram {
3
3
  state: boolean;
4
- rewardsPoints: EnumRewarddPointType;
4
+ rewardsPoints: EnumRewardPointType;
5
5
  rewardsNumberOfPoints: number;
6
6
  rewardsValuePerPoint: number;
7
7
  rewardsMaxPointsPerOrder: number;
@@ -1,7 +1,7 @@
1
- import EnumRewarddPointType from "../../enums/EnumRewarddPointType";
1
+ import EnumRewardPointType from "../../enums/EnumRewardPointType";
2
2
  export const initPointOfSaleSettingRewardProgram = {
3
3
  state: false,
4
- rewardsPoints: EnumRewarddPointType.PerOrder,
4
+ rewardsPoints: EnumRewardPointType.PerOrder,
5
5
  rewardsNumberOfPoints: 0,
6
6
  rewardsValuePerPoint: 0,
7
7
  rewardsMaxPointsPerOrder: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.2.23",
3
+ "version": "1.2.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.2.23\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.2.25\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"
@@ -1,5 +0,0 @@
1
- declare enum EnumRewarddPointType {
2
- PerOrder = 1,
3
- PerAmount = 2
4
- }
5
- export default EnumRewarddPointType;
@@ -1,6 +0,0 @@
1
- var EnumRewarddPointType;
2
- (function (EnumRewarddPointType) {
3
- EnumRewarddPointType[EnumRewarddPointType["PerOrder"] = 1] = "PerOrder";
4
- EnumRewarddPointType[EnumRewarddPointType["PerAmount"] = 2] = "PerAmount";
5
- })(EnumRewarddPointType || (EnumRewarddPointType = {}));
6
- export default EnumRewarddPointType;