Function ScheduledTasksApiFp
- ScheduledTasksApiFp(
configuration?: Configuration,
): {
getTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo>,
>;
getTasks(
isHidden?: boolean,
isEnabled?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo[]>,
>;
startTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
stopTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
updateTask(
taskId: string,
taskTriggerInfo: TaskTriggerInfo[],
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
} Returns {
getTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo>,
>;
getTasks(
isHidden?: boolean,
isEnabled?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo[]>,
>;
startTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
stopTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
updateTask(
taskId: string,
taskTriggerInfo: TaskTriggerInfo[],
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
}
getTask:function
- getTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo>,
> Parameters
- taskId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo>>
getTasks:function
- getTasks(
isHidden?: boolean,
isEnabled?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo[]>,
> Parameters
Optional
isHidden: booleanOptional
isEnabled: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskInfo[]>>
startTask:function
- startTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
- taskId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
stopTask:function
- stopTask(
taskId: string,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
- taskId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
updateTask:function
- updateTask(
taskId: string,
taskTriggerInfo: TaskTriggerInfo[],
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
- taskId: string
- taskTriggerInfo: TaskTriggerInfo[]
Optional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
ScheduledTasksApi - functional programming interface
Export