import { APIResource } from "../../../resource.js"; import * as Core from "../../../core.js"; export declare class Status extends APIResource { /** * Update the protection status of the account. * * @example * ```ts * const response = * await client.DDoSProtection.advancedTCPProtection.status.edit( * { * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * enabled: true, * }, * ); * ``` */ edit(params: StatusEditParams, options?: Core.RequestOptions): Core.APIPromise; /** * Get the protection status of the account. * * @example * ```ts * const status = * await client.DDoSProtection.advancedTCPProtection.status.get( * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' }, * ); * ``` */ get(params: StatusGetParams, options?: Core.RequestOptions): Core.APIPromise; } export interface StatusEditResponse { enabled: boolean; } export interface StatusGetResponse { enabled: boolean; } export interface StatusEditParams { /** * Path param: Identifier. */ account_id: string; /** * Body param: Enables or disables protection. */ enabled: boolean; } export interface StatusGetParams { /** * Identifier. */ account_id: string; } export declare namespace Status { export { type StatusEditResponse as StatusEditResponse, type StatusGetResponse as StatusGetResponse, type StatusEditParams as StatusEditParams, type StatusGetParams as StatusGetParams, }; } //# sourceMappingURL=status.d.ts.map