/* 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 MonitorIncidentService { constructor(public readonly httpRequest: BaseHttpRequest) { } /** * @returns void * @throws ApiError */ public insert(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/insert', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * Add Multiple Incidents * API to add multiple incidents at once. * @returns void * @throws ApiError */ public bulkInsert(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/bulkInsert', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public close(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/close', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public update(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/update', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public comment(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/comment', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public import(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/import', 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/incident/getById', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getByUrl(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getByURL', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getIncidentOrg(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getIncidentOrg', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getIntel(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getIntel', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getMany(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getMany', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public addTag(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/addTag', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public removeTag(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/removeTag', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public initiateTakeDown(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/initiateTakeDown', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public statusUpdate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/statusUpdate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public descriptionUpdate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/descriptionUpdate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public attachFile(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/attachFile', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deleteAttachment(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/deleteAttachment', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateAttr(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/updateAttr', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateStatusReason(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/updateStatusReason', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public assigneeUpdate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/assigneeUpdate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public gatherScreenshot(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/gatherScreenshot', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUsersForAssignee(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getUsersForAssignee', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public canClassify(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/canClassify', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public isReclassification(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/isReclassification', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public submitIntelligentClassificationResponse(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/submitIntelligentClassificationResponse', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getDetailedClassificationResponse(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getDetailedClassificationResponse', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getClassificationSummary(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getClassificationSummary', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getResponse(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getResponse', 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/incident/getIncidents', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public sendCorrespondance(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/sendCorrespondance', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public aiOverview(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/aiOverview', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public aiImpactOverview(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/aiImpactOverview', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public aiRemediationOverview(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/aiRemediationOverview', 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/incident/addAuditLog', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getCount(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getCount', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAvgMitigationTime(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getAvgMitigationTime', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getRevenueSaved(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getRevenueSaved', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUniqueStatus(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getUniqueStatus', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getSocGenerator(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getSocGenerator', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getMedianTimeTaken(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getMedianTimeTaken', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAvgTimeTaken(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getAvgTimeTaken', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getBrandProtectionIncidents(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getBrandProtectionIncidents', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getBrandProtectionIncidentsByStatus(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/incident/getBrandProtectionIncidentsByStatus', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * Get all incidents with actionable_by_client status (or custom statuses) * and include the total audit log count per incident. * @returns void * @throws ApiError */ public getIncidentsByStatusWithAuditCount(data?: { statuses?: string[]; start?: number; end?: number; }): CancelablePromise { return this.httpRequest.request({ method: 'POST', url: '/monitor/incident/getIncidentsByStatusWithAuditCount', body: data, errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }