stentor 1.56.4 → 1.56.7
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/index.d.ts +2 -2
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/package.json +18 -18
package/lib/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ContextBuilder, ContextFactory } from "stentor-context";
|
|
|
3
3
|
export { ContextBuilder, ContextFactory };
|
|
4
4
|
import { determine } from "stentor-determiner";
|
|
5
5
|
export { determine };
|
|
6
|
-
import { isAnonymousUser, isInputUnknownRequest, isIntentRequest, isLaunchRequest, isNotificationPermissionRequest, isOptionSelectRequest, isPermissionRequest, isSessionEndedRequest, isSignInRequest, isSurfaceRequest } from "stentor-guards";
|
|
7
|
-
export { isAnonymousUser, isInputUnknownRequest, isIntentRequest, isLaunchRequest, isNotificationPermissionRequest, isOptionSelectRequest, isPermissionRequest, isSessionEndedRequest, isSignInRequest, isSurfaceRequest, };
|
|
6
|
+
import { isAnonymousUser, isInputUnknownRequest, isIntentRequest, isLaunchRequest, isNotificationPermissionRequest, isOptionSelectRequest, isPermissionRequest, isSessionEndedRequest, isSignInRequest, isSurfaceRequest, isTransactionRequirementCheckRequest, isTransactionDecisionRequest, isDeliveryAddressRequest } from "stentor-guards";
|
|
7
|
+
export { isAnonymousUser, isInputUnknownRequest, isIntentRequest, isLaunchRequest, isNotificationPermissionRequest, isOptionSelectRequest, isPermissionRequest, isSessionEndedRequest, isSignInRequest, isSurfaceRequest, isTransactionRequirementCheckRequest, isTransactionDecisionRequest, isDeliveryAddressRequest };
|
|
8
8
|
import { AbstractHandler, ConversationHandler, determinePath, getMatchedSlotData, getSlotType } from "stentor-handler";
|
|
9
9
|
export { AbstractHandler, ConversationHandler, determinePath, getMatchedSlotData, getSlotType };
|
|
10
10
|
import { HandlerFactory, HandlersArray, HandlersKeyValue, HandlersMap } from "stentor-handler-factory";
|
package/lib/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ssmlify = exports.random = exports.pruneEmpty = exports.numberToWord = exports.listisize = exports.isDateTimeRange = exports.isDateTime = exports.keyFromRequest = exports.getSlots = exports.formatNumberForDisplay = exports.findValueForKey = exports.existsAndNotEmpty = exports.estimateSize = exports.dessmlify = exports.ResponseBuilder = exports.getResponse = exports.determineSegment = exports.determineResponse = exports.concatResponseOutput = exports.compileResponse = exports.SessionEndedRequestBuilder = exports.LaunchRequestBuilder = exports.IntentRequestBuilder = exports.InputUnknownRequestBuilder = exports.HandlerFactory = exports.getSlotType = exports.getMatchedSlotData = exports.determinePath = exports.ConversationHandler = exports.AbstractHandler = exports.isSurfaceRequest = exports.isSignInRequest = exports.isSessionEndedRequest = exports.isPermissionRequest = exports.isOptionSelectRequest = exports.isNotificationPermissionRequest = exports.isLaunchRequest = exports.isIntentRequest = exports.isInputUnknownRequest = exports.isAnonymousUser = exports.determine = exports.ContextFactory = exports.ContextBuilder = void 0;
|
|
17
|
+
exports.ssmlify = exports.random = exports.pruneEmpty = exports.numberToWord = exports.listisize = exports.isDateTimeRange = exports.isDateTime = exports.keyFromRequest = exports.getSlots = exports.formatNumberForDisplay = exports.findValueForKey = exports.existsAndNotEmpty = exports.estimateSize = exports.dessmlify = exports.ResponseBuilder = exports.getResponse = exports.determineSegment = exports.determineResponse = exports.concatResponseOutput = exports.compileResponse = exports.SessionEndedRequestBuilder = exports.LaunchRequestBuilder = exports.IntentRequestBuilder = exports.InputUnknownRequestBuilder = exports.HandlerFactory = exports.getSlotType = exports.getMatchedSlotData = exports.determinePath = exports.ConversationHandler = exports.AbstractHandler = exports.isDeliveryAddressRequest = exports.isTransactionDecisionRequest = exports.isTransactionRequirementCheckRequest = exports.isSurfaceRequest = exports.isSignInRequest = exports.isSessionEndedRequest = exports.isPermissionRequest = exports.isOptionSelectRequest = exports.isNotificationPermissionRequest = exports.isLaunchRequest = exports.isIntentRequest = exports.isInputUnknownRequest = exports.isAnonymousUser = exports.determine = exports.ContextFactory = exports.ContextBuilder = void 0;
|
|
18
18
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
19
19
|
const stentor_context_1 = require("stentor-context");
|
|
20
20
|
Object.defineProperty(exports, "ContextBuilder", { enumerable: true, get: function () { return stentor_context_1.ContextBuilder; } });
|
|
@@ -32,6 +32,9 @@ Object.defineProperty(exports, "isPermissionRequest", { enumerable: true, get: f
|
|
|
32
32
|
Object.defineProperty(exports, "isSessionEndedRequest", { enumerable: true, get: function () { return stentor_guards_1.isSessionEndedRequest; } });
|
|
33
33
|
Object.defineProperty(exports, "isSignInRequest", { enumerable: true, get: function () { return stentor_guards_1.isSignInRequest; } });
|
|
34
34
|
Object.defineProperty(exports, "isSurfaceRequest", { enumerable: true, get: function () { return stentor_guards_1.isSurfaceRequest; } });
|
|
35
|
+
Object.defineProperty(exports, "isTransactionRequirementCheckRequest", { enumerable: true, get: function () { return stentor_guards_1.isTransactionRequirementCheckRequest; } });
|
|
36
|
+
Object.defineProperty(exports, "isTransactionDecisionRequest", { enumerable: true, get: function () { return stentor_guards_1.isTransactionDecisionRequest; } });
|
|
37
|
+
Object.defineProperty(exports, "isDeliveryAddressRequest", { enumerable: true, get: function () { return stentor_guards_1.isDeliveryAddressRequest; } });
|
|
35
38
|
const stentor_handler_1 = require("stentor-handler");
|
|
36
39
|
Object.defineProperty(exports, "AbstractHandler", { enumerable: true, get: function () { return stentor_handler_1.AbstractHandler; } });
|
|
37
40
|
Object.defineProperty(exports, "ConversationHandler", { enumerable: true, get: function () { return stentor_handler_1.ConversationHandler; } });
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oCAAoC;AACpC,qDAAiE;AACxD,+FADA,gCAAc,OACA;AAAE,+FADA,gCAAc,OACA;AAEvC,2DAA+C;AACtC,0FADA,8BAAS,OACA;AAElB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oCAAoC;AACpC,qDAAiE;AACxD,+FADA,gCAAc,OACA;AAAE,+FADA,gCAAc,OACA;AAEvC,2DAA+C;AACtC,0FADA,8BAAS,OACA;AAElB,mDAcwB;AAEpB,gGAfA,gCAAe,OAeA;AACf,sGAfA,sCAAqB,OAeA;AACrB,gGAfA,gCAAe,OAeA;AACf,gGAfA,gCAAe,OAeA;AACf,gHAfA,gDAA+B,OAeA;AAC/B,sGAfA,sCAAqB,OAeA;AACrB,oGAfA,oCAAmB,OAeA;AACnB,sGAfA,sCAAqB,OAeA;AACrB,gGAfA,gCAAe,OAeA;AACf,iGAfA,iCAAgB,OAeA;AAChB,qHAfA,qDAAoC,OAeA;AACpC,6GAfA,6CAA4B,OAeA;AAC5B,yGAfA,yCAAwB,OAeA;AAG5B,qDAMyB;AAErB,gGAPA,iCAAe,OAOA;AACf,oGAPA,qCAAmB,OAOA;AACnB,8FAPA,+BAAa,OAOA;AACb,mGAPA,oCAAkB,OAOA;AAClB,4FAPA,6BAAW,OAOA;AAGf,qEAKiC;AAE7B,+FANA,wCAAc,OAMA;AAqElB,qDAKyB;AAErB,2GANA,4CAA0B,OAMA;AAC1B,qGANA,sCAAoB,OAMA;AACpB,qGANA,sCAAoB,OAMA;AACpB,2GANA,4CAA0B,OAMA;AAG9B,uDAO0B;AAEtB,gGARA,kCAAe,OAQA;AACf,qGARA,uCAAoB,OAQA;AACpB,kGARA,oCAAiB,OAQA;AACjB,iGARA,mCAAgB,OAQA;AAChB,4FARA,8BAAW,OAQA;AACX,gGARA,kCAAe,OAQA;AAGnB,iDAeuB;AAEnB,0FAhBA,yBAAS,OAgBA;AACT,6FAhBA,4BAAY,OAgBA;AACZ,kGAhBA,iCAAiB,OAgBA;AACjB,gGAhBA,+BAAe,OAgBA;AACf,uGAhBA,sCAAsB,OAgBA;AACtB,yFAhBA,wBAAQ,OAgBA;AACR,+FAhBA,8BAAc,OAgBA;AACd,2FAhBA,0BAAU,OAgBA;AACV,gGAhBA,+BAAe,OAgBA;AACf,0FAhBA,yBAAS,OAgBA;AACT,6FAhBA,4BAAY,OAgBA;AACZ,2FAhBA,0BAAU,OAgBA;AACV,uFAhBA,sBAAM,OAgBA;AACN,wFAhBA,uBAAO,OAgBA;AAGX,8CAA4B"}
|
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.7",
|
|
8
8
|
"description": "SDK for building omni-channel conversational assistants",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@microsoft/api-extractor": "7.25.0",
|
|
21
21
|
"@types/chai": "4.3.1",
|
|
22
22
|
"@types/mocha": "9.1.1",
|
|
23
|
-
"@types/node": "16.11.
|
|
23
|
+
"@types/node": "16.11.40",
|
|
24
24
|
"@types/sinon": "10.0.11",
|
|
25
25
|
"@types/sinon-chai": "3.2.8",
|
|
26
26
|
"@xapp/config": "0.2.3",
|
|
@@ -40,30 +40,30 @@
|
|
|
40
40
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@types/aws-lambda": "8.10.
|
|
43
|
+
"@types/aws-lambda": "8.10.100",
|
|
44
44
|
"@types/body-parser": "1.19.2",
|
|
45
45
|
"@types/express": "4.17.13",
|
|
46
46
|
"@xapp/patterns": "1.40.193",
|
|
47
47
|
"body-parser": "1.20.0",
|
|
48
48
|
"dotenv": "16.0.1",
|
|
49
49
|
"express": "4.18.1",
|
|
50
|
-
"stentor-constants": "1.56.
|
|
51
|
-
"stentor-context": "1.56.
|
|
52
|
-
"stentor-determiner": "1.56.
|
|
53
|
-
"stentor-handler": "1.56.
|
|
54
|
-
"stentor-handler-factory": "1.56.
|
|
55
|
-
"stentor-logger": "1.56.
|
|
56
|
-
"stentor-models": "1.56.
|
|
57
|
-
"stentor-request": "1.56.
|
|
58
|
-
"stentor-response": "1.56.
|
|
59
|
-
"stentor-runtime": "1.56.
|
|
60
|
-
"stentor-service-event": "1.56.
|
|
61
|
-
"stentor-service-ovai": "1.56.
|
|
62
|
-
"stentor-service-studio": "1.56.
|
|
63
|
-
"stentor-utils": "1.56.
|
|
50
|
+
"stentor-constants": "1.56.6",
|
|
51
|
+
"stentor-context": "1.56.7",
|
|
52
|
+
"stentor-determiner": "1.56.7",
|
|
53
|
+
"stentor-handler": "1.56.7",
|
|
54
|
+
"stentor-handler-factory": "1.56.7",
|
|
55
|
+
"stentor-logger": "1.56.7",
|
|
56
|
+
"stentor-models": "1.56.6",
|
|
57
|
+
"stentor-request": "1.56.7",
|
|
58
|
+
"stentor-response": "1.56.7",
|
|
59
|
+
"stentor-runtime": "1.56.7",
|
|
60
|
+
"stentor-service-event": "1.56.7",
|
|
61
|
+
"stentor-service-ovai": "1.56.7",
|
|
62
|
+
"stentor-service-studio": "1.56.7",
|
|
63
|
+
"stentor-utils": "1.56.7"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"aws-sdk": "2.X"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "00a1945625319bb5611a5e5a17cbe5a2332a9bec"
|
|
69
69
|
}
|