meemup-library 1.1.97 → 1.1.99

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,11 @@
1
+ declare enum EnumCustomerMandatory {
2
+ NO = 0,
3
+ ONLY_ON_PICKUP = 1,
4
+ ONLY_ON_DELIVERY = 2,
5
+ ONLY_ON_DINING = 3,
6
+ ON_PICKUP_AND_DELIVERY = 4,
7
+ ON_PICKUP_AND_DINING = 5,
8
+ ON_DELIVERY_AND_DINING = 6,
9
+ YES = 7
10
+ }
11
+ export default EnumCustomerMandatory;
@@ -0,0 +1,12 @@
1
+ var EnumCustomerMandatory;
2
+ (function (EnumCustomerMandatory) {
3
+ EnumCustomerMandatory[EnumCustomerMandatory["NO"] = 0] = "NO";
4
+ EnumCustomerMandatory[EnumCustomerMandatory["ONLY_ON_PICKUP"] = 1] = "ONLY_ON_PICKUP";
5
+ EnumCustomerMandatory[EnumCustomerMandatory["ONLY_ON_DELIVERY"] = 2] = "ONLY_ON_DELIVERY";
6
+ EnumCustomerMandatory[EnumCustomerMandatory["ONLY_ON_DINING"] = 3] = "ONLY_ON_DINING";
7
+ EnumCustomerMandatory[EnumCustomerMandatory["ON_PICKUP_AND_DELIVERY"] = 4] = "ON_PICKUP_AND_DELIVERY";
8
+ EnumCustomerMandatory[EnumCustomerMandatory["ON_PICKUP_AND_DINING"] = 5] = "ON_PICKUP_AND_DINING";
9
+ EnumCustomerMandatory[EnumCustomerMandatory["ON_DELIVERY_AND_DINING"] = 6] = "ON_DELIVERY_AND_DINING";
10
+ EnumCustomerMandatory[EnumCustomerMandatory["YES"] = 7] = "YES";
11
+ })(EnumCustomerMandatory || (EnumCustomerMandatory = {}));
12
+ export default EnumCustomerMandatory;
@@ -1,11 +1,7 @@
1
1
  import ITextValue from "./ITextValue";
2
2
  export default interface IGeneralItems {
3
- onlinePayStateTypes: ITextValue[];
4
- debitAtPayStateTypes: ITextValue[];
5
- paymentTypes: ITextValue[];
6
3
  availableTypes: ITextValue[];
7
- amountDiscountTypes: ITextValue[];
8
- authorizationTypes: ITextValue[];
4
+ availableForOrderingTypes: ITextValue[];
9
5
  orderInitiallyItems: ITextValue[];
10
6
  alertSoundItems: ITextValue[];
11
7
  alertPlayTimeItems: ITextValue[];
@@ -13,6 +9,7 @@ export default interface IGeneralItems {
13
9
  priorityItems: ITextValue[];
14
10
  downloadFileItems: ITextValue[];
15
11
  deliveryTimingItems: ITextValue[];
12
+ calculateDistanceItems: ITextValue[];
16
13
  rewardsPointItems: ITextValue[];
17
14
  languages: ITextValue[];
18
15
  currencies: ITextValue[];
@@ -20,17 +17,36 @@ export default interface IGeneralItems {
20
17
  transportItems: ITextValue[];
21
18
  autoPrintWhenTypes: ITextValue[];
22
19
  zoneOverlappingTypes: ITextValue[];
23
- calculateDistanceItems: ITextValue[];
20
+ sendingCommandsTypes: ITextValue[];
21
+ authorizationTypes: ITextValue[];
24
22
  orderStatuses: ITextValue[];
25
23
  channels: ITextValue[];
26
- stampCardUsageTypes: ITextValue[];
24
+ paymentTypes: ITextValue[];
25
+ orderTypes: ITextValue[];
26
+ perTypes: ITextValue[];
27
+ graphTypes: ITextValue[];
28
+ drivingLicenses: ITextValue[];
29
+ onlinePayStateTypes: ITextValue[];
30
+ debitAtPayStateTypes: ITextValue[];
31
+ splashPageLayoutTypes: ITextValue[];
32
+ amountDiscountTypes: ITextValue[];
27
33
  stampCardRewardTypes: ITextValue[];
28
34
  stampCardDiscountTypes: ITextValue[];
35
+ stampCardUsageTypes: ITextValue[];
29
36
  priceMidpointRoundingTypes: ITextValue[];
30
37
  deliveryModeTypes: ITextValue[];
31
38
  systemDeliveryModeTypes: ITextValue[];
32
39
  pointOfSaleAutoPrintWhenTypes: ITextValue[];
33
40
  pointOfSaleShowProductPopupTypes: ITextValue[];
41
+ tableLocationTypes: ITextValue[];
42
+ meetTypes: ITextValue[];
43
+ mealTypes: ITextValue[];
34
44
  openCashDrawerTypes: ITextValue[];
45
+ printCommandTypes: ITextValue[];
46
+ pickOfferProductPolicyTypes: ITextValue[];
47
+ productSizeTypes: ITextValue[];
48
+ orderArrangeFieldItems: ITextValue[];
49
+ orderArrangeSortItems: ITextValue[];
50
+ customerMandatoryTypes: ITextValue[];
35
51
  }
36
52
  export declare const initGeneralItems: IGeneralItems;
@@ -30,5 +30,21 @@ export const initGeneralItems = {
30
30
  priceMidpointRoundingTypes: [],
31
31
  deliveryModeTypes: [],
32
32
  systemDeliveryModeTypes: [],
33
- pointOfSaleShowProductPopupTypes: []
33
+ pointOfSaleShowProductPopupTypes: [],
34
+ customerMandatoryTypes: [],
35
+ availableForOrderingTypes: [],
36
+ drivingLicenses: [],
37
+ graphTypes: [],
38
+ mealTypes: [],
39
+ meetTypes: [],
40
+ orderArrangeFieldItems: [],
41
+ orderArrangeSortItems: [],
42
+ orderTypes: [],
43
+ perTypes: [],
44
+ pickOfferProductPolicyTypes: [],
45
+ printCommandTypes: [],
46
+ productSizeTypes: [],
47
+ sendingCommandsTypes: [],
48
+ splashPageLayoutTypes: [],
49
+ tableLocationTypes: [],
34
50
  };
@@ -1,3 +1,4 @@
1
+ import EnumCustomerMandatory from "../enums/EnumCustomerMandatory";
1
2
  import IPointOfSaleSettingFee from "./IPointOfSaleSettingFee";
2
3
  import IPointOfSaleSettingPrintsOnNewOrder from "./IPointOfSaleSettingPrintsOnNewOrder";
3
4
  import ITextValue from "./ITextValue";
@@ -9,6 +10,7 @@ export default interface IPointOfSaleSetting {
9
10
  defaultPaymentMethod: number;
10
11
  defaultOrderType: number;
11
12
  customerMandatory: boolean;
13
+ customerMandatoryType: EnumCustomerMandatory;
12
14
  checkDeliveryCoverageArea: boolean;
13
15
  mergeProducts: boolean;
14
16
  showNoPopupByDefault: number;
@@ -36,7 +38,6 @@ export default interface IPointOfSaleSetting {
36
38
  printerAccess: boolean;
37
39
  reportsAccess: boolean;
38
40
  availablePaymentTypes: number[];
39
- customerMandatoryType: number;
40
41
  startingOrderNumberFrom: number;
41
42
  additionalPickupInstructions: boolean;
42
43
  coloredTiles: boolean;
@@ -1,3 +1,4 @@
1
+ import EnumCustomerMandatory from "../enums/EnumCustomerMandatory";
1
2
  import EnumOrderType from "../enums/EnumOrderType";
2
3
  import EnumPaymentType from "../enums/EnumPaymentType";
3
4
  import EnumPrintCommand from "../enums/EnumPrintCommand";
@@ -36,7 +37,7 @@ export const initPointOfSaleSetting = {
36
37
  printerAccess: true,
37
38
  reportsAccess: true,
38
39
  availablePaymentTypes: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
39
- customerMandatoryType: 1,
40
+ customerMandatoryType: EnumCustomerMandatory.NO,
40
41
  startingOrderNumberFrom: 1000,
41
42
  additionalPickupInstructions: false,
42
43
  coloredTiles: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.1.97",
3
+ "version": "1.1.99",
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.1.95\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.1.99\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"