/** * 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 { EscalationPathNodeNotifyChannelV2 } from './EscalationPathNodeNotifyChannelV2.js'; import type { EscalationPathNodeEscalationPathV2 } from './EscalationPathNodeEscalationPathV2.js'; import type { EscalationPathNodeIfElseV2 } from './EscalationPathNodeIfElseV2.js'; import type { EscalationPathNodeDelayV2 } from './EscalationPathNodeDelayV2.js'; import type { EscalationPathNodeLevelV2 } from './EscalationPathNodeLevelV2.js'; import type { EscalationPathNodeRepeatV2 } from './EscalationPathNodeRepeatV2.js'; /** * * @export * @interface EscalationPathNodeV2 */ export interface EscalationPathNodeV2 { /** * */ delay?: EscalationPathNodeDelayV2; /** * */ escalation_path?: EscalationPathNodeEscalationPathV2; /** * An ID for this node, unique within the escalation path. * * This allows you to reference the node in other nodes, such as when configuring a 'repeat' node. */ id: string; /** * */ if_else?: EscalationPathNodeIfElseV2; /** * */ level?: EscalationPathNodeLevelV2; /** * */ notify_channel?: EscalationPathNodeNotifyChannelV2; /** * */ repeat?: EscalationPathNodeRepeatV2; /** * The type of this node. Available types are: * * level: A set of targets (users or schedules) that should be paged, either all at once, or with a round-robin configuration. * * notify_channel: Send the escalation to a Slack channel, where it can be acked by anyone in the channel. * * if_else: Branch the escalation based on a set of conditions. * * repeat: Go back to a previous node and repeat the logic from there. * * delay: Pause the escalation for a configured duration before advancing to the next node. * * escalation_path: Reassign the escalation to another escalation path, continuing from that path's first node. * * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path. */ type: EscalationPathNodeV2TypeEnum; } /** * @export */ export declare const EscalationPathNodeV2TypeEnum: { readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; readonly Delay: "delay"; readonly Voicemail: "voicemail"; readonly EscalationPath: "escalation_path"; }; export type EscalationPathNodeV2TypeEnum = typeof EscalationPathNodeV2TypeEnum[keyof typeof EscalationPathNodeV2TypeEnum]; /** * Check if a given object implements the EscalationPathNodeV2 interface. */ export declare function instanceOfEscalationPathNodeV2(value: object): value is EscalationPathNodeV2; export declare function EscalationPathNodeV2FromJSON(json: any): EscalationPathNodeV2; export declare function EscalationPathNodeV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathNodeV2; export declare function EscalationPathNodeV2ToJSON(json: any): EscalationPathNodeV2; export declare function EscalationPathNodeV2ToJSONTyped(value?: EscalationPathNodeV2 | null, ignoreDiscriminator?: boolean): any;