UNPKG

phonic

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [![npm shield](htt

32 lines (31 loc) 1.08 kB
/** * This file was auto-generated by Fern from our API Definition. */ import * as Phonic from "../../../../index.js"; /** * @example * { * to_phone_number: "+19189397081", * config: { * agent: "support-agent", * welcome_message: "Hi {{customer_name}}. How can I help you today?", * system_prompt: "You are an expert in {{subject}}. Be friendly, helpful and concise.", * template_variables: { * "customer_name": "David", * "subject": "Chess" * }, * voice_id: "grant", * no_input_poke_sec: 30, * no_input_poke_text: "Are you still there?", * no_input_end_conversation_sec: 180, * languages: ["en", "es"], * boosted_keywords: ["Load ID", "dispatch"], * tools: ["keypad_input"] * } * } */ export interface OutboundCallRequest { /** The phone number to call in E.164 format. */ to_phone_number: string; config?: Phonic.OutboundCallConfig; }