import type { Locale } from './enums'; import { ExtendableObject } from './tsUtils'; export interface Customer { id?: string; name?: CustomerName[]; contact?: CustomerContact; [key: string]: any; } export interface CustomerWithNameOnCard extends Customer { nameOnCard?: ExtendableObject; [key: string]: any; } export interface CustomerNameOnCard { content: string; editable: boolean; } export interface CustomerName { lang: Locale; first: string; last: string; middle?: string; } export interface CustomerPhone { countryCode: string; number: string; } export interface CustomerContact { email?: string; phone?: CustomerPhone; editable?: boolean; }