/* 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 MonitorInternalService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public getDetections(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getDetections', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public queryDetection(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/queryDetection', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAggregatedIncidents(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getAggregatedIncidents', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public addAuditLog(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/addAuditLog', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getIncidents(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getIncidents', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateIncident(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/updateIncident', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateIncidentTag(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/updateIncidentTag', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public addIncidents(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/addIncidents', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getWeeklyDetectionsData(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getWeeklyDetectionsData', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public processImapMails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/processIMAPMails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getIncidentsForFollowup(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getIncidentsForFollowup', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAssets(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getAssets', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getOrganizations(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getOrganizations', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public autoFollowup(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/autoFollowup', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getIncidentNotice(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getIncidentNotice', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getIncidentIpAndHosting(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/getIncidentIPAndHosting', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deleteAssets(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/deleteAssets', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deleteDetections(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/internal/deleteDetections', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }