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 ContentScanningNotEnabled_base: S.Class, import("effect/Cause").YieldableError>; export declare class ContentScanningNotEnabled extends /*@__PURE__*/ ContentScanningNotEnabled_base { } declare const ContentScanningNotEntitled_base: S.Class, import("effect/Cause").YieldableError>; export declare class ContentScanningNotEntitled extends /*@__PURE__*/ ContentScanningNotEntitled_base { } declare const Forbidden_base: S.Class, import("effect/Cause").YieldableError>; export declare class Forbidden extends /*@__PURE__*/ Forbidden_base { } export type CreateRequestValue = "enabled" | "disabled"; export declare const CreateRequestValue: any; export interface CreateContentScanningRequest { /** Defines an identifier. */ zoneId: string; /** The status value for Content Scanning. */ value: CreateRequestValue | (string & {}); } export declare const CreateContentScanningRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateContentScanningResponse { /** Defines the last modification date (ISO 8601) of the Content Scanning status. */ modified?: string | null; /** Defines the status of Content Scanning. */ value?: string | null; } export declare const CreateContentScanningResponse: S.Schema; export interface PayloadsCreateRequestBodyItem { /** Defines the ruleset expression to use in matching content objects. */ payload: string; } export declare const PayloadsCreateRequestBodyItem: S.Schema; export type PayloadsCreateRequestBodyList = Array; export declare const PayloadsCreateRequestBodyList: S.Schema; export interface CreatePayloadRequest { /** Defines an identifier. */ zoneId: string; body: PayloadsCreateRequestBodyList; } export declare const CreatePayloadRequest: S.Schema; export interface PayloadsCreateResultItem { /** defines the unique ID for this custom scan expression. */ id?: string | null; /** Defines the ruleset expression to use in matching content objects. */ payload?: string | null; } export declare const PayloadsCreateResultItem: S.Schema; export type PayloadsCreateResultList = Array; export declare const PayloadsCreateResultList: S.Schema; export interface CreatePayloadResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PayloadsCreateResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const CreatePayloadResponse: S.Schema; export interface DeletePayloadRequest { /** Defines an identifier. */ zoneId: string; /** defines the unique ID for this custom scan expression. */ expressionId: string; } export declare const DeletePayloadRequest: S.Schema; export type PayloadsDeleteResultItem = PayloadsCreateResultItem; export declare const PayloadsDeleteResultItem: S.Schema; export type PayloadsDeleteResultList = Array; export declare const PayloadsDeleteResultList: S.Schema; export interface DeletePayloadResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PayloadsDeleteResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const DeletePayloadResponse: S.Schema; export interface DisableContentScanningRequest { /** Defines an identifier. */ zoneId: string; } export declare const DisableContentScanningRequest: S.Schema; export type DisableContentScanningResponse = unknown; export declare const DisableContentScanningResponse: S.Schema; export interface EnableContentScanningRequest { /** Defines an identifier. */ zoneId: string; } export declare const EnableContentScanningRequest: S.Schema; export type EnableContentScanningResponse = unknown; export declare const EnableContentScanningResponse: S.Schema; export interface GetContentScanningRequest { /** Defines an identifier. */ zoneId: string; } export declare const GetContentScanningRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetContentScanningResponse { /** Defines the last modification date (ISO 8601) of the Content Scanning status. */ modified?: string | null; /** Defines the status of Content Scanning. */ value?: string | null; } export declare const GetContentScanningResponse: S.Schema; export interface ListPayloadsRequest { /** Defines an identifier. */ zoneId: string; } export declare const ListPayloadsRequest: S.Schema; export type PayloadsListResultItem = PayloadsCreateResultItem; export declare const PayloadsListResultItem: S.Schema; export type PayloadsListResultList = Array; export declare const PayloadsListResultList: S.Schema; export interface ListPayloadsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PayloadsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListPayloadsResponse: S.Schema; export interface SettingsGetRequest { /** Defines an identifier. */ zoneId: string; } export declare const SettingsGetRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface SettingsGetResponse { /** Defines the last modification date (ISO 8601) of the Content Scanning status. */ modified?: string | null; /** Defines the status of Content Scanning. */ value?: string | null; } export declare const SettingsGetResponse: S.Schema; export type UpdateRequestValue = "enabled" | "disabled"; export declare const UpdateRequestValue: any; export interface UpdateRequest { /** Defines an identifier. */ zoneId: string; /** The status value for Content Scanning. */ value: UpdateRequestValue | (string & {}); } export declare const UpdateRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface UpdateResponse { /** Defines the last modification date (ISO 8601) of the Content Scanning status. */ modified?: string | null; /** Defines the status of Content Scanning. */ value?: string | null; } export declare const UpdateResponse: S.Schema; export type CreateContentScanningError = ContentScanningNotEntitled | Forbidden | CloudflareOpError; /** Update the Content Scanning status. */ export declare const createContentScanning: API.OperationMethod; export type CreatePayloadError = ContentScanningNotEnabled | ContentScanningNotEntitled | Forbidden | CloudflareOpError; /** Add custom scan expressions for Content Scanning. */ export declare const createPayload: API.PaginatedOperationMethod; export type DeletePayloadError = ContentScanningNotEnabled | Forbidden | CloudflareOpError; /** Delete a Content Scan Custom Expression. */ export declare const deletePayload: API.PaginatedOperationMethod; export type DisableContentScanningError = CloudflareOpError; /** Disable Content Scanning. */ export declare const disableContentScanning: API.OperationMethod; export type EnableContentScanningError = CloudflareOpError; /** Enable Content Scanning. */ export declare const enableContentScanning: API.OperationMethod; export type GetContentScanningError = Forbidden | CloudflareOpError; /** Retrieve the current status of Content Scanning. */ export declare const getContentScanning: API.OperationMethod; export type ListPayloadsError = ContentScanningNotEnabled | Forbidden | CloudflareOpError; /** Get a list of existing custom scan expressions for Content Scanning. */ export declare const listPayloads: API.PaginatedOperationMethod; export type SettingsGetError = Forbidden | CloudflareOpError; /** Retrieve the current status of Content Scanning. */ export declare const settingsGet: API.OperationMethod; export type UpdateError = ContentScanningNotEntitled | Forbidden | CloudflareOpError; /** Update the Content Scanning status. */ export declare const update: API.OperationMethod; export declare const getSetting: API.OperationMethod; export type GetSettingRequest = GetContentScanningRequest; export type GetSettingResponse = GetContentScanningResponse; export type GetSettingError = GetContentScanningError; export declare const putContentScanning: API.OperationMethod; export type PutContentScanningRequest = CreateContentScanningRequest; export type PutContentScanningResponse = CreateContentScanningResponse; export type PutContentScanningError = CreateContentScanningError; //# sourceMappingURL=content_scanning.d.ts.map