@open-tender/types 0.0.87 → 0.0.89

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.
@@ -1,6 +1,6 @@
1
1
  import { ISOString, TimezonePython } from '../datetimes';
2
2
  import { DiscountType, GratuityType, Money, OrderType, ServiceType, TenderType } from '../global';
3
- import { Address, Customer, LoyaltyPoints } from './customer';
3
+ import { Address, Customer, CustomerGiftCard, LoyaltyPoints } from './customer';
4
4
  import { OrderDetails, OrderDiscounts, OrderFulfillment, OrderItem, OrderRevenueCenter, OrderShipment, OrderSurcharges, OrderTaxes, OrderTenders, OrderTotals } from './order';
5
5
  export interface CustomerIdentifier {
6
6
  card_token?: string;
@@ -172,4 +172,5 @@ export interface CheckoutCheck {
172
172
  tenders: OrderTenders;
173
173
  timezone: TimezonePython;
174
174
  totals: OrderTotals;
175
+ gift_cards: Array<Partial<CustomerGiftCard>>;
175
176
  }
@@ -1,5 +1,6 @@
1
1
  import { DateString } from '../../datetimes';
2
2
  import { Allergens } from '../allergens';
3
+ import { CreditCard } from '../creditCards';
3
4
  import { Favorites } from '../favorite';
4
5
  import { CustomerNotificationPrefs } from './communicationPreferences';
5
6
  import { CustomerGiftCards } from './giftCards';
@@ -18,6 +19,7 @@ export interface Customer {
18
19
  order_notifications?: 'NEW' | 'EMAIL' | 'SMS' | 'ALL' | 'NONE';
19
20
  phone?: string | null;
20
21
  password?: string;
22
+ credit_cards?: Array<Partial<CreditCard>>;
21
23
  }
22
24
  export interface CustomerWithRelated extends Customer {
23
25
  allergens?: Allergens;
@@ -1,6 +1,6 @@
1
1
  import { ISOString, TimezonePython } from '../datetimes';
2
2
  import { DiscountType, GratuityType, Money, OrderType, ServiceType, TenderType } from '../global';
3
- import { Address, Customer, LoyaltyPoints } from './customer';
3
+ import { Address, Customer, CustomerGiftCard, LoyaltyPoints } from './customer';
4
4
  import { OrderDetails, OrderDiscounts, OrderFulfillment, OrderItem, OrderRevenueCenter, OrderShipment, OrderSurcharges, OrderTaxes, OrderTenders, OrderTotals } from './order';
5
5
  export interface CustomerIdentifier {
6
6
  card_token?: string;
@@ -172,4 +172,5 @@ export interface CheckoutCheck {
172
172
  tenders: OrderTenders;
173
173
  timezone: TimezonePython;
174
174
  totals: OrderTotals;
175
+ gift_cards: Array<Partial<CustomerGiftCard>>;
175
176
  }
@@ -1,5 +1,6 @@
1
1
  import { DateString } from '../../datetimes';
2
2
  import { Allergens } from '../allergens';
3
+ import { CreditCard } from '../creditCards';
3
4
  import { Favorites } from '../favorite';
4
5
  import { CustomerNotificationPrefs } from './communicationPreferences';
5
6
  import { CustomerGiftCards } from './giftCards';
@@ -18,6 +19,7 @@ export interface Customer {
18
19
  order_notifications?: 'NEW' | 'EMAIL' | 'SMS' | 'ALL' | 'NONE';
19
20
  phone?: string | null;
20
21
  password?: string;
22
+ credit_cards?: Array<Partial<CreditCard>>;
21
23
  }
22
24
  export interface CustomerWithRelated extends Customer {
23
25
  allergens?: Allergens;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
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",