/** * 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 { EscalationPathNodeIfElsePayloadV2 } from './EscalationPathNodeIfElsePayloadV2.js'; import type { EscalationPathNodeNotifyChannelV2 } from './EscalationPathNodeNotifyChannelV2.js'; import type { EscalationPathNodeEscalationPathV2 } from './EscalationPathNodeEscalationPathV2.js'; import type { EscalationPathNodeDelayV2 } from './EscalationPathNodeDelayV2.js'; import type { EscalationPathNodeLevelV2 } from './EscalationPathNodeLevelV2.js'; import type { EscalationPathNodeRepeatV2 } from './EscalationPathNodeRepeatV2.js'; /** * * @export * @interface EscalationPathNodePayloadV2 */ export interface EscalationPathNodePayloadV2 { /** * */ 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?: EscalationPathNodeIfElsePayloadV2; /** * */ 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: EscalationPathNodePayloadV2TypeEnum; } /** * @export */ export declare const EscalationPathNodePayloadV2TypeEnum: { 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 EscalationPathNodePayloadV2TypeEnum = typeof EscalationPathNodePayloadV2TypeEnum[keyof typeof EscalationPathNodePayloadV2TypeEnum]; /** * Check if a given object implements the EscalationPathNodePayloadV2 interface. */ export declare function instanceOfEscalationPathNodePayloadV2(value: object): value is EscalationPathNodePayloadV2; export declare function EscalationPathNodePayloadV2FromJSON(json: any): EscalationPathNodePayloadV2; export declare function EscalationPathNodePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathNodePayloadV2; export declare function EscalationPathNodePayloadV2ToJSON(json: any): EscalationPathNodePayloadV2; export declare function EscalationPathNodePayloadV2ToJSONTyped(value?: EscalationPathNodePayloadV2 | null, ignoreDiscriminator?: boolean): any;