Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/index.ts>ScheduleService

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 ScheduleService
import { ScheduleService } from "https://deno.land/x/windmill@v1.95.0/windmill-api/index.ts";

Static Methods

createSchedule(unnamed 0: { workspace: string; requestBody: NewSchedule; }): CancelablePromise<string>

create schedule

deleteSchedule(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

delete schedule

existsSchedule(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>

does schedule exists

getSchedule(unnamed 0: { workspace: string; path: string; }): CancelablePromise<Schedule>

get schedule

listSchedules(unnamed 0: { workspace: string; page?: number; perPage?: number; }): CancelablePromise<Array<Schedule>>

list schedules

previewSchedule(unnamed 0: { requestBody: { schedule: string; timezone: string; }; }): CancelablePromise<Array<string>>

preview schedule

setScheduleEnabled(unnamed 0: { workspace: string; path: string; requestBody: { enabled: boolean; }; }): CancelablePromise<string>

set enabled schedule

updateSchedule(unnamed 0: { workspace: string; path: string; requestBody: EditSchedule; }): CancelablePromise<string>

update schedule