new(all): New translator services.
This commit is contained in:
parent
22c7250552
commit
e10844dc8e
3 changed files with 9 additions and 932 deletions
931
package-lock.json
generated
931
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -45,5 +45,11 @@ export interface IGBConversationalService {
|
||||||
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);
|
||||||
|
translate(
|
||||||
|
key: string,
|
||||||
|
endPoint: string,
|
||||||
|
text: string,
|
||||||
|
language: string
|
||||||
|
): Promise<string>;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,4 +86,6 @@ export interface IGBInstance {
|
||||||
storageDialect: string;
|
storageDialect: string;
|
||||||
storagePath: string;
|
storagePath: string;
|
||||||
adminPass: string;
|
adminPass: string;
|
||||||
|
translatorKey: string;
|
||||||
|
translatorEndpoint: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue