@orderingstack/ordering-types 1.2.2 → 1.4.0

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.
@@ -182,6 +182,7 @@ export interface IMenuProductUIProps {
182
182
  handleCounterDecrementQty: () => void;
183
183
  currency: string;
184
184
  children: ReactElement;
185
+ parentProduct?: IProduct;
185
186
  }
186
187
  export interface IMenuItemsUIProps {
187
188
  productItems: IProduct[];
@@ -209,6 +210,7 @@ export interface IMenuComponentProps extends IHandleUpsells {
209
210
  export interface ICheckoutComponentProps extends IHandleUpsells {
210
211
  checkoutStatus?: EPaymentStatus;
211
212
  checkoutError?: IKioskError;
213
+ postPaymentError?: IKioskError;
212
214
  initializePayment: (type: EOrderPaymentType) => void;
213
215
  initializePrinting: () => void;
214
216
  navigateToMainScreen: () => void;
@@ -182,6 +182,7 @@ export interface IMenuProductUIProps {
182
182
  handleCounterDecrementQty: () => void;
183
183
  currency: string;
184
184
  children: ReactElement;
185
+ parentProduct?: IProduct;
185
186
  }
186
187
  export interface IMenuItemsUIProps {
187
188
  productItems: IProduct[];
@@ -209,6 +210,7 @@ export interface IMenuComponentProps extends IHandleUpsells {
209
210
  export interface ICheckoutComponentProps extends IHandleUpsells {
210
211
  checkoutStatus?: EPaymentStatus;
211
212
  checkoutError?: IKioskError;
213
+ postPaymentError?: IKioskError;
212
214
  initializePayment: (type: EOrderPaymentType) => void;
213
215
  initializePrinting: () => void;
214
216
  navigateToMainScreen: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.2.2",
3
+ "version": "1.4.0",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",