/** * 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 EscalationPathsCreatePayloadV2 } from '../models/EscalationPathsCreatePayloadV2.js'; import { type EscalationPathsCreateResultV2 } from '../models/EscalationPathsCreateResultV2.js'; import { type EscalationPathsListResultV2 } from '../models/EscalationPathsListResultV2.js'; import { type EscalationPathsShowResultV2 } from '../models/EscalationPathsShowResultV2.js'; import { type EscalationPathsUpdatePayloadV2 } from '../models/EscalationPathsUpdatePayloadV2.js'; import { type EscalationPathsUpdateResultV2 } from '../models/EscalationPathsUpdateResultV2.js'; export interface EscalationPathsV2CreateRequest { /** * */ body: EscalationPathsCreatePayloadV2; } export interface EscalationPathsV2DestroyRequest { /** * Unique identifier for this escalation path. */ id: string; } export interface EscalationPathsV2ListRequest { /** * 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 interface EscalationPathsV2ShowRequest { /** * Unique identifier for this escalation path. */ id: string; } export interface EscalationPathsV2UpdateRequest { /** * Unique identifier for this escalation path. */ id: string; /** * */ body: EscalationPathsUpdatePayloadV2; } /** * */ export declare class EscalationPathsV2Api extends runtime.BaseAPI { /** * Creates request options for escalationPathsV2Create without sending the request */ escalationPathsV2CreateRequestOpts(requestParameters: EscalationPathsV2CreateRequest): Promise; /** * Create an escalation path. An escalation path is a series of steps that describe how a page should be escalated, represented as graph, supporting conditional branches based on alert priority and working intervals. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Create Escalation Paths V2 */ escalationPathsV2CreateRaw(requestParameters: EscalationPathsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create an escalation path. An escalation path is a series of steps that describe how a page should be escalated, represented as graph, supporting conditional branches based on alert priority and working intervals. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Create Escalation Paths V2 */ escalationPathsV2Create(requestParameters: EscalationPathsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for escalationPathsV2Destroy without sending the request */ escalationPathsV2DestroyRequestOpts(requestParameters: EscalationPathsV2DestroyRequest): Promise; /** * Archives an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Destroy Escalation Paths V2 */ escalationPathsV2DestroyRaw(requestParameters: EscalationPathsV2DestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Archives an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Destroy Escalation Paths V2 */ escalationPathsV2Destroy(requestParameters: EscalationPathsV2DestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for escalationPathsV2List without sending the request */ escalationPathsV2ListRequestOpts(requestParameters: EscalationPathsV2ListRequest): Promise; /** * List all escalation paths in your account. An escalation path is a series of steps that describe how a page should be escalated, represented as a graph, supporting conditional branches based on alert priority and working intervals. * List Escalation Paths V2 */ escalationPathsV2ListRaw(requestParameters: EscalationPathsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List all escalation paths in your account. An escalation path is a series of steps that describe how a page should be escalated, represented as a graph, supporting conditional branches based on alert priority and working intervals. * List Escalation Paths V2 */ escalationPathsV2List(requestParameters?: EscalationPathsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for escalationPathsV2Show without sending the request */ escalationPathsV2ShowRequestOpts(requestParameters: EscalationPathsV2ShowRequest): Promise; /** * Show an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Show Escalation Paths V2 */ escalationPathsV2ShowRaw(requestParameters: EscalationPathsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Show an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Show Escalation Paths V2 */ escalationPathsV2Show(requestParameters: EscalationPathsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for escalationPathsV2Update without sending the request */ escalationPathsV2UpdateRequestOpts(requestParameters: EscalationPathsV2UpdateRequest): Promise; /** * Updates an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Update Escalation Paths V2 */ escalationPathsV2UpdateRaw(requestParameters: EscalationPathsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path. * Update Escalation Paths V2 */ escalationPathsV2Update(requestParameters: EscalationPathsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }