@open-tender/types 0.2.112 → 0.2.114

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.
@@ -206,6 +206,7 @@ export interface ConfigContent {
206
206
  giftCards: ConfigContentField;
207
207
  gratuity: ConfigContentField;
208
208
  guest: ConfigContentField;
209
+ pointsShop: ConfigContentField;
209
210
  promoCodes: ConfigContentField;
210
211
  signUp: ConfigContentField;
211
212
  subtitle: string;
@@ -89,8 +89,9 @@ export interface OrderDetails {
89
89
  tax_exempt_id: string | null;
90
90
  }
91
91
  export declare type OrderDiscountType = 'DEAL' | 'DISCOUNT' | 'LOYALTY' | 'PROMO_CODE' | 'REWARD';
92
+ export declare type OrderDiscountTplsType = 'OFFER' | 'REDEEMABLE' | 'REDEMPTION';
92
93
  export interface OrderDiscount {
93
- amount: NegativeMoney;
94
+ amount?: NegativeMoney;
94
95
  auth_type: DiscountAuthType;
95
96
  description?: string | null;
96
97
  discount_type: OrderDiscountType;
@@ -104,7 +105,9 @@ export interface OrderDiscount {
104
105
  is_reward: boolean;
105
106
  name: string;
106
107
  per_order: number | null;
108
+ points?: number | null;
107
109
  title: string | null;
110
+ tpls_type?: OrderDiscountTplsType;
108
111
  }
109
112
  export declare type OrderDiscounts = OrderDiscount[];
110
113
  export interface OrderFulfillment {
@@ -206,6 +206,7 @@ export interface ConfigContent {
206
206
  giftCards: ConfigContentField;
207
207
  gratuity: ConfigContentField;
208
208
  guest: ConfigContentField;
209
+ pointsShop: ConfigContentField;
209
210
  promoCodes: ConfigContentField;
210
211
  signUp: ConfigContentField;
211
212
  subtitle: string;
@@ -89,8 +89,9 @@ export interface OrderDetails {
89
89
  tax_exempt_id: string | null;
90
90
  }
91
91
  export declare type OrderDiscountType = 'DEAL' | 'DISCOUNT' | 'LOYALTY' | 'PROMO_CODE' | 'REWARD';
92
+ export declare type OrderDiscountTplsType = 'OFFER' | 'REDEEMABLE' | 'REDEMPTION';
92
93
  export interface OrderDiscount {
93
- amount: NegativeMoney;
94
+ amount?: NegativeMoney;
94
95
  auth_type: DiscountAuthType;
95
96
  description?: string | null;
96
97
  discount_type: OrderDiscountType;
@@ -104,7 +105,9 @@ export interface OrderDiscount {
104
105
  is_reward: boolean;
105
106
  name: string;
106
107
  per_order: number | null;
108
+ points?: number | null;
107
109
  title: string | null;
110
+ tpls_type?: OrderDiscountTplsType;
108
111
  }
109
112
  export declare type OrderDiscounts = OrderDiscount[];
110
113
  export interface OrderFulfillment {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.112",
3
+ "version": "0.2.114",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",