import { ScheduleService } from "https://deno.land/x/windmill@v1.146.1/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; path?: string; isFlow?: boolean; }): CancelablePromise<Array<Schedule>>
list schedules
listSchedulesWithJobs(unnamed 0: { workspace: string; page?: number; perPage?: number; }): CancelablePromise<Array<ScheduleWJobs>>
list schedules with last 20 jobs
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