import type { RulePosition } from './RulePosition'; /** * @type CacheRulesPostRequest: Request body for creating a cache rule. * * @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 CacheRulesPostRequest = { description: string; expression: string; action: string; excludeQueryStrings?: Array; ignoreQueryStringsOrder?: boolean; respectStrongEtags?: boolean; enabled?: boolean; position?: RulePosition; } & { [key: string]: any; };