From 0ed442584dccbc46d2f524f0847a7c88396d5b02 Mon Sep 17 00:00:00 2001 From: jamescryer Date: Tue, 7 Mar 2023 10:25:37 +0000 Subject: [PATCH] Adding missing webhook parameter for call creation --- types/calls.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/calls.d.ts b/types/calls.d.ts index 3a931c6..01ca565 100644 --- a/types/calls.d.ts +++ b/types/calls.d.ts @@ -1,3 +1,4 @@ +import { Webhooks } from 'voice'; import { datetime } from './general'; import { languages } from './voice_messages'; @@ -36,6 +37,8 @@ export interface CallParameter { destination: string; /** The first name of the contact. */ callFlow: CallFlowParameter; + /** The webhook status callback */ + webhook?: Webhooks.CreateParameters; } export interface StepParameter {