/** * 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 { CallRoutePathNodeLevelV2 } from './CallRoutePathNodeLevelV2.js'; import type { CallRoutePathNodeVoicemailV2 } from './CallRoutePathNodeVoicemailV2.js'; /** * A single step in a call route's path. * * Levels page a set of targets, and a trailing voicemail node records a message * from the caller. A path made up of only a voicemail node sends callers straight * to voicemail without paging anyone. * @export * @interface CallRoutePathNodeV2 */ export interface CallRoutePathNodeV2 { /** * Unique identifier for this node */ id: string; /** * */ level?: CallRoutePathNodeLevelV2; /** * The type of this node. Available types are: * * level: page a set of targets, rotating between them * * voicemail: record a message from the caller */ type: CallRoutePathNodeV2TypeEnum; /** * */ voicemail?: CallRoutePathNodeVoicemailV2; } /** * @export */ export declare const CallRoutePathNodeV2TypeEnum: { readonly Level: "level"; readonly Voicemail: "voicemail"; }; export type CallRoutePathNodeV2TypeEnum = typeof CallRoutePathNodeV2TypeEnum[keyof typeof CallRoutePathNodeV2TypeEnum]; /** * Check if a given object implements the CallRoutePathNodeV2 interface. */ export declare function instanceOfCallRoutePathNodeV2(value: object): value is CallRoutePathNodeV2; export declare function CallRoutePathNodeV2FromJSON(json: any): CallRoutePathNodeV2; export declare function CallRoutePathNodeV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): CallRoutePathNodeV2; export declare function CallRoutePathNodeV2ToJSON(json: any): CallRoutePathNodeV2; export declare function CallRoutePathNodeV2ToJSONTyped(value?: CallRoutePathNodeV2 | null, ignoreDiscriminator?: boolean): any;