meemup-library 1.1.88 → 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.
|
@@ -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:
|
|
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
|
};
|
|
@@ -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
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
additionalPickupInstructions: EnumPickupInstruction.Packed,
|
|
85
|
+
pickupInstructions: "",
|
|
86
|
+
openOrder: false,
|
|
87
|
+
draftOrder: false,
|
|
88
88
|
};
|