import type { RulePosition } from './RulePosition'; /** * @type CustomRulesPostRequest: Create a custom rule. * * @property description: A description of the custom rule. * - **Pattern:** /^.*$/ * * @property expression: The expression that determines the custom rule\'s behavior. * - **Pattern:** /^.*$/ * * @property actions: The action(s) applied by the custom rule. * * @property enabled: Whether or not the custom rule is enabled. * * @property position: * */ export type CustomRulesPostRequest = { description: string; expression: string; actions: Array; enabled?: boolean; position?: RulePosition; } & { [key: string]: any; };