meemup-library 1.3.4 → 1.3.5
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.
|
@@ -10,6 +10,7 @@ import ICalculateFeeResult from "../ICalculateFeeResult";
|
|
|
10
10
|
import IOrderDetails from "../print/IOrderDetails";
|
|
11
11
|
import EnumPickupInstruction from "../../enums/EnumPickupInstruction";
|
|
12
12
|
import IOrderPayment from "./IOrderPayment";
|
|
13
|
+
import IPointOfSaleElavonTerminalDevice from "../pos/IPointOfSaleElavonTerminalDevice";
|
|
13
14
|
interface IOrder {
|
|
14
15
|
id: number;
|
|
15
16
|
number: number;
|
|
@@ -83,6 +84,7 @@ interface IOrder {
|
|
|
83
84
|
draftOrder: boolean;
|
|
84
85
|
points: number;
|
|
85
86
|
paymentTransactions: IOrderPayment[];
|
|
87
|
+
elavonDevice: IPointOfSaleElavonTerminalDevice;
|
|
86
88
|
}
|
|
87
89
|
export default IOrder;
|
|
88
90
|
export declare const initOrder: IOrder;
|
|
@@ -6,6 +6,7 @@ import EnumPaymentType from "../../enums/EnumPaymentType";
|
|
|
6
6
|
import { INIT_TERMINAL } from "../../statics";
|
|
7
7
|
import EnumPaymentState from "../../enums/EnumPaymentState";
|
|
8
8
|
import EnumPickupInstruction from "../../enums/EnumPickupInstruction";
|
|
9
|
+
import { initPointOfSaleElavonTerminalDevice } from "../pos/IPointOfSaleElavonTerminalDevice";
|
|
9
10
|
export const initOrder = {
|
|
10
11
|
id: -1,
|
|
11
12
|
number: 0,
|
|
@@ -87,5 +88,6 @@ export const initOrder = {
|
|
|
87
88
|
openOrder: false,
|
|
88
89
|
draftOrder: false,
|
|
89
90
|
points: 0,
|
|
90
|
-
paymentTransactions: []
|
|
91
|
+
paymentTransactions: [],
|
|
92
|
+
elavonDevice: initPointOfSaleElavonTerminalDevice
|
|
91
93
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
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.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.3.5\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|