/* 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 MonitorReportsService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public insert(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/insert', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public find(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/find', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public findOne(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/findOne', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public sendReport(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/sendReport', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getByQuery(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/getByQuery', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public generatePdf(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/generatePdf', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public generateReportFromUrl(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/generateReportFromURL', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public archiveReport(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/archiveReport', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public unarchiveReport(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reports/unarchiveReport', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }