/** * 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 type { AlertRouteChannelConfigV2 } from './AlertRouteChannelConfigV2.js'; import type { AlertRouteAlertSourceV2 } from './AlertRouteAlertSourceV2.js'; import type { AlertRouteEscalationConfigV2 } from './AlertRouteEscalationConfigV2.js'; import type { AlertRouteIncidentConfigV2 } from './AlertRouteIncidentConfigV2.js'; import type { AlertRouteIncidentTemplateV2 } from './AlertRouteIncidentTemplateV2.js'; import type { ExpressionV2 } from './ExpressionV2.js'; import type { ConditionGroupV2 } from './ConditionGroupV2.js'; import type { EngineParamBindingV2 } from './EngineParamBindingV2.js'; /** * * @export * @interface AlertRouteV2 */ export interface AlertRouteV2 { /** * Which alert sources should this alert route match? */ alert_sources: Array; /** * The channel configuration for this alert route */ channel_config: Array; /** * What condition groups must be true for this alert route to fire? */ condition_groups: Array; /** * The time of creation of this alert route */ created_at?: Date; /** * Whether this alert route is enabled or not */ enabled: boolean; /** * */ escalation_config: AlertRouteEscalationConfigV2; /** * The expressions used in this template */ expressions: Array; /** * Unique identifier for this alert route config */ id: string; /** * */ incident_config: AlertRouteIncidentConfigV2; /** * */ incident_template: AlertRouteIncidentTemplateV2; /** * Whether this alert route is private. Private alert routes will only create private incidents from alerts. */ is_private: boolean; /** * */ message_template?: EngineParamBindingV2; /** * The name of this alert route config, for the user's reference */ name: string; /** * IDs of teams that own this alert route */ owning_team_ids?: Array; /** * The time of last update of this alert route */ updated_at?: Date; /** * The version of this alert route config */ version: number; } /** * Check if a given object implements the AlertRouteV2 interface. */ export declare function instanceOfAlertRouteV2(value: object): value is AlertRouteV2; export declare function AlertRouteV2FromJSON(json: any): AlertRouteV2; export declare function AlertRouteV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertRouteV2; export declare function AlertRouteV2ToJSON(json: any): AlertRouteV2; export declare function AlertRouteV2ToJSONTyped(value?: AlertRouteV2 | null, ignoreDiscriminator?: boolean): any;