UNPKG

ivr-tester-cli

Version:

CLI for automated testing of IVR call flows

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