/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 882f1243b4bb
 */
import { workflowsRunsGetRun } from "../funcs/workflowsRunsGetRun.js";
import { workflowsRunsGetRunHistory } from "../funcs/workflowsRunsGetRunHistory.js";
import { workflowsRunsListRuns } from "../funcs/workflowsRunsListRuns.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
import { unwrapResultIterator } from "../types/operations.js";
export class Runs extends ClientSDK {
    /**
     * List Runs
     */
    async listRuns(request, options) {
        return unwrapResultIterator(workflowsRunsListRuns(this, request, options));
    }
    /**
     * Get Run
     */
    async getRun(request, options) {
        return unwrapAsync(workflowsRunsGetRun(this, request, options));
    }
    /**
     * Get Run History
     */
    async getRunHistory(request, options) {
        return unwrapAsync(workflowsRunsGetRunHistory(this, request, options));
    }
}
//# sourceMappingURL=runs.js.map