diff --git a/package-lock.json b/package-lock.json index 1125934bc80..ba8dfa58d5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,9 +23,9 @@ "@tiledesk/tiledesk-sms-connector": "^0.1.10", "@tiledesk/tiledesk-telegram-connector": "^0.1.14", "@tiledesk/tiledesk-train-jobworker": "^0.0.11", - "@tiledesk/tiledesk-tybot-connector": "^0.2.132", + "@tiledesk/tiledesk-tybot-connector": "^0.2.133", "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.10", - "@tiledesk/tiledesk-vxml-connector": "^0.1.64", + "@tiledesk/tiledesk-vxml-connector": "^0.1.65", "@tiledesk/tiledesk-whatsapp-connector": "^0.1.75", "@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.10", "amqplib": "^0.5.5", @@ -3924,9 +3924,9 @@ } }, "node_modules/@tiledesk/tiledesk-tybot-connector": { - "version": "0.2.132", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.132.tgz", - "integrity": "sha512-0Fx+c4xNofHUMu7Zl3Ihhyag3sCuotvLzVNeX72KYWIh0HmhRlIW3b6EujNo5OjVx/aguety7yQ2bqRyuaZPuw==", + "version": "0.2.133", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.133.tgz", + "integrity": "sha512-/L22mftgGFf4GyEsQw9kPflexfHXFLhfIvWzDR1oTY2sMgp1m/F/16Uz3r//U5NiAyy7upJhtks1VZ15Kb28RQ==", "dependencies": { "@tiledesk/helpcenter-query-client": "^0.1.8", "@tiledesk/tiledesk-chatbot-client": "^0.5.30", @@ -4420,9 +4420,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/@tiledesk/tiledesk-vxml-connector": { - "version": "0.1.64", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.64.tgz", - "integrity": "sha512-ui7MThPT0Kad/b++DThl16b5XGlFuQPibN8C4TdiZJgtLsRTtcfqzDbQxZDmCapQWIMiP3B1WRqaSihHOkqj/g==", + "version": "0.1.65", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.65.tgz", + "integrity": "sha512-8TDYD0is6IJZ14xbm4MhtkgiNJHvl9bdmWF3bpglhIYFeE93h5GxNZpgXs7I1GS3uNSXuy206b44CESSfd5m0w==", "dependencies": { "@tiledesk/tiledesk-client": "^0.10.4", "app-root-path": "^3.0.0", @@ -21631,9 +21631,9 @@ } }, "@tiledesk/tiledesk-tybot-connector": { - "version": "0.2.132", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.132.tgz", - "integrity": "sha512-0Fx+c4xNofHUMu7Zl3Ihhyag3sCuotvLzVNeX72KYWIh0HmhRlIW3b6EujNo5OjVx/aguety7yQ2bqRyuaZPuw==", + "version": "0.2.133", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.133.tgz", + "integrity": "sha512-/L22mftgGFf4GyEsQw9kPflexfHXFLhfIvWzDR1oTY2sMgp1m/F/16Uz3r//U5NiAyy7upJhtks1VZ15Kb28RQ==", "requires": { "@tiledesk/helpcenter-query-client": "^0.1.8", "@tiledesk/tiledesk-chatbot-client": "^0.5.30", @@ -22022,9 +22022,9 @@ } }, "@tiledesk/tiledesk-vxml-connector": { - "version": "0.1.64", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.64.tgz", - "integrity": "sha512-ui7MThPT0Kad/b++DThl16b5XGlFuQPibN8C4TdiZJgtLsRTtcfqzDbQxZDmCapQWIMiP3B1WRqaSihHOkqj/g==", + "version": "0.1.65", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.65.tgz", + "integrity": "sha512-8TDYD0is6IJZ14xbm4MhtkgiNJHvl9bdmWF3bpglhIYFeE93h5GxNZpgXs7I1GS3uNSXuy206b44CESSfd5m0w==", "requires": { "@tiledesk/tiledesk-client": "^0.10.4", "app-root-path": "^3.0.0", diff --git a/package.json b/package.json index 65e65e6dbfb..48402de31e1 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,11 @@ "@tiledesk/tiledesk-rasa-connector": "^1.0.10", "@tiledesk/tiledesk-telegram-connector": "^0.1.14", "@tiledesk/tiledesk-train-jobworker": "^0.0.11", - "@tiledesk/tiledesk-tybot-connector": "^0.2.132", + "@tiledesk/tiledesk-tybot-connector": "^0.2.133", "@tiledesk/tiledesk-whatsapp-connector": "^0.1.75", "@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.10", "@tiledesk/tiledesk-sms-connector": "^0.1.10", - "@tiledesk/tiledesk-vxml-connector": "^0.1.64", + "@tiledesk/tiledesk-vxml-connector": "^0.1.65", "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.10", "amqplib": "^0.5.5", "app-root-path": "^3.0.0", diff --git a/services/emailService.js b/services/emailService.js index 5f68c44b8f5..58bfce79415 100644 --- a/services/emailService.js +++ b/services/emailService.js @@ -1582,7 +1582,7 @@ class EmailService { var that = this; - var html = await this.readTemplateFile('passwordChanged.html', undefined, "EMAIL_PASSWORD_CHANGED_HTML_TEMPLATE"); + var html = await this.readTemplate('passwordChanged.html', undefined, "EMAIL_PASSWORD_CHANGED_HTML_TEMPLATE"); winston.debug("html: " + html); @@ -1618,7 +1618,7 @@ class EmailService { var that = this; - var html = await this.readTemplateFile('beenInvitedExistingUser.html', undefined, "EMAIL_EXUSER_INVITED_HTML_TEMPLATE"); + var html = await this.readTemplate('beenInvitedExistingUser.html', undefined, "EMAIL_EXUSER_INVITED_HTML_TEMPLATE"); winston.debug("html: " + html); @@ -1657,7 +1657,7 @@ class EmailService { var that = this; - var html = await this.readTemplateFile('beenInvitedNewUser.html', undefined, "EMAIL_NEWUSER_INVITED_HTML_TEMPLATE"); + var html = await this.readTemplate('beenInvitedNewUser.html', undefined, "EMAIL_NEWUSER_INVITED_HTML_TEMPLATE"); winston.debug("html: " + html); @@ -1693,7 +1693,7 @@ class EmailService { if (savedUser.toJSON) { savedUser = savedUser.toJSON(); } - var html = await this.readTemplateFile('verify.html', undefined, "EMAIL_VERIFY_HTML_TEMPLATE"); + var html = await this.readTemplate('verify.html', undefined, "EMAIL_VERIFY_HTML_TEMPLATE"); winston.debug("html: " + html);