/** * @type RuleRequest: This document represents the request body while creating a rule. * * @property id: The ID of the rule. * - **Max Length:** 256 * * @property enabled: A flag indicating whether this rule is enabled. * * @property exclusion: A flag indicating whether this rule is an exclusion. * * @property categorizationLocaleId: This field indicates the locale to be used for evaluating rules/conditions for the entire category. Note: this applies to all the rules for that category, and the last modification for this field will apply to the entire ruleset for that category. * - **Max Length:** 10 * * @property categorizationClassificationFlag: This field indicates if the matching products assigned as a result of the rules run will be given the tag for classification category. Note: this applies to all the rules for that category, and the last modification for this field will apply to the entire ruleset for that category. * * @property categorizationPrimaryFlag: This field indicates if the matching products assigned as a result of the rules run will be given the tag for primary category. Note: this applies to all the rules for that category, and the last modification for this field will apply to the entire ruleset for that category. * */ export type RuleRequest = { id: string; enabled: boolean; exclusion: boolean; categorizationLocaleId?: string; categorizationClassificationFlag?: boolean; categorizationPrimaryFlag?: boolean; } & { [key: string]: any; };