/**
 * Cloudflare URL-NORMALIZATION API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service url-normalization
 */
import * as Schema from "effect/Schema";
import * as API from "../client/api.js";
import * as T from "../traits.js";
import {} from "../errors.js";
export const GetURLNormalizationRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/url_normalization" }));
export const GetURLNormalizationResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    scope: Schema.Literals(["incoming", "both", "none"]),
    type: Schema.Literals(["cloudflare", "rfc3986"]),
}).pipe(T.ResponsePath("result"));
export const getURLNormalization = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetURLNormalizationRequest,
    output: GetURLNormalizationResponse,
    errors: [],
}));
export const PutURLNormalizationRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    scope: Schema.Literals(["incoming", "both", "none"]),
    type: Schema.Literals(["cloudflare", "rfc3986"]),
}).pipe(T.Http({ method: "PUT", path: "/zones/{zone_id}/url_normalization" }));
export const PutURLNormalizationResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    scope: Schema.Literals(["incoming", "both", "none"]),
    type: Schema.Literals(["cloudflare", "rfc3986"]),
}).pipe(T.ResponsePath("result"));
export const putURLNormalization = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: PutURLNormalizationRequest,
    output: PutURLNormalizationResponse,
    errors: [],
}));
export const DeleteURLNormalizationRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/url_normalization" }));
export const DeleteURLNormalizationResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
export const deleteURLNormalization = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DeleteURLNormalizationRequest,
    output: DeleteURLNormalizationResponse,
    errors: [],
}));
//# sourceMappingURL=url-normalization.js.map