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

x/windmill/windmill-api/types/PromiseAPI.ts>PromiseScheduleApi

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 PromiseScheduleApi
import { PromiseScheduleApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/PromiseAPI.ts";

Constructors

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

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