@open-tender/types 0.2.111 → 0.2.113

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.
@@ -173,6 +173,7 @@ export interface ConfigContent {
173
173
  videoUrl: string;
174
174
  videoUrlMobile: string;
175
175
  };
176
+ accountHistory: ConfigContentField;
176
177
  accountSettings: ConfigContentField;
177
178
  addresses: ConfigContentField;
178
179
  allergens: ConfigContentField;
@@ -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 {
@@ -173,6 +173,7 @@ export interface ConfigContent {
173
173
  videoUrl: string;
174
174
  videoUrlMobile: string;
175
175
  };
176
+ accountHistory: ConfigContentField;
176
177
  accountSettings: ConfigContentField;
177
178
  addresses: ConfigContentField;
178
179
  allergens: ConfigContentField;
@@ -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.111",
3
+ "version": "0.2.113",
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",