import { ID } from '../../commonStateTypes/common'; import { ZeniDate } from '../../zeniDayJS'; import { ZeniUrl as Url } from '../../zeniUrl'; export interface CustomerBase { id: ID; name: string; logo?: Url; qboId?: ID; } export interface Customer extends CustomerBase { isBillWithParent: boolean; isDeleted: boolean; isSubCustomer: boolean; isTaxable: boolean; accountId?: ID; accountingClassId?: string; addressId?: ID; balance?: number; bankAccountIds?: ID[]; billingAddressId?: ID; contacts?: string[]; createTime?: ZeniDate; currencyCode?: string; currencySymbol?: string; email?: string; firstName?: string; lastName?: string; middleName?: string; nameOnCheck?: string; note?: string; parentCustomerId?: ID; paymentMethodId?: ID; phone?: string; qboCreateTime?: ZeniDate; qboParentCustomerId?: ID; qboUpdateTime?: ZeniDate; shippingAddressId?: ID; suffix?: string; syncToken?: string; tenantId?: ID; termId?: ID; title?: string; updateTime?: ZeniDate; websiteUrl?: string; } export interface CustomerState { byCustomerId: Record; }