stentor-models 1.56.43 → 1.56.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Context.d.ts +5 -1
- package/lib/Services/ErrorService.d.ts +5 -0
- package/lib/Services/ErrorService.js +3 -0
- package/lib/Services/ErrorService.js.map +1 -0
- package/lib/Services/index.d.ts +2 -1
- package/lib/Services/index.js +2 -1
- package/lib/Services/index.js.map +1 -1
- package/package.json +2 -2
package/lib/Context.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { AbstractResponseBuilder } from "./Response";
|
|
|
5
5
|
import { SessionStore, Storage } from "./Storage";
|
|
6
6
|
import { UserDataType } from "./UserData";
|
|
7
7
|
import { UserProfile } from "./UserProfile";
|
|
8
|
-
import { CrmService, SMSService } from "./Services";
|
|
8
|
+
import { CrmService, ErrorService, SMSService } from "./Services";
|
|
9
9
|
export declare enum UserDataRequestStatus {
|
|
10
10
|
DEFERRED = 0,
|
|
11
11
|
AVAILABLE = 1,
|
|
@@ -29,6 +29,10 @@ export interface ContextServices {
|
|
|
29
29
|
* Service for sending text messages
|
|
30
30
|
*/
|
|
31
31
|
smsService?: SMSService;
|
|
32
|
+
/**
|
|
33
|
+
* Access to the event service for reporting runtime errors.
|
|
34
|
+
*/
|
|
35
|
+
eventService?: ErrorService;
|
|
32
36
|
}
|
|
33
37
|
/**
|
|
34
38
|
* Context object that is passed around while formulating the response.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorService.js","sourceRoot":"","sources":["../../src/Services/ErrorService.ts"],"names":[],"mappings":""}
|
package/lib/Services/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
2
2
|
export * from "./AppService";
|
|
3
|
-
export * from "./HandlerService";
|
|
4
3
|
export * from "./CrmService";
|
|
4
|
+
export * from "./ErrorService";
|
|
5
|
+
export * from "./HandlerService";
|
|
5
6
|
export * from "./KnowledgeBaseService";
|
|
6
7
|
export * from "./PIIService";
|
|
7
8
|
export * from "./SMSService";
|
package/lib/Services/index.js
CHANGED
|
@@ -16,8 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
18
18
|
__exportStar(require("./AppService"), exports);
|
|
19
|
-
__exportStar(require("./HandlerService"), exports);
|
|
20
19
|
__exportStar(require("./CrmService"), exports);
|
|
20
|
+
__exportStar(require("./ErrorService"), exports);
|
|
21
|
+
__exportStar(require("./HandlerService"), exports);
|
|
21
22
|
__exportStar(require("./KnowledgeBaseService"), exports);
|
|
22
23
|
__exportStar(require("./PIIService"), exports);
|
|
23
24
|
__exportStar(require("./SMSService"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oCAAoC;AACpC,+CAA6B;AAC7B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oCAAoC;AACpC,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,yDAAuC;AACvC,+CAA6B;AAC7B,+CAA6B;AAC7B,uDAAqC"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.56.
|
|
7
|
+
"version": "1.56.44",
|
|
8
8
|
"description": "Models for 📣 stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@xapp/patterns": "1.40.215"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "32ab2078e1386b2a2ecea8811dcd64c487791d2f"
|
|
37
37
|
}
|