@open-tender/types
Advanced tools
Comparing version
import { DateString } from '../../datetimes'; | ||
import { Gender, OrderNotifications } from '../../global'; | ||
import { OrderNotifications } from '../../global'; | ||
import { Allergens } from '../allergens'; | ||
@@ -16,3 +16,2 @@ import { Discounts } from '../discounts'; | ||
first_name: string; | ||
gender?: string | null; | ||
last_name: string; | ||
@@ -32,3 +31,2 @@ password?: string; | ||
first_name: string; | ||
gender: Gender | null; | ||
gift_cards?: GiftCards; | ||
@@ -35,0 +33,0 @@ is_notification_set: boolean; |
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes'; | ||
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global'; | ||
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global'; | ||
import { CreditCard, CreditCards } from './creditCards'; | ||
@@ -60,7 +60,6 @@ import { Address, Customer, GiftCard, HouseAccounts } from './customer'; | ||
} | ||
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | 'gender' | 'gift_cards' | 'is_notification_set'> { | ||
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | 'gift_cards' | 'is_notification_set'> { | ||
birth_date?: DateString | null; | ||
credit_cards?: CreditCards; | ||
customer_id?: number; | ||
gender?: Gender | null; | ||
gift_cards?: OrderCustomerGiftCards; | ||
@@ -67,0 +66,0 @@ house_accounts?: HouseAccounts; |
import { DateString } from '../../datetimes'; | ||
import { Gender, OrderNotifications } from '../../global'; | ||
import { OrderNotifications } from '../../global'; | ||
import { Allergens } from '../allergens'; | ||
@@ -16,3 +16,2 @@ import { Discounts } from '../discounts'; | ||
first_name: string; | ||
gender?: string | null; | ||
last_name: string; | ||
@@ -32,3 +31,2 @@ password?: string; | ||
first_name: string; | ||
gender: Gender | null; | ||
gift_cards?: GiftCards; | ||
@@ -35,0 +33,0 @@ is_notification_set: boolean; |
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes'; | ||
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global'; | ||
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global'; | ||
import { CreditCard, CreditCards } from './creditCards'; | ||
@@ -60,7 +60,6 @@ import { Address, Customer, GiftCard, HouseAccounts } from './customer'; | ||
} | ||
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | 'gender' | 'gift_cards' | 'is_notification_set'> { | ||
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | 'gift_cards' | 'is_notification_set'> { | ||
birth_date?: DateString | null; | ||
credit_cards?: CreditCards; | ||
customer_id?: number; | ||
gender?: Gender | null; | ||
gift_cards?: OrderCustomerGiftCards; | ||
@@ -67,0 +66,0 @@ house_accounts?: HouseAccounts; |
{ | ||
"name": "@open-tender/types", | ||
"version": "0.4.69", | ||
"version": "0.4.70", | ||
"description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
263190
-0.08%8584
-0.07%