fix(all): GB Apps now can talk to the kb.gbapp and ask for data.
This commit is contained in:
parent
f8384742b2
commit
610b0d20c7
4 changed files with 11 additions and 5 deletions
|
@ -33,6 +33,7 @@
|
|||
"use strict";
|
||||
|
||||
import { IGBInstance } from "./IGBinstance";
|
||||
import { GBMinInstance } from "./GBMinInstance";
|
||||
|
||||
export interface IGBAdminService {
|
||||
acquireElevatedToken(instanceId): Promise<string>;
|
||||
|
@ -42,8 +43,9 @@ export interface IGBAdminService {
|
|||
authenticatorAuthorityHostUrl: string,
|
||||
authenticatorClientId: string,
|
||||
authenticatorClientSecret: string
|
||||
): Promise<IGBInstance>;
|
||||
): Promise<IGBInstance>;
|
||||
|
||||
getValue(instanceId: number, key: string): Promise<string>;
|
||||
setValue(instanceId: number, key: string, value: string): void;
|
||||
publish(min: GBMinInstance, packageName: string, republish: boolean): Promise<void>;
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ 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, caption: string);
|
||||
sendFile(min: GBMinInstance, step: GBDialogStep, mobile: string, 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>;
|
||||
|
|
|
@ -33,8 +33,11 @@
|
|||
"use strict";
|
||||
|
||||
import { IGBInstance } from "./IGBinstance";
|
||||
import { GBMinInstance } from "./GBMinInstance";
|
||||
|
||||
export interface IGBDeployer {
|
||||
|
||||
deployBlankBot(botId: string);
|
||||
undeployPackageFromLocalPath(instance: IGBInstance, localPath: string): Promise<void>;
|
||||
deployPackage(min: GBMinInstance, localPath: string): Promise<void>;
|
||||
deployBlankBot(botId: string): Promise<IGBInstance>;
|
||||
rebuildIndex(instance: IGBInstance, searchSchema: any): Promise<void>;
|
||||
}
|
||||
|
|
|
@ -44,5 +44,6 @@ export { GBService } from "./GBService";
|
|||
export { GBMinInstance } from "./GBMinInstance";
|
||||
export { IGBAdminService } from "./IGBAdminService";
|
||||
export { IGBInstallationDeployer } from "./IGBInstallationDeployer";
|
||||
export { IGBDeployer } from "./IGBDeployer";
|
||||
export { GBDialogStep } from "./GBDialogStep";
|
||||
export { GBLog } from "./GBLog";
|
||||
|
|
Loading…
Add table
Reference in a new issue