UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

36 lines • 1.14 kB
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', 'threatSignals', 'feeds', 'raw']; /** * Retrieves the feed document fetched by the most recent poll. * * @example * ```ts * const raw = * await client.cloudforceOne.threatSignals.feeds.raw.get( * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', * { account_id: 'account_id' }, * ); * ``` */ get(feedID: string, params: RawGetParams, options?: RequestOptions): APIPromise<string>; } export declare class Raw extends BaseRaw { } export type RawGetResponse = string; export interface RawGetParams { /** * Path param */ account_id: string; /** * Query param */ format?: 'xml'; } export declare namespace Raw { export { type RawGetResponse as RawGetResponse, type RawGetParams as RawGetParams }; } //# sourceMappingURL=raw.d.mts.map