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