import * as S from "@distilled.cloud/core/schema"; import * as API from "@distilled.cloud/core/api"; import { type CloudflareOpError, type CloudflareOpContext } from "../protocol.ts"; import { ResultInfo } from "../pagination.ts"; export type { CloudflareOpError, CloudflareOpContext }; declare const Forbidden_base: S.Class, import("effect/Cause").YieldableError>; export declare class Forbidden extends /*@__PURE__*/ Forbidden_base { } declare const PhaseNotEntitled_base: S.Class, import("effect/Cause").YieldableError>; export declare class PhaseNotEntitled extends /*@__PURE__*/ PhaseNotEntitled_base { } declare const RulesetNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class RulesetNotFound extends /*@__PURE__*/ RulesetNotFound_base { } export interface RulesCreateRequestBodyBlockRulePositionBeforePosition { /** The ID of another rule to place the rule before. An empty value causes the rule to be placed at the top. */ before?: string; } export declare const RulesCreateRequestBodyBlockRulePositionBeforePosition: S.Schema; export interface RulesCreateRequestBodyBlockRulePositionAfterPosition { /** The ID of another rule to place the rule after. An empty value causes the rule to be placed at the bottom. */ after?: string; } export declare const RulesCreateRequestBodyBlockRulePositionAfterPosition: S.Schema; export interface RulesCreateRequestBodyBlockRulePositionIndexPosition { /** An index at which to place the rule, where index 1 is the first rule. */ index?: number; } export declare const RulesCreateRequestBodyBlockRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyBlockRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyBlockRulePosition: any; export interface RulesCreateRequestBodyBlockRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyBlockRulePosition; } export declare const RulesCreateRequestBodyBlockRule: S.Schema; export type RulesCreateRequestBodyChallengeRuleAction = "challenge"; export declare const RulesCreateRequestBodyChallengeRuleAction: any; export type RulesCreateRequestBodyChallengeRuleCategoriesList = Array; export declare const RulesCreateRequestBodyChallengeRuleCategoriesList: S.Schema; export interface RulesCreateRequestBodyChallengeRuleExposedCredentialCheck { /** An expression that selects the password used in the credentials check. */ passwordExpression: string; /** An expression that selects the user ID used in the credentials check. */ usernameExpression: string; } export declare const RulesCreateRequestBodyChallengeRuleExposedCredentialCheck: S.Schema; export interface RulesCreateRequestBodyChallengeRuleLogging { /** Whether to generate a log when the rule matches. */ enabled: boolean; } export declare const RulesCreateRequestBodyChallengeRuleLogging: S.Schema; export type RulesCreateRequestBodyChallengeRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyChallengeRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyChallengeRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyChallengeRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyChallengeRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyChallengeRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyChallengeRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyChallengeRulePosition: any; export type RulesCreateRequestBodyChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateRequestBodyChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateRequestBodyChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateRequestBodyChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesCreateRequestBodyChallengeRuleRatelimit: S.Schema; export interface RulesCreateRequestBodyChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesCreateRequestBodyChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: RulesCreateRequestBodyChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyChallengeRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateRequestBodyChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesCreateRequestBodyChallengeRule: S.Schema; export type RulesCreateRequestBodyResponseCompressionRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyResponseCompressionRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyResponseCompressionRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyResponseCompressionRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyResponseCompressionRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyResponseCompressionRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyResponseCompressionRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyResponseCompressionRulePosition: any; export interface RulesCreateRequestBodyResponseCompressionRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyResponseCompressionRulePosition; } export declare const RulesCreateRequestBodyResponseCompressionRule: S.Schema; export type RulesCreateRequestBodyDDoSDynamicRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyDDoSDynamicRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyDDoSDynamicRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyDDoSDynamicRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyDDoSDynamicRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyDDoSDynamicRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyDDoSDynamicRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyDDoSDynamicRulePosition: any; export interface RulesCreateRequestBodyDDoSDynamicRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyDDoSDynamicRulePosition; } export declare const RulesCreateRequestBodyDDoSDynamicRule: S.Schema; export type RulesCreateRequestBodyExecuteRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyExecuteRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyExecuteRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyExecuteRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyExecuteRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyExecuteRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyExecuteRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyExecuteRulePosition: any; export interface RulesCreateRequestBodyExecuteRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyExecuteRulePosition; } export declare const RulesCreateRequestBodyExecuteRule: S.Schema; export type RulesCreateRequestBodyForceConnectionCloseRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyForceConnectionCloseRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyForceConnectionCloseRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyForceConnectionCloseRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyForceConnectionCloseRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyForceConnectionCloseRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyForceConnectionCloseRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyForceConnectionCloseRulePosition: any; export interface RulesCreateRequestBodyForceConnectionCloseRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyForceConnectionCloseRulePosition; } export declare const RulesCreateRequestBodyForceConnectionCloseRule: S.Schema; export type RulesCreateRequestBodyJavaScriptChallengeRuleAction = "js_challenge"; export declare const RulesCreateRequestBodyJavaScriptChallengeRuleAction: any; export type RulesCreateRequestBodyJavaScriptChallengeRuleCategoriesList = Array; export declare const RulesCreateRequestBodyJavaScriptChallengeRuleCategoriesList: S.Schema; export type RulesCreateRequestBodyJavaScriptChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateRequestBodyJavaScriptChallengeRuleExposedCredentialCheck: S.Schema; export type RulesCreateRequestBodyJavaScriptChallengeRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyJavaScriptChallengeRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyJavaScriptChallengeRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyJavaScriptChallengeRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyJavaScriptChallengeRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyJavaScriptChallengeRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyJavaScriptChallengeRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyJavaScriptChallengeRulePosition: any; export type RulesCreateRequestBodyJavaScriptChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateRequestBodyJavaScriptChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateRequestBodyJavaScriptChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateRequestBodyJavaScriptChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesCreateRequestBodyJavaScriptChallengeRuleRatelimit: S.Schema; export interface RulesCreateRequestBodyJavaScriptChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesCreateRequestBodyJavaScriptChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: RulesCreateRequestBodyJavaScriptChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyJavaScriptChallengeRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateRequestBodyJavaScriptChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesCreateRequestBodyJavaScriptChallengeRule: S.Schema; export type RulesCreateRequestBodyLogRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyLogRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyLogRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyLogRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyLogRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyLogRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyLogRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyLogRulePosition: any; export interface RulesCreateRequestBodyLogRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyLogRulePosition; } export declare const RulesCreateRequestBodyLogRule: S.Schema; export type RulesCreateRequestBodyLogCustomFieldRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyLogCustomFieldRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyLogCustomFieldRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyLogCustomFieldRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyLogCustomFieldRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyLogCustomFieldRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyLogCustomFieldRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyLogCustomFieldRulePosition: any; export interface RulesCreateRequestBodyLogCustomFieldRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyLogCustomFieldRulePosition; } export declare const RulesCreateRequestBodyLogCustomFieldRule: S.Schema; export type RulesCreateRequestBodyManagedChallengeRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyManagedChallengeRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyManagedChallengeRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyManagedChallengeRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyManagedChallengeRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyManagedChallengeRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyManagedChallengeRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyManagedChallengeRulePosition: any; export interface RulesCreateRequestBodyManagedChallengeRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyManagedChallengeRulePosition; } export declare const RulesCreateRequestBodyManagedChallengeRule: S.Schema; export type RulesCreateRequestBodyRedirectRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyRedirectRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyRedirectRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyRedirectRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyRedirectRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyRedirectRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyRedirectRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyRedirectRulePosition: any; export interface RulesCreateRequestBodyRedirectRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyRedirectRulePosition; } export declare const RulesCreateRequestBodyRedirectRule: S.Schema; export type RulesCreateRequestBodyRewriteRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyRewriteRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyRewriteRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyRewriteRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyRewriteRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyRewriteRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyRewriteRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyRewriteRulePosition: any; export interface RulesCreateRequestBodyRewriteRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyRewriteRulePosition; } export declare const RulesCreateRequestBodyRewriteRule: S.Schema; export type RulesCreateRequestBodyRouteRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyRouteRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyRouteRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyRouteRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyRouteRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyRouteRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyRouteRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyRouteRulePosition: any; export interface RulesCreateRequestBodyRouteRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyRouteRulePosition; } export declare const RulesCreateRequestBodyRouteRule: S.Schema; export type RulesCreateRequestBodyScoreRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyScoreRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyScoreRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyScoreRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyScoreRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyScoreRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyScoreRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyScoreRulePosition: any; export interface RulesCreateRequestBodyScoreRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyScoreRulePosition; } export declare const RulesCreateRequestBodyScoreRule: S.Schema; export type RulesCreateRequestBodyServeErrorRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyServeErrorRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyServeErrorRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyServeErrorRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyServeErrorRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyServeErrorRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyServeErrorRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyServeErrorRulePosition: any; export interface RulesCreateRequestBodyServeErrorRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyServeErrorRulePosition; } export declare const RulesCreateRequestBodyServeErrorRule: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleAction = "set_cache_control"; export declare const RulesCreateRequestBodySetCacheControlRuleAction: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersImmutable = RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersImmutable: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAge = RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAge: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidate = RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidate: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstand = RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstand: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveOperation: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveQualifiersList; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoCache = RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoCache: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoStore = RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoStore: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransform = RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransform: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveOperation: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveQualifiersList; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPrivate = RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPrivate: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidate = RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidate: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPublicSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersPublicSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPublicSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPublicRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersPublicRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPublicRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersPublic = RulesCreateRequestBodySetCacheControlRuleActionParametersPublicSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersPublicRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersPublic: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxage = RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxage: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfError = RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfError: any; export type RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidate = RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective | RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective; export declare const RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidate: any; export interface RulesCreateRequestBodySetCacheControlRuleActionParameters { /** A cache-control directive configuration. */ immutable?: RulesCreateRequestBodySetCacheControlRuleActionParametersImmutable; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: RulesCreateRequestBodySetCacheControlRuleActionParametersMaxAge; /** A cache-control directive configuration. */ mustRevalidate?: RulesCreateRequestBodySetCacheControlRuleActionParametersMustRevalidate; /** A cache-control directive configuration. */ mustUnderstand?: RulesCreateRequestBodySetCacheControlRuleActionParametersMustUnderstand; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: RulesCreateRequestBodySetCacheControlRuleActionParametersNoCache; /** A cache-control directive configuration. */ noStore?: RulesCreateRequestBodySetCacheControlRuleActionParametersNoStore; /** A cache-control directive configuration. */ noTransform?: RulesCreateRequestBodySetCacheControlRuleActionParametersNoTransform; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: RulesCreateRequestBodySetCacheControlRuleActionParametersPrivate; /** A cache-control directive configuration. */ proxyRevalidate?: RulesCreateRequestBodySetCacheControlRuleActionParametersProxyRevalidate; /** A cache-control directive configuration. */ public?: RulesCreateRequestBodySetCacheControlRuleActionParametersPublic; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: RulesCreateRequestBodySetCacheControlRuleActionParametersSMaxage; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: RulesCreateRequestBodySetCacheControlRuleActionParametersStaleIfError; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: RulesCreateRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidate; } export declare const RulesCreateRequestBodySetCacheControlRuleActionParameters: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleCategoriesList = Array; export declare const RulesCreateRequestBodySetCacheControlRuleCategoriesList: S.Schema; export type RulesCreateRequestBodySetCacheControlRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateRequestBodySetCacheControlRuleExposedCredentialCheck: S.Schema; export type RulesCreateRequestBodySetCacheControlRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodySetCacheControlRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodySetCacheControlRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodySetCacheControlRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodySetCacheControlRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetCacheControlRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodySetCacheControlRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetCacheControlRulePosition: any; export type RulesCreateRequestBodySetCacheControlRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateRequestBodySetCacheControlRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateRequestBodySetCacheControlRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateRequestBodySetCacheControlRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesCreateRequestBodySetCacheControlRuleRatelimit: S.Schema; export interface RulesCreateRequestBodySetCacheControlRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesCreateRequestBodySetCacheControlRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodySetCacheControlRuleActionParameters; /** The categories of the rule. */ categories?: RulesCreateRequestBodySetCacheControlRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodySetCacheControlRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateRequestBodySetCacheControlRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesCreateRequestBodySetCacheControlRule: S.Schema; export type RulesCreateRequestBodySetCacheSettingsRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodySetCacheSettingsRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodySetCacheSettingsRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodySetCacheSettingsRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodySetCacheSettingsRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetCacheSettingsRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodySetCacheSettingsRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetCacheSettingsRulePosition: any; export interface RulesCreateRequestBodySetCacheSettingsRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodySetCacheSettingsRulePosition; } export declare const RulesCreateRequestBodySetCacheSettingsRule: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleAction = "set_cache_tags"; export declare const RulesCreateRequestBodySetCacheTagsRuleAction: any; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesOperation: any; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesValuesList = Array; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesValuesList; } export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValues: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation: any; export interface RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation | (string & {}); } export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpression: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation: any; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesValuesList; } export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValues: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation: any; export interface RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation | (string & {}); } export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpression: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesOperation: any; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesValuesList = Array; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesValuesList; } export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValues: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation: any; export interface RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation | (string & {}); } export declare const RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpression: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleActionParameters = RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValues | RulesCreateRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpression | RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValues | RulesCreateRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpression | RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValues | RulesCreateRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpression; export declare const RulesCreateRequestBodySetCacheTagsRuleActionParameters: any; export type RulesCreateRequestBodySetCacheTagsRuleCategoriesList = Array; export declare const RulesCreateRequestBodySetCacheTagsRuleCategoriesList: S.Schema; export type RulesCreateRequestBodySetCacheTagsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateRequestBodySetCacheTagsRuleExposedCredentialCheck: S.Schema; export type RulesCreateRequestBodySetCacheTagsRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodySetCacheTagsRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodySetCacheTagsRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodySetCacheTagsRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodySetCacheTagsRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetCacheTagsRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodySetCacheTagsRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetCacheTagsRulePosition: any; export type RulesCreateRequestBodySetCacheTagsRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateRequestBodySetCacheTagsRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateRequestBodySetCacheTagsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateRequestBodySetCacheTagsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesCreateRequestBodySetCacheTagsRuleRatelimit: S.Schema; export interface RulesCreateRequestBodySetCacheTagsRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesCreateRequestBodySetCacheTagsRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodySetCacheTagsRuleActionParameters; /** The categories of the rule. */ categories?: RulesCreateRequestBodySetCacheTagsRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodySetCacheTagsRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateRequestBodySetCacheTagsRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesCreateRequestBodySetCacheTagsRule: S.Schema; export type RulesCreateRequestBodySetConfigurationRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodySetConfigurationRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodySetConfigurationRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodySetConfigurationRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodySetConfigurationRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetConfigurationRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodySetConfigurationRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySetConfigurationRulePosition: any; export interface RulesCreateRequestBodySetConfigurationRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodySetConfigurationRulePosition; } export declare const RulesCreateRequestBodySetConfigurationRule: S.Schema; export type RulesCreateRequestBodySkipRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodySkipRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodySkipRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodySkipRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodySkipRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySkipRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodySkipRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodySkipRulePosition: any; export interface RulesCreateRequestBodySkipRule { /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodySkipRulePosition; } export declare const RulesCreateRequestBodySkipRule: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRuleAction = "transform_response_html"; export declare const RulesCreateRequestBodyTransformResponseHTMLRuleAction: any; export interface RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters { /** Enables the link maze transformation on the response. */ linkMaze: unknown; } export declare const RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRuleCategoriesList = Array; export declare const RulesCreateRequestBodyTransformResponseHTMLRuleCategoriesList: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateRequestBodyTransformResponseHTMLRuleExposedCredentialCheck: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesCreateRequestBodyTransformResponseHTMLRulePositionBeforePosition: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesCreateRequestBodyTransformResponseHTMLRulePositionAfterPosition: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyTransformResponseHTMLRulePositionIndexPosition: S.Schema; export type RulesCreateRequestBodyTransformResponseHTMLRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesCreateRequestBodyTransformResponseHTMLRulePosition: any; export type RulesCreateRequestBodyTransformResponseHTMLRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateRequestBodyTransformResponseHTMLRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateRequestBodyTransformResponseHTMLRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateRequestBodyTransformResponseHTMLRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesCreateRequestBodyTransformResponseHTMLRuleRatelimit: S.Schema; export interface RulesCreateRequestBodyTransformResponseHTMLRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesCreateRequestBodyTransformResponseHTMLRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; /** The categories of the rule. */ categories?: RulesCreateRequestBodyTransformResponseHTMLRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesCreateRequestBodyTransformResponseHTMLRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateRequestBodyTransformResponseHTMLRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesCreateRequestBodyTransformResponseHTMLRule: S.Schema; export type RulesCreateRequestBody = RulesCreateRequestBodyBlockRule | RulesCreateRequestBodyChallengeRule | RulesCreateRequestBodyResponseCompressionRule | RulesCreateRequestBodyDDoSDynamicRule | RulesCreateRequestBodyExecuteRule | RulesCreateRequestBodyForceConnectionCloseRule | RulesCreateRequestBodyJavaScriptChallengeRule | RulesCreateRequestBodyLogRule | RulesCreateRequestBodyLogCustomFieldRule | RulesCreateRequestBodyManagedChallengeRule | RulesCreateRequestBodyRedirectRule | RulesCreateRequestBodyRewriteRule | RulesCreateRequestBodyRouteRule | RulesCreateRequestBodyScoreRule | RulesCreateRequestBodyServeErrorRule | RulesCreateRequestBodySetCacheControlRule | RulesCreateRequestBodySetCacheSettingsRule | RulesCreateRequestBodySetCacheTagsRule | RulesCreateRequestBodySetConfigurationRule | RulesCreateRequestBodySkipRule | RulesCreateRequestBodyTransformResponseHTMLRule; export declare const RulesCreateRequestBody: any; export interface CreateRuleForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; body: RulesCreateRequestBody; } export declare const CreateRuleForAccountRequest: S.Schema; export type RulesCreateResponseKind = "managed" | "custom" | "root" | "zone"; export declare const RulesCreateResponseKind: any; export type RulesCreateResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const RulesCreateResponsePhase: any; export type RulesCreateResponseRulesItemBlockRuleAction = "block"; export declare const RulesCreateResponseRulesItemBlockRuleAction: any; export interface RulesCreateResponseRulesItemBlockRuleActionParametersResponse { /** The content to return. */ content: string; /** The type of the content to return. */ contentType: string; /** The status code to return. */ statusCode: number; } export declare const RulesCreateResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export interface RulesCreateResponseRulesItemBlockRuleActionParameters { /** The response to show when the block is applied. */ response?: RulesCreateResponseRulesItemBlockRuleActionParametersResponse | null; } export declare const RulesCreateResponseRulesItemBlockRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemBlockRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemBlockRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const RulesCreateResponseRulesItemBlockRuleLogging: S.Schema; export type RulesCreateResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemBlockRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemBlockRule: S.Schema; export type RulesCreateResponseRulesItemChallengeAction = "challenge"; export declare const RulesCreateResponseRulesItemChallengeAction: any; export type RulesCreateResponseRulesItemChallengeCategoriesList = Array; export declare const RulesCreateResponseRulesItemChallengeCategoriesList: S.Schema; export type RulesCreateResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemChallengeRatelimit: S.Schema; export interface RulesCreateResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemChallenge: S.Schema; export type RulesCreateResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const RulesCreateResponseRulesItemCompressResponseRuleAction: any; export type RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface RulesCreateResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: RulesCreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const RulesCreateResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemCompressResponseRule: S.Schema; export type RulesCreateResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const RulesCreateResponseRulesItemDDoSDynamicRuleAction: any; export type RulesCreateResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemDDoSDynamicRule: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleAction = "execute"; export declare const RulesCreateResponseRulesItemExecuteRuleAction: any; export interface RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData { /** The public key to encrypt matched data logs with. */ publicKey: string; } export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface RulesCreateResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: RulesCreateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const RulesCreateResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface RulesCreateResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: RulesCreateResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const RulesCreateResponseRulesItemExecuteRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemExecuteRule: S.Schema; export type RulesCreateResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const RulesCreateResponseRulesItemForceConnectionCloseRuleAction: any; export type RulesCreateResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemForceConnectionCloseRule: S.Schema; export type RulesCreateResponseRulesItemJSChallengeAction = "js_challenge"; export declare const RulesCreateResponseRulesItemJSChallengeAction: any; export type RulesCreateResponseRulesItemJSChallengeCategoriesList = Array; export declare const RulesCreateResponseRulesItemJSChallengeCategoriesList: S.Schema; export type RulesCreateResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemJSChallengeRatelimit: S.Schema; export interface RulesCreateResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemJSChallenge: S.Schema; export type RulesCreateResponseRulesItemLogRuleAction = "log"; export declare const RulesCreateResponseRulesItemLogRuleAction: any; export type RulesCreateResponseRulesItemLogRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemLogRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemLogRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemLogRule: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleAction: any; export interface RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem { /** The name of the cookie. */ name: string; } export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export interface RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem { /** The name of the response header. */ name: string; /** Whether to log duplicate values of the same header. */ preserveDuplicates?: boolean | null; } export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export interface RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem { /** The name of the header. */ name: string; } export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface RulesCreateResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const RulesCreateResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemLogCustomFieldRule: S.Schema; export type RulesCreateResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const RulesCreateResponseRulesItemManagedChallengeRuleAction: any; export type RulesCreateResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemManagedChallengeRule: S.Schema; export type RulesCreateResponseRulesItemRedirectRuleAction = "redirect"; export declare const RulesCreateResponseRulesItemRedirectRuleAction: any; export interface RulesCreateResponseRulesItemRedirectRuleActionParametersFromList { /** An expression that evaluates to the list lookup key. */ key: string; /** The name of the list to match against. */ name: string; } export declare const RulesCreateResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export interface RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl { /** An expression that evaluates to a URL to redirect the request to. */ expression?: string | null; /** A URL to redirect the request to. */ value?: string | null; } export declare const RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface RulesCreateResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const RulesCreateResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface RulesCreateResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const RulesCreateResponseRulesItemRedirectRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemRedirectRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemRedirectRule: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleAction = "rewrite"; export declare const RulesCreateResponseRulesItemRewriteRuleAction: any; export type RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleActionParametersHeaders = RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | RulesCreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersHeaders: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath { /** An expression that evaluates to a value to rewrite the URI path to. */ expression?: string | null; /** A value to rewrite the URI path to. */ value?: string | null; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath { /** A URI path rewrite. */ path: RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; /** Whether to propagate the rewritten URI to origin. */ origin?: boolean | null; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery { /** An expression that evaluates to a value to rewrite the URI query to. */ expression?: string | null; /** A value to rewrite the URI query to. */ value?: string | null; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export interface RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery { /** A URI query rewrite. */ query: RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; /** Whether to propagate the rewritten URI to origin. */ origin?: boolean | null; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const RulesCreateResponseRulesItemRewriteRuleActionParametersUri: any; export interface RulesCreateResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: RulesCreateResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: RulesCreateResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const RulesCreateResponseRulesItemRewriteRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemRewriteRule: S.Schema; export type RulesCreateResponseRulesItemRouteRuleAction = "route"; export declare const RulesCreateResponseRulesItemRouteRuleAction: any; export interface RulesCreateResponseRulesItemRouteRuleActionParametersOrigin { /** A resolved host to route to. */ host?: string | null; /** A destination port to route to. */ port?: number | null; } export declare const RulesCreateResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export interface RulesCreateResponseRulesItemRouteRuleActionParametersSni { /** A value to override the SNI to. */ value: string; } export declare const RulesCreateResponseRulesItemRouteRuleActionParametersSni: S.Schema; export interface RulesCreateResponseRulesItemRouteRuleActionParameters { /** A value to rewrite the HTTP host header to. */ hostHeader?: string | null; /** An origin to route to. */ origin?: RulesCreateResponseRulesItemRouteRuleActionParametersOrigin | null; /** A Server Name Indication (SNI) override. */ sni?: RulesCreateResponseRulesItemRouteRuleActionParametersSni | null; } export declare const RulesCreateResponseRulesItemRouteRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemRouteRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemRouteRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemRouteRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemRouteRule: S.Schema; export type RulesCreateResponseRulesItemScoreRuleAction = "score"; export declare const RulesCreateResponseRulesItemScoreRuleAction: any; export interface RulesCreateResponseRulesItemScoreRuleActionParameters { /** A delta to change the score by, which can be either positive or negative. */ increment: number; } export declare const RulesCreateResponseRulesItemScoreRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemScoreRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemScoreRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemScoreRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemScoreRule: S.Schema; export type RulesCreateResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const RulesCreateResponseRulesItemServeErrorRuleAction: any; export type RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type RulesCreateResponseRulesItemServeErrorRuleActionParameters = RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersContent | RulesCreateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const RulesCreateResponseRulesItemServeErrorRuleActionParameters: any; export type RulesCreateResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemServeErrorRule: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const RulesCreateResponseRulesItemSetCacheControlAction: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersImmutable = RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersImmutable: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAge = RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidate = RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstand = RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoCache = RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoCache: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoStore = RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoStore: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransform = RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPrivate = RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPrivate: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidate = RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersPublic = RulesCreateResponseRulesItemSetCacheControlActionParametersPublicSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersPublic: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxage = RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfError = RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface RulesCreateResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: RulesCreateResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: RulesCreateResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: RulesCreateResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: RulesCreateResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: RulesCreateResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: RulesCreateResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: RulesCreateResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: RulesCreateResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: RulesCreateResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: RulesCreateResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: RulesCreateResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: RulesCreateResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: RulesCreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const RulesCreateResponseRulesItemSetCacheControlActionParameters: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlCategoriesList = Array; export declare const RulesCreateResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface RulesCreateResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemSetCacheControl: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleAction: any; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost { /** Whether to use the resolved host in the cache key. */ resolved?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser { /** Whether to use the user agent's device type in the cache key. */ deviceType?: boolean | null; /** Whether to use the user agents's country in the cache key. */ geo?: boolean | null; /** Whether to use the user agent's language in the cache key. */ lang?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve { /** Whether Cache Reserve is enabled. If this is true and a request meets eligibility criteria, Cloudflare will write the resource to Cache Reserve. */ eligible: boolean; /** The minimum file size eligible for storage in Cache Reserve. */ minimumFileSize?: number | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange { /** The lower bound of the range. */ from?: number | null; /** The upper bound of the range. */ to?: number | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem { /** The time to cache the response for (in seconds). A value of 0 is equivalent to setting the cache control header with the value "no-cache". A value of -1 is equivalent to setting the cache control header with the value of "no-store". */ value: number; /** A single status code to apply the TTL to. */ statusCode?: number | null; /** A range of status codes to apply the TTL to. */ statusCodeRange?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale { /** Whether Cloudflare should disable serving stale content while getting the latest content from the origin. */ disableStaleWhileUpdating?: boolean | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary { /** URL pattern for the Use-As-Dictionary match field. This pattern specifies which URLs can use this response as a dictionary. */ matchPattern: string; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemSetCacheSettingsRule: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const RulesCreateResponseRulesItemSetCacheTagsAction: any; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsActionParameters = RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | RulesCreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | RulesCreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | RulesCreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const RulesCreateResponseRulesItemSetCacheTagsActionParameters: any; export type RulesCreateResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const RulesCreateResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface RulesCreateResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemSetCacheTags: S.Schema; export type RulesCreateResponseRulesItemSetConfigRuleAction = "set_config"; export declare const RulesCreateResponseRulesItemSetConfigRuleAction: any; export interface RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify { /** Whether to minify CSS files. */ css?: boolean | null; /** Whether to minify HTML files. */ html?: boolean | null; /** Whether to minify JavaScript files. */ js?: boolean | null; } export declare const RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type RulesCreateResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const RulesCreateResponseRulesItemSetConfigRuleActionParametersPolish: any; export type RulesCreateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const RulesCreateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type RulesCreateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const RulesCreateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type RulesCreateResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const RulesCreateResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type RulesCreateResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const RulesCreateResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface RulesCreateResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: RulesCreateResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: RulesCreateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: RulesCreateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: RulesCreateResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: RulesCreateResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const RulesCreateResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemSetConfigRule: S.Schema; export type RulesCreateResponseRulesItemSkipRuleAction = "skip"; export declare const RulesCreateResponseRulesItemSkipRuleAction: any; export type RulesCreateResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersPhase: any; export type RulesCreateResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type RulesCreateResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type RulesCreateResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersProductsItem: any; export type RulesCreateResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type RulesCreateResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type RulesCreateResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: RulesCreateResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type RulesCreateResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersRuleset: any; export type RulesCreateResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const RulesCreateResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface RulesCreateResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: RulesCreateResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: RulesCreateResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: RulesCreateResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: RulesCreateResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: RulesCreateResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: RulesCreateResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const RulesCreateResponseRulesItemSkipRuleActionParameters: S.Schema; export type RulesCreateResponseRulesItemSkipRuleCategoriesList = Array; export declare const RulesCreateResponseRulesItemSkipRuleCategoriesList: S.Schema; export type RulesCreateResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemSkipRuleRatelimit: S.Schema; export interface RulesCreateResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemSkipRule: S.Schema; export type RulesCreateResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const RulesCreateResponseRulesItemTransformResponseHTMLAction: any; export type RulesCreateResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const RulesCreateResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type RulesCreateResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const RulesCreateResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type RulesCreateResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesCreateResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type RulesCreateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const RulesCreateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface RulesCreateResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesCreateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesCreateResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface RulesCreateResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesCreateResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesCreateResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesCreateResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesCreateResponseRulesItemTransformResponseHTML: S.Schema; export type RulesCreateResponseRulesItem = RulesCreateResponseRulesItemBlockRule | RulesCreateResponseRulesItemChallenge | RulesCreateResponseRulesItemCompressResponseRule | RulesCreateResponseRulesItemDDoSDynamicRule | RulesCreateResponseRulesItemExecuteRule | RulesCreateResponseRulesItemForceConnectionCloseRule | RulesCreateResponseRulesItemJSChallenge | RulesCreateResponseRulesItemLogRule | RulesCreateResponseRulesItemLogCustomFieldRule | RulesCreateResponseRulesItemManagedChallengeRule | RulesCreateResponseRulesItemRedirectRule | RulesCreateResponseRulesItemRewriteRule | RulesCreateResponseRulesItemRouteRule | RulesCreateResponseRulesItemScoreRule | RulesCreateResponseRulesItemServeErrorRule | RulesCreateResponseRulesItemSetCacheControl | RulesCreateResponseRulesItemSetCacheSettingsRule | RulesCreateResponseRulesItemSetCacheTags | RulesCreateResponseRulesItemSetConfigRule | RulesCreateResponseRulesItemSkipRule | RulesCreateResponseRulesItemTransformResponseHTML; export declare const RulesCreateResponseRulesItem: any; export type RulesCreateResponseRulesList = Array; export declare const RulesCreateResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateRuleResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: RulesCreateResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: RulesCreateResponsePhase; /** The list of rules in the ruleset. */ rules: RulesCreateResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const CreateRuleResponse: S.Schema; export interface CreateRuleForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; body: RulesCreateRequestBody; } export declare const CreateRuleForZoneRequest: S.Schema; export type CreateRequestKind = "managed" | "custom" | "root" | "zone"; export declare const CreateRequestKind: any; export type CreateRequestPhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const CreateRequestPhase: any; export type CreateRequestRulesItemBlockRuleAction = "block"; export declare const CreateRequestRulesItemBlockRuleAction: any; export type CreateRequestRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const CreateRequestRulesItemBlockRuleActionParametersResponse: S.Schema; export interface CreateRequestRulesItemBlockRuleActionParameters { /** The response to show when the block is applied. */ response?: RulesCreateResponseRulesItemBlockRuleActionParametersResponse; } export declare const CreateRequestRulesItemBlockRuleActionParameters: S.Schema; export type CreateRequestRulesItemBlockRuleCategoriesList = Array; export declare const CreateRequestRulesItemBlockRuleCategoriesList: S.Schema; export type CreateRequestRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const CreateRequestRulesItemBlockRuleLogging: S.Schema; export type CreateRequestRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemBlockRuleRatelimit: S.Schema; export interface CreateRequestRulesItemBlockRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemBlockRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemBlockRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemBlockRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemBlockRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemBlockRule: S.Schema; export type CreateRequestRulesItemChallengeAction = "challenge"; export declare const CreateRequestRulesItemChallengeAction: any; export type CreateRequestRulesItemChallengeCategoriesList = Array; export declare const CreateRequestRulesItemChallengeCategoriesList: S.Schema; export type CreateRequestRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemChallengeExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemChallengeRatelimit: S.Schema; export interface CreateRequestRulesItemChallenge { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemChallengeAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: CreateRequestRulesItemChallengeCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemChallengeRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemChallenge: S.Schema; export type CreateRequestRulesItemCompressResponseRuleAction = "compress_response"; export declare const CreateRequestRulesItemCompressResponseRuleAction: any; export type CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | (string & {}); } export declare const CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface CreateRequestRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: CreateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const CreateRequestRulesItemCompressResponseRuleActionParameters: S.Schema; export type CreateRequestRulesItemCompressResponseRuleCategoriesList = Array; export declare const CreateRequestRulesItemCompressResponseRuleCategoriesList: S.Schema; export type CreateRequestRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemCompressResponseRuleRatelimit: S.Schema; export interface CreateRequestRulesItemCompressResponseRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemCompressResponseRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemCompressResponseRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemCompressResponseRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemCompressResponseRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemCompressResponseRule: S.Schema; export type CreateRequestRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const CreateRequestRulesItemDDoSDynamicRuleAction: any; export type CreateRequestRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const CreateRequestRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type CreateRequestRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface CreateRequestRulesItemDDoSDynamicRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemDDoSDynamicRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: CreateRequestRulesItemDDoSDynamicRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemDDoSDynamicRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemDDoSDynamicRule: S.Schema; export type CreateRequestRulesItemExecuteRuleAction = "execute"; export declare const CreateRequestRulesItemExecuteRuleAction: any; export type CreateRequestRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const CreateRequestRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string; /** Whether to enable execution of rules in the category. */ enabled?: boolean; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | (string & {}); } export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string; /** Whether to enable execution of the rule. */ enabled?: boolean; /** The score threshold to use for the rule. */ scoreThreshold?: number; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | (string & {}); } export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type CreateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const CreateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface CreateRequestRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: CreateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: CreateRequestRulesItemExecuteRuleActionParametersOverridesRulesList; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: CreateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | (string & {}); } export declare const CreateRequestRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface CreateRequestRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; /** A set of overrides to apply to the target ruleset. */ overrides?: CreateRequestRulesItemExecuteRuleActionParametersOverrides; } export declare const CreateRequestRulesItemExecuteRuleActionParameters: S.Schema; export type CreateRequestRulesItemExecuteRuleCategoriesList = Array; export declare const CreateRequestRulesItemExecuteRuleCategoriesList: S.Schema; export type CreateRequestRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemExecuteRuleRatelimit: S.Schema; export interface CreateRequestRulesItemExecuteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemExecuteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemExecuteRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemExecuteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemExecuteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemExecuteRule: S.Schema; export type CreateRequestRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const CreateRequestRulesItemForceConnectionCloseRuleAction: any; export type CreateRequestRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const CreateRequestRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type CreateRequestRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface CreateRequestRulesItemForceConnectionCloseRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemForceConnectionCloseRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: CreateRequestRulesItemForceConnectionCloseRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemForceConnectionCloseRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemForceConnectionCloseRule: S.Schema; export type CreateRequestRulesItemJSChallengeAction = "js_challenge"; export declare const CreateRequestRulesItemJSChallengeAction: any; export type CreateRequestRulesItemJSChallengeCategoriesList = Array; export declare const CreateRequestRulesItemJSChallengeCategoriesList: S.Schema; export type CreateRequestRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemJSChallengeRatelimit: S.Schema; export interface CreateRequestRulesItemJSChallenge { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemJSChallengeAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: CreateRequestRulesItemJSChallengeCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemJSChallengeRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemJSChallenge: S.Schema; export type CreateRequestRulesItemLogRuleAction = "log"; export declare const CreateRequestRulesItemLogRuleAction: any; export type CreateRequestRulesItemLogRuleCategoriesList = Array; export declare const CreateRequestRulesItemLogRuleCategoriesList: S.Schema; export type CreateRequestRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemLogRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemLogRuleRatelimit: S.Schema; export interface CreateRequestRulesItemLogRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemLogRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: CreateRequestRulesItemLogRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemLogRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemLogRule: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const CreateRequestRulesItemLogCustomFieldRuleAction: any; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export interface CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem { /** The name of the response header. */ name: string; /** Whether to log duplicate values of the same header. */ preserveDuplicates?: boolean; } export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface CreateRequestRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: CreateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList; /** The raw response fields to log. */ rawResponseFields?: CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList; /** The raw request fields to log. */ requestFields?: CreateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList; /** The transformed response fields to log. */ responseFields?: CreateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList; /** The transformed request fields to log. */ transformedRequestFields?: CreateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList; } export declare const CreateRequestRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface CreateRequestRulesItemLogCustomFieldRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemLogCustomFieldRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemLogCustomFieldRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemLogCustomFieldRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemLogCustomFieldRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemLogCustomFieldRule: S.Schema; export type CreateRequestRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const CreateRequestRulesItemManagedChallengeRuleAction: any; export type CreateRequestRulesItemManagedChallengeRuleCategoriesList = Array; export declare const CreateRequestRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type CreateRequestRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface CreateRequestRulesItemManagedChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemManagedChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: CreateRequestRulesItemManagedChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemManagedChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemManagedChallengeRule: S.Schema; export type CreateRequestRulesItemRedirectRuleAction = "redirect"; export declare const CreateRequestRulesItemRedirectRuleAction: any; export type CreateRequestRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const CreateRequestRulesItemRedirectRuleActionParametersFromList: S.Schema; export interface CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl { /** An expression that evaluates to a URL to redirect the request to. */ expression?: string; /** A URL to redirect the request to. */ value?: string; } export declare const CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type CreateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const CreateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface CreateRequestRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean; /** The status code to use for the redirect. */ statusCode?: CreateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode | (number & {}); } export declare const CreateRequestRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface CreateRequestRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; /** A redirect based on the request properties. */ fromValue?: CreateRequestRulesItemRedirectRuleActionParametersFromValue; } export declare const CreateRequestRulesItemRedirectRuleActionParameters: S.Schema; export type CreateRequestRulesItemRedirectRuleCategoriesList = Array; export declare const CreateRequestRulesItemRedirectRuleCategoriesList: S.Schema; export type CreateRequestRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemRedirectRuleRatelimit: S.Schema; export interface CreateRequestRulesItemRedirectRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemRedirectRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemRedirectRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemRedirectRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemRedirectRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemRedirectRule: S.Schema; export type CreateRequestRulesItemRewriteRuleAction = "rewrite"; export declare const CreateRequestRulesItemRewriteRuleAction: any; export type CreateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface CreateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: CreateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type CreateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface CreateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: CreateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type CreateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface CreateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: CreateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type CreateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface CreateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: CreateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type CreateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface CreateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: CreateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const CreateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type CreateRequestRulesItemRewriteRuleActionParametersHeaders = CreateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | CreateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | CreateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | CreateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | CreateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const CreateRequestRulesItemRewriteRuleActionParametersHeaders: any; export interface CreateRequestRulesItemRewriteRuleActionParametersUriURIPathPath { /** An expression that evaluates to a value to rewrite the URI path to. */ expression?: string; /** A value to rewrite the URI path to. */ value?: string; } export declare const CreateRequestRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export interface CreateRequestRulesItemRewriteRuleActionParametersUriURIPath { /** A URI path rewrite. */ path: CreateRequestRulesItemRewriteRuleActionParametersUriURIPathPath; /** Whether to propagate the rewritten URI to origin. */ origin?: boolean; } export declare const CreateRequestRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export interface CreateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery { /** An expression that evaluates to a value to rewrite the URI query to. */ expression?: string; /** A value to rewrite the URI query to. */ value?: string; } export declare const CreateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export interface CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery { /** A URI query rewrite. */ query: CreateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery; /** Whether to propagate the rewritten URI to origin. */ origin?: boolean; } export declare const CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type CreateRequestRulesItemRewriteRuleActionParametersUri = CreateRequestRulesItemRewriteRuleActionParametersUriURIPath | CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery; export declare const CreateRequestRulesItemRewriteRuleActionParametersUri: any; export interface CreateRequestRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: CreateRequestRulesItemRewriteRuleActionParametersHeaders; /** A URI path rewrite. */ uri?: CreateRequestRulesItemRewriteRuleActionParametersUri; } export declare const CreateRequestRulesItemRewriteRuleActionParameters: S.Schema; export type CreateRequestRulesItemRewriteRuleCategoriesList = Array; export declare const CreateRequestRulesItemRewriteRuleCategoriesList: S.Schema; export type CreateRequestRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemRewriteRuleRatelimit: S.Schema; export interface CreateRequestRulesItemRewriteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemRewriteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemRewriteRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemRewriteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemRewriteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemRewriteRule: S.Schema; export type CreateRequestRulesItemRouteRuleAction = "route"; export declare const CreateRequestRulesItemRouteRuleAction: any; export interface CreateRequestRulesItemRouteRuleActionParametersOrigin { /** A resolved host to route to. */ host?: string; /** A destination port to route to. */ port?: number; } export declare const CreateRequestRulesItemRouteRuleActionParametersOrigin: S.Schema; export type CreateRequestRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const CreateRequestRulesItemRouteRuleActionParametersSni: S.Schema; export interface CreateRequestRulesItemRouteRuleActionParameters { /** A value to rewrite the HTTP host header to. */ hostHeader?: string; /** An origin to route to. */ origin?: CreateRequestRulesItemRouteRuleActionParametersOrigin; /** A Server Name Indication (SNI) override. */ sni?: RulesCreateResponseRulesItemRouteRuleActionParametersSni; } export declare const CreateRequestRulesItemRouteRuleActionParameters: S.Schema; export type CreateRequestRulesItemRouteRuleCategoriesList = Array; export declare const CreateRequestRulesItemRouteRuleCategoriesList: S.Schema; export type CreateRequestRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemRouteRuleRatelimit: S.Schema; export interface CreateRequestRulesItemRouteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemRouteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemRouteRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemRouteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemRouteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemRouteRule: S.Schema; export type CreateRequestRulesItemScoreRuleAction = "score"; export declare const CreateRequestRulesItemScoreRuleAction: any; export type CreateRequestRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const CreateRequestRulesItemScoreRuleActionParameters: S.Schema; export type CreateRequestRulesItemScoreRuleCategoriesList = Array; export declare const CreateRequestRulesItemScoreRuleCategoriesList: S.Schema; export type CreateRequestRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemScoreRuleRatelimit: S.Schema; export interface CreateRequestRulesItemScoreRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemScoreRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemScoreRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemScoreRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemScoreRule: S.Schema; export type CreateRequestRulesItemServeErrorRuleAction = "serve_error"; export declare const CreateRequestRulesItemServeErrorRuleAction: any; export type CreateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const CreateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface CreateRequestRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: CreateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType | (string & {}); /** The status code to use for the error. */ statusCode?: number; } export declare const CreateRequestRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type CreateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const CreateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface CreateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: CreateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | (string & {}); /** The status code to use for the error. */ statusCode?: number; } export declare const CreateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type CreateRequestRulesItemServeErrorRuleActionParameters = CreateRequestRulesItemServeErrorRuleActionParametersActionParametersContent | CreateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const CreateRequestRulesItemServeErrorRuleActionParameters: any; export type CreateRequestRulesItemServeErrorRuleCategoriesList = Array; export declare const CreateRequestRulesItemServeErrorRuleCategoriesList: S.Schema; export type CreateRequestRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemServeErrorRuleRatelimit: S.Schema; export interface CreateRequestRulesItemServeErrorRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemServeErrorRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemServeErrorRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemServeErrorRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemServeErrorRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemServeErrorRule: S.Schema; export type CreateRequestRulesItemSetCacheControlAction = "set_cache_control"; export declare const CreateRequestRulesItemSetCacheControlAction: any; export type CreateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersImmutable = CreateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective | CreateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersImmutable: any; export type CreateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersMaxAge = CreateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective | CreateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersMaxAge: any; export type CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersMustRevalidate = CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | CreateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersMustRevalidate: any; export type CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersMustUnderstand = CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | CreateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersMustUnderstand: any; export type CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList; } export declare const CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersNoCache = CreateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective | CreateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoCache: any; export type CreateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersNoStore = CreateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective | CreateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoStore: any; export type CreateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersNoTransform = CreateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective | CreateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersNoTransform: any; export type CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList; } export declare const CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersPrivate = CreateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective | CreateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersPrivate: any; export type CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidate = CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type CreateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersPublic = CreateRequestRulesItemSetCacheControlActionParametersPublicSetDirective | CreateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersPublic: any; export type CreateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersSMaxage = CreateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective | CreateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersSMaxage: any; export type CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersStaleIfError = CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | CreateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleIfError: any; export type CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate = CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface CreateRequestRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: CreateRequestRulesItemSetCacheControlActionParametersImmutable; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: CreateRequestRulesItemSetCacheControlActionParametersMaxAge; /** A cache-control directive configuration. */ mustRevalidate?: CreateRequestRulesItemSetCacheControlActionParametersMustRevalidate; /** A cache-control directive configuration. */ mustUnderstand?: CreateRequestRulesItemSetCacheControlActionParametersMustUnderstand; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: CreateRequestRulesItemSetCacheControlActionParametersNoCache; /** A cache-control directive configuration. */ noStore?: CreateRequestRulesItemSetCacheControlActionParametersNoStore; /** A cache-control directive configuration. */ noTransform?: CreateRequestRulesItemSetCacheControlActionParametersNoTransform; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: CreateRequestRulesItemSetCacheControlActionParametersPrivate; /** A cache-control directive configuration. */ proxyRevalidate?: CreateRequestRulesItemSetCacheControlActionParametersProxyRevalidate; /** A cache-control directive configuration. */ public?: CreateRequestRulesItemSetCacheControlActionParametersPublic; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: CreateRequestRulesItemSetCacheControlActionParametersSMaxage; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: CreateRequestRulesItemSetCacheControlActionParametersStaleIfError; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: CreateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate; } export declare const CreateRequestRulesItemSetCacheControlActionParameters: S.Schema; export type CreateRequestRulesItemSetCacheControlCategoriesList = Array; export declare const CreateRequestRulesItemSetCacheControlCategoriesList: S.Schema; export type CreateRequestRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemSetCacheControlRatelimit: S.Schema; export interface CreateRequestRulesItemSetCacheControl { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemSetCacheControlAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemSetCacheControlActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemSetCacheControlCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemSetCacheControlRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemSetCacheControl: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const CreateRequestRulesItemSetCacheSettingsRuleAction: any; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: CreateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode | (string & {}); /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList; /** A list of cookies to include in the cache key. */ include?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean; /** A list of headers to include in the cache key. */ include?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost { /** Whether to use the resolved host in the cache key. */ resolved?: boolean; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean; /** A list of query string parameters to exclude from the cache key. */ list?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean; /** A list of query string parameters to include in the cache key. */ list?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude; /** Which query string parameters to include in the cache key. */ include?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser { /** Whether to use the user agent's device type in the cache key. */ deviceType?: boolean; /** Whether to use the user agents's country in the cache key. */ geo?: boolean; /** Whether to use the user agent's language in the cache key. */ lang?: boolean; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie; /** Which headers to include in the cache key. */ header?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader; /** How to use the host in the cache key. */ host?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString; /** How to use characteristics of the request user agent in the cache key. */ user?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean; /** Which components of the request are included or excluded from the cache key. */ customKey?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve { /** Whether Cache Reserve is enabled. If this is true and a request meets eligibility criteria, Cloudflare will write the resource to Cache Reserve. */ eligible: boolean; /** The minimum file size eligible for storage in Cache Reserve. */ minimumFileSize?: number; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange { /** The lower bound of the range. */ from?: number; /** The upper bound of the range. */ to?: number; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem { /** The time to cache the response for (in seconds). A value of 0 is equivalent to setting the cache control header with the value "no-cache". A value of -1 is equivalent to setting the cache control header with the value of "no-store". */ value: number; /** A single status code to apply the TTL to. */ statusCode?: number; /** A range of status codes to apply the TTL to. */ statusCodeRange?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode | (string & {}); /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale { /** Whether Cloudflare should disable serving stale content while getting the latest content from the origin. */ disableStaleWhileUpdating?: boolean; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction | (string & {}); } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction | (string & {}); /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault; /** A mapping of lowercase request header names to their vary configuration. */ headers?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean; /** When to serve stale content from cache. */ serveStale?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersVary; } export declare const CreateRequestRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface CreateRequestRulesItemSetCacheSettingsRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemSetCacheSettingsRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemSetCacheSettingsRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemSetCacheSettingsRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemSetCacheSettingsRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemSetCacheSettingsRule: S.Schema; export type CreateRequestRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const CreateRequestRulesItemSetCacheTagsAction: any; export type CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation | (string & {}); } export declare const CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation | (string & {}); } export declare const CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation | (string & {}); } export declare const CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type CreateRequestRulesItemSetCacheTagsActionParameters = CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues | CreateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | CreateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues | CreateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const CreateRequestRulesItemSetCacheTagsActionParameters: any; export type CreateRequestRulesItemSetCacheTagsCategoriesList = Array; export declare const CreateRequestRulesItemSetCacheTagsCategoriesList: S.Schema; export type CreateRequestRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemSetCacheTagsRatelimit: S.Schema; export interface CreateRequestRulesItemSetCacheTags { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemSetCacheTagsAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemSetCacheTagsActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemSetCacheTagsCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemSetCacheTagsRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemSetCacheTags: S.Schema; export type CreateRequestRulesItemSetConfigRuleAction = "set_config"; export declare const CreateRequestRulesItemSetConfigRuleAction: any; export interface CreateRequestRulesItemSetConfigRuleActionParametersAutominify { /** Whether to minify CSS files. */ css?: boolean; /** Whether to minify HTML files. */ html?: boolean; /** Whether to minify JavaScript files. */ js?: boolean; } export declare const CreateRequestRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type CreateRequestRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const CreateRequestRulesItemSetConfigRuleActionParametersPolish: any; export type CreateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const CreateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type CreateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const CreateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type CreateRequestRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const CreateRequestRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type CreateRequestRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const CreateRequestRulesItemSetConfigRuleActionParametersSsl: any; export interface CreateRequestRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean; /** Which file extensions to minify automatically. */ autominify?: CreateRequestRulesItemSetConfigRuleActionParametersAutominify; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean; /** Whether to disable Zaraz. */ disableZaraz?: boolean; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean; /** Whether to enable Mirage. */ mirage?: boolean; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean; /** The Polish level to configure. */ polish?: CreateRequestRulesItemSetConfigRuleActionParametersPolish | (string & {}); /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean; /** The request body buffering mode. */ requestBodyBuffering?: CreateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering | (string & {}); /** The response body buffering mode. */ responseBodyBuffering?: CreateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering | (string & {}); /** Whether to enable Rocket Loader. */ rocketLoader?: boolean; /** The Security Level to configure. */ securityLevel?: CreateRequestRulesItemSetConfigRuleActionParametersSecurityLevel | (string & {}); /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean; /** The SSL level to configure. */ ssl?: CreateRequestRulesItemSetConfigRuleActionParametersSsl | (string & {}); /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean; } export declare const CreateRequestRulesItemSetConfigRuleActionParameters: S.Schema; export type CreateRequestRulesItemSetConfigRuleCategoriesList = Array; export declare const CreateRequestRulesItemSetConfigRuleCategoriesList: S.Schema; export type CreateRequestRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemSetConfigRuleRatelimit: S.Schema; export interface CreateRequestRulesItemSetConfigRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemSetConfigRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemSetConfigRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemSetConfigRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemSetConfigRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemSetConfigRule: S.Schema; export type CreateRequestRulesItemSkipRuleAction = "skip"; export declare const CreateRequestRulesItemSkipRuleAction: any; export type CreateRequestRulesItemSkipRuleActionParametersPhase = "current"; export declare const CreateRequestRulesItemSkipRuleActionParametersPhase: any; export type CreateRequestRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const CreateRequestRulesItemSkipRuleActionParametersPhasesItem: any; export type CreateRequestRulesItemSkipRuleActionParametersPhasesList = Array; export declare const CreateRequestRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type CreateRequestRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const CreateRequestRulesItemSkipRuleActionParametersProductsItem: any; export type CreateRequestRulesItemSkipRuleActionParametersProductsList = Array; export declare const CreateRequestRulesItemSkipRuleActionParametersProductsList: S.Schema; export type CreateRequestRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const CreateRequestRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type CreateRequestRulesItemSkipRuleActionParametersRulesMap = { [key: string]: CreateRequestRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const CreateRequestRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type CreateRequestRulesItemSkipRuleActionParametersRuleset = "current"; export declare const CreateRequestRulesItemSkipRuleActionParametersRuleset: any; export type CreateRequestRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const CreateRequestRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface CreateRequestRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: CreateRequestRulesItemSkipRuleActionParametersPhase | (string & {}); /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: CreateRequestRulesItemSkipRuleActionParametersPhasesList; /** A list of legacy security products to skip the execution of. */ products?: CreateRequestRulesItemSkipRuleActionParametersProductsList; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: CreateRequestRulesItemSkipRuleActionParametersRulesMap; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: CreateRequestRulesItemSkipRuleActionParametersRuleset | (string & {}); /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: CreateRequestRulesItemSkipRuleActionParametersRulesetsList; } export declare const CreateRequestRulesItemSkipRuleActionParameters: S.Schema; export type CreateRequestRulesItemSkipRuleCategoriesList = Array; export declare const CreateRequestRulesItemSkipRuleCategoriesList: S.Schema; export type CreateRequestRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemSkipRuleRatelimit: S.Schema; export interface CreateRequestRulesItemSkipRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemSkipRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemSkipRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemSkipRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemSkipRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemSkipRule: S.Schema; export type CreateRequestRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const CreateRequestRulesItemTransformResponseHTMLAction: any; export type CreateRequestRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const CreateRequestRulesItemTransformResponseHTMLActionParameters: S.Schema; export type CreateRequestRulesItemTransformResponseHTMLCategoriesList = Array; export declare const CreateRequestRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type CreateRequestRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateRequestRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type CreateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const CreateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface CreateRequestRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const CreateRequestRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface CreateRequestRulesItemTransformResponseHTML { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: CreateRequestRulesItemTransformResponseHTMLAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; /** The categories of the rule. */ categories?: CreateRequestRulesItemTransformResponseHTMLCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateRequestRulesItemTransformResponseHTMLRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const CreateRequestRulesItemTransformResponseHTML: S.Schema; export type CreateRequestRulesItem = CreateRequestRulesItemBlockRule | CreateRequestRulesItemChallenge | CreateRequestRulesItemCompressResponseRule | CreateRequestRulesItemDDoSDynamicRule | CreateRequestRulesItemExecuteRule | CreateRequestRulesItemForceConnectionCloseRule | CreateRequestRulesItemJSChallenge | CreateRequestRulesItemLogRule | CreateRequestRulesItemLogCustomFieldRule | CreateRequestRulesItemManagedChallengeRule | CreateRequestRulesItemRedirectRule | CreateRequestRulesItemRewriteRule | CreateRequestRulesItemRouteRule | CreateRequestRulesItemScoreRule | CreateRequestRulesItemServeErrorRule | CreateRequestRulesItemSetCacheControl | CreateRequestRulesItemSetCacheSettingsRule | CreateRequestRulesItemSetCacheTags | CreateRequestRulesItemSetConfigRule | CreateRequestRulesItemSkipRule | CreateRequestRulesItemTransformResponseHTML; export declare const CreateRequestRulesItem: any; export type CreateRequestRulesList = Array; export declare const CreateRequestRulesList: S.Schema; export interface CreateRulesetForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The kind of the ruleset. */ kind: CreateRequestKind | (string & {}); /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: CreateRequestPhase | (string & {}); /** An informative description of the ruleset. */ description?: string; /** The list of rules in the ruleset. */ rules?: CreateRequestRulesList; } export declare const CreateRulesetForAccountRequest: S.Schema; export type CreateResponseKind = "managed" | "custom" | "root" | "zone"; export declare const CreateResponseKind: any; export type CreateResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const CreateResponsePhase: any; export type CreateResponseRulesItemBlockRuleAction = "block"; export declare const CreateResponseRulesItemBlockRuleAction: any; export type CreateResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const CreateResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type CreateResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const CreateResponseRulesItemBlockRuleActionParameters: S.Schema; export type CreateResponseRulesItemBlockRuleCategoriesList = Array; export declare const CreateResponseRulesItemBlockRuleCategoriesList: S.Schema; export type CreateResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const CreateResponseRulesItemBlockRuleLogging: S.Schema; export type CreateResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemBlockRuleRatelimit: S.Schema; export interface CreateResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemBlockRule: S.Schema; export type CreateResponseRulesItemChallengeAction = "challenge"; export declare const CreateResponseRulesItemChallengeAction: any; export type CreateResponseRulesItemChallengeCategoriesList = Array; export declare const CreateResponseRulesItemChallengeCategoriesList: S.Schema; export type CreateResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemChallengeRatelimit: S.Schema; export interface CreateResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemChallenge: S.Schema; export type CreateResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const CreateResponseRulesItemCompressResponseRuleAction: any; export type CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface CreateResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: CreateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const CreateResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type CreateResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const CreateResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type CreateResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface CreateResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemCompressResponseRule: S.Schema; export type CreateResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const CreateResponseRulesItemDDoSDynamicRuleAction: any; export type CreateResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const CreateResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type CreateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface CreateResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemDDoSDynamicRule: S.Schema; export type CreateResponseRulesItemExecuteRuleAction = "execute"; export declare const CreateResponseRulesItemExecuteRuleAction: any; export type CreateResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const CreateResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type CreateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const CreateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface CreateResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: CreateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: CreateResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: CreateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const CreateResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface CreateResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: CreateResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const CreateResponseRulesItemExecuteRuleActionParameters: S.Schema; export type CreateResponseRulesItemExecuteRuleCategoriesList = Array; export declare const CreateResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type CreateResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface CreateResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemExecuteRule: S.Schema; export type CreateResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const CreateResponseRulesItemForceConnectionCloseRuleAction: any; export type CreateResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const CreateResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type CreateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface CreateResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemForceConnectionCloseRule: S.Schema; export type CreateResponseRulesItemJSChallengeAction = "js_challenge"; export declare const CreateResponseRulesItemJSChallengeAction: any; export type CreateResponseRulesItemJSChallengeCategoriesList = Array; export declare const CreateResponseRulesItemJSChallengeCategoriesList: S.Schema; export type CreateResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemJSChallengeRatelimit: S.Schema; export interface CreateResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemJSChallenge: S.Schema; export type CreateResponseRulesItemLogRuleAction = "log"; export declare const CreateResponseRulesItemLogRuleAction: any; export type CreateResponseRulesItemLogRuleCategoriesList = Array; export declare const CreateResponseRulesItemLogRuleCategoriesList: S.Schema; export type CreateResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemLogRuleRatelimit: S.Schema; export interface CreateResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemLogRule: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const CreateResponseRulesItemLogCustomFieldRuleAction: any; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface CreateResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: CreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: CreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: CreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: CreateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: CreateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const CreateResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface CreateResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemLogCustomFieldRule: S.Schema; export type CreateResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const CreateResponseRulesItemManagedChallengeRuleAction: any; export type CreateResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const CreateResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type CreateResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface CreateResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemManagedChallengeRule: S.Schema; export type CreateResponseRulesItemRedirectRuleAction = "redirect"; export declare const CreateResponseRulesItemRedirectRuleAction: any; export type CreateResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const CreateResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type CreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const CreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type CreateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const CreateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface CreateResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: CreateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const CreateResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface CreateResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: CreateResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const CreateResponseRulesItemRedirectRuleActionParameters: S.Schema; export type CreateResponseRulesItemRedirectRuleCategoriesList = Array; export declare const CreateResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type CreateResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface CreateResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemRedirectRule: S.Schema; export type CreateResponseRulesItemRewriteRuleAction = "rewrite"; export declare const CreateResponseRulesItemRewriteRuleAction: any; export type CreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface CreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: CreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface CreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: CreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface CreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: CreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface CreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: CreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface CreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: CreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const CreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersHeaders = CreateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | CreateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | CreateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | CreateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | CreateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const CreateResponseRulesItemRewriteRuleActionParametersHeaders: any; export type CreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const CreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const CreateResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const CreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const CreateResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type CreateResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const CreateResponseRulesItemRewriteRuleActionParametersUri: any; export interface CreateResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: CreateResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: CreateResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const CreateResponseRulesItemRewriteRuleActionParameters: S.Schema; export type CreateResponseRulesItemRewriteRuleCategoriesList = Array; export declare const CreateResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type CreateResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface CreateResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemRewriteRule: S.Schema; export type CreateResponseRulesItemRouteRuleAction = "route"; export declare const CreateResponseRulesItemRouteRuleAction: any; export type CreateResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const CreateResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type CreateResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const CreateResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type CreateResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const CreateResponseRulesItemRouteRuleActionParameters: S.Schema; export type CreateResponseRulesItemRouteRuleCategoriesList = Array; export declare const CreateResponseRulesItemRouteRuleCategoriesList: S.Schema; export type CreateResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemRouteRuleRatelimit: S.Schema; export interface CreateResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemRouteRule: S.Schema; export type CreateResponseRulesItemScoreRuleAction = "score"; export declare const CreateResponseRulesItemScoreRuleAction: any; export type CreateResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const CreateResponseRulesItemScoreRuleActionParameters: S.Schema; export type CreateResponseRulesItemScoreRuleCategoriesList = Array; export declare const CreateResponseRulesItemScoreRuleCategoriesList: S.Schema; export type CreateResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemScoreRuleRatelimit: S.Schema; export interface CreateResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemScoreRule: S.Schema; export type CreateResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const CreateResponseRulesItemServeErrorRuleAction: any; export type CreateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const CreateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface CreateResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: CreateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const CreateResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type CreateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const CreateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface CreateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: CreateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const CreateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type CreateResponseRulesItemServeErrorRuleActionParameters = CreateResponseRulesItemServeErrorRuleActionParametersActionParametersContent | CreateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const CreateResponseRulesItemServeErrorRuleActionParameters: any; export type CreateResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const CreateResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type CreateResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface CreateResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemServeErrorRule: S.Schema; export type CreateResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const CreateResponseRulesItemSetCacheControlAction: any; export type CreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersImmutable = CreateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | CreateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersImmutable: any; export type CreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersMaxAge = CreateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | CreateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersMustRevalidate = CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | CreateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersMustUnderstand = CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | CreateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersNoCache = CreateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | CreateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoCache: any; export type CreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersNoStore = CreateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | CreateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoStore: any; export type CreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersNoTransform = CreateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | CreateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersPrivate = CreateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | CreateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersPrivate: any; export type CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidate = CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type CreateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersPublic = CreateResponseRulesItemSetCacheControlActionParametersPublicSetDirective | CreateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersPublic: any; export type CreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersSMaxage = CreateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | CreateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersStaleIfError = CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | CreateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface CreateResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: CreateResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: CreateResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: CreateResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: CreateResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: CreateResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: CreateResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: CreateResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: CreateResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: CreateResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: CreateResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: CreateResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: CreateResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: CreateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const CreateResponseRulesItemSetCacheControlActionParameters: S.Schema; export type CreateResponseRulesItemSetCacheControlCategoriesList = Array; export declare const CreateResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type CreateResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface CreateResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemSetCacheControl: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const CreateResponseRulesItemSetCacheSettingsRuleAction: any; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: CreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: CreateResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface CreateResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemSetCacheSettingsRule: S.Schema; export type CreateResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const CreateResponseRulesItemSetCacheTagsAction: any; export type CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type CreateResponseRulesItemSetCacheTagsActionParameters = CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | CreateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | CreateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | CreateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const CreateResponseRulesItemSetCacheTagsActionParameters: any; export type CreateResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const CreateResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type CreateResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface CreateResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemSetCacheTags: S.Schema; export type CreateResponseRulesItemSetConfigRuleAction = "set_config"; export declare const CreateResponseRulesItemSetConfigRuleAction: any; export type CreateResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const CreateResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type CreateResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const CreateResponseRulesItemSetConfigRuleActionParametersPolish: any; export type CreateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const CreateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type CreateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const CreateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type CreateResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const CreateResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type CreateResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const CreateResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface CreateResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: CreateResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: CreateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: CreateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: CreateResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: CreateResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const CreateResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type CreateResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const CreateResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type CreateResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface CreateResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemSetConfigRule: S.Schema; export type CreateResponseRulesItemSkipRuleAction = "skip"; export declare const CreateResponseRulesItemSkipRuleAction: any; export type CreateResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const CreateResponseRulesItemSkipRuleActionParametersPhase: any; export type CreateResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const CreateResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type CreateResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const CreateResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type CreateResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const CreateResponseRulesItemSkipRuleActionParametersProductsItem: any; export type CreateResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const CreateResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type CreateResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const CreateResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type CreateResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: CreateResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const CreateResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type CreateResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const CreateResponseRulesItemSkipRuleActionParametersRuleset: any; export type CreateResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const CreateResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface CreateResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: CreateResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: CreateResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: CreateResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: CreateResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: CreateResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: CreateResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const CreateResponseRulesItemSkipRuleActionParameters: S.Schema; export type CreateResponseRulesItemSkipRuleCategoriesList = Array; export declare const CreateResponseRulesItemSkipRuleCategoriesList: S.Schema; export type CreateResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemSkipRuleRatelimit: S.Schema; export interface CreateResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: CreateResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemSkipRule: S.Schema; export type CreateResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const CreateResponseRulesItemTransformResponseHTMLAction: any; export type CreateResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const CreateResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type CreateResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const CreateResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type CreateResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const CreateResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type CreateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const CreateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface CreateResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: CreateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const CreateResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface CreateResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: CreateResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: CreateResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: CreateResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const CreateResponseRulesItemTransformResponseHTML: S.Schema; export type CreateResponseRulesItem = CreateResponseRulesItemBlockRule | CreateResponseRulesItemChallenge | CreateResponseRulesItemCompressResponseRule | CreateResponseRulesItemDDoSDynamicRule | CreateResponseRulesItemExecuteRule | CreateResponseRulesItemForceConnectionCloseRule | CreateResponseRulesItemJSChallenge | CreateResponseRulesItemLogRule | CreateResponseRulesItemLogCustomFieldRule | CreateResponseRulesItemManagedChallengeRule | CreateResponseRulesItemRedirectRule | CreateResponseRulesItemRewriteRule | CreateResponseRulesItemRouteRule | CreateResponseRulesItemScoreRule | CreateResponseRulesItemServeErrorRule | CreateResponseRulesItemSetCacheControl | CreateResponseRulesItemSetCacheSettingsRule | CreateResponseRulesItemSetCacheTags | CreateResponseRulesItemSetConfigRule | CreateResponseRulesItemSkipRule | CreateResponseRulesItemTransformResponseHTML; export declare const CreateResponseRulesItem: any; export type CreateResponseRulesList = Array; export declare const CreateResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateRulesetResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: CreateResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: CreateResponsePhase; /** The list of rules in the ruleset. */ rules: CreateResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const CreateRulesetResponse: S.Schema; export interface CreateRulesetForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The kind of the ruleset. */ kind: CreateRequestKind | (string & {}); /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: CreateRequestPhase | (string & {}); /** An informative description of the ruleset. */ description?: string; /** The list of rules in the ruleset. */ rules?: CreateRequestRulesList; } export declare const CreateRulesetForZoneRequest: S.Schema; export interface DeleteRuleForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The unique ID of the rule. */ ruleId: string; } export declare const DeleteRuleForAccountRequest: S.Schema; export type RulesDeleteResponseKind = "managed" | "custom" | "root" | "zone"; export declare const RulesDeleteResponseKind: any; export type RulesDeleteResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const RulesDeleteResponsePhase: any; export type RulesDeleteResponseRulesItemBlockRuleAction = "block"; export declare const RulesDeleteResponseRulesItemBlockRuleAction: any; export type RulesDeleteResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const RulesDeleteResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type RulesDeleteResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const RulesDeleteResponseRulesItemBlockRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemBlockRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemBlockRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const RulesDeleteResponseRulesItemBlockRuleLogging: S.Schema; export type RulesDeleteResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemBlockRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemBlockRule: S.Schema; export type RulesDeleteResponseRulesItemChallengeAction = "challenge"; export declare const RulesDeleteResponseRulesItemChallengeAction: any; export type RulesDeleteResponseRulesItemChallengeCategoriesList = Array; export declare const RulesDeleteResponseRulesItemChallengeCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemChallengeRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemChallenge: S.Schema; export type RulesDeleteResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const RulesDeleteResponseRulesItemCompressResponseRuleAction: any; export type RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface RulesDeleteResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: RulesDeleteResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const RulesDeleteResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemCompressResponseRule: S.Schema; export type RulesDeleteResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const RulesDeleteResponseRulesItemDDoSDynamicRuleAction: any; export type RulesDeleteResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemDDoSDynamicRule: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleAction = "execute"; export declare const RulesDeleteResponseRulesItemExecuteRuleAction: any; export type RulesDeleteResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface RulesDeleteResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: RulesDeleteResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const RulesDeleteResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface RulesDeleteResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: RulesDeleteResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const RulesDeleteResponseRulesItemExecuteRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemExecuteRule: S.Schema; export type RulesDeleteResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const RulesDeleteResponseRulesItemForceConnectionCloseRuleAction: any; export type RulesDeleteResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemForceConnectionCloseRule: S.Schema; export type RulesDeleteResponseRulesItemJSChallengeAction = "js_challenge"; export declare const RulesDeleteResponseRulesItemJSChallengeAction: any; export type RulesDeleteResponseRulesItemJSChallengeCategoriesList = Array; export declare const RulesDeleteResponseRulesItemJSChallengeCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemJSChallengeRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemJSChallenge: S.Schema; export type RulesDeleteResponseRulesItemLogRuleAction = "log"; export declare const RulesDeleteResponseRulesItemLogRuleAction: any; export type RulesDeleteResponseRulesItemLogRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemLogRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemLogRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemLogRule: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleAction: any; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface RulesDeleteResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: RulesDeleteResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemLogCustomFieldRule: S.Schema; export type RulesDeleteResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const RulesDeleteResponseRulesItemManagedChallengeRuleAction: any; export type RulesDeleteResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemManagedChallengeRule: S.Schema; export type RulesDeleteResponseRulesItemRedirectRuleAction = "redirect"; export declare const RulesDeleteResponseRulesItemRedirectRuleAction: any; export type RulesDeleteResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const RulesDeleteResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface RulesDeleteResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: RulesDeleteResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const RulesDeleteResponseRulesItemRedirectRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemRedirectRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemRedirectRule: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleAction = "rewrite"; export declare const RulesDeleteResponseRulesItemRewriteRuleAction: any; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersHeaders = RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | RulesDeleteResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersHeaders: any; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const RulesDeleteResponseRulesItemRewriteRuleActionParametersUri: any; export interface RulesDeleteResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: RulesDeleteResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: RulesDeleteResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const RulesDeleteResponseRulesItemRewriteRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemRewriteRule: S.Schema; export type RulesDeleteResponseRulesItemRouteRuleAction = "route"; export declare const RulesDeleteResponseRulesItemRouteRuleAction: any; export type RulesDeleteResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const RulesDeleteResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type RulesDeleteResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const RulesDeleteResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type RulesDeleteResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const RulesDeleteResponseRulesItemRouteRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemRouteRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemRouteRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemRouteRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemRouteRule: S.Schema; export type RulesDeleteResponseRulesItemScoreRuleAction = "score"; export declare const RulesDeleteResponseRulesItemScoreRuleAction: any; export type RulesDeleteResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const RulesDeleteResponseRulesItemScoreRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemScoreRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemScoreRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemScoreRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemScoreRule: S.Schema; export type RulesDeleteResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const RulesDeleteResponseRulesItemServeErrorRuleAction: any; export type RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type RulesDeleteResponseRulesItemServeErrorRuleActionParameters = RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersContent | RulesDeleteResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const RulesDeleteResponseRulesItemServeErrorRuleActionParameters: any; export type RulesDeleteResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemServeErrorRule: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const RulesDeleteResponseRulesItemSetCacheControlAction: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutable = RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutable: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAge = RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidate = RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstand = RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCache = RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCache: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStore = RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStore: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransform = RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivate = RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivate: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidate = RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersPublic = RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersPublic: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxage = RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfError = RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface RulesDeleteResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: RulesDeleteResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: RulesDeleteResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: RulesDeleteResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: RulesDeleteResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: RulesDeleteResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: RulesDeleteResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: RulesDeleteResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: RulesDeleteResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: RulesDeleteResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: RulesDeleteResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlActionParameters: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlCategoriesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemSetCacheControl: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleAction: any; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemSetCacheSettingsRule: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const RulesDeleteResponseRulesItemSetCacheTagsAction: any; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsActionParameters = RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | RulesDeleteResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | RulesDeleteResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | RulesDeleteResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const RulesDeleteResponseRulesItemSetCacheTagsActionParameters: any; export type RulesDeleteResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const RulesDeleteResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemSetCacheTags: S.Schema; export type RulesDeleteResponseRulesItemSetConfigRuleAction = "set_config"; export declare const RulesDeleteResponseRulesItemSetConfigRuleAction: any; export type RulesDeleteResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type RulesDeleteResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParametersPolish: any; export type RulesDeleteResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type RulesDeleteResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type RulesDeleteResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type RulesDeleteResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface RulesDeleteResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: RulesDeleteResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: RulesDeleteResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: RulesDeleteResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: RulesDeleteResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: RulesDeleteResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const RulesDeleteResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemSetConfigRule: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleAction = "skip"; export declare const RulesDeleteResponseRulesItemSkipRuleAction: any; export type RulesDeleteResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersPhase: any; export type RulesDeleteResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type RulesDeleteResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersProductsItem: any; export type RulesDeleteResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: RulesDeleteResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersRuleset: any; export type RulesDeleteResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const RulesDeleteResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface RulesDeleteResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: RulesDeleteResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: RulesDeleteResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: RulesDeleteResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: RulesDeleteResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: RulesDeleteResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: RulesDeleteResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const RulesDeleteResponseRulesItemSkipRuleActionParameters: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleCategoriesList = Array; export declare const RulesDeleteResponseRulesItemSkipRuleCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemSkipRuleRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesDeleteResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemSkipRule: S.Schema; export type RulesDeleteResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const RulesDeleteResponseRulesItemTransformResponseHTMLAction: any; export type RulesDeleteResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const RulesDeleteResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type RulesDeleteResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const RulesDeleteResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type RulesDeleteResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesDeleteResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type RulesDeleteResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const RulesDeleteResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface RulesDeleteResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesDeleteResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesDeleteResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface RulesDeleteResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesDeleteResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesDeleteResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesDeleteResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesDeleteResponseRulesItemTransformResponseHTML: S.Schema; export type RulesDeleteResponseRulesItem = RulesDeleteResponseRulesItemBlockRule | RulesDeleteResponseRulesItemChallenge | RulesDeleteResponseRulesItemCompressResponseRule | RulesDeleteResponseRulesItemDDoSDynamicRule | RulesDeleteResponseRulesItemExecuteRule | RulesDeleteResponseRulesItemForceConnectionCloseRule | RulesDeleteResponseRulesItemJSChallenge | RulesDeleteResponseRulesItemLogRule | RulesDeleteResponseRulesItemLogCustomFieldRule | RulesDeleteResponseRulesItemManagedChallengeRule | RulesDeleteResponseRulesItemRedirectRule | RulesDeleteResponseRulesItemRewriteRule | RulesDeleteResponseRulesItemRouteRule | RulesDeleteResponseRulesItemScoreRule | RulesDeleteResponseRulesItemServeErrorRule | RulesDeleteResponseRulesItemSetCacheControl | RulesDeleteResponseRulesItemSetCacheSettingsRule | RulesDeleteResponseRulesItemSetCacheTags | RulesDeleteResponseRulesItemSetConfigRule | RulesDeleteResponseRulesItemSkipRule | RulesDeleteResponseRulesItemTransformResponseHTML; export declare const RulesDeleteResponseRulesItem: any; export type RulesDeleteResponseRulesList = Array; export declare const RulesDeleteResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteRuleResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: RulesDeleteResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: RulesDeleteResponsePhase; /** The list of rules in the ruleset. */ rules: RulesDeleteResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const DeleteRuleResponse: S.Schema; export interface DeleteRuleForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The unique ID of the rule. */ ruleId: string; } export declare const DeleteRuleForZoneRequest: S.Schema; export interface DeleteRulesetForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; } export declare const DeleteRulesetForAccountRequest: S.Schema; export interface DeleteRulesetForAccountResponse { } export declare const DeleteRulesetForAccountResponse: S.Schema; export interface DeleteRulesetForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; } export declare const DeleteRulesetForZoneRequest: S.Schema; export interface DeleteRulesetForZoneResponse { } export declare const DeleteRulesetForZoneResponse: S.Schema; export interface DeleteVersionForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The version of the ruleset. */ rulesetVersion: string; } export declare const DeleteVersionForAccountRequest: S.Schema; export interface DeleteVersionForAccountResponse { } export declare const DeleteVersionForAccountResponse: S.Schema; export interface DeleteVersionForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The version of the ruleset. */ rulesetVersion: string; } export declare const DeleteVersionForZoneRequest: S.Schema; export interface DeleteVersionForZoneResponse { } export declare const DeleteVersionForZoneResponse: S.Schema; export interface GetPhasForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The phase of the ruleset. */ rulesetPhase: string; } export declare const GetPhasForAccountRequest: S.Schema; export type PhasesGetResponseKind = "managed" | "custom" | "root" | "zone"; export declare const PhasesGetResponseKind: any; export type PhasesGetResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesGetResponsePhase: any; export type PhasesGetResponseRulesItemBlockRuleAction = "block"; export declare const PhasesGetResponseRulesItemBlockRuleAction: any; export type PhasesGetResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const PhasesGetResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type PhasesGetResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const PhasesGetResponseRulesItemBlockRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemBlockRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemBlockRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const PhasesGetResponseRulesItemBlockRuleLogging: S.Schema; export type PhasesGetResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemBlockRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemBlockRule: S.Schema; export type PhasesGetResponseRulesItemChallengeAction = "challenge"; export declare const PhasesGetResponseRulesItemChallengeAction: any; export type PhasesGetResponseRulesItemChallengeCategoriesList = Array; export declare const PhasesGetResponseRulesItemChallengeCategoriesList: S.Schema; export type PhasesGetResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemChallengeRatelimit: S.Schema; export interface PhasesGetResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemChallenge: S.Schema; export type PhasesGetResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const PhasesGetResponseRulesItemCompressResponseRuleAction: any; export type PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface PhasesGetResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: PhasesGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const PhasesGetResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemCompressResponseRule: S.Schema; export type PhasesGetResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const PhasesGetResponseRulesItemDDoSDynamicRuleAction: any; export type PhasesGetResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemDDoSDynamicRule: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleAction = "execute"; export declare const PhasesGetResponseRulesItemExecuteRuleAction: any; export type PhasesGetResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface PhasesGetResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: PhasesGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const PhasesGetResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface PhasesGetResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: PhasesGetResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const PhasesGetResponseRulesItemExecuteRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemExecuteRule: S.Schema; export type PhasesGetResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const PhasesGetResponseRulesItemForceConnectionCloseRuleAction: any; export type PhasesGetResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemForceConnectionCloseRule: S.Schema; export type PhasesGetResponseRulesItemJSChallengeAction = "js_challenge"; export declare const PhasesGetResponseRulesItemJSChallengeAction: any; export type PhasesGetResponseRulesItemJSChallengeCategoriesList = Array; export declare const PhasesGetResponseRulesItemJSChallengeCategoriesList: S.Schema; export type PhasesGetResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemJSChallengeRatelimit: S.Schema; export interface PhasesGetResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemJSChallenge: S.Schema; export type PhasesGetResponseRulesItemLogRuleAction = "log"; export declare const PhasesGetResponseRulesItemLogRuleAction: any; export type PhasesGetResponseRulesItemLogRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemLogRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemLogRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemLogRule: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleAction: any; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface PhasesGetResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: PhasesGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const PhasesGetResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemLogCustomFieldRule: S.Schema; export type PhasesGetResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const PhasesGetResponseRulesItemManagedChallengeRuleAction: any; export type PhasesGetResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemManagedChallengeRule: S.Schema; export type PhasesGetResponseRulesItemRedirectRuleAction = "redirect"; export declare const PhasesGetResponseRulesItemRedirectRuleAction: any; export type PhasesGetResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const PhasesGetResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type PhasesGetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const PhasesGetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type PhasesGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const PhasesGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface PhasesGetResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: PhasesGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const PhasesGetResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface PhasesGetResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: PhasesGetResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const PhasesGetResponseRulesItemRedirectRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemRedirectRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemRedirectRule: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleAction = "rewrite"; export declare const PhasesGetResponseRulesItemRewriteRuleAction: any; export type PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersHeaders = PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | PhasesGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersHeaders: any; export type PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesGetResponseRulesItemRewriteRuleActionParametersUri: any; export interface PhasesGetResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: PhasesGetResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: PhasesGetResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const PhasesGetResponseRulesItemRewriteRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemRewriteRule: S.Schema; export type PhasesGetResponseRulesItemRouteRuleAction = "route"; export declare const PhasesGetResponseRulesItemRouteRuleAction: any; export type PhasesGetResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const PhasesGetResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type PhasesGetResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const PhasesGetResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type PhasesGetResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const PhasesGetResponseRulesItemRouteRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemRouteRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemRouteRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemRouteRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemRouteRule: S.Schema; export type PhasesGetResponseRulesItemScoreRuleAction = "score"; export declare const PhasesGetResponseRulesItemScoreRuleAction: any; export type PhasesGetResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const PhasesGetResponseRulesItemScoreRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemScoreRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemScoreRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemScoreRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemScoreRule: S.Schema; export type PhasesGetResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const PhasesGetResponseRulesItemServeErrorRuleAction: any; export type PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type PhasesGetResponseRulesItemServeErrorRuleActionParameters = PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent | PhasesGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const PhasesGetResponseRulesItemServeErrorRuleActionParameters: any; export type PhasesGetResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemServeErrorRule: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const PhasesGetResponseRulesItemSetCacheControlAction: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersImmutable = PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersImmutable: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAge = PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidate = PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstand = PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoCache = PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoCache: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoStore = PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoStore: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransform = PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPrivate = PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPrivate: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate = PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersPublic = PhasesGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersPublic: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxage = PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfError = PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface PhasesGetResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: PhasesGetResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: PhasesGetResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: PhasesGetResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: PhasesGetResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: PhasesGetResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: PhasesGetResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: PhasesGetResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: PhasesGetResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: PhasesGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: PhasesGetResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: PhasesGetResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: PhasesGetResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: PhasesGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const PhasesGetResponseRulesItemSetCacheControlActionParameters: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlCategoriesList = Array; export declare const PhasesGetResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface PhasesGetResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemSetCacheControl: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleAction: any; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemSetCacheSettingsRule: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const PhasesGetResponseRulesItemSetCacheTagsAction: any; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsActionParameters = PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | PhasesGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | PhasesGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | PhasesGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const PhasesGetResponseRulesItemSetCacheTagsActionParameters: any; export type PhasesGetResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const PhasesGetResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface PhasesGetResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemSetCacheTags: S.Schema; export type PhasesGetResponseRulesItemSetConfigRuleAction = "set_config"; export declare const PhasesGetResponseRulesItemSetConfigRuleAction: any; export type PhasesGetResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const PhasesGetResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type PhasesGetResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const PhasesGetResponseRulesItemSetConfigRuleActionParametersPolish: any; export type PhasesGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const PhasesGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type PhasesGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const PhasesGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type PhasesGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const PhasesGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type PhasesGetResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const PhasesGetResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface PhasesGetResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: PhasesGetResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: PhasesGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: PhasesGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: PhasesGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: PhasesGetResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const PhasesGetResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemSetConfigRule: S.Schema; export type PhasesGetResponseRulesItemSkipRuleAction = "skip"; export declare const PhasesGetResponseRulesItemSkipRuleAction: any; export type PhasesGetResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersPhase: any; export type PhasesGetResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type PhasesGetResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type PhasesGetResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersProductsItem: any; export type PhasesGetResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type PhasesGetResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type PhasesGetResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: PhasesGetResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type PhasesGetResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersRuleset: any; export type PhasesGetResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const PhasesGetResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface PhasesGetResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: PhasesGetResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: PhasesGetResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: PhasesGetResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: PhasesGetResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: PhasesGetResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: PhasesGetResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const PhasesGetResponseRulesItemSkipRuleActionParameters: S.Schema; export type PhasesGetResponseRulesItemSkipRuleCategoriesList = Array; export declare const PhasesGetResponseRulesItemSkipRuleCategoriesList: S.Schema; export type PhasesGetResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemSkipRuleRatelimit: S.Schema; export interface PhasesGetResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesGetResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemSkipRule: S.Schema; export type PhasesGetResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const PhasesGetResponseRulesItemTransformResponseHTMLAction: any; export type PhasesGetResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const PhasesGetResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type PhasesGetResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const PhasesGetResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type PhasesGetResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesGetResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type PhasesGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const PhasesGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface PhasesGetResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesGetResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface PhasesGetResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesGetResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesGetResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesGetResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesGetResponseRulesItemTransformResponseHTML: S.Schema; export type PhasesGetResponseRulesItem = PhasesGetResponseRulesItemBlockRule | PhasesGetResponseRulesItemChallenge | PhasesGetResponseRulesItemCompressResponseRule | PhasesGetResponseRulesItemDDoSDynamicRule | PhasesGetResponseRulesItemExecuteRule | PhasesGetResponseRulesItemForceConnectionCloseRule | PhasesGetResponseRulesItemJSChallenge | PhasesGetResponseRulesItemLogRule | PhasesGetResponseRulesItemLogCustomFieldRule | PhasesGetResponseRulesItemManagedChallengeRule | PhasesGetResponseRulesItemRedirectRule | PhasesGetResponseRulesItemRewriteRule | PhasesGetResponseRulesItemRouteRule | PhasesGetResponseRulesItemScoreRule | PhasesGetResponseRulesItemServeErrorRule | PhasesGetResponseRulesItemSetCacheControl | PhasesGetResponseRulesItemSetCacheSettingsRule | PhasesGetResponseRulesItemSetCacheTags | PhasesGetResponseRulesItemSetConfigRule | PhasesGetResponseRulesItemSkipRule | PhasesGetResponseRulesItemTransformResponseHTML; export declare const PhasesGetResponseRulesItem: any; export type PhasesGetResponseRulesList = Array; export declare const PhasesGetResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPhasResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: PhasesGetResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: PhasesGetResponsePhase; /** The list of rules in the ruleset. */ rules: PhasesGetResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const GetPhasResponse: S.Schema; export interface GetPhasForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The phase of the ruleset. */ rulesetPhase: string; } export declare const GetPhasForZoneRequest: S.Schema; export interface GetPhasVersionForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The phase of the ruleset. */ rulesetPhase: string; /** The version of the ruleset. */ rulesetVersion: string; } export declare const GetPhasVersionForAccountRequest: S.Schema; export type PhasesVersionsGetResponseKind = "managed" | "custom" | "root" | "zone"; export declare const PhasesVersionsGetResponseKind: any; export type PhasesVersionsGetResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesVersionsGetResponsePhase: any; export type PhasesVersionsGetResponseRulesItemBlockRuleAction = "block"; export declare const PhasesVersionsGetResponseRulesItemBlockRuleAction: any; export type PhasesVersionsGetResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const PhasesVersionsGetResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type PhasesVersionsGetResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const PhasesVersionsGetResponseRulesItemBlockRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemBlockRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemBlockRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const PhasesVersionsGetResponseRulesItemBlockRuleLogging: S.Schema; export type PhasesVersionsGetResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemBlockRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemBlockRule: S.Schema; export type PhasesVersionsGetResponseRulesItemChallengeAction = "challenge"; export declare const PhasesVersionsGetResponseRulesItemChallengeAction: any; export type PhasesVersionsGetResponseRulesItemChallengeCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemChallengeCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemChallengeRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemChallenge: S.Schema; export type PhasesVersionsGetResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleAction: any; export type PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemCompressResponseRule: S.Schema; export type PhasesVersionsGetResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const PhasesVersionsGetResponseRulesItemDDoSDynamicRuleAction: any; export type PhasesVersionsGetResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemDDoSDynamicRule: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleAction = "execute"; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleAction: any; export type PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface PhasesVersionsGetResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const PhasesVersionsGetResponseRulesItemExecuteRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemExecuteRule: S.Schema; export type PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleAction: any; export type PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemForceConnectionCloseRule: S.Schema; export type PhasesVersionsGetResponseRulesItemJSChallengeAction = "js_challenge"; export declare const PhasesVersionsGetResponseRulesItemJSChallengeAction: any; export type PhasesVersionsGetResponseRulesItemJSChallengeCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemJSChallengeCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemJSChallengeRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemJSChallenge: S.Schema; export type PhasesVersionsGetResponseRulesItemLogRuleAction = "log"; export declare const PhasesVersionsGetResponseRulesItemLogRuleAction: any; export type PhasesVersionsGetResponseRulesItemLogRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemLogRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemLogRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemLogRule: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleAction: any; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemLogCustomFieldRule: S.Schema; export type PhasesVersionsGetResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const PhasesVersionsGetResponseRulesItemManagedChallengeRuleAction: any; export type PhasesVersionsGetResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemManagedChallengeRule: S.Schema; export type PhasesVersionsGetResponseRulesItemRedirectRuleAction = "redirect"; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleAction: any; export type PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface PhasesVersionsGetResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: PhasesVersionsGetResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const PhasesVersionsGetResponseRulesItemRedirectRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemRedirectRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemRedirectRule: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleAction = "rewrite"; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleAction: any; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeaders = PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeaders: any; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUri: any; export interface PhasesVersionsGetResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: PhasesVersionsGetResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemRewriteRule: S.Schema; export type PhasesVersionsGetResponseRulesItemRouteRuleAction = "route"; export declare const PhasesVersionsGetResponseRulesItemRouteRuleAction: any; export type PhasesVersionsGetResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const PhasesVersionsGetResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type PhasesVersionsGetResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const PhasesVersionsGetResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type PhasesVersionsGetResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const PhasesVersionsGetResponseRulesItemRouteRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemRouteRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemRouteRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemRouteRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemRouteRule: S.Schema; export type PhasesVersionsGetResponseRulesItemScoreRuleAction = "score"; export declare const PhasesVersionsGetResponseRulesItemScoreRuleAction: any; export type PhasesVersionsGetResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const PhasesVersionsGetResponseRulesItemScoreRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemScoreRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemScoreRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemScoreRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemScoreRule: S.Schema; export type PhasesVersionsGetResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleAction: any; export type PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type PhasesVersionsGetResponseRulesItemServeErrorRuleActionParameters = PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent | PhasesVersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleActionParameters: any; export type PhasesVersionsGetResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemServeErrorRule: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlAction: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutable = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutable: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAge = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidate = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstand = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCache = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCache: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStore = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStore: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransform = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivate = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivate: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublic = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublic: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxage = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfError = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface PhasesVersionsGetResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheControl: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleAction: any; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheSettingsRule: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsAction: any; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsActionParameters = PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | PhasesVersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsActionParameters: any; export type PhasesVersionsGetResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetCacheTags: S.Schema; export type PhasesVersionsGetResponseRulesItemSetConfigRuleAction = "set_config"; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleAction: any; export type PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersPolish: any; export type PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface PhasesVersionsGetResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: PhasesVersionsGetResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSetConfigRule: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleAction = "skip"; export declare const PhasesVersionsGetResponseRulesItemSkipRuleAction: any; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhase: any; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersProductsItem: any; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRuleset: any; export type PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: PhasesVersionsGetResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const PhasesVersionsGetResponseRulesItemSkipRuleActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemSkipRuleCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSkipRuleRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesVersionsGetResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemSkipRule: S.Schema; export type PhasesVersionsGetResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTMLAction: any; export type PhasesVersionsGetResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type PhasesVersionsGetResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type PhasesVersionsGetResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type PhasesVersionsGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface PhasesVersionsGetResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesVersionsGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface PhasesVersionsGetResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesVersionsGetResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesVersionsGetResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesVersionsGetResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesVersionsGetResponseRulesItemTransformResponseHTML: S.Schema; export type PhasesVersionsGetResponseRulesItem = PhasesVersionsGetResponseRulesItemBlockRule | PhasesVersionsGetResponseRulesItemChallenge | PhasesVersionsGetResponseRulesItemCompressResponseRule | PhasesVersionsGetResponseRulesItemDDoSDynamicRule | PhasesVersionsGetResponseRulesItemExecuteRule | PhasesVersionsGetResponseRulesItemForceConnectionCloseRule | PhasesVersionsGetResponseRulesItemJSChallenge | PhasesVersionsGetResponseRulesItemLogRule | PhasesVersionsGetResponseRulesItemLogCustomFieldRule | PhasesVersionsGetResponseRulesItemManagedChallengeRule | PhasesVersionsGetResponseRulesItemRedirectRule | PhasesVersionsGetResponseRulesItemRewriteRule | PhasesVersionsGetResponseRulesItemRouteRule | PhasesVersionsGetResponseRulesItemScoreRule | PhasesVersionsGetResponseRulesItemServeErrorRule | PhasesVersionsGetResponseRulesItemSetCacheControl | PhasesVersionsGetResponseRulesItemSetCacheSettingsRule | PhasesVersionsGetResponseRulesItemSetCacheTags | PhasesVersionsGetResponseRulesItemSetConfigRule | PhasesVersionsGetResponseRulesItemSkipRule | PhasesVersionsGetResponseRulesItemTransformResponseHTML; export declare const PhasesVersionsGetResponseRulesItem: any; export type PhasesVersionsGetResponseRulesList = Array; export declare const PhasesVersionsGetResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPhasVersionResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: PhasesVersionsGetResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: PhasesVersionsGetResponsePhase; /** The list of rules in the ruleset. */ rules: PhasesVersionsGetResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const GetPhasVersionResponse: S.Schema; export interface GetPhasVersionForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The phase of the ruleset. */ rulesetPhase: string; /** The version of the ruleset. */ rulesetVersion: string; } export declare const GetPhasVersionForZoneRequest: S.Schema; export interface GetRulesetForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; } export declare const GetRulesetForAccountRequest: S.Schema; export type GetResponseKind = "managed" | "custom" | "root" | "zone"; export declare const GetResponseKind: any; export type GetResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const GetResponsePhase: any; export type GetResponseRulesItemBlockRuleAction = "block"; export declare const GetResponseRulesItemBlockRuleAction: any; export type GetResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const GetResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type GetResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const GetResponseRulesItemBlockRuleActionParameters: S.Schema; export type GetResponseRulesItemBlockRuleCategoriesList = Array; export declare const GetResponseRulesItemBlockRuleCategoriesList: S.Schema; export type GetResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const GetResponseRulesItemBlockRuleLogging: S.Schema; export type GetResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemBlockRuleRatelimit: S.Schema; export interface GetResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemBlockRule: S.Schema; export type GetResponseRulesItemChallengeAction = "challenge"; export declare const GetResponseRulesItemChallengeAction: any; export type GetResponseRulesItemChallengeCategoriesList = Array; export declare const GetResponseRulesItemChallengeCategoriesList: S.Schema; export type GetResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type GetResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemChallengeRatelimit: S.Schema; export interface GetResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: GetResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemChallenge: S.Schema; export type GetResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const GetResponseRulesItemCompressResponseRuleAction: any; export type GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface GetResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: GetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const GetResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type GetResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const GetResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type GetResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface GetResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemCompressResponseRule: S.Schema; export type GetResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const GetResponseRulesItemDDoSDynamicRuleAction: any; export type GetResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const GetResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type GetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface GetResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: GetResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemDDoSDynamicRule: S.Schema; export type GetResponseRulesItemExecuteRuleAction = "execute"; export declare const GetResponseRulesItemExecuteRuleAction: any; export type GetResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const GetResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type GetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface GetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: GetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type GetResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type GetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const GetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface GetResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: GetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: GetResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: GetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const GetResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface GetResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: GetResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const GetResponseRulesItemExecuteRuleActionParameters: S.Schema; export type GetResponseRulesItemExecuteRuleCategoriesList = Array; export declare const GetResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type GetResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface GetResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemExecuteRule: S.Schema; export type GetResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const GetResponseRulesItemForceConnectionCloseRuleAction: any; export type GetResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const GetResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type GetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface GetResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: GetResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemForceConnectionCloseRule: S.Schema; export type GetResponseRulesItemJSChallengeAction = "js_challenge"; export declare const GetResponseRulesItemJSChallengeAction: any; export type GetResponseRulesItemJSChallengeCategoriesList = Array; export declare const GetResponseRulesItemJSChallengeCategoriesList: S.Schema; export type GetResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type GetResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemJSChallengeRatelimit: S.Schema; export interface GetResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: GetResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemJSChallenge: S.Schema; export type GetResponseRulesItemLogRuleAction = "log"; export declare const GetResponseRulesItemLogRuleAction: any; export type GetResponseRulesItemLogRuleCategoriesList = Array; export declare const GetResponseRulesItemLogRuleCategoriesList: S.Schema; export type GetResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemLogRuleRatelimit: S.Schema; export interface GetResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: GetResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemLogRule: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const GetResponseRulesItemLogCustomFieldRuleAction: any; export type GetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface GetResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: GetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: GetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: GetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: GetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: GetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const GetResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface GetResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemLogCustomFieldRule: S.Schema; export type GetResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const GetResponseRulesItemManagedChallengeRuleAction: any; export type GetResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const GetResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type GetResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface GetResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: GetResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemManagedChallengeRule: S.Schema; export type GetResponseRulesItemRedirectRuleAction = "redirect"; export declare const GetResponseRulesItemRedirectRuleAction: any; export type GetResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const GetResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type GetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const GetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type GetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const GetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface GetResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: GetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const GetResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface GetResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: GetResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const GetResponseRulesItemRedirectRuleActionParameters: S.Schema; export type GetResponseRulesItemRedirectRuleCategoriesList = Array; export declare const GetResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type GetResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface GetResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemRedirectRule: S.Schema; export type GetResponseRulesItemRewriteRuleAction = "rewrite"; export declare const GetResponseRulesItemRewriteRuleAction: any; export type GetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface GetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: GetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface GetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: GetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface GetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: GetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface GetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: GetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface GetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: GetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const GetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersHeaders = GetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | GetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | GetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | GetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | GetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const GetResponseRulesItemRewriteRuleActionParametersHeaders: any; export type GetResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const GetResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const GetResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const GetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const GetResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type GetResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const GetResponseRulesItemRewriteRuleActionParametersUri: any; export interface GetResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: GetResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: GetResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const GetResponseRulesItemRewriteRuleActionParameters: S.Schema; export type GetResponseRulesItemRewriteRuleCategoriesList = Array; export declare const GetResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type GetResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface GetResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemRewriteRule: S.Schema; export type GetResponseRulesItemRouteRuleAction = "route"; export declare const GetResponseRulesItemRouteRuleAction: any; export type GetResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const GetResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type GetResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const GetResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type GetResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const GetResponseRulesItemRouteRuleActionParameters: S.Schema; export type GetResponseRulesItemRouteRuleCategoriesList = Array; export declare const GetResponseRulesItemRouteRuleCategoriesList: S.Schema; export type GetResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemRouteRuleRatelimit: S.Schema; export interface GetResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemRouteRule: S.Schema; export type GetResponseRulesItemScoreRuleAction = "score"; export declare const GetResponseRulesItemScoreRuleAction: any; export type GetResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const GetResponseRulesItemScoreRuleActionParameters: S.Schema; export type GetResponseRulesItemScoreRuleCategoriesList = Array; export declare const GetResponseRulesItemScoreRuleCategoriesList: S.Schema; export type GetResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemScoreRuleRatelimit: S.Schema; export interface GetResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemScoreRule: S.Schema; export type GetResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const GetResponseRulesItemServeErrorRuleAction: any; export type GetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const GetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface GetResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: GetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const GetResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type GetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const GetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface GetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: GetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const GetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type GetResponseRulesItemServeErrorRuleActionParameters = GetResponseRulesItemServeErrorRuleActionParametersActionParametersContent | GetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const GetResponseRulesItemServeErrorRuleActionParameters: any; export type GetResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const GetResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type GetResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface GetResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemServeErrorRule: S.Schema; export type GetResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const GetResponseRulesItemSetCacheControlAction: any; export type GetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersImmutable = GetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | GetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersImmutable: any; export type GetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersMaxAge = GetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | GetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type GetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersMustRevalidate = GetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | GetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type GetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersMustUnderstand = GetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | GetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersNoCache = GetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | GetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersNoCache: any; export type GetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersNoStore = GetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | GetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersNoStore: any; export type GetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersNoTransform = GetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | GetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersPrivate = GetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | GetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersPrivate: any; export type GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersProxyRevalidate = GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | GetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type GetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersPublic = GetResponseRulesItemSetCacheControlActionParametersPublicSetDirective | GetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersPublic: any; export type GetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersSMaxage = GetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | GetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersStaleIfError = GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | GetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface GetResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: GetResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: GetResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: GetResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: GetResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: GetResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: GetResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: GetResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: GetResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: GetResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: GetResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: GetResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: GetResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: GetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const GetResponseRulesItemSetCacheControlActionParameters: S.Schema; export type GetResponseRulesItemSetCacheControlCategoriesList = Array; export declare const GetResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type GetResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type GetResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface GetResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemSetCacheControl: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const GetResponseRulesItemSetCacheSettingsRuleAction: any; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: GetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: GetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: GetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: GetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: GetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: GetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: GetResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface GetResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemSetCacheSettingsRule: S.Schema; export type GetResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const GetResponseRulesItemSetCacheTagsAction: any; export type GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type GetResponseRulesItemSetCacheTagsActionParameters = GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | GetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | GetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | GetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const GetResponseRulesItemSetCacheTagsActionParameters: any; export type GetResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const GetResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type GetResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type GetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface GetResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemSetCacheTags: S.Schema; export type GetResponseRulesItemSetConfigRuleAction = "set_config"; export declare const GetResponseRulesItemSetConfigRuleAction: any; export type GetResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const GetResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type GetResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const GetResponseRulesItemSetConfigRuleActionParametersPolish: any; export type GetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const GetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type GetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const GetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type GetResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const GetResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type GetResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const GetResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface GetResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: GetResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: GetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: GetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: GetResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: GetResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const GetResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type GetResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const GetResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type GetResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface GetResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemSetConfigRule: S.Schema; export type GetResponseRulesItemSkipRuleAction = "skip"; export declare const GetResponseRulesItemSkipRuleAction: any; export type GetResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const GetResponseRulesItemSkipRuleActionParametersPhase: any; export type GetResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const GetResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type GetResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const GetResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type GetResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const GetResponseRulesItemSkipRuleActionParametersProductsItem: any; export type GetResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const GetResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type GetResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const GetResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type GetResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: GetResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const GetResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type GetResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const GetResponseRulesItemSkipRuleActionParametersRuleset: any; export type GetResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const GetResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface GetResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: GetResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: GetResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: GetResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: GetResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: GetResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: GetResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const GetResponseRulesItemSkipRuleActionParameters: S.Schema; export type GetResponseRulesItemSkipRuleCategoriesList = Array; export declare const GetResponseRulesItemSkipRuleCategoriesList: S.Schema; export type GetResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type GetResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemSkipRuleRatelimit: S.Schema; export interface GetResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: GetResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemSkipRule: S.Schema; export type GetResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const GetResponseRulesItemTransformResponseHTMLAction: any; export type GetResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const GetResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type GetResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const GetResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type GetResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const GetResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type GetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const GetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface GetResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: GetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const GetResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface GetResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: GetResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: GetResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: GetResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const GetResponseRulesItemTransformResponseHTML: S.Schema; export type GetResponseRulesItem = GetResponseRulesItemBlockRule | GetResponseRulesItemChallenge | GetResponseRulesItemCompressResponseRule | GetResponseRulesItemDDoSDynamicRule | GetResponseRulesItemExecuteRule | GetResponseRulesItemForceConnectionCloseRule | GetResponseRulesItemJSChallenge | GetResponseRulesItemLogRule | GetResponseRulesItemLogCustomFieldRule | GetResponseRulesItemManagedChallengeRule | GetResponseRulesItemRedirectRule | GetResponseRulesItemRewriteRule | GetResponseRulesItemRouteRule | GetResponseRulesItemScoreRule | GetResponseRulesItemServeErrorRule | GetResponseRulesItemSetCacheControl | GetResponseRulesItemSetCacheSettingsRule | GetResponseRulesItemSetCacheTags | GetResponseRulesItemSetConfigRule | GetResponseRulesItemSkipRule | GetResponseRulesItemTransformResponseHTML; export declare const GetResponseRulesItem: any; export type GetResponseRulesList = Array; export declare const GetResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetRulesetResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: GetResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: GetResponsePhase; /** The list of rules in the ruleset. */ rules: GetResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const GetRulesetResponse: S.Schema; export interface GetRulesetForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; } export declare const GetRulesetForZoneRequest: S.Schema; export interface GetVersionForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The version of the ruleset. */ rulesetVersion: string; } export declare const GetVersionForAccountRequest: S.Schema; export type VersionsGetResponseKind = "managed" | "custom" | "root" | "zone"; export declare const VersionsGetResponseKind: any; export type VersionsGetResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const VersionsGetResponsePhase: any; export type VersionsGetResponseRulesItemBlockRuleAction = "block"; export declare const VersionsGetResponseRulesItemBlockRuleAction: any; export type VersionsGetResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const VersionsGetResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type VersionsGetResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const VersionsGetResponseRulesItemBlockRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemBlockRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemBlockRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const VersionsGetResponseRulesItemBlockRuleLogging: S.Schema; export type VersionsGetResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemBlockRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemBlockRule: S.Schema; export type VersionsGetResponseRulesItemChallengeAction = "challenge"; export declare const VersionsGetResponseRulesItemChallengeAction: any; export type VersionsGetResponseRulesItemChallengeCategoriesList = Array; export declare const VersionsGetResponseRulesItemChallengeCategoriesList: S.Schema; export type VersionsGetResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemChallengeRatelimit: S.Schema; export interface VersionsGetResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemChallenge: S.Schema; export type VersionsGetResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const VersionsGetResponseRulesItemCompressResponseRuleAction: any; export type VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface VersionsGetResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: VersionsGetResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const VersionsGetResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemCompressResponseRule: S.Schema; export type VersionsGetResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const VersionsGetResponseRulesItemDDoSDynamicRuleAction: any; export type VersionsGetResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemDDoSDynamicRule: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleAction = "execute"; export declare const VersionsGetResponseRulesItemExecuteRuleAction: any; export type VersionsGetResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface VersionsGetResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: VersionsGetResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const VersionsGetResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface VersionsGetResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: VersionsGetResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const VersionsGetResponseRulesItemExecuteRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemExecuteRule: S.Schema; export type VersionsGetResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const VersionsGetResponseRulesItemForceConnectionCloseRuleAction: any; export type VersionsGetResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemForceConnectionCloseRule: S.Schema; export type VersionsGetResponseRulesItemJSChallengeAction = "js_challenge"; export declare const VersionsGetResponseRulesItemJSChallengeAction: any; export type VersionsGetResponseRulesItemJSChallengeCategoriesList = Array; export declare const VersionsGetResponseRulesItemJSChallengeCategoriesList: S.Schema; export type VersionsGetResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemJSChallengeRatelimit: S.Schema; export interface VersionsGetResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemJSChallenge: S.Schema; export type VersionsGetResponseRulesItemLogRuleAction = "log"; export declare const VersionsGetResponseRulesItemLogRuleAction: any; export type VersionsGetResponseRulesItemLogRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemLogRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemLogRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemLogRule: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleAction: any; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface VersionsGetResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: VersionsGetResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const VersionsGetResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemLogCustomFieldRule: S.Schema; export type VersionsGetResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const VersionsGetResponseRulesItemManagedChallengeRuleAction: any; export type VersionsGetResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemManagedChallengeRule: S.Schema; export type VersionsGetResponseRulesItemRedirectRuleAction = "redirect"; export declare const VersionsGetResponseRulesItemRedirectRuleAction: any; export type VersionsGetResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const VersionsGetResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type VersionsGetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const VersionsGetResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type VersionsGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const VersionsGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface VersionsGetResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: VersionsGetResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const VersionsGetResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface VersionsGetResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: VersionsGetResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const VersionsGetResponseRulesItemRedirectRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemRedirectRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemRedirectRule: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleAction = "rewrite"; export declare const VersionsGetResponseRulesItemRewriteRuleAction: any; export type VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersHeaders = VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | VersionsGetResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersHeaders: any; export type VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const VersionsGetResponseRulesItemRewriteRuleActionParametersUri: any; export interface VersionsGetResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: VersionsGetResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: VersionsGetResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const VersionsGetResponseRulesItemRewriteRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemRewriteRule: S.Schema; export type VersionsGetResponseRulesItemRouteRuleAction = "route"; export declare const VersionsGetResponseRulesItemRouteRuleAction: any; export type VersionsGetResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const VersionsGetResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type VersionsGetResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const VersionsGetResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type VersionsGetResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const VersionsGetResponseRulesItemRouteRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemRouteRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemRouteRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemRouteRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemRouteRule: S.Schema; export type VersionsGetResponseRulesItemScoreRuleAction = "score"; export declare const VersionsGetResponseRulesItemScoreRuleAction: any; export type VersionsGetResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const VersionsGetResponseRulesItemScoreRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemScoreRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemScoreRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemScoreRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemScoreRule: S.Schema; export type VersionsGetResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const VersionsGetResponseRulesItemServeErrorRuleAction: any; export type VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type VersionsGetResponseRulesItemServeErrorRuleActionParameters = VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersContent | VersionsGetResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const VersionsGetResponseRulesItemServeErrorRuleActionParameters: any; export type VersionsGetResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemServeErrorRule: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const VersionsGetResponseRulesItemSetCacheControlAction: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersImmutable = VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersImmutable: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAge = VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidate = VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstand = VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoCache = VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoCache: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoStore = VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoStore: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransform = VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPrivate = VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPrivate: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate = VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersPublic = VersionsGetResponseRulesItemSetCacheControlActionParametersPublicSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersPublic: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxage = VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfError = VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface VersionsGetResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: VersionsGetResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: VersionsGetResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: VersionsGetResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: VersionsGetResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: VersionsGetResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: VersionsGetResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: VersionsGetResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: VersionsGetResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: VersionsGetResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: VersionsGetResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: VersionsGetResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: VersionsGetResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: VersionsGetResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const VersionsGetResponseRulesItemSetCacheControlActionParameters: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlCategoriesList = Array; export declare const VersionsGetResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface VersionsGetResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemSetCacheControl: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleAction: any; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemSetCacheSettingsRule: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const VersionsGetResponseRulesItemSetCacheTagsAction: any; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsActionParameters = VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | VersionsGetResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | VersionsGetResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | VersionsGetResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const VersionsGetResponseRulesItemSetCacheTagsActionParameters: any; export type VersionsGetResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const VersionsGetResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface VersionsGetResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemSetCacheTags: S.Schema; export type VersionsGetResponseRulesItemSetConfigRuleAction = "set_config"; export declare const VersionsGetResponseRulesItemSetConfigRuleAction: any; export type VersionsGetResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const VersionsGetResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type VersionsGetResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const VersionsGetResponseRulesItemSetConfigRuleActionParametersPolish: any; export type VersionsGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const VersionsGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type VersionsGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const VersionsGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type VersionsGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const VersionsGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type VersionsGetResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const VersionsGetResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface VersionsGetResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: VersionsGetResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: VersionsGetResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: VersionsGetResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: VersionsGetResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: VersionsGetResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const VersionsGetResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemSetConfigRule: S.Schema; export type VersionsGetResponseRulesItemSkipRuleAction = "skip"; export declare const VersionsGetResponseRulesItemSkipRuleAction: any; export type VersionsGetResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersPhase: any; export type VersionsGetResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type VersionsGetResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type VersionsGetResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersProductsItem: any; export type VersionsGetResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type VersionsGetResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type VersionsGetResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: VersionsGetResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type VersionsGetResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersRuleset: any; export type VersionsGetResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const VersionsGetResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface VersionsGetResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: VersionsGetResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: VersionsGetResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: VersionsGetResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: VersionsGetResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: VersionsGetResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: VersionsGetResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const VersionsGetResponseRulesItemSkipRuleActionParameters: S.Schema; export type VersionsGetResponseRulesItemSkipRuleCategoriesList = Array; export declare const VersionsGetResponseRulesItemSkipRuleCategoriesList: S.Schema; export type VersionsGetResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemSkipRuleRatelimit: S.Schema; export interface VersionsGetResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: VersionsGetResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemSkipRule: S.Schema; export type VersionsGetResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const VersionsGetResponseRulesItemTransformResponseHTMLAction: any; export type VersionsGetResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const VersionsGetResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type VersionsGetResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const VersionsGetResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type VersionsGetResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const VersionsGetResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type VersionsGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const VersionsGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface VersionsGetResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: VersionsGetResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const VersionsGetResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface VersionsGetResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: VersionsGetResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: VersionsGetResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: VersionsGetResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const VersionsGetResponseRulesItemTransformResponseHTML: S.Schema; export type VersionsGetResponseRulesItem = VersionsGetResponseRulesItemBlockRule | VersionsGetResponseRulesItemChallenge | VersionsGetResponseRulesItemCompressResponseRule | VersionsGetResponseRulesItemDDoSDynamicRule | VersionsGetResponseRulesItemExecuteRule | VersionsGetResponseRulesItemForceConnectionCloseRule | VersionsGetResponseRulesItemJSChallenge | VersionsGetResponseRulesItemLogRule | VersionsGetResponseRulesItemLogCustomFieldRule | VersionsGetResponseRulesItemManagedChallengeRule | VersionsGetResponseRulesItemRedirectRule | VersionsGetResponseRulesItemRewriteRule | VersionsGetResponseRulesItemRouteRule | VersionsGetResponseRulesItemScoreRule | VersionsGetResponseRulesItemServeErrorRule | VersionsGetResponseRulesItemSetCacheControl | VersionsGetResponseRulesItemSetCacheSettingsRule | VersionsGetResponseRulesItemSetCacheTags | VersionsGetResponseRulesItemSetConfigRule | VersionsGetResponseRulesItemSkipRule | VersionsGetResponseRulesItemTransformResponseHTML; export declare const VersionsGetResponseRulesItem: any; export type VersionsGetResponseRulesList = Array; export declare const VersionsGetResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetVersionResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: VersionsGetResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: VersionsGetResponsePhase; /** The list of rules in the ruleset. */ rules: VersionsGetResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const GetVersionResponse: S.Schema; export interface GetVersionForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The version of the ruleset. */ rulesetVersion: string; } export declare const GetVersionForZoneRequest: S.Schema; export interface ListPhasVersionsForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The phase of the ruleset. */ rulesetPhase: string; } export declare const ListPhasVersionsForAccountRequest: S.Schema; export type PhasesVersionsListResultItemKind = "managed" | "custom" | "root" | "zone"; export declare const PhasesVersionsListResultItemKind: any; export type PhasesVersionsListResultItemPhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesVersionsListResultItemPhase: any; export interface PhasesVersionsListResultItem { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: PhasesVersionsListResultItemKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: PhasesVersionsListResultItemPhase; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const PhasesVersionsListResultItem: S.Schema; export type PhasesVersionsListResultList = Array; export declare const PhasesVersionsListResultList: S.Schema; export interface ListPhasVersionsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PhasesVersionsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListPhasVersionsResponse: S.Schema; export interface ListPhasVersionsForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The phase of the ruleset. */ rulesetPhase: string; } export declare const ListPhasVersionsForZoneRequest: S.Schema; export interface ListRulesetsForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The cursor to use for the next page. */ cursor?: string; /** The number of rulesets to return per page. */ perPage?: number; } export declare const ListRulesetsForAccountRequest: S.Schema; export type ListResultItemKind = "managed" | "custom" | "root" | "zone"; export declare const ListResultItemKind: any; export type ListResultItemPhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const ListResultItemPhase: any; export interface ListResultItem { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: ListResultItemKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: ListResultItemPhase; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const ListResultItem: S.Schema; export type ListResultList = Array; export declare const ListResultList: S.Schema; export interface ListRulesetsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: ListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListRulesetsResponse: S.Schema; export interface ListRulesetsForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The cursor to use for the next page. */ cursor?: string; /** The number of rulesets to return per page. */ perPage?: number; } export declare const ListRulesetsForZoneRequest: S.Schema; export interface ListVersionsForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; } export declare const ListVersionsForAccountRequest: S.Schema; export type VersionsListResultItemKind = "managed" | "custom" | "root" | "zone"; export declare const VersionsListResultItemKind: any; export type VersionsListResultItemPhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const VersionsListResultItemPhase: any; export interface VersionsListResultItem { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: VersionsListResultItemKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: VersionsListResultItemPhase; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const VersionsListResultItem: S.Schema; export type VersionsListResultList = Array; export declare const VersionsListResultList: S.Schema; export interface ListVersionsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: VersionsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListVersionsResponse: S.Schema; export interface ListVersionsForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; } export declare const ListVersionsForZoneRequest: S.Schema; export type RulesEditRequestBodyBlockRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyBlockRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyBlockRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyBlockRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyBlockRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyBlockRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyBlockRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyBlockRulePosition: any; export interface RulesEditRequestBodyBlockRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyBlockRulePosition; } export declare const RulesEditRequestBodyBlockRule: S.Schema; export type RulesEditRequestBodyChallengeRuleAction = "challenge"; export declare const RulesEditRequestBodyChallengeRuleAction: any; export type RulesEditRequestBodyChallengeRuleCategoriesList = Array; export declare const RulesEditRequestBodyChallengeRuleCategoriesList: S.Schema; export type RulesEditRequestBodyChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditRequestBodyChallengeRuleExposedCredentialCheck: S.Schema; export type RulesEditRequestBodyChallengeRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const RulesEditRequestBodyChallengeRuleLogging: S.Schema; export type RulesEditRequestBodyChallengeRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyChallengeRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyChallengeRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyChallengeRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyChallengeRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyChallengeRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyChallengeRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyChallengeRulePosition: any; export type RulesEditRequestBodyChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesEditRequestBodyChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditRequestBodyChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditRequestBodyChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesEditRequestBodyChallengeRuleRatelimit: S.Schema; export interface RulesEditRequestBodyChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesEditRequestBodyChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: RulesEditRequestBodyChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyChallengeRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditRequestBodyChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesEditRequestBodyChallengeRule: S.Schema; export type RulesEditRequestBodyResponseCompressionRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyResponseCompressionRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyResponseCompressionRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyResponseCompressionRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyResponseCompressionRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyResponseCompressionRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyResponseCompressionRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyResponseCompressionRulePosition: any; export interface RulesEditRequestBodyResponseCompressionRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyResponseCompressionRulePosition; } export declare const RulesEditRequestBodyResponseCompressionRule: S.Schema; export type RulesEditRequestBodyDDoSDynamicRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyDDoSDynamicRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyDDoSDynamicRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyDDoSDynamicRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyDDoSDynamicRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyDDoSDynamicRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyDDoSDynamicRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyDDoSDynamicRulePosition: any; export interface RulesEditRequestBodyDDoSDynamicRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyDDoSDynamicRulePosition; } export declare const RulesEditRequestBodyDDoSDynamicRule: S.Schema; export type RulesEditRequestBodyExecuteRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyExecuteRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyExecuteRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyExecuteRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyExecuteRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyExecuteRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyExecuteRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyExecuteRulePosition: any; export interface RulesEditRequestBodyExecuteRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyExecuteRulePosition; } export declare const RulesEditRequestBodyExecuteRule: S.Schema; export type RulesEditRequestBodyForceConnectionCloseRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyForceConnectionCloseRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyForceConnectionCloseRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyForceConnectionCloseRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyForceConnectionCloseRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyForceConnectionCloseRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyForceConnectionCloseRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyForceConnectionCloseRulePosition: any; export interface RulesEditRequestBodyForceConnectionCloseRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyForceConnectionCloseRulePosition; } export declare const RulesEditRequestBodyForceConnectionCloseRule: S.Schema; export type RulesEditRequestBodyJavaScriptChallengeRuleAction = "js_challenge"; export declare const RulesEditRequestBodyJavaScriptChallengeRuleAction: any; export type RulesEditRequestBodyJavaScriptChallengeRuleCategoriesList = Array; export declare const RulesEditRequestBodyJavaScriptChallengeRuleCategoriesList: S.Schema; export type RulesEditRequestBodyJavaScriptChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditRequestBodyJavaScriptChallengeRuleExposedCredentialCheck: S.Schema; export type RulesEditRequestBodyJavaScriptChallengeRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyJavaScriptChallengeRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyJavaScriptChallengeRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyJavaScriptChallengeRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyJavaScriptChallengeRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyJavaScriptChallengeRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyJavaScriptChallengeRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyJavaScriptChallengeRulePosition: any; export type RulesEditRequestBodyJavaScriptChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesEditRequestBodyJavaScriptChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditRequestBodyJavaScriptChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditRequestBodyJavaScriptChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesEditRequestBodyJavaScriptChallengeRuleRatelimit: S.Schema; export interface RulesEditRequestBodyJavaScriptChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesEditRequestBodyJavaScriptChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: RulesEditRequestBodyJavaScriptChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyJavaScriptChallengeRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditRequestBodyJavaScriptChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesEditRequestBodyJavaScriptChallengeRule: S.Schema; export type RulesEditRequestBodyLogRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyLogRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyLogRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyLogRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyLogRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyLogRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyLogRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyLogRulePosition: any; export interface RulesEditRequestBodyLogRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyLogRulePosition; } export declare const RulesEditRequestBodyLogRule: S.Schema; export type RulesEditRequestBodyLogCustomFieldRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyLogCustomFieldRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyLogCustomFieldRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyLogCustomFieldRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyLogCustomFieldRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyLogCustomFieldRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyLogCustomFieldRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyLogCustomFieldRulePosition: any; export interface RulesEditRequestBodyLogCustomFieldRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyLogCustomFieldRulePosition; } export declare const RulesEditRequestBodyLogCustomFieldRule: S.Schema; export type RulesEditRequestBodyManagedChallengeRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyManagedChallengeRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyManagedChallengeRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyManagedChallengeRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyManagedChallengeRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyManagedChallengeRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyManagedChallengeRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyManagedChallengeRulePosition: any; export interface RulesEditRequestBodyManagedChallengeRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyManagedChallengeRulePosition; } export declare const RulesEditRequestBodyManagedChallengeRule: S.Schema; export type RulesEditRequestBodyRedirectRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyRedirectRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyRedirectRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyRedirectRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyRedirectRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyRedirectRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyRedirectRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyRedirectRulePosition: any; export interface RulesEditRequestBodyRedirectRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyRedirectRulePosition; } export declare const RulesEditRequestBodyRedirectRule: S.Schema; export type RulesEditRequestBodyRewriteRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyRewriteRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyRewriteRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyRewriteRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyRewriteRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyRewriteRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyRewriteRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyRewriteRulePosition: any; export interface RulesEditRequestBodyRewriteRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyRewriteRulePosition; } export declare const RulesEditRequestBodyRewriteRule: S.Schema; export type RulesEditRequestBodyRouteRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyRouteRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyRouteRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyRouteRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyRouteRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyRouteRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyRouteRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyRouteRulePosition: any; export interface RulesEditRequestBodyRouteRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyRouteRulePosition; } export declare const RulesEditRequestBodyRouteRule: S.Schema; export type RulesEditRequestBodyScoreRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyScoreRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyScoreRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyScoreRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyScoreRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyScoreRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyScoreRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyScoreRulePosition: any; export interface RulesEditRequestBodyScoreRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyScoreRulePosition; } export declare const RulesEditRequestBodyScoreRule: S.Schema; export type RulesEditRequestBodyServeErrorRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyServeErrorRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyServeErrorRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyServeErrorRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyServeErrorRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyServeErrorRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyServeErrorRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyServeErrorRulePosition: any; export interface RulesEditRequestBodyServeErrorRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyServeErrorRulePosition; } export declare const RulesEditRequestBodyServeErrorRule: S.Schema; export type RulesEditRequestBodySetCacheControlRuleAction = "set_cache_control"; export declare const RulesEditRequestBodySetCacheControlRuleAction: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersImmutableSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersImmutableSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersImmutableSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersImmutable = RulesEditRequestBodySetCacheControlRuleActionParametersImmutableSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersImmutableRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersImmutable: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersMaxAge = RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersMaxAgeRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMaxAge: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidate = RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidateRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidate: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstand = RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstandRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstand: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveOperation: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirectiveQualifiersList; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoCache = RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersNoCacheRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoCache: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoStore = RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersNoStoreRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoStore: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersNoTransform = RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersNoTransformRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersNoTransform: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveOperation: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirectiveQualifiersList; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersPrivate = RulesEditRequestBodySetCacheControlRuleActionParametersPrivateSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersPrivateRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPrivate: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidate = RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidateRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidate: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPublicSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersPublicSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPublicSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPublicRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersPublicRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPublicRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersPublic = RulesEditRequestBodySetCacheControlRuleActionParametersPublicSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersPublicRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersPublic: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersSMaxage = RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersSMaxageRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersSMaxage: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfError = RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfErrorRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfError: any; export type RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidate = RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective | RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective; export declare const RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidate: any; export interface RulesEditRequestBodySetCacheControlRuleActionParameters { /** A cache-control directive configuration. */ immutable?: RulesEditRequestBodySetCacheControlRuleActionParametersImmutable; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: RulesEditRequestBodySetCacheControlRuleActionParametersMaxAge; /** A cache-control directive configuration. */ mustRevalidate?: RulesEditRequestBodySetCacheControlRuleActionParametersMustRevalidate; /** A cache-control directive configuration. */ mustUnderstand?: RulesEditRequestBodySetCacheControlRuleActionParametersMustUnderstand; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: RulesEditRequestBodySetCacheControlRuleActionParametersNoCache; /** A cache-control directive configuration. */ noStore?: RulesEditRequestBodySetCacheControlRuleActionParametersNoStore; /** A cache-control directive configuration. */ noTransform?: RulesEditRequestBodySetCacheControlRuleActionParametersNoTransform; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: RulesEditRequestBodySetCacheControlRuleActionParametersPrivate; /** A cache-control directive configuration. */ proxyRevalidate?: RulesEditRequestBodySetCacheControlRuleActionParametersProxyRevalidate; /** A cache-control directive configuration. */ public?: RulesEditRequestBodySetCacheControlRuleActionParametersPublic; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: RulesEditRequestBodySetCacheControlRuleActionParametersSMaxage; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: RulesEditRequestBodySetCacheControlRuleActionParametersStaleIfError; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: RulesEditRequestBodySetCacheControlRuleActionParametersStaleWhileRevalidate; } export declare const RulesEditRequestBodySetCacheControlRuleActionParameters: S.Schema; export type RulesEditRequestBodySetCacheControlRuleCategoriesList = Array; export declare const RulesEditRequestBodySetCacheControlRuleCategoriesList: S.Schema; export type RulesEditRequestBodySetCacheControlRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditRequestBodySetCacheControlRuleExposedCredentialCheck: S.Schema; export type RulesEditRequestBodySetCacheControlRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodySetCacheControlRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodySetCacheControlRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodySetCacheControlRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodySetCacheControlRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetCacheControlRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodySetCacheControlRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetCacheControlRulePosition: any; export type RulesEditRequestBodySetCacheControlRuleRatelimitCharacteristicsList = Array; export declare const RulesEditRequestBodySetCacheControlRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditRequestBodySetCacheControlRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditRequestBodySetCacheControlRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesEditRequestBodySetCacheControlRuleRatelimit: S.Schema; export interface RulesEditRequestBodySetCacheControlRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesEditRequestBodySetCacheControlRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesEditRequestBodySetCacheControlRuleActionParameters; /** The categories of the rule. */ categories?: RulesEditRequestBodySetCacheControlRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodySetCacheControlRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditRequestBodySetCacheControlRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesEditRequestBodySetCacheControlRule: S.Schema; export type RulesEditRequestBodySetCacheSettingsRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodySetCacheSettingsRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodySetCacheSettingsRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodySetCacheSettingsRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodySetCacheSettingsRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetCacheSettingsRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodySetCacheSettingsRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetCacheSettingsRulePosition: any; export interface RulesEditRequestBodySetCacheSettingsRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodySetCacheSettingsRulePosition; } export declare const RulesEditRequestBodySetCacheSettingsRule: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleAction = "set_cache_tags"; export declare const RulesEditRequestBodySetCacheTagsRuleAction: any; export type RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesOperation: any; export type RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesValuesList = Array; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValuesValuesList; } export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValues: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation: any; export interface RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation | (string & {}); } export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpression: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation: any; export type RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValuesValuesList; } export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValues: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation: any; export interface RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation | (string & {}); } export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpression: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesOperation: any; export type RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesValuesList = Array; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValuesValuesList; } export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValues: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation: any; export interface RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation | (string & {}); } export declare const RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpression: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleActionParameters = RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsValues | RulesEditRequestBodySetCacheTagsRuleActionParametersAddCacheTagsExpression | RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsValues | RulesEditRequestBodySetCacheTagsRuleActionParametersRemoveCacheTagsExpression | RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsValues | RulesEditRequestBodySetCacheTagsRuleActionParametersSetCacheTagsExpression; export declare const RulesEditRequestBodySetCacheTagsRuleActionParameters: any; export type RulesEditRequestBodySetCacheTagsRuleCategoriesList = Array; export declare const RulesEditRequestBodySetCacheTagsRuleCategoriesList: S.Schema; export type RulesEditRequestBodySetCacheTagsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditRequestBodySetCacheTagsRuleExposedCredentialCheck: S.Schema; export type RulesEditRequestBodySetCacheTagsRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodySetCacheTagsRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodySetCacheTagsRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodySetCacheTagsRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodySetCacheTagsRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetCacheTagsRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodySetCacheTagsRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetCacheTagsRulePosition: any; export type RulesEditRequestBodySetCacheTagsRuleRatelimitCharacteristicsList = Array; export declare const RulesEditRequestBodySetCacheTagsRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditRequestBodySetCacheTagsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditRequestBodySetCacheTagsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesEditRequestBodySetCacheTagsRuleRatelimit: S.Schema; export interface RulesEditRequestBodySetCacheTagsRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesEditRequestBodySetCacheTagsRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesEditRequestBodySetCacheTagsRuleActionParameters; /** The categories of the rule. */ categories?: RulesEditRequestBodySetCacheTagsRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodySetCacheTagsRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditRequestBodySetCacheTagsRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesEditRequestBodySetCacheTagsRule: S.Schema; export type RulesEditRequestBodySetConfigurationRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodySetConfigurationRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodySetConfigurationRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodySetConfigurationRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodySetConfigurationRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetConfigurationRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodySetConfigurationRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySetConfigurationRulePosition: any; export interface RulesEditRequestBodySetConfigurationRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodySetConfigurationRulePosition; } export declare const RulesEditRequestBodySetConfigurationRule: S.Schema; export type RulesEditRequestBodySkipRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodySkipRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodySkipRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodySkipRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodySkipRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySkipRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodySkipRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodySkipRulePosition: any; export interface RulesEditRequestBodySkipRule { /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodySkipRulePosition; } export declare const RulesEditRequestBodySkipRule: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRuleAction = "transform_response_html"; export declare const RulesEditRequestBodyTransformResponseHTMLRuleAction: any; export type RulesEditRequestBodyTransformResponseHTMLRuleActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const RulesEditRequestBodyTransformResponseHTMLRuleActionParameters: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRuleCategoriesList = Array; export declare const RulesEditRequestBodyTransformResponseHTMLRuleCategoriesList: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditRequestBodyTransformResponseHTMLRuleExposedCredentialCheck: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRulePositionBeforePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition; export declare const RulesEditRequestBodyTransformResponseHTMLRulePositionBeforePosition: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRulePositionAfterPosition = RulesCreateRequestBodyBlockRulePositionAfterPosition; export declare const RulesEditRequestBodyTransformResponseHTMLRulePositionAfterPosition: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRulePositionIndexPosition = RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyTransformResponseHTMLRulePositionIndexPosition: S.Schema; export type RulesEditRequestBodyTransformResponseHTMLRulePosition = RulesCreateRequestBodyBlockRulePositionBeforePosition | RulesCreateRequestBodyBlockRulePositionAfterPosition | RulesCreateRequestBodyBlockRulePositionIndexPosition; export declare const RulesEditRequestBodyTransformResponseHTMLRulePosition: any; export type RulesEditRequestBodyTransformResponseHTMLRuleRatelimitCharacteristicsList = Array; export declare const RulesEditRequestBodyTransformResponseHTMLRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditRequestBodyTransformResponseHTMLRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditRequestBodyTransformResponseHTMLRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const RulesEditRequestBodyTransformResponseHTMLRuleRatelimit: S.Schema; export interface RulesEditRequestBodyTransformResponseHTMLRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: RulesEditRequestBodyTransformResponseHTMLRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; /** The categories of the rule. */ categories?: RulesEditRequestBodyTransformResponseHTMLRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring where the rule will be placed. */ position?: RulesEditRequestBodyTransformResponseHTMLRulePosition; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditRequestBodyTransformResponseHTMLRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const RulesEditRequestBodyTransformResponseHTMLRule: S.Schema; export type RulesEditRequestBody = RulesEditRequestBodyBlockRule | RulesEditRequestBodyChallengeRule | RulesEditRequestBodyResponseCompressionRule | RulesEditRequestBodyDDoSDynamicRule | RulesEditRequestBodyExecuteRule | RulesEditRequestBodyForceConnectionCloseRule | RulesEditRequestBodyJavaScriptChallengeRule | RulesEditRequestBodyLogRule | RulesEditRequestBodyLogCustomFieldRule | RulesEditRequestBodyManagedChallengeRule | RulesEditRequestBodyRedirectRule | RulesEditRequestBodyRewriteRule | RulesEditRequestBodyRouteRule | RulesEditRequestBodyScoreRule | RulesEditRequestBodyServeErrorRule | RulesEditRequestBodySetCacheControlRule | RulesEditRequestBodySetCacheSettingsRule | RulesEditRequestBodySetCacheTagsRule | RulesEditRequestBodySetConfigurationRule | RulesEditRequestBodySkipRule | RulesEditRequestBodyTransformResponseHTMLRule; export declare const RulesEditRequestBody: any; export interface PatchRuleForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The unique ID of the rule. */ ruleId: string; body: RulesEditRequestBody; } export declare const PatchRuleForAccountRequest: S.Schema; export type RulesEditResponseKind = "managed" | "custom" | "root" | "zone"; export declare const RulesEditResponseKind: any; export type RulesEditResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const RulesEditResponsePhase: any; export type RulesEditResponseRulesItemBlockRuleAction = "block"; export declare const RulesEditResponseRulesItemBlockRuleAction: any; export type RulesEditResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const RulesEditResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type RulesEditResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const RulesEditResponseRulesItemBlockRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemBlockRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemBlockRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const RulesEditResponseRulesItemBlockRuleLogging: S.Schema; export type RulesEditResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemBlockRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemBlockRule: S.Schema; export type RulesEditResponseRulesItemChallengeAction = "challenge"; export declare const RulesEditResponseRulesItemChallengeAction: any; export type RulesEditResponseRulesItemChallengeCategoriesList = Array; export declare const RulesEditResponseRulesItemChallengeCategoriesList: S.Schema; export type RulesEditResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemChallengeRatelimit: S.Schema; export interface RulesEditResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemChallenge: S.Schema; export type RulesEditResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const RulesEditResponseRulesItemCompressResponseRuleAction: any; export type RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface RulesEditResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: RulesEditResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const RulesEditResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemCompressResponseRule: S.Schema; export type RulesEditResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const RulesEditResponseRulesItemDDoSDynamicRuleAction: any; export type RulesEditResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemDDoSDynamicRule: S.Schema; export type RulesEditResponseRulesItemExecuteRuleAction = "execute"; export declare const RulesEditResponseRulesItemExecuteRuleAction: any; export type RulesEditResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const RulesEditResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type RulesEditResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface RulesEditResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: RulesEditResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: RulesEditResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: RulesEditResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const RulesEditResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface RulesEditResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: RulesEditResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const RulesEditResponseRulesItemExecuteRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemExecuteRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemExecuteRule: S.Schema; export type RulesEditResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const RulesEditResponseRulesItemForceConnectionCloseRuleAction: any; export type RulesEditResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemForceConnectionCloseRule: S.Schema; export type RulesEditResponseRulesItemJSChallengeAction = "js_challenge"; export declare const RulesEditResponseRulesItemJSChallengeAction: any; export type RulesEditResponseRulesItemJSChallengeCategoriesList = Array; export declare const RulesEditResponseRulesItemJSChallengeCategoriesList: S.Schema; export type RulesEditResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemJSChallengeRatelimit: S.Schema; export interface RulesEditResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemJSChallenge: S.Schema; export type RulesEditResponseRulesItemLogRuleAction = "log"; export declare const RulesEditResponseRulesItemLogRuleAction: any; export type RulesEditResponseRulesItemLogRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemLogRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemLogRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemLogRule: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const RulesEditResponseRulesItemLogCustomFieldRuleAction: any; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface RulesEditResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: RulesEditResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: RulesEditResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: RulesEditResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: RulesEditResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const RulesEditResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemLogCustomFieldRule: S.Schema; export type RulesEditResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const RulesEditResponseRulesItemManagedChallengeRuleAction: any; export type RulesEditResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemManagedChallengeRule: S.Schema; export type RulesEditResponseRulesItemRedirectRuleAction = "redirect"; export declare const RulesEditResponseRulesItemRedirectRuleAction: any; export type RulesEditResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const RulesEditResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type RulesEditResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const RulesEditResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type RulesEditResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const RulesEditResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface RulesEditResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: RulesEditResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const RulesEditResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface RulesEditResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: RulesEditResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const RulesEditResponseRulesItemRedirectRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemRedirectRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemRedirectRule: S.Schema; export type RulesEditResponseRulesItemRewriteRuleAction = "rewrite"; export declare const RulesEditResponseRulesItemRewriteRuleAction: any; export type RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface RulesEditResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: RulesEditResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersHeaders = RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | RulesEditResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | RulesEditResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | RulesEditResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersHeaders: any; export type RulesEditResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type RulesEditResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const RulesEditResponseRulesItemRewriteRuleActionParametersUri: any; export interface RulesEditResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: RulesEditResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: RulesEditResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const RulesEditResponseRulesItemRewriteRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemRewriteRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemRewriteRule: S.Schema; export type RulesEditResponseRulesItemRouteRuleAction = "route"; export declare const RulesEditResponseRulesItemRouteRuleAction: any; export type RulesEditResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const RulesEditResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type RulesEditResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const RulesEditResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type RulesEditResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const RulesEditResponseRulesItemRouteRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemRouteRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemRouteRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemRouteRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemRouteRule: S.Schema; export type RulesEditResponseRulesItemScoreRuleAction = "score"; export declare const RulesEditResponseRulesItemScoreRuleAction: any; export type RulesEditResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const RulesEditResponseRulesItemScoreRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemScoreRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemScoreRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemScoreRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemScoreRule: S.Schema; export type RulesEditResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const RulesEditResponseRulesItemServeErrorRuleAction: any; export type RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type RulesEditResponseRulesItemServeErrorRuleActionParameters = RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersContent | RulesEditResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const RulesEditResponseRulesItemServeErrorRuleActionParameters: any; export type RulesEditResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemServeErrorRule: S.Schema; export type RulesEditResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const RulesEditResponseRulesItemSetCacheControlAction: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersImmutable = RulesEditResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersImmutable: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersMaxAge = RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidate = RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstand = RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoCache = RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoCache: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoStore = RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoStore: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersNoTransform = RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersPrivate = RulesEditResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPrivate: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidate = RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersPublic = RulesEditResponseRulesItemSetCacheControlActionParametersPublicSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersPublic: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersSMaxage = RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfError = RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface RulesEditResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: RulesEditResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: RulesEditResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: RulesEditResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: RulesEditResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: RulesEditResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: RulesEditResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: RulesEditResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: RulesEditResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: RulesEditResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: RulesEditResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: RulesEditResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: RulesEditResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: RulesEditResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const RulesEditResponseRulesItemSetCacheControlActionParameters: S.Schema; export type RulesEditResponseRulesItemSetCacheControlCategoriesList = Array; export declare const RulesEditResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type RulesEditResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface RulesEditResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemSetCacheControl: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleAction: any; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemSetCacheSettingsRule: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const RulesEditResponseRulesItemSetCacheTagsAction: any; export type RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsActionParameters = RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | RulesEditResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | RulesEditResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | RulesEditResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const RulesEditResponseRulesItemSetCacheTagsActionParameters: any; export type RulesEditResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const RulesEditResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface RulesEditResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemSetCacheTags: S.Schema; export type RulesEditResponseRulesItemSetConfigRuleAction = "set_config"; export declare const RulesEditResponseRulesItemSetConfigRuleAction: any; export type RulesEditResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const RulesEditResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type RulesEditResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const RulesEditResponseRulesItemSetConfigRuleActionParametersPolish: any; export type RulesEditResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const RulesEditResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type RulesEditResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const RulesEditResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type RulesEditResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const RulesEditResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type RulesEditResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const RulesEditResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface RulesEditResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: RulesEditResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: RulesEditResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: RulesEditResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: RulesEditResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: RulesEditResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const RulesEditResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemSetConfigRule: S.Schema; export type RulesEditResponseRulesItemSkipRuleAction = "skip"; export declare const RulesEditResponseRulesItemSkipRuleAction: any; export type RulesEditResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const RulesEditResponseRulesItemSkipRuleActionParametersPhase: any; export type RulesEditResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const RulesEditResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type RulesEditResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const RulesEditResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type RulesEditResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const RulesEditResponseRulesItemSkipRuleActionParametersProductsItem: any; export type RulesEditResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const RulesEditResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type RulesEditResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const RulesEditResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type RulesEditResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: RulesEditResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const RulesEditResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type RulesEditResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const RulesEditResponseRulesItemSkipRuleActionParametersRuleset: any; export type RulesEditResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const RulesEditResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface RulesEditResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: RulesEditResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: RulesEditResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: RulesEditResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: RulesEditResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: RulesEditResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: RulesEditResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const RulesEditResponseRulesItemSkipRuleActionParameters: S.Schema; export type RulesEditResponseRulesItemSkipRuleCategoriesList = Array; export declare const RulesEditResponseRulesItemSkipRuleCategoriesList: S.Schema; export type RulesEditResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemSkipRuleRatelimit: S.Schema; export interface RulesEditResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesEditResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemSkipRule: S.Schema; export type RulesEditResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const RulesEditResponseRulesItemTransformResponseHTMLAction: any; export type RulesEditResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const RulesEditResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type RulesEditResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const RulesEditResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type RulesEditResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const RulesEditResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type RulesEditResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const RulesEditResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface RulesEditResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: RulesEditResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const RulesEditResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface RulesEditResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: RulesEditResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: RulesEditResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: RulesEditResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const RulesEditResponseRulesItemTransformResponseHTML: S.Schema; export type RulesEditResponseRulesItem = RulesEditResponseRulesItemBlockRule | RulesEditResponseRulesItemChallenge | RulesEditResponseRulesItemCompressResponseRule | RulesEditResponseRulesItemDDoSDynamicRule | RulesEditResponseRulesItemExecuteRule | RulesEditResponseRulesItemForceConnectionCloseRule | RulesEditResponseRulesItemJSChallenge | RulesEditResponseRulesItemLogRule | RulesEditResponseRulesItemLogCustomFieldRule | RulesEditResponseRulesItemManagedChallengeRule | RulesEditResponseRulesItemRedirectRule | RulesEditResponseRulesItemRewriteRule | RulesEditResponseRulesItemRouteRule | RulesEditResponseRulesItemScoreRule | RulesEditResponseRulesItemServeErrorRule | RulesEditResponseRulesItemSetCacheControl | RulesEditResponseRulesItemSetCacheSettingsRule | RulesEditResponseRulesItemSetCacheTags | RulesEditResponseRulesItemSetConfigRule | RulesEditResponseRulesItemSkipRule | RulesEditResponseRulesItemTransformResponseHTML; export declare const RulesEditResponseRulesItem: any; export type RulesEditResponseRulesList = Array; export declare const RulesEditResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchRuleResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: RulesEditResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: RulesEditResponsePhase; /** The list of rules in the ruleset. */ rules: RulesEditResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const PatchRuleResponse: S.Schema; export interface PatchRuleForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** The unique ID of the rule. */ ruleId: string; body: RulesEditRequestBody; } export declare const PatchRuleForZoneRequest: S.Schema; export type PhasesUpdateRequestRulesItemBlockRuleAction = "block"; export declare const PhasesUpdateRequestRulesItemBlockRuleAction: any; export type PhasesUpdateRequestRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const PhasesUpdateRequestRulesItemBlockRuleActionParametersResponse: S.Schema; export type PhasesUpdateRequestRulesItemBlockRuleActionParameters = CreateRequestRulesItemBlockRuleActionParameters; export declare const PhasesUpdateRequestRulesItemBlockRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemBlockRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemBlockRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const PhasesUpdateRequestRulesItemBlockRuleLogging: S.Schema; export type PhasesUpdateRequestRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemBlockRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemBlockRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemBlockRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemBlockRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemBlockRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemBlockRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemBlockRule: S.Schema; export type PhasesUpdateRequestRulesItemChallengeAction = "challenge"; export declare const PhasesUpdateRequestRulesItemChallengeAction: any; export type PhasesUpdateRequestRulesItemChallengeCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemChallengeCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemChallengeExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemChallengeRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemChallenge { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemChallengeAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemChallengeCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemChallengeRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemChallenge: S.Schema; export type PhasesUpdateRequestRulesItemCompressResponseRuleAction = "compress_response"; export declare const PhasesUpdateRequestRulesItemCompressResponseRuleAction: any; export type PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | (string & {}); } export declare const PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface PhasesUpdateRequestRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: PhasesUpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const PhasesUpdateRequestRulesItemCompressResponseRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemCompressResponseRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemCompressResponseRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemCompressResponseRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemCompressResponseRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemCompressResponseRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemCompressResponseRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemCompressResponseRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemCompressResponseRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemCompressResponseRule: S.Schema; export type PhasesUpdateRequestRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const PhasesUpdateRequestRulesItemDDoSDynamicRuleAction: any; export type PhasesUpdateRequestRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemDDoSDynamicRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemDDoSDynamicRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemDDoSDynamicRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemDDoSDynamicRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemDDoSDynamicRule: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleAction = "execute"; export declare const PhasesUpdateRequestRulesItemExecuteRuleAction: any; export type PhasesUpdateRequestRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string; /** Whether to enable execution of rules in the category. */ enabled?: boolean; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | (string & {}); } export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string; /** Whether to enable execution of the rule. */ enabled?: boolean; /** The score threshold to use for the rule. */ scoreThreshold?: number; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | (string & {}); } export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesList; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | (string & {}); } export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface PhasesUpdateRequestRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; /** A set of overrides to apply to the target ruleset. */ overrides?: PhasesUpdateRequestRulesItemExecuteRuleActionParametersOverrides; } export declare const PhasesUpdateRequestRulesItemExecuteRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemExecuteRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemExecuteRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemExecuteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemExecuteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemExecuteRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemExecuteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemExecuteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemExecuteRule: S.Schema; export type PhasesUpdateRequestRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const PhasesUpdateRequestRulesItemForceConnectionCloseRuleAction: any; export type PhasesUpdateRequestRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemForceConnectionCloseRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemForceConnectionCloseRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemForceConnectionCloseRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemForceConnectionCloseRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemForceConnectionCloseRule: S.Schema; export type PhasesUpdateRequestRulesItemJSChallengeAction = "js_challenge"; export declare const PhasesUpdateRequestRulesItemJSChallengeAction: any; export type PhasesUpdateRequestRulesItemJSChallengeCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemJSChallengeCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemJSChallengeRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemJSChallenge { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemJSChallengeAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemJSChallengeCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemJSChallengeRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemJSChallenge: S.Schema; export type PhasesUpdateRequestRulesItemLogRuleAction = "log"; export declare const PhasesUpdateRequestRulesItemLogRuleAction: any; export type PhasesUpdateRequestRulesItemLogRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemLogRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemLogRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemLogRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemLogRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemLogRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemLogRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemLogRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemLogRule: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleAction: any; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList; /** The raw response fields to log. */ rawResponseFields?: PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList; /** The raw request fields to log. */ requestFields?: PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList; /** The transformed response fields to log. */ responseFields?: PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList; /** The transformed request fields to log. */ transformedRequestFields?: PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList; } export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemLogCustomFieldRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemLogCustomFieldRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemLogCustomFieldRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemLogCustomFieldRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemLogCustomFieldRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemLogCustomFieldRule: S.Schema; export type PhasesUpdateRequestRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const PhasesUpdateRequestRulesItemManagedChallengeRuleAction: any; export type PhasesUpdateRequestRulesItemManagedChallengeRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemManagedChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemManagedChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemManagedChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemManagedChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemManagedChallengeRule: S.Schema; export type PhasesUpdateRequestRulesItemRedirectRuleAction = "redirect"; export declare const PhasesUpdateRequestRulesItemRedirectRuleAction: any; export type PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromList: S.Schema; export type PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl = CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean; /** The status code to use for the redirect. */ statusCode?: PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode | (number & {}); } export declare const PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface PhasesUpdateRequestRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; /** A redirect based on the request properties. */ fromValue?: PhasesUpdateRequestRulesItemRedirectRuleActionParametersFromValue; } export declare const PhasesUpdateRequestRulesItemRedirectRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemRedirectRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemRedirectRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemRedirectRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemRedirectRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemRedirectRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemRedirectRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemRedirectRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemRedirectRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemRedirectRule: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleAction = "rewrite"; export declare const PhasesUpdateRequestRulesItemRewriteRuleAction: any; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeaders = PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeaders: any; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIPathPath = CreateRequestRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIPath = CreateRequestRulesItemRewriteRuleActionParametersUriURIPath; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery = CreateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIQuery = CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleActionParametersUri = CreateRequestRulesItemRewriteRuleActionParametersUriURIPath | CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParametersUri: any; export interface PhasesUpdateRequestRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: PhasesUpdateRequestRulesItemRewriteRuleActionParametersHeaders; /** A URI path rewrite. */ uri?: PhasesUpdateRequestRulesItemRewriteRuleActionParametersUri; } export declare const PhasesUpdateRequestRulesItemRewriteRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemRewriteRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemRewriteRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemRewriteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemRewriteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemRewriteRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemRewriteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemRewriteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemRewriteRule: S.Schema; export type PhasesUpdateRequestRulesItemRouteRuleAction = "route"; export declare const PhasesUpdateRequestRulesItemRouteRuleAction: any; export type PhasesUpdateRequestRulesItemRouteRuleActionParametersOrigin = CreateRequestRulesItemRouteRuleActionParametersOrigin; export declare const PhasesUpdateRequestRulesItemRouteRuleActionParametersOrigin: S.Schema; export type PhasesUpdateRequestRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const PhasesUpdateRequestRulesItemRouteRuleActionParametersSni: S.Schema; export type PhasesUpdateRequestRulesItemRouteRuleActionParameters = CreateRequestRulesItemRouteRuleActionParameters; export declare const PhasesUpdateRequestRulesItemRouteRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemRouteRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemRouteRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemRouteRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemRouteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemRouteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemRouteRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemRouteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemRouteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemRouteRule: S.Schema; export type PhasesUpdateRequestRulesItemScoreRuleAction = "score"; export declare const PhasesUpdateRequestRulesItemScoreRuleAction: any; export type PhasesUpdateRequestRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const PhasesUpdateRequestRulesItemScoreRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemScoreRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemScoreRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemScoreRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemScoreRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemScoreRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemScoreRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemScoreRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemScoreRule: S.Schema; export type PhasesUpdateRequestRulesItemServeErrorRuleAction = "serve_error"; export declare const PhasesUpdateRequestRulesItemServeErrorRuleAction: any; export type PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType | (string & {}); /** The status code to use for the error. */ statusCode?: number; } export declare const PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | (string & {}); /** The status code to use for the error. */ statusCode?: number; } export declare const PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type PhasesUpdateRequestRulesItemServeErrorRuleActionParameters = PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContent | PhasesUpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const PhasesUpdateRequestRulesItemServeErrorRuleActionParameters: any; export type PhasesUpdateRequestRulesItemServeErrorRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemServeErrorRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemServeErrorRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemServeErrorRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemServeErrorRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemServeErrorRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemServeErrorRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemServeErrorRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemServeErrorRule: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlAction = "set_cache_control"; export declare const PhasesUpdateRequestRulesItemSetCacheControlAction: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutable = PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutable: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAge = PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAge: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidate = PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidate: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstand = PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstand: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCache = PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCache: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStore = PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStore: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransform = PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransform: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivate = PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivate: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidate = PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublic = PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublic: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxage = PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxage: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfError = PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfError: any; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate = PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface PhasesUpdateRequestRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersImmutable; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMaxAge; /** A cache-control directive configuration. */ mustRevalidate?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustRevalidate; /** A cache-control directive configuration. */ mustUnderstand?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersMustUnderstand; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoCache; /** A cache-control directive configuration. */ noStore?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoStore; /** A cache-control directive configuration. */ noTransform?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersNoTransform; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPrivate; /** A cache-control directive configuration. */ proxyRevalidate?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidate; /** A cache-control directive configuration. */ public?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersPublic; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersSMaxage; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleIfError; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: PhasesUpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate; } export declare const PhasesUpdateRequestRulesItemSetCacheControlActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheControlCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemSetCacheControlRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheControl { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemSetCacheControlAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemSetCacheControlActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemSetCacheControlCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemSetCacheControlRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemSetCacheControl: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleAction: any; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode | (string & {}); /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList; /** A list of cookies to include in the cache key. */ include?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean; /** A list of headers to include in the cache key. */ include?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean; /** A list of query string parameters to exclude from the cache key. */ list?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean; /** A list of query string parameters to include in the cache key. */ list?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude; /** Which query string parameters to include in the cache key. */ include?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie; /** Which headers to include in the cache key. */ header?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader; /** How to use the host in the cache key. */ host?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString; /** How to use characteristics of the request user agent in the cache key. */ user?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean; /** Which components of the request are included or excluded from the cache key. */ customKey?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve = CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode | (string & {}); /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale = CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction | (string & {}); } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction | (string & {}); /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault; /** A mapping of lowercase request header names to their vary configuration. */ headers?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean; /** When to serve stale content from cache. */ serveStale?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParametersVary; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheSettingsRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemSetCacheSettingsRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemSetCacheSettingsRule: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsAction: any; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation | (string & {}); } export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation | (string & {}); } export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation | (string & {}); } export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsActionParameters = PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues | PhasesUpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | PhasesUpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues | PhasesUpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const PhasesUpdateRequestRulesItemSetCacheTagsActionParameters: any; export type PhasesUpdateRequestRulesItemSetCacheTagsCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheTagsCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemSetCacheTagsRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemSetCacheTags { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemSetCacheTagsAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemSetCacheTagsActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemSetCacheTagsCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemSetCacheTagsRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemSetCacheTags: S.Schema; export type PhasesUpdateRequestRulesItemSetConfigRuleAction = "set_config"; export declare const PhasesUpdateRequestRulesItemSetConfigRuleAction: any; export type PhasesUpdateRequestRulesItemSetConfigRuleActionParametersAutominify = CreateRequestRulesItemSetConfigRuleActionParametersAutominify; export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type PhasesUpdateRequestRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParametersPolish: any; export type PhasesUpdateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type PhasesUpdateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type PhasesUpdateRequestRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type PhasesUpdateRequestRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParametersSsl: any; export interface PhasesUpdateRequestRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean; /** Which file extensions to minify automatically. */ autominify?: CreateRequestRulesItemSetConfigRuleActionParametersAutominify; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean; /** Whether to disable Zaraz. */ disableZaraz?: boolean; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean; /** Whether to enable Mirage. */ mirage?: boolean; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean; /** The Polish level to configure. */ polish?: PhasesUpdateRequestRulesItemSetConfigRuleActionParametersPolish | (string & {}); /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean; /** The request body buffering mode. */ requestBodyBuffering?: PhasesUpdateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering | (string & {}); /** The response body buffering mode. */ responseBodyBuffering?: PhasesUpdateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering | (string & {}); /** Whether to enable Rocket Loader. */ rocketLoader?: boolean; /** The Security Level to configure. */ securityLevel?: PhasesUpdateRequestRulesItemSetConfigRuleActionParametersSecurityLevel | (string & {}); /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean; /** The SSL level to configure. */ ssl?: PhasesUpdateRequestRulesItemSetConfigRuleActionParametersSsl | (string & {}); /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean; } export declare const PhasesUpdateRequestRulesItemSetConfigRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemSetConfigRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemSetConfigRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemSetConfigRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemSetConfigRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemSetConfigRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemSetConfigRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemSetConfigRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemSetConfigRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemSetConfigRule: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleAction = "skip"; export declare const PhasesUpdateRequestRulesItemSkipRuleAction: any; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersPhase = "current"; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersPhase: any; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersPhasesItem: any; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersPhasesList = Array; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersProductsItem: any; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersProductsList = Array; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersProductsList: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesMap = { [key: string]: PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersRuleset = "current"; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersRuleset: any; export type PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface PhasesUpdateRequestRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: PhasesUpdateRequestRulesItemSkipRuleActionParametersPhase | (string & {}); /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: PhasesUpdateRequestRulesItemSkipRuleActionParametersPhasesList; /** A list of legacy security products to skip the execution of. */ products?: PhasesUpdateRequestRulesItemSkipRuleActionParametersProductsList; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesMap; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: PhasesUpdateRequestRulesItemSkipRuleActionParametersRuleset | (string & {}); /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: PhasesUpdateRequestRulesItemSkipRuleActionParametersRulesetsList; } export declare const PhasesUpdateRequestRulesItemSkipRuleActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemSkipRuleCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemSkipRuleRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemSkipRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemSkipRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateRequestRulesItemSkipRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemSkipRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemSkipRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemSkipRule: S.Schema; export type PhasesUpdateRequestRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const PhasesUpdateRequestRulesItemTransformResponseHTMLAction: any; export type PhasesUpdateRequestRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const PhasesUpdateRequestRulesItemTransformResponseHTMLActionParameters: S.Schema; export type PhasesUpdateRequestRulesItemTransformResponseHTMLCategoriesList = Array; export declare const PhasesUpdateRequestRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type PhasesUpdateRequestRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateRequestRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type PhasesUpdateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const PhasesUpdateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateRequestRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const PhasesUpdateRequestRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface PhasesUpdateRequestRulesItemTransformResponseHTML { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: PhasesUpdateRequestRulesItemTransformResponseHTMLAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; /** The categories of the rule. */ categories?: PhasesUpdateRequestRulesItemTransformResponseHTMLCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateRequestRulesItemTransformResponseHTMLRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const PhasesUpdateRequestRulesItemTransformResponseHTML: S.Schema; export type PhasesUpdateRequestRulesItem = PhasesUpdateRequestRulesItemBlockRule | PhasesUpdateRequestRulesItemChallenge | PhasesUpdateRequestRulesItemCompressResponseRule | PhasesUpdateRequestRulesItemDDoSDynamicRule | PhasesUpdateRequestRulesItemExecuteRule | PhasesUpdateRequestRulesItemForceConnectionCloseRule | PhasesUpdateRequestRulesItemJSChallenge | PhasesUpdateRequestRulesItemLogRule | PhasesUpdateRequestRulesItemLogCustomFieldRule | PhasesUpdateRequestRulesItemManagedChallengeRule | PhasesUpdateRequestRulesItemRedirectRule | PhasesUpdateRequestRulesItemRewriteRule | PhasesUpdateRequestRulesItemRouteRule | PhasesUpdateRequestRulesItemScoreRule | PhasesUpdateRequestRulesItemServeErrorRule | PhasesUpdateRequestRulesItemSetCacheControl | PhasesUpdateRequestRulesItemSetCacheSettingsRule | PhasesUpdateRequestRulesItemSetCacheTags | PhasesUpdateRequestRulesItemSetConfigRule | PhasesUpdateRequestRulesItemSkipRule | PhasesUpdateRequestRulesItemTransformResponseHTML; export declare const PhasesUpdateRequestRulesItem: any; export type PhasesUpdateRequestRulesList = Array; export declare const PhasesUpdateRequestRulesList: S.Schema; export interface PutPhasForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The phase of the ruleset. */ rulesetPhase: string; /** An informative description of the ruleset. */ description?: string; /** The human-readable name of the ruleset. */ name?: string; /** The list of rules in the ruleset. */ rules?: PhasesUpdateRequestRulesList; } export declare const PutPhasForAccountRequest: S.Schema; export type PhasesUpdateResponseKind = "managed" | "custom" | "root" | "zone"; export declare const PhasesUpdateResponseKind: any; export type PhasesUpdateResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesUpdateResponsePhase: any; export type PhasesUpdateResponseRulesItemBlockRuleAction = "block"; export declare const PhasesUpdateResponseRulesItemBlockRuleAction: any; export type PhasesUpdateResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const PhasesUpdateResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type PhasesUpdateResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const PhasesUpdateResponseRulesItemBlockRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemBlockRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemBlockRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const PhasesUpdateResponseRulesItemBlockRuleLogging: S.Schema; export type PhasesUpdateResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemBlockRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemBlockRule: S.Schema; export type PhasesUpdateResponseRulesItemChallengeAction = "challenge"; export declare const PhasesUpdateResponseRulesItemChallengeAction: any; export type PhasesUpdateResponseRulesItemChallengeCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemChallengeCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemChallengeRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemChallenge: S.Schema; export type PhasesUpdateResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const PhasesUpdateResponseRulesItemCompressResponseRuleAction: any; export type PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface PhasesUpdateResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: PhasesUpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const PhasesUpdateResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemCompressResponseRule: S.Schema; export type PhasesUpdateResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const PhasesUpdateResponseRulesItemDDoSDynamicRuleAction: any; export type PhasesUpdateResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemDDoSDynamicRule: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleAction = "execute"; export declare const PhasesUpdateResponseRulesItemExecuteRuleAction: any; export type PhasesUpdateResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface PhasesUpdateResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: PhasesUpdateResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const PhasesUpdateResponseRulesItemExecuteRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemExecuteRule: S.Schema; export type PhasesUpdateResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const PhasesUpdateResponseRulesItemForceConnectionCloseRuleAction: any; export type PhasesUpdateResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemForceConnectionCloseRule: S.Schema; export type PhasesUpdateResponseRulesItemJSChallengeAction = "js_challenge"; export declare const PhasesUpdateResponseRulesItemJSChallengeAction: any; export type PhasesUpdateResponseRulesItemJSChallengeCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemJSChallengeCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemJSChallengeRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemJSChallenge: S.Schema; export type PhasesUpdateResponseRulesItemLogRuleAction = "log"; export declare const PhasesUpdateResponseRulesItemLogRuleAction: any; export type PhasesUpdateResponseRulesItemLogRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemLogRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemLogRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemLogRule: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleAction: any; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemLogCustomFieldRule: S.Schema; export type PhasesUpdateResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const PhasesUpdateResponseRulesItemManagedChallengeRuleAction: any; export type PhasesUpdateResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemManagedChallengeRule: S.Schema; export type PhasesUpdateResponseRulesItemRedirectRuleAction = "redirect"; export declare const PhasesUpdateResponseRulesItemRedirectRuleAction: any; export type PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface PhasesUpdateResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: PhasesUpdateResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const PhasesUpdateResponseRulesItemRedirectRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemRedirectRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemRedirectRule: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleAction = "rewrite"; export declare const PhasesUpdateResponseRulesItemRewriteRuleAction: any; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeaders = PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeaders: any; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParametersUri: any; export interface PhasesUpdateResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: PhasesUpdateResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: PhasesUpdateResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const PhasesUpdateResponseRulesItemRewriteRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemRewriteRule: S.Schema; export type PhasesUpdateResponseRulesItemRouteRuleAction = "route"; export declare const PhasesUpdateResponseRulesItemRouteRuleAction: any; export type PhasesUpdateResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const PhasesUpdateResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type PhasesUpdateResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const PhasesUpdateResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type PhasesUpdateResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const PhasesUpdateResponseRulesItemRouteRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemRouteRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemRouteRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemRouteRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemRouteRule: S.Schema; export type PhasesUpdateResponseRulesItemScoreRuleAction = "score"; export declare const PhasesUpdateResponseRulesItemScoreRuleAction: any; export type PhasesUpdateResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const PhasesUpdateResponseRulesItemScoreRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemScoreRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemScoreRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemScoreRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemScoreRule: S.Schema; export type PhasesUpdateResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const PhasesUpdateResponseRulesItemServeErrorRuleAction: any; export type PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type PhasesUpdateResponseRulesItemServeErrorRuleActionParameters = PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContent | PhasesUpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const PhasesUpdateResponseRulesItemServeErrorRuleActionParameters: any; export type PhasesUpdateResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemServeErrorRule: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const PhasesUpdateResponseRulesItemSetCacheControlAction: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutable = PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutable: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAge = PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidate = PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstand = PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCache = PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCache: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStore = PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStore: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransform = PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivate = PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivate: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidate = PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublic = PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublic: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxage = PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfError = PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface PhasesUpdateResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: PhasesUpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemSetCacheControl: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleAction: any; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemSetCacheSettingsRule: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsAction: any; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsActionParameters = PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | PhasesUpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | PhasesUpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | PhasesUpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const PhasesUpdateResponseRulesItemSetCacheTagsActionParameters: any; export type PhasesUpdateResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemSetCacheTags: S.Schema; export type PhasesUpdateResponseRulesItemSetConfigRuleAction = "set_config"; export declare const PhasesUpdateResponseRulesItemSetConfigRuleAction: any; export type PhasesUpdateResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type PhasesUpdateResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParametersPolish: any; export type PhasesUpdateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type PhasesUpdateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type PhasesUpdateResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type PhasesUpdateResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface PhasesUpdateResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: PhasesUpdateResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: PhasesUpdateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: PhasesUpdateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: PhasesUpdateResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: PhasesUpdateResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const PhasesUpdateResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemSetConfigRule: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleAction = "skip"; export declare const PhasesUpdateResponseRulesItemSkipRuleAction: any; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersPhase: any; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersProductsItem: any; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersRuleset: any; export type PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface PhasesUpdateResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: PhasesUpdateResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: PhasesUpdateResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: PhasesUpdateResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: PhasesUpdateResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: PhasesUpdateResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const PhasesUpdateResponseRulesItemSkipRuleActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemSkipRuleCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemSkipRuleRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: PhasesUpdateResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemSkipRule: S.Schema; export type PhasesUpdateResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const PhasesUpdateResponseRulesItemTransformResponseHTMLAction: any; export type PhasesUpdateResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const PhasesUpdateResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type PhasesUpdateResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const PhasesUpdateResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type PhasesUpdateResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const PhasesUpdateResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type PhasesUpdateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const PhasesUpdateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface PhasesUpdateResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: PhasesUpdateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const PhasesUpdateResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface PhasesUpdateResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: PhasesUpdateResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: PhasesUpdateResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: PhasesUpdateResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const PhasesUpdateResponseRulesItemTransformResponseHTML: S.Schema; export type PhasesUpdateResponseRulesItem = PhasesUpdateResponseRulesItemBlockRule | PhasesUpdateResponseRulesItemChallenge | PhasesUpdateResponseRulesItemCompressResponseRule | PhasesUpdateResponseRulesItemDDoSDynamicRule | PhasesUpdateResponseRulesItemExecuteRule | PhasesUpdateResponseRulesItemForceConnectionCloseRule | PhasesUpdateResponseRulesItemJSChallenge | PhasesUpdateResponseRulesItemLogRule | PhasesUpdateResponseRulesItemLogCustomFieldRule | PhasesUpdateResponseRulesItemManagedChallengeRule | PhasesUpdateResponseRulesItemRedirectRule | PhasesUpdateResponseRulesItemRewriteRule | PhasesUpdateResponseRulesItemRouteRule | PhasesUpdateResponseRulesItemScoreRule | PhasesUpdateResponseRulesItemServeErrorRule | PhasesUpdateResponseRulesItemSetCacheControl | PhasesUpdateResponseRulesItemSetCacheSettingsRule | PhasesUpdateResponseRulesItemSetCacheTags | PhasesUpdateResponseRulesItemSetConfigRule | PhasesUpdateResponseRulesItemSkipRule | PhasesUpdateResponseRulesItemTransformResponseHTML; export declare const PhasesUpdateResponseRulesItem: any; export type PhasesUpdateResponseRulesList = Array; export declare const PhasesUpdateResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutPhasResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: PhasesUpdateResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: PhasesUpdateResponsePhase; /** The list of rules in the ruleset. */ rules: PhasesUpdateResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const PutPhasResponse: S.Schema; export interface PutPhasForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The phase of the ruleset. */ rulesetPhase: string; /** An informative description of the ruleset. */ description?: string; /** The human-readable name of the ruleset. */ name?: string; /** The list of rules in the ruleset. */ rules?: PhasesUpdateRequestRulesList; } export declare const PutPhasForZoneRequest: S.Schema; export type UpdateRequestKind = "managed" | "custom" | "root" | "zone"; export declare const UpdateRequestKind: any; export type UpdateRequestPhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const UpdateRequestPhase: any; export type UpdateRequestRulesItemBlockRuleAction = "block"; export declare const UpdateRequestRulesItemBlockRuleAction: any; export type UpdateRequestRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const UpdateRequestRulesItemBlockRuleActionParametersResponse: S.Schema; export type UpdateRequestRulesItemBlockRuleActionParameters = CreateRequestRulesItemBlockRuleActionParameters; export declare const UpdateRequestRulesItemBlockRuleActionParameters: S.Schema; export type UpdateRequestRulesItemBlockRuleCategoriesList = Array; export declare const UpdateRequestRulesItemBlockRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const UpdateRequestRulesItemBlockRuleLogging: S.Schema; export type UpdateRequestRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemBlockRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemBlockRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemBlockRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemBlockRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemBlockRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemBlockRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemBlockRule: S.Schema; export type UpdateRequestRulesItemChallengeAction = "challenge"; export declare const UpdateRequestRulesItemChallengeAction: any; export type UpdateRequestRulesItemChallengeCategoriesList = Array; export declare const UpdateRequestRulesItemChallengeCategoriesList: S.Schema; export type UpdateRequestRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemChallengeExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemChallengeRatelimit: S.Schema; export interface UpdateRequestRulesItemChallenge { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemChallengeAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: UpdateRequestRulesItemChallengeCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemChallengeRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemChallenge: S.Schema; export type UpdateRequestRulesItemCompressResponseRuleAction = "compress_response"; export declare const UpdateRequestRulesItemCompressResponseRuleAction: any; export type UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | (string & {}); } export declare const UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface UpdateRequestRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: UpdateRequestRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const UpdateRequestRulesItemCompressResponseRuleActionParameters: S.Schema; export type UpdateRequestRulesItemCompressResponseRuleCategoriesList = Array; export declare const UpdateRequestRulesItemCompressResponseRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemCompressResponseRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemCompressResponseRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemCompressResponseRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemCompressResponseRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemCompressResponseRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemCompressResponseRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemCompressResponseRule: S.Schema; export type UpdateRequestRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const UpdateRequestRulesItemDDoSDynamicRuleAction: any; export type UpdateRequestRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const UpdateRequestRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemDDoSDynamicRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemDDoSDynamicRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: UpdateRequestRulesItemDDoSDynamicRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemDDoSDynamicRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemDDoSDynamicRule: S.Schema; export type UpdateRequestRulesItemExecuteRuleAction = "execute"; export declare const UpdateRequestRulesItemExecuteRuleAction: any; export type UpdateRequestRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const UpdateRequestRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string; /** Whether to enable execution of rules in the category. */ enabled?: boolean; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | (string & {}); } export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string; /** Whether to enable execution of the rule. */ enabled?: boolean; /** The score threshold to use for the rule. */ scoreThreshold?: number; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | (string & {}); } export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type UpdateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface UpdateRequestRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: UpdateRequestRulesItemExecuteRuleActionParametersOverridesCategoriesList; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: UpdateRequestRulesItemExecuteRuleActionParametersOverridesRulesList; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: UpdateRequestRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | (string & {}); } export declare const UpdateRequestRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface UpdateRequestRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; /** A set of overrides to apply to the target ruleset. */ overrides?: UpdateRequestRulesItemExecuteRuleActionParametersOverrides; } export declare const UpdateRequestRulesItemExecuteRuleActionParameters: S.Schema; export type UpdateRequestRulesItemExecuteRuleCategoriesList = Array; export declare const UpdateRequestRulesItemExecuteRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemExecuteRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemExecuteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemExecuteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemExecuteRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemExecuteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemExecuteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemExecuteRule: S.Schema; export type UpdateRequestRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const UpdateRequestRulesItemForceConnectionCloseRuleAction: any; export type UpdateRequestRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const UpdateRequestRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemForceConnectionCloseRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemForceConnectionCloseRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: UpdateRequestRulesItemForceConnectionCloseRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemForceConnectionCloseRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemForceConnectionCloseRule: S.Schema; export type UpdateRequestRulesItemJSChallengeAction = "js_challenge"; export declare const UpdateRequestRulesItemJSChallengeAction: any; export type UpdateRequestRulesItemJSChallengeCategoriesList = Array; export declare const UpdateRequestRulesItemJSChallengeCategoriesList: S.Schema; export type UpdateRequestRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemJSChallengeRatelimit: S.Schema; export interface UpdateRequestRulesItemJSChallenge { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemJSChallengeAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: UpdateRequestRulesItemJSChallengeCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemJSChallengeRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemJSChallenge: S.Schema; export type UpdateRequestRulesItemLogRuleAction = "log"; export declare const UpdateRequestRulesItemLogRuleAction: any; export type UpdateRequestRulesItemLogRuleCategoriesList = Array; export declare const UpdateRequestRulesItemLogRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemLogRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemLogRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemLogRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemLogRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: UpdateRequestRulesItemLogRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemLogRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemLogRule: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const UpdateRequestRulesItemLogCustomFieldRuleAction: any; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = CreateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface UpdateRequestRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: UpdateRequestRulesItemLogCustomFieldRuleActionParametersCookieFieldsList; /** The raw response fields to log. */ rawResponseFields?: UpdateRequestRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList; /** The raw request fields to log. */ requestFields?: UpdateRequestRulesItemLogCustomFieldRuleActionParametersRequestFieldsList; /** The transformed response fields to log. */ responseFields?: UpdateRequestRulesItemLogCustomFieldRuleActionParametersResponseFieldsList; /** The transformed request fields to log. */ transformedRequestFields?: UpdateRequestRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList; } export declare const UpdateRequestRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemLogCustomFieldRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemLogCustomFieldRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemLogCustomFieldRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemLogCustomFieldRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemLogCustomFieldRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemLogCustomFieldRule: S.Schema; export type UpdateRequestRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const UpdateRequestRulesItemManagedChallengeRuleAction: any; export type UpdateRequestRulesItemManagedChallengeRuleCategoriesList = Array; export declare const UpdateRequestRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemManagedChallengeRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemManagedChallengeRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: unknown; /** The categories of the rule. */ categories?: UpdateRequestRulesItemManagedChallengeRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemManagedChallengeRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemManagedChallengeRule: S.Schema; export type UpdateRequestRulesItemRedirectRuleAction = "redirect"; export declare const UpdateRequestRulesItemRedirectRuleAction: any; export type UpdateRequestRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const UpdateRequestRulesItemRedirectRuleActionParametersFromList: S.Schema; export type UpdateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl = CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const UpdateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type UpdateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const UpdateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface UpdateRequestRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: CreateRequestRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean; /** The status code to use for the redirect. */ statusCode?: UpdateRequestRulesItemRedirectRuleActionParametersFromValueStatusCode | (number & {}); } export declare const UpdateRequestRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface UpdateRequestRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; /** A redirect based on the request properties. */ fromValue?: UpdateRequestRulesItemRedirectRuleActionParametersFromValue; } export declare const UpdateRequestRulesItemRedirectRuleActionParameters: S.Schema; export type UpdateRequestRulesItemRedirectRuleCategoriesList = Array; export declare const UpdateRequestRulesItemRedirectRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemRedirectRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemRedirectRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemRedirectRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemRedirectRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemRedirectRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemRedirectRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemRedirectRule: S.Schema; export type UpdateRequestRulesItemRewriteRuleAction = "rewrite"; export declare const UpdateRequestRulesItemRewriteRuleAction: any; export type UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface UpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: UpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersHeaders = UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | UpdateRequestRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | UpdateRequestRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | UpdateRequestRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const UpdateRequestRulesItemRewriteRuleActionParametersHeaders: any; export type UpdateRequestRulesItemRewriteRuleActionParametersUriURIPathPath = CreateRequestRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const UpdateRequestRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersUriURIPath = CreateRequestRulesItemRewriteRuleActionParametersUriURIPath; export declare const UpdateRequestRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery = CreateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const UpdateRequestRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersUriURIQuery = CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery; export declare const UpdateRequestRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type UpdateRequestRulesItemRewriteRuleActionParametersUri = CreateRequestRulesItemRewriteRuleActionParametersUriURIPath | CreateRequestRulesItemRewriteRuleActionParametersUriURIQuery; export declare const UpdateRequestRulesItemRewriteRuleActionParametersUri: any; export interface UpdateRequestRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: UpdateRequestRulesItemRewriteRuleActionParametersHeaders; /** A URI path rewrite. */ uri?: UpdateRequestRulesItemRewriteRuleActionParametersUri; } export declare const UpdateRequestRulesItemRewriteRuleActionParameters: S.Schema; export type UpdateRequestRulesItemRewriteRuleCategoriesList = Array; export declare const UpdateRequestRulesItemRewriteRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemRewriteRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemRewriteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemRewriteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemRewriteRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemRewriteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemRewriteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemRewriteRule: S.Schema; export type UpdateRequestRulesItemRouteRuleAction = "route"; export declare const UpdateRequestRulesItemRouteRuleAction: any; export type UpdateRequestRulesItemRouteRuleActionParametersOrigin = CreateRequestRulesItemRouteRuleActionParametersOrigin; export declare const UpdateRequestRulesItemRouteRuleActionParametersOrigin: S.Schema; export type UpdateRequestRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const UpdateRequestRulesItemRouteRuleActionParametersSni: S.Schema; export type UpdateRequestRulesItemRouteRuleActionParameters = CreateRequestRulesItemRouteRuleActionParameters; export declare const UpdateRequestRulesItemRouteRuleActionParameters: S.Schema; export type UpdateRequestRulesItemRouteRuleCategoriesList = Array; export declare const UpdateRequestRulesItemRouteRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemRouteRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemRouteRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemRouteRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: CreateRequestRulesItemRouteRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemRouteRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemRouteRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemRouteRule: S.Schema; export type UpdateRequestRulesItemScoreRuleAction = "score"; export declare const UpdateRequestRulesItemScoreRuleAction: any; export type UpdateRequestRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const UpdateRequestRulesItemScoreRuleActionParameters: S.Schema; export type UpdateRequestRulesItemScoreRuleCategoriesList = Array; export declare const UpdateRequestRulesItemScoreRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemScoreRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemScoreRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemScoreRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemScoreRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemScoreRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemScoreRule: S.Schema; export type UpdateRequestRulesItemServeErrorRuleAction = "serve_error"; export declare const UpdateRequestRulesItemServeErrorRuleAction: any; export type UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContentContentType | (string & {}); /** The status code to use for the error. */ statusCode?: number; } export declare const UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | (string & {}); /** The status code to use for the error. */ statusCode?: number; } export declare const UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type UpdateRequestRulesItemServeErrorRuleActionParameters = UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersContent | UpdateRequestRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const UpdateRequestRulesItemServeErrorRuleActionParameters: any; export type UpdateRequestRulesItemServeErrorRuleCategoriesList = Array; export declare const UpdateRequestRulesItemServeErrorRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemServeErrorRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemServeErrorRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemServeErrorRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemServeErrorRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemServeErrorRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemServeErrorRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemServeErrorRule: S.Schema; export type UpdateRequestRulesItemSetCacheControlAction = "set_cache_control"; export declare const UpdateRequestRulesItemSetCacheControlAction: any; export type UpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersImmutable = UpdateRequestRulesItemSetCacheControlActionParametersImmutableSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersImmutable: any; export type UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersMaxAge = UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMaxAge: any; export type UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidate = UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidate: any; export type UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstand = UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstand: any; export type UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersNoCache = UpdateRequestRulesItemSetCacheControlActionParametersNoCacheSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoCache: any; export type UpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersNoStore = UpdateRequestRulesItemSetCacheControlActionParametersNoStoreSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoStore: any; export type UpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersNoTransform = UpdateRequestRulesItemSetCacheControlActionParametersNoTransformSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersNoTransform: any; export type UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersPrivate = UpdateRequestRulesItemSetCacheControlActionParametersPrivateSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPrivate: any; export type UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidate = UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type UpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersPublic = UpdateRequestRulesItemSetCacheControlActionParametersPublicSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersPublic: any; export type UpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersSMaxage = UpdateRequestRulesItemSetCacheControlActionParametersSMaxageSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersSMaxage: any; export type UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersStaleIfError = UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleIfError: any; export type UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation | (string & {}); /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation | (string & {}); /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean; } export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate = UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface UpdateRequestRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: UpdateRequestRulesItemSetCacheControlActionParametersImmutable; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: UpdateRequestRulesItemSetCacheControlActionParametersMaxAge; /** A cache-control directive configuration. */ mustRevalidate?: UpdateRequestRulesItemSetCacheControlActionParametersMustRevalidate; /** A cache-control directive configuration. */ mustUnderstand?: UpdateRequestRulesItemSetCacheControlActionParametersMustUnderstand; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: UpdateRequestRulesItemSetCacheControlActionParametersNoCache; /** A cache-control directive configuration. */ noStore?: UpdateRequestRulesItemSetCacheControlActionParametersNoStore; /** A cache-control directive configuration. */ noTransform?: UpdateRequestRulesItemSetCacheControlActionParametersNoTransform; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: UpdateRequestRulesItemSetCacheControlActionParametersPrivate; /** A cache-control directive configuration. */ proxyRevalidate?: UpdateRequestRulesItemSetCacheControlActionParametersProxyRevalidate; /** A cache-control directive configuration. */ public?: UpdateRequestRulesItemSetCacheControlActionParametersPublic; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: UpdateRequestRulesItemSetCacheControlActionParametersSMaxage; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: UpdateRequestRulesItemSetCacheControlActionParametersStaleIfError; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: UpdateRequestRulesItemSetCacheControlActionParametersStaleWhileRevalidate; } export declare const UpdateRequestRulesItemSetCacheControlActionParameters: S.Schema; export type UpdateRequestRulesItemSetCacheControlCategoriesList = Array; export declare const UpdateRequestRulesItemSetCacheControlCategoriesList: S.Schema; export type UpdateRequestRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemSetCacheControlRatelimit: S.Schema; export interface UpdateRequestRulesItemSetCacheControl { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemSetCacheControlAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemSetCacheControlActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemSetCacheControlCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemSetCacheControlRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemSetCacheControl: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const UpdateRequestRulesItemSetCacheSettingsRuleAction: any; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode | (string & {}); /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList; /** A list of cookies to include in the cache key. */ include?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean; /** A list of headers to include in the cache key. */ include?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean; /** A list of query string parameters to exclude from the cache key. */ list?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean; /** A list of query string parameters to include in the cache key. */ list?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude; /** Which query string parameters to include in the cache key. */ include?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie; /** Which headers to include in the cache key. */ header?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader; /** How to use the host in the cache key. */ host?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString; /** How to use characteristics of the request user agent in the cache key. */ user?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean; /** Which components of the request are included or excluded from the cache key. */ customKey?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve = CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = CreateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode | (string & {}); /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale = CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction | (string & {}); } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction | (string & {}); /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryDefault; /** A mapping of lowercase request header names to their vary configuration. */ headers?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersBrowserTtl; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersCacheKey; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersCacheReserve; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersEdgeTtl; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean; /** When to serve stale content from cache. */ serveStale?: CreateRequestRulesItemSetCacheSettingsRuleActionParametersServeStale; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: UpdateRequestRulesItemSetCacheSettingsRuleActionParametersVary; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemSetCacheSettingsRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemSetCacheSettingsRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemSetCacheSettingsRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemSetCacheSettingsRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemSetCacheSettingsRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemSetCacheSettingsRule: S.Schema; export type UpdateRequestRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const UpdateRequestRulesItemSetCacheTagsAction: any; export type UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation | (string & {}); } export declare const UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation | (string & {}); } export declare const UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation | (string & {}); /** A list of cache tag values. */ values: UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation | (string & {}); } export declare const UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type UpdateRequestRulesItemSetCacheTagsActionParameters = UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsValues | UpdateRequestRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | UpdateRequestRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsValues | UpdateRequestRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const UpdateRequestRulesItemSetCacheTagsActionParameters: any; export type UpdateRequestRulesItemSetCacheTagsCategoriesList = Array; export declare const UpdateRequestRulesItemSetCacheTagsCategoriesList: S.Schema; export type UpdateRequestRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemSetCacheTagsRatelimit: S.Schema; export interface UpdateRequestRulesItemSetCacheTags { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemSetCacheTagsAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemSetCacheTagsActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemSetCacheTagsCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemSetCacheTagsRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemSetCacheTags: S.Schema; export type UpdateRequestRulesItemSetConfigRuleAction = "set_config"; export declare const UpdateRequestRulesItemSetConfigRuleAction: any; export type UpdateRequestRulesItemSetConfigRuleActionParametersAutominify = CreateRequestRulesItemSetConfigRuleActionParametersAutominify; export declare const UpdateRequestRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type UpdateRequestRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const UpdateRequestRulesItemSetConfigRuleActionParametersPolish: any; export type UpdateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const UpdateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type UpdateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const UpdateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type UpdateRequestRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const UpdateRequestRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type UpdateRequestRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const UpdateRequestRulesItemSetConfigRuleActionParametersSsl: any; export interface UpdateRequestRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean; /** Which file extensions to minify automatically. */ autominify?: CreateRequestRulesItemSetConfigRuleActionParametersAutominify; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean; /** Whether to disable Zaraz. */ disableZaraz?: boolean; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean; /** Whether to enable Mirage. */ mirage?: boolean; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean; /** The Polish level to configure. */ polish?: UpdateRequestRulesItemSetConfigRuleActionParametersPolish | (string & {}); /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean; /** The request body buffering mode. */ requestBodyBuffering?: UpdateRequestRulesItemSetConfigRuleActionParametersRequestBodyBuffering | (string & {}); /** The response body buffering mode. */ responseBodyBuffering?: UpdateRequestRulesItemSetConfigRuleActionParametersResponseBodyBuffering | (string & {}); /** Whether to enable Rocket Loader. */ rocketLoader?: boolean; /** The Security Level to configure. */ securityLevel?: UpdateRequestRulesItemSetConfigRuleActionParametersSecurityLevel | (string & {}); /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean; /** The SSL level to configure. */ ssl?: UpdateRequestRulesItemSetConfigRuleActionParametersSsl | (string & {}); /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean; } export declare const UpdateRequestRulesItemSetConfigRuleActionParameters: S.Schema; export type UpdateRequestRulesItemSetConfigRuleCategoriesList = Array; export declare const UpdateRequestRulesItemSetConfigRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemSetConfigRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemSetConfigRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemSetConfigRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemSetConfigRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemSetConfigRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemSetConfigRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemSetConfigRule: S.Schema; export type UpdateRequestRulesItemSkipRuleAction = "skip"; export declare const UpdateRequestRulesItemSkipRuleAction: any; export type UpdateRequestRulesItemSkipRuleActionParametersPhase = "current"; export declare const UpdateRequestRulesItemSkipRuleActionParametersPhase: any; export type UpdateRequestRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const UpdateRequestRulesItemSkipRuleActionParametersPhasesItem: any; export type UpdateRequestRulesItemSkipRuleActionParametersPhasesList = Array; export declare const UpdateRequestRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type UpdateRequestRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const UpdateRequestRulesItemSkipRuleActionParametersProductsItem: any; export type UpdateRequestRulesItemSkipRuleActionParametersProductsList = Array; export declare const UpdateRequestRulesItemSkipRuleActionParametersProductsList: S.Schema; export type UpdateRequestRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const UpdateRequestRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type UpdateRequestRulesItemSkipRuleActionParametersRulesMap = { [key: string]: UpdateRequestRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const UpdateRequestRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type UpdateRequestRulesItemSkipRuleActionParametersRuleset = "current"; export declare const UpdateRequestRulesItemSkipRuleActionParametersRuleset: any; export type UpdateRequestRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const UpdateRequestRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface UpdateRequestRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: UpdateRequestRulesItemSkipRuleActionParametersPhase | (string & {}); /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: UpdateRequestRulesItemSkipRuleActionParametersPhasesList; /** A list of legacy security products to skip the execution of. */ products?: UpdateRequestRulesItemSkipRuleActionParametersProductsList; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: UpdateRequestRulesItemSkipRuleActionParametersRulesMap; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: UpdateRequestRulesItemSkipRuleActionParametersRuleset | (string & {}); /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: UpdateRequestRulesItemSkipRuleActionParametersRulesetsList; } export declare const UpdateRequestRulesItemSkipRuleActionParameters: S.Schema; export type UpdateRequestRulesItemSkipRuleCategoriesList = Array; export declare const UpdateRequestRulesItemSkipRuleCategoriesList: S.Schema; export type UpdateRequestRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemSkipRuleRatelimit: S.Schema; export interface UpdateRequestRulesItemSkipRule { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemSkipRuleAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: UpdateRequestRulesItemSkipRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemSkipRuleCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemSkipRuleRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemSkipRule: S.Schema; export type UpdateRequestRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const UpdateRequestRulesItemTransformResponseHTMLAction: any; export type UpdateRequestRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const UpdateRequestRulesItemTransformResponseHTMLActionParameters: S.Schema; export type UpdateRequestRulesItemTransformResponseHTMLCategoriesList = Array; export declare const UpdateRequestRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type UpdateRequestRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateRequestRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type UpdateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const UpdateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface UpdateRequestRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateRequestRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string; } export declare const UpdateRequestRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface UpdateRequestRulesItemTransformResponseHTML { /** The unique ID of the rule. */ id?: string; /** The action to perform when the rule matches. */ action?: UpdateRequestRulesItemTransformResponseHTMLAction | (string & {}); /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; /** The categories of the rule. */ categories?: UpdateRequestRulesItemTransformResponseHTMLCategoriesList; /** An informative description of the rule. */ description?: string; /** Whether the rule should be executed. */ enabled?: boolean; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; /** The expression defining which traffic will match the rule. */ expression?: string; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateRequestRulesItemTransformResponseHTMLRatelimit; /** The reference of the rule (the rule's ID by default). */ ref?: string; } export declare const UpdateRequestRulesItemTransformResponseHTML: S.Schema; export type UpdateRequestRulesItem = UpdateRequestRulesItemBlockRule | UpdateRequestRulesItemChallenge | UpdateRequestRulesItemCompressResponseRule | UpdateRequestRulesItemDDoSDynamicRule | UpdateRequestRulesItemExecuteRule | UpdateRequestRulesItemForceConnectionCloseRule | UpdateRequestRulesItemJSChallenge | UpdateRequestRulesItemLogRule | UpdateRequestRulesItemLogCustomFieldRule | UpdateRequestRulesItemManagedChallengeRule | UpdateRequestRulesItemRedirectRule | UpdateRequestRulesItemRewriteRule | UpdateRequestRulesItemRouteRule | UpdateRequestRulesItemScoreRule | UpdateRequestRulesItemServeErrorRule | UpdateRequestRulesItemSetCacheControl | UpdateRequestRulesItemSetCacheSettingsRule | UpdateRequestRulesItemSetCacheTags | UpdateRequestRulesItemSetConfigRule | UpdateRequestRulesItemSkipRule | UpdateRequestRulesItemTransformResponseHTML; export declare const UpdateRequestRulesItem: any; export type UpdateRequestRulesList = Array; export declare const UpdateRequestRulesList: S.Schema; export interface UpdateRulesetForAccountRequest { /** The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** An informative description of the ruleset. */ description?: string; /** The kind of the ruleset. */ kind?: UpdateRequestKind | (string & {}); /** The human-readable name of the ruleset. */ name?: string; /** The phase of the ruleset. */ phase?: UpdateRequestPhase | (string & {}); /** The list of rules in the ruleset. */ rules?: UpdateRequestRulesList; } export declare const UpdateRulesetForAccountRequest: S.Schema; export type UpdateResponseKind = "managed" | "custom" | "root" | "zone"; export declare const UpdateResponseKind: any; export type UpdateResponsePhase = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const UpdateResponsePhase: any; export type UpdateResponseRulesItemBlockRuleAction = "block"; export declare const UpdateResponseRulesItemBlockRuleAction: any; export type UpdateResponseRulesItemBlockRuleActionParametersResponse = RulesCreateResponseRulesItemBlockRuleActionParametersResponse; export declare const UpdateResponseRulesItemBlockRuleActionParametersResponse: S.Schema; export type UpdateResponseRulesItemBlockRuleActionParameters = RulesCreateResponseRulesItemBlockRuleActionParameters; export declare const UpdateResponseRulesItemBlockRuleActionParameters: S.Schema; export type UpdateResponseRulesItemBlockRuleCategoriesList = Array; export declare const UpdateResponseRulesItemBlockRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemBlockRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemBlockRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemBlockRuleLogging = RulesCreateRequestBodyChallengeRuleLogging; export declare const UpdateResponseRulesItemBlockRuleLogging: S.Schema; export type UpdateResponseRulesItemBlockRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemBlockRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemBlockRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemBlockRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemBlockRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemBlockRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemBlockRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemBlockRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemBlockRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemBlockRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemBlockRule: S.Schema; export type UpdateResponseRulesItemChallengeAction = "challenge"; export declare const UpdateResponseRulesItemChallengeAction: any; export type UpdateResponseRulesItemChallengeCategoriesList = Array; export declare const UpdateResponseRulesItemChallengeCategoriesList: S.Schema; export type UpdateResponseRulesItemChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemChallengeExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemChallengeRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemChallengeRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemChallengeRatelimit: S.Schema; export interface UpdateResponseRulesItemChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemChallenge: S.Schema; export type UpdateResponseRulesItemCompressResponseRuleAction = "compress_response"; export declare const UpdateResponseRulesItemCompressResponseRuleAction: any; export type UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName = "none" | "auto" | "default" | "gzip" | "brotli" | "zstd"; export declare const UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName: any; export interface UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem { /** Name of the compression algorithm to enable. */ name?: UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItemName | null; } export declare const UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsItem: S.Schema; export type UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList = Array; export declare const UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList: S.Schema; export interface UpdateResponseRulesItemCompressResponseRuleActionParameters { /** Custom order for compression algorithms. */ algorithms: UpdateResponseRulesItemCompressResponseRuleActionParametersAlgorithmsList; } export declare const UpdateResponseRulesItemCompressResponseRuleActionParameters: S.Schema; export type UpdateResponseRulesItemCompressResponseRuleCategoriesList = Array; export declare const UpdateResponseRulesItemCompressResponseRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemCompressResponseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemCompressResponseRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemCompressResponseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemCompressResponseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemCompressResponseRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemCompressResponseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemCompressResponseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemCompressResponseRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemCompressResponseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemCompressResponseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemCompressResponseRule: S.Schema; export type UpdateResponseRulesItemDDoSDynamicRuleAction = "ddos_dynamic"; export declare const UpdateResponseRulesItemDDoSDynamicRuleAction: any; export type UpdateResponseRulesItemDDoSDynamicRuleCategoriesList = Array; export declare const UpdateResponseRulesItemDDoSDynamicRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemDDoSDynamicRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemDDoSDynamicRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemDDoSDynamicRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemDDoSDynamicRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemDDoSDynamicRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemDDoSDynamicRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemDDoSDynamicRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemDDoSDynamicRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemDDoSDynamicRule: S.Schema; export type UpdateResponseRulesItemExecuteRuleAction = "execute"; export declare const UpdateResponseRulesItemExecuteRuleAction: any; export type UpdateResponseRulesItemExecuteRuleActionParametersMatchedData = RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData; export declare const UpdateResponseRulesItemExecuteRuleActionParametersMatchedData: S.Schema; export type UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel: any; export interface UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem { /** The name of the category to override. */ category: string; /** The action to override rules in the category with. */ action?: string | null; /** Whether to enable execution of rules in the category. */ enabled?: boolean | null; /** The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases. */ sensitivityLevel?: UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItemSensitivityLevel | null; } export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesItem: S.Schema; export type UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList = Array; export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList: S.Schema; export type UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel: any; export interface UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem { /** The ID of the rule to override. */ id: string; /** The action to override the rule with. */ action?: string | null; /** Whether to enable execution of the rule. */ enabled?: boolean | null; /** The score threshold to use for the rule. */ scoreThreshold?: number | null; /** The sensitivity level to use for the rule. This option is only applicable for DDoS phases. */ sensitivityLevel?: UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItemSensitivityLevel | null; } export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesItem: S.Schema; export type UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesList = Array; export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesList: S.Schema; export type UpdateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel = "default" | "medium" | "low" | "eoff"; export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel: any; export interface UpdateResponseRulesItemExecuteRuleActionParametersOverrides { /** An action to override all rules with. This option has lower precedence than rule and category overrides. */ action?: string | null; /** A list of category-level overrides. This option has the second-highest precedence after rule-level overrides. */ categories?: UpdateResponseRulesItemExecuteRuleActionParametersOverridesCategoriesList | null; /** Whether to enable execution of all rules. This option has lower precedence than rule and category overrides. */ enabled?: boolean | null; /** A list of rule-level overrides. This option has the highest precedence. */ rules?: UpdateResponseRulesItemExecuteRuleActionParametersOverridesRulesList | null; /** A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases. */ sensitivityLevel?: UpdateResponseRulesItemExecuteRuleActionParametersOverridesSensitivityLevel | null; } export declare const UpdateResponseRulesItemExecuteRuleActionParametersOverrides: S.Schema; export interface UpdateResponseRulesItemExecuteRuleActionParameters { /** The ID of the ruleset to execute. */ id: string; /** The configuration to use for matched data logging. */ matchedData?: RulesCreateResponseRulesItemExecuteRuleActionParametersMatchedData | null; /** A set of overrides to apply to the target ruleset. */ overrides?: UpdateResponseRulesItemExecuteRuleActionParametersOverrides | null; } export declare const UpdateResponseRulesItemExecuteRuleActionParameters: S.Schema; export type UpdateResponseRulesItemExecuteRuleCategoriesList = Array; export declare const UpdateResponseRulesItemExecuteRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemExecuteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemExecuteRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemExecuteRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemExecuteRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemExecuteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemExecuteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemExecuteRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemExecuteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemExecuteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemExecuteRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemExecuteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemExecuteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemExecuteRule: S.Schema; export type UpdateResponseRulesItemForceConnectionCloseRuleAction = "force_connection_close"; export declare const UpdateResponseRulesItemForceConnectionCloseRuleAction: any; export type UpdateResponseRulesItemForceConnectionCloseRuleCategoriesList = Array; export declare const UpdateResponseRulesItemForceConnectionCloseRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemForceConnectionCloseRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemForceConnectionCloseRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemForceConnectionCloseRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemForceConnectionCloseRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemForceConnectionCloseRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemForceConnectionCloseRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemForceConnectionCloseRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemForceConnectionCloseRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemForceConnectionCloseRule: S.Schema; export type UpdateResponseRulesItemJSChallengeAction = "js_challenge"; export declare const UpdateResponseRulesItemJSChallengeAction: any; export type UpdateResponseRulesItemJSChallengeCategoriesList = Array; export declare const UpdateResponseRulesItemJSChallengeCategoriesList: S.Schema; export type UpdateResponseRulesItemJSChallengeExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemJSChallengeExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemJSChallengeRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemJSChallengeRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemJSChallengeRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemJSChallengeRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemJSChallengeRatelimit: S.Schema; export interface UpdateResponseRulesItemJSChallenge { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemJSChallengeAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemJSChallengeCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemJSChallengeRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemJSChallenge: S.Schema; export type UpdateResponseRulesItemLogRuleAction = "log"; export declare const UpdateResponseRulesItemLogRuleAction: any; export type UpdateResponseRulesItemLogRuleCategoriesList = Array; export declare const UpdateResponseRulesItemLogRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemLogRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemLogRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemLogRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemLogRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemLogRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemLogRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemLogRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemLogRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemLogRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemLogRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemLogRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemLogRule: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleAction = "log_custom_field"; export declare const UpdateResponseRulesItemLogCustomFieldRuleAction: any; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsItem: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsItem; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsItem: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem = RulesCreateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsItem; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsItem: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList: S.Schema; export interface UpdateResponseRulesItemLogCustomFieldRuleActionParameters { /** The cookie fields to log. */ cookieFields?: UpdateResponseRulesItemLogCustomFieldRuleActionParametersCookieFieldsList | null; /** The raw response fields to log. */ rawResponseFields?: UpdateResponseRulesItemLogCustomFieldRuleActionParametersRawResponseFieldsList | null; /** The raw request fields to log. */ requestFields?: UpdateResponseRulesItemLogCustomFieldRuleActionParametersRequestFieldsList | null; /** The transformed response fields to log. */ responseFields?: UpdateResponseRulesItemLogCustomFieldRuleActionParametersResponseFieldsList | null; /** The transformed request fields to log. */ transformedRequestFields?: UpdateResponseRulesItemLogCustomFieldRuleActionParametersTransformedRequestFieldsList | null; } export declare const UpdateResponseRulesItemLogCustomFieldRuleActionParameters: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleCategoriesList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemLogCustomFieldRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemLogCustomFieldRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemLogCustomFieldRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemLogCustomFieldRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemLogCustomFieldRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemLogCustomFieldRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemLogCustomFieldRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemLogCustomFieldRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemLogCustomFieldRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemLogCustomFieldRule: S.Schema; export type UpdateResponseRulesItemManagedChallengeRuleAction = "managed_challenge"; export declare const UpdateResponseRulesItemManagedChallengeRuleAction: any; export type UpdateResponseRulesItemManagedChallengeRuleCategoriesList = Array; export declare const UpdateResponseRulesItemManagedChallengeRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemManagedChallengeRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemManagedChallengeRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemManagedChallengeRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemManagedChallengeRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemManagedChallengeRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemManagedChallengeRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemManagedChallengeRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: unknown | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemManagedChallengeRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemManagedChallengeRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemManagedChallengeRule: S.Schema; export type UpdateResponseRulesItemRedirectRuleAction = "redirect"; export declare const UpdateResponseRulesItemRedirectRuleAction: any; export type UpdateResponseRulesItemRedirectRuleActionParametersFromList = RulesCreateResponseRulesItemRedirectRuleActionParametersFromList; export declare const UpdateResponseRulesItemRedirectRuleActionParametersFromList: S.Schema; export type UpdateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl = RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; export declare const UpdateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl: S.Schema; export type UpdateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode = 301 | 302 | 303 | 307 | 308; export declare const UpdateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode: any; export interface UpdateResponseRulesItemRedirectRuleActionParametersFromValue { /** A URL to redirect the request to. */ targetUrl: RulesCreateResponseRulesItemRedirectRuleActionParametersFromValueTargetUrl; /** Whether to keep the query string of the original request. */ preserveQueryString?: boolean | null; /** The status code to use for the redirect. */ statusCode?: UpdateResponseRulesItemRedirectRuleActionParametersFromValueStatusCode | null; } export declare const UpdateResponseRulesItemRedirectRuleActionParametersFromValue: S.Schema; export interface UpdateResponseRulesItemRedirectRuleActionParameters { /** A redirect based on a bulk list lookup. */ fromList?: RulesCreateResponseRulesItemRedirectRuleActionParametersFromList | null; /** A redirect based on the request properties. */ fromValue?: UpdateResponseRulesItemRedirectRuleActionParametersFromValue | null; } export declare const UpdateResponseRulesItemRedirectRuleActionParameters: S.Schema; export type UpdateResponseRulesItemRedirectRuleCategoriesList = Array; export declare const UpdateResponseRulesItemRedirectRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemRedirectRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemRedirectRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemRedirectRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemRedirectRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemRedirectRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemRedirectRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemRedirectRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemRedirectRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemRedirectRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemRedirectRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemRedirectRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemRedirectRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemRedirectRule: S.Schema; export type UpdateResponseRulesItemRewriteRuleAction = "rewrite"; export declare const UpdateResponseRulesItemRewriteRuleAction: any; export type UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation = "add"; export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation: any; export interface UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader { /** The operation to perform on the header. */ operation: UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation = "add"; export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation: any; export interface UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeaderOperation; } export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation = "set"; export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation: any; export interface UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader { /** The operation to perform on the header. */ operation: UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeaderOperation; /** A static value for the header. */ value: string; } export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation = "set"; export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation: any; export interface UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader { /** An expression that evaluates to a value for the header. */ expression: string; /** The operation to perform on the header. */ operation: UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeaderOperation; } export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation = "remove"; export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation: any; export interface UpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader { /** The operation to perform on the header. */ operation: UpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeaderOperation; } export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersHeaders = UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddStaticHeader | UpdateResponseRulesItemRewriteRuleActionParametersHeadersAddDynamicHeader | UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetStaticHeader | UpdateResponseRulesItemRewriteRuleActionParametersHeadersSetDynamicHeader | UpdateResponseRulesItemRewriteRuleActionParametersHeadersRemoveHeader; export declare const UpdateResponseRulesItemRewriteRuleActionParametersHeaders: any; export type UpdateResponseRulesItemRewriteRuleActionParametersUriURIPathPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPathPath; export declare const UpdateResponseRulesItemRewriteRuleActionParametersUriURIPathPath: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersUriURIPath = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath; export declare const UpdateResponseRulesItemRewriteRuleActionParametersUriURIPath: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery; export declare const UpdateResponseRulesItemRewriteRuleActionParametersUriURIQueryQuery: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersUriURIQuery = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const UpdateResponseRulesItemRewriteRuleActionParametersUriURIQuery: S.Schema; export type UpdateResponseRulesItemRewriteRuleActionParametersUri = RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIPath | RulesCreateResponseRulesItemRewriteRuleActionParametersUriURIQuery; export declare const UpdateResponseRulesItemRewriteRuleActionParametersUri: any; export interface UpdateResponseRulesItemRewriteRuleActionParameters { /** A map of headers to rewrite. */ headers?: UpdateResponseRulesItemRewriteRuleActionParametersHeaders | null; /** A URI path rewrite. */ uri?: UpdateResponseRulesItemRewriteRuleActionParametersUri | null; } export declare const UpdateResponseRulesItemRewriteRuleActionParameters: S.Schema; export type UpdateResponseRulesItemRewriteRuleCategoriesList = Array; export declare const UpdateResponseRulesItemRewriteRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemRewriteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemRewriteRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemRewriteRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemRewriteRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemRewriteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemRewriteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemRewriteRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemRewriteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemRewriteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemRewriteRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemRewriteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemRewriteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemRewriteRule: S.Schema; export type UpdateResponseRulesItemRouteRuleAction = "route"; export declare const UpdateResponseRulesItemRouteRuleAction: any; export type UpdateResponseRulesItemRouteRuleActionParametersOrigin = RulesCreateResponseRulesItemRouteRuleActionParametersOrigin; export declare const UpdateResponseRulesItemRouteRuleActionParametersOrigin: S.Schema; export type UpdateResponseRulesItemRouteRuleActionParametersSni = RulesCreateResponseRulesItemRouteRuleActionParametersSni; export declare const UpdateResponseRulesItemRouteRuleActionParametersSni: S.Schema; export type UpdateResponseRulesItemRouteRuleActionParameters = RulesCreateResponseRulesItemRouteRuleActionParameters; export declare const UpdateResponseRulesItemRouteRuleActionParameters: S.Schema; export type UpdateResponseRulesItemRouteRuleCategoriesList = Array; export declare const UpdateResponseRulesItemRouteRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemRouteRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemRouteRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemRouteRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemRouteRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemRouteRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemRouteRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemRouteRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemRouteRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemRouteRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemRouteRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemRouteRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemRouteRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemRouteRule: S.Schema; export type UpdateResponseRulesItemScoreRuleAction = "score"; export declare const UpdateResponseRulesItemScoreRuleAction: any; export type UpdateResponseRulesItemScoreRuleActionParameters = RulesCreateResponseRulesItemScoreRuleActionParameters; export declare const UpdateResponseRulesItemScoreRuleActionParameters: S.Schema; export type UpdateResponseRulesItemScoreRuleCategoriesList = Array; export declare const UpdateResponseRulesItemScoreRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemScoreRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemScoreRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemScoreRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemScoreRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemScoreRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemScoreRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemScoreRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemScoreRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemScoreRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateResponseRulesItemScoreRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemScoreRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemScoreRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemScoreRule: S.Schema; export type UpdateResponseRulesItemServeErrorRuleAction = "serve_error"; export declare const UpdateResponseRulesItemServeErrorRuleAction: any; export type UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType: any; export interface UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContent { /** The response content. */ content: string; /** The content type header to set with the error response. */ contentType?: UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContentContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContent: S.Schema; export type UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType = "application/json" | "text/html" | "text/plain" | "text/xml"; export declare const UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType: any; export interface UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset { /** The name of a custom asset to serve as the error response. */ assetName: string; /** The content type header to set with the error response. */ contentType?: UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAssetContentType | null; /** The status code to use for the error. */ statusCode?: number | null; } export declare const UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset: S.Schema; export type UpdateResponseRulesItemServeErrorRuleActionParameters = UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersContent | UpdateResponseRulesItemServeErrorRuleActionParametersActionParametersAsset; export declare const UpdateResponseRulesItemServeErrorRuleActionParameters: any; export type UpdateResponseRulesItemServeErrorRuleCategoriesList = Array; export declare const UpdateResponseRulesItemServeErrorRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemServeErrorRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemServeErrorRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemServeErrorRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemServeErrorRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemServeErrorRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemServeErrorRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemServeErrorRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemServeErrorRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemServeErrorRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemServeErrorRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemServeErrorRule: S.Schema; export type UpdateResponseRulesItemSetCacheControlAction = "set_cache_control"; export declare const UpdateResponseRulesItemSetCacheControlAction: any; export type UpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersImmutable = UpdateResponseRulesItemSetCacheControlActionParametersImmutableSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersImmutableRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersImmutable: any; export type UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersMaxAge = UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersMaxAgeRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMaxAge: any; export type UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidate = UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidateRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidate: any; export type UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstand = UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstandRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstand: any; export type UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation: any; export type UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList = Array; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList: S.Schema; export interface UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirectiveQualifiersList | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersNoCache = UpdateResponseRulesItemSetCacheControlActionParametersNoCacheSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersNoCacheRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoCache: any; export type UpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersNoStore = UpdateResponseRulesItemSetCacheControlActionParametersNoStoreSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersNoStoreRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoStore: any; export type UpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersNoTransform = UpdateResponseRulesItemSetCacheControlActionParametersNoTransformSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersNoTransformRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersNoTransform: any; export type UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation: any; export type UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList = Array; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList: S.Schema; export interface UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; /** Optional list of header names to qualify the directive (e.g., for "private" or "no-cache" directives). */ qualifiers?: UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirectiveQualifiersList | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersPrivate = UpdateResponseRulesItemSetCacheControlActionParametersPrivateSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersPrivateRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPrivate: any; export type UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidate = UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidateRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidate: any; export type UpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersPublic = UpdateResponseRulesItemSetCacheControlActionParametersPublicSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersPublicRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersPublic: any; export type UpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersSMaxage = UpdateResponseRulesItemSetCacheControlActionParametersSMaxageSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersSMaxageRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersSMaxage: any; export type UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersStaleIfError = UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersStaleIfErrorRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleIfError: any; export type UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirectiveOperation; /** The duration value in seconds for the directive. */ value: number; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set" | "remove"; export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation: any; export interface UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective { /** The operation to perform on the cache-control directive. */ operation: UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirectiveOperation; /** Whether the directive should only be applied to the Cloudflare CDN cache. */ cloudflareOnly?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective: S.Schema; export type UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate = UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateSetDirective | UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidateRemoveDirective; export declare const UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate: any; export interface UpdateResponseRulesItemSetCacheControlActionParameters { /** A cache-control directive configuration. */ immutable?: UpdateResponseRulesItemSetCacheControlActionParametersImmutable | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ maxAge?: UpdateResponseRulesItemSetCacheControlActionParametersMaxAge | null; /** A cache-control directive configuration. */ mustRevalidate?: UpdateResponseRulesItemSetCacheControlActionParametersMustRevalidate | null; /** A cache-control directive configuration. */ mustUnderstand?: UpdateResponseRulesItemSetCacheControlActionParametersMustUnderstand | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ noCache?: UpdateResponseRulesItemSetCacheControlActionParametersNoCache | null; /** A cache-control directive configuration. */ noStore?: UpdateResponseRulesItemSetCacheControlActionParametersNoStore | null; /** A cache-control directive configuration. */ noTransform?: UpdateResponseRulesItemSetCacheControlActionParametersNoTransform | null; /** A cache-control directive configuration that accepts optional qualifiers (header names). */ private?: UpdateResponseRulesItemSetCacheControlActionParametersPrivate | null; /** A cache-control directive configuration. */ proxyRevalidate?: UpdateResponseRulesItemSetCacheControlActionParametersProxyRevalidate | null; /** A cache-control directive configuration. */ public?: UpdateResponseRulesItemSetCacheControlActionParametersPublic | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ sMaxage?: UpdateResponseRulesItemSetCacheControlActionParametersSMaxage | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleIfError?: UpdateResponseRulesItemSetCacheControlActionParametersStaleIfError | null; /** A cache-control directive configuration that accepts a duration value in seconds. */ staleWhileRevalidate?: UpdateResponseRulesItemSetCacheControlActionParametersStaleWhileRevalidate | null; } export declare const UpdateResponseRulesItemSetCacheControlActionParameters: S.Schema; export type UpdateResponseRulesItemSetCacheControlCategoriesList = Array; export declare const UpdateResponseRulesItemSetCacheControlCategoriesList: S.Schema; export type UpdateResponseRulesItemSetCacheControlExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemSetCacheControlExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemSetCacheControlRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemSetCacheControlRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemSetCacheControlRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemSetCacheControlRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemSetCacheControlRatelimit: S.Schema; export interface UpdateResponseRulesItemSetCacheControl { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemSetCacheControlAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemSetCacheControlActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemSetCacheControlCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemSetCacheControlRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemSetCacheControl: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleAction = "set_cache_settings"; export declare const UpdateResponseRulesItemSetCacheSettingsRuleAction: any; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode = "respect_origin" | "bypass_by_default" | "override_origin" | "bypass"; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode: any; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl { /** The browser TTL mode. */ mode: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtlMode; /** The browser TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie { /** A list of cookies to check for the presence of. The presence of these cookies is included in the cache key. */ checkPresence?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieCheckPresenceList | null; /** A list of cookies to include in the cache key. */ include?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookieIncludeList | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap = { [key: string]: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsValueList | undefined; }; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader { /** A list of headers to check for the presence of. The presence of these headers is included in the cache key. */ checkPresence?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderCheckPresenceList | null; /** A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key. */ contains?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderContainsMap | null; /** Whether to exclude the origin header in the cache key. */ excludeOrigin?: boolean | null; /** A list of headers to include in the cache key. */ include?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeaderIncludeList | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude { /** Whether to exclude all query string parameters from the cache key. */ all?: boolean | null; /** A list of query string parameters to exclude from the cache key. */ list?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExcludeListList | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude { /** Whether to include all query string parameters in the cache key. */ all?: boolean | null; /** A list of query string parameters to include in the cache key. */ list?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringIncludeListList | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString { /** Which query string parameters to exclude from the cache key. */ exclude?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringExclude | null; /** Which query string parameters to include in the cache key. */ include?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryStringInclude | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey { /** Which cookies to include in the cache key. */ cookie?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyCookie | null; /** Which headers to include in the cache key. */ header?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHeader | null; /** How to use the host in the cache key. */ host?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyHost | null; /** Which query string parameters to include in or exclude from the cache key. */ queryString?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyQueryString | null; /** How to use characteristics of the request user agent in the cache key. */ user?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKeyUser | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey { /** Whether to separate cached content based on the visitor's device type. */ cacheByDeviceType?: boolean | null; /** Whether to protect from web cache deception attacks, while allowing static assets to be cached. */ cacheDeceptionArmor?: boolean | null; /** Which components of the request are included or excluded from the cache key. */ customKey?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKeyCustomKey | null; /** Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in. */ ignoreQueryStringsOrder?: boolean | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode = "respect_origin" | "bypass_by_default" | "override_origin"; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode: any; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItemStatusCodeRange: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlItem: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl { /** The edge TTL mode. */ mode: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlMode; /** The edge TTL (in seconds) if you choose the "override_origin" mode. */ default?: number | null; /** A list of TTLs to apply to specific status codes or status code ranges. */ statusCodeTtl?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtlStatusCodeTtlList | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary = RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction = "bypass" | "passthrough" | "normalize"; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction: any; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault { /** How the header value is treated when building the cache key. */ action: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefaultAction; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction = "bypass" | "passthrough" | "normalize"; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction: any; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue { /** How the header value is treated when building the cache key. */ action: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueAction; /** The set of languages to normalize against. Only valid for the `accept-language` header. */ languages?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueLanguagesList | null; /** The set of media types to normalize against. Only valid for the `accept` header. */ mediaTypes?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValueMediaTypesList | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap = { [key: string]: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersValue | undefined; }; export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVary { /** Controls how response Vary headers without a per-header override contribute to the cache key. */ default?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryDefault | null; /** A mapping of lowercase request header names to their vary configuration. */ headers?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVaryHeadersMap | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVary: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleActionParameters { /** A list of additional ports that caching should be enabled on. */ additionalCacheablePorts?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersAdditionalCacheablePortsList | null; /** How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. */ browserTtl?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersBrowserTtl | null; /** Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations. */ cache?: boolean | null; /** Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. */ cacheKey?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersCacheKey | null; /** Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan). */ cacheReserve?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersCacheReserve | null; /** How long the Cloudflare edge network should cache the response. */ edgeTtl?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersEdgeTtl | null; /** Whether Cloudflare will aim to strictly adhere to RFC 7234. */ originCacheControl?: boolean | null; /** Whether to generate Cloudflare error pages for issues from the origin server. */ originErrorPagePassthru?: boolean | null; /** A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value. */ readTimeout?: number | null; /** Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers. */ respectStrongEtags?: boolean | null; /** When to serve stale content from cache. */ serveStale?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersServeStale | null; /** Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses. */ sharedDictionary?: RulesCreateResponseRulesItemSetCacheSettingsRuleActionParametersSharedDictionary | null; /** Whether to strip ETag headers from the origin response before caching. */ stripEtags?: boolean | null; /** Whether to strip Last-Modified headers from the origin response before caching. */ stripLastModified?: boolean | null; /** Whether to strip Set-Cookie headers from the origin response before caching. */ stripSetCookie?: boolean | null; /** Controls how cached responses vary based on request headers. `default` is required by the API and applies to any Vary response header that does not have a per-header override. */ vary?: UpdateResponseRulesItemSetCacheSettingsRuleActionParametersVary | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleActionParameters: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleCategoriesList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemSetCacheSettingsRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemSetCacheSettingsRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemSetCacheSettingsRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemSetCacheSettingsRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemSetCacheSettingsRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemSetCacheSettingsRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemSetCacheSettingsRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemSetCacheSettingsRule: S.Schema; export type UpdateResponseRulesItemSetCacheTagsAction = "set_cache_tags"; export declare const UpdateResponseRulesItemSetCacheTagsAction: any; export type UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation: any; export type UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList = Array; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList: S.Schema; export interface UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues { /** The operation to perform on the cache tags. */ operation: UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesOperation; /** A list of cache tag values. */ values: UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValuesValuesList; } export declare const UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues: S.Schema; export type UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation: any; export interface UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpressionOperation; } export declare const UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression: S.Schema; export type UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation: any; export type UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList = Array; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList: S.Schema; export interface UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues { /** The operation to perform on the cache tags. */ operation: UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesOperation; /** A list of cache tag values. */ values: UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValuesValuesList; } export declare const UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues: S.Schema; export type UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation: any; export interface UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpressionOperation; } export declare const UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression: S.Schema; export type UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation = "add" | "remove" | "set"; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation: any; export type UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList = Array; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList: S.Schema; export interface UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues { /** The operation to perform on the cache tags. */ operation: UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesOperation; /** A list of cache tag values. */ values: UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValuesValuesList; } export declare const UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues: S.Schema; export type UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation = "add" | "remove" | "set"; export declare const UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation: any; export interface UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression { /** An expression that evaluates to an array of cache tag values. */ expression: string; /** The operation to perform on the cache tags. */ operation: UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpressionOperation; } export declare const UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression: S.Schema; export type UpdateResponseRulesItemSetCacheTagsActionParameters = UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsValues | UpdateResponseRulesItemSetCacheTagsActionParametersAddCacheTagsExpression | UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsValues | UpdateResponseRulesItemSetCacheTagsActionParametersRemoveCacheTagsExpression | UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsValues | UpdateResponseRulesItemSetCacheTagsActionParametersSetCacheTagsExpression; export declare const UpdateResponseRulesItemSetCacheTagsActionParameters: any; export type UpdateResponseRulesItemSetCacheTagsCategoriesList = Array; export declare const UpdateResponseRulesItemSetCacheTagsCategoriesList: S.Schema; export type UpdateResponseRulesItemSetCacheTagsExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemSetCacheTagsExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemSetCacheTagsRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemSetCacheTagsRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemSetCacheTagsRatelimit: S.Schema; export interface UpdateResponseRulesItemSetCacheTags { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemSetCacheTagsAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemSetCacheTagsActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemSetCacheTagsCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemSetCacheTagsRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemSetCacheTags: S.Schema; export type UpdateResponseRulesItemSetConfigRuleAction = "set_config"; export declare const UpdateResponseRulesItemSetConfigRuleAction: any; export type UpdateResponseRulesItemSetConfigRuleActionParametersAutominify = RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify; export declare const UpdateResponseRulesItemSetConfigRuleActionParametersAutominify: S.Schema; export type UpdateResponseRulesItemSetConfigRuleActionParametersPolish = "off" | "lossless" | "lossy" | "webp"; export declare const UpdateResponseRulesItemSetConfigRuleActionParametersPolish: any; export type UpdateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering = "none" | "standard" | "full"; export declare const UpdateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering: any; export type UpdateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering = "none" | "standard"; export declare const UpdateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering: any; export type UpdateResponseRulesItemSetConfigRuleActionParametersSecurityLevel = "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export declare const UpdateResponseRulesItemSetConfigRuleActionParametersSecurityLevel: any; export type UpdateResponseRulesItemSetConfigRuleActionParametersSsl = "off" | "flexible" | "full" | "strict" | "origin_pull"; export declare const UpdateResponseRulesItemSetConfigRuleActionParametersSsl: any; export interface UpdateResponseRulesItemSetConfigRuleActionParameters { /** Whether to enable Automatic HTTPS Rewrites. */ automaticHttpsRewrites?: boolean | null; /** Which file extensions to minify automatically. */ autominify?: RulesCreateResponseRulesItemSetConfigRuleActionParametersAutominify | null; /** Whether to enable Browser Integrity Check (BIC). */ bic?: boolean | null; /** Whether to enable content conversion (e.g., HTML to Markdown). */ contentConverter?: boolean | null; /** Whether to disable Cloudflare Apps. */ disableApps?: boolean | null; /** Whether to disable Pay Per Crawl. */ disablePayPerCrawl?: boolean | null; /** Whether to disable Real User Monitoring (RUM). */ disableRum?: boolean | null; /** Whether to disable Zaraz. */ disableZaraz?: boolean | null; /** Whether to enable Email Obfuscation. */ emailObfuscation?: boolean | null; /** Whether to enable Cloudflare Fonts. */ fonts?: boolean | null; /** Whether to enable Hotlink Protection. */ hotlinkProtection?: boolean | null; /** Whether to enable Mirage. */ mirage?: boolean | null; /** Whether to enable Opportunistic Encryption. */ opportunisticEncryption?: boolean | null; /** The Polish level to configure. */ polish?: UpdateResponseRulesItemSetConfigRuleActionParametersPolish | null; /** Whether to redirect verified AI training crawlers to canonical URLs found in the HTML response. */ redirectsForAiTraining?: boolean | null; /** The request body buffering mode. */ requestBodyBuffering?: UpdateResponseRulesItemSetConfigRuleActionParametersRequestBodyBuffering | null; /** The response body buffering mode. */ responseBodyBuffering?: UpdateResponseRulesItemSetConfigRuleActionParametersResponseBodyBuffering | null; /** Whether to enable Rocket Loader. */ rocketLoader?: boolean | null; /** The Security Level to configure. */ securityLevel?: UpdateResponseRulesItemSetConfigRuleActionParametersSecurityLevel | null; /** Whether to enable Server-Side Excludes. */ serverSideExcludes?: boolean | null; /** The SSL level to configure. */ ssl?: UpdateResponseRulesItemSetConfigRuleActionParametersSsl | null; /** Whether to enable Signed Exchanges (SXG). */ sxg?: boolean | null; } export declare const UpdateResponseRulesItemSetConfigRuleActionParameters: S.Schema; export type UpdateResponseRulesItemSetConfigRuleCategoriesList = Array; export declare const UpdateResponseRulesItemSetConfigRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemSetConfigRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemSetConfigRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemSetConfigRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemSetConfigRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemSetConfigRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemSetConfigRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemSetConfigRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemSetConfigRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemSetConfigRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemSetConfigRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemSetConfigRule: S.Schema; export type UpdateResponseRulesItemSkipRuleAction = "skip"; export declare const UpdateResponseRulesItemSkipRuleAction: any; export type UpdateResponseRulesItemSkipRuleActionParametersPhase = "current"; export declare const UpdateResponseRulesItemSkipRuleActionParametersPhase: any; export type UpdateResponseRulesItemSkipRuleActionParametersPhasesItem = "ddos_l4" | "ddos_l7" | "http_config_settings" | "http_custom_errors" | "http_log_custom_fields" | "http_ratelimit" | "http_request_cache_settings" | "http_request_dynamic_redirect" | "http_request_firewall_custom" | "http_request_firewall_managed" | "http_request_late_transform" | "http_request_origin" | "http_request_redirect" | "http_request_sanitize" | "http_request_sbfm" | "http_request_transform" | "http_response_cache_settings" | "http_response_compression" | "http_response_firewall_managed" | "http_response_headers_transform" | "magic_transit" | "magic_transit_ids_managed" | "magic_transit_managed" | "magic_transit_ratelimit"; export declare const UpdateResponseRulesItemSkipRuleActionParametersPhasesItem: any; export type UpdateResponseRulesItemSkipRuleActionParametersPhasesList = Array; export declare const UpdateResponseRulesItemSkipRuleActionParametersPhasesList: S.Schema; export type UpdateResponseRulesItemSkipRuleActionParametersProductsItem = "bic" | "hot" | "rateLimit" | "securityLevel" | "uaBlock" | "waf" | "zoneLockdown"; export declare const UpdateResponseRulesItemSkipRuleActionParametersProductsItem: any; export type UpdateResponseRulesItemSkipRuleActionParametersProductsList = Array; export declare const UpdateResponseRulesItemSkipRuleActionParametersProductsList: S.Schema; export type UpdateResponseRulesItemSkipRuleActionParametersRulesValueList = Array; export declare const UpdateResponseRulesItemSkipRuleActionParametersRulesValueList: S.Schema; export type UpdateResponseRulesItemSkipRuleActionParametersRulesMap = { [key: string]: UpdateResponseRulesItemSkipRuleActionParametersRulesValueList | undefined; }; export declare const UpdateResponseRulesItemSkipRuleActionParametersRulesMap: S.Schema; export type UpdateResponseRulesItemSkipRuleActionParametersRuleset = "current"; export declare const UpdateResponseRulesItemSkipRuleActionParametersRuleset: any; export type UpdateResponseRulesItemSkipRuleActionParametersRulesetsList = Array; export declare const UpdateResponseRulesItemSkipRuleActionParametersRulesetsList: S.Schema; export interface UpdateResponseRulesItemSkipRuleActionParameters { /** A phase to skip the execution of. This option is only compatible with the products option. */ phase?: UpdateResponseRulesItemSkipRuleActionParametersPhase | null; /** A list of phases to skip the execution of. This option is incompatible with the rulesets option. */ phases?: UpdateResponseRulesItemSkipRuleActionParametersPhasesList | null; /** A list of legacy security products to skip the execution of. */ products?: UpdateResponseRulesItemSkipRuleActionParametersProductsList | null; /** A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option. */ rules?: UpdateResponseRulesItemSkipRuleActionParametersRulesMap | null; /** A ruleset to skip the execution of. This option is incompatible with the rulesets option. */ ruleset?: UpdateResponseRulesItemSkipRuleActionParametersRuleset | null; /** A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options. */ rulesets?: UpdateResponseRulesItemSkipRuleActionParametersRulesetsList | null; } export declare const UpdateResponseRulesItemSkipRuleActionParameters: S.Schema; export type UpdateResponseRulesItemSkipRuleCategoriesList = Array; export declare const UpdateResponseRulesItemSkipRuleCategoriesList: S.Schema; export type UpdateResponseRulesItemSkipRuleExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemSkipRuleExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemSkipRuleRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemSkipRuleRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemSkipRuleRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemSkipRuleRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemSkipRuleRatelimit: S.Schema; export interface UpdateResponseRulesItemSkipRule { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemSkipRuleAction | null; /** The parameters configuring the rule's action. */ actionParameters?: UpdateResponseRulesItemSkipRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemSkipRuleCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemSkipRuleRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemSkipRule: S.Schema; export type UpdateResponseRulesItemTransformResponseHTMLAction = "transform_response_html"; export declare const UpdateResponseRulesItemTransformResponseHTMLAction: any; export type UpdateResponseRulesItemTransformResponseHTMLActionParameters = RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters; export declare const UpdateResponseRulesItemTransformResponseHTMLActionParameters: S.Schema; export type UpdateResponseRulesItemTransformResponseHTMLCategoriesList = Array; export declare const UpdateResponseRulesItemTransformResponseHTMLCategoriesList: S.Schema; export type UpdateResponseRulesItemTransformResponseHTMLExposedCredentialCheck = RulesCreateRequestBodyChallengeRuleExposedCredentialCheck; export declare const UpdateResponseRulesItemTransformResponseHTMLExposedCredentialCheck: S.Schema; export type UpdateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList = Array; export declare const UpdateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList: S.Schema; export interface UpdateResponseRulesItemTransformResponseHTMLRatelimit { /** Characteristics of the request on which the rate limit counter will be incremented. */ characteristics: UpdateResponseRulesItemTransformResponseHTMLRatelimitCharacteristicsList; /** Period in seconds over which the counter is being incremented. */ period: number; /** An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression. */ countingExpression?: string | null; /** Period of time in seconds after which the action will be disabled following its first execution. */ mitigationTimeout?: number | null; /** The threshold of requests per period after which the action will be executed for the first time. */ requestsPerPeriod?: number | null; /** Whether counting is only performed when an origin is reached. */ requestsToOrigin?: boolean | null; /** The score threshold per period for which the action will be executed the first time. */ scorePerPeriod?: number | null; /** A response header name provided by the origin, which contains the score to increment rate limit counter with. */ scoreResponseHeaderName?: string | null; } export declare const UpdateResponseRulesItemTransformResponseHTMLRatelimit: S.Schema; export interface UpdateResponseRulesItemTransformResponseHTML { /** The timestamp of when the rule was last modified. */ lastUpdated: string; /** The version of the rule. */ version: string; /** The unique ID of the rule. */ id?: string | null; /** The action to perform when the rule matches. */ action?: UpdateResponseRulesItemTransformResponseHTMLAction | null; /** The parameters configuring the rule's action. */ actionParameters?: RulesCreateRequestBodyTransformResponseHTMLRuleActionParameters | null; /** The categories of the rule. */ categories?: UpdateResponseRulesItemTransformResponseHTMLCategoriesList | null; /** An informative description of the rule. */ description?: string | null; /** Whether the rule should be executed. */ enabled?: boolean | null; /** Configuration for exposed credential checking. */ exposedCredentialCheck?: RulesCreateRequestBodyChallengeRuleExposedCredentialCheck | null; /** The expression defining which traffic will match the rule. */ expression?: string | null; /** An object configuring the rule's logging behavior. */ logging?: RulesCreateRequestBodyChallengeRuleLogging | null; /** An object configuring the rule's rate limit behavior. */ ratelimit?: UpdateResponseRulesItemTransformResponseHTMLRatelimit | null; /** The reference of the rule (the rule's ID by default). */ ref?: string | null; } export declare const UpdateResponseRulesItemTransformResponseHTML: S.Schema; export type UpdateResponseRulesItem = UpdateResponseRulesItemBlockRule | UpdateResponseRulesItemChallenge | UpdateResponseRulesItemCompressResponseRule | UpdateResponseRulesItemDDoSDynamicRule | UpdateResponseRulesItemExecuteRule | UpdateResponseRulesItemForceConnectionCloseRule | UpdateResponseRulesItemJSChallenge | UpdateResponseRulesItemLogRule | UpdateResponseRulesItemLogCustomFieldRule | UpdateResponseRulesItemManagedChallengeRule | UpdateResponseRulesItemRedirectRule | UpdateResponseRulesItemRewriteRule | UpdateResponseRulesItemRouteRule | UpdateResponseRulesItemScoreRule | UpdateResponseRulesItemServeErrorRule | UpdateResponseRulesItemSetCacheControl | UpdateResponseRulesItemSetCacheSettingsRule | UpdateResponseRulesItemSetCacheTags | UpdateResponseRulesItemSetConfigRule | UpdateResponseRulesItemSkipRule | UpdateResponseRulesItemTransformResponseHTML; export declare const UpdateResponseRulesItem: any; export type UpdateResponseRulesList = Array; export declare const UpdateResponseRulesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface UpdateRulesetResponse { /** The unique ID of the ruleset. */ id: string; /** The kind of the ruleset. */ kind: UpdateResponseKind; /** The timestamp of when the ruleset was last modified. */ lastUpdated: string; /** The human-readable name of the ruleset. */ name: string; /** The phase of the ruleset. */ phase: UpdateResponsePhase; /** The list of rules in the ruleset. */ rules: UpdateResponseRulesList; /** The version of the ruleset. */ version: string; /** An informative description of the ruleset. */ description?: string | null; } export declare const UpdateRulesetResponse: S.Schema; export interface UpdateRulesetForZoneRequest { /** The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId: string; /** The unique ID of the ruleset. */ rulesetId: string; /** An informative description of the ruleset. */ description?: string; /** The kind of the ruleset. */ kind?: UpdateRequestKind | (string & {}); /** The human-readable name of the ruleset. */ name?: string; /** The phase of the ruleset. */ phase?: UpdateRequestPhase | (string & {}); /** The list of rules in the ruleset. */ rules?: UpdateRequestRulesList; } export declare const UpdateRulesetForZoneRequest: S.Schema; export type CreateRuleForAccountError = CloudflareOpError; /** Adds a new rule to an account or zone ruleset. The rule will be added to the end of the existing list of rules in the ruleset by default. */ export declare const createRuleForAccount: API.OperationMethod; export type CreateRuleForZoneError = CloudflareOpError; /** Adds a new rule to an account or zone ruleset. The rule will be added to the end of the existing list of rules in the ruleset by default. */ export declare const createRuleForZone: API.OperationMethod; export type CreateRulesetForAccountError = PhaseNotEntitled | Forbidden | CloudflareOpError; /** Creates a ruleset. */ export declare const createRulesetForAccount: API.OperationMethod; export type CreateRulesetForZoneError = PhaseNotEntitled | Forbidden | CloudflareOpError; /** Creates a ruleset. */ export declare const createRulesetForZone: API.OperationMethod; export type DeleteRuleForAccountError = CloudflareOpError; /** Deletes an existing rule from an account or zone ruleset. */ export declare const deleteRuleForAccount: API.OperationMethod; export type DeleteRuleForZoneError = CloudflareOpError; /** Deletes an existing rule from an account or zone ruleset. */ export declare const deleteRuleForZone: API.OperationMethod; export type DeleteRulesetForAccountError = RulesetNotFound | Forbidden | CloudflareOpError; /** Deletes all versions of an existing account or zone ruleset. */ export declare const deleteRulesetForAccount: API.OperationMethod; export type DeleteRulesetForZoneError = RulesetNotFound | Forbidden | CloudflareOpError; /** Deletes all versions of an existing account or zone ruleset. */ export declare const deleteRulesetForZone: API.OperationMethod; export type DeleteVersionForAccountError = CloudflareOpError; /** Deletes an existing version of an account or zone ruleset. */ export declare const deleteVersionForAccount: API.OperationMethod; export type DeleteVersionForZoneError = CloudflareOpError; /** Deletes an existing version of an account or zone ruleset. */ export declare const deleteVersionForZone: API.OperationMethod; export type GetPhasForAccountError = RulesetNotFound | Forbidden | CloudflareOpError; /** Fetches the latest version of the account or zone entry point ruleset for a given phase. */ export declare const getPhasForAccount: API.OperationMethod; export type GetPhasForZoneError = RulesetNotFound | Forbidden | CloudflareOpError; /** Fetches the latest version of the account or zone entry point ruleset for a given phase. */ export declare const getPhasForZone: API.OperationMethod; export type GetPhasVersionForAccountError = CloudflareOpError; /** Fetches a specific version of an account or zone entry point ruleset. */ export declare const getPhasVersionForAccount: API.OperationMethod; export type GetPhasVersionForZoneError = CloudflareOpError; /** Fetches a specific version of an account or zone entry point ruleset. */ export declare const getPhasVersionForZone: API.OperationMethod; export type GetRulesetForAccountError = RulesetNotFound | Forbidden | CloudflareOpError; /** Fetches the latest version of an account or zone ruleset. */ export declare const getRulesetForAccount: API.OperationMethod; export type GetRulesetForZoneError = RulesetNotFound | Forbidden | CloudflareOpError; /** Fetches the latest version of an account or zone ruleset. */ export declare const getRulesetForZone: API.OperationMethod; export type GetVersionForAccountError = CloudflareOpError; /** Fetches a specific version of an account or zone ruleset. */ export declare const getVersionForAccount: API.OperationMethod; export type GetVersionForZoneError = CloudflareOpError; /** Fetches a specific version of an account or zone ruleset. */ export declare const getVersionForZone: API.OperationMethod; export type ListPhasVersionsForAccountError = CloudflareOpError; /** Fetches the versions of an account or zone entry point ruleset. */ export declare const listPhasVersionsForAccount: API.PaginatedOperationMethod; export type ListPhasVersionsForZoneError = CloudflareOpError; /** Fetches the versions of an account or zone entry point ruleset. */ export declare const listPhasVersionsForZone: API.PaginatedOperationMethod; export type ListRulesetsForAccountError = CloudflareOpError; /** Fetches all rulesets. */ export declare const listRulesetsForAccount: API.PaginatedOperationMethod; export type ListRulesetsForZoneError = CloudflareOpError; /** Fetches all rulesets. */ export declare const listRulesetsForZone: API.PaginatedOperationMethod; export type ListVersionsForAccountError = CloudflareOpError; /** Fetches the versions of an account or zone ruleset. */ export declare const listVersionsForAccount: API.PaginatedOperationMethod; export type ListVersionsForZoneError = CloudflareOpError; /** Fetches the versions of an account or zone ruleset. */ export declare const listVersionsForZone: API.PaginatedOperationMethod; export type PatchRuleForAccountError = CloudflareOpError; /** Updates an existing rule in an account or zone ruleset. */ export declare const patchRuleForAccount: API.OperationMethod; export type PatchRuleForZoneError = CloudflareOpError; /** Updates an existing rule in an account or zone ruleset. */ export declare const patchRuleForZone: API.OperationMethod; export type PutPhasForAccountError = RulesetNotFound | PhaseNotEntitled | Forbidden | CloudflareOpError; /** Updates an account or zone entry point ruleset, creating a new version. */ export declare const putPhasForAccount: API.OperationMethod; export type PutPhasForZoneError = RulesetNotFound | PhaseNotEntitled | Forbidden | CloudflareOpError; /** Updates an account or zone entry point ruleset, creating a new version. */ export declare const putPhasForZone: API.OperationMethod; export type UpdateRulesetForAccountError = RulesetNotFound | Forbidden | CloudflareOpError; /** Updates an account or zone ruleset, creating a new version. */ export declare const updateRulesetForAccount: API.OperationMethod; export type UpdateRulesetForZoneError = RulesetNotFound | Forbidden | CloudflareOpError; /** Updates an account or zone ruleset, creating a new version. */ export declare const updateRulesetForZone: API.OperationMethod; //# sourceMappingURL=rulesets.d.ts.map