@tiledesk/tiledesk-server 2.2.16 → 2.2.17
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/CHANGELOG.md
CHANGED
@@ -1,8 +1,32 @@
|
|
1
|
+
Trigger1:
|
2
|
+
* se agenti disponibili
|
3
|
+
* Azione: rispondi con messaggio “online”
|
4
|
+
* Azione: invia in chat messaggio “Assegnata a $REQUEST_FIRST_PARTECIPANT” [SCATTA SU: ONAFTERSERVE()]
|
1
5
|
|
6
|
+
* Trigger2:
|
7
|
+
* agenti non disponibili
|
8
|
+
* Azione: rispondi con messaggio “offline” (il messaggio offline comprende info sulla messa in coda e sul tempo medio di attesa) $AVG_WAIT_TIME
|
9
|
+
* richiesta served() => in unassigned (in coda)
|
2
10
|
|
11
|
+
* Trigger3:
|
12
|
+
* orari chiusi
|
13
|
+
* Azione: messaggio “orari chiusi”
|
14
|
+
* Il chatbot rimane (più probabile perchè il chatbot di ingresso già gestisce le faq)
|
15
|
+
* metti in coda con messaggio (“orari chiusi” oppure altro messaggio)
|
3
16
|
|
17
|
+
senza chatbot
|
4
18
|
|
5
|
-
|
19
|
+
ATTUALE: se online fai serve() con messaggio online
|
20
|
+
ATTUALE: se offline fai serve() con messaggio offline
|
21
|
+
ATTUALE: se orari chiusi fai serve() solo messaggio orari chiusi
|
22
|
+
AGGIUNGERE (con documentazione): se orari chiusi invita un chatbot (visto che non c’è, ma serve solo negli orari di chiusura) con messaggio orari chiusi
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
# 2.2.17 -> PROD
|
27
|
+
- removed default fallback limit on parse reply
|
28
|
+
|
29
|
+
# 2.2.16 -> PROD
|
6
30
|
- Email templates endpoint
|
7
31
|
- Created request.updated event for request event and deprecated request.update.comment
|
8
32
|
- Added Handlebars template processor for the message transformer module only if message.attributes.templateProcessor=true
|
@@ -11,7 +35,7 @@
|
|
11
35
|
- Added /intents alias for /faq endpoint
|
12
36
|
- The request_id field of the request model has now a unique index
|
13
37
|
|
14
|
-
# 2.2.15
|
38
|
+
# 2.2.15
|
15
39
|
- Added catch messageService.send for bot
|
16
40
|
- Added external searcher for bot( ex. Rasa proxy)
|
17
41
|
- Faq language fix taken from bot language for create single and import from csv
|
package/package.json
CHANGED
File without changes
|
@@ -368,7 +368,7 @@ class FaqBotSupport {
|
|
368
368
|
// found = true;
|
369
369
|
// return resolve(bot_answer);
|
370
370
|
|
371
|
-
if (message.channel.name == "chat21") { //why this contition on chat21 channel? bacause only chat21 support parsed replies?
|
371
|
+
// if (message.channel.name == "chat21") { //why this contition on chat21 channel? bacause only chat21 support parsed replies?
|
372
372
|
winston.debug("faqBotSupport message.channel.name is chat21",message);
|
373
373
|
that.getParsedMessage(bot_answer.text,message, bot, faqs[0]).then(function(bot_answerres) {
|
374
374
|
|
@@ -377,10 +377,10 @@ class FaqBotSupport {
|
|
377
377
|
return resolve(bot_answerres);
|
378
378
|
});
|
379
379
|
|
380
|
-
} else {
|
381
|
-
|
382
|
-
|
383
|
-
}
|
380
|
+
// } else {
|
381
|
+
// winston.debug("faqBotSupport message.channel.name is not chat21 returning default",message);
|
382
|
+
// return resolve(bot_answer);
|
383
|
+
// }
|
384
384
|
|
385
385
|
} else {
|
386
386
|
var message_key = "DEFAULT_NOTFOUND_NOBOT_SENTENCE_REPLY_MESSAGE";
|