import type { RulePosition } from './RulePosition'; /** * @type CacheRulesPatchRequest: Request body for updating a cache rule. All fields are optional, but at least one field must be provided. * * @property description: A description of what the cache rule does. * - **Pattern:** /^.*$/ * * @property expression: The expression that defines when this cache rule applies. * - **Pattern:** /^.*$/ * * @property action: The action to take (currently only supports \"cache\"). * - **Pattern:** /^.*$/ * * @property excludeQueryStrings: List of query string parameters to exclude from the cache key. * * @property ignoreQueryStringsOrder: Specifies whether the order of query string parameters in the cache key is ignored. * * @property respectStrongEtags: Specifies whether strong ETags are respected. * * @property enabled: Specifies whether the rule is enabled. * * @property position: * */ export type CacheRulesPatchRequest = { description?: string; expression?: string; action?: string; excludeQueryStrings?: Array; ignoreQueryStringsOrder?: boolean; respectStrongEtags?: boolean; enabled?: boolean; position?: RulePosition; } & { [key: string]: any; };