meemup-library 1.4.38 → 1.4.40

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.
@@ -8,5 +8,6 @@ export default interface IManagementOnlineStoreBlock {
8
8
  backgroundColor: string;
9
9
  background: boolean;
10
10
  imageLocation: number;
11
+ route: string;
11
12
  }
12
13
  export declare const initManagementOnlineStoreBlock: IManagementOnlineStoreBlock;
@@ -7,5 +7,6 @@ export const initManagementOnlineStoreBlock = {
7
7
  content: "",
8
8
  backgroundColor: "#fff",
9
9
  background: false,
10
- imageLocation: 2
10
+ imageLocation: 2,
11
+ route: "/"
11
12
  };
@@ -12,7 +12,7 @@ import { initPointOfSaleSettingTemplateReceipt } from "./IPointOfSaleSettingTemp
12
12
  export const initPointOfSaleLocalSetting = {
13
13
  defaultTerminal: INIT_TERMINAL,
14
14
  deskCount: 10,
15
- newOrderWarning: EnumNewOrderWarning.ONCE_ALARM,
15
+ newOrderWarning: EnumNewOrderWarning.REPEAT_ALARM,
16
16
  startingOrderNumberFrom: 1000,
17
17
  isMaster: true,
18
18
  udpPort: 8000,
@@ -24,7 +24,7 @@ export const initPointOfSaleLocalSetting = {
24
24
  broadcastIpAddress: "127.0.0.255",
25
25
  timeoutAfterOnePeriodOfSyncLocalOrders: 300,
26
26
  timeoutAfterFailSyncOneLocalOrder: 15,
27
- actionForOnlineStoreNewOrder: EnumNotifyOnlineStoreNewOrder.ONLY_NOTIFY,
27
+ actionForOnlineStoreNewOrder: EnumNotifyOnlineStoreNewOrder.NOTIFY_AND_OPEN_IF_POSSIBLE,
28
28
  defaultCashPaymentState: EnumPaymentState.NotPaid,
29
29
  defaultDebitMachinePaymentState: EnumPaymentState.NotPaid,
30
30
  defaultTerminalPaymentState: EnumPaymentState.NotPaid,
@@ -1,4 +1,5 @@
1
1
  import EnumPaymentType from "../../enums/EnumPaymentType";
2
+ import ITextValue from "../ITextValue";
2
3
  export default interface IPointOfSaleOrderTransaction {
3
4
  id: number;
4
5
  dateTime: string;
@@ -15,4 +16,5 @@ export default interface IPointOfSaleOrderTransaction {
15
16
  oldId?: number;
16
17
  refundAmount?: number;
17
18
  lastFourDigits: string;
19
+ paymentMetadata: ITextValue[];
18
20
  }
@@ -38,5 +38,6 @@ interface IPointOfSaleStore {
38
38
  serviceSummary: TApiStatus;
39
39
  serviceLocal: TApiStatus;
40
40
  serviceCancel: TApiStatus;
41
+ detailQueue: IOrderDetails[];
41
42
  }
42
43
  export default IPointOfSaleStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.38",
3
+ "version": "1.4.40",
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.38 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.40 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"