@techallee/foodverse 1.4.2 → 1.4.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techallee/foodverse",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "index.d.ts",
@@ -1,4 +1,5 @@
1
1
  type MenuSource = 'foodverse' | 'lieferando' | 'wolt' | 'uber_eats';
2
+ type MenuStatus = 'public' | 'private' | 'draft';
2
3
  type LanguageCode = 'de' | 'en' | 'vi'
3
4
 
4
5
  declare interface Menu {
@@ -70,7 +71,7 @@ declare interface Product {
70
71
  allergies: any[];
71
72
  extras: any[];
72
73
  vatLevel: string; // Replace with VatLevelEnum if defined
73
- status: boolean;
74
+ status: MenuStatus;
74
75
  discount: any[];
75
76
  categoryId: string;
76
77
  variants: Variant[];
@@ -83,6 +84,7 @@ declare interface Category {
83
84
  id: string;
84
85
  externalId?: string | null;
85
86
  source: MenuSource;
87
+ status: MenuStatus;
86
88
  name: string;
87
89
  description: string;
88
90
  rank: number;
@@ -103,6 +103,7 @@ declare interface OnlineShop {
103
103
  declare interface Tab {
104
104
  id: string;
105
105
  name: string;
106
+ imageUrl: string | null;
106
107
  icon: number;
107
108
  restaurantId: string;
108
109
  categoryIds: string[];