"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.TieredCaching = void 0;
const resource_1 = require("cloudflaredev/resource");
class TieredCaching extends resource_1.APIResource {
    /**
     * Updates enablement of Tiered Caching
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/argo/tiered_caching`, { body, ...options })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Get Tiered Caching setting
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/argo/tiered_caching`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.TieredCaching = TieredCaching;
(function (TieredCaching) {
})(TieredCaching = exports.TieredCaching || (exports.TieredCaching = {}));
//# sourceMappingURL=tiered-caching.js.map