import { FlowService } from "https://deno.land/x/windmill@v1.146.1/windmill-api/index.ts";
Static Methods
archiveFlowByPath(unnamed 0: { workspace: string; path: string; requestBody: { archived?: boolean; }; }): CancelablePromise<string>
archive flow by path
createFlow(unnamed 0: { workspace: string; requestBody: (OpenFlowWPath & { draft_only?: boolean; }); }): CancelablePromise<string>
create flow
deleteFlowByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>
delete flow by path
existsFlowByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>
exists flow by path
getFlowByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<Flow>
get flow by path
getFlowByPathWithDraft(unnamed 0: { workspace: string; path: string; }): CancelablePromise<(Flow & { draft?: Flow; })>
get flow by path with draft
getFlowInputHistoryByPath(unnamed 0: { workspace: string; path: string; page?: number; perPage?: number; }): CancelablePromise<Array<Input>>
list inputs for previous completed flow jobs
getHubFlowById(unnamed 0: { id: number; }): CancelablePromise<{ flow?: OpenFlow; }>
get hub flow by id
listFlowPaths(unnamed 0: { workspace: string; }): CancelablePromise<Array<string>>
list all available flow paths
listFlows(unnamed 0: { workspace: string; page?: number; perPage?: number; orderDesc?: boolean; createdBy?: string; pathStart?: string; pathExact?: string; showArchived?: boolean; starredOnly?: boolean; }): CancelablePromise<Array<(Flow & { has_draft?: boolean; draft_only?: boolean; })>>
list all available flows
listHubFlows(): CancelablePromise<{ flows?: Array<{ id: number; flow_id: number; summary: string; apps: Array<string>; approved: boolean; votes: number; }>; }>
list all available hub flows
updateFlow(unnamed 0: { workspace: string; path: string; requestBody: OpenFlowWPath; }): CancelablePromise<string>
update flow