Skip to main content
Module

x/windmill/mod.ts>ScheduleApi

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class ScheduleApi
import { ScheduleApi } from "https://deno.land/x/windmill@v1.28.1/mod.ts";

Constructors

new
ScheduleApi(
configuration: Configuration,
requestFactory?: ScheduleApiRequestFactory,
responseProcessor?: ScheduleApiResponseProcessor,
)

Properties

private
api: ObservableScheduleApi

Methods

createSchedule(
workspace: string,
newSchedule: NewSchedule,
_options?: Configuration,
): Promise<string>

create schedule

deleteSchedule(
workspace: string,
path: string,
_options?: Configuration,
): Promise<string>

delete schedule

existsSchedule(
workspace: string,
path: string,
_options?: Configuration,
): Promise<boolean>

does schedule exists

getSchedule(
workspace: string,
path: string,
_options?: Configuration,
): Promise<Schedule>

get schedule

listSchedules(
workspace: string,
page?: number,
perPage?: number,
_options?: Configuration,
): Promise<Array<Schedule>>

list schedules

previewSchedule(inlineObject17: InlineObject17, _options?: Configuration): Promise<Array<Date>>

preview schedule

setScheduleEnabled(
workspace: string,
path: string,
inlineObject18: InlineObject18,
_options?: Configuration,
): Promise<string>

set enabled schedule

updateSchedule(
workspace: string,
path: string,
editSchedule: EditSchedule,
_options?: Configuration,
): Promise<string>

update schedule