import * as Schema from "effect/Schema";
import { API } from "../../client.js";
import * as T from "../../traits.js";
import { BadRequest, Forbidden, NotFound } from "../../errors.js";
// Input Schema
export const LogsAlertsDestinationsDeleteCreateInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String.pipe(T.PathParam()),
    project_id: Schema.String.pipe(T.PathParam()),
    hog_function_ids: Schema.optional(Schema.Array(Schema.String)),
}).pipe(T.Http({
    method: "POST",
    path: "/api/projects/{project_id}/logs/alerts/{id}/destinations/delete/",
}));
// Output Schema
export const LogsAlertsDestinationsDeleteCreateOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
// The operation
/**
 * Delete a notification destination by deleting its HogFunction group atomically.
 *
 * @param id - A UUID string identifying this logs alert configuration.
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export const logsAlertsDestinationsDeleteCreate = 
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: LogsAlertsDestinationsDeleteCreateInput,
    outputSchema: LogsAlertsDestinationsDeleteCreateOutput,
    errors: [BadRequest, Forbidden, NotFound],
}));
//# sourceMappingURL=logsAlertsDestinationsDeleteCreate.js.map