/** * 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 OnCallNotificationPausesListResultV2 } from '../models/OnCallNotificationPausesListResultV2.js'; import { type OnCallNotificationPausesShowResultV2 } from '../models/OnCallNotificationPausesShowResultV2.js'; export interface OnCallNotificationPausesV2ListRequest { /** * Only return pauses that end after this time. Defaults to now, so by default only active and upcoming pauses are returned. */ from?: Date; /** * Only return pauses that start before this time */ to?: Date; /** * Integer number of records to return */ page_size?: number; /** * A pause's ID. This endpoint will return a list of pauses after this ID in relation to the API response order. */ after?: string; } export interface OnCallNotificationPausesV2ShowRequest { /** * The pause's ID */ id: string; } /** * */ export declare class OnCallNotificationPausesV2Api extends runtime.BaseAPI { /** * Creates request options for onCallNotificationPausesV2List without sending the request */ onCallNotificationPausesV2ListRequestOpts(requestParameters: OnCallNotificationPausesV2ListRequest): Promise; /** * List on-call notification pauses across the organisation. By default this returns pauses that are active now or scheduled for the future. Cancelled pauses are never returned, and pauses that were resumed early have ends_at set to when they were resumed. * List On-call Notification Pauses V2 */ onCallNotificationPausesV2ListRaw(requestParameters: OnCallNotificationPausesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List on-call notification pauses across the organisation. By default this returns pauses that are active now or scheduled for the future. Cancelled pauses are never returned, and pauses that were resumed early have ends_at set to when they were resumed. * List On-call Notification Pauses V2 */ onCallNotificationPausesV2List(requestParameters?: OnCallNotificationPausesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for onCallNotificationPausesV2Show without sending the request */ onCallNotificationPausesV2ShowRequestOpts(requestParameters: OnCallNotificationPausesV2ShowRequest): Promise; /** * Show a single on-call notification pause. Cancelled pauses are not found. * Show On-call Notification Pauses V2 */ onCallNotificationPausesV2ShowRaw(requestParameters: OnCallNotificationPausesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Show a single on-call notification pause. Cancelled pauses are not found. * Show On-call Notification Pauses V2 */ onCallNotificationPausesV2Show(requestParameters: OnCallNotificationPausesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }