import { PromiseFlowApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/PromiseAPI.ts";
Constructors
new
PromiseFlowApi(configuration: Configuration,
requestFactory?: FlowApiRequestFactory,
responseProcessor?: FlowApiResponseProcessor,
Properties
private
api: ObservableFlowApiMethods
archiveFlowByPath(): Promise<string>
archive flow by path
createFlow(): Promise<string>
create flow
existsFlowByPath(): Promise<boolean>
exists flow by path
getFlowByPath(): Promise<Flow>
get flow by path
getHubFlowById(id: number, _options?: Configuration): Promise<InlineResponse2004>
get hub flow by id
listFlows(): Promise<Array<Flow>>
workspace: string,
page?: number,
perPage?: number,
orderDesc?: boolean,
createdBy?: string,
pathStart?: string,
pathExact?: string,
showArchived?: boolean,
_options?: Configuration,
list all available flows
listHubFlows(_options?: Configuration): Promise<InlineResponse2003>
list all available hub flows
updateFlow(): Promise<string>
update flow