meemup-library 1.2.7 → 1.2.9

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.
Files changed (33) hide show
  1. package/dist/controllers/ApiController.d.ts +1 -1
  2. package/dist/controllers/ColorController.d.ts +13 -13
  3. package/dist/controllers/ColorController.js +11 -11
  4. package/dist/controllers/MoneyController.js +4 -1
  5. package/dist/controllers/OrderScreenController.d.ts +5 -5
  6. package/dist/controllers/PrintContentController.js +268 -268
  7. package/dist/controllers/ProductModalController.d.ts +16 -18
  8. package/dist/controllers/ProductModalController.js +6 -4
  9. package/dist/controllers/ZoneController.d.ts +7 -7
  10. package/dist/controllers/ZoneController.js +7 -7
  11. package/dist/index.d.ts +4 -0
  12. package/dist/index.js +4 -0
  13. package/dist/interfaces/IExtra.d.ts +2 -2
  14. package/dist/interfaces/IExtra.js +16 -1
  15. package/dist/interfaces/IExtraItem.d.ts +2 -0
  16. package/dist/interfaces/IExtraItem.js +3 -1
  17. package/dist/interfaces/IPointOfSaleLocalSetting.js +1 -2
  18. package/dist/interfaces/IProduct.d.ts +2 -1
  19. package/dist/interfaces/IProductExtra.d.ts +3 -9
  20. package/dist/interfaces/IProductExtra.js +3 -1
  21. package/dist/interfaces/ISelectedExtraItem.d.ts +2 -2
  22. package/dist/interfaces/ISelectedProductExtra.js +1 -3
  23. package/dist/interfaces/IStore.d.ts +4 -4
  24. package/dist/interfaces/database/{IDProductDefaultExtra.d.ts → IProductDefaultExtra.d.ts} +2 -2
  25. package/dist/types/TBaseExtra.d.ts +2 -2
  26. package/package.json +29 -29
  27. package/dist/interfaces/database/IDExtra.d.ts +0 -16
  28. package/dist/interfaces/database/IDExtraItem.d.ts +0 -20
  29. package/dist/interfaces/database/IDExtraItem.js +0 -1
  30. package/dist/interfaces/database/IDProduct.d.ts +0 -57
  31. package/dist/interfaces/database/IDProduct.js +0 -1
  32. package/dist/interfaces/database/IDProductDefaultExtra.js +0 -1
  33. /package/dist/interfaces/database/{IDExtra.js → IProductDefaultExtra.js} +0 -0
@@ -3,34 +3,32 @@ import IExtra from "../interfaces/IExtra";
3
3
  import ISelectedExtraItem from "../interfaces/ISelectedExtraItem";
4
4
  import ISelectedProductExtra from "../interfaces/ISelectedProductExtra";
5
5
  import ITextValue from "../interfaces/ITextValue";
6
- import IDExtraItem from "../interfaces/database/IDExtraItem";
7
- import IDExtra from "../interfaces/database/IDExtra";
8
6
  import TBaseExtra from "../types/TBaseExtra";
9
7
  import IOrderItem from "../interfaces/order/IOrderItem";
10
- import IDProduct from "../interfaces/database/IDProduct";
11
8
  import IProduct from "../interfaces/IProduct";
12
9
  import IDProductExtra from "../interfaces/database/IDProductExtra";
10
+ import IExtraItem from "../interfaces/IExtraItem";
13
11
  declare const _default: {
14
12
  getExtraSelectedItems(list: ISelectedProductExtra[], extraId: number): ISelectedExtraItem[];
15
- canAddToBasket(product: IDProduct, selected: ISelectedProductExtra[], extras: IDExtra[]): boolean;
16
- productModalToBasketItem(product: IDProduct, selectedExtraList: ISelectedProductExtra[], extras: IDExtra[], count: number, price: number, note: string): IOrderItem;
17
- productName(product: IDProduct | IProduct): string;
18
- productImage(product: IDProduct | IProduct): string;
19
- productPrice(product: IDProduct | IProduct, orderType: EnumOrderType): number;
20
- baseItem(list: ISelectedProductExtra[], extraList: IDExtra[]): TBaseExtra;
21
- defaultExtraOfProductToSelectedExtras(product: IDProduct, extras: IDExtra[]): ISelectedProductExtra[];
22
- defaultExtraOfProductToBasketItem(product: IDProduct, extras: IDExtra[], orderType: EnumOrderType): IOrderItem;
23
- singleSelectExtraItemPrice: (extra: IExtra, base: TBaseExtra, item: IDExtraItem) => number;
24
- multiSelectExtraPrice: (extra: IDExtra, base: TBaseExtra, item: IDExtraItem, selectedList?: ISelectedExtraItem[]) => number;
25
- multiSelectExtraItemOptions(item: IDExtraItem, max: number, selectedList: ISelectedExtraItem[]): ITextValue[];
13
+ canAddToBasket(product: IProduct, selected: ISelectedProductExtra[], extras: IExtra[]): boolean;
14
+ productModalToBasketItem(product: IProduct, selectedExtraList: ISelectedProductExtra[], extras: IExtra[], count: number, price: number, note: string): IOrderItem;
15
+ productName(product: IProduct | IProduct): string;
16
+ productImage(product: IProduct | IProduct): string;
17
+ productPrice(product: IProduct | IProduct, orderType: EnumOrderType): number;
18
+ baseItem(list: ISelectedProductExtra[], extraList: IExtra[]): TBaseExtra;
19
+ defaultExtraOfProductToSelectedExtras(product: IProduct, extras: IExtra[]): ISelectedProductExtra[];
20
+ defaultExtraOfProductToBasketItem(product: IProduct, extras: IExtra[], orderType: EnumOrderType): IOrderItem;
21
+ singleSelectExtraItemPrice: (extra: IExtra, base: TBaseExtra, item: IExtraItem) => number;
22
+ multiSelectExtraPrice: (extra: IExtra, base: TBaseExtra, item: IExtraItem, selectedList?: ISelectedExtraItem[]) => number;
23
+ multiSelectExtraItemOptions(item: IExtraItem, max: number, selectedList: ISelectedExtraItem[]): ITextValue[];
26
24
  scaleSum(array?: ISelectedExtraItem[]): number;
27
- calculatePrice(orderType: EnumOrderType, product: any, list: ISelectedProductExtra[], base: TBaseExtra, extraList: IDExtra[]): number;
25
+ calculatePrice(orderType: EnumOrderType, product: any, list: ISelectedProductExtra[], base: TBaseExtra, extraList: IExtra[]): number;
28
26
  plusString(first: string, second: string): string;
29
27
  getValidateExtras(extras: IDProductExtra[], extraSelected: ISelectedProductExtra[]): IDProductExtra[];
30
- getProductExtras(pExtras: IDProductExtra[], sExtras: ISelectedProductExtra[], extras: IDExtra[]): IDExtra[];
28
+ getProductExtras(pExtras: IDProductExtra[], sExtras: ISelectedProductExtra[], extras: IExtra[]): IExtra[];
31
29
  quantitySum(array?: ISelectedExtraItem[]): number;
32
- productMinAndMaxOptions(product: IDProduct): ITextValue[];
30
+ productMinAndMaxOptions(product: IProduct): ITextValue[];
33
31
  sortByKey(array: any[], key: string, conditionForSort?: boolean): any[];
34
- extraItemsSortAction: (a: IDExtraItem, b: IDExtraItem) => 0 | 1 | -1;
32
+ extraItemsSortAction: (a: IExtraItem, b: IExtraItem) => 0 | 1 | -1;
35
33
  };
36
34
  export default _default;
@@ -206,8 +206,10 @@ export default new class ProductModalController {
206
206
  increasingAmount: extraItemModel.increasingAmount,
207
207
  increasingPercentage: extraItemModel.increasingPercentage,
208
208
  tags: extraItemModel.tags,
209
- color: extraItemModel.color,
210
- thumbnailImage: extraItemModel.thumbnailImage
209
+ extraId: extraItemModel.extraId,
210
+ increasingValue: extraItemModel.increasingValue,
211
+ thumbnailImage: extraItemModel.thumbnailImage,
212
+ color: extraItemModel.color
211
213
  });
212
214
  }
213
215
  });
@@ -248,7 +250,7 @@ export default new class ProductModalController {
248
250
  }
249
251
  return list;
250
252
  }
251
- // pizzaSelectExtraPrice = (extra: IDExtra, base: TBaseExtra, item: IDExtraItem, selectedList: ISelectedExtraItem[] = []) => {
253
+ // pizzaSelectExtraPrice = (extra: IExtra, base: TBaseExtra, item: IExtraItem, selectedList: ISelectedExtraItem[] = []) => {
252
254
  //
253
255
  // let _item: ISelectedExtraItem | undefined = selectedList.find(i => i.id === item.id);
254
256
  //
@@ -395,7 +397,7 @@ export default new class ProductModalController {
395
397
  let se = this.sortByKey(sExtras, "priority", true);
396
398
  let pe = this.sortByKey(pExtras, "priority", true);
397
399
  let itemsIdList = this.getValidateExtras(pe, se).map(i => i.extraId);
398
- // let list: IDExtra[] = extras.filter(i => itemsIdList.includes(+i.id));
400
+ // let list: IExtra[] = extras.filter(i => itemsIdList.includes(+i.id));
399
401
  let result = [];
400
402
  itemsIdList.forEach((id) => {
401
403
  let ext = extras.find(i => i.id === id);
@@ -1,13 +1,13 @@
1
1
  import ILocation from "../interfaces/ILocation";
2
2
  declare const _default: {
3
3
  /**
4
- * Performs the even-odd-rule Algorithm (a raycasting algorithm) to find out whether a point is in a given polygon.
5
- * This runs in O(n) where n is the number of edges of the polygon.
6
- *
7
- * @param {ILocation[]} polygon - An array representation of the polygon where polygon[i][0] is the x Value of the i-th point and polygon[i][1] is the y Value.
8
- * @param {ILocation} point - An array representation of the point where point[0] is its x Value and point[1] is its y Value.
9
- * @returns {boolean} - Whether the point is in the polygon (not on the edge, just turn < into <= and > into >= for that).
10
- */
4
+ * Performs the even-odd-rule Algorithm (a raycasting algorithm) to find out whether a point is in a given polygon.
5
+ * This runs in O(n) where n is the number of edges of the polygon.
6
+ *
7
+ * @param {ILocation[]} polygon - An array representation of the polygon where polygon[i][0] is the x Value of the i-th point and polygon[i][1] is the y Value.
8
+ * @param {ILocation} point - An array representation of the point where point[0] is its x Value and point[1] is its y Value.
9
+ * @returns {boolean} - Whether the point is in the polygon (not on the edge, just turn < into <= and > into >= for that).
10
+ */
11
11
  pointInPolygon(polygon: ILocation[], point: ILocation): boolean;
12
12
  rad(x: number): number;
13
13
  /**
@@ -1,13 +1,13 @@
1
1
  import MoneyController from "./MoneyController";
2
2
  export default new class ZoneController {
3
3
  /**
4
- * Performs the even-odd-rule Algorithm (a raycasting algorithm) to find out whether a point is in a given polygon.
5
- * This runs in O(n) where n is the number of edges of the polygon.
6
- *
7
- * @param {ILocation[]} polygon - An array representation of the polygon where polygon[i][0] is the x Value of the i-th point and polygon[i][1] is the y Value.
8
- * @param {ILocation} point - An array representation of the point where point[0] is its x Value and point[1] is its y Value.
9
- * @returns {boolean} - Whether the point is in the polygon (not on the edge, just turn < into <= and > into >= for that).
10
- */
4
+ * Performs the even-odd-rule Algorithm (a raycasting algorithm) to find out whether a point is in a given polygon.
5
+ * This runs in O(n) where n is the number of edges of the polygon.
6
+ *
7
+ * @param {ILocation[]} polygon - An array representation of the polygon where polygon[i][0] is the x Value of the i-th point and polygon[i][1] is the y Value.
8
+ * @param {ILocation} point - An array representation of the point where point[0] is its x Value and point[1] is its y Value.
9
+ * @returns {boolean} - Whether the point is in the polygon (not on the edge, just turn < into <= and > into >= for that).
10
+ */
11
11
  pointInPolygon(polygon, point) {
12
12
  let odd = false;
13
13
  for (let i = 0, j = polygon.length - 1; i < polygon.length; i++) {
package/dist/index.d.ts CHANGED
@@ -10,6 +10,10 @@ export * from "./controllers/PrintContentController";
10
10
  export * from "./controllers/ProductModalController";
11
11
  export * from "./controllers/ToolController";
12
12
  export * from "./controllers/ZoneController";
13
+ export * from "./controllers/KitchenController";
14
+ export * from "./controllers/CustomerFacingDisplayPacketController";
15
+ export * from "./controllers/ColorController";
16
+ export * from "./controllers/ErrorController";
13
17
  export * from "./enums/EnumBasketStep";
14
18
  export * from "./enums/EnumCategoryAvailableIn";
15
19
  export * from "./enums/EnumChannels";
package/dist/index.js CHANGED
@@ -10,6 +10,10 @@ export * from "./controllers/PrintContentController";
10
10
  export * from "./controllers/ProductModalController";
11
11
  export * from "./controllers/ToolController";
12
12
  export * from "./controllers/ZoneController";
13
+ export * from "./controllers/KitchenController";
14
+ export * from "./controllers/CustomerFacingDisplayPacketController";
15
+ export * from "./controllers/ColorController";
16
+ export * from "./controllers/ErrorController";
13
17
  export * from "./enums/EnumBasketStep";
14
18
  export * from "./enums/EnumCategoryAvailableIn";
15
19
  export * from "./enums/EnumChannels";
@@ -1,5 +1,5 @@
1
1
  import IExtraItem from "./IExtraItem";
2
- interface IExtra {
2
+ export default interface IExtra {
3
3
  id: number;
4
4
  name: string;
5
5
  title: string;
@@ -15,4 +15,4 @@ interface IExtra {
15
15
  categoriesCount: number;
16
16
  displayingMode: number;
17
17
  }
18
- export default IExtra;
18
+ export declare const initExtra: IExtra;
@@ -1 +1,16 @@
1
- export {};
1
+ export const initExtra = {
2
+ id: -1,
3
+ name: "",
4
+ title: "",
5
+ maxAllowedItems: 99,
6
+ required: false,
7
+ available: true,
8
+ increasingOtherExtraItemsPrice: false,
9
+ choosablePizzaToppingsSides: false,
10
+ numberOfFreeItems: 0,
11
+ items: [],
12
+ products: [],
13
+ productsCount: 0,
14
+ categoriesCount: 0,
15
+ displayingMode: 1
16
+ };
@@ -16,6 +16,8 @@ interface IExtraItem {
16
16
  increasingAmount: number;
17
17
  increasingPercentage: number;
18
18
  tags: string[] | null;
19
+ color: string | null;
20
+ thumbnailImage: string | null;
19
21
  }
20
22
  export declare const initExtraItem: IExtraItem;
21
23
  export default IExtraItem;
@@ -15,5 +15,7 @@ export const initExtraItem = {
15
15
  isDefaultSelected: false,
16
16
  increasingAmount: 0,
17
17
  increasingPercentage: 0,
18
- tags: null
18
+ tags: null,
19
+ color: null,
20
+ thumbnailImage: null
19
21
  };
@@ -1,6 +1,5 @@
1
- import { INIT_TERMINAL } from "../statics";
1
+ import { INIT_TERMINAL, UDP_CUSTOMER_MONITOR_PRE_NAME } from "../statics";
2
2
  import EnumNewOrderWarning from "../enums/EnumNewOrderWarning";
3
- import { UDP_CUSTOMER_MONITOR_PRE_NAME } from "../statics";
4
3
  import EnumPaymentState from "../enums/EnumPaymentState";
5
4
  import EnumNotifyOnlineStoreNewOrder from "../enums/EnumNotifyOnlineStoreNewOrder";
6
5
  import EnumPointOfSaleDefaultSaveState from "../enums/EnumPointOfSaleDefaultSaveState";
@@ -1,6 +1,7 @@
1
1
  import EnumShowCategoryExtras from "../enums/EnumShowCategoryExtras";
2
2
  import IAllergicStuffs from "./IAllergicStuffs";
3
3
  import IProductExtra from "./IProductExtra";
4
+ import IProductDefaultExtra from "./database/IProductDefaultExtra";
4
5
  export default interface IProduct {
5
6
  id: number;
6
7
  available: boolean;
@@ -45,7 +46,7 @@ export default interface IProduct {
45
46
  points: number;
46
47
  chosenExtraItemsMode: number;
47
48
  extras: IProductExtra[];
48
- defaultExtraItems: any[];
49
+ defaultExtraItems: IProductDefaultExtra[];
49
50
  customizable: boolean;
50
51
  displayOnKitchenDisplay: boolean;
51
52
  menuId: number;
@@ -1,16 +1,10 @@
1
1
  import IExtra from "./IExtra";
2
- interface IProductExtra {
2
+ import IDProductExtra from "./database/IDProductExtra";
3
+ interface IProductExtra extends IDProductExtra {
3
4
  productId: number;
4
5
  id: number;
5
6
  title: string;
6
- extraId: number;
7
- availableType: number;
8
- showType: number;
9
- availableTypeText: string;
10
- showTypeText: string;
11
- secondExtraId: number | null;
12
- secondExtraItemId: number | null;
13
- priority: number;
14
7
  extra: IExtra;
15
8
  }
16
9
  export default IProductExtra;
10
+ export declare const initProductExtra: IProductExtra;
@@ -1 +1,3 @@
1
- export {};
1
+ import { initExtra } from "./IExtra";
2
+ import { initDProductExtra } from "./database/IDProductExtra";
3
+ export const initProductExtra = Object.assign(Object.assign({}, initDProductExtra), { productId: -1, id: -1, title: "", extra: initExtra });
@@ -1,6 +1,6 @@
1
1
  import EnumPizzaSide from "../enums/EnumPizzaSide";
2
- import IDExtraItem from "./database/IDExtraItem";
3
- interface ISelectedExtraItem extends IDExtraItem {
2
+ import IExtraItem from "./IExtraItem";
3
+ interface ISelectedExtraItem extends IExtraItem {
4
4
  quantity: number;
5
5
  pizzaSide: EnumPizzaSide;
6
6
  }
@@ -1,4 +1,2 @@
1
1
  import { initDProductExtra } from "./database/IDProductExtra";
2
- export const initSelectedProductExtra = Object.assign(Object.assign({}, initDProductExtra), {
3
- // subtitle: "",
4
- selected: [] });
2
+ export const initSelectedProductExtra = Object.assign(Object.assign({}, initDProductExtra), { selected: [] });
@@ -5,9 +5,7 @@ import ISystem from "./ISystem";
5
5
  import ISetting from "./ISetting";
6
6
  import IOrder from "./order/IOrder";
7
7
  import IOnlineOrderItem from "./IOnlineOrderItem";
8
- import IDProduct from "./database/IDProduct";
9
8
  import ICategory from "./ICategory";
10
- import IDExtra from "./database/IDExtra";
11
9
  import ICustomer from "./ICustomer";
12
10
  import ITextValue from "./ITextValue";
13
11
  import ICheckoutOption from "./ICheckoutOption";
@@ -21,6 +19,8 @@ import IOrderState from "./IOrderState";
21
19
  import IPaymentStatusChanged from "./IPaymentStatusChanged";
22
20
  import IWorkScreen from "./IWorkScreen";
23
21
  import IStarMicronicPrinter from "./IStarMicronicPrinter";
22
+ import IExtra from "./IExtra";
23
+ import IProduct from "./IProduct";
24
24
  interface IStore {
25
25
  account: IAccount;
26
26
  orderScreen: IOrderScreenState;
@@ -30,9 +30,9 @@ interface IStore {
30
30
  setting: ISetting;
31
31
  onlineOrders: IOnlineOrderItem[];
32
32
  localOrders: IOrder[];
33
- products: IDProduct[];
33
+ products: IProduct[];
34
34
  categories: ICategory[];
35
- extras: IDExtra[];
35
+ extras: IExtra[];
36
36
  orders: IOrder[];
37
37
  customers: ICustomer[];
38
38
  isConnected: boolean;
@@ -1,6 +1,6 @@
1
1
  import IDProductDefaultExtraItem from "./IDProductDefaultExtraItem";
2
- interface IDProductDefaultExtra {
2
+ interface IProductDefaultExtra {
3
3
  extraId: number;
4
4
  items: IDProductDefaultExtraItem[];
5
5
  }
6
- export default IDProductDefaultExtra;
6
+ export default IProductDefaultExtra;
@@ -1,4 +1,4 @@
1
+ import IExtra from "../interfaces/IExtra";
1
2
  import ISelectedProductExtra from "../interfaces/ISelectedProductExtra";
2
- import IDExtra from "../interfaces/database/IDExtra";
3
- type TBaseExtra = [ISelectedProductExtra | undefined, IDExtra | undefined];
3
+ type TBaseExtra = [ISelectedProductExtra | undefined, IExtra | undefined];
4
4
  export default TBaseExtra;
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "name": "meemup-library",
3
- "version": "1.2.7",
4
- "description": "",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "yarn remove:one && yarn remove:two && yarn build:esm && yarn build:cjs",
9
- "build:esm": "tsc",
10
- "build:cjs": "tsc --module commonjs --outDir src/dist",
11
- "remove:one": "rimraf dist",
12
- "remove:two": "rimraf ./src/dist",
13
- "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.2.7\" && git push origin "
15
- },
16
- "files": [
17
- "/dist"
18
- ],
19
- "keywords": [],
20
- "author": "",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "rimraf": "^5.0.5",
24
- "typescript": "^5.2.2"
25
- },
26
- "dependencies": {
27
- "axios": "^1.7.2"
28
- }
29
- }
1
+ {
2
+ "name": "meemup-library",
3
+ "version": "1.2.9",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "yarn remove:one && yarn remove:two && yarn build:esm && yarn build:cjs",
9
+ "build:esm": "tsc",
10
+ "build:cjs": "tsc --module commonjs --outDir src/dist",
11
+ "remove:one": "rimraf dist",
12
+ "remove:two": "rimraf ./src/dist",
13
+ "test": "echo \"Error: no test specified\" && exit 1",
14
+ "commit": "git add . && git commit -m \"version.1.2.9\" && git push origin "
15
+ },
16
+ "files": [
17
+ "/dist"
18
+ ],
19
+ "keywords": [],
20
+ "author": "",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "rimraf": "^5.0.5",
24
+ "typescript": "^5.2.2"
25
+ },
26
+ "dependencies": {
27
+ "axios": "^1.7.2"
28
+ }
29
+ }
@@ -1,16 +0,0 @@
1
- import IDExtraItem from "./IDExtraItem";
2
- interface IDExtra {
3
- id: number;
4
- name: string;
5
- title: string;
6
- maxAllowedItems: number;
7
- required: boolean;
8
- available: boolean;
9
- increasingOtherExtraItemsPrice: boolean;
10
- choosablePizzaToppingsSides: boolean;
11
- numberOfFreeItems: number;
12
- color: string | null;
13
- thumbnailImage: string | null;
14
- items: IDExtraItem[];
15
- }
16
- export default IDExtra;
@@ -1,20 +0,0 @@
1
- interface IDExtraItem {
2
- id: number;
3
- title: string;
4
- available: boolean;
5
- receiptTitle: string;
6
- price: number;
7
- priority: number;
8
- min: number;
9
- max: number;
10
- calories: number;
11
- increasingPriceType: number;
12
- scale: number;
13
- isDefaultSelected: boolean;
14
- increasingAmount: number;
15
- increasingPercentage: number;
16
- tags: string[] | null;
17
- color: string | null;
18
- thumbnailImage: string | null;
19
- }
20
- export default IDExtraItem;
@@ -1 +0,0 @@
1
- export {};
@@ -1,57 +0,0 @@
1
- import IDProductExtra from "./IDProductExtra";
2
- import IDProductDefaultExtra from "./IDProductDefaultExtra";
3
- interface IDProduct {
4
- id: number;
5
- available: boolean;
6
- notAvailableToDate: string | null;
7
- displayWhenNotAvailable: boolean;
8
- name: string;
9
- posName: string;
10
- kitchenReceiptName: string;
11
- description: string;
12
- extrasDescription: string;
13
- minOrderQuantity: number;
14
- maxOrderQuantity: number;
15
- deliveryPrice: number;
16
- pickupPrice: number;
17
- color: string | null;
18
- eanBarcode: string;
19
- imageFullPath: string;
20
- preperationTime: string;
21
- showFromDate: string | null;
22
- showFromTime: string | null;
23
- showToDate: string | null;
24
- showToTime: string | null;
25
- vegetarian: boolean;
26
- organic: boolean;
27
- halal: boolean;
28
- spiciness: number;
29
- showCategoryExtras: boolean;
30
- mainCategoryId: number;
31
- allergicStuffs: number[];
32
- extras: IDProductExtra[];
33
- inMultipleCategories: boolean;
34
- categories: number[];
35
- containsAlcohol: boolean;
36
- vegan: boolean;
37
- calories: number;
38
- availableIn: number;
39
- points: number;
40
- chosenExtraItemsMode: number;
41
- customizable: boolean;
42
- defaultExtraItems: IDProductDefaultExtra[];
43
- diningPrice: number;
44
- availableForOrdering: number;
45
- imageName: string | null;
46
- onlyOnWeekDays: number | null;
47
- displayOnKitchenDisplay: boolean;
48
- menuId: number | null;
49
- availableForOrderingType: number;
50
- deleted: boolean;
51
- allergicStuffsId: number[];
52
- showExtrasCategory: number;
53
- packagingCosts: number;
54
- depositCost: number;
55
- thumbnailImage: string | null;
56
- }
57
- export default IDProduct;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};