import { APIResource } from "../../core/resource.mjs"; import * as CustomTopicsAPI from "./custom-topics.mjs"; import { BaseCustomTopics, CustomTopicGetParams, CustomTopicGetResponse, CustomTopicUpdateParams, CustomTopicUpdateResponse, CustomTopics } from "./custom-topics.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class BaseAISecurity extends APIResource { static readonly _key: readonly ['aiSecurity']; /** * Enable or disable AI Security for Apps for a zone. * * Changes can take up to a minute to propagate to the zone. * * @example * ```ts * const aiSecurity = await client.aiSecurity.update({ * zone_id: '023e105f4ecef8ad9ca31a8372d0c353', * }); * ``` */ update(params: AISecurityUpdateParams, options?: RequestOptions): APIPromise; /** * Get whether AI Security for Apps is enabled or disabled for a zone. * * @example * ```ts * const aiSecurity = await client.aiSecurity.get({ * zone_id: '023e105f4ecef8ad9ca31a8372d0c353', * }); * ``` */ get(params: AISecurityGetParams, options?: RequestOptions): APIPromise; } export declare class AISecurity extends BaseAISecurity { customTopics: CustomTopicsAPI.CustomTopics; } /** * AI Security for Apps enablement status for a zone. */ export interface AISecurityUpdateResponse { /** * Whether AI Security for Apps is enabled on the zone. */ enabled?: boolean; } /** * AI Security for Apps enablement status for a zone. */ export interface AISecurityGetResponse { /** * Whether AI Security for Apps is enabled on the zone. */ enabled?: boolean; } export interface AISecurityUpdateParams { /** * Path param: Defines the zone. */ zone_id: string; /** * Body param: Whether AI Security for Apps is enabled on the zone. */ enabled?: boolean; } export interface AISecurityGetParams { /** * Defines the zone. */ zone_id: string; } export declare namespace AISecurity { export { type AISecurityUpdateResponse as AISecurityUpdateResponse, type AISecurityGetResponse as AISecurityGetResponse, type AISecurityUpdateParams as AISecurityUpdateParams, type AISecurityGetParams as AISecurityGetParams, }; export { CustomTopics as CustomTopics, BaseCustomTopics as BaseCustomTopics, type CustomTopicUpdateResponse as CustomTopicUpdateResponse, type CustomTopicGetResponse as CustomTopicGetResponse, type CustomTopicUpdateParams as CustomTopicUpdateParams, type CustomTopicGetParams as CustomTopicGetParams, }; } //# sourceMappingURL=ai-security.d.mts.map