From f8384742b2d587ea70cb10ca7ba1da129c1d017c Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 31 Mar 2020 09:10:42 -0300 Subject: [PATCH] fix(all): GB Apps now can talk to the kb.gbapp and ask for data. --- package-lock.json | 2 +- package.json | 2 +- src/IGBConversationalService.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6d7e06b..6c4c642 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.4.2", + "version": "1.4.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4f96472..206a5ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.4.2", + "version": "1.4.4", "description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)", "main": "dist/index.js", "types": "dist/index", diff --git a/src/IGBConversationalService.ts b/src/IGBConversationalService.ts index ba38be3..132b5c7 100644 --- a/src/IGBConversationalService.ts +++ b/src/IGBConversationalService.ts @@ -38,11 +38,12 @@ import { GBDialogStep } from "./GBDialogStep"; export interface IGBConversationalService { sendEvent(step: GBDialogStep, name: string, value: Object); sendEvent(step: GBDialogStep, name: string, value: Object); - sendFile(min: GBMinInstance, step: GBDialogStep, url: string); + sendFile(min: GBMinInstance, step: GBDialogStep, url: string, caption: string); sendAudio(min: GBMinInstance, step: GBDialogStep, url: string); sendSms(min: GBMinInstance, mobile: string, text: string); routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise; getCurrentLanguage(step: GBDialogStep); getNewMobileCode(); sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string); + }