import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "mutation deploymentsDeleteWorkerDeployment($workerDeploymentId: ID!) {\n  deployments {\n    deleteWorkerDeployment(workerDeploymentId: $workerDeploymentId) {\n      deploymentIdentifier\n      id\n    }\n  }\n}";
// Input Schema (GraphQL variables)
export const DeploymentsDeleteWorkerDeploymentInput = Schema.Struct({
    workerDeploymentId: Schema.String,
}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "deploymentsDeleteWorkerDeployment",
    type: "mutation",
}));
// Output Schema (GraphQL selection set)
export const DeploymentsDeleteWorkerDeploymentOutput = Schema.Struct({
    deploymentIdentifier: Schema.Unknown,
    id: Schema.String,
}).pipe(T.ResponsePath("deployments.deleteWorkerDeployment"));
export const deploymentsDeleteWorkerDeployment = API.make(() => ({
    inputSchema: DeploymentsDeleteWorkerDeploymentInput,
    outputSchema: DeploymentsDeleteWorkerDeploymentOutput,
}));
//# sourceMappingURL=deploymentsDeleteWorkerDeployment.js.map