/** * 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 { EscalationPathTemplateNodeIfElseV2 } from './EscalationPathTemplateNodeIfElseV2.js'; import type { EscalationPathNodeLevelWithBindingV2 } from './EscalationPathNodeLevelWithBindingV2.js'; import type { EscalationPathNodeEscalationPathV2 } from './EscalationPathNodeEscalationPathV2.js'; import type { EscalationPathNodeNotifyChannelWithBindingV2 } from './EscalationPathNodeNotifyChannelWithBindingV2.js'; import type { EscalationPathNodeDelayV2 } from './EscalationPathNodeDelayV2.js'; import type { EscalationPathNodeRepeatV2 } from './EscalationPathNodeRepeatV2.js'; /** * * @export * @interface EscalationPathTemplateNodeV2 */ export interface EscalationPathTemplateNodeV2 { /** * */ 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?: EscalationPathTemplateNodeIfElseV2; /** * */ level?: EscalationPathNodeLevelWithBindingV2; /** * */ notify_channel?: EscalationPathNodeNotifyChannelWithBindingV2; /** * */ 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: EscalationPathTemplateNodeV2TypeEnum; } /** * @export */ export declare const EscalationPathTemplateNodeV2TypeEnum: { 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 EscalationPathTemplateNodeV2TypeEnum = typeof EscalationPathTemplateNodeV2TypeEnum[keyof typeof EscalationPathTemplateNodeV2TypeEnum]; /** * Check if a given object implements the EscalationPathTemplateNodeV2 interface. */ export declare function instanceOfEscalationPathTemplateNodeV2(value: object): value is EscalationPathTemplateNodeV2; export declare function EscalationPathTemplateNodeV2FromJSON(json: any): EscalationPathTemplateNodeV2; export declare function EscalationPathTemplateNodeV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathTemplateNodeV2; export declare function EscalationPathTemplateNodeV2ToJSON(json: any): EscalationPathTemplateNodeV2; export declare function EscalationPathTemplateNodeV2ToJSONTyped(value?: EscalationPathTemplateNodeV2 | null, ignoreDiscriminator?: boolean): any;