meemup-library 1.5.69 → 1.5.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.
@@ -0,0 +1,6 @@
1
+ declare enum EnumNotifyNewReservation {
2
+ NoAction = 0,
3
+ Notifiy = 1,
4
+ PopupDetail = 2
5
+ }
6
+ export default EnumNotifyNewReservation;
@@ -0,0 +1,7 @@
1
+ var EnumNotifyNewReservation;
2
+ (function (EnumNotifyNewReservation) {
3
+ EnumNotifyNewReservation[EnumNotifyNewReservation["NoAction"] = 0] = "NoAction";
4
+ EnumNotifyNewReservation[EnumNotifyNewReservation["Notifiy"] = 1] = "Notifiy";
5
+ EnumNotifyNewReservation[EnumNotifyNewReservation["PopupDetail"] = 2] = "PopupDetail";
6
+ })(EnumNotifyNewReservation || (EnumNotifyNewReservation = {}));
7
+ export default EnumNotifyNewReservation;
@@ -1,4 +1,5 @@
1
1
  import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
2
+ import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
2
3
  import EnumNotifyOnlineStoreNewOrder from "../../enums/EnumNotifyOnlineStoreNewOrder";
3
4
  import EnumPaymentState from "../../enums/EnumPaymentState";
4
5
  import EnumPointOfSaleDefaultSaveState from "../../enums/EnumPointOfSaleDefaultSaveState";
@@ -29,6 +30,7 @@ interface IPointOfSaleLocalSetting {
29
30
  timeoutAfterOnePeriodOfSyncLocalOrders: number;
30
31
  timeoutAfterFailSyncOneLocalOrder: number;
31
32
  actionForOnlineStoreNewOrder: EnumNotifyOnlineStoreNewOrder;
33
+ actionForNewReservation: EnumNotifyNewReservation;
32
34
  defaultCashPaymentState: EnumPaymentState;
33
35
  defaultDebitMachinePaymentState: EnumPaymentState;
34
36
  defaultTerminalPaymentState: EnumPaymentState;
@@ -1,4 +1,5 @@
1
1
  import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
2
+ import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
2
3
  import EnumNotifyOnlineStoreNewOrder from "../../enums/EnumNotifyOnlineStoreNewOrder";
3
4
  import EnumPaymentState from "../../enums/EnumPaymentState";
4
5
  import EnumPointOfSaleDefaultSaveState from "../../enums/EnumPointOfSaleDefaultSaveState";
@@ -25,6 +26,7 @@ export const initPointOfSaleLocalSetting = {
25
26
  timeoutAfterOnePeriodOfSyncLocalOrders: 300,
26
27
  timeoutAfterFailSyncOneLocalOrder: 15,
27
28
  actionForOnlineStoreNewOrder: EnumNotifyOnlineStoreNewOrder.NOTIFY_AND_OPEN_IF_POSSIBLE,
29
+ actionForNewReservation: EnumNotifyNewReservation.PopupDetail,
28
30
  defaultCashPaymentState: EnumPaymentState.NotPaid,
29
31
  defaultDebitMachinePaymentState: EnumPaymentState.NotPaid,
30
32
  defaultTerminalPaymentState: EnumPaymentState.NotPaid,
@@ -21,5 +21,8 @@ export default interface IPointOfSalePrintPlan {
21
21
  cashDrawerActOnPaymentTypes: EnumPaymentType[];
22
22
  cashDrawerActOnOrderTypes: EnumOrderType[];
23
23
  printInformationInPhotoFormat: boolean;
24
+ printWhenReservationCreated: boolean;
25
+ printWhenUserAcceptReservation: boolean;
26
+ printWhenUserRejectReservation: boolean;
24
27
  }
25
28
  export declare const initPointOfSalePrintPlan: IPointOfSalePrintPlan;
@@ -19,5 +19,8 @@ export const initPointOfSalePrintPlan = {
19
19
  openCashDrawerWhenPaidOrder: true,
20
20
  cashDrawerActOnPaymentTypes: [EnumPaymentType.Cash],
21
21
  cashDrawerActOnOrderTypes: [EnumOrderType.delivery, EnumOrderType.pickup, EnumOrderType.dining],
22
- printInformationInPhotoFormat: false
22
+ printInformationInPhotoFormat: false,
23
+ printWhenReservationCreated: true,
24
+ printWhenUserAcceptReservation: false,
25
+ printWhenUserRejectReservation: false,
23
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.69",
3
+ "version": "1.5.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.5.69\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.70\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"