/** * 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'; /** * * @export * @interface CallRoutePathNodePayloadV2 */ export interface CallRoutePathNodePayloadV2 { /** * Unique identifier for this node. Omit it and we'll generate one. */ 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: CallRoutePathNodePayloadV2TypeEnum; /** * */ voicemail?: CallRoutePathNodeVoicemailV2; } /** * @export */ export declare const CallRoutePathNodePayloadV2TypeEnum: { readonly Level: "level"; readonly Voicemail: "voicemail"; }; export type CallRoutePathNodePayloadV2TypeEnum = typeof CallRoutePathNodePayloadV2TypeEnum[keyof typeof CallRoutePathNodePayloadV2TypeEnum]; /** * Check if a given object implements the CallRoutePathNodePayloadV2 interface. */ export declare function instanceOfCallRoutePathNodePayloadV2(value: object): value is CallRoutePathNodePayloadV2; export declare function CallRoutePathNodePayloadV2FromJSON(json: any): CallRoutePathNodePayloadV2; export declare function CallRoutePathNodePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): CallRoutePathNodePayloadV2; export declare function CallRoutePathNodePayloadV2ToJSON(json: any): CallRoutePathNodePayloadV2; export declare function CallRoutePathNodePayloadV2ToJSONTyped(value?: CallRoutePathNodePayloadV2 | null, ignoreDiscriminator?: boolean): any;