UNPKG

ivr-tester-cli

Version:

CLI for automated testing of IVR call flows

15 lines (14 loc) 464 B
import Joi from "joi"; import { When } from "ivr-tester"; import { JsonWhenPrompt } from "../jsonScenario"; declare const typeValue: "and"; export interface JsonWhenPromptAnd { type: typeof typeValue; value: JsonWhenPrompt[]; } export declare const jsonWhenPromptAnd: { typeValue: "and"; schema: Joi.ObjectSchema<JsonWhenPromptAnd>; converter: (converter: (jsonWhen: JsonWhenPrompt) => When) => (json: JsonWhenPromptAnd) => When; }; export {};