meemup-library 1.1.87 → 1.1.89

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.
@@ -36,6 +36,9 @@ export interface ISaveOrder {
36
36
  deviceId: string | null;
37
37
  zoneId: number | null;
38
38
  referenceId: string;
39
+ pickupInstructions: string;
40
+ openOrder: boolean;
41
+ draftOrder: boolean;
39
42
  }
40
43
  export interface ISaveOrderAnswer {
41
44
  orderId: number;
@@ -1,5 +1,6 @@
1
1
  import ICompanyFee from "./ICompanyFee";
2
2
  import IPrinterAndPrintCount from "./IPrinterAndPrintCount";
3
+ import ITextValue from "./ITextValue";
3
4
  interface ISetting {
4
5
  autoPrintOnNewOrder: boolean;
5
6
  autoPrintOnNewOrderWhen: number;
@@ -26,20 +27,14 @@ interface ISetting {
26
27
  tax: number;
27
28
  taxTitle: string;
28
29
  fees: ICompanyFee[];
29
- firstPageAfterLogin: "dashboard" | "order" | "logs" | "settings" | "management" | "printer" | "reports";
30
- orderAccess: boolean;
31
- logsAccess: boolean;
32
- settingsAccess: boolean;
33
- managementAccess: boolean;
34
- printerAccess: boolean;
35
- reportsAccess: boolean;
36
- dashboardAccess: boolean;
30
+ firstPageAfterLogin: string;
37
31
  availablePaymentTypes: number[];
38
32
  customerMandatoryType: number;
39
33
  startingOrderNumberFrom: number;
40
34
  additionalPickupInstructions: boolean;
41
35
  coloredTiles: boolean;
42
36
  displayImages: boolean;
37
+ additionalPickupInstructionsTypes: ITextValue[];
43
38
  }
44
39
  export default ISetting;
45
40
  export declare const initSetting: ISetting;
@@ -28,17 +28,18 @@ export const initSetting = {
28
28
  diningMinimumTime: 15,
29
29
  fees: [],
30
30
  firstPageAfterLogin: "dashboard",
31
- dashboardAccess: true,
32
- orderAccess: true,
33
- logsAccess: true,
34
- settingsAccess: true,
35
- managementAccess: true,
36
- printerAccess: true,
37
- reportsAccess: true,
31
+ // dashboardAccess: true,
32
+ // orderAccess: true,
33
+ // logsAccess: true,
34
+ // settingsAccess: true,
35
+ // managementAccess: true,
36
+ // printerAccess: true,
37
+ // reportsAccess: true,
38
38
  availablePaymentTypes: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
39
39
  customerMandatoryType: 1,
40
40
  startingOrderNumberFrom: 1000,
41
41
  additionalPickupInstructions: false,
42
42
  coloredTiles: false,
43
43
  displayImages: false,
44
+ additionalPickupInstructionsTypes: [],
44
45
  };
@@ -1,4 +1,5 @@
1
1
  import EnumOrientation from "../enums/EnumOrientation";
2
+ import TActionStatus from "../types/TActionStatus";
2
3
  import TApiStatus from "../types/TApiStatus";
3
4
  import IOrderDetails from "./print/IOrderDetails";
4
5
  interface IWorkScreen {
@@ -12,6 +13,7 @@ interface IWorkScreen {
12
13
  apiCancelRequests: TApiStatus;
13
14
  detail: IOrderDetails | null;
14
15
  showLogScreen: boolean;
16
+ task: TActionStatus;
15
17
  }
16
18
  export default IWorkScreen;
17
19
  export declare const initWorkScreen: IWorkScreen;
@@ -10,4 +10,5 @@ export const initWorkScreen = {
10
10
  apiCancelRequests: "FREE",
11
11
  detail: null,
12
12
  showLogScreen: false,
13
+ task: "FREE"
13
14
  };
@@ -76,6 +76,9 @@ interface IOrder {
76
76
  numberOfAttempts: number;
77
77
  referenceId: string;
78
78
  additionalPickupInstructions: EnumPickupInstruction;
79
+ pickupInstructions: string;
80
+ openOrder: boolean;
81
+ draftOrder: boolean;
79
82
  }
80
83
  export default IOrder;
81
84
  export declare const initOrder: IOrder;
@@ -81,8 +81,8 @@ export const initOrder = {
81
81
  freeze: false,
82
82
  numberOfAttempts: 0,
83
83
  referenceId: "",
84
- additionalPickupInstructions: EnumPickupInstruction.Packed
85
- // previousTotalAmount: 0,
86
- // previousOrderAmount : 0,
87
- // previousPaymentState: EnumPaymentState.NOT_PAID
84
+ additionalPickupInstructions: EnumPickupInstruction.Packed,
85
+ pickupInstructions: "",
86
+ openOrder: false,
87
+ draftOrder: false,
88
88
  };
@@ -0,0 +1 @@
1
+ type TTask = "start" | "doing" | "done";
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.1.87",
3
+ "version": "1.1.89",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",