/** * 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 { EscalationPathNodeLevelWithBindingPayloadV2 } from './EscalationPathNodeLevelWithBindingPayloadV2.js'; import type { EscalationPathNodeNotifyChannelWithBindingPayloadV2 } from './EscalationPathNodeNotifyChannelWithBindingPayloadV2.js'; import type { EscalationPathTemplateNodeIfElsePayloadV2 } from './EscalationPathTemplateNodeIfElsePayloadV2.js'; import type { EscalationPathNodeEscalationPathV2 } from './EscalationPathNodeEscalationPathV2.js'; import type { EscalationPathNodeDelayV2 } from './EscalationPathNodeDelayV2.js'; import type { EscalationPathNodeRepeatV2 } from './EscalationPathNodeRepeatV2.js'; /** * * @export * @interface EscalationPathTemplateNodePayloadV2 */ export interface EscalationPathTemplateNodePayloadV2 { /** * */ 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?: EscalationPathTemplateNodeIfElsePayloadV2; /** * */ level?: EscalationPathNodeLevelWithBindingPayloadV2; /** * */ notify_channel?: EscalationPathNodeNotifyChannelWithBindingPayloadV2; /** * */ 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: EscalationPathTemplateNodePayloadV2TypeEnum; } /** * @export */ export declare const EscalationPathTemplateNodePayloadV2TypeEnum: { 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 EscalationPathTemplateNodePayloadV2TypeEnum = typeof EscalationPathTemplateNodePayloadV2TypeEnum[keyof typeof EscalationPathTemplateNodePayloadV2TypeEnum]; /** * Check if a given object implements the EscalationPathTemplateNodePayloadV2 interface. */ export declare function instanceOfEscalationPathTemplateNodePayloadV2(value: object): value is EscalationPathTemplateNodePayloadV2; export declare function EscalationPathTemplateNodePayloadV2FromJSON(json: any): EscalationPathTemplateNodePayloadV2; export declare function EscalationPathTemplateNodePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathTemplateNodePayloadV2; export declare function EscalationPathTemplateNodePayloadV2ToJSON(json: any): EscalationPathTemplateNodePayloadV2; export declare function EscalationPathTemplateNodePayloadV2ToJSONTyped(value?: EscalationPathTemplateNodePayloadV2 | null, ignoreDiscriminator?: boolean): any;