UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

13 lines 600 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../resource.mjs"; import * as Core from "../../../core.mjs"; export class Snapshots extends APIResource { /** * Update indicator feed data */ update(feedId, params, options) { const { account_id, ...body } = params; return this._client.put(`/accounts/${account_id}/intel/indicator-feeds/${feedId}/snapshot`, Core.multipartFormRequestOptions({ body, ...options }))._thenUnwrap((obj) => obj.result); } } //# sourceMappingURL=snapshots.mjs.map