stentor 1.54.11 → 1.54.14
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/Assistant.d.ts +1 -2
- package/lib/Assistant.js.map +1 -1
- package/lib/index.d.ts +6 -4
- package/lib/index.js +14 -13
- package/lib/index.js.map +1 -1
- package/package.json +18 -18
package/lib/Assistant.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DelegatingHandlersMap, HandlersArray, HandlersKeyValue } from "stentor-handler-factory";
|
|
2
|
-
import { AppRuntimeData, Channel, CrmService,
|
|
3
|
-
import { KnowledgeBaseConfig } from "stentor-runtime";
|
|
2
|
+
import { AppRuntimeData, Channel, CrmService, EventStream, HandlerService, Hooks, KnowledgeBaseConfig, KnowledgeBaseService, PIIService, SMSService, UserStorageService } from "stentor-models";
|
|
4
3
|
import { EventPrefix } from "stentor-service-event";
|
|
5
4
|
import * as AWSLambda from "aws-lambda";
|
|
6
5
|
import * as express from 'express';
|
package/lib/Assistant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Assistant.js","sourceRoot":"","sources":["../src/Assistant.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAoC;AACpC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3B,qEASiC;AACjC,yDAAiF;AACjF,mDAAqC;
|
|
1
|
+
{"version":3,"file":"Assistant.js","sourceRoot":"","sources":["../src/Assistant.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAoC;AACpC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3B,qEASiC;AACjC,yDAAiF;AACjF,mDAAqC;AAiBrC,qDAAiE;AACjE,iEAAkE;AAClE,mEAA0E;AAC1E,+DAAoE;AACpE,iDAA8C;AAK9C,0CAA0C;AAC1C,mCAAmC;AAEnC,gDAA4C;AAE5C;;;;GAIG;AACH,MA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AAI,EAAE,EAAE,OAAO,EAAS,EAAE,CAAC,QAAa,EAAE,eAAuB,EAAE,EAAE;gBACvF,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;QACP,CAAC,CAAA,CAAC,CAAC;QAEH,OAAO,GAAG,CAAC;IACf,CAAC;CACJ;AApWD,8BAoWC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -3,16 +3,18 @@ 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
8
|
import { AbstractHandler, ConversationHandler, determinePath, getMatchedSlotData, getSlotType } from "stentor-handler";
|
|
7
9
|
export { AbstractHandler, ConversationHandler, determinePath, getMatchedSlotData, getSlotType };
|
|
8
10
|
import { HandlerFactory, HandlersArray, HandlersKeyValue, HandlersMap } from "stentor-handler-factory";
|
|
9
11
|
export { HandlerFactory, HandlersArray, HandlersKeyValue, HandlersMap };
|
|
10
12
|
import { Channel, Content, Context, Data, DateTime, DateTimeRange, Device, Forward, Handler, Intent, IntentRequest, KnowledgeBaseDocument, KnowledgeBaseFAQ, KnowledgeBaseResult, KnowledgeBaseSuggested, List, ListButton, ListItem, OptionSelectRequest, Redirect, Request, RequestSlot, RequestSlotMap, Response, ResponseOutput, RuntimeCallback, RuntimeContext, Storage, UserStorageService } from "stentor-models";
|
|
11
13
|
export { Channel, Content, Context, Data, DateTime, DateTimeRange, Device, Forward, Handler, Intent, IntentRequest, KnowledgeBaseFAQ, KnowledgeBaseResult, KnowledgeBaseSuggested, KnowledgeBaseDocument, List, ListItem, ListButton, OptionSelectRequest, Redirect, Request, RequestSlot, RequestSlotMap, Response, ResponseOutput, RuntimeCallback, RuntimeContext, Storage, UserStorageService };
|
|
12
|
-
import {
|
|
13
|
-
export {
|
|
14
|
+
import { InputUnknownRequestBuilder, IntentRequestBuilder, LaunchRequestBuilder, SessionEndedRequestBuilder } from "stentor-request";
|
|
15
|
+
export { InputUnknownRequestBuilder, IntentRequestBuilder, LaunchRequestBuilder, SessionEndedRequestBuilder };
|
|
14
16
|
import { compileResponse, concatResponseOutput, determineResponse, determineSegment, getResponse, ResponseBuilder } from "stentor-response";
|
|
15
17
|
export { compileResponse, concatResponseOutput, determineResponse, determineSegment, getResponse, ResponseBuilder };
|
|
16
|
-
import { dessmlify, estimateSize, existsAndNotEmpty, findValueForKey, formatNumberForDisplay, isDateTime, isDateTimeRange, listisize, numberToWord, pruneEmpty, random, ssmlify } from "stentor-utils";
|
|
17
|
-
export { dessmlify, estimateSize, existsAndNotEmpty, findValueForKey, formatNumberForDisplay, isDateTime, isDateTimeRange, listisize, numberToWord, pruneEmpty, random, ssmlify };
|
|
18
|
+
import { dessmlify, estimateSize, existsAndNotEmpty, findValueForKey, formatNumberForDisplay, getSlots, keyFromRequest, isDateTime, isDateTimeRange, listisize, numberToWord, pruneEmpty, random, ssmlify } from "stentor-utils";
|
|
19
|
+
export { dessmlify, estimateSize, existsAndNotEmpty, findValueForKey, formatNumberForDisplay, getSlots, keyFromRequest, isDateTime, isDateTimeRange, listisize, numberToWord, pruneEmpty, random, ssmlify, };
|
|
18
20
|
export * from "./Assistant";
|
package/lib/index.js
CHANGED
|
@@ -14,13 +14,24 @@ 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.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.
|
|
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;
|
|
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; } });
|
|
21
21
|
Object.defineProperty(exports, "ContextFactory", { enumerable: true, get: function () { return stentor_context_1.ContextFactory; } });
|
|
22
22
|
const stentor_determiner_1 = require("stentor-determiner");
|
|
23
23
|
Object.defineProperty(exports, "determine", { enumerable: true, get: function () { return stentor_determiner_1.determine; } });
|
|
24
|
+
const stentor_guards_1 = require("stentor-guards");
|
|
25
|
+
Object.defineProperty(exports, "isAnonymousUser", { enumerable: true, get: function () { return stentor_guards_1.isAnonymousUser; } });
|
|
26
|
+
Object.defineProperty(exports, "isInputUnknownRequest", { enumerable: true, get: function () { return stentor_guards_1.isInputUnknownRequest; } });
|
|
27
|
+
Object.defineProperty(exports, "isIntentRequest", { enumerable: true, get: function () { return stentor_guards_1.isIntentRequest; } });
|
|
28
|
+
Object.defineProperty(exports, "isLaunchRequest", { enumerable: true, get: function () { return stentor_guards_1.isLaunchRequest; } });
|
|
29
|
+
Object.defineProperty(exports, "isNotificationPermissionRequest", { enumerable: true, get: function () { return stentor_guards_1.isNotificationPermissionRequest; } });
|
|
30
|
+
Object.defineProperty(exports, "isOptionSelectRequest", { enumerable: true, get: function () { return stentor_guards_1.isOptionSelectRequest; } });
|
|
31
|
+
Object.defineProperty(exports, "isPermissionRequest", { enumerable: true, get: function () { return stentor_guards_1.isPermissionRequest; } });
|
|
32
|
+
Object.defineProperty(exports, "isSessionEndedRequest", { enumerable: true, get: function () { return stentor_guards_1.isSessionEndedRequest; } });
|
|
33
|
+
Object.defineProperty(exports, "isSignInRequest", { enumerable: true, get: function () { return stentor_guards_1.isSignInRequest; } });
|
|
34
|
+
Object.defineProperty(exports, "isSurfaceRequest", { enumerable: true, get: function () { return stentor_guards_1.isSurfaceRequest; } });
|
|
24
35
|
const stentor_handler_1 = require("stentor-handler");
|
|
25
36
|
Object.defineProperty(exports, "AbstractHandler", { enumerable: true, get: function () { return stentor_handler_1.AbstractHandler; } });
|
|
26
37
|
Object.defineProperty(exports, "ConversationHandler", { enumerable: true, get: function () { return stentor_handler_1.ConversationHandler; } });
|
|
@@ -30,20 +41,8 @@ Object.defineProperty(exports, "getSlotType", { enumerable: true, get: function
|
|
|
30
41
|
const stentor_handler_factory_1 = require("stentor-handler-factory");
|
|
31
42
|
Object.defineProperty(exports, "HandlerFactory", { enumerable: true, get: function () { return stentor_handler_factory_1.HandlerFactory; } });
|
|
32
43
|
const stentor_request_1 = require("stentor-request");
|
|
33
|
-
Object.defineProperty(exports, "getSlots", { enumerable: true, get: function () { return stentor_request_1.getSlots; } });
|
|
34
44
|
Object.defineProperty(exports, "InputUnknownRequestBuilder", { enumerable: true, get: function () { return stentor_request_1.InputUnknownRequestBuilder; } });
|
|
35
45
|
Object.defineProperty(exports, "IntentRequestBuilder", { enumerable: true, get: function () { return stentor_request_1.IntentRequestBuilder; } });
|
|
36
|
-
Object.defineProperty(exports, "isAnonymousUser", { enumerable: true, get: function () { return stentor_request_1.isAnonymousUser; } });
|
|
37
|
-
Object.defineProperty(exports, "isInputUnknownRequest", { enumerable: true, get: function () { return stentor_request_1.isInputUnknownRequest; } });
|
|
38
|
-
Object.defineProperty(exports, "isIntentRequest", { enumerable: true, get: function () { return stentor_request_1.isIntentRequest; } });
|
|
39
|
-
Object.defineProperty(exports, "isLaunchRequest", { enumerable: true, get: function () { return stentor_request_1.isLaunchRequest; } });
|
|
40
|
-
Object.defineProperty(exports, "isNotificationPermissionRequest", { enumerable: true, get: function () { return stentor_request_1.isNotificationPermissionRequest; } });
|
|
41
|
-
Object.defineProperty(exports, "isOptionSelectRequest", { enumerable: true, get: function () { return stentor_request_1.isOptionSelectRequest; } });
|
|
42
|
-
Object.defineProperty(exports, "isPermissionRequest", { enumerable: true, get: function () { return stentor_request_1.isPermissionRequest; } });
|
|
43
|
-
Object.defineProperty(exports, "isSessionEndedRequest", { enumerable: true, get: function () { return stentor_request_1.isSessionEndedRequest; } });
|
|
44
|
-
Object.defineProperty(exports, "isSignInRequest", { enumerable: true, get: function () { return stentor_request_1.isSignInRequest; } });
|
|
45
|
-
Object.defineProperty(exports, "isSurfaceRequest", { enumerable: true, get: function () { return stentor_request_1.isSurfaceRequest; } });
|
|
46
|
-
Object.defineProperty(exports, "keyFromRequest", { enumerable: true, get: function () { return stentor_request_1.keyFromRequest; } });
|
|
47
46
|
Object.defineProperty(exports, "LaunchRequestBuilder", { enumerable: true, get: function () { return stentor_request_1.LaunchRequestBuilder; } });
|
|
48
47
|
Object.defineProperty(exports, "SessionEndedRequestBuilder", { enumerable: true, get: function () { return stentor_request_1.SessionEndedRequestBuilder; } });
|
|
49
48
|
const stentor_response_1 = require("stentor-response");
|
|
@@ -59,6 +58,8 @@ Object.defineProperty(exports, "estimateSize", { enumerable: true, get: function
|
|
|
59
58
|
Object.defineProperty(exports, "existsAndNotEmpty", { enumerable: true, get: function () { return stentor_utils_1.existsAndNotEmpty; } });
|
|
60
59
|
Object.defineProperty(exports, "findValueForKey", { enumerable: true, get: function () { return stentor_utils_1.findValueForKey; } });
|
|
61
60
|
Object.defineProperty(exports, "formatNumberForDisplay", { enumerable: true, get: function () { return stentor_utils_1.formatNumberForDisplay; } });
|
|
61
|
+
Object.defineProperty(exports, "getSlots", { enumerable: true, get: function () { return stentor_utils_1.getSlots; } });
|
|
62
|
+
Object.defineProperty(exports, "keyFromRequest", { enumerable: true, get: function () { return stentor_utils_1.keyFromRequest; } });
|
|
62
63
|
Object.defineProperty(exports, "isDateTime", { enumerable: true, get: function () { return stentor_utils_1.isDateTime; } });
|
|
63
64
|
Object.defineProperty(exports, "isDateTimeRange", { enumerable: true, get: function () { return stentor_utils_1.isDateTimeRange; } });
|
|
64
65
|
Object.defineProperty(exports, "listisize", { enumerable: true, get: function () { return stentor_utils_1.listisize; } });
|
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,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;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.54.
|
|
7
|
+
"version": "1.54.14",
|
|
8
8
|
"description": "SDK for building omni-channel conversational assistants",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"node": "^10 || ^12 || ^14 || ^16.0.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@microsoft/api-extractor": "7.
|
|
20
|
+
"@microsoft/api-extractor": "7.20.0",
|
|
21
21
|
"@types/chai": "4.3.0",
|
|
22
22
|
"@types/mocha": "9.1.0",
|
|
23
23
|
"@types/node": "16.11.26",
|
|
@@ -44,26 +44,26 @@
|
|
|
44
44
|
"@types/body-parser": "1.19.2",
|
|
45
45
|
"@types/express": "4.17.13",
|
|
46
46
|
"@xapp/patterns": "1.40.83",
|
|
47
|
-
"body-parser": "1.
|
|
47
|
+
"body-parser": "1.20.0",
|
|
48
48
|
"dotenv": "16.0.0",
|
|
49
49
|
"express": "4.17.3",
|
|
50
|
-
"stentor-constants": "1.54.
|
|
51
|
-
"stentor-context": "1.54.
|
|
52
|
-
"stentor-determiner": "1.54.
|
|
53
|
-
"stentor-handler": "1.54.
|
|
54
|
-
"stentor-handler-factory": "1.54.
|
|
55
|
-
"stentor-logger": "1.54.
|
|
56
|
-
"stentor-models": "1.54.
|
|
57
|
-
"stentor-request": "1.54.
|
|
58
|
-
"stentor-response": "1.54.
|
|
59
|
-
"stentor-runtime": "1.54.
|
|
60
|
-
"stentor-service-event": "1.54.
|
|
61
|
-
"stentor-service-ovai": "1.54.
|
|
62
|
-
"stentor-service-studio": "1.54.
|
|
63
|
-
"stentor-utils": "1.54.
|
|
50
|
+
"stentor-constants": "1.54.13",
|
|
51
|
+
"stentor-context": "1.54.13",
|
|
52
|
+
"stentor-determiner": "1.54.13",
|
|
53
|
+
"stentor-handler": "1.54.13",
|
|
54
|
+
"stentor-handler-factory": "1.54.13",
|
|
55
|
+
"stentor-logger": "1.54.13",
|
|
56
|
+
"stentor-models": "1.54.13",
|
|
57
|
+
"stentor-request": "1.54.13",
|
|
58
|
+
"stentor-response": "1.54.13",
|
|
59
|
+
"stentor-runtime": "1.54.13",
|
|
60
|
+
"stentor-service-event": "1.54.13",
|
|
61
|
+
"stentor-service-ovai": "1.54.13",
|
|
62
|
+
"stentor-service-studio": "1.54.13",
|
|
63
|
+
"stentor-utils": "1.54.13"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"aws-sdk": "2.X"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "b383af0e07ab09b7ec2ced70c378382dc8a16bb4"
|
|
69
69
|
}
|