@open-tender/types 0.0.125 → 0.0.127

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.
@@ -157,6 +157,7 @@ export interface CheckoutForm {
157
157
  }
158
158
  export interface CheckoutCheck {
159
159
  address: Address | null;
160
+ order_id?: string | number;
160
161
  cart: Array<OrderItem>;
161
162
  config: CheckoutConfig;
162
163
  customer: Customer;
@@ -16,6 +16,7 @@ export interface CreditCardData {
16
16
  zip: string;
17
17
  save?: boolean;
18
18
  is_default?: boolean;
19
+ token?: string;
19
20
  }
20
21
  export interface ValidatedCreditCard {
21
22
  card: CreditCardData;
@@ -12,6 +12,8 @@ export interface LoyaltyPoints {
12
12
  remaining?: number;
13
13
  balance?: number;
14
14
  index?: number;
15
+ available?: number;
16
+ applied?: number;
15
17
  }
16
18
  export interface LoyaltyRedemption {
17
19
  order_type: OrderType;
@@ -17,6 +17,7 @@ export interface OrderDetails {
17
17
  serving_utensils: boolean;
18
18
  tax_exempt_id: string | null;
19
19
  device_type: string;
20
+ is_tax_exempt?: boolean;
20
21
  }
21
22
  export interface OrderDiscount {
22
23
  discount_id?: number;
@@ -157,6 +157,7 @@ export interface CheckoutForm {
157
157
  }
158
158
  export interface CheckoutCheck {
159
159
  address: Address | null;
160
+ order_id?: string | number;
160
161
  cart: Array<OrderItem>;
161
162
  config: CheckoutConfig;
162
163
  customer: Customer;
@@ -16,6 +16,7 @@ export interface CreditCardData {
16
16
  zip: string;
17
17
  save?: boolean;
18
18
  is_default?: boolean;
19
+ token?: string;
19
20
  }
20
21
  export interface ValidatedCreditCard {
21
22
  card: CreditCardData;
@@ -12,6 +12,8 @@ export interface LoyaltyPoints {
12
12
  remaining?: number;
13
13
  balance?: number;
14
14
  index?: number;
15
+ available?: number;
16
+ applied?: number;
15
17
  }
16
18
  export interface LoyaltyRedemption {
17
19
  order_type: OrderType;
@@ -17,6 +17,7 @@ export interface OrderDetails {
17
17
  serving_utensils: boolean;
18
18
  tax_exempt_id: string | null;
19
19
  device_type: string;
20
+ is_tax_exempt?: boolean;
20
21
  }
21
22
  export interface OrderDiscount {
22
23
  discount_id?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.125",
3
+ "version": "0.0.127",
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",