fix(all): GB Apps now can talk to the kb.gbapp and ask for data.
This commit is contained in:
parent
444c3e36b2
commit
f8384742b2
3 changed files with 4 additions and 3 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"name": "botlib",
|
||||||
"version": "1.4.2",
|
"version": "1.4.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"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)",
|
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index",
|
"types": "dist/index",
|
||||||
|
|
|
||||||
|
|
@ -38,11 +38,12 @@ import { GBDialogStep } from "./GBDialogStep";
|
||||||
export interface IGBConversationalService {
|
export interface IGBConversationalService {
|
||||||
sendEvent(step: GBDialogStep, name: string, value: Object);
|
sendEvent(step: GBDialogStep, name: string, value: Object);
|
||||||
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);
|
sendAudio(min: GBMinInstance, step: GBDialogStep, url: string);
|
||||||
sendSms(min: GBMinInstance, mobile: string, text: string);
|
sendSms(min: GBMinInstance, mobile: string, text: string);
|
||||||
routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<boolean>;
|
routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<boolean>;
|
||||||
getCurrentLanguage(step: GBDialogStep);
|
getCurrentLanguage(step: GBDialogStep);
|
||||||
getNewMobileCode();
|
getNewMobileCode();
|
||||||
sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string);
|
sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue