"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentV2 = void 0;
const resource_1 = require("cloudflare/resource");
class ContentV2 extends resource_1.APIResource {
    /**
     * Fetch script content only
     */
    get(scriptName, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/workers/scripts/${scriptName}/content/v2`, {
            ...options,
            __binaryResponse: true,
        });
    }
}
exports.ContentV2 = ContentV2;
(function (ContentV2) {
})(ContentV2 = exports.ContentV2 || (exports.ContentV2 = {}));
//# sourceMappingURL=content-v2.js.map