@tiledesk/tiledesk-server 2.5.3 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.7.1
9
+ - Updated widget.json translation file
10
+ - Improved widget White Label
11
+
12
+ # 2.7.0
13
+ - Lead update queued
14
+ - Updated tybot-connector to 0.2.57
15
+ - Updated kb route
16
+ - Added trainer job worker
17
+
8
18
  # 2.5.3
9
19
  - Updated whatsapp-connector to 0.1.64
10
20
 
package/README.md CHANGED
@@ -93,7 +93,7 @@ Deploy with button:
93
93
  [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Tiledesk/tiledesk-server)
94
94
 
95
95
  # Community? Questions? Support ?
96
- If you need help or just want to hang out, come, say hi on our [<img width="15" alt="Tiledesk discord" src="https://seeklogo.com/images/D/discord-color-logo-E5E6DFEF80-seeklogo.com.png"> Discord](https://discord.gg/nERZEZ7SmG) server.
96
+ If you need help or just want to hang out, come, say hi on our [<img width="15" alt="Tiledesk discord" src="https://seeklogo.com/images/D/discord-color-logo-E5E6DFEF80-seeklogo.com.png"> Discord](https://discord.gg/Q5A6Ewadmz) server.
97
97
 
98
98
  # REST API
99
99
 
package/app.js CHANGED
@@ -175,6 +175,8 @@ trainingService.start();
175
175
  var geoService = require('./services/geoService');
176
176
  // geoService.listen(); //queued
177
177
 
178
+ var updateLeadQueued = require('./services/updateLeadQueued');
179
+
178
180
  let JobsManager = require('./jobsManager');
179
181
 
180
182
  let jobWorkerEnabled = false;
@@ -183,7 +185,7 @@ if (process.env.JOB_WORKER_ENABLED=="true" || process.env.JOB_WORKER_ENABLED ==
183
185
  }
184
186
  winston.info("JobsManager jobWorkerEnabled: "+ jobWorkerEnabled);
185
187
 
186
- let jobsManager = new JobsManager(jobWorkerEnabled, geoService, botEvent, subscriptionNotifierQueued, botSubscriptionNotifier);
188
+ let jobsManager = new JobsManager(jobWorkerEnabled, geoService, botEvent, subscriptionNotifierQueued, botSubscriptionNotifier, updateLeadQueued);
187
189
 
188
190
  var faqBotHandler = require('./services/faqBotHandler');
189
191
  faqBotHandler.listen();
@@ -197,6 +199,10 @@ let whatsappQueue = require('@tiledesk/tiledesk-whatsapp-jobworker');
197
199
  winston.info("whatsappQueue");
198
200
  jobsManager.listenWhatsappQueue(whatsappQueue);
199
201
 
202
+ let trainingQueue = require('@tiledesk/tiledesk-train-jobworker');
203
+ winston.info("trainingQueue");
204
+ jobsManager.listenTrainingQueue(trainingQueue);
205
+
200
206
 
201
207
  var channelManager = require('./channels/channelManager');
202
208
  channelManager.listen();