import { APIResource } from "../../../resource.js"; import * as Core from "../../../core.js"; export declare class Classification extends APIResource { /** * Updates the user classification for a Security Center insight. Valid values are * 'false_positive' or 'accept_risk'. To reset, set classification to null. Cannot * change directly between classification values - must reset to null first. * * @example * ```ts * const classification = * await client.securityCenter.insights.classification.update( * 'issue_id', * { account_id: 'account_id' }, * ); * ``` */ update(issueId: string, params: ClassificationUpdateParams, options?: Core.RequestOptions): Core.APIPromise; } export interface ClassificationUpdateResponse { errors: Array; messages: Array; /** * Whether the API call was successful. */ success: true; } export declare namespace ClassificationUpdateResponse { interface Error { code: number; message: string; documentation_url?: string; source?: Error.Source; } namespace Error { interface Source { pointer?: string; } } interface Message { code: number; message: string; documentation_url?: string; source?: Message.Source; } namespace Message { interface Source { pointer?: string; } } } export interface ClassificationUpdateParams { /** * Path param: The Account ID to use for this endpoint. Mutually exclusive with the * Zone ID. */ account_id?: string; /** * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the * Account ID. */ zone_id?: string; /** * Body param: User-defined classification for the insight. Can be * 'false_positive', 'accept_risk', 'other', or null. */ classification?: 'false_positive' | 'accept_risk' | 'other' | null; /** * Body param: Rationale for the classification change. Required when * classification is 'accept_risk' or 'other'. */ rationale?: string; } export declare namespace Classification { export { type ClassificationUpdateResponse as ClassificationUpdateResponse, type ClassificationUpdateParams as ClassificationUpdateParams, }; } //# sourceMappingURL=classification.d.ts.map