/** * 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 AlertRoutesCreatePayloadV3 */ export interface AlertRoutesCreatePayloadV3 { /** * 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; } /** * Check if a given object implements the AlertRoutesCreatePayloadV3 interface. */ export declare function instanceOfAlertRoutesCreatePayloadV3(value: object): value is AlertRoutesCreatePayloadV3; export declare function AlertRoutesCreatePayloadV3FromJSON(json: any): AlertRoutesCreatePayloadV3; export declare function AlertRoutesCreatePayloadV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertRoutesCreatePayloadV3; export declare function AlertRoutesCreatePayloadV3ToJSON(json: any): AlertRoutesCreatePayloadV3; export declare function AlertRoutesCreatePayloadV3ToJSONTyped(value?: AlertRoutesCreatePayloadV3 | null, ignoreDiscriminator?: boolean): any;