// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class ManagedHeaders extends APIResource {
    /**
     * Fetches a list of all Managed Transforms.
     */
    list(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/managed_headers`, options);
    }
    /**
     * Updates the status of one or more Managed Transforms.
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/managed_headers`, { body, ...options });
    }
}
(function (ManagedHeaders) {
})(ManagedHeaders || (ManagedHeaders = {}));
//# sourceMappingURL=managed-headers.mjs.map