// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class URLNormalization extends APIResource {
    /**
     * Updates the URL normalization settings.
     */
    update(params, options) {
        const { zone_id, ...body } = params;
        return this._client.put(`/zones/${zone_id}/url_normalization`, { body, ...options });
    }
    /**
     * Fetches the current URL normalization settings.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/url_normalization`, options);
    }
}
(function (URLNormalization) {
})(URLNormalization || (URLNormalization = {}));
//# sourceMappingURL=url-normalization.mjs.map