meemup-library 1.0.72 → 1.0.74
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/IApiPayOnTerminalBody.d.ts +1 -1
- package/dist/interfaces/IApiPayOnTerminalBody.js +1 -1
- package/dist/interfaces/IApiShop.d.ts +0 -2
- package/dist/interfaces/IApiShop.js +0 -2
- package/dist/interfaces/IPointOfSaleStore.d.ts +24 -0
- package/dist/interfaces/IPointOfSaleStore.js +1 -0
- package/dist/interfaces/IPrintTemplate.d.ts +2 -2
- package/dist/interfaces/ISaveOrder.d.ts +1 -1
- package/dist/interfaces/IWorkScreen.d.ts +3 -0
- package/dist/interfaces/IWorkScreen.js +2 -0
- package/dist/interfaces/agent/IPrintOrder.d.ts +1 -0
- package/dist/interfaces/agent/IPrintOrder.js +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import ICategory from "./ICategory";
|
|
|
3
3
|
import IExtra from "./IExtra";
|
|
4
4
|
import ISetting from "./ISetting";
|
|
5
5
|
import IGeneralInformation from "./IGeneralInformation";
|
|
6
|
-
import ISystem from "./ISystem";
|
|
7
6
|
import ICustomer from "./ICustomer";
|
|
8
7
|
import ITextValue from "./ITextValue";
|
|
9
8
|
import ICheckoutOption from "./ICheckoutOption";
|
|
@@ -18,7 +17,6 @@ interface IApiShop {
|
|
|
18
17
|
extras: IExtra[];
|
|
19
18
|
setting: ISetting;
|
|
20
19
|
generalInformation: IGeneralInformation;
|
|
21
|
-
system: ISystem;
|
|
22
20
|
customers: ICustomer[];
|
|
23
21
|
printTemplates: IPrintTemplate[];
|
|
24
22
|
terminals: ITextValue[];
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { initSetting } from "./ISetting";
|
|
2
2
|
import { initGeneralInformation } from "./IGeneralInformation";
|
|
3
|
-
import { initSystem } from "./ISystem";
|
|
4
3
|
import { initCheckoutOption } from "./ICheckoutOption";
|
|
5
4
|
import { initGeneralItems } from "./IGeneralItems";
|
|
6
5
|
export const initApiShop = {
|
|
7
6
|
ok: false,
|
|
8
7
|
extras: [],
|
|
9
|
-
system: initSystem,
|
|
10
8
|
customers: [],
|
|
11
9
|
categories: [],
|
|
12
10
|
generalInformation: initGeneralInformation,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import IAccount from "./IAccount";
|
|
2
|
+
import ILocalSetting from "./ILocalSetting";
|
|
3
|
+
import IOnlineOrderItem from "./IOnlineOrderItem";
|
|
4
|
+
import IOrderScreenState from "./IOrderScreenState";
|
|
5
|
+
import IPaymentStatusChanged from "./IPaymentStatusChanged";
|
|
6
|
+
import IProductModalState from "./IProductModalState";
|
|
7
|
+
import IStarMicronicPrintTask from "./IStarMicronicPrintTask";
|
|
8
|
+
import IWorkScreen from "./IWorkScreen";
|
|
9
|
+
import IOrder from "./order/IOrder";
|
|
10
|
+
interface IPointOfSaleStore {
|
|
11
|
+
account: IAccount;
|
|
12
|
+
orderScreen: IOrderScreenState;
|
|
13
|
+
order: IOrder;
|
|
14
|
+
onlineOrders: IOnlineOrderItem[];
|
|
15
|
+
localOrders: IOrder[];
|
|
16
|
+
orders: IOrder[];
|
|
17
|
+
isConnected: boolean;
|
|
18
|
+
productModals: IProductModalState[];
|
|
19
|
+
starMicronicTasks: IStarMicronicPrintTask[];
|
|
20
|
+
localSetting: ILocalSetting;
|
|
21
|
+
customPayment: IPaymentStatusChanged;
|
|
22
|
+
workScreen: IWorkScreen;
|
|
23
|
+
}
|
|
24
|
+
export default IPointOfSaleStore;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -37,9 +37,9 @@ export default interface IPrintTemplate {
|
|
|
37
37
|
sortProducts: number;
|
|
38
38
|
showCategoryTitle: boolean;
|
|
39
39
|
printOnlyCertainCategories: boolean;
|
|
40
|
-
printOnlyCertainCategoriesList:
|
|
40
|
+
printOnlyCertainCategoriesList: any[];
|
|
41
41
|
printOnlyCertainProducts: boolean;
|
|
42
|
-
printOnlyCertainProductsList:
|
|
42
|
+
printOnlyCertainProductsList: any[];
|
|
43
43
|
textEnd: string;
|
|
44
44
|
textEndCenter: boolean;
|
|
45
45
|
promoCode: string | null;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import TApiStatus from "../types/TApiStatus";
|
|
1
2
|
import IOrderDetails from "./print/IOrderDetails";
|
|
2
3
|
interface IWorkScreen {
|
|
3
4
|
screen: string;
|
|
4
5
|
waitLogOut: boolean;
|
|
5
6
|
waitDestroyToken: boolean;
|
|
6
7
|
waitSyncLocalOrders: boolean;
|
|
8
|
+
apiOnlineOrders: TApiStatus;
|
|
9
|
+
apiShop: TApiStatus;
|
|
7
10
|
detail: IOrderDetails | null;
|
|
8
11
|
}
|
|
9
12
|
export default IWorkScreen;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|