import * as Schema from "effect/Schema";
import { API } from "../../client.js";
import * as T from "../../traits.js";
import { Forbidden, NotFound } from "../../errors.js";
// Input Schema
export const TasksRunsStreamRetrieveInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String.pipe(T.PathParam()),
    project_id: Schema.String.pipe(T.PathParam()),
    task_id: Schema.String.pipe(T.PathParam()),
}).pipe(T.Http({
    method: "GET",
    path: "/api/projects/{project_id}/tasks/{task_id}/runs/{id}/stream/",
}));
// Output Schema
export const TasksRunsStreamRetrieveOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
// The operation
/**
 * API for managing task runs. Each run represents an execution of a task.
 *
 * @param id - A UUID string identifying this task run.
 * @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 tasksRunsStreamRetrieve = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: TasksRunsStreamRetrieveInput,
    outputSchema: TasksRunsStreamRetrieveOutput,
    errors: [Forbidden, NotFound],
}));
//# sourceMappingURL=tasksRunsStreamRetrieve.js.map