/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime.js'; import { type IncidentUpdatesCreatePayloadV2 } from '../models/IncidentUpdatesCreatePayloadV2.js'; import { type IncidentUpdatesCreateResultV2 } from '../models/IncidentUpdatesCreateResultV2.js'; import { type IncidentUpdatesListResultV2 } from '../models/IncidentUpdatesListResultV2.js'; export interface IncidentUpdatesV2CreateRequest { /** * */ body: IncidentUpdatesCreatePayloadV2; } export interface IncidentUpdatesV2ListRequest { /** * Incident whose updates you want to list */ incident_id?: string; /** * Integer number of records to return */ page_size?: number; /** * An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. */ after?: string; } /** * */ export declare class IncidentUpdatesV2Api extends runtime.BaseAPI { /** * Creates request options for incidentUpdatesV2Create without sending the request */ incidentUpdatesV2CreateRequestOpts(requestParameters: IncidentUpdatesV2CreateRequest): Promise; /** * Share an update against an incident. An update can carry a message, move the incident to a new status, change its severity, or any combination of the three. At least one of them must be provided. Which permissions you need depends on what the update does: changing status requires permission to update an incident\'s status, and changing severity permission to update its severity. * Create Incident Updates V2 */ incidentUpdatesV2CreateRaw(requestParameters: IncidentUpdatesV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Share an update against an incident. An update can carry a message, move the incident to a new status, change its severity, or any combination of the three. At least one of them must be provided. Which permissions you need depends on what the update does: changing status requires permission to update an incident\'s status, and changing severity permission to update its severity. * Create Incident Updates V2 */ incidentUpdatesV2Create(requestParameters: IncidentUpdatesV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for incidentUpdatesV2List without sending the request */ incidentUpdatesV2ListRequestOpts(requestParameters: IncidentUpdatesV2ListRequest): Promise; /** * List all incident updates for an organisation, or for a specific incident. * List Incident Updates V2 */ incidentUpdatesV2ListRaw(requestParameters: IncidentUpdatesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List all incident updates for an organisation, or for a specific incident. * List Incident Updates V2 */ incidentUpdatesV2List(requestParameters?: IncidentUpdatesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }