@orderingstack/ordering-types 1.2.1 → 1.3.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.
@@ -54,10 +54,11 @@ export declare enum EProductKindBucket {
54
54
  }
55
55
  export type TLiterals = {
56
56
  name: string;
57
+ upsizeName?: string;
57
58
  fiscal?: string;
58
59
  "target-product-id"?: string;
59
60
  description?: string;
60
- };
61
+ } & Record<string, string>;
61
62
  export type TMedia = {
62
63
  url: string;
63
64
  name: string;
@@ -209,6 +209,7 @@ export interface IMenuComponentProps extends IHandleUpsells {
209
209
  export interface ICheckoutComponentProps extends IHandleUpsells {
210
210
  checkoutStatus?: EPaymentStatus;
211
211
  checkoutError?: IKioskError;
212
+ postPaymentError?: IKioskError;
212
213
  initializePayment: (type: EOrderPaymentType) => void;
213
214
  initializePrinting: () => void;
214
215
  navigateToMainScreen: () => void;
@@ -54,10 +54,11 @@ export declare enum EProductKindBucket {
54
54
  }
55
55
  export type TLiterals = {
56
56
  name: string;
57
+ upsizeName?: string;
57
58
  fiscal?: string;
58
59
  "target-product-id"?: string;
59
60
  description?: string;
60
- };
61
+ } & Record<string, string>;
61
62
  export type TMedia = {
62
63
  url: string;
63
64
  name: string;
@@ -209,6 +209,7 @@ export interface IMenuComponentProps extends IHandleUpsells {
209
209
  export interface ICheckoutComponentProps extends IHandleUpsells {
210
210
  checkoutStatus?: EPaymentStatus;
211
211
  checkoutError?: IKioskError;
212
+ postPaymentError?: IKioskError;
212
213
  initializePayment: (type: EOrderPaymentType) => void;
213
214
  initializePrinting: () => void;
214
215
  navigateToMainScreen: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",