"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Snapshots = void 0;
const resource_1 = require("cloudflaredev/resource");
const core_1 = require("cloudflaredev/core");
class Snapshots extends resource_1.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`, (0, core_1.multipartFormRequestOptions)({ body, ...options }))._thenUnwrap((obj) => obj.result);
    }
}
exports.Snapshots = Snapshots;
(function (Snapshots) {
})(Snapshots = exports.Snapshots || (exports.Snapshots = {}));
//# sourceMappingURL=snapshots.js.map