meemup-library 1.4.15 → 1.4.17

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.
@@ -1,6 +1,15 @@
1
+ import IPointOfSaleActionFormCashDrawer from "./IPointOfSaleActionFormCashDrawer";
1
2
  export default interface IPointOfSalePrintAction {
2
- model: "star" | "epson" | "others";
3
- type: "CustomerOrderPaid" | "CustomerOrderSaved" | "KitchenOrderSaved" | "KitchenOrderPaid" | "CashDrawer" | "Report" | "Markup";
3
+ model?: "star" | "epson" | "others";
4
4
  orderId: number;
5
- markup: string;
5
+ orderNumber: number;
6
+ templateId: number;
7
+ count: number;
8
+ macAddress: string;
9
+ customPrint: boolean;
10
+ type: "PrintMarkup" | "UserPrintOrder" | "NewOnlineStoreOrder" | "CustomerOrderPaid" | "CustomerOrderSaved" | "KitchenOrderSaved" | "KitchenOrderPaid" | "DailyReport" | "OpenCashDrawer" | "CashDrawer";
11
+ data: any;
12
+ note?: string;
13
+ cashDrawer?: IPointOfSaleActionFormCashDrawer;
14
+ markup?: string;
6
15
  }
@@ -1,7 +1,6 @@
1
1
  import IAccount from "../IAccount";
2
2
  import IPointOfSaleLocalSetting from "./IPointOfSaleLocalSetting";
3
3
  import IPaymentStatusChanged from "../IPaymentStatusChanged";
4
- import IStarMicronicPrintTask from "../IStarMicronicPrintTask";
5
4
  import IPointOfSaleOrder from "./IPointOfSaleOrder";
6
5
  import ICancelRequest from "../ICancelRequest";
7
6
  import IPointOfSaleOrderSummary from "./IPointOfSaleOrderSummary";
@@ -14,6 +13,7 @@ import IPointOfSaleWifi from "../../types/IPointOfSaleWifi";
14
13
  import THardwareStatus from "../../types/THardwareStatus";
15
14
  import IOrderDetails from "../print/IOrderDetails";
16
15
  import TApiStatus from "../../types/TApiStatus";
16
+ import IPointOfSalePrintAction from "./IPointOfSalePrintAction";
17
17
  interface IPointOfSaleStore {
18
18
  account: IAccount;
19
19
  order: IPointOfSaleOrder;
@@ -21,7 +21,7 @@ interface IPointOfSaleStore {
21
21
  cancelRequests: ICancelRequest[];
22
22
  localOrders: IPointOfSaleOrder[];
23
23
  isConnected: boolean;
24
- starMicronicTasks: IStarMicronicPrintTask[];
24
+ starMicronicTasks: IPointOfSalePrintAction[];
25
25
  localSetting: IPointOfSaleLocalSetting;
26
26
  setting: IPointOfSaleSetting;
27
27
  customPayment: IPaymentStatusChanged;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.15",
3
+ "version": "1.4.17",
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.15 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.17 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"