import type { Credentials } from './Credentials'; import type { CustomerAddress } from './CustomerAddress'; /** * @type Customer: Person or entity who shops on Commerce Cloud storefronts by creating a shopper account in Commerce Cloud. * * @property birthday: The customer\'s birthday. * * @property companyName: The customer\'s company name. * - **Max Length:** 256 * * @property creationDate: Returns the value of attribute \'creationDate\'. * * @property credentials: * * @property customerId: The customer\'s ID. Both registered and guest customers have a customer ID. * - **Max Length:** 28 * * @property customerNo: The customer\'s number. * - **Max Length:** 100 * * @property email: The customer\'s email address. * - **Max Length:** 256 * * @property fax: The customer\'s fax number. The length is restricted to 32 characters. * - **Max Length:** 32 * * @property firstName: The customer\'s first name. * - **Max Length:** 256 * * @property gender: The customer\'s gender. * * @property jobTitle: The customer\'s job title. * - **Max Length:** 256 * * @property lastLoginTime: The last login time of the customer. * * @property lastModified: Returns the value of attribute \'lastModified\'. * * @property lastName: The customer\'s last name. * - **Max Length:** 256 * * @property lastVisitTime: The last visit time of the customer. * * @property phoneBusiness: The customer\'s business phone number. * - **Max Length:** 32 * * @property phoneHome: The customer\'s home phone number. * - **Max Length:** 32 * * @property phoneMobile: The customer\'s mobile phone number. * - **Max Length:** 32 * * @property preferredLocale: The customer\'s preferred locale. * - **Max Length:** 5 * * @property previousLoginTime: The time when the customer previously logged in. * * @property previousVisitTime: The time when the customer previously visited the store. * * @property primaryAddress: * * @property salutation: The customer\'s salutation. * - **Max Length:** 256 * * @property secondName: The customer\'s second name. * - **Max Length:** 256 * * @property suffix: The customer\'s suffix (for example, \"Jr.\" or \"Sr.\"). * - **Max Length:** 256 * * @property title: The customer\'s title (for example, \"Mrs\" or \"Mr\"). * - **Max Length:** 256 * */ export type Customer = { birthday?: string; companyName?: string; creationDate?: string; credentials?: Credentials; customerId?: string; customerNo: string; email?: string; fax?: string; firstName?: string; gender?: number; jobTitle?: string; lastLoginTime?: string; lastModified?: string; lastName: string; lastVisitTime?: string; phoneBusiness?: string; phoneHome?: string; phoneMobile?: string; preferredLocale?: string; previousLoginTime?: string; previousVisitTime?: string; primaryAddress?: CustomerAddress; salutation?: string; secondName?: string; suffix?: string; title?: string; } & { [key: string]: any; };