webc-miam 9.1.18 → 9.1.19

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.
@@ -51,12 +51,6 @@ export interface MealzInterface {
51
51
  * /!\ We heavily recommend not to use this method except in the console for testing purposes /!\
52
52
  */
53
53
  reset: () => void;
54
- /**
55
- * If you have different price tables (or pricebooks) for the same point of sale, you can call this
56
- * method to make Mealz know on which pricebook you are using
57
- * For example, prices can be different depending on if the user chose home delivery or drive-in
58
- */
59
- updatePricebook: (pricebookName: string) => Observable<void>;
60
54
  /**
61
55
  * @returns A BehaviorSubject that emits the current number of recipes in Mealz's Basket
62
56
  */
@@ -33,7 +33,7 @@ export interface MealzInternalInterface {
33
33
  /**
34
34
  * Emits the pricing information for recipes in the basket.
35
35
  */
36
- recipePricesInBasket$: () => Observable<{ id: string; price: string }[]>;
36
+ recipeDataInBasket$: () => Observable<{ id: string; price: string, guests: number }[]>;
37
37
 
38
38
  /**
39
39
  * Emits the list of recipes in the basket.
@@ -107,7 +107,7 @@ export interface MealzInternalInterface {
107
107
  /**
108
108
  * Fetches the pricing information for a specific recipe based on the provided parameters.
109
109
  */
110
- fetchPricing: (recipeId: string, posId: string, pricebookKey: string, serves: number) => Observable<RecipePricing>;
110
+ fetchPricing: (recipeId: string, posId: string, serves: number) => Observable<RecipePricing>;
111
111
  };
112
112
 
113
113
  // ---------------------------------------------------------------------------------------------------