@tiledesk/tiledesk-voice-twilio-connector 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-voice-twilio-connector",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Tiledesk VOICE Twilio connector",
5
5
  "license": "MIT",
6
6
  "author": "Gabriele Panico",
@@ -67,7 +67,7 @@
67
67
  <div class="header-content">
68
68
  <div class="logo-title">
69
69
  <div class="logo-container">
70
- <img src="https://raw.githubusercontent.com/gab-95/images-host/main/sms.png" width="60px" height="60px">
70
+ <img src="https://raw.githubusercontent.com/gab-95/images-host/main/voice-twilio-icon.png" width="60px" height="60px">
71
71
  </div>
72
72
  <div class="title-version">
73
73
  <p class="title">VOICE Twilio Connector</p>
@@ -112,15 +112,15 @@
112
112
  <ul>
113
113
  <div class="list-element">
114
114
  <img src="https://cdn-icons-png.flaticon.com/512/1443/1443000.png" width="20" height="20" style="margin-right: 10px;"/>
115
- <h7>Integrate your number with Tiledesk to text with a Chatbot</h7>
115
+ <h7>Real-time notifications: get instant alerts on your Tiledesk account whenever a client calls you, ensuring you never miss a message</h7>
116
116
  </div>
117
117
  <div class="list-element">
118
118
  <img src="https://cdn-icons-png.flaticon.com/512/1443/1443000.png" width="20" height="20" style="margin-right: 10px;"/>
119
- <h7>Once a client text to you, receive an alert on your Tiledesk account and answer to your clients easily</h7>
119
+ <h7>Effortless responses: Quickly reply to clients directly from your Tiledesk account with ease</h7>
120
120
  </div>
121
121
  <div class="list-element">
122
122
  <img src="https://cdn-icons-png.flaticon.com/512/1443/1443000.png" width="20" height="20" style="margin-right: 10px;"/>
123
- <h7>Enable instant messaging and answer multiple conversations, everything from Tiledesk account</h7>
123
+ <h7>Streamlined messaging: Manage multiple conversations simultaneously, all from one convenient platform</h7>
124
124
  </div>
125
125
  </ul>
126
126
  {{/unless}}
@@ -242,7 +242,7 @@ class TiledeskTwilioTranslator {
242
242
  /** DONE **/
243
243
  async speechFormVXMLConverter(rootEle, message, xmlAttributes) {
244
244
 
245
- /*
245
+
246
246
  const gather = rootEle.ele("Gather", { input: "speech"})
247
247
 
248
248
  if(xmlAttributes && xmlAttributes.noInputTimeout){
@@ -261,9 +261,9 @@ class TiledeskTwilioTranslator {
261
261
  if(handleNoInputNoMatchQuery && handleNoInputNoMatchQuery.queryNoInput){
262
262
  rootEle.ele("Redirect", {}, this.BASE_URL + '/handle/' + xmlAttributes.callSid + '/no_input?'+ handleNoInputNoMatchQuery.queryNoInput)
263
263
  }
264
- */
265
264
 
266
- let queryUrl = '?intentName='+ xmlAttributes.intentName + "&previousIntentTimestamp="+Date.now();
265
+
266
+ /*let queryUrl = '?intentName='+ xmlAttributes.intentName + "&previousIntentTimestamp="+Date.now();
267
267
  const prompt = this.promptVXML(rootEle, message, xmlAttributes);
268
268
 
269
269
  const record = rootEle.ele("Record", { playBeep: "false"})
@@ -281,7 +281,7 @@ class TiledeskTwilioTranslator {
281
281
  .att("method", "POST")
282
282
  .att("trim", "trim-silence")
283
283
 
284
-
284
+ */
285
285
 
286
286
 
287
287
  return rootEle.end({ pretty: true });
package/winston.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var appRoot = require('app-root-path');
2
2
  var winston = require('winston');
3
- var level = process.env.VOICE_LOG || 'info';
3
+ var level = process.env.VOICE_TWILIO_LOG || 'info';
4
4
 
5
5
  var options = {
6
6
  file: {