@xapp/stentor-lex-connect 1.43.36 → 1.43.40
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.
|
@@ -3,21 +3,21 @@ import { Attributes } from "@xapp/stentor-lex-lib";
|
|
|
3
3
|
/**
|
|
4
4
|
* The Genesys integration to Lex
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type LexGenesysChannel = "genesys";
|
|
7
7
|
/**
|
|
8
8
|
* The AWS Connect integration to Lex
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type LexConnectChannel = "connect";
|
|
11
11
|
/**
|
|
12
12
|
* Stentor Widget channel
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type LexConnectWidget = "widget";
|
|
15
15
|
/**
|
|
16
16
|
* The AWS Lex console
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
18
|
+
export type LexConsoleChannel = "console";
|
|
19
|
+
export type LexNLUTest = "studio-nlu-test";
|
|
20
|
+
export type LexChannels = LexConsoleChannel | LexConnectWidget | LexConnectChannel | LexGenesysChannel | LexNLUTest | string;
|
|
21
21
|
export declare const LEX_CONNECT_CHANNEL: LexConnectChannel;
|
|
22
22
|
export declare const LEX_CONNECT_WIDGET: LexConnectWidget;
|
|
23
23
|
export declare const LEX_CONSOLE_CHANNEL: LexConsoleChannel;
|
|
@@ -31,7 +31,7 @@ export interface Lexable {
|
|
|
31
31
|
/**
|
|
32
32
|
* Makes an object have a channel field.
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
34
|
+
export type Lexed<T> = T & Lexable;
|
|
35
35
|
/**
|
|
36
36
|
* Test if the object has special Lex fields
|
|
37
37
|
* @param obj
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.43.
|
|
7
|
+
"version": "1.43.40",
|
|
8
8
|
"description": "Stentor Lex Connect channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"stentor-response": "1.57.39",
|
|
31
31
|
"stentor-utils": "1.57.39",
|
|
32
32
|
"ts-node": "10.9.1",
|
|
33
|
-
"typescript": "4.
|
|
33
|
+
"typescript": "4.9.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@xapp/patterns": "1.43.
|
|
37
|
-
"@xapp/stentor-alexa-lib": "1.43.
|
|
38
|
-
"@xapp/stentor-lex-lib": "1.43.
|
|
36
|
+
"@xapp/patterns": "1.43.38",
|
|
37
|
+
"@xapp/stentor-alexa-lib": "1.43.38",
|
|
38
|
+
"@xapp/stentor-lex-lib": "1.43.40"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"stentor-channel": "1.x",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"clean": "rm -rf ./lib/*",
|
|
53
53
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "7765aaadd65e69203d9b8408dce2edcfdd214c97"
|
|
56
56
|
}
|