import { ObservableJobApi } from "https://deno.land/x/windmill@v1.28.1/windmill-api/types/ObservableAPI.ts";
Constructors
new
ObservableJobApi(configuration: Configuration,
requestFactory?: JobApiRequestFactory,
responseProcessor?: JobApiResponseProcessor,
Properties
private
configuration: Configurationprivate
requestFactory: JobApiRequestFactoryprivate
responseProcessor: JobApiResponseProcessorMethods
listCompletedJobs(): Observable<Array<CompletedJob>>
workspace: string,
orderDesc?: boolean,
createdBy?: string,
parentJob?: string,
scriptPathExact?: string,
scriptPathStart?: string,
scriptHash?: string,
createdBefore?: Date,
createdAfter?: Date,
success?: boolean,
jobKinds?: string,
isSkipped?: boolean,
_options?: Configuration,
list all available completed jobs
listJobs(): Observable<Array<Job>>
workspace: string,
createdBy?: string,
parentJob?: string,
scriptPathExact?: string,
scriptPathStart?: string,
scriptHash?: string,
createdBefore?: Date,
createdAfter?: Date,
jobKinds?: string,
isSkipped?: boolean,
success?: boolean,
_options?: Configuration,
list all available jobs
listQueue(): Observable<Array<QueuedJob>>
workspace: string,
orderDesc?: boolean,
createdBy?: string,
parentJob?: string,
scriptPathExact?: string,
scriptPathStart?: string,
scriptHash?: string,
createdBefore?: Date,
createdAfter?: Date,
success?: boolean,
jobKinds?: string,
_options?: Configuration,
list all available queued jobs
runFlowByPath(): Observable<string>
workspace: string,
path: string,
requestBody: { [key: string]: any; },
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run flow by path
runScriptByHash(): Observable<string>
workspace: string,
hash: string,
body: any,
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run script by hash
runScriptByPath(): Observable<string>
workspace: string,
path: string,
requestBody: { [key: string]: any; },
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run script by path
runWaitResultScriptByPath(): Observable<any>
workspace: string,
path: string,
requestBody: { [key: string]: any; },
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run script by path