@onereach/step-voice 5.0.1 → 5.0.2-bargein.2
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/dst/Choice.js +2 -0
- package/package.json +3 -7
package/dst/Choice.js
CHANGED
|
@@ -70,6 +70,7 @@ class Choice extends voice_1.default {
|
|
|
70
70
|
async runStep() {
|
|
71
71
|
const call = await this.fetchData();
|
|
72
72
|
const { textType, asr, tts, sensitiveData, noReplyDelay, usePromptsTriggers, recognitionModel, useInterspeechTimeout, interSpeechTimeout } = this.data;
|
|
73
|
+
this.log.info({ data: this.data }, 'runStep');
|
|
73
74
|
const exitExists = (exitId) => {
|
|
74
75
|
return lodash_1.default.some(choices, (choice) => choice.exitId === exitId);
|
|
75
76
|
};
|
|
@@ -78,6 +79,7 @@ class Choice extends voice_1.default {
|
|
|
78
79
|
const asrSettings = getAsrSettings(asr.getSettings(call.asr), choices, recognitionModel);
|
|
79
80
|
const repromptsList = this.buildReprompts({ prompts: this.data.prompts });
|
|
80
81
|
const speechSections = this.buildSections({ sections: this.data.audio, textType, ttsSettings });
|
|
82
|
+
this.log.info({ speechSections }, 'speechSections');
|
|
81
83
|
const grammar = {
|
|
82
84
|
id: this.currentStepId,
|
|
83
85
|
choices,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/step-voice",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2-bargein.2",
|
|
4
4
|
"author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Roman Zolotarov",
|
|
@@ -44,13 +44,9 @@
|
|
|
44
44
|
"build": "npm run clean && tsc -p ./tsconfig.build.json",
|
|
45
45
|
"build-fast": "npm run clean && swc ./src -d ./dst",
|
|
46
46
|
"deploy": "./scripts/deploy.sh",
|
|
47
|
-
"download
|
|
48
|
-
"
|
|
49
|
-
"upload-prod": "./scripts/upload.sh prod",
|
|
50
|
-
"upload-dev": "./scripts/upload.sh dev",
|
|
47
|
+
"download": "./scripts/download.sh",
|
|
48
|
+
"upload": "./scripts/upload.sh",
|
|
51
49
|
"pub": "./scripts/publish.sh",
|
|
52
|
-
"publish-patch": "echo use: npm run pub; exit 1",
|
|
53
|
-
"publish-beta": "echo use: npm run pub; exit 1",
|
|
54
50
|
"test": "jest"
|
|
55
51
|
},
|
|
56
52
|
"repository": {
|