/** * 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 FollowUpsConnectExternalIssuePayloadV2 } from '../models/FollowUpsConnectExternalIssuePayloadV2.js'; import { type FollowUpsConnectExternalIssueResultV2 } from '../models/FollowUpsConnectExternalIssueResultV2.js'; import { type FollowUpsCreatePayloadV2 } from '../models/FollowUpsCreatePayloadV2.js'; import { type FollowUpsCreateResultV2 } from '../models/FollowUpsCreateResultV2.js'; import { type FollowUpsListResultV2 } from '../models/FollowUpsListResultV2.js'; import { type FollowUpsShowResultV2 } from '../models/FollowUpsShowResultV2.js'; import { type FollowUpsUpdatePayloadV2 } from '../models/FollowUpsUpdatePayloadV2.js'; import { type FollowUpsUpdateResultV2 } from '../models/FollowUpsUpdateResultV2.js'; export interface FollowUpsV2ConnectExternalIssueRequest { /** * Unique identifier for the follow-up */ id: string; /** * */ body: FollowUpsConnectExternalIssuePayloadV2; } export interface FollowUpsV2CreateRequest { /** * */ body: FollowUpsCreatePayloadV2; } export interface FollowUpsV2DeleteRequest { /** * Unique identifier for the follow-up */ id: string; } export interface FollowUpsV2ListRequest { /** * Find follow-ups related to this incident */ incident_id?: string; /** * Filter to follow-ups from incidents of the given mode. If not set, only follow-ups from `standard` and `retrospective` incidents are returned */ incident_mode?: FollowUpsV2ListIncidentModeEnum; /** * Filter follow-ups that are assigned to the given team */ assignee_team_id?: string; } export interface FollowUpsV2ShowRequest { /** * Unique identifier for the follow-up */ id: string; } export interface FollowUpsV2UpdateRequest { /** * Unique identifier for the follow-up */ id: string; /** * */ body: FollowUpsUpdatePayloadV2; } /** * */ export declare class FollowUpsV2Api extends runtime.BaseAPI { /** * Creates request options for followUpsV2ConnectExternalIssue without sending the request * @deprecated */ followUpsV2ConnectExternalIssueRequestOpts(requestParameters: FollowUpsV2ConnectExternalIssueRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use POST /v3/follow_ups/{id}/actions/connect_external_issue instead. Connect a follow-up to an existing issue in an issue tracker, using the URL of the issue. This will not work if the follow-up is already connected to an external issue. * ConnectExternalIssue Follow-ups V2 * @deprecated */ followUpsV2ConnectExternalIssueRaw(requestParameters: FollowUpsV2ConnectExternalIssueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use POST /v3/follow_ups/{id}/actions/connect_external_issue instead. Connect a follow-up to an existing issue in an issue tracker, using the URL of the issue. This will not work if the follow-up is already connected to an external issue. * ConnectExternalIssue Follow-ups V2 * @deprecated */ followUpsV2ConnectExternalIssue(requestParameters: FollowUpsV2ConnectExternalIssueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for followUpsV2Create without sending the request * @deprecated */ followUpsV2CreateRequestOpts(requestParameters: FollowUpsV2CreateRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use POST /v3/follow_ups instead. Create a new incident follow-up. * Create Follow-ups V2 * @deprecated */ followUpsV2CreateRaw(requestParameters: FollowUpsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use POST /v3/follow_ups instead. Create a new incident follow-up. * Create Follow-ups V2 * @deprecated */ followUpsV2Create(requestParameters: FollowUpsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for followUpsV2Delete without sending the request * @deprecated */ followUpsV2DeleteRequestOpts(requestParameters: FollowUpsV2DeleteRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use DELETE /v3/follow_ups/{id} instead. Delete an incident follow-up. * Delete Follow-ups V2 * @deprecated */ followUpsV2DeleteRaw(requestParameters: FollowUpsV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use DELETE /v3/follow_ups/{id} instead. Delete an incident follow-up. * Delete Follow-ups V2 * @deprecated */ followUpsV2Delete(requestParameters: FollowUpsV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for followUpsV2List without sending the request * @deprecated */ followUpsV2ListRequestOpts(requestParameters: FollowUpsV2ListRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/follow_ups instead. List all follow-ups for an organisation. * List Follow-ups V2 * @deprecated */ followUpsV2ListRaw(requestParameters: FollowUpsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/follow_ups instead. List all follow-ups for an organisation. * List Follow-ups V2 * @deprecated */ followUpsV2List(requestParameters?: FollowUpsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for followUpsV2Show without sending the request * @deprecated */ followUpsV2ShowRequestOpts(requestParameters: FollowUpsV2ShowRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/follow_ups/{id} instead. Get a single incident follow-up. * Show Follow-ups V2 * @deprecated */ followUpsV2ShowRaw(requestParameters: FollowUpsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use GET /v3/follow_ups/{id} instead. Get a single incident follow-up. * Show Follow-ups V2 * @deprecated */ followUpsV2Show(requestParameters: FollowUpsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for followUpsV2Update without sending the request * @deprecated */ followUpsV2UpdateRequestOpts(requestParameters: FollowUpsV2UpdateRequest): Promise; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use PUT /v3/follow_ups/{id} instead. Update an existing incident follow-up. * Update Follow-ups V2 * @deprecated */ followUpsV2UpdateRaw(requestParameters: FollowUpsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deprecated: this endpoint will be removed on 31 December 2026. Use PUT /v3/follow_ups/{id} instead. Update an existing incident follow-up. * Update Follow-ups V2 * @deprecated */ followUpsV2Update(requestParameters: FollowUpsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const FollowUpsV2ListIncidentModeEnum: { readonly Standard: "standard"; readonly Retrospective: "retrospective"; readonly Test: "test"; readonly Tutorial: "tutorial"; readonly Stream: "stream"; }; export type FollowUpsV2ListIncidentModeEnum = typeof FollowUpsV2ListIncidentModeEnum[keyof typeof FollowUpsV2ListIncidentModeEnum];