/** * 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 { ExpressionPayloadV3 } from './ExpressionPayloadV3.js'; import type { AlertGroupingConfigV3 } from './AlertGroupingConfigV3.js'; import type { AlertRouteEscalationConfigPayloadV3 } from './AlertRouteEscalationConfigPayloadV3.js'; import type { AlertMessageConfigPayloadV3 } from './AlertMessageConfigPayloadV3.js'; import type { ConditionGroupPayloadV3 } from './ConditionGroupPayloadV3.js'; import type { AlertRouteAlertSourcePayloadV3 } from './AlertRouteAlertSourcePayloadV3.js'; import type { AlertRouteIncidentConfigPayloadV3 } from './AlertRouteIncidentConfigPayloadV3.js'; /** * * @export * @interface AlertRoutesUpdatePayloadV3 */ export interface AlertRoutesUpdatePayloadV3 { /** * Which alert sources this route matches */ alert_sources: Array; /** * Filter: the condition groups that must be true for this route to fire */ condition_groups: Array; /** * Whether this alert route is enabled */ enabled: boolean; /** * */ escalation_config: AlertRouteEscalationConfigPayloadV3; /** * The expressions used by bindings in this route */ expressions: Array; /** * */ grouping_config: AlertGroupingConfigV3; /** * */ incident_config: AlertRouteIncidentConfigPayloadV3; /** * Whether this alert route is private. Private alert routes only create private incidents from alerts. */ is_private: boolean; /** * */ message_config: AlertMessageConfigPayloadV3; /** * The name of this alert route, for the user's reference */ name: string; /** * IDs of teams that own this alert route */ owning_team_ids?: Array; /** * The version this update will create. It must be one more than the route's latest version, otherwise the update is rejected - guarding against concurrent edits. */ version: number; } /** * Check if a given object implements the AlertRoutesUpdatePayloadV3 interface. */ export declare function instanceOfAlertRoutesUpdatePayloadV3(value: object): value is AlertRoutesUpdatePayloadV3; export declare function AlertRoutesUpdatePayloadV3FromJSON(json: any): AlertRoutesUpdatePayloadV3; export declare function AlertRoutesUpdatePayloadV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertRoutesUpdatePayloadV3; export declare function AlertRoutesUpdatePayloadV3ToJSON(json: any): AlertRoutesUpdatePayloadV3; export declare function AlertRoutesUpdatePayloadV3ToJSONTyped(value?: AlertRoutesUpdatePayloadV3 | null, ignoreDiscriminator?: boolean): any;