meemup-library 1.5.24 → 1.5.26

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.
@@ -60,6 +60,7 @@ interface IPointOfSaleOrder {
60
60
  duration: number;
61
61
  paymentType: EnumPaymentType;
62
62
  paymentState: EnumPaymentState;
63
+ payWithCashAmount: number;
63
64
  displaySubTotal: number;
64
65
  displayTotalAmount: number;
65
66
  displayTip: number;
@@ -92,7 +93,7 @@ interface IPointOfSaleOrder {
92
93
  via: "Pos" | "Online store" | string;
93
94
  channel: EnumChannels;
94
95
  ignoreBundles: number[];
95
- removedBundled?: IBundleProduct[];
96
+ removedBundles: IBundleProduct[];
96
97
  }
97
98
  export default IPointOfSaleOrder;
98
99
  export declare const initOrder: IPointOfSaleOrder;
@@ -64,6 +64,7 @@ export const initOrder = {
64
64
  duration: 0,
65
65
  paymentType: EnumPaymentType.Cash,
66
66
  paymentState: EnumPaymentState.NotPaid,
67
+ payWithCashAmount: 0,
67
68
  displaySubTotal: 0,
68
69
  displayTotalAmount: 0,
69
70
  displayTip: 0,
@@ -100,5 +101,5 @@ export const initOrder = {
100
101
  channel: EnumChannels.POS,
101
102
  // forceRefresh: -1,
102
103
  ignoreBundles: [],
103
- removedBundled: []
104
+ removedBundles: []
104
105
  };
@@ -44,6 +44,7 @@ export default interface IPointOfSaleSaveOrder {
44
44
  deviceId: string | null;
45
45
  zoneId: number | null;
46
46
  referenceId: string;
47
+ payWithCashAmount: number;
47
48
  pickupInstructions: string;
48
49
  openOrder: boolean;
49
50
  draftOrder: boolean;
@@ -43,6 +43,7 @@ interface IOrderDetailOrder {
43
43
  qrCodeDetailUrl: string;
44
44
  discountText: string;
45
45
  withCoupon: boolean;
46
+ payWithCashAmount: number;
46
47
  roundedAmount: number;
47
48
  canCancel: boolean;
48
49
  zoneId?: number | null;
@@ -45,6 +45,7 @@ export const initOrderDetailOrder = {
45
45
  discountText: "",
46
46
  withCoupon: false,
47
47
  roundedAmount: 0,
48
+ payWithCashAmount: 0,
48
49
  canCancel: false,
49
50
  displayOnKitchenDisplay: true,
50
51
  items: [],
@@ -1,6 +1,7 @@
1
1
  import ITextValue from "../ITextValue";
2
2
  interface IOrderDetailPaymentInfo {
3
3
  state: string;
4
+ amount: number;
4
5
  message: string;
5
6
  metadata: ITextValue[];
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.24",
3
+ "version": "1.5.26",
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.5.24\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.26\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"