import { APIResource } from "../../../core/resource.mjs"; import { APIPromise } from "../../../core/api-promise.mjs"; import { RequestOptions } from "../../../internal/request-options.mjs"; export declare class BaseRaw extends APIResource { static readonly _key: readonly ['cloudforceOne', 'threatEvents', 'raw']; /** * Updates a raw event * * @example * ```ts * const response = * await client.cloudforceOne.threatEvents.raw.edit( * 'raw_id', * { account_id: 'account_id', event_id: 'event_id' }, * ); * ``` */ edit(rawID: string, params: RawEditParams, options?: RequestOptions): APIPromise; /** * Reads data for a raw event * * @example * ```ts * const raw = await client.cloudforceOne.threatEvents.raw.get( * 'raw_id', * { account_id: 'account_id', event_id: 'event_id' }, * ); * ``` */ get(rawID: string, params: RawGetParams, options?: RequestOptions): APIPromise; } export declare class Raw extends BaseRaw { } export interface RawEditResponse { id: string; data: unknown; } export interface RawGetResponse { id: string; accountId: number; created: string; data: unknown; source: string; tlp: string; } export interface RawEditParams { /** * Path param: Account ID. */ account_id: string; /** * Path param: Event UUID. */ event_id: string; /** * Body param */ data?: unknown; /** * Body param */ source?: string; /** * Body param */ tlp?: string; } export interface RawGetParams { /** * Account ID. */ account_id: string; /** * Event UUID. */ event_id: string; } export declare namespace Raw { export { type RawEditResponse as RawEditResponse, type RawGetResponse as RawGetResponse, type RawEditParams as RawEditParams, type RawGetParams as RawGetParams, }; } //# sourceMappingURL=raw.d.mts.map