meemup-library 1.4.67 → 1.4.69

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.
@@ -237,7 +237,8 @@ export default new class ProductModalController {
237
237
  availableTypeText: item.availableTypeText,
238
238
  secondExtraItemId: item.secondExtraItemId,
239
239
  availableType: item.availableType,
240
- relatedExtraDisplayMode: item.relatedExtraDisplayMode
240
+ relatedExtraDisplayMode: item.relatedExtraDisplayMode,
241
+ expandedState: item.expandedState,
241
242
  };
242
243
  list.push(newItem);
243
244
  }
@@ -9,5 +9,6 @@ export default interface IDProductExtra {
9
9
  secondExtraItemId: number | null;
10
10
  priority: number;
11
11
  relatedExtraDisplayMode: EnumExtraDisplayMode;
12
+ expandedState: boolean;
12
13
  }
13
14
  export declare const initDProductExtra: IDProductExtra;
@@ -8,5 +8,6 @@ export const initDProductExtra = {
8
8
  secondExtraId: null,
9
9
  secondExtraItemId: null,
10
10
  priority: 0,
11
- relatedExtraDisplayMode: EnumExtraDisplayMode.normal
11
+ relatedExtraDisplayMode: EnumExtraDisplayMode.normal,
12
+ expandedState: false,
12
13
  };
@@ -18,6 +18,7 @@ export default interface IManagementOnlineStore {
18
18
  socialNetworks: IManagementOnlineStoreSocialNetwork[];
19
19
  filterSectionVisibility: boolean;
20
20
  allergiesSectionVisibility: boolean;
21
+ displayExtraAndExtraItemImages: boolean;
21
22
  promotionSectionVisibility: boolean;
22
23
  ageVerificationPopUp: boolean;
23
24
  ageRestriction: number;
@@ -16,6 +16,7 @@ export const initManagementOnlineStore = {
16
16
  seo: initManagementOnlineStoreSeo,
17
17
  ageRestriction: 18,
18
18
  ageVerificationPopUp: false,
19
+ displayExtraAndExtraItemImages: false,
19
20
  allergiesSectionVisibility: true,
20
21
  defaultProductView: 1,
21
22
  filterSectionVisibility: true,
@@ -1,4 +1,5 @@
1
1
  import EnumCustomerMandatory from "../../enums/EnumCustomerMandatory";
2
+ import EnumOrderType from "../../enums/EnumOrderType";
2
3
  import EnumPrintCommand from "../../enums/EnumPrintCommand";
3
4
  import IPointOfSaleSettingFee from "./IPointOfSaleSettingFee";
4
5
  import IPointOfSaleSettingPrintsOnNewOrder from "./IPointOfSaleSettingPrintsOnNewOrder";
@@ -54,5 +55,6 @@ export default interface IPointOfSaleSetting {
54
55
  externalClerkSystem: boolean;
55
56
  awaitingPaymentDeviceResponse: boolean;
56
57
  permissions: EnumPointOfSaleAccessType[];
58
+ availableOrderTypes: EnumOrderType[];
57
59
  }
58
60
  export declare const initPointOfSaleSetting: IPointOfSaleSetting;
@@ -61,5 +61,6 @@ export const initPointOfSaleSetting = {
61
61
  },
62
62
  externalClerkSystem: false,
63
63
  awaitingPaymentDeviceResponse: false,
64
- permissions: []
64
+ permissions: [],
65
+ availableOrderTypes: [EnumOrderType.delivery, EnumOrderType.pickup, EnumOrderType.dining]
65
66
  };
@@ -58,6 +58,7 @@ interface IOrderDetailOrder {
58
58
  travelDuration: number;
59
59
  orderPreparationStartTime: string;
60
60
  orderReadyTime: string;
61
+ thirdPartyDriverTipAmount: number;
61
62
  }
62
63
  export default IOrderDetailOrder;
63
64
  export declare const initOrderDetailOrder: IOrderDetailOrder;
@@ -58,5 +58,6 @@ export const initOrderDetailOrder = {
58
58
  pickupDuration: 0,
59
59
  travelDuration: 0,
60
60
  orderPreparationStartTime: "",
61
- orderReadyTime: ""
61
+ orderReadyTime: "",
62
+ thirdPartyDriverTipAmount: 0
62
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.67",
3
+ "version": "1.4.69",
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.67\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.69\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"