@open-tender/types 0.0.112 → 0.0.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.
@@ -3,7 +3,7 @@ import { Allergens } from '../allergens';
3
3
  import { CreditCard } from '../creditCards';
4
4
  import { Favorites } from '../favorite';
5
5
  import { CustomerNotificationPrefs } from './communicationPreferences';
6
- import { CustomerGiftCards } from './giftCards';
6
+ import { CustomerGiftCard, CustomerGiftCards } from './giftCards';
7
7
  export interface Customer {
8
8
  accepts_marketing?: boolean;
9
9
  birth_date?: DateString | null;
@@ -20,6 +20,7 @@ export interface Customer {
20
20
  phone?: string | null;
21
21
  password?: string;
22
22
  credit_cards?: Array<Partial<CreditCard>>;
23
+ gift_cards?: Array<Partial<CustomerGiftCard>>;
23
24
  }
24
25
  export interface CustomerWithRelated extends Customer {
25
26
  allergens?: Allergens;
@@ -303,6 +303,7 @@ export interface OrderTender {
303
303
  card_number?: number;
304
304
  name?: string;
305
305
  customer_card_id?: number;
306
+ balance?: number;
306
307
  }
307
308
  export declare type OrderTenders = Array<OrderTender>;
308
309
  export interface OrderTicket {
@@ -3,7 +3,7 @@ import { Allergens } from '../allergens';
3
3
  import { CreditCard } from '../creditCards';
4
4
  import { Favorites } from '../favorite';
5
5
  import { CustomerNotificationPrefs } from './communicationPreferences';
6
- import { CustomerGiftCards } from './giftCards';
6
+ import { CustomerGiftCard, CustomerGiftCards } from './giftCards';
7
7
  export interface Customer {
8
8
  accepts_marketing?: boolean;
9
9
  birth_date?: DateString | null;
@@ -20,6 +20,7 @@ export interface Customer {
20
20
  phone?: string | null;
21
21
  password?: string;
22
22
  credit_cards?: Array<Partial<CreditCard>>;
23
+ gift_cards?: Array<Partial<CustomerGiftCard>>;
23
24
  }
24
25
  export interface CustomerWithRelated extends Customer {
25
26
  allergens?: Allergens;
@@ -303,6 +303,7 @@ export interface OrderTender {
303
303
  card_number?: number;
304
304
  name?: string;
305
305
  customer_card_id?: number;
306
+ balance?: number;
306
307
  }
307
308
  export declare type OrderTenders = Array<OrderTender>;
308
309
  export interface OrderTicket {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.112",
3
+ "version": "0.0.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",