From 48a6da0e46550327690ac9da17a258ac19f38564 Mon Sep 17 00:00:00 2001 From: Bradley Arsenault Date: Mon, 9 Oct 2017 16:59:42 -0400 Subject: [PATCH] Added in some missing fields from the response definition in typescript. --- ts/Interfaces.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ts/Interfaces.ts b/ts/Interfaces.ts index e0413f1..a6b71b1 100644 --- a/ts/Interfaces.ts +++ b/ts/Interfaces.ts @@ -31,6 +31,16 @@ export interface IServerResponse { speech: string; fulfillment?: { speech: string + }, + contexts?: [string], + parameters?: { + [index: string]: string; + }, + metadata?: { + intentId: string, + intentName: string, + webhookForSlotFillingUsed: boolean, + webhookUsed: boolean, } }; status: {