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 OriginCloudRegionNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class OriginCloudRegionNotFound extends /*@__PURE__*/ OriginCloudRegionNotFound_base { } declare const SettingUnavailableForPlan_base: S.Class, import("effect/Cause").YieldableError>; export declare class SettingUnavailableForPlan extends /*@__PURE__*/ SettingUnavailableForPlan_base { } declare const Unauthorized_base: S.Class, import("effect/Cause").YieldableError>; export declare class Unauthorized extends /*@__PURE__*/ Unauthorized_base { } declare const VariantsNotConfigured_base: S.Class, import("effect/Cause").YieldableError>; export declare class VariantsNotConfigured extends /*@__PURE__*/ VariantsNotConfigured_base { } export interface BulkDeleteOriginCloudRegionsRequest { /** Identifier. */ zoneId: string; } export declare const BulkDeleteOriginCloudRegionsRequest: S.Schema; export interface OriginCloudRegionsBulkDeleteResponseFailedItem { /** The origin IP address for this item. */ originIp: string; /** Error message explaining why the item failed. Present only on failed items. */ error?: string | null; /** Cloud vendor region identifier. Present on succeeded items (the new value for upsert, the deleted value for delete). */ region?: string | null; /** Cloud vendor identifier. Present on succeeded items (the new value for upsert, the deleted value for delete). */ vendor?: string | null; } export declare const OriginCloudRegionsBulkDeleteResponseFailedItem: S.Schema; export type OriginCloudRegionsBulkDeleteResponseFailedList = Array; export declare const OriginCloudRegionsBulkDeleteResponseFailedList: S.Schema; export type OriginCloudRegionsBulkDeleteResponseSucceededItem = OriginCloudRegionsBulkDeleteResponseFailedItem; export declare const OriginCloudRegionsBulkDeleteResponseSucceededItem: S.Schema; export type OriginCloudRegionsBulkDeleteResponseSucceededList = Array; export declare const OriginCloudRegionsBulkDeleteResponseSucceededList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface BulkDeleteOriginCloudRegionsResponse { /** Items that could not be applied, with error details. */ failed: OriginCloudRegionsBulkDeleteResponseFailedList; /** Items that were successfully applied. */ succeeded: OriginCloudRegionsBulkDeleteResponseSucceededList; } export declare const BulkDeleteOriginCloudRegionsResponse: S.Schema; export type OriginCloudRegionsBulkUpdateRequestBodyItemVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsBulkUpdateRequestBodyItemVendor: any; export interface OriginCloudRegionsBulkUpdateRequestBodyItem { /** Origin IP address (IPv4 or IPv6). For the single PUT endpoint (`PUT /origin/cloud_regions/{origin_ip}`), this field must match the path parameter or the request will be rejected with a 400 error. For the batch PUT endpoint, this field identifies which mapping to upsert. */ originIp: string; /** Cloud vendor region identifier. Must be a valid region for the specified vendor as returned by the supported_regions endpoint. */ region: string; /** Cloud vendor hosting the origin. Must be one of the supported vendors. */ vendor: OriginCloudRegionsBulkUpdateRequestBodyItemVendor | (string & {}); } export declare const OriginCloudRegionsBulkUpdateRequestBodyItem: S.Schema; export type OriginCloudRegionsBulkUpdateRequestBodyList = Array; export declare const OriginCloudRegionsBulkUpdateRequestBodyList: S.Schema; export interface BulkPutOriginCloudRegionsRequest { /** Identifier. */ zoneId: string; body: OriginCloudRegionsBulkUpdateRequestBodyList; } export declare const BulkPutOriginCloudRegionsRequest: S.Schema; export type OriginCloudRegionsBulkUpdateResponseFailedItem = OriginCloudRegionsBulkDeleteResponseFailedItem; export declare const OriginCloudRegionsBulkUpdateResponseFailedItem: S.Schema; export type OriginCloudRegionsBulkUpdateResponseFailedList = Array; export declare const OriginCloudRegionsBulkUpdateResponseFailedList: S.Schema; export type OriginCloudRegionsBulkUpdateResponseSucceededItem = OriginCloudRegionsBulkDeleteResponseFailedItem; export declare const OriginCloudRegionsBulkUpdateResponseSucceededItem: S.Schema; export type OriginCloudRegionsBulkUpdateResponseSucceededList = Array; export declare const OriginCloudRegionsBulkUpdateResponseSucceededList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface BulkPutOriginCloudRegionsResponse { /** Items that could not be applied, with error details. */ failed: OriginCloudRegionsBulkUpdateResponseFailedList; /** Items that were successfully applied. */ succeeded: OriginCloudRegionsBulkUpdateResponseSucceededList; } export declare const BulkPutOriginCloudRegionsResponse: S.Schema; export interface ClearCacheReserveRequest { /** Identifier. */ zoneId: string; } export declare const ClearCacheReserveRequest: S.Schema; export type CacheReserveClearResponseId = "cache_reserve_clear"; export declare const CacheReserveClearResponseId: any; export type CacheReserveClearResponseState = "In-progress" | "Completed"; export declare const CacheReserveClearResponseState: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface ClearCacheReserveResponse { /** ID of the zone setting. */ id: CacheReserveClearResponseId; /** The time that the latest Cache Reserve Clear operation started. */ startTs: string; /** The current state of the Cache Reserve Clear operation. */ state: CacheReserveClearResponseState; /** The time that the latest Cache Reserve Clear operation completed. */ endTs?: string | null; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const ClearCacheReserveResponse: S.Schema; export type SmartTieredCacheCreateRequestValue = "on" | "off"; export declare const SmartTieredCacheCreateRequestValue: any; export interface CreateSmartTieredCacheRequest { /** Identifier. */ zoneId: string; /** Enable or disable the Smart Tiered Cache. */ value: SmartTieredCacheCreateRequestValue | (string & {}); } export declare const CreateSmartTieredCacheRequest: S.Schema; export type SmartTieredCacheCreateResponseId = "tiered_cache_smart_topology_enable"; export declare const SmartTieredCacheCreateResponseId: any; export type SmartTieredCacheCreateResponseValue = "on" | "off"; export declare const SmartTieredCacheCreateResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateSmartTieredCacheResponse { /** The identifier of the caching setting. */ id: SmartTieredCacheCreateResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Smart Tiered Cache zone setting. */ value: SmartTieredCacheCreateResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const CreateSmartTieredCacheResponse: S.Schema; export interface DeleteOriginCloudRegionRequest { /** Identifier. */ zoneId: string; originIP: string; } export declare const DeleteOriginCloudRegionRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteOriginCloudRegionResponse { /** The origin IP address whose mapping was deleted. */ originIp: string; } export declare const DeleteOriginCloudRegionResponse: S.Schema; export interface DeleteSmartTieredCacheRequest { /** Identifier. */ zoneId: string; } export declare const DeleteSmartTieredCacheRequest: S.Schema; export type SmartTieredCacheDeleteResponseId = "tiered_cache_smart_topology_enable"; export declare const SmartTieredCacheDeleteResponseId: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteSmartTieredCacheResponse { /** The identifier of the caching setting. */ id: SmartTieredCacheDeleteResponseId; /** Whether the setting is editable. */ editable: boolean; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const DeleteSmartTieredCacheResponse: S.Schema; export interface DeleteVariantRequest { /** Identifier. */ zoneId: string; } export declare const DeleteVariantRequest: S.Schema; export type VariantsDeleteResponseId = "variants"; export declare const VariantsDeleteResponseId: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteVariantResponse { /** The identifier of the caching setting. */ id: VariantsDeleteResponseId; /** Whether the setting is editable. */ editable: boolean; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const DeleteVariantResponse: S.Schema; export interface GetCacheReserveRequest { /** Identifier. */ zoneId: string; } export declare const GetCacheReserveRequest: S.Schema; export type CacheReserveGetResponseId = "cache_reserve"; export declare const CacheReserveGetResponseId: any; export type CacheReserveGetResponseValue = "on" | "off"; export declare const CacheReserveGetResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetCacheReserveResponse { /** The identifier of the caching setting. */ id: CacheReserveGetResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Cache Reserve zone setting. */ value: CacheReserveGetResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const GetCacheReserveResponse: S.Schema; export interface GetOriginCloudRegionRequest { /** Identifier. */ zoneId: string; originIP: string; } export declare const GetOriginCloudRegionRequest: S.Schema; export type OriginCloudRegionsGetResponseVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsGetResponseVendor: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetOriginCloudRegionResponse { /** The origin IP address (IPv4 or IPv6). Normalized to canonical form (RFC 5952 for IPv6). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsGetResponseVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const GetOriginCloudRegionResponse: S.Schema; export interface GetRegionalTieredCacheRequest { /** Identifier. */ zoneId: string; } export declare const GetRegionalTieredCacheRequest: S.Schema; export type RegionalTieredCacheGetResponseId = "tc_regional"; export declare const RegionalTieredCacheGetResponseId: any; export type RegionalTieredCacheGetResponseValue = "on" | "off"; export declare const RegionalTieredCacheGetResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetRegionalTieredCacheResponse { /** The identifier of the caching setting. */ id: RegionalTieredCacheGetResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Regional Tiered Cache zone setting. */ value: RegionalTieredCacheGetResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const GetRegionalTieredCacheResponse: S.Schema; export interface GetSmartTieredCacheRequest { /** Identifier. */ zoneId: string; } export declare const GetSmartTieredCacheRequest: S.Schema; export type SmartTieredCacheGetResponseId = "tiered_cache_smart_topology_enable"; export declare const SmartTieredCacheGetResponseId: any; export type SmartTieredCacheGetResponseValue = "on" | "off"; export declare const SmartTieredCacheGetResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetSmartTieredCacheResponse { /** The identifier of the caching setting. */ id: SmartTieredCacheGetResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Smart Tiered Cache zone setting. */ value: SmartTieredCacheGetResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const GetSmartTieredCacheResponse: S.Schema; export interface GetVariantRequest { /** Identifier. */ zoneId: string; } export declare const GetVariantRequest: S.Schema; export type VariantsGetResponseId = "variants"; export declare const VariantsGetResponseId: any; export type VariantsGetResponseValueAvifList = Array; export declare const VariantsGetResponseValueAvifList: S.Schema; export type VariantsGetResponseValueBmpList = Array; export declare const VariantsGetResponseValueBmpList: S.Schema; export type VariantsGetResponseValueGifList = Array; export declare const VariantsGetResponseValueGifList: S.Schema; export type VariantsGetResponseValueJp2List = Array; export declare const VariantsGetResponseValueJp2List: S.Schema; export type VariantsGetResponseValueJpegList = Array; export declare const VariantsGetResponseValueJpegList: S.Schema; export type VariantsGetResponseValueJpgList = Array; export declare const VariantsGetResponseValueJpgList: S.Schema; export type VariantsGetResponseValueJpg2List = Array; export declare const VariantsGetResponseValueJpg2List: S.Schema; export type VariantsGetResponseValuePngList = Array; export declare const VariantsGetResponseValuePngList: S.Schema; export type VariantsGetResponseValueTifList = Array; export declare const VariantsGetResponseValueTifList: S.Schema; export type VariantsGetResponseValueTiffList = Array; export declare const VariantsGetResponseValueTiffList: S.Schema; export type VariantsGetResponseValueWebpList = Array; export declare const VariantsGetResponseValueWebpList: S.Schema; export interface VariantsGetResponseValue { /** List of strings with the MIME types of all the variants that should be served for avif. */ avif?: VariantsGetResponseValueAvifList | null; /** List of strings with the MIME types of all the variants that should be served for bmp. */ bmp?: VariantsGetResponseValueBmpList | null; /** List of strings with the MIME types of all the variants that should be served for gif. */ gif?: VariantsGetResponseValueGifList | null; /** List of strings with the MIME types of all the variants that should be served for jp2. */ jp2?: VariantsGetResponseValueJp2List | null; /** List of strings with the MIME types of all the variants that should be served for jpeg. */ jpeg?: VariantsGetResponseValueJpegList | null; /** List of strings with the MIME types of all the variants that should be served for jpg. */ jpg?: VariantsGetResponseValueJpgList | null; /** List of strings with the MIME types of all the variants that should be served for jpg2. */ jpg2?: VariantsGetResponseValueJpg2List | null; /** List of strings with the MIME types of all the variants that should be served for png. */ png?: VariantsGetResponseValuePngList | null; /** List of strings with the MIME types of all the variants that should be served for tif. */ tif?: VariantsGetResponseValueTifList | null; /** List of strings with the MIME types of all the variants that should be served for tiff. */ tiff?: VariantsGetResponseValueTiffList | null; /** List of strings with the MIME types of all the variants that should be served for webp. */ webp?: VariantsGetResponseValueWebpList | null; } export declare const VariantsGetResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetVariantResponse { /** The identifier of the caching setting. */ id: VariantsGetResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the zone setting. */ value: VariantsGetResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const GetVariantResponse: S.Schema; export interface ListOriginCloudRegionsRequest { /** Identifier. */ zoneId: string; /** Page number of paginated results. */ page?: number; /** Number of items per page. */ perPage?: number; } export declare const ListOriginCloudRegionsRequest: S.Schema; export type OriginCloudRegionsListResultItemVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsListResultItemVendor: any; export interface OriginCloudRegionsListResultItem { /** The origin IP address (IPv4 or IPv6). Normalized to canonical form (RFC 5952 for IPv6). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsListResultItemVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsListResultItem: S.Schema; export type OriginCloudRegionsListResultList = Array; export declare const OriginCloudRegionsListResultList: S.Schema; export interface ListOriginCloudRegionsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: OriginCloudRegionsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListOriginCloudRegionsResponse: S.Schema; export interface OriginCloudRegionsBulkDeleteV1Request { /** Identifier. */ zoneId: string; } export declare const OriginCloudRegionsBulkDeleteV1Request: S.Schema; export type OriginCloudRegionsBulkDeleteV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsBulkDeleteV1ResponseId: any; export interface OriginCloudRegionsBulkDeleteV1ResponseValueFailedItem { /** The origin IP address for this item. */ originIp: string; /** Error message explaining why the item failed. Present only on failed items. */ error?: string | null; /** Cloud vendor region identifier. Present on succeeded items for patch operations. */ region?: string | null; /** Cloud vendor identifier. Present on succeeded items for patch operations. */ vendor?: string | null; } export declare const OriginCloudRegionsBulkDeleteV1ResponseValueFailedItem: S.Schema; export type OriginCloudRegionsBulkDeleteV1ResponseValueFailedList = Array; export declare const OriginCloudRegionsBulkDeleteV1ResponseValueFailedList: S.Schema; export type OriginCloudRegionsBulkDeleteV1ResponseValueSucceededItem = OriginCloudRegionsBulkDeleteV1ResponseValueFailedItem; export declare const OriginCloudRegionsBulkDeleteV1ResponseValueSucceededItem: S.Schema; export type OriginCloudRegionsBulkDeleteV1ResponseValueSucceededList = Array; export declare const OriginCloudRegionsBulkDeleteV1ResponseValueSucceededList: S.Schema; export interface OriginCloudRegionsBulkDeleteV1ResponseValue { /** Items that could not be applied, with error details. */ failed: OriginCloudRegionsBulkDeleteV1ResponseValueFailedList; /** Items that were successfully applied. */ succeeded: OriginCloudRegionsBulkDeleteV1ResponseValueSucceededList; } export declare const OriginCloudRegionsBulkDeleteV1ResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsBulkDeleteV1Response { id: OriginCloudRegionsBulkDeleteV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; value: OriginCloudRegionsBulkDeleteV1ResponseValue; /** Time the mapping set was last modified. Null when no items were successfully applied. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsBulkDeleteV1Response: S.Schema; export type OriginCloudRegionsBulkEditV1RequestBodyItemVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsBulkEditV1RequestBodyItemVendor: any; export interface OriginCloudRegionsBulkEditV1RequestBodyItem { /** Origin IP address (IPv4 or IPv6). Normalized to canonical form before storage (RFC 5952 for IPv6). */ ip: string; /** Cloud vendor region identifier. Must be a valid region for the specified vendor as returned by the supported_regions endpoint. */ region: string; /** Cloud vendor hosting the origin. Must be one of the supported vendors. */ vendor: OriginCloudRegionsBulkEditV1RequestBodyItemVendor | (string & {}); } export declare const OriginCloudRegionsBulkEditV1RequestBodyItem: S.Schema; export type OriginCloudRegionsBulkEditV1RequestBodyList = Array; export declare const OriginCloudRegionsBulkEditV1RequestBodyList: S.Schema; export interface OriginCloudRegionsBulkEditV1Request { /** Identifier. */ zoneId: string; body: OriginCloudRegionsBulkEditV1RequestBodyList; } export declare const OriginCloudRegionsBulkEditV1Request: S.Schema; export type OriginCloudRegionsBulkEditV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsBulkEditV1ResponseId: any; export type OriginCloudRegionsBulkEditV1ResponseValueFailedItem = OriginCloudRegionsBulkDeleteV1ResponseValueFailedItem; export declare const OriginCloudRegionsBulkEditV1ResponseValueFailedItem: S.Schema; export type OriginCloudRegionsBulkEditV1ResponseValueFailedList = Array; export declare const OriginCloudRegionsBulkEditV1ResponseValueFailedList: S.Schema; export type OriginCloudRegionsBulkEditV1ResponseValueSucceededItem = OriginCloudRegionsBulkDeleteV1ResponseValueFailedItem; export declare const OriginCloudRegionsBulkEditV1ResponseValueSucceededItem: S.Schema; export type OriginCloudRegionsBulkEditV1ResponseValueSucceededList = Array; export declare const OriginCloudRegionsBulkEditV1ResponseValueSucceededList: S.Schema; export interface OriginCloudRegionsBulkEditV1ResponseValue { /** Items that could not be applied, with error details. */ failed: OriginCloudRegionsBulkEditV1ResponseValueFailedList; /** Items that were successfully applied. */ succeeded: OriginCloudRegionsBulkEditV1ResponseValueSucceededList; } export declare const OriginCloudRegionsBulkEditV1ResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsBulkEditV1Response { id: OriginCloudRegionsBulkEditV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; value: OriginCloudRegionsBulkEditV1ResponseValue; /** Time the mapping set was last modified. Null when no items were successfully applied. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsBulkEditV1Response: S.Schema; export type OriginCloudRegionsCreateV1RequestVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsCreateV1RequestVendor: any; export interface OriginCloudRegionsCreateV1Request { /** Identifier. */ zoneId: string; /** Origin IP address (IPv4 or IPv6). Normalized to canonical form before storage (RFC 5952 for IPv6). */ ip: string; /** Cloud vendor region identifier. Must be a valid region for the specified vendor as returned by the supported_regions endpoint. */ region: string; /** Cloud vendor hosting the origin. Must be one of the supported vendors. */ vendor: OriginCloudRegionsCreateV1RequestVendor | (string & {}); } export declare const OriginCloudRegionsCreateV1Request: S.Schema; export type OriginCloudRegionsCreateV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsCreateV1ResponseId: any; export type OriginCloudRegionsCreateV1ResponseValueVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsCreateV1ResponseValueVendor: any; export interface OriginCloudRegionsCreateV1ResponseValue { /** The origin IP address (IPv4 or IPv6, canonicalized). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsCreateV1ResponseValueVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsCreateV1ResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsCreateV1Response { id: OriginCloudRegionsCreateV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; /** A single origin IP-to-cloud-region mapping. */ value: OriginCloudRegionsCreateV1ResponseValue; /** Time the mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsCreateV1Response: S.Schema; export interface OriginCloudRegionsDeleteV1Request { /** Identifier. */ zoneId: string; originIp: string; } export declare const OriginCloudRegionsDeleteV1Request: S.Schema; export type OriginCloudRegionsDeleteV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsDeleteV1ResponseId: any; export type OriginCloudRegionsDeleteV1ResponseValueVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsDeleteV1ResponseValueVendor: any; export interface OriginCloudRegionsDeleteV1ResponseValue { /** The origin IP address (IPv4 or IPv6, canonicalized). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsDeleteV1ResponseValueVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsDeleteV1ResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsDeleteV1Response { id: OriginCloudRegionsDeleteV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; /** A single origin IP-to-cloud-region mapping. */ value: OriginCloudRegionsDeleteV1ResponseValue; /** Time the mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsDeleteV1Response: S.Schema; export type OriginCloudRegionsEditV1RequestVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsEditV1RequestVendor: any; export interface OriginCloudRegionsEditV1Request { /** Identifier. */ zoneId: string; /** Origin IP address (IPv4 or IPv6). Normalized to canonical form before storage (RFC 5952 for IPv6). */ ip: string; /** Cloud vendor region identifier. Must be a valid region for the specified vendor as returned by the supported_regions endpoint. */ region: string; /** Cloud vendor hosting the origin. Must be one of the supported vendors. */ vendor: OriginCloudRegionsEditV1RequestVendor | (string & {}); } export declare const OriginCloudRegionsEditV1Request: S.Schema; export type OriginCloudRegionsEditV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsEditV1ResponseId: any; export type OriginCloudRegionsEditV1ResponseValueItemVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsEditV1ResponseValueItemVendor: any; export interface OriginCloudRegionsEditV1ResponseValueItem { /** The origin IP address (IPv4 or IPv6, canonicalized). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsEditV1ResponseValueItemVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsEditV1ResponseValueItem: S.Schema; export type OriginCloudRegionsEditV1ResponseValueList = Array; export declare const OriginCloudRegionsEditV1ResponseValueList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsEditV1Response { id: OriginCloudRegionsEditV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; value: OriginCloudRegionsEditV1ResponseValueList; /** Time the mapping set was last modified. Null when no mappings exist. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsEditV1Response: S.Schema; export interface OriginCloudRegionsGetV1Request { /** Identifier. */ zoneId: string; originIp: string; } export declare const OriginCloudRegionsGetV1Request: S.Schema; export type OriginCloudRegionsGetV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsGetV1ResponseId: any; export type OriginCloudRegionsGetV1ResponseValueVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsGetV1ResponseValueVendor: any; export interface OriginCloudRegionsGetV1ResponseValue { /** The origin IP address (IPv4 or IPv6, canonicalized). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsGetV1ResponseValueVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsGetV1ResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsGetV1Response { id: OriginCloudRegionsGetV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; /** A single origin IP-to-cloud-region mapping. */ value: OriginCloudRegionsGetV1ResponseValue; /** Time the mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsGetV1Response: S.Schema; export interface OriginCloudRegionsListV1Request { /** Identifier. */ zoneId: string; } export declare const OriginCloudRegionsListV1Request: S.Schema; export type OriginCloudRegionsListV1ResponseId = "origin_public_cloud_region"; export declare const OriginCloudRegionsListV1ResponseId: any; export type OriginCloudRegionsListV1ResponseValueItemVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsListV1ResponseValueItemVendor: any; export interface OriginCloudRegionsListV1ResponseValueItem { /** The origin IP address (IPv4 or IPv6, canonicalized). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsListV1ResponseValueItemVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsListV1ResponseValueItem: S.Schema; export type OriginCloudRegionsListV1ResponseValueList = Array; export declare const OriginCloudRegionsListV1ResponseValueList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsListV1Response { id: OriginCloudRegionsListV1ResponseId; /** Whether the setting can be modified by the current user. */ editable: boolean; value: OriginCloudRegionsListV1ResponseValueList; /** Time the mapping set was last modified. Null when no mappings exist. */ modifiedOn?: string | null; } export declare const OriginCloudRegionsListV1Response: S.Schema; export interface OriginCloudRegionsSupportedRegionsV1Request { /** Identifier. */ zoneId: string; } export declare const OriginCloudRegionsSupportedRegionsV1Request: S.Schema; export type OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueItemUpperTierColosList = Array; export declare const OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueItemUpperTierColosList: S.Schema; export interface OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueItem { /** Cloud vendor region identifier. */ name: string; /** Cloudflare Tiered Cache upper-tier colocation codes co-located with this cloud region. Requests from zones with a matching origin mapping will be routed through these colos. */ upperTierColos: OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueItemUpperTierColosList; } export declare const OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueItem: S.Schema; export type OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueList = Array; export declare const OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueList: S.Schema; export type OriginCloudRegionsSupportedRegionsV1ResponseVendorsMap = { [key: string]: OriginCloudRegionsSupportedRegionsV1ResponseVendorsValueList | undefined; }; export declare const OriginCloudRegionsSupportedRegionsV1ResponseVendorsMap: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface OriginCloudRegionsSupportedRegionsV1Response { /** Whether Cloudflare airport codes (IATA colo identifiers) were successfully resolved for the `upper_tier_colos` field on each region. When `false`, the `upper_tier_colos` arrays may be empty or incomplete. */ obtainedCodes: boolean; /** Map of vendor name to list of supported regions. */ vendors: OriginCloudRegionsSupportedRegionsV1ResponseVendorsMap; } export declare const OriginCloudRegionsSupportedRegionsV1Response: S.Schema; export type CacheReserveEditRequestValue = "on" | "off"; export declare const CacheReserveEditRequestValue: any; export interface PatchCacheReserveRequest { /** Identifier. */ zoneId: string; /** Value of the Cache Reserve zone setting. */ value: CacheReserveEditRequestValue | (string & {}); } export declare const PatchCacheReserveRequest: S.Schema; export type CacheReserveEditResponseId = "cache_reserve"; export declare const CacheReserveEditResponseId: any; export type CacheReserveEditResponseValue = "on" | "off"; export declare const CacheReserveEditResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchCacheReserveResponse { /** The identifier of the caching setting. */ id: CacheReserveEditResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Cache Reserve zone setting. */ value: CacheReserveEditResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const PatchCacheReserveResponse: S.Schema; export type RegionalTieredCacheEditRequestValue = "on" | "off"; export declare const RegionalTieredCacheEditRequestValue: any; export interface PatchRegionalTieredCacheRequest { /** Identifier. */ zoneId: string; /** Value of the Regional Tiered Cache zone setting. */ value: RegionalTieredCacheEditRequestValue | (string & {}); } export declare const PatchRegionalTieredCacheRequest: S.Schema; export type RegionalTieredCacheEditResponseId = "tc_regional"; export declare const RegionalTieredCacheEditResponseId: any; export type RegionalTieredCacheEditResponseValue = "on" | "off"; export declare const RegionalTieredCacheEditResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchRegionalTieredCacheResponse { /** The identifier of the caching setting. */ id: RegionalTieredCacheEditResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Regional Tiered Cache zone setting. */ value: RegionalTieredCacheEditResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const PatchRegionalTieredCacheResponse: S.Schema; export type SmartTieredCacheEditRequestValue = "on" | "off"; export declare const SmartTieredCacheEditRequestValue: any; export interface PatchSmartTieredCacheRequest { /** Identifier. */ zoneId: string; /** Enable or disable the Smart Tiered Cache. */ value: SmartTieredCacheEditRequestValue | (string & {}); } export declare const PatchSmartTieredCacheRequest: S.Schema; export type SmartTieredCacheEditResponseId = "tiered_cache_smart_topology_enable"; export declare const SmartTieredCacheEditResponseId: any; export type SmartTieredCacheEditResponseValue = "on" | "off"; export declare const SmartTieredCacheEditResponseValue: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchSmartTieredCacheResponse { /** The identifier of the caching setting. */ id: SmartTieredCacheEditResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the Smart Tiered Cache zone setting. */ value: SmartTieredCacheEditResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const PatchSmartTieredCacheResponse: S.Schema; export type VariantsEditRequestValueAvifList = Array; export declare const VariantsEditRequestValueAvifList: S.Schema; export type VariantsEditRequestValueBmpList = Array; export declare const VariantsEditRequestValueBmpList: S.Schema; export type VariantsEditRequestValueGifList = Array; export declare const VariantsEditRequestValueGifList: S.Schema; export type VariantsEditRequestValueJp2List = Array; export declare const VariantsEditRequestValueJp2List: S.Schema; export type VariantsEditRequestValueJpegList = Array; export declare const VariantsEditRequestValueJpegList: S.Schema; export type VariantsEditRequestValueJpgList = Array; export declare const VariantsEditRequestValueJpgList: S.Schema; export type VariantsEditRequestValueJpg2List = Array; export declare const VariantsEditRequestValueJpg2List: S.Schema; export type VariantsEditRequestValuePngList = Array; export declare const VariantsEditRequestValuePngList: S.Schema; export type VariantsEditRequestValueTifList = Array; export declare const VariantsEditRequestValueTifList: S.Schema; export type VariantsEditRequestValueTiffList = Array; export declare const VariantsEditRequestValueTiffList: S.Schema; export type VariantsEditRequestValueWebpList = Array; export declare const VariantsEditRequestValueWebpList: S.Schema; export interface VariantsEditRequestValue { /** List of strings with the MIME types of all the variants that should be served for avif. */ avif?: VariantsEditRequestValueAvifList; /** List of strings with the MIME types of all the variants that should be served for bmp. */ bmp?: VariantsEditRequestValueBmpList; /** List of strings with the MIME types of all the variants that should be served for gif. */ gif?: VariantsEditRequestValueGifList; /** List of strings with the MIME types of all the variants that should be served for jp2. */ jp2?: VariantsEditRequestValueJp2List; /** List of strings with the MIME types of all the variants that should be served for jpeg. */ jpeg?: VariantsEditRequestValueJpegList; /** List of strings with the MIME types of all the variants that should be served for jpg. */ jpg?: VariantsEditRequestValueJpgList; /** List of strings with the MIME types of all the variants that should be served for jpg2. */ jpg2?: VariantsEditRequestValueJpg2List; /** List of strings with the MIME types of all the variants that should be served for png. */ png?: VariantsEditRequestValuePngList; /** List of strings with the MIME types of all the variants that should be served for tif. */ tif?: VariantsEditRequestValueTifList; /** List of strings with the MIME types of all the variants that should be served for tiff. */ tiff?: VariantsEditRequestValueTiffList; /** List of strings with the MIME types of all the variants that should be served for webp. */ webp?: VariantsEditRequestValueWebpList; } export declare const VariantsEditRequestValue: S.Schema; export interface PatchVariantRequest { /** Identifier. */ zoneId: string; /** Value of the zone setting. */ value: VariantsEditRequestValue; } export declare const PatchVariantRequest: S.Schema; export type VariantsEditResponseId = "variants"; export declare const VariantsEditResponseId: any; export type VariantsEditResponseValueAvifList = Array; export declare const VariantsEditResponseValueAvifList: S.Schema; export type VariantsEditResponseValueBmpList = Array; export declare const VariantsEditResponseValueBmpList: S.Schema; export type VariantsEditResponseValueGifList = Array; export declare const VariantsEditResponseValueGifList: S.Schema; export type VariantsEditResponseValueJp2List = Array; export declare const VariantsEditResponseValueJp2List: S.Schema; export type VariantsEditResponseValueJpegList = Array; export declare const VariantsEditResponseValueJpegList: S.Schema; export type VariantsEditResponseValueJpgList = Array; export declare const VariantsEditResponseValueJpgList: S.Schema; export type VariantsEditResponseValueJpg2List = Array; export declare const VariantsEditResponseValueJpg2List: S.Schema; export type VariantsEditResponseValuePngList = Array; export declare const VariantsEditResponseValuePngList: S.Schema; export type VariantsEditResponseValueTifList = Array; export declare const VariantsEditResponseValueTifList: S.Schema; export type VariantsEditResponseValueTiffList = Array; export declare const VariantsEditResponseValueTiffList: S.Schema; export type VariantsEditResponseValueWebpList = Array; export declare const VariantsEditResponseValueWebpList: S.Schema; export interface VariantsEditResponseValue { /** List of strings with the MIME types of all the variants that should be served for avif. */ avif?: VariantsEditResponseValueAvifList | null; /** List of strings with the MIME types of all the variants that should be served for bmp. */ bmp?: VariantsEditResponseValueBmpList | null; /** List of strings with the MIME types of all the variants that should be served for gif. */ gif?: VariantsEditResponseValueGifList | null; /** List of strings with the MIME types of all the variants that should be served for jp2. */ jp2?: VariantsEditResponseValueJp2List | null; /** List of strings with the MIME types of all the variants that should be served for jpeg. */ jpeg?: VariantsEditResponseValueJpegList | null; /** List of strings with the MIME types of all the variants that should be served for jpg. */ jpg?: VariantsEditResponseValueJpgList | null; /** List of strings with the MIME types of all the variants that should be served for jpg2. */ jpg2?: VariantsEditResponseValueJpg2List | null; /** List of strings with the MIME types of all the variants that should be served for png. */ png?: VariantsEditResponseValuePngList | null; /** List of strings with the MIME types of all the variants that should be served for tif. */ tif?: VariantsEditResponseValueTifList | null; /** List of strings with the MIME types of all the variants that should be served for tiff. */ tiff?: VariantsEditResponseValueTiffList | null; /** List of strings with the MIME types of all the variants that should be served for webp. */ webp?: VariantsEditResponseValueWebpList | null; } export declare const VariantsEditResponseValue: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchVariantResponse { /** The identifier of the caching setting. */ id: VariantsEditResponseId; /** Whether the setting is editable. */ editable: boolean; /** Value of the zone setting. */ value: VariantsEditResponseValue; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const PatchVariantResponse: S.Schema; export type PurgeRequestTagsList = Array; export declare const PurgeRequestTagsList: S.Schema; export type PurgeRequestHostsList = Array; export declare const PurgeRequestHostsList: S.Schema; export type PurgeRequestPrefixesList = Array; export declare const PurgeRequestPrefixesList: S.Schema; export type PurgeRequestFilesCachePurgeSingleFileList = Array; export declare const PurgeRequestFilesCachePurgeSingleFileList: S.Schema; export type PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersItemHeadersMap = { [key: string]: string | undefined; }; export declare const PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersItemHeadersMap: S.Schema; export interface PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersItem { headers?: PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersItemHeadersMap; url?: string; } export declare const PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersItem: S.Schema; export type PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersList = Array; export declare const PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersList: S.Schema; export type PurgeRequestFiles = PurgeRequestFilesCachePurgeSingleFileList | PurgeRequestFilesCachePurgeSingleFileWithURLAndHeadersList; export declare const PurgeRequestFiles: any; export interface PurgeCacheRequest { zoneId: string; /** For more information on cache tags and purging by tags, please refer to [purge by cache-tags documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-tags/). */ tags?: PurgeRequestTagsList; /** For more information purging by hostnames, please refer to [purge by hostname documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-hostname/). */ hosts?: PurgeRequestHostsList; /** For more information on purging by prefixes, please refer to [purge by prefix documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge_by_prefix/). */ prefixes?: PurgeRequestPrefixesList; /** For more information, please refer to [purge everything documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-everything/). */ purgeEverything?: boolean; /** For more information on purging files, please refer to [purge by single-file documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/). */ files?: PurgeRequestFiles; } export declare const PurgeCacheRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PurgeCacheResponse { id: string; } export declare const PurgeCacheResponse: S.Schema; export type PurgeEnvironmentRequestTagsList = Array; export declare const PurgeEnvironmentRequestTagsList: S.Schema; export type PurgeEnvironmentRequestHostsList = Array; export declare const PurgeEnvironmentRequestHostsList: S.Schema; export type PurgeEnvironmentRequestPrefixesList = Array; export declare const PurgeEnvironmentRequestPrefixesList: S.Schema; export type PurgeEnvironmentRequestFilesCachePurgeSingleFileList = Array; export declare const PurgeEnvironmentRequestFilesCachePurgeSingleFileList: S.Schema; export type PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersItemHeadersMap = { [key: string]: string | undefined; }; export declare const PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersItemHeadersMap: S.Schema; export interface PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersItem { headers?: PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersItemHeadersMap; url?: string; } export declare const PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersItem: S.Schema; export type PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersList = Array; export declare const PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersList: S.Schema; export type PurgeEnvironmentRequestFiles = PurgeEnvironmentRequestFilesCachePurgeSingleFileList | PurgeEnvironmentRequestFilesCachePurgeSingleFileWithURLAndHeadersList; export declare const PurgeEnvironmentRequestFiles: any; export interface PurgeEnvironmentCacheRequest { zoneId: string; environmentId: string; /** For more information on cache tags and purging by tags, please refer to [purge by cache-tags documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-tags/). */ tags?: PurgeEnvironmentRequestTagsList; /** For more information purging by hostnames, please refer to [purge by hostname documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-hostname/). */ hosts?: PurgeEnvironmentRequestHostsList; /** For more information on purging by prefixes, please refer to [purge by prefix documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge_by_prefix/). */ prefixes?: PurgeEnvironmentRequestPrefixesList; /** For more information, please refer to [purge everything documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-everything/). */ purgeEverything?: boolean; /** For more information on purging files, please refer to [purge by single-file documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/). */ files?: PurgeEnvironmentRequestFiles; } export declare const PurgeEnvironmentCacheRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PurgeEnvironmentCacheResponse { id: string; } export declare const PurgeEnvironmentCacheResponse: S.Schema; export type OriginCloudRegionsUpdateRequestVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsUpdateRequestVendor: any; export interface PutOriginCloudRegionRequest { /** Identifier. */ zoneId: string; /** Cloud vendor region identifier. Must be a valid region for the specified vendor as returned by the supported_regions endpoint. */ region: string; /** Cloud vendor hosting the origin. Must be one of the supported vendors. */ vendor: OriginCloudRegionsUpdateRequestVendor | (string & {}); originIP: string; /** Origin IP address (IPv4 or IPv6). For the single PUT endpoint (`PUT /origin/cloud_regions/{origin_ip}`), this field must match the path parameter or the request will be rejected with a 400 error. For the batch PUT endpoint, this field identifies which mapping to upsert. */ originIp: string; } export declare const PutOriginCloudRegionRequest: S.Schema; export type OriginCloudRegionsUpdateResponseVendor = "aws" | "azure" | "gcp" | "oci"; export declare const OriginCloudRegionsUpdateResponseVendor: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutOriginCloudRegionResponse { /** The origin IP address (IPv4 or IPv6). Normalized to canonical form (RFC 5952 for IPv6). */ originIp: string; /** Cloud vendor region identifier. */ region: string; /** Cloud vendor hosting the origin. */ vendor: OriginCloudRegionsUpdateResponseVendor; /** Time this mapping was last modified. */ modifiedOn?: string | null; } export declare const PutOriginCloudRegionResponse: S.Schema; export interface StatusCacheReserveRequest { /** Identifier. */ zoneId: string; } export declare const StatusCacheReserveRequest: S.Schema; export type CacheReserveStatusResponseId = "cache_reserve_clear"; export declare const CacheReserveStatusResponseId: any; export type CacheReserveStatusResponseState = "In-progress" | "Completed"; export declare const CacheReserveStatusResponseState: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface StatusCacheReserveResponse { /** ID of the zone setting. */ id: CacheReserveStatusResponseId; /** The time that the latest Cache Reserve Clear operation started. */ startTs: string; /** The current state of the Cache Reserve Clear operation. */ state: CacheReserveStatusResponseState; /** The time that the latest Cache Reserve Clear operation completed. */ endTs?: string | null; /** Last time this setting was modified. */ modifiedOn?: string | null; } export declare const StatusCacheReserveResponse: S.Schema; export interface SupportedRegionsOriginCloudRegionRequest { /** Identifier. */ zoneId: string; } export declare const SupportedRegionsOriginCloudRegionRequest: S.Schema; export type OriginCloudRegionsSupportedRegionsResponseVendorsValueItemUpperTierColosList = Array; export declare const OriginCloudRegionsSupportedRegionsResponseVendorsValueItemUpperTierColosList: S.Schema; export interface OriginCloudRegionsSupportedRegionsResponseVendorsValueItem { /** Cloud vendor region identifier. */ name: string; /** Cloudflare Tiered Cache upper-tier colocation codes co-located with this cloud region. Requests from zones with a matching origin mapping will be routed through these colos. */ upperTierColos: OriginCloudRegionsSupportedRegionsResponseVendorsValueItemUpperTierColosList; } export declare const OriginCloudRegionsSupportedRegionsResponseVendorsValueItem: S.Schema; export type OriginCloudRegionsSupportedRegionsResponseVendorsValueList = Array; export declare const OriginCloudRegionsSupportedRegionsResponseVendorsValueList: S.Schema; export type OriginCloudRegionsSupportedRegionsResponseVendorsMap = { [key: string]: OriginCloudRegionsSupportedRegionsResponseVendorsValueList | undefined; }; export declare const OriginCloudRegionsSupportedRegionsResponseVendorsMap: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface SupportedRegionsOriginCloudRegionResponse { /** Whether Cloudflare airport codes (IATA colo identifiers) were successfully resolved for the `upper_tier_colos` field on each region. When `false`, the `upper_tier_colos` arrays may be empty or incomplete. */ obtainedCodes: boolean; /** Map of vendor name to list of supported regions. */ vendors: OriginCloudRegionsSupportedRegionsResponseVendorsMap; } export declare const SupportedRegionsOriginCloudRegionResponse: S.Schema; export type BulkDeleteOriginCloudRegionsError = CloudflareOpError; /** Removes up to 100 IP-to-cloud-region mappings in a single request. Each IP is validated independently — successfully deleted items are returned in the `succeeded` array and IPs that could not be found or are invalid are returned in the `failed` array. */ export declare const bulkDeleteOriginCloudRegions: API.OperationMethod; export type BulkPutOriginCloudRegionsError = CloudflareOpError; /** Upserts up to 100 IP-to-cloud-region mappings in a single request. Items in the request body are created or replaced; mappings not included in the request body are preserved unchanged (this is a merge operation, not a full collection replacement). Each item is validated independently — valid items are applied and invalid items are returned in the `failed` array. The vendor and region for every item are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`. */ export declare const bulkPutOriginCloudRegions: API.OperationMethod; export type ClearCacheReserveError = CloudflareOpError; /** You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation. */ export declare const clearCacheReserve: API.OperationMethod; export type CreateSmartTieredCacheError = CloudflareOpError; /** Smart Tiered Cache dynamically selects the single closest upper tier for each of your website's origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin. */ export declare const createSmartTieredCache: API.OperationMethod; export type DeleteOriginCloudRegionError = OriginCloudRegionNotFound | Forbidden | CloudflareOpError; /** Removes the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup. Returns the deleted IP on success. Returns 404 if no mapping exists for the specified IP. When the last mapping for the zone is removed the underlying rule record is also deleted. */ export declare const deleteOriginCloudRegion: API.OperationMethod; export type DeleteSmartTieredCacheError = CloudflareOpError; /** Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin. */ export declare const deleteSmartTieredCache: API.OperationMethod; export type DeleteVariantError = VariantsNotConfigured | Forbidden | CloudflareOpError; /** Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers. */ export declare const deleteVariant: API.OperationMethod; export type GetCacheReserveError = SettingUnavailableForPlan | Forbidden | CloudflareOpError; /** Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve) for more information. */ export declare const getCacheReserve: API.OperationMethod; export type GetOriginCloudRegionError = OriginCloudRegionNotFound | Forbidden | CloudflareOpError; /** Returns the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup (RFC 5952 for IPv6). Returns 404 if the zone has no mappings or if the specified IP has no mapping. */ export declare const getOriginCloudRegion: API.OperationMethod; export type GetRegionalTieredCacheError = SettingUnavailableForPlan | Forbidden | Unauthorized | CloudflareOpError; /** Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies. */ export declare const getRegionalTieredCache: API.OperationMethod; export type GetSmartTieredCacheError = Forbidden | CloudflareOpError; /** Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin. */ export declare const getSmartTieredCache: API.OperationMethod; export type GetVariantError = VariantsNotConfigured | Forbidden | CloudflareOpError; /** Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers. */ export declare const getVariant: API.OperationMethod; export type ListOriginCloudRegionsError = Forbidden | CloudflareOpError; /** Returns all IP-to-cloud-region mappings configured for the zone with pagination support. Each mapping tells Cloudflare which cloud vendor and region hosts the origin at that IP, enabling the edge to route via the nearest Tiered Cache upper-tier co-located with that cloud provider. Returns an empty array when no mappings exist. */ export declare const listOriginCloudRegions: API.PaginatedOperationMethod; export type OriginCloudRegionsBulkDeleteV1Error = CloudflareOpError; /** Removes up to 100 IP-to-cloud-region mappings in a single request. Each IP is validated independently — successfully deleted items are returned in the `succeeded` array and IPs that could not be found or are invalid are returned in the `failed` array. */ export declare const originCloudRegionsBulkDeleteV1: API.OperationMethod; export type OriginCloudRegionsBulkEditV1Error = CloudflareOpError; /** Adds or updates up to 100 IP-to-cloud-region mappings in a single request. Each item is validated independently — valid items are applied and invalid items are returned in the `failed` array. The vendor and region for every item are validated against the list from `GET /zones/{zone_id}/cache/origin_cloud_regions/supported_regions`. */ export declare const originCloudRegionsBulkEditV1: API.OperationMethod; export type OriginCloudRegionsCreateV1Error = CloudflareOpError; /** Adds a single IP-to-cloud-region mapping for the zone. The IP must be a valid IPv4 or IPv6 address and is normalized to canonical form before storage (RFC 5952 for IPv6). Returns 400 (code 1145) if a mapping for that IP already exists — use PATCH to update an existing entry. The vendor and region are validated against the list from `GET /zones/{zone_id}/cache/origin_cloud_regions/supported_regions`. */ export declare const originCloudRegionsCreateV1: API.OperationMethod; export type OriginCloudRegionsDeleteV1Error = CloudflareOpError; /** Removes the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup. Returns the deleted entry on success. Returns 404 (code 1163) if no mapping exists for the specified IP. When the last mapping for the zone is removed the underlying rule record is also deleted. */ export declare const originCloudRegionsDeleteV1: API.OperationMethod; export type OriginCloudRegionsEditV1Error = CloudflareOpError; /** Adds or updates a single IP-to-cloud-region mapping for the zone. Unlike POST, this operation is idempotent — if a mapping for the IP already exists it is overwritten. Returns the complete updated list of all mappings for the zone. Returns 403 (code 1164) when the zone has reached the limit of 3,500 IP mappings. */ export declare const originCloudRegionsEditV1: API.OperationMethod; export type OriginCloudRegionsGetV1Error = CloudflareOpError; /** Returns the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup (RFC 5952 for IPv6). Returns 404 (code 1142) if the zone has no mappings or if the specified IP has no mapping. */ export declare const originCloudRegionsGetV1: API.OperationMethod; export type OriginCloudRegionsListV1Error = CloudflareOpError; /** Returns all IP-to-cloud-region mappings configured for the zone. Each mapping tells Cloudflare which cloud vendor and region hosts the origin at that IP, enabling the edge to route via the nearest Tiered Cache upper-tier co-located with that cloud provider. Returns an empty array when no mappings exist. */ export declare const originCloudRegionsListV1: API.OperationMethod; export type OriginCloudRegionsSupportedRegionsV1Error = CloudflareOpError; /** Returns the cloud vendors and regions that are valid values for origin cloud region mappings. Each region includes the Tiered Cache upper-tier colocation codes that will be used for cache routing when a mapping targeting that region is active. Requires the zone to have Tiered Cache enabled. */ export declare const originCloudRegionsSupportedRegionsV1: API.OperationMethod; export type PatchCacheReserveError = SettingUnavailableForPlan | Forbidden | CloudflareOpError; /** Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve) for more information. */ export declare const patchCacheReserve: API.OperationMethod; export type PatchRegionalTieredCacheError = SettingUnavailableForPlan | Forbidden | CloudflareOpError; /** Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies. */ export declare const patchRegionalTieredCache: API.OperationMethod; export type PatchSmartTieredCacheError = Forbidden | CloudflareOpError; /** Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin. */ export declare const patchSmartTieredCache: API.OperationMethod; export type PatchVariantError = Forbidden | CloudflareOpError; /** Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers. */ export declare const patchVariant: API.OperationMethod; export type PurgeCacheError = CloudflareOpError; export declare const purgeCache: API.OperationMethod; export type PurgeEnvironmentCacheError = CloudflareOpError; /** Purge cached content scoped to a specific environment. Supports the same purge types as the zone-level endpoint (purge everything, by URL, by tag, host, or prefix). */ export declare const purgeEnvironmentCache: API.OperationMethod; export type PutOriginCloudRegionError = Forbidden | CloudflareOpError; /** Creates a new IP-to-cloud-region mapping or replaces the existing mapping for the specified IP. PUT is idempotent — calling it repeatedly with the same body produces the same result. The IP path parameter is normalized to canonical form (RFC 5952 for IPv6) before storage. The vendor and region are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`. Returns 400 if the `origin_ip` in the body does not match the URL path parameter. Returns 403 (code 1164) when the zone has reached the limit of 3,500 IP mappings. */ export declare const putOriginCloudRegion: API.OperationMethod; export type StatusCacheReserveError = CloudflareOpError; /** You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation. */ export declare const statusCacheReserve: API.OperationMethod; export type SupportedRegionsOriginCloudRegionError = CloudflareOpError; /** Returns the cloud vendors and regions that are valid values for origin cloud region mappings. Each region includes the Tiered Cache upper-tier colocation codes that will be used for cache routing when a mapping targeting that region is active. Requires the zone to have Tiered Cache enabled. */ export declare const supportedRegionsOriginCloudRegion: API.OperationMethod; //# sourceMappingURL=cache.d.ts.map