/* 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 MonitorActivityService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public getIncidentSearchTimeline(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/getIncidentSearchTimeline', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public addComment(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/addComment', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public toggleVisibility(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/toggleVisibility', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public viewArticle(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/viewArticle', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public markArticle(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/markArticle', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAdvisoryActivity(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/getAdvisoryActivity', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public reportRemediations(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/reportRemediations', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public viewLogs(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/viewLogs', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUnseenLogs(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/getUnseenLogs', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getLatestLog(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/getLatestLog', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getLogs(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/activity/getLogs', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }