import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
// Input Schema
export const DeleteV2CoreEventDestinationsIdInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String.pipe(T.PathParam()),
}).pipe(T.Http({ method: "DELETE", path: "/v2/core/event_destinations/{id}" }));
// Output Schema
export const DeleteV2CoreEventDestinationsIdOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String,
    object: Schema.optional(Schema.String),
});
// The operation
/**
 * Delete an Event Destination
 *
 * Delete an event destination.
 *
 * @param id - Identifier for the event destination to delete.
 */
export const DeleteV2CoreEventDestinationsId = 
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: DeleteV2CoreEventDestinationsIdInput,
    outputSchema: DeleteV2CoreEventDestinationsIdOutput,
}));
//# sourceMappingURL=DeleteV2CoreEventDestinationsId.js.map