@tiledesk/tiledesk-server 2.10.17 → 2.10.19
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -5,17 +5,27 @@
|
|
5
5
|
🚀 IN PRODUCTION 🚀
|
6
6
|
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
|
7
7
|
|
8
|
+
# 2.10.19
|
9
|
+
- updated whatsapp-connector to 0.1.74
|
10
|
+
- updated whatsapp-worker to 0.1.10
|
11
|
+
- updated voice-twilio-connector to 0.1.8
|
12
|
+
- updated get transactions endpoint (only broadcast automations are returned)
|
13
|
+
|
14
|
+
# 2.10.18
|
15
|
+
- updated messenger-connector 0.1.23
|
16
|
+
- updated voice-twilio module
|
17
|
+
|
8
18
|
# 2.10.17
|
9
19
|
- changed bodyParser.urlencoded extended to TRUE
|
10
20
|
- updated tybot-connector to 0.2.130
|
11
21
|
- added twilio voice module
|
12
|
-
- updated messenger-
|
22
|
+
- updated messenger-connector 0.1.22
|
13
23
|
|
14
24
|
# 2.10.16 - abort
|
15
25
|
- changed bodyParser.urlencoded extended to TRUE
|
16
26
|
- updated tybot-connector to 0.2.130
|
17
27
|
- added twilio voice module
|
18
|
-
- updated messenger-
|
28
|
+
- updated messenger-connector 0.1.22
|
19
29
|
|
20
30
|
# 2.10.15
|
21
31
|
- Readded event on fully_abandoned request
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tiledesk/tiledesk-server",
|
3
3
|
"description": "The Tiledesk server module",
|
4
|
-
"version": "2.10.
|
4
|
+
"version": "2.10.19",
|
5
5
|
"scripts": {
|
6
6
|
"start": "node ./bin/www",
|
7
7
|
"pretest": "mongodb-runner start",
|
@@ -44,16 +44,16 @@
|
|
44
44
|
"@tiledesk/tiledesk-dialogflow-connector": "^1.8.4",
|
45
45
|
"@tiledesk/tiledesk-json-rules-engine": "^4.0.3",
|
46
46
|
"@tiledesk/tiledesk-kaleyra-proxy": "^0.1.7",
|
47
|
-
"@tiledesk/tiledesk-messenger-connector": "^0.1.
|
47
|
+
"@tiledesk/tiledesk-messenger-connector": "^0.1.23",
|
48
48
|
"@tiledesk/tiledesk-rasa-connector": "^1.0.10",
|
49
49
|
"@tiledesk/tiledesk-telegram-connector": "^0.1.14",
|
50
50
|
"@tiledesk/tiledesk-train-jobworker": "^0.0.11",
|
51
51
|
"@tiledesk/tiledesk-tybot-connector": "^0.2.130",
|
52
|
-
"@tiledesk/tiledesk-whatsapp-connector": "^0.1.
|
53
|
-
"@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.
|
52
|
+
"@tiledesk/tiledesk-whatsapp-connector": "^0.1.74",
|
53
|
+
"@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.10",
|
54
54
|
"@tiledesk/tiledesk-sms-connector": "^0.1.10",
|
55
55
|
"@tiledesk/tiledesk-vxml-connector": "^0.1.49",
|
56
|
-
"@tiledesk/tiledesk-voice-twilio-connector": "^0.1.
|
56
|
+
"@tiledesk/tiledesk-voice-twilio-connector": "^0.1.8",
|
57
57
|
"amqplib": "^0.5.5",
|
58
58
|
"app-root-path": "^3.0.0",
|
59
59
|
"bcrypt-nodejs": "0.0.3",
|
@@ -376,7 +376,7 @@ class PubModulesManager {
|
|
376
376
|
winston.info("this.voiceTwilio: " + this.voiceTwilio);
|
377
377
|
this.voiceTwilio.listener.listen(config);
|
378
378
|
|
379
|
-
this.voiceTwilioRoute = this.
|
379
|
+
this.voiceTwilioRoute = this.voiceTwilio.voiceTwilioRoute;
|
380
380
|
|
381
381
|
winston.info("PubModulesManager initialized apps (voiceTwilio).")
|
382
382
|
} catch(err) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
const listener = require("./listener");
|
2
2
|
|
3
3
|
const twilio_voice = require('@tiledesk/tiledesk-voice-twilio-connector');
|
4
|
-
const
|
4
|
+
const voiceTwilioRoute = twilio_voice.router;
|
5
5
|
|
6
|
-
module.exports = { listener: listener,
|
6
|
+
module.exports = { listener: listener, voiceTwilioRoute: voiceTwilioRoute }
|
@@ -38,7 +38,7 @@ class Listener {
|
|
38
38
|
MONGODB_URI: config.databaseUri,
|
39
39
|
dbconnection: dbConnection,
|
40
40
|
API_URL: apiUrl,
|
41
|
-
BASE_URL: apiUrl + "/modules/twilio
|
41
|
+
BASE_URL: apiUrl + "/modules/voice-twilio",
|
42
42
|
REDIS_HOST: host,
|
43
43
|
REDIS_PORT: port,
|
44
44
|
REDIS_PASSWORD: password,
|
package/routes/logs.js
CHANGED
@@ -21,7 +21,7 @@ router.get('/whatsapp', async (req, res) => {
|
|
21
21
|
|
22
22
|
let project_id = req.projectid;
|
23
23
|
|
24
|
-
Transaction.find({ id_project: project_id }, (err, transactions) => {
|
24
|
+
Transaction.find({ id_project: project_id, broadcast: { $in: [null, true] } }, (err, transactions) => {
|
25
25
|
if (err) {
|
26
26
|
winston.error("Error find transactions for project_id: " + project_id);
|
27
27
|
return res.status(400).send({ success: false, message: "Unable to find transaction for project_id " + project_id });
|