Function ScheduledTasksApiFp
- ScheduledTasksApiFp(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, options?): 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?, isEnabled?, options?): 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, options?): 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, options?): 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, taskTriggerInfo, options?): 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