webc-miam 6.2.5 → 6.3.1

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.
@@ -44,10 +44,6 @@ export interface MiamInterface {
44
44
  };
45
45
 
46
46
  basketSync: {
47
- // /**
48
- // * /!\ DEPRECATED: DO NOT USE /!\
49
- // */
50
- setAllProductsAsRetailers: () => void,
51
47
  /**
52
48
  * The callback parameter is called when Miam's basket changes to update the user's cart accordingly
53
49
  *
@@ -100,6 +96,12 @@ export interface MiamInterface {
100
96
  * Call to enable personal recipes on recipe-catalog
101
97
  */
102
98
  enablePersonalRecipes: () => void;
99
+ /**
100
+ * Call to enable the meals-planner
101
+ *
102
+ * @param url of the page where you inject the meals planner
103
+ */
104
+ enableMealsPlanner: (url: string) => void;
103
105
  };
104
106
 
105
107
  // ---------------------------------------------------------------------------------------------------
@@ -138,14 +140,6 @@ export interface MiamInterface {
138
140
  * @returns A BehaviorSubject that emits the current number of recipes in Miam's GroceriesList
139
141
  */
140
142
  recipeCount: () => Observable<number>;
141
- // /**
142
- // * /!\ DEPRECATED: DO NOT USE /!\
143
- // */
144
- createTemporaryList: () => void,
145
- // /**
146
- // * /!\ DEPRECATED: DO NOT USE /!\
147
- // */
148
- refresh: () => void;
149
143
  };
150
144
 
151
145
  // ---------------------------------------------------------------------------------------------------
@@ -212,6 +206,14 @@ export interface MiamInterface {
212
206
  * Inform Miam of the url where the onboarding section of the catalog should redirect
213
207
  */
214
208
  setRecipeInfoLink: (url: string) => void;
209
+ /**
210
+ * Inform Miam of the url of the retailer's if Miam needs to redirect there
211
+ */
212
+ setRetailerCartUrl: (url: string) => void;
213
+ /**
214
+ * Inform Miam of the url where the promotions are
215
+ */
216
+ setPromotionsUrl: (url: string) => void;
215
217
  };
216
218
 
217
219
  // ---------------------------------------------------------------------------------------------------