meemup-library 1.4.69 → 1.4.70
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/dist/interfaces/pos/IPointOfSaleCompactOrderDetail.d.ts +16 -0
- package/dist/interfaces/pos/IPointOfSaleCompactOrderDetail.js +14 -0
- package/dist/interfaces/pos/IPointOfSaleCompactOrderDetailProduct.d.ts +14 -0
- package/dist/interfaces/pos/IPointOfSaleCompactOrderDetailProduct.js +12 -0
- package/dist/interfaces/pos/IPointOfSaleCompactOrderDetailProductExtra.d.ts +12 -0
- package/dist/interfaces/pos/IPointOfSaleCompactOrderDetailProductExtra.js +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import IPointOfSaleCompactOrderDetailProduct from "./IPointOfSaleCompactOrderDetailProduct";
|
|
2
|
+
export default interface IPointOfSaleCompactOrderDetail {
|
|
3
|
+
id: number;
|
|
4
|
+
tableId: number | null;
|
|
5
|
+
number: number;
|
|
6
|
+
taxPercentage: number;
|
|
7
|
+
taxAmount: number;
|
|
8
|
+
tipPercentage: number;
|
|
9
|
+
tipAmount: number;
|
|
10
|
+
serviceFee: number;
|
|
11
|
+
companyFee: number;
|
|
12
|
+
packagingCosts: number;
|
|
13
|
+
roundedAmount: number;
|
|
14
|
+
products: IPointOfSaleCompactOrderDetailProduct[];
|
|
15
|
+
}
|
|
16
|
+
export declare const initPointOfSaleCompactOrderDetail: IPointOfSaleCompactOrderDetail;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const initPointOfSaleCompactOrderDetail = {
|
|
2
|
+
id: 0,
|
|
3
|
+
tableId: null,
|
|
4
|
+
number: 0,
|
|
5
|
+
taxPercentage: 0,
|
|
6
|
+
taxAmount: 0,
|
|
7
|
+
tipPercentage: 0,
|
|
8
|
+
tipAmount: 0,
|
|
9
|
+
serviceFee: 0,
|
|
10
|
+
companyFee: 0,
|
|
11
|
+
packagingCosts: 0,
|
|
12
|
+
roundedAmount: 0,
|
|
13
|
+
products: []
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IPointOfSaleCompactOrderDetailProductExtra from "./IPointOfSaleCompactOrderDetailProductExtra";
|
|
2
|
+
export default interface IPointOfSaleCompactOrderDetailProduct {
|
|
3
|
+
id: number;
|
|
4
|
+
productId: number;
|
|
5
|
+
quantity: number;
|
|
6
|
+
price: number;
|
|
7
|
+
totalAmount: number;
|
|
8
|
+
discount: number;
|
|
9
|
+
additionalText: string | null;
|
|
10
|
+
note: string | null;
|
|
11
|
+
tags: string[] | null;
|
|
12
|
+
extras: IPointOfSaleCompactOrderDetailProductExtra[];
|
|
13
|
+
}
|
|
14
|
+
export declare const initPointOfSaleCompactOrderDetailProduct: IPointOfSaleCompactOrderDetailProduct;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default interface IPointOfSaleCompactOrderDetailProductExtra {
|
|
2
|
+
id: number;
|
|
3
|
+
extraId: number;
|
|
4
|
+
extraItemId: number;
|
|
5
|
+
extraItemOptionId: number | null;
|
|
6
|
+
extraItemOptionTitle: string | null;
|
|
7
|
+
price: number;
|
|
8
|
+
quantity: number;
|
|
9
|
+
priority: number;
|
|
10
|
+
pizzaSide: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const initPointOfSaleCompactOrderDetailProductExtra: IPointOfSaleCompactOrderDetailProductExtra;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.70",
|
|
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.4.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.4.70\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|