webc-miam 6.0.0 → 6.0.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.
- package/interfaces/miam-interface.ts +10 -0
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/miam-style.css +1 -1
- package/package.json +1 -1
- package/webc-miam-de.js +1 -1
- package/webc-miam-en.js +1 -1
- package/webc-miam-es.js +1 -1
- package/webc-miam-fr.js +1 -1
- package/webc-miam-it.js +1 -1
- package/webc-miam-nl.js +1 -1
- package/webc-miam-pt.js +1 -1
- package/webc-miam-ro.js +1 -1
|
@@ -34,6 +34,12 @@ export interface MiamInterface {
|
|
|
34
34
|
* side), so you can start the basket-sync earlier
|
|
35
35
|
*/
|
|
36
36
|
initialize: () => void;
|
|
37
|
+
/**
|
|
38
|
+
* If you have different price tables (or pricebooks) for the same point of sale, you can call this
|
|
39
|
+
* method to make Miam know on which pricebook you are using
|
|
40
|
+
* For example, prices can be different depending on if the user chose home delivery or drive-in
|
|
41
|
+
*/
|
|
42
|
+
updatePricebook: (pricebookName: string) => void,
|
|
37
43
|
};
|
|
38
44
|
|
|
39
45
|
basketSync: {
|
|
@@ -162,6 +168,10 @@ export interface MiamInterface {
|
|
|
162
168
|
// * /!\ DEPRECATED: DO NOT USE /!\
|
|
163
169
|
// */
|
|
164
170
|
// setSuggestionsPrimaryButtonActions: (display: boolean, addToBasket: boolean) => void;
|
|
171
|
+
/**
|
|
172
|
+
* If called, adding a recipe to Miam's basket will display a confirmation toaster
|
|
173
|
+
*/
|
|
174
|
+
showConfirmationToaster: () => void;
|
|
165
175
|
};
|
|
166
176
|
|
|
167
177
|
// ---------------------------------------------------------------------------------------------------
|