meemup-library 1.3.70 → 1.3.71

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.
@@ -9,7 +9,7 @@ import EnumPaymentState from "../../enums/EnumPaymentState";
9
9
  import ICalculateFeeResult from "../ICalculateFeeResult";
10
10
  import IOrderDetails from "../print/IOrderDetails";
11
11
  import EnumPickupInstruction from "../../enums/EnumPickupInstruction";
12
- import IPointOfSaleOrderPayment from "./IPointOfSaleOrderPayment";
12
+ import IPointOfSaleOrderTransaction from "./IPointOfSaleOrderTransaction";
13
13
  import IPointOfSaleElavonTerminalDevice from "./IPointOfSaleElavonTerminalDevice";
14
14
  interface IPointOfSaleOrder {
15
15
  id: number;
@@ -83,7 +83,7 @@ interface IPointOfSaleOrder {
83
83
  openOrder: boolean;
84
84
  draftOrder: boolean;
85
85
  points: number;
86
- paymentTransactions: IPointOfSaleOrderPayment[];
86
+ paymentTransactions: IPointOfSaleOrderTransaction[];
87
87
  elavonDevice: IPointOfSaleElavonTerminalDevice;
88
88
  elavonTransaction: object | null;
89
89
  }
@@ -1,5 +1,5 @@
1
1
  import EnumPaymentType from "../../enums/EnumPaymentType";
2
- export default interface IPointOfSaleOrderPayment {
2
+ export default interface IPointOfSaleOrderTransaction {
3
3
  id: number;
4
4
  dateTime: string;
5
5
  paymentType: EnumPaymentType;
@@ -13,4 +13,5 @@ export default interface IPointOfSaleOrderPayment {
13
13
  data: object | null;
14
14
  oldId?: number;
15
15
  refundAmount?: number;
16
+ lastFourDigits: string;
16
17
  }
@@ -1,9 +1,9 @@
1
- import IPointOfSaleOrderPayment from "./IPointOfSaleOrderPayment";
1
+ import IPointOfSaleOrderTransaction from "./IPointOfSaleOrderTransaction";
2
2
  import IPointOfSaleRefundFormItem from "./IPointOfSaleRefundFormItem";
3
3
  export default interface IPointOfSaleRefundForm {
4
4
  tip: number;
5
5
  items: IPointOfSaleRefundFormItem[];
6
6
  moneyToBeReturned: number;
7
- paymentTransactions: IPointOfSaleOrderPayment[];
7
+ paymentTransactions: IPointOfSaleOrderTransaction[];
8
8
  }
9
9
  export declare const initPointOfSaleRefundForm: IPointOfSaleRefundForm;
@@ -1,6 +1,6 @@
1
1
  import ICalculateFeeResult from "../ICalculateFeeResult";
2
2
  import ITextValue from "../ITextValue";
3
- import IPointOfSaleOrderPayment from "./IPointOfSaleOrderPayment";
3
+ import IPointOfSaleOrderTransaction from "./IPointOfSaleOrderTransaction";
4
4
  import IPointOfSaleSaveOrderCustomer from "./IPointOfSaleSaveOrderCustomer";
5
5
  import IPointOfSaleSaveOrderDiscount from "./IPointOfSaleSaveOrderDiscount";
6
6
  import IPointOfSaleSaveOrderProduct from "./IPointOfSaleSaveOrderProduct";
@@ -45,6 +45,6 @@ export default interface IPointOfSaleSaveOrder {
45
45
  openOrder: boolean;
46
46
  draftOrder: boolean;
47
47
  points: number;
48
- paymentTransactions: IPointOfSaleOrderPayment[] | null;
48
+ paymentTransactions: IPointOfSaleOrderTransaction[] | null;
49
49
  paymentMetaData: ITextValue[];
50
50
  }
@@ -8,7 +8,7 @@ import IOrderDetailPaymentInfo from "./IOrderDetailPaymentInfo";
8
8
  import IModifiedDetails from "./IModifiedDetails";
9
9
  import IOrderDetailTimeLine from "./IOrderDetailTimeLine";
10
10
  import IOrderDetailThirdPartyDriver from "./IOrderDetailThirdPartyDriver";
11
- import IPointOfSaleOrderPayment from "../pos/IPointOfSaleOrderPayment";
11
+ import IPointOfSaleOrderTransaction from "../pos/IPointOfSaleOrderTransaction";
12
12
  interface IOrderDetails {
13
13
  order: IOrderDetailOrder;
14
14
  customer: IOrderDetailCustomer;
@@ -24,7 +24,7 @@ interface IOrderDetails {
24
24
  timeline: IOrderDetailTimeLine[];
25
25
  deliveryTrackingUrl: string;
26
26
  thirdPartyDriver: IOrderDetailThirdPartyDriver | null;
27
- paymentTransactions: IPointOfSaleOrderPayment[];
27
+ paymentTransactions: IPointOfSaleOrderTransaction[];
28
28
  }
29
29
  export default IOrderDetails;
30
30
  export declare const initOrderDetails: IOrderDetails;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.70",
3
+ "version": "1.3.71",
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.3.70 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.71 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"