/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export class MonitorScheduleService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public create(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/schedule/create', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getById(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/schedule/getById', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public retryFlowExecution(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/schedule/retryFlowExecution', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public forceRun(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/schedule/forceRun', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public activateSchedule(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/schedule/activateSchedule', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deactivateSchedule(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/schedule/deactivateSchedule', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }