diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js
index 70a961e..a9f473f 100644
--- a/docs/assets/js/search.js
+++ b/docs/assets/js/search.js
@@ -1,3 +1,3 @@
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
- typedoc.search.data = {"kinds":{"1":"External module","4":"Enumeration","16":"Enumeration member","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":1,"name":"\"test/example.test\"","url":"modules/_test_example_test_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":32,"name":"assert","url":"modules/_test_example_test_.html#assert","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"test/example.test\""},{"id":2,"kind":1,"name":"\"src/GBError\"","url":"modules/_src_gberror_.html","classes":"tsd-kind-external-module"},{"id":3,"kind":4,"name":"GBERROR_TYPE","url":"enums/_src_gberror_.gberror_type.html","classes":"tsd-kind-enum tsd-parent-kind-external-module","parent":"\"src/GBError\""},{"id":4,"kind":16,"name":"generalError","url":"enums/_src_gberror_.gberror_type.html#generalerror","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"src/GBError\".GBERROR_TYPE"},{"id":5,"kind":16,"name":"nlpGeneralError","url":"enums/_src_gberror_.gberror_type.html#nlpgeneralerror","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"src/GBError\".GBERROR_TYPE"},{"id":6,"kind":128,"name":"GBError","url":"classes/_src_gberror_.gberror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"src/GBError\""},{"id":7,"kind":2048,"name":"createFromCode","url":"classes/_src_gberror_.gberror.html#createfromcode","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"\"src/GBError\".GBError"},{"id":8,"kind":2048,"name":"getMessageFromErrorCode","url":"classes/_src_gberror_.gberror.html#getmessagefromerrorcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"src/GBError\".GBError"},{"id":9,"kind":1024,"name":"e","url":"classes/_src_gberror_.gberror.html#e","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBError\".GBError"},{"id":10,"kind":512,"name":"constructor","url":"classes/_src_gberror_.gberror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"src/GBError\".GBError"},{"id":11,"kind":2048,"name":"create","url":"classes/_src_gberror_.gberror.html#create","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"\"src/GBError\".GBError"},{"id":12,"kind":1,"name":"\"src/GBService\"","url":"modules/_src_gbservice_.html","classes":"tsd-kind-external-module"},{"id":13,"kind":256,"name":"GBServiceCallback","url":"interfaces/_src_gbservice_.gbservicecallback.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"src/GBService\""},{"id":14,"kind":128,"name":"GBService","url":"classes/_src_gbservice_.gbservice.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"src/GBService\""},{"id":15,"kind":1,"name":"\"src/IGBCoreService\"","url":"modules/_src_igbcoreservice_.html","classes":"tsd-kind-external-module"},{"id":16,"kind":256,"name":"IGBCoreService","url":"interfaces/_src_igbcoreservice_.igbcoreservice.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"src/IGBCoreService\""},{"id":17,"kind":1024,"name":"sequelize","url":"interfaces/_src_igbcoreservice_.igbcoreservice.html#sequelize","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"src/IGBCoreService\".IGBCoreService"},{"id":18,"kind":2048,"name":"initDatabase","url":"interfaces/_src_igbcoreservice_.igbcoreservice.html#initdatabase","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBCoreService\".IGBCoreService"},{"id":19,"kind":2048,"name":"syncDatabaseStructure","url":"interfaces/_src_igbcoreservice_.igbcoreservice.html#syncdatabasestructure","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBCoreService\".IGBCoreService"},{"id":20,"kind":2048,"name":"loadInstances","url":"interfaces/_src_igbcoreservice_.igbcoreservice.html#loadinstances","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBCoreService\".IGBCoreService"},{"id":21,"kind":2048,"name":"loadInstance","url":"interfaces/_src_igbcoreservice_.igbcoreservice.html#loadinstance","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBCoreService\".IGBCoreService"},{"id":22,"kind":1,"name":"\"src/IGBPackage\"","url":"modules/_src_igbpackage_.html","classes":"tsd-kind-external-module"},{"id":23,"kind":256,"name":"IGBPackage","url":"interfaces/_src_igbpackage_.igbpackage.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"src/IGBPackage\""},{"id":24,"kind":2048,"name":"loadPackage","url":"interfaces/_src_igbpackage_.igbpackage.html#loadpackage","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBPackage\".IGBPackage"},{"id":25,"kind":2048,"name":"unloadPackage","url":"interfaces/_src_igbpackage_.igbpackage.html#unloadpackage","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBPackage\".IGBPackage"},{"id":26,"kind":2048,"name":"loadBot","url":"interfaces/_src_igbpackage_.igbpackage.html#loadbot","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBPackage\".IGBPackage"},{"id":27,"kind":2048,"name":"unloadBot","url":"interfaces/_src_igbpackage_.igbpackage.html#unloadbot","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBPackage\".IGBPackage"},{"id":28,"kind":2048,"name":"onNewSession","url":"interfaces/_src_igbpackage_.igbpackage.html#onnewsession","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBPackage\".IGBPackage"},{"id":29,"kind":1,"name":"\"src/IGBDialog\"","url":"modules/_src_igbdialog_.html","classes":"tsd-kind-external-module"},{"id":30,"kind":128,"name":"IGBDialog","url":"classes/_src_igbdialog_.igbdialog.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"src/IGBDialog\""},{"id":31,"kind":1024,"name":"bot","url":"classes/_src_igbdialog_.igbdialog.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/IGBDialog\".IGBDialog"},{"id":32,"kind":1024,"name":"service","url":"classes/_src_igbdialog_.igbdialog.html#service","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/IGBDialog\".IGBDialog"},{"id":33,"kind":512,"name":"constructor","url":"classes/_src_igbdialog_.igbdialog.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"src/IGBDialog\".IGBDialog"},{"id":34,"kind":1,"name":"\"src/IGBConversationalService\"","url":"modules/_src_igbconversationalservice_.html","classes":"tsd-kind-external-module"},{"id":35,"kind":256,"name":"IGBConversationalService","url":"interfaces/_src_igbconversationalservice_.igbconversationalservice.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"src/IGBConversationalService\""},{"id":36,"kind":2048,"name":"sendEvent","url":"interfaces/_src_igbconversationalservice_.igbconversationalservice.html#sendevent","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBConversationalService\".IGBConversationalService"},{"id":37,"kind":2048,"name":"runNLP","url":"interfaces/_src_igbconversationalservice_.igbconversationalservice.html#runnlp","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"src/IGBConversationalService\".IGBConversationalService"},{"id":38,"kind":1,"name":"\"src/index\"","url":"modules/_src_index_.html","classes":"tsd-kind-external-module"},{"id":39,"kind":1,"name":"\"src/GBMinInstance\"","url":"modules/_src_gbmininstance_.html","classes":"tsd-kind-external-module"},{"id":40,"kind":128,"name":"GBMinInstance","url":"classes/_src_gbmininstance_.gbmininstance.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"src/GBMinInstance\""},{"id":41,"kind":1024,"name":"packages","url":"classes/_src_gbmininstance_.gbmininstance.html#packages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":42,"kind":1024,"name":"botId","url":"classes/_src_gbmininstance_.gbmininstance.html#botid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":43,"kind":1024,"name":"instance","url":"classes/_src_gbmininstance_.gbmininstance.html#instance","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":44,"kind":1024,"name":"core","url":"classes/_src_gbmininstance_.gbmininstance.html#core","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":45,"kind":1024,"name":"conversationalService","url":"classes/_src_gbmininstance_.gbmininstance.html#conversationalservice","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":46,"kind":1024,"name":"textServices","url":"classes/_src_gbmininstance_.gbmininstance.html#textservices","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":47,"kind":1024,"name":"bot","url":"classes/_src_gbmininstance_.gbmininstance.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"},{"id":48,"kind":512,"name":"constructor","url":"classes/_src_gbmininstance_.gbmininstance.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"src/GBMinInstance\".GBMinInstance"}]};
\ No newline at end of file
+ typedoc.search.data = {"kinds":{"1":"External module","4":"Enumeration","16":"Enumeration member","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":1,"name":"\"GBError\"","url":"modules/_gberror_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":4,"name":"GBERROR_TYPE","url":"enums/_gberror_.gberror_type.html","classes":"tsd-kind-enum tsd-parent-kind-external-module","parent":"\"GBError\""},{"id":2,"kind":16,"name":"generalError","url":"enums/_gberror_.gberror_type.html#generalerror","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"GBError\".GBERROR_TYPE"},{"id":3,"kind":16,"name":"nlpGeneralError","url":"enums/_gberror_.gberror_type.html#nlpgeneralerror","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"GBError\".GBERROR_TYPE"},{"id":4,"kind":128,"name":"GBError","url":"classes/_gberror_.gberror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"GBError\""},{"id":5,"kind":2048,"name":"createFromCode","url":"classes/_gberror_.gberror.html#createfromcode","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"\"GBError\".GBError"},{"id":6,"kind":2048,"name":"getMessageFromErrorCode","url":"classes/_gberror_.gberror.html#getmessagefromerrorcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"GBError\".GBError"},{"id":7,"kind":1024,"name":"e","url":"classes/_gberror_.gberror.html#e","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBError\".GBError"},{"id":8,"kind":512,"name":"constructor","url":"classes/_gberror_.gberror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"GBError\".GBError"},{"id":9,"kind":2048,"name":"create","url":"classes/_gberror_.gberror.html#create","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"\"GBError\".GBError"},{"id":10,"kind":1,"name":"\"IGBAdminService\"","url":"modules/_igbadminservice_.html","classes":"tsd-kind-external-module"},{"id":11,"kind":256,"name":"IGBAdminService","url":"interfaces/_igbadminservice_.igbadminservice.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"IGBAdminService\""},{"id":12,"kind":2048,"name":"putValue","url":"interfaces/_igbadminservice_.igbadminservice.html#putvalue","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBAdminService\".IGBAdminService"},{"id":13,"kind":2048,"name":"getValue","url":"interfaces/_igbadminservice_.igbadminservice.html#getvalue","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBAdminService\".IGBAdminService"},{"id":14,"kind":2048,"name":"acquireElevatedToken","url":"interfaces/_igbadminservice_.igbadminservice.html#acquireelevatedtoken","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBAdminService\".IGBAdminService"},{"id":15,"kind":1,"name":"\"IGBCoreService\"","url":"modules/_igbcoreservice_.html","classes":"tsd-kind-external-module"},{"id":16,"kind":256,"name":"IGBCoreService","url":"interfaces/_igbcoreservice_.igbcoreservice.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"IGBCoreService\""},{"id":17,"kind":1024,"name":"sequelize","url":"interfaces/_igbcoreservice_.igbcoreservice.html#sequelize","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"IGBCoreService\".IGBCoreService"},{"id":18,"kind":2048,"name":"initDatabase","url":"interfaces/_igbcoreservice_.igbcoreservice.html#initdatabase","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBCoreService\".IGBCoreService"},{"id":19,"kind":2048,"name":"syncDatabaseStructure","url":"interfaces/_igbcoreservice_.igbcoreservice.html#syncdatabasestructure","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBCoreService\".IGBCoreService"},{"id":20,"kind":2048,"name":"loadInstances","url":"interfaces/_igbcoreservice_.igbcoreservice.html#loadinstances","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBCoreService\".IGBCoreService"},{"id":21,"kind":2048,"name":"loadInstance","url":"interfaces/_igbcoreservice_.igbcoreservice.html#loadinstance","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBCoreService\".IGBCoreService"},{"id":22,"kind":1,"name":"\"IGBConversationalService\"","url":"modules/_igbconversationalservice_.html","classes":"tsd-kind-external-module"},{"id":23,"kind":256,"name":"IGBConversationalService","url":"interfaces/_igbconversationalservice_.igbconversationalservice.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"IGBConversationalService\""},{"id":24,"kind":2048,"name":"sendEvent","url":"interfaces/_igbconversationalservice_.igbconversationalservice.html#sendevent","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBConversationalService\".IGBConversationalService"},{"id":25,"kind":2048,"name":"runNLP","url":"interfaces/_igbconversationalservice_.igbconversationalservice.html#runnlp","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBConversationalService\".IGBConversationalService"},{"id":26,"kind":1,"name":"\"GBService\"","url":"modules/_gbservice_.html","classes":"tsd-kind-external-module"},{"id":27,"kind":128,"name":"GBService","url":"classes/_gbservice_.gbservice.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"GBService\""},{"id":28,"kind":1,"name":"\"IGBDialog\"","url":"modules/_igbdialog_.html","classes":"tsd-kind-external-module"},{"id":29,"kind":128,"name":"IGBDialog","url":"classes/_igbdialog_.igbdialog.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"IGBDialog\""},{"id":30,"kind":1024,"name":"bot","url":"classes/_igbdialog_.igbdialog.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"IGBDialog\".IGBDialog"},{"id":31,"kind":1024,"name":"service","url":"classes/_igbdialog_.igbdialog.html#service","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"IGBDialog\".IGBDialog"},{"id":32,"kind":512,"name":"constructor","url":"classes/_igbdialog_.igbdialog.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"IGBDialog\".IGBDialog"},{"id":33,"kind":1,"name":"\"IGBPackage\"","url":"modules/_igbpackage_.html","classes":"tsd-kind-external-module"},{"id":34,"kind":256,"name":"IGBPackage","url":"interfaces/_igbpackage_.igbpackage.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"IGBPackage\""},{"id":35,"kind":1024,"name":"sysPackages","url":"interfaces/_igbpackage_.igbpackage.html#syspackages","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"IGBPackage\".IGBPackage"},{"id":36,"kind":2048,"name":"loadPackage","url":"interfaces/_igbpackage_.igbpackage.html#loadpackage","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBPackage\".IGBPackage"},{"id":37,"kind":2048,"name":"unloadPackage","url":"interfaces/_igbpackage_.igbpackage.html#unloadpackage","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBPackage\".IGBPackage"},{"id":38,"kind":2048,"name":"loadBot","url":"interfaces/_igbpackage_.igbpackage.html#loadbot","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBPackage\".IGBPackage"},{"id":39,"kind":2048,"name":"unloadBot","url":"interfaces/_igbpackage_.igbpackage.html#unloadbot","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBPackage\".IGBPackage"},{"id":40,"kind":2048,"name":"onNewSession","url":"interfaces/_igbpackage_.igbpackage.html#onnewsession","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"IGBPackage\".IGBPackage"},{"id":41,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-external-module"},{"id":42,"kind":1,"name":"\"GBMinInstance\"","url":"modules/_gbmininstance_.html","classes":"tsd-kind-external-module"},{"id":43,"kind":128,"name":"GBMinInstance","url":"classes/_gbmininstance_.gbmininstance.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"GBMinInstance\""},{"id":44,"kind":1024,"name":"packages","url":"classes/_gbmininstance_.gbmininstance.html#packages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":45,"kind":1024,"name":"botId","url":"classes/_gbmininstance_.gbmininstance.html#botid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":46,"kind":1024,"name":"instance","url":"classes/_gbmininstance_.gbmininstance.html#instance","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":47,"kind":1024,"name":"core","url":"classes/_gbmininstance_.gbmininstance.html#core","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":48,"kind":1024,"name":"conversationalService","url":"classes/_gbmininstance_.gbmininstance.html#conversationalservice","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":49,"kind":1024,"name":"adminService","url":"classes/_gbmininstance_.gbmininstance.html#adminservice","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":50,"kind":1024,"name":"textServices","url":"classes/_gbmininstance_.gbmininstance.html#textservices","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":51,"kind":1024,"name":"bot","url":"classes/_gbmininstance_.gbmininstance.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":52,"kind":1024,"name":"dialogs","url":"classes/_gbmininstance_.gbmininstance.html#dialogs","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":53,"kind":1024,"name":"userState","url":"classes/_gbmininstance_.gbmininstance.html#userstate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":54,"kind":1024,"name":"userProfile","url":"classes/_gbmininstance_.gbmininstance.html#userprofile","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"},{"id":55,"kind":512,"name":"constructor","url":"classes/_gbmininstance_.gbmininstance.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"GBMinInstance\".GBMinInstance"}]};
\ No newline at end of file
diff --git a/docs/classes/_src_gberror_.gberror.html b/docs/classes/_src_gberror_.gberror.html
deleted file mode 100644
index e2545e3..0000000
--- a/docs/classes/_src_gberror_.gberror.html
+++ /dev/null
@@ -1,366 +0,0 @@
-
-
-
-
-
- GBError | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
- constructor
-
-
- -
-
-
Parameters
-
- -
-
e: Error
-
- -
-
Default value type: GBERROR_TYPE = GBERROR_TYPE.generalError
-
-
-
-
-
-
-
-
- Properties
-
-
- e
- e: Error
-
-
-
-
- Methods
-
-
- getMessageFromErrorCode
-
-
- -
-
-
Parameters
-
- Returns string
-
-
-
-
-
- Static create
-
-
- -
-
-
Parameters
-
-
-
-
-
-
-
- Static createFromCode
-
- - createFromCode(GBERROR_TYPE: any): any
-
-
- -
-
-
Parameters
-
- -
-
GBERROR_TYPE: any
-
-
- Returns any
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/classes/_src_gbmininstance_.gbmininstance.html b/docs/classes/_src_gbmininstance_.gbmininstance.html
deleted file mode 100644
index 6d06817..0000000
--- a/docs/classes/_src_gbmininstance_.gbmininstance.html
+++ /dev/null
@@ -1,356 +0,0 @@
-
-
-
-
-
- GBMinInstance | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Class GBMinInstance
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
- constructor
-
-
- -
-
-
-
-
-
-
-
- Properties
-
-
- bot
- bot: UniversalBot
-
-
-
-
- botId
- botId: string
-
-
-
-
- conversationalService
-
-
-
-
-
- core
-
-
-
-
-
- instance
-
-
-
-
-
- packages
-
-
-
-
-
- textServices
- textServices: AzureText
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/classes/_src_gbservice_.gbservice.html b/docs/classes/_src_gbservice_.gbservice.html
deleted file mode 100644
index 555f7d7..0000000
--- a/docs/classes/_src_gbservice_.gbservice.html
+++ /dev/null
@@ -1,208 +0,0 @@
-
-
-
-
-
- GBService | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/classes/_src_igbdialog_.igbdialog.html b/docs/classes/_src_igbdialog_.igbdialog.html
deleted file mode 100644
index 8e45773..0000000
--- a/docs/classes/_src_igbdialog_.igbdialog.html
+++ /dev/null
@@ -1,285 +0,0 @@
-
-
-
-
-
- IGBDialog | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
- constructor
-
- - new IGBDialog(bot: UniversalBot): IGBDialog
-
-
- -
-
-
Parameters
-
- -
-
bot: UniversalBot
-
-
-
-
-
-
-
-
- Properties
-
-
- bot
- bot: UniversalBot
-
-
-
-
- service
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/enums/_src_gberror_.gberror_type.html b/docs/enums/_src_gberror_.gberror_type.html
deleted file mode 100644
index da6b2d8..0000000
--- a/docs/enums/_src_gberror_.gberror_type.html
+++ /dev/null
@@ -1,245 +0,0 @@
-
-
-
-
-
- GBERROR_TYPE | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Enumeration GBERROR_TYPE
-
-
-
-
-
-
-
- Index
-
-
-
- Enumeration members
-
-
-
-
-
-
- Enumeration members
-
-
- generalError
- generalError: = 2
-
-
-
-
- nlpGeneralError
- nlpGeneralError: = 3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/globals.html b/docs/globals.html
index e244a16..592dfd5 100644
--- a/docs/globals.html
+++ b/docs/globals.html
@@ -70,16 +70,16 @@
@@ -96,37 +96,37 @@
Internals
- "src/GBError"
+ "GBError"
- "src/GBMinInstance"
+ "GBMinInstance"
- "src/GBService"
+ "GBService"
- "src/IGBConversationalService"
+ "IGBAdminService"
- "src/IGBCoreService"
+ "IGBConversationalService"
- "src/IGBDialog"
+ "IGBCoreService"
- "src/IGBPackage"
+ "IGBDialog"
- "src/index"
+ "IGBPackage"
- "test/example.test"
+ "index"
Externals
- "src/IGBinstance"
+ "IGBinstance"
diff --git a/docs/index.html b/docs/index.html
index d840d3e..4593826 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -78,37 +78,37 @@
Internals
- "src/GBError"
+ "GBError"
- "src/GBMinInstance"
+ "GBMinInstance"
- "src/GBService"
+ "GBService"
- "src/IGBConversationalService"
+ "IGBAdminService"
- "src/IGBCoreService"
+ "IGBConversationalService"
- "src/IGBDialog"
+ "IGBCoreService"
- "src/IGBPackage"
+ "IGBDialog"
- "src/index"
+ "IGBPackage"
- "test/example.test"
+ "index"
Externals
- "src/IGBinstance"
+ "IGBinstance"
diff --git a/docs/interfaces/_src_gbservice_.gbservicecallback.html b/docs/interfaces/_src_gbservice_.gbservicecallback.html
deleted file mode 100644
index aedb0b9..0000000
--- a/docs/interfaces/_src_gbservice_.gbservicecallback.html
+++ /dev/null
@@ -1,241 +0,0 @@
-
-
-
-
-
- GBServiceCallback | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Interface GBServiceCallback<T>
-
-
-
-
-
-
-
-
- Hierarchy
-
- -
- GBServiceCallback
-
-
-
-
- Callable
-
- - __call(data: T, error: GBError): void
-
-
- -
-
-
Parameters
-
- Returns void
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/interfaces/_src_igbconversationalservice_.igbconversationalservice.html b/docs/interfaces/_src_igbconversationalservice_.igbconversationalservice.html
deleted file mode 100644
index 2a27321..0000000
--- a/docs/interfaces/_src_igbconversationalservice_.igbconversationalservice.html
+++ /dev/null
@@ -1,291 +0,0 @@
-
-
-
-
-
- IGBConversationalService | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Interface IGBConversationalService
-
-
-
-
-
-
-
- Hierarchy
-
- -
- IGBConversationalService
-
-
-
-
-
- Methods
-
-
- runNLP
-
-
- -
-
-
Parameters
-
- -
-
session: Session
-
- -
-
-
- -
-
text: string
-
- -
-
-
-
- Returns any
-
-
-
-
-
- sendEvent
-
- - sendEvent(session: Session, name: string, value: any): any
-
-
- -
-
-
Parameters
-
- -
-
session: Session
-
- -
-
name: string
-
- -
-
value: any
-
-
- Returns any
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/interfaces/_src_igbcoreservice_.igbcoreservice.html b/docs/interfaces/_src_igbcoreservice_.igbcoreservice.html
deleted file mode 100644
index 72230d5..0000000
--- a/docs/interfaces/_src_igbcoreservice_.igbcoreservice.html
+++ /dev/null
@@ -1,355 +0,0 @@
-
-
-
-
-
- IGBCoreService | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Interface IGBCoreService
-
-
-
-
-
-
-
-
-
- Properties
-
-
- sequelize
- sequelize: Sequelize
-
-
-
-
- Methods
-
-
- initDatabase
-
- - initDatabase(cb: any): any
-
-
- -
-
-
Parameters
-
- Returns any
-
-
-
-
-
- loadInstance
-
-
- -
-
-
Parameters
-
- -
-
botId: string
-
- -
-
-
-
- Returns any
-
-
-
-
-
- loadInstances
-
-
- -
-
-
Parameters
-
- Returns any
-
-
-
-
-
- syncDatabaseStructure
-
- - syncDatabaseStructure(cb: any): any
-
-
- -
-
-
Parameters
-
- Returns any
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/interfaces/_src_igbinstance_.igbinstance.html b/docs/interfaces/_src_igbinstance_.igbinstance.html
deleted file mode 100644
index fa9555e..0000000
--- a/docs/interfaces/_src_igbinstance_.igbinstance.html
+++ /dev/null
@@ -1,544 +0,0 @@
-
-
-
-
-
- IGBInstance | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Interface IGBInstance
-
-
-
-
-
-
-
-
-
- Properties
-
-
- botId
- botId: string
-
-
-
-
- description
- description: string
-
-
-
-
- enabledAdmin
- enabledAdmin: boolean
-
-
-
-
- engineName
- engineName: string
-
-
-
-
- instanceId
- instanceId: number
-
-
-
-
- kb
- kb: string
-
-
-
-
- marketplaceId
- marketplaceId: string
-
-
-
-
- marketplacePassword
- marketplacePassword: string
-
-
-
-
- nlpScore
- nlpScore: number
-
-
-
-
- nlpServerUrl
- nlpServerUrl: string
-
-
-
-
- nlpVsSearch
- nlpVsSearch: number
-
-
-
-
- searchHost
- searchHost: string
-
-
-
-
- searchIndex
- searchIndex: string
-
-
-
-
- searchIndexer
- searchIndexer: string
-
-
-
-
- searchKey
- searchKey: string
-
-
-
-
- searchScore
- searchScore: number
-
-
-
-
- textAnalyticsKey
- textAnalyticsKey: string
-
-
-
-
- theme
- theme: string
-
-
-
-
- title
- title: string
-
-
-
-
- ui
- ui: string
-
-
-
-
- version
- version: string
-
-
-
-
- webchatKey
- webchatKey: string
-
-
-
-
- whoAmIVideo
- whoAmIVideo: string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/interfaces/_src_igbpackage_.igbpackage.html b/docs/interfaces/_src_igbpackage_.igbpackage.html
deleted file mode 100644
index b8a3bef..0000000
--- a/docs/interfaces/_src_igbpackage_.igbpackage.html
+++ /dev/null
@@ -1,388 +0,0 @@
-
-
-
-
-
- IGBPackage | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
Interface IGBPackage
-
-
-
-
-
-
-
-
-
- Methods
-
-
- loadBot
-
-
- -
-
-
-
Parameters
-
- Returns void
-
-
-
-
-
- loadPackage
-
-
- -
-
-
-
Parameters
-
- -
-
-
- -
-
sequelize: Sequelize
-
-
- Returns void
-
-
-
-
-
- onNewSession
-
-
- -
-
-
-
Parameters
-
- -
-
-
- -
-
session: Session
-
-
- Returns void
-
-
-
-
-
- unloadBot
-
-
- -
-
-
-
Parameters
-
- Returns void
-
-
-
-
-
- unloadPackage
-
-
- -
-
-
-
Parameters
-
- Returns void
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_gberror_.html b/docs/modules/_src_gberror_.html
deleted file mode 100644
index b62e46f..0000000
--- a/docs/modules/_src_gberror_.html
+++ /dev/null
@@ -1,212 +0,0 @@
-
-
-
-
-
- "src/GBError" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/GBError"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_gbmininstance_.html b/docs/modules/_src_gbmininstance_.html
deleted file mode 100644
index 0305193..0000000
--- a/docs/modules/_src_gbmininstance_.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
- "src/GBMinInstance" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/GBMinInstance"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_gbservice_.html b/docs/modules/_src_gbservice_.html
deleted file mode 100644
index 491adfa..0000000
--- a/docs/modules/_src_gbservice_.html
+++ /dev/null
@@ -1,212 +0,0 @@
-
-
-
-
-
- "src/GBService" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/GBService"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_igbconversationalservice_.html b/docs/modules/_src_igbconversationalservice_.html
deleted file mode 100644
index c5215bf..0000000
--- a/docs/modules/_src_igbconversationalservice_.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
- "src/IGBConversationalService" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/IGBConversationalService"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_igbcoreservice_.html b/docs/modules/_src_igbcoreservice_.html
deleted file mode 100644
index c6ba6f2..0000000
--- a/docs/modules/_src_igbcoreservice_.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
- "src/IGBCoreService" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/IGBCoreService"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_igbdialog_.html b/docs/modules/_src_igbdialog_.html
deleted file mode 100644
index 757c92f..0000000
--- a/docs/modules/_src_igbdialog_.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
- "src/IGBDialog" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/IGBDialog"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_igbinstance_.html b/docs/modules/_src_igbinstance_.html
deleted file mode 100644
index e6bfbed..0000000
--- a/docs/modules/_src_igbinstance_.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
- "src/IGBinstance" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/IGBinstance"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_igbpackage_.html b/docs/modules/_src_igbpackage_.html
deleted file mode 100644
index c907c36..0000000
--- a/docs/modules/_src_igbpackage_.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
- "src/IGBPackage" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/IGBPackage"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_src_index_.html b/docs/modules/_src_index_.html
deleted file mode 100644
index 9a3f6c2..0000000
--- a/docs/modules/_src_index_.html
+++ /dev/null
@@ -1,187 +0,0 @@
-
-
-
-
-
- "src/index" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "src/index"
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/modules/_test_example_test_.html b/docs/modules/_test_example_test_.html
deleted file mode 100644
index 89973bf..0000000
--- a/docs/modules/_test_example_test_.html
+++ /dev/null
@@ -1,216 +0,0 @@
-
-
-
-
-
- "test/example.test" | botlib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Preparing search index...
- - The search index is not available
-
-
botlib
-
-
-
-
-
-
-
-
-
External module "test/example.test"
-
-
-
-
-
-
-
-
- Variables
-
-
- Const assert
- assert: any = require('assert')
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 48e2663..34f851b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "botlib",
- "version": "0.1.3",
+ "version": "0.1.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -132,7 +132,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/@types/continuation-local-storage/-/continuation-local-storage-3.2.1.tgz",
"integrity": "sha1-oz4N+dzptCTRyY/E/evYV43O7H4=",
- "dev": true,
"requires": {
"@types/node": "*"
}
@@ -244,8 +243,7 @@
"@types/lodash": {
"version": "4.14.117",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.117.tgz",
- "integrity": "sha512-xyf2m6tRbz8qQKcxYZa7PA4SllYcay+eh25DN3jmNYY6gSTL7Htc/bttVdkqj2wfJGbeWlQiX8pIyJpKU+tubw==",
- "dev": true
+ "integrity": "sha512-xyf2m6tRbz8qQKcxYZa7PA4SllYcay+eh25DN3jmNYY6gSTL7Htc/bttVdkqj2wfJGbeWlQiX8pIyJpKU+tubw=="
},
"@types/marked": {
"version": "0.4.2",
@@ -364,8 +362,7 @@
"@types/validator": {
"version": "9.4.2",
"resolved": "https://registry.npmjs.org/@types/validator/-/validator-9.4.2.tgz",
- "integrity": "sha512-v6H2QH+oXVdLKp9keOJi5LQSt6X5/XIOtK1YmbCzvkAT2kHW9WyQkixit9w1UgJpBGrDCqqCZlQ+Qucpmsf8hA==",
- "dev": true
+ "integrity": "sha512-v6H2QH+oXVdLKp9keOJi5LQSt6X5/XIOtK1YmbCzvkAT2kHW9WyQkixit9w1UgJpBGrDCqqCZlQ+Qucpmsf8hA=="
},
"@types/winston": {
"version": "2.4.4",
@@ -2764,6 +2761,7 @@
"requires": {
"@types/bluebird": "3.5.18",
"@types/node": "6.0.41",
+ "@types/sequelize": "4.27.24",
"es6-shim": "0.35.3",
"glob": "7.1.2"
},
@@ -2772,6 +2770,17 @@
"version": "6.0.41",
"resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.41.tgz",
"integrity": "sha1-V4z1Oq7GWIe8rxZ5L4ciky6P+Oo="
+ },
+ "@types/sequelize": {
+ "version": "4.27.24",
+ "resolved": "https://registry.npmjs.org/@types/sequelize/-/sequelize-4.27.24.tgz",
+ "integrity": "sha512-5uMFsMa/0hU/7/8znyfBKSJy2Mbd57uRpYk5X1+Phz9dN0MRZLbTbj1JMeB3CJ4R9b1coNQGfp2kXh4OjI9UyA==",
+ "requires": {
+ "@types/bluebird": "*",
+ "@types/continuation-local-storage": "*",
+ "@types/lodash": "*",
+ "@types/validator": "*"
+ }
}
}
},
Minimal services for bot.
-