/** * 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 AlertSourcesCreatePayloadV2 } from '../models/AlertSourcesCreatePayloadV2.js'; import { type AlertSourcesCreateResultV2 } from '../models/AlertSourcesCreateResultV2.js'; import { type AlertSourcesListResultV2 } from '../models/AlertSourcesListResultV2.js'; import { type AlertSourcesShowResultV2 } from '../models/AlertSourcesShowResultV2.js'; import { type AlertSourcesUpdatePayloadV2 } from '../models/AlertSourcesUpdatePayloadV2.js'; import { type AlertSourcesUpdateResultV2 } from '../models/AlertSourcesUpdateResultV2.js'; import { type AlertSourcesValidatePayloadV2 } from '../models/AlertSourcesValidatePayloadV2.js'; export interface AlertSourcesV2CreateRequest { /** * */ body: AlertSourcesCreatePayloadV2; } export interface AlertSourcesV2DeleteRequest { /** * The ID of this alert source */ id: string; } export interface AlertSourcesV2ShowRequest { /** * The ID of this alert source */ id: string; } export interface AlertSourcesV2UpdateRequest { /** * The ID of this alert source */ id: string; /** * */ body: AlertSourcesUpdatePayloadV2; } export interface AlertSourcesV2ValidateRequest { /** * */ body: AlertSourcesValidatePayloadV2; } /** * alertSourcesV2List takes no parameters yet. The argument exists so that the first * one the API adds is a new optional field here, not a change to the * method's signature. Pass request options as the second argument. */ export interface AlertSourcesV2ListRequest { [key: string]: never; } /** * */ export declare class AlertSourcesV2Api extends runtime.BaseAPI { /** * Creates request options for alertSourcesV2Create without sending the request */ alertSourcesV2CreateRequestOpts(requestParameters: AlertSourcesV2CreateRequest): Promise; /** * Create a new alert source in your account. * Create Alert Sources V2 */ alertSourcesV2CreateRaw(requestParameters: AlertSourcesV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new alert source in your account. * Create Alert Sources V2 */ alertSourcesV2Create(requestParameters: AlertSourcesV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for alertSourcesV2Delete without sending the request */ alertSourcesV2DeleteRequestOpts(requestParameters: AlertSourcesV2DeleteRequest): Promise; /** * Delete an existing alert source in your account. * Delete Alert Sources V2 */ alertSourcesV2DeleteRaw(requestParameters: AlertSourcesV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Delete an existing alert source in your account. * Delete Alert Sources V2 */ alertSourcesV2Delete(requestParameters: AlertSourcesV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for alertSourcesV2List without sending the request */ alertSourcesV2ListRequestOpts(requestParameters: AlertSourcesV2ListRequest): Promise; /** * List all alert sources in your account. * List Alert Sources V2 */ alertSourcesV2ListRaw(requestParameters: AlertSourcesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List all alert sources in your account. * List Alert Sources V2 */ alertSourcesV2List(requestParameters?: AlertSourcesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for alertSourcesV2Show without sending the request */ alertSourcesV2ShowRequestOpts(requestParameters: AlertSourcesV2ShowRequest): Promise; /** * Load details about a specific alert source in your account. * Show Alert Sources V2 */ alertSourcesV2ShowRaw(requestParameters: AlertSourcesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Load details about a specific alert source in your account. * Show Alert Sources V2 */ alertSourcesV2Show(requestParameters: AlertSourcesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for alertSourcesV2Update without sending the request */ alertSourcesV2UpdateRequestOpts(requestParameters: AlertSourcesV2UpdateRequest): Promise; /** * Update an existing alert source in your account. * Update Alert Sources V2 */ alertSourcesV2UpdateRaw(requestParameters: AlertSourcesV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update an existing alert source in your account. * Update Alert Sources V2 */ alertSourcesV2Update(requestParameters: AlertSourcesV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for alertSourcesV2Validate without sending the request */ alertSourcesV2ValidateRequestOpts(requestParameters: AlertSourcesV2ValidateRequest): Promise; /** * Check whether an alert source template is valid, without creating or updating anything. This validates the template in the same way a create or update would: expressions are compiled and checked against your alert schema and catalog, and merge strategies are checked against the attributes they bind to. Values that are only known once an alert source exists are not validated. * Validate Alert Sources V2 */ alertSourcesV2ValidateRaw(requestParameters: AlertSourcesV2ValidateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Check whether an alert source template is valid, without creating or updating anything. This validates the template in the same way a create or update would: expressions are compiled and checked against your alert schema and catalog, and merge strategies are checked against the attributes they bind to. Values that are only known once an alert source exists are not validated. * Validate Alert Sources V2 */ alertSourcesV2Validate(requestParameters: AlertSourcesV2ValidateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }