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 TokenConfigurationNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class TokenConfigurationNotFound extends /*@__PURE__*/ TokenConfigurationNotFound_base { } declare const TokenValidationNotEntitled_base: S.Class, import("effect/Cause").YieldableError>; export declare class TokenValidationNotEntitled extends /*@__PURE__*/ TokenValidationNotEntitled_base { } declare const TokenValidationRuleNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class TokenValidationRuleNotFound extends /*@__PURE__*/ TokenValidationRuleNotFound_base { } export type RulesBulkCreateRequestBodyItemAction = "log" | "block"; export declare const RulesBulkCreateRequestBodyItemAction: any; export type RulesBulkCreateRequestBodyItemSelectorExcludeItemOperationIdsList = Array; export declare const RulesBulkCreateRequestBodyItemSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesBulkCreateRequestBodyItemSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesBulkCreateRequestBodyItemSelectorExcludeItemOperationIdsList; } export declare const RulesBulkCreateRequestBodyItemSelectorExcludeItem: S.Schema; export type RulesBulkCreateRequestBodyItemSelectorExcludeList = Array; export declare const RulesBulkCreateRequestBodyItemSelectorExcludeList: S.Schema; export type RulesBulkCreateRequestBodyItemSelectorIncludeItemHostList = Array; export declare const RulesBulkCreateRequestBodyItemSelectorIncludeItemHostList: S.Schema; export interface RulesBulkCreateRequestBodyItemSelectorIncludeItem { /** Included hostnames. */ host?: RulesBulkCreateRequestBodyItemSelectorIncludeItemHostList; } export declare const RulesBulkCreateRequestBodyItemSelectorIncludeItem: S.Schema; export type RulesBulkCreateRequestBodyItemSelectorIncludeList = Array; export declare const RulesBulkCreateRequestBodyItemSelectorIncludeList: S.Schema; export interface RulesBulkCreateRequestBodyItemSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesBulkCreateRequestBodyItemSelectorExcludeList; /** Select all matching operations. */ include?: RulesBulkCreateRequestBodyItemSelectorIncludeList; } export declare const RulesBulkCreateRequestBodyItemSelector: S.Schema; export interface RulesBulkCreateRequestBodyItem { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesBulkCreateRequestBodyItemAction | (string & {}); /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesBulkCreateRequestBodyItemSelector; /** A human-readable name for the rule. */ title: string; } export declare const RulesBulkCreateRequestBodyItem: S.Schema; export type RulesBulkCreateRequestBodyList = Array; export declare const RulesBulkCreateRequestBodyList: S.Schema; export interface BulkCreateRulesRequest { /** Identifier. */ zoneId: string; body: RulesBulkCreateRequestBodyList; } export declare const BulkCreateRulesRequest: S.Schema; export type RulesBulkCreateResultItemAction = "log" | "block"; export declare const RulesBulkCreateResultItemAction: any; export type RulesBulkCreateResultItemSelectorExcludeItemOperationIdsList = Array; export declare const RulesBulkCreateResultItemSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesBulkCreateResultItemSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesBulkCreateResultItemSelectorExcludeItemOperationIdsList | null; } export declare const RulesBulkCreateResultItemSelectorExcludeItem: S.Schema; export type RulesBulkCreateResultItemSelectorExcludeList = Array; export declare const RulesBulkCreateResultItemSelectorExcludeList: S.Schema; export type RulesBulkCreateResultItemSelectorIncludeItemHostList = Array; export declare const RulesBulkCreateResultItemSelectorIncludeItemHostList: S.Schema; export interface RulesBulkCreateResultItemSelectorIncludeItem { /** Included hostnames. */ host?: RulesBulkCreateResultItemSelectorIncludeItemHostList | null; } export declare const RulesBulkCreateResultItemSelectorIncludeItem: S.Schema; export type RulesBulkCreateResultItemSelectorIncludeList = Array; export declare const RulesBulkCreateResultItemSelectorIncludeList: S.Schema; export interface RulesBulkCreateResultItemSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesBulkCreateResultItemSelectorExcludeList | null; /** Select all matching operations. */ include?: RulesBulkCreateResultItemSelectorIncludeList | null; } export declare const RulesBulkCreateResultItemSelector: S.Schema; export interface RulesBulkCreateResultItem { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesBulkCreateResultItemAction; /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesBulkCreateResultItemSelector; /** A human-readable name for the rule. */ title: string; /** UUID. */ id?: string | null; createdAt?: string | null; lastUpdated?: string | null; } export declare const RulesBulkCreateResultItem: S.Schema; export type RulesBulkCreateResultList = Array; export declare const RulesBulkCreateResultList: S.Schema; export interface BulkCreateRulesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: RulesBulkCreateResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const BulkCreateRulesResponse: S.Schema; export type RulesBulkEditRequestBodyItemAction = "log" | "block"; export declare const RulesBulkEditRequestBodyItemAction: any; export interface RulesBulkEditRequestBodyItemPositionAPIShieldIndex { /** Move rule to this position */ index: number; } export declare const RulesBulkEditRequestBodyItemPositionAPIShieldIndex: S.Schema; export interface RulesBulkEditRequestBodyItemPositionAPIShieldBefore { /** Move rule to before rule with this ID. */ before?: string; } export declare const RulesBulkEditRequestBodyItemPositionAPIShieldBefore: S.Schema; export interface RulesBulkEditRequestBodyItemPositionAPIShieldAfter { /** Move rule to after rule with this ID. */ after?: string; } export declare const RulesBulkEditRequestBodyItemPositionAPIShieldAfter: S.Schema; export type RulesBulkEditRequestBodyItemPosition = RulesBulkEditRequestBodyItemPositionAPIShieldIndex | RulesBulkEditRequestBodyItemPositionAPIShieldBefore | RulesBulkEditRequestBodyItemPositionAPIShieldAfter; export declare const RulesBulkEditRequestBodyItemPosition: any; export type RulesBulkEditRequestBodyItemSelectorExcludeItemOperationIdsList = Array; export declare const RulesBulkEditRequestBodyItemSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesBulkEditRequestBodyItemSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesBulkEditRequestBodyItemSelectorExcludeItemOperationIdsList; } export declare const RulesBulkEditRequestBodyItemSelectorExcludeItem: S.Schema; export type RulesBulkEditRequestBodyItemSelectorExcludeList = Array; export declare const RulesBulkEditRequestBodyItemSelectorExcludeList: S.Schema; export type RulesBulkEditRequestBodyItemSelectorIncludeItemHostList = Array; export declare const RulesBulkEditRequestBodyItemSelectorIncludeItemHostList: S.Schema; export interface RulesBulkEditRequestBodyItemSelectorIncludeItem { /** Included hostnames. */ host?: RulesBulkEditRequestBodyItemSelectorIncludeItemHostList; } export declare const RulesBulkEditRequestBodyItemSelectorIncludeItem: S.Schema; export type RulesBulkEditRequestBodyItemSelectorIncludeList = Array; export declare const RulesBulkEditRequestBodyItemSelectorIncludeList: S.Schema; export interface RulesBulkEditRequestBodyItemSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesBulkEditRequestBodyItemSelectorExcludeList; /** Select all matching operations. */ include?: RulesBulkEditRequestBodyItemSelectorIncludeList; } export declare const RulesBulkEditRequestBodyItemSelector: S.Schema; export interface RulesBulkEditRequestBodyItem { /** Rule ID this patch applies to */ id: string; /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action?: RulesBulkEditRequestBodyItemAction | (string & {}); /** A human-readable description that gives more details than `title`. */ description?: string; /** Toggle rule on or off. */ enabled?: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression?: string; /** Update rule order among zone rules. */ position?: RulesBulkEditRequestBodyItemPosition; /** Select operations covered by this rule. */ selector?: RulesBulkEditRequestBodyItemSelector; /** A human-readable name for the rule. */ title?: string; } export declare const RulesBulkEditRequestBodyItem: S.Schema; export type RulesBulkEditRequestBodyList = Array; export declare const RulesBulkEditRequestBodyList: S.Schema; export interface BulkPatchRulesRequest { /** Identifier. */ zoneId: string; body: RulesBulkEditRequestBodyList; } export declare const BulkPatchRulesRequest: S.Schema; export type RulesBulkEditResultItemAction = "log" | "block"; export declare const RulesBulkEditResultItemAction: any; export type RulesBulkEditResultItemSelectorExcludeItemOperationIdsList = Array; export declare const RulesBulkEditResultItemSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesBulkEditResultItemSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesBulkEditResultItemSelectorExcludeItemOperationIdsList | null; } export declare const RulesBulkEditResultItemSelectorExcludeItem: S.Schema; export type RulesBulkEditResultItemSelectorExcludeList = Array; export declare const RulesBulkEditResultItemSelectorExcludeList: S.Schema; export type RulesBulkEditResultItemSelectorIncludeItemHostList = Array; export declare const RulesBulkEditResultItemSelectorIncludeItemHostList: S.Schema; export interface RulesBulkEditResultItemSelectorIncludeItem { /** Included hostnames. */ host?: RulesBulkEditResultItemSelectorIncludeItemHostList | null; } export declare const RulesBulkEditResultItemSelectorIncludeItem: S.Schema; export type RulesBulkEditResultItemSelectorIncludeList = Array; export declare const RulesBulkEditResultItemSelectorIncludeList: S.Schema; export interface RulesBulkEditResultItemSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesBulkEditResultItemSelectorExcludeList | null; /** Select all matching operations. */ include?: RulesBulkEditResultItemSelectorIncludeList | null; } export declare const RulesBulkEditResultItemSelector: S.Schema; export interface RulesBulkEditResultItem { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesBulkEditResultItemAction; /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesBulkEditResultItemSelector; /** A human-readable name for the rule. */ title: string; /** UUID. */ id?: string | null; createdAt?: string | null; lastUpdated?: string | null; } export declare const RulesBulkEditResultItem: S.Schema; export type RulesBulkEditResultList = Array; export declare const RulesBulkEditResultList: S.Schema; export interface BulkPatchRulesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: RulesBulkEditResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const BulkPatchRulesResponse: S.Schema; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg = "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg: any; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty = "RSA"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty: any; export interface ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA { /** Algorithm */ alg: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg | (string & {}); /** RSA exponent */ e: string; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty; /** RSA modulus */ n: string; } export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA: S.Schema; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg = "ES256"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg: any; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv = "P-256"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv: any; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty = "EC"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty: any; export interface ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 { /** Algorithm */ alg: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg; /** Curve */ crv: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256: S.Schema; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg = "ES384"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg: any; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv = "P-384"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv: any; export type ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty = "EC"; export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty: any; export interface ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384 { /** Algorithm */ alg: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg; /** Curve */ crv: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384: S.Schema; export type ConfigurationCreateRequestCredentialsKeysItem = ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA | ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 | ConfigurationCreateRequestCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384; export declare const ConfigurationCreateRequestCredentialsKeysItem: any; export type ConfigurationCreateRequestCredentialsKeysList = Array; export declare const ConfigurationCreateRequestCredentialsKeysList: S.Schema; export interface ConfigurationCreateRequestCredentials { keys: ConfigurationCreateRequestCredentialsKeysList; } export declare const ConfigurationCreateRequestCredentials: S.Schema; export type ConfigurationCreateRequestTokenSourcesList = Array; export declare const ConfigurationCreateRequestTokenSourcesList: S.Schema; export type ConfigurationCreateRequestTokenType = "JWT"; export declare const ConfigurationCreateRequestTokenType: any; export interface CreateConfigurationRequest { /** Identifier. */ zoneId: string; credentials: ConfigurationCreateRequestCredentials; description: string; title: string; tokenSources: ConfigurationCreateRequestTokenSourcesList; tokenType: ConfigurationCreateRequestTokenType | (string & {}); } export declare const CreateConfigurationRequest: S.Schema; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg = "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg: any; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty = "RSA"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty: any; export interface ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA { /** Algorithm */ alg: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg; /** RSA exponent */ e: string; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty; /** RSA modulus */ n: string; } export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA: S.Schema; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg = "ES256"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg: any; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv = "P-256"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv: any; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty = "EC"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty: any; export interface ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 { /** Algorithm */ alg: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg; /** Curve */ crv: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256: S.Schema; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg = "ES384"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg: any; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv = "P-384"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv: any; export type ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty = "EC"; export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty: any; export interface ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384 { /** Algorithm */ alg: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg; /** Curve */ crv: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384: S.Schema; export type ConfigurationCreateResponseCredentialsKeysItem = ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA | ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 | ConfigurationCreateResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384; export declare const ConfigurationCreateResponseCredentialsKeysItem: any; export type ConfigurationCreateResponseCredentialsKeysList = Array; export declare const ConfigurationCreateResponseCredentialsKeysList: S.Schema; export interface ConfigurationCreateResponseCredentials { keys: ConfigurationCreateResponseCredentialsKeysList; } export declare const ConfigurationCreateResponseCredentials: S.Schema; export type ConfigurationCreateResponseTokenSourcesList = Array; export declare const ConfigurationCreateResponseTokenSourcesList: S.Schema; export type ConfigurationCreateResponseTokenType = "JWT"; export declare const ConfigurationCreateResponseTokenType: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateConfigurationResponse { /** UUID. */ id: string; createdAt: string; credentials: ConfigurationCreateResponseCredentials; description: string; lastUpdated: string; title: string; tokenSources: ConfigurationCreateResponseTokenSourcesList; tokenType: ConfigurationCreateResponseTokenType; } export declare const CreateConfigurationResponse: S.Schema; export type RulesCreateRequestAction = "log" | "block"; export declare const RulesCreateRequestAction: any; export type RulesCreateRequestSelectorExcludeItemOperationIdsList = Array; export declare const RulesCreateRequestSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesCreateRequestSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesCreateRequestSelectorExcludeItemOperationIdsList; } export declare const RulesCreateRequestSelectorExcludeItem: S.Schema; export type RulesCreateRequestSelectorExcludeList = Array; export declare const RulesCreateRequestSelectorExcludeList: S.Schema; export type RulesCreateRequestSelectorIncludeItemHostList = Array; export declare const RulesCreateRequestSelectorIncludeItemHostList: S.Schema; export interface RulesCreateRequestSelectorIncludeItem { /** Included hostnames. */ host?: RulesCreateRequestSelectorIncludeItemHostList; } export declare const RulesCreateRequestSelectorIncludeItem: S.Schema; export type RulesCreateRequestSelectorIncludeList = Array; export declare const RulesCreateRequestSelectorIncludeList: S.Schema; export interface RulesCreateRequestSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesCreateRequestSelectorExcludeList; /** Select all matching operations. */ include?: RulesCreateRequestSelectorIncludeList; } export declare const RulesCreateRequestSelector: S.Schema; export interface CreateRuleRequest { /** Identifier. */ zoneId: string; /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesCreateRequestAction | (string & {}); /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesCreateRequestSelector; /** A human-readable name for the rule. */ title: string; } export declare const CreateRuleRequest: S.Schema; export type RulesCreateResponseAction = "log" | "block"; export declare const RulesCreateResponseAction: any; export type RulesCreateResponseSelectorExcludeItemOperationIdsList = Array; export declare const RulesCreateResponseSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesCreateResponseSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesCreateResponseSelectorExcludeItemOperationIdsList | null; } export declare const RulesCreateResponseSelectorExcludeItem: S.Schema; export type RulesCreateResponseSelectorExcludeList = Array; export declare const RulesCreateResponseSelectorExcludeList: S.Schema; export type RulesCreateResponseSelectorIncludeItemHostList = Array; export declare const RulesCreateResponseSelectorIncludeItemHostList: S.Schema; export interface RulesCreateResponseSelectorIncludeItem { /** Included hostnames. */ host?: RulesCreateResponseSelectorIncludeItemHostList | null; } export declare const RulesCreateResponseSelectorIncludeItem: S.Schema; export type RulesCreateResponseSelectorIncludeList = Array; export declare const RulesCreateResponseSelectorIncludeList: S.Schema; export interface RulesCreateResponseSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesCreateResponseSelectorExcludeList | null; /** Select all matching operations. */ include?: RulesCreateResponseSelectorIncludeList | null; } export declare const RulesCreateResponseSelector: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateRuleResponse { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesCreateResponseAction; /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesCreateResponseSelector; /** A human-readable name for the rule. */ title: string; /** UUID. */ id?: string | null; createdAt?: string | null; lastUpdated?: string | null; } export declare const CreateRuleResponse: S.Schema; export interface DeleteConfigurationRequest { /** Identifier. */ zoneId: string; /** UUID. */ configId: string; } export declare const DeleteConfigurationRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteConfigurationResponse { /** UUID. */ id?: string | null; } export declare const DeleteConfigurationResponse: S.Schema; export interface DeleteRuleRequest { /** Identifier. */ zoneId: string; /** UUID. */ ruleId: string; } export declare const DeleteRuleRequest: S.Schema; export type DeleteRuleResponse = unknown; export declare const DeleteRuleResponse: S.Schema; export interface GetConfigurationRequest { /** Identifier. */ zoneId: string; /** UUID. */ configId: string; } export declare const GetConfigurationRequest: S.Schema; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg = "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg: any; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty = "RSA"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty: any; export interface ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA { /** Algorithm */ alg: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg; /** RSA exponent */ e: string; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty; /** RSA modulus */ n: string; } export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA: S.Schema; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg = "ES256"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg: any; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv = "P-256"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv: any; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty = "EC"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty: any; export interface ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 { /** Algorithm */ alg: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg; /** Curve */ crv: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256: S.Schema; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg = "ES384"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg: any; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv = "P-384"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv: any; export type ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty = "EC"; export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty: any; export interface ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384 { /** Algorithm */ alg: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg; /** Curve */ crv: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384: S.Schema; export type ConfigurationGetResponseCredentialsKeysItem = ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA | ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 | ConfigurationGetResponseCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384; export declare const ConfigurationGetResponseCredentialsKeysItem: any; export type ConfigurationGetResponseCredentialsKeysList = Array; export declare const ConfigurationGetResponseCredentialsKeysList: S.Schema; export interface ConfigurationGetResponseCredentials { keys: ConfigurationGetResponseCredentialsKeysList; } export declare const ConfigurationGetResponseCredentials: S.Schema; export type ConfigurationGetResponseTokenSourcesList = Array; export declare const ConfigurationGetResponseTokenSourcesList: S.Schema; export type ConfigurationGetResponseTokenType = "JWT"; export declare const ConfigurationGetResponseTokenType: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetConfigurationResponse { /** UUID. */ id: string; createdAt: string; credentials: ConfigurationGetResponseCredentials; description: string; lastUpdated: string; title: string; tokenSources: ConfigurationGetResponseTokenSourcesList; tokenType: ConfigurationGetResponseTokenType; } export declare const GetConfigurationResponse: S.Schema; export interface GetRuleRequest { /** Identifier. */ zoneId: string; /** UUID. */ ruleId: string; } export declare const GetRuleRequest: S.Schema; export type RulesGetResponseAction = "log" | "block"; export declare const RulesGetResponseAction: any; export type RulesGetResponseSelectorExcludeItemOperationIdsList = Array; export declare const RulesGetResponseSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesGetResponseSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesGetResponseSelectorExcludeItemOperationIdsList | null; } export declare const RulesGetResponseSelectorExcludeItem: S.Schema; export type RulesGetResponseSelectorExcludeList = Array; export declare const RulesGetResponseSelectorExcludeList: S.Schema; export type RulesGetResponseSelectorIncludeItemHostList = Array; export declare const RulesGetResponseSelectorIncludeItemHostList: S.Schema; export interface RulesGetResponseSelectorIncludeItem { /** Included hostnames. */ host?: RulesGetResponseSelectorIncludeItemHostList | null; } export declare const RulesGetResponseSelectorIncludeItem: S.Schema; export type RulesGetResponseSelectorIncludeList = Array; export declare const RulesGetResponseSelectorIncludeList: S.Schema; export interface RulesGetResponseSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesGetResponseSelectorExcludeList | null; /** Select all matching operations. */ include?: RulesGetResponseSelectorIncludeList | null; } export declare const RulesGetResponseSelector: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetRuleResponse { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesGetResponseAction; /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesGetResponseSelector; /** A human-readable name for the rule. */ title: string; /** UUID. */ id?: string | null; createdAt?: string | null; lastUpdated?: string | null; } export declare const GetRuleResponse: S.Schema; export interface ListConfigurationsRequest { /** Identifier. */ zoneId: string; /** Page number of paginated results. */ page?: number; /** Maximum number of results per page. */ perPage?: number; } export declare const ListConfigurationsRequest: S.Schema; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg = "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg: any; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty = "RSA"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty: any; export interface ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA { /** Algorithm */ alg: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAAlg; /** RSA exponent */ e: string; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSAKty; /** RSA modulus */ n: string; } export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA: S.Schema; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg = "ES256"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg: any; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv = "P-256"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv: any; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty = "EC"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty: any; export interface ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 { /** Algorithm */ alg: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg; /** Curve */ crv: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256: S.Schema; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg = "ES384"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg: any; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv = "P-384"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv: any; export type ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty = "EC"; export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty: any; export interface ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384 { /** Algorithm */ alg: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg; /** Curve */ crv: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384: S.Schema; export type ConfigurationListResultItemCredentialsKeysItem = ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyRSA | ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs256 | ConfigurationListResultItemCredentialsKeysItemAPIShieldCredentialsJWTKeyEcEs384; export declare const ConfigurationListResultItemCredentialsKeysItem: any; export type ConfigurationListResultItemCredentialsKeysList = Array; export declare const ConfigurationListResultItemCredentialsKeysList: S.Schema; export interface ConfigurationListResultItemCredentials { keys: ConfigurationListResultItemCredentialsKeysList; } export declare const ConfigurationListResultItemCredentials: S.Schema; export type ConfigurationListResultItemTokenSourcesList = Array; export declare const ConfigurationListResultItemTokenSourcesList: S.Schema; export type ConfigurationListResultItemTokenType = "JWT"; export declare const ConfigurationListResultItemTokenType: any; export interface ConfigurationListResultItem { /** UUID. */ id: string; createdAt: string; credentials: ConfigurationListResultItemCredentials; description: string; lastUpdated: string; title: string; tokenSources: ConfigurationListResultItemTokenSourcesList; tokenType: ConfigurationListResultItemTokenType; } export declare const ConfigurationListResultItem: S.Schema; export type ConfigurationListResultList = Array; export declare const ConfigurationListResultList: S.Schema; export interface ListConfigurationsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: ConfigurationListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListConfigurationsResponse: S.Schema; export type RulesListRequestAction = "log" | "block"; export declare const RulesListRequestAction: any; export type RulesListRequestTokenConfigurationList = Array; export declare const RulesListRequestTokenConfigurationList: S.Schema; export interface ListRulesRequest { /** Identifier. */ zoneId: string; /** Select rules with these IDs. */ id?: string; /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action?: RulesListRequestAction | (string & {}); /** Toggle rule on or off. */ enabled?: boolean; /** Select rules with this host in `include`. */ host?: string; /** Select rules with this host in `include`. */ hostname?: string; /** Page number of paginated results. */ page?: number; /** Maximum number of results per page. */ perPage?: number; /** Select rules with these IDs. */ ruleId?: string; /** Select rules using any of these token configurations. */ tokenConfiguration?: RulesListRequestTokenConfigurationList; } export declare const ListRulesRequest: S.Schema; export type RulesListResultItemAction = "log" | "block"; export declare const RulesListResultItemAction: any; export type RulesListResultItemSelectorExcludeItemOperationIdsList = Array; export declare const RulesListResultItemSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesListResultItemSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesListResultItemSelectorExcludeItemOperationIdsList | null; } export declare const RulesListResultItemSelectorExcludeItem: S.Schema; export type RulesListResultItemSelectorExcludeList = Array; export declare const RulesListResultItemSelectorExcludeList: S.Schema; export type RulesListResultItemSelectorIncludeItemHostList = Array; export declare const RulesListResultItemSelectorIncludeItemHostList: S.Schema; export interface RulesListResultItemSelectorIncludeItem { /** Included hostnames. */ host?: RulesListResultItemSelectorIncludeItemHostList | null; } export declare const RulesListResultItemSelectorIncludeItem: S.Schema; export type RulesListResultItemSelectorIncludeList = Array; export declare const RulesListResultItemSelectorIncludeList: S.Schema; export interface RulesListResultItemSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesListResultItemSelectorExcludeList | null; /** Select all matching operations. */ include?: RulesListResultItemSelectorIncludeList | null; } export declare const RulesListResultItemSelector: S.Schema; export interface RulesListResultItem { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesListResultItemAction; /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesListResultItemSelector; /** A human-readable name for the rule. */ title: string; /** UUID. */ id?: string | null; createdAt?: string | null; lastUpdated?: string | null; } export declare const RulesListResultItem: S.Schema; export type RulesListResultList = Array; export declare const RulesListResultList: S.Schema; export interface ListRulesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: RulesListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListRulesResponse: S.Schema; export type ConfigurationEditRequestTokenSourcesList = Array; export declare const ConfigurationEditRequestTokenSourcesList: S.Schema; export interface PatchConfigurationRequest { /** Identifier. */ zoneId: string; /** UUID. */ configId: string; description?: string; title?: string; tokenSources?: ConfigurationEditRequestTokenSourcesList; } export declare const PatchConfigurationRequest: S.Schema; export type ConfigurationEditResponseTokenSourcesList = Array; export declare const ConfigurationEditResponseTokenSourcesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchConfigurationResponse { /** UUID. */ id?: string | null; description?: string | null; title?: string | null; tokenSources?: ConfigurationEditResponseTokenSourcesList | null; } export declare const PatchConfigurationResponse: S.Schema; export type RulesEditRequestAction = "log" | "block"; export declare const RulesEditRequestAction: any; export type RulesEditRequestPositionAPIShieldIndex = RulesBulkEditRequestBodyItemPositionAPIShieldIndex; export declare const RulesEditRequestPositionAPIShieldIndex: S.Schema; export type RulesEditRequestPositionAPIShieldBefore = RulesBulkEditRequestBodyItemPositionAPIShieldBefore; export declare const RulesEditRequestPositionAPIShieldBefore: S.Schema; export type RulesEditRequestPositionAPIShieldAfter = RulesBulkEditRequestBodyItemPositionAPIShieldAfter; export declare const RulesEditRequestPositionAPIShieldAfter: S.Schema; export type RulesEditRequestPosition = RulesBulkEditRequestBodyItemPositionAPIShieldIndex | RulesBulkEditRequestBodyItemPositionAPIShieldBefore | RulesBulkEditRequestBodyItemPositionAPIShieldAfter; export declare const RulesEditRequestPosition: any; export type RulesEditRequestSelectorExcludeItemOperationIdsList = Array; export declare const RulesEditRequestSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesEditRequestSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesEditRequestSelectorExcludeItemOperationIdsList; } export declare const RulesEditRequestSelectorExcludeItem: S.Schema; export type RulesEditRequestSelectorExcludeList = Array; export declare const RulesEditRequestSelectorExcludeList: S.Schema; export type RulesEditRequestSelectorIncludeItemHostList = Array; export declare const RulesEditRequestSelectorIncludeItemHostList: S.Schema; export interface RulesEditRequestSelectorIncludeItem { /** Included hostnames. */ host?: RulesEditRequestSelectorIncludeItemHostList; } export declare const RulesEditRequestSelectorIncludeItem: S.Schema; export type RulesEditRequestSelectorIncludeList = Array; export declare const RulesEditRequestSelectorIncludeList: S.Schema; export interface RulesEditRequestSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesEditRequestSelectorExcludeList; /** Select all matching operations. */ include?: RulesEditRequestSelectorIncludeList; } export declare const RulesEditRequestSelector: S.Schema; export interface PatchRuleRequest { /** Identifier. */ zoneId: string; /** UUID. */ ruleId: string; /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action?: RulesEditRequestAction | (string & {}); /** A human-readable description that gives more details than `title`. */ description?: string; /** Toggle rule on or off. */ enabled?: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression?: string; /** Update rule order among zone rules. */ position?: RulesEditRequestPosition; /** Select operations covered by this rule. */ selector?: RulesEditRequestSelector; /** A human-readable name for the rule. */ title?: string; } export declare const PatchRuleRequest: S.Schema; export type RulesEditResponseAction = "log" | "block"; export declare const RulesEditResponseAction: any; export type RulesEditResponseSelectorExcludeItemOperationIdsList = Array; export declare const RulesEditResponseSelectorExcludeItemOperationIdsList: S.Schema; export interface RulesEditResponseSelectorExcludeItem { /** Excluded operation IDs. */ operationIds?: RulesEditResponseSelectorExcludeItemOperationIdsList | null; } export declare const RulesEditResponseSelectorExcludeItem: S.Schema; export type RulesEditResponseSelectorExcludeList = Array; export declare const RulesEditResponseSelectorExcludeList: S.Schema; export type RulesEditResponseSelectorIncludeItemHostList = Array; export declare const RulesEditResponseSelectorIncludeItemHostList: S.Schema; export interface RulesEditResponseSelectorIncludeItem { /** Included hostnames. */ host?: RulesEditResponseSelectorIncludeItemHostList | null; } export declare const RulesEditResponseSelectorIncludeItem: S.Schema; export type RulesEditResponseSelectorIncludeList = Array; export declare const RulesEditResponseSelectorIncludeList: S.Schema; export interface RulesEditResponseSelector { /** Ignore operations that were otherwise included by `include`. */ exclude?: RulesEditResponseSelectorExcludeList | null; /** Select all matching operations. */ include?: RulesEditResponseSelectorIncludeList | null; } export declare const RulesEditResponseSelector: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchRuleResponse { /** Action to take on requests that match operations included in `selector` and fail `expression`. */ action: RulesEditResponseAction; /** A human-readable description that gives more details than `title`. */ description: string; /** Toggle rule on or off. */ enabled: boolean; /** Rule expression. Requests that fail to match this expression will be subject to `action`. */ expression: string; /** Select operations covered by this rule. */ selector: RulesEditResponseSelector; /** A human-readable name for the rule. */ title: string; /** UUID. */ id?: string | null; createdAt?: string | null; lastUpdated?: string | null; } export declare const PatchRuleResponse: S.Schema; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSAAlg = "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSAAlg: any; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSAKty = "RSA"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSAKty: any; export interface ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSA { /** Algorithm */ alg: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSAAlg | (string & {}); /** RSA exponent */ e: string; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSAKty; /** RSA modulus */ n: string; } export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSA: S.Schema; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg = "ES256"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg: any; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv = "P-256"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv: any; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty = "EC"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty: any; export interface ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256 { /** Algorithm */ alg: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg; /** Curve */ crv: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256: S.Schema; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg = "ES384"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg: any; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv = "P-384"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv: any; export type ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty = "EC"; export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty: any; export interface ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384 { /** Algorithm */ alg: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg; /** Curve */ crv: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384: S.Schema; export type ConfigurationCredentialsUpdateRequestKeysItem = ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyRSA | ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs256 | ConfigurationCredentialsUpdateRequestKeysItemAPIShieldCredentialsJWTKeyEcEs384; export declare const ConfigurationCredentialsUpdateRequestKeysItem: any; export type ConfigurationCredentialsUpdateRequestKeysList = Array; export declare const ConfigurationCredentialsUpdateRequestKeysList: S.Schema; export interface PutConfigurationCredentialRequest { /** Identifier. */ zoneId: string; /** UUID. */ configId: string; keys: ConfigurationCredentialsUpdateRequestKeysList; } export declare const PutConfigurationCredentialRequest: S.Schema; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSAAlg = "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSAAlg: any; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSAKty = "RSA"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSAKty: any; export interface ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSA { /** Algorithm */ alg: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSAAlg; /** RSA exponent */ e: string; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSAKty; /** RSA modulus */ n: string; } export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSA: S.Schema; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg = "ES256"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg: any; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv = "P-256"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv: any; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty = "EC"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty: any; export interface ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256 { /** Algorithm */ alg: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Alg; /** Curve */ crv: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256: S.Schema; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg = "ES384"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg: any; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv = "P-384"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv: any; export type ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty = "EC"; export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty: any; export interface ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384 { /** Algorithm */ alg: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Alg; /** Curve */ crv: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Crv; /** Key ID */ kid: string; /** Key Type */ kty: ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384Kty; /** X EC coordinate */ x: string; /** Y EC coordinate */ y: string; } export declare const ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384: S.Schema; export type ConfigurationCredentialsUpdateResponseKeysItem = ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyRSA | ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs256 | ConfigurationCredentialsUpdateResponseKeysItemAPIShieldCredentialsJWTKeyEcEs384; export declare const ConfigurationCredentialsUpdateResponseKeysItem: any; export type ConfigurationCredentialsUpdateResponseKeysList = Array; export declare const ConfigurationCredentialsUpdateResponseKeysList: S.Schema; /** Raw response payload (operation does not use the standard v4 result envelope). */ export interface PutConfigurationCredentialResponse { keys: ConfigurationCredentialsUpdateResponseKeysList; } export declare const PutConfigurationCredentialResponse: S.Schema; export type BulkCreateRulesError = CloudflareOpError; /** Create zone token validation rules. A request can create multiple Token Validation Rules. */ export declare const bulkCreateRules: API.PaginatedOperationMethod; export type BulkPatchRulesError = CloudflareOpError; /** Edit token validation rules. A request can update multiple Token Validation Rules. Rules can be re-ordered using the `position` field. Returns all updated rules. */ export declare const bulkPatchRules: API.PaginatedOperationMethod; export type CreateConfigurationError = TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Create a new Token Validation configuration */ export declare const createConfiguration: API.OperationMethod; export type CreateRuleError = TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Create a token validation rule. */ export declare const createRule: API.OperationMethod; export type DeleteConfigurationError = TokenConfigurationNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Delete Token Configuration */ export declare const deleteConfiguration: API.OperationMethod; export type DeleteRuleError = TokenValidationRuleNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Delete a zone token validation rule. */ export declare const deleteRule: API.OperationMethod; export type GetConfigurationError = TokenConfigurationNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Get a single Token Configuration */ export declare const getConfiguration: API.OperationMethod; export type GetRuleError = TokenValidationRuleNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Get a zone token validation rule. */ export declare const getRule: API.OperationMethod; export type ListConfigurationsError = TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Lists all token validation configurations for this zone */ export declare const listConfigurations: API.PaginatedOperationMethod; export type ListRulesError = TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** List token validation rules */ export declare const listRules: API.PaginatedOperationMethod; export type PatchConfigurationError = TokenConfigurationNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Edit fields of an existing Token Configuration */ export declare const patchConfiguration: API.OperationMethod; export type PatchRuleError = TokenValidationRuleNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Edit a zone token validation rule. */ export declare const patchRule: API.OperationMethod; export type PutConfigurationCredentialError = TokenConfigurationNotFound | TokenValidationNotEntitled | Forbidden | CloudflareOpError; /** Update Token Configuration credentials */ export declare const putConfigurationCredential: API.OperationMethod; //# sourceMappingURL=token_validation.d.ts.map