fix(all): GB Apps now can talk to the kb.gbapp and ask for data.

This commit is contained in:
Rodrigo Rodriguez 2020-03-31 09:10:42 -03:00
parent 444c3e36b2
commit f8384742b2
3 changed files with 4 additions and 3 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "botlib",
"version": "1.4.2",
"version": "1.4.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -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",

View file

@ -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<boolean>;
getCurrentLanguage(step: GBDialogStep);
getNewMobileCode();
sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string);
}