import type { SortingRuleStep } from './SortingRuleStep'; /** * @type SortingRule: Document representing a product sorting rule. * * @property creationDate: The creation date, read only. * - **Max Length:** 30 * * @property description: The description of the product sorting rule. * - **Max Length:** 4000 * * @property id: The ID of the product sorting rule. * - **Max Length:** 256 * * @property productSortingRuleSteps: The steps involved in sorting by this rule. * * @property ruleContext: The context of the rule, either site or global. * * @property site: The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites * - **Min Length:** 1 * - **Max Length:** 32 * */ export type SortingRule = { creationDate?: string; description?: string; id?: string; productSortingRuleSteps?: Array; ruleContext?: SortingRuleRuleContextEnum; site?: string; } & { [key: string]: any; }; export type SortingRuleRuleContextEnum = 'site' | 'global';