import type { DistanceUnit } from './DistanceUnit'; /** * @type Store: Document representing a store. * * @property address1: The primary address of the store. * - **Min Length:** 1 * * @property address2: The secondary address of the store. * * @property city: The city of the store. * * @property countryCode: A two letter uppercase country code conforming to the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 standard. * - **Pattern:** /^[A-Z][A-Z]$/ * * @property distance: The distance to the given geolocation where the stores will be searched, using the unit given in the attribute \'DistanceUnit\' (miles or kilometers). * * @property distanceUnit: * * @property email: The email address of the store. * * @property fax: The fax number of the store. * * @property id: The id of the store. * - **Min Length:** 1 * - **Max Length:** 256 * * @property image: The store image. * * @property inventoryId: The inventory list id associated with this store. * - **Max Length:** 256 * * @property latitude: The latitude of the store. * * @property longitude: The longitude of the store. * * @property name: The store name. * * @property phone: The phone number of the store. * * @property posEnabled: Whether this store uses Store Point-of-Sale. * * @property postalCode: The postal code of the store. * - **Min Length:** 3 * - **Max Length:** 10 * * @property stateCode: The state code of the store. * * @property storeEvents: The store events. * * @property storeHours: The opening hours of the store. * * @property storeLocatorEnabled: Whether this store should show up in store locator results. * */ export type Store = { address1?: string; address2?: string; city?: string; countryCode?: string; distance?: number; distanceUnit?: DistanceUnit; email?: string; fax?: string; id: string; image?: string; inventoryId?: string; latitude?: number; longitude?: number; name?: string; phone?: string; posEnabled?: boolean; postalCode?: string; stateCode?: string; storeEvents?: string; storeHours?: string; storeLocatorEnabled?: boolean; } & { [key: string]: any; };