@xapp/stentor-dialogflow 1.40.113 → 1.40.120
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/v1/translators/TranslateDialogflowRequest/index.js +12 -12
- package/lib/v1/translators/TranslateDialogflowRequest/index.js.map +1 -1
- package/lib/v2/translators/TranslateDialogflowV2Request/TranslateDialogflowV2Request.js +11 -11
- package/lib/v2/translators/TranslateDialogflowV2Request/TranslateDialogflowV2Request.js.map +1 -1
- package/package.json +14 -14
|
@@ -5,7 +5,7 @@ exports.TranslateDialogflowRequest = void 0;
|
|
|
5
5
|
const patterns_1 = require("@xapp/patterns");
|
|
6
6
|
const stentor_constants_1 = require("stentor-constants");
|
|
7
7
|
const stentor_interaction_model_1 = require("stentor-interaction-model");
|
|
8
|
-
const
|
|
8
|
+
const stentor_guards_1 = require("stentor-guards");
|
|
9
9
|
const Constants_1 = require("../../../Constants");
|
|
10
10
|
const helpers_1 = require("./helpers");
|
|
11
11
|
class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
@@ -57,7 +57,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
57
57
|
if ((0, helpers_1.isSignInIntentRequest)(requestBody)) {
|
|
58
58
|
const granted = (0, helpers_1.isSignInGranted)(requestBody);
|
|
59
59
|
request = {
|
|
60
|
-
type:
|
|
60
|
+
type: stentor_constants_1.SIGN_IN_REQUEST_TYPE,
|
|
61
61
|
intentId: stentor_constants_1.SIGN_IN_ID,
|
|
62
62
|
locale,
|
|
63
63
|
isNewSession,
|
|
@@ -72,7 +72,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
72
72
|
else if ((0, helpers_1.isOptionSelectRequest)(requestBody)) {
|
|
73
73
|
const { token, title } = (0, helpers_1.checkOptionSelect)(requestBody);
|
|
74
74
|
request = {
|
|
75
|
-
type:
|
|
75
|
+
type: stentor_constants_1.OPTION_SELECT_REQUEST_TYPE,
|
|
76
76
|
intentId: stentor_constants_1.OPTION_SELECT_ID,
|
|
77
77
|
locale,
|
|
78
78
|
isNewSession,
|
|
@@ -88,7 +88,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
88
88
|
else if ((0, helpers_1.isSurfaceChangeIntentRequest)(requestBody)) {
|
|
89
89
|
const granted = (0, helpers_1.isSurfaceChangeGranted)(requestBody);
|
|
90
90
|
request = {
|
|
91
|
-
type:
|
|
91
|
+
type: stentor_constants_1.SURFACE_CHANGE_REQUEST_TYPE,
|
|
92
92
|
locale,
|
|
93
93
|
isNewSession,
|
|
94
94
|
sessionId,
|
|
@@ -104,7 +104,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
104
104
|
const granted = (0, helpers_1.isNotificationPermissionGranted)(requestBody);
|
|
105
105
|
const notificationUserId = (0, helpers_1.getNotificationUserId)(requestBody);
|
|
106
106
|
request = {
|
|
107
|
-
type:
|
|
107
|
+
type: stentor_constants_1.NOTIFICATION_PERMISSION_REQUEST_TYPE,
|
|
108
108
|
locale,
|
|
109
109
|
isNewSession,
|
|
110
110
|
sessionId,
|
|
@@ -120,7 +120,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
120
120
|
const granted = (0, helpers_1.isPermissionGranted)(requestBody);
|
|
121
121
|
const userProfile = (0, helpers_1.getUserData)(requestBody);
|
|
122
122
|
request = {
|
|
123
|
-
type:
|
|
123
|
+
type: stentor_constants_1.PERMISSION_REQUEST_TYPE,
|
|
124
124
|
intentId: stentor_constants_1.PERMISSION_GRANT_ID,
|
|
125
125
|
locale,
|
|
126
126
|
isNewSession,
|
|
@@ -142,7 +142,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
142
142
|
// comes in as a barge-in for LaunchRequest, if the "junk is not matched to an intent.
|
|
143
143
|
if (intentId === "LaunchRequest") {
|
|
144
144
|
request = {
|
|
145
|
-
type:
|
|
145
|
+
type: stentor_constants_1.INPUT_UNKNOWN_REQUEST_TYPE,
|
|
146
146
|
locale,
|
|
147
147
|
intentId: "InputUnknown",
|
|
148
148
|
isNewSession,
|
|
@@ -157,7 +157,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
157
157
|
}
|
|
158
158
|
else {
|
|
159
159
|
request = {
|
|
160
|
-
type:
|
|
160
|
+
type: stentor_constants_1.INTENT_REQUEST_TYPE,
|
|
161
161
|
locale,
|
|
162
162
|
intentId,
|
|
163
163
|
isNewSession,
|
|
@@ -174,7 +174,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
176
176
|
request = {
|
|
177
|
-
type:
|
|
177
|
+
type: stentor_constants_1.LAUNCH_REQUEST_TYPE,
|
|
178
178
|
intentId: stentor_constants_1.LAUNCH_REQUEST_ID,
|
|
179
179
|
locale,
|
|
180
180
|
isNewSession,
|
|
@@ -191,7 +191,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
191
191
|
intentId = (0, helpers_1.findIntent)(requestBody);
|
|
192
192
|
if (intentId === stentor_interaction_model_1.INPUT_UNKNOWN) {
|
|
193
193
|
request = {
|
|
194
|
-
type:
|
|
194
|
+
type: stentor_constants_1.INPUT_UNKNOWN_REQUEST_TYPE,
|
|
195
195
|
locale,
|
|
196
196
|
intentId,
|
|
197
197
|
isNewSession,
|
|
@@ -205,7 +205,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
205
205
|
}
|
|
206
206
|
else {
|
|
207
207
|
request = {
|
|
208
|
-
type:
|
|
208
|
+
type: stentor_constants_1.INTENT_REQUEST_TYPE,
|
|
209
209
|
locale,
|
|
210
210
|
intentId,
|
|
211
211
|
isNewSession,
|
|
@@ -221,7 +221,7 @@ class TranslateDialogflowRequest extends patterns_1.Translator {
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
// Final thing, try to detect an anonymous user
|
|
224
|
-
if ((0,
|
|
224
|
+
if ((0, stentor_guards_1.isAnonymousUser)(request)) {
|
|
225
225
|
console.warn("Anonymous user detected, using sessionID for userId....");
|
|
226
226
|
// When the userId is anonymous (it looks like a timestamp), it means the user has not completed
|
|
227
227
|
// the voice training and the userId will change with every request. This makes it impossible to keep state
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/translators/TranslateDialogflowRequest/index.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AACpC,6CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/translators/TranslateDialogflowRequest/index.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AACpC,6CAA4C;AAC5C,yDAa2B;AAC3B,yEAA0D;AAE1D,mDAAiD;AACjD,kDAAyD;AAEzD,uCAwBmB;AAEnB,MAAa,0BAA2B,SAAQ,qBAAsC;IAClF,SAAS,CAAC,WAA8B;QACpC,YAAY;QACZ,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,SAAS,CAAC;SACpB;QAED,IAAI,OAAgB,CAAC;QAErB,MAAM,MAAM,GAAG,IAAA,mBAAS,EAAC,WAAW,CAAC,CAAC;QACtC,MAAM,SAAS,GAAW,IAAA,sBAAY,EAAC,WAAW,CAAC,CAAC;QACpD,MAAM,YAAY,GAAY,IAAA,uBAAa,EAAC,WAAW,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,IAAA,mBAAS,EAAC,WAAW,CAAC,CAAC;QACtC,MAAM,SAAS,GAAG,IAAA,iBAAO,EAAC,WAAW,CAAC,CAAC;QACvC,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,WAAW,CAAC,CAAC;QAChD,MAAM,WAAW,GAAG,IAAA,uBAAa,EAAC,WAAW,CAAC,CAAC;QAC/C,MAAM,OAAO,GAAG,IAAA,mBAAS,EAAC,WAAW,CAAC,CAAC;QACvC,MAAM,QAAQ,GAAG,IAAA,qBAAW,EAAC,WAAW,CAAC,CAAC;QAE1C,MAAM,KAA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I,QAAQ,KAAK,yCAAa,EAAE;gBAC5B,OAAO,GAAG;oBACN,IAAI,EAAE,8CAA0B;oBAChC,MAAM;oBACN,QAAQ;oBACR,YAAY;oBACZ,SAAS;oBACT,MAAM;oBACN,SAAS;oBACT,aAAa,EAAE,WAAW;oBAC1B,SAAS,EAAE,OAAO;oBAClB,QAAQ;iBACX,CAAC;aACL;iBAAM;gBACH,OAAO,GAAG;oBACN,IAAI,EAAE,uCAAmB;oBACzB,MAAM;oBACN,QAAQ;oBACR,YAAY;oBACZ,SAAS;oBACT,MAAM;oBACN,SAAS;oBACT,WAAW;oBACX,KAAK;oBACL,aAAa,EAAE,WAAW;oBAC1B,SAAS,EAAE,OAAO;oBAClB,QAAQ;iBACX,CAAC;aACL;SACJ;QAED,+CAA+C;QAC/C,IAAI,IAAA,gCAAe,EAAC,OAAO,CAAC,EAAE;YAC1B,OAAO,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAC;YACxE,gGAAgG;YAChG,4GAA4G;YAC5G,+EAA+E;YAC/E,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;YAC3B,+CAA+C;YAC/C,wDAAwD;YACxD,iDAAiD;YACjD,2BAA2B;SAC9B;QAED,OAAO,CAAC,QAAQ,GAAG,+BAAmB,CAAC;QAEvC,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ;AA3OD,gEA2OC"}
|
|
@@ -6,7 +6,7 @@ exports.TranslateDialogflowV2Request = void 0;
|
|
|
6
6
|
const patterns_1 = require("@xapp/patterns");
|
|
7
7
|
const stentor_constants_1 = require("stentor-constants");
|
|
8
8
|
const stentor_interaction_model_1 = require("stentor-interaction-model");
|
|
9
|
-
const
|
|
9
|
+
const stentor_guards_1 = require("stentor-guards");
|
|
10
10
|
const stentor_utils_1 = require("stentor-utils");
|
|
11
11
|
const Constants_1 = require("../../../Constants");
|
|
12
12
|
const helpers_1 = require("./helpers");
|
|
@@ -42,7 +42,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
42
42
|
if ((0, helpers_1.isSignInIntentRequest)(requestBody)) {
|
|
43
43
|
const granted = (0, helpers_1.isSignInGranted)(requestBody);
|
|
44
44
|
request = {
|
|
45
|
-
type:
|
|
45
|
+
type: stentor_constants_1.SIGN_IN_REQUEST_TYPE,
|
|
46
46
|
intentId: stentor_constants_1.SIGN_IN_ID,
|
|
47
47
|
isNewSession,
|
|
48
48
|
sessionId,
|
|
@@ -57,7 +57,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
57
57
|
else if ((0, helpers_1.isOptionSelectRequest)(requestBody)) {
|
|
58
58
|
const { token, title } = (0, helpers_1.checkOptionSelect)(requestBody);
|
|
59
59
|
request = {
|
|
60
|
-
type:
|
|
60
|
+
type: stentor_constants_1.OPTION_SELECT_REQUEST_TYPE,
|
|
61
61
|
intentId: stentor_constants_1.OPTION_SELECT_ID,
|
|
62
62
|
locale,
|
|
63
63
|
isNewSession,
|
|
@@ -73,7 +73,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
73
73
|
else if ((0, helpers_1.isSurfaceChangeIntentRequest)(requestBody)) {
|
|
74
74
|
const granted = (0, helpers_1.isSurfaceChangeGranted)(requestBody);
|
|
75
75
|
request = {
|
|
76
|
-
type:
|
|
76
|
+
type: stentor_constants_1.SURFACE_CHANGE_REQUEST_TYPE,
|
|
77
77
|
isNewSession,
|
|
78
78
|
sessionId,
|
|
79
79
|
userId,
|
|
@@ -89,7 +89,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
89
89
|
const granted = (0, helpers_1.isNotificationPermissionGranted)(requestBody);
|
|
90
90
|
const notificationUserId = (0, helpers_1.getNotificationUserId)(requestBody);
|
|
91
91
|
request = {
|
|
92
|
-
type:
|
|
92
|
+
type: stentor_constants_1.NOTIFICATION_PERMISSION_REQUEST_TYPE,
|
|
93
93
|
isNewSession,
|
|
94
94
|
sessionId,
|
|
95
95
|
userId,
|
|
@@ -105,7 +105,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
105
105
|
const granted = (0, helpers_1.isPermissionGranted)(requestBody);
|
|
106
106
|
const userProfile = (0, helpers_1.getUserData)(requestBody);
|
|
107
107
|
request = {
|
|
108
|
-
type:
|
|
108
|
+
type: stentor_constants_1.PERMISSION_REQUEST_TYPE,
|
|
109
109
|
intentId: stentor_constants_1.PERMISSION_GRANT_ID,
|
|
110
110
|
isNewSession,
|
|
111
111
|
sessionId,
|
|
@@ -124,7 +124,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
124
124
|
if ((0, helpers_1.isBargeIn)(requestBody)) {
|
|
125
125
|
intentId = (0, helpers_1.findIntent)(requestBody);
|
|
126
126
|
request = {
|
|
127
|
-
type:
|
|
127
|
+
type: stentor_constants_1.INTENT_REQUEST_TYPE,
|
|
128
128
|
intentId,
|
|
129
129
|
isNewSession,
|
|
130
130
|
sessionId,
|
|
@@ -141,7 +141,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
141
141
|
}
|
|
142
142
|
else {
|
|
143
143
|
request = {
|
|
144
|
-
type:
|
|
144
|
+
type: stentor_constants_1.LAUNCH_REQUEST_TYPE,
|
|
145
145
|
intentId: stentor_constants_1.LAUNCH_REQUEST_ID,
|
|
146
146
|
isNewSession,
|
|
147
147
|
sessionId,
|
|
@@ -159,7 +159,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
159
159
|
intentId = (0, helpers_1.findIntent)(requestBody);
|
|
160
160
|
if (intentId === stentor_interaction_model_1.INPUT_UNKNOWN) {
|
|
161
161
|
request = {
|
|
162
|
-
type:
|
|
162
|
+
type: stentor_constants_1.INPUT_UNKNOWN_REQUEST_TYPE,
|
|
163
163
|
intentId,
|
|
164
164
|
isNewSession,
|
|
165
165
|
sessionId,
|
|
@@ -179,7 +179,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
179
179
|
intentId = stentor_constants_1.KNOWLEDGE_ANSWER_ID;
|
|
180
180
|
}
|
|
181
181
|
request = {
|
|
182
|
-
type:
|
|
182
|
+
type: stentor_constants_1.INTENT_REQUEST_TYPE,
|
|
183
183
|
intentId,
|
|
184
184
|
isNewSession,
|
|
185
185
|
sessionId,
|
|
@@ -197,7 +197,7 @@ class TranslateDialogflowV2Request extends patterns_1.Translator {
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
// Final thing, try to detect an anonymous user
|
|
200
|
-
if ((0,
|
|
200
|
+
if ((0, stentor_guards_1.isAnonymousUser)(request)) {
|
|
201
201
|
console.warn("Anonymous user detected, using sessionID for userId....");
|
|
202
202
|
// When the userId is anonymous (it looks like a timestamp), it means the user has not completed
|
|
203
203
|
// the voice training and the userId will change with every request. This makes it impossible to keep state
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranslateDialogflowV2Request.js","sourceRoot":"","sources":["../../../../src/v2/translators/TranslateDialogflowV2Request/TranslateDialogflowV2Request.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AACpC,0CAA0C;AAC1C,6CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"TranslateDialogflowV2Request.js","sourceRoot":"","sources":["../../../../src/v2/translators/TranslateDialogflowV2Request/TranslateDialogflowV2Request.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AACpC,0CAA0C;AAC1C,6CAA4C;AAC5C,yDAc2B;AAC3B,yEAA0D;AAE1D,mDAAiD;AACjD,iDAAkG;AAGlG,kDAAyD;AACzD,uCA0BmB;AAEnB,MAAM,UAAU,GAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAEhD;;GAEG;AACH,MAAa,4BAA6B,SAAQ,qBAA0D;IACxG,SAAS,CAAC,WAAkD;QACxD,YAAY;QACZ,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,SAAS,CAAC;SACpB;QAED,IAAI,OAAgB,CAAC;QAErB,MAAM,MAAM,GAAG,IAAA,mBAAS,EAAC,WAAW,CAA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6
|
},
|
|
7
|
-
"version": "1.40.
|
|
7
|
+
"version": "1.40.120",
|
|
8
8
|
"description": "Dialogflow channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
"mocha": "9.2.2",
|
|
25
25
|
"sinon": "9.2.4",
|
|
26
26
|
"sinon-chai": "3.7.0",
|
|
27
|
-
"stentor-constants": "1.54.
|
|
28
|
-
"stentor-guards": "1.54.
|
|
29
|
-
"stentor-interaction-model": "1.54.
|
|
30
|
-
"stentor-locales": "1.54.
|
|
31
|
-
"stentor-logger": "1.54.
|
|
32
|
-
"stentor-media": "1.54.
|
|
33
|
-
"stentor-models": "1.54.
|
|
34
|
-
"stentor-request": "1.54.
|
|
35
|
-
"stentor-response": "1.54.
|
|
36
|
-
"stentor-utils": "1.54.
|
|
27
|
+
"stentor-constants": "1.54.13",
|
|
28
|
+
"stentor-guards": "1.54.13",
|
|
29
|
+
"stentor-interaction-model": "1.54.13",
|
|
30
|
+
"stentor-locales": "1.54.13",
|
|
31
|
+
"stentor-logger": "1.54.13",
|
|
32
|
+
"stentor-media": "1.54.13",
|
|
33
|
+
"stentor-models": "1.54.13",
|
|
34
|
+
"stentor-request": "1.54.13",
|
|
35
|
+
"stentor-response": "1.54.13",
|
|
36
|
+
"stentor-utils": "1.54.13",
|
|
37
37
|
"ts-node": "9.1.1",
|
|
38
38
|
"typescript": "4.6.3"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@types/dialogflow": "0.11.0",
|
|
42
42
|
"@xapp/patterns": "1.40.101",
|
|
43
|
-
"@xapp/stentor-actions-on-google": "1.40.
|
|
44
|
-
"@xapp/stentor-app": "1.40.
|
|
43
|
+
"@xapp/stentor-actions-on-google": "1.40.120",
|
|
44
|
+
"@xapp/stentor-app": "1.40.120",
|
|
45
45
|
"actions-on-google": "2.14.0",
|
|
46
46
|
"dialogflow": "0.14.1"
|
|
47
47
|
},
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"clean": "rm -rf ./lib/*",
|
|
63
63
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "3839b35cd91acc7280c9106610a1962ff217a905"
|
|
66
66
|
}
|