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 {