/** * 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 ActionsCreatePayloadV2 } from '../models/ActionsCreatePayloadV2.js'; import { type ActionsCreateResultV2 } from '../models/ActionsCreateResultV2.js'; import { type ActionsListResultV2 } from '../models/ActionsListResultV2.js'; import { type ActionsShowResultV2 } from '../models/ActionsShowResultV2.js'; import { type ActionsUpdatePayloadV2 } from '../models/ActionsUpdatePayloadV2.js'; import { type ActionsUpdateResultV2 } from '../models/ActionsUpdateResultV2.js'; export interface ActionsV2CreateRequest { /** * */ body: ActionsCreatePayloadV2; } export interface ActionsV2DeleteRequest { /** * Unique identifier for the action */ id: string; } export interface ActionsV2ListRequest { /** * Find actions related to this incident */ incident_id?: string; /** * Filter to actions from incidents of the given mode. If not set, only actions from `standard` and `retrospective` incidents are returned */ incident_mode?: ActionsV2ListIncidentModeEnum; } export interface ActionsV2ShowRequest { /** * Unique identifier for the action */ id: string; } export interface ActionsV2UpdateRequest { /** * Unique identifier for the action */ id: string; /** * */ body: ActionsUpdatePayloadV2; } /** * */ export declare class ActionsV2Api extends runtime.BaseAPI { /** * Creates request options for actionsV2Create without sending the request * @deprecated */ actionsV2CreateRequestOpts(requestParameters: ActionsV2CreateRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use POST /v3/actions instead. Create a new incident action. * Create Actions V2 * @deprecated */ actionsV2CreateRaw(requestParameters: ActionsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use POST /v3/actions instead. Create a new incident action. * Create Actions V2 * @deprecated */ actionsV2Create(requestParameters: ActionsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for actionsV2Delete without sending the request * @deprecated */ actionsV2DeleteRequestOpts(requestParameters: ActionsV2DeleteRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use DELETE /v3/actions/{id} instead. Delete an incident action. * Delete Actions V2 * @deprecated */ actionsV2DeleteRaw(requestParameters: ActionsV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use DELETE /v3/actions/{id} instead. Delete an incident action. * Delete Actions V2 * @deprecated */ actionsV2Delete(requestParameters: ActionsV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for actionsV2List without sending the request * @deprecated */ actionsV2ListRequestOpts(requestParameters: ActionsV2ListRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/actions instead. List all actions for an organisation. * List Actions V2 * @deprecated */ actionsV2ListRaw(requestParameters: ActionsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/actions instead. List all actions for an organisation. * List Actions V2 * @deprecated */ actionsV2List(requestParameters?: ActionsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for actionsV2Show without sending the request * @deprecated */ actionsV2ShowRequestOpts(requestParameters: ActionsV2ShowRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/actions/{id} instead. Get a single incident action. * Show Actions V2 * @deprecated */ actionsV2ShowRaw(requestParameters: ActionsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/actions/{id} instead. Get a single incident action. * Show Actions V2 * @deprecated */ actionsV2Show(requestParameters: ActionsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for actionsV2Update without sending the request * @deprecated */ actionsV2UpdateRequestOpts(requestParameters: ActionsV2UpdateRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use PUT /v3/actions/{id} instead. Update an existing incident action. * Update Actions V2 * @deprecated */ actionsV2UpdateRaw(requestParameters: ActionsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use PUT /v3/actions/{id} instead. Update an existing incident action. * Update Actions V2 * @deprecated */ actionsV2Update(requestParameters: ActionsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const ActionsV2ListIncidentModeEnum: { readonly Standard: "standard"; readonly Retrospective: "retrospective"; readonly Test: "test"; readonly Tutorial: "tutorial"; readonly Stream: "stream"; }; export type ActionsV2ListIncidentModeEnum = typeof ActionsV2ListIncidentModeEnum[keyof typeof ActionsV2ListIncidentModeEnum];