@tiledesk/tiledesk-whatsapp-connector 0.1.30 → 0.1.31
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/index.js +11 -0
- package/package.json +1 -1
- package/template/detail.html +27 -11
package/index.js
CHANGED
|
@@ -1033,6 +1033,16 @@ async function startApp(settings, callback) {
|
|
|
1033
1033
|
console.log("(whatsapp) APPS_API_URL: ", APPS_API_URL);
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
|
+
if (settings.REDIS_HOST && settings.REDIS_PORT) {
|
|
1037
|
+
REDIS_HOST = settings.REDIS_HOST;
|
|
1038
|
+
REDIS_PORT = settings.REDIS_PORT;
|
|
1039
|
+
REDIS_PASSWORD = settings.REDIS_PASSWORD;
|
|
1040
|
+
connectRedis();
|
|
1041
|
+
} else {
|
|
1042
|
+
console.log("(whatsapp) Missing redis parameters --> Test it out on WhatsApp disabled");
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/*
|
|
1036
1046
|
if (settings.REDIS_HOST && settings.REDIS_PORT && settings.REDIS_PASSWORD) {
|
|
1037
1047
|
REDIS_HOST = settings.REDIS_HOST;
|
|
1038
1048
|
REDIS_PORT = settings.REDIS_PORT;
|
|
@@ -1041,6 +1051,7 @@ async function startApp(settings, callback) {
|
|
|
1041
1051
|
} else {
|
|
1042
1052
|
console.log("(whatsapp) Missing redis parameters --> Test it out on WhatsApp disabled");
|
|
1043
1053
|
}
|
|
1054
|
+
*/
|
|
1044
1055
|
|
|
1045
1056
|
if (settings.log) {
|
|
1046
1057
|
log = settings.log;
|
package/package.json
CHANGED
package/template/detail.html
CHANGED
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
<div style="display: flex; flex-direction: row; justify-content: space-between; margin-left: 40px; width: 100%;">
|
|
55
55
|
<div>
|
|
56
56
|
<p style="font-size: 26px; font-weight: 500; margin-bottom: 0px;">WhatsApp Business</p>
|
|
57
|
+
<p style="color: #676767; font-size: 16px; margin-bottom: 5px;">Connect your WhatsApp number with Tiledesk</p>
|
|
58
|
+
<a style="font-size: 18px;" href="https://tiledesk.com/" target="_blank">Tiledesk</a>
|
|
59
|
+
<p style="font-size: 15px; color: #676767; font-style: italic; margin-bottom: 0px; margin-top: 20px;">Free</p>
|
|
57
60
|
</div>
|
|
58
61
|
|
|
59
62
|
<div style="display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end;">
|
|
@@ -129,10 +132,17 @@
|
|
|
129
132
|
<div class="scrollmenu">
|
|
130
133
|
|
|
131
134
|
<img src="https://user-images.githubusercontent.com/45603238/195042381-995ff805-359d-4d97-af67-f86f937c175a.jpg" class="screenshot" />
|
|
135
|
+
|
|
136
|
+
<img src="https://user-images.githubusercontent.com/45603238/195042391-6560424b-6a20-48ef-a5b3-981f9cbda5db.jpg" class="screenshot" />
|
|
137
|
+
|
|
138
|
+
<img src=" https://user-images.githubusercontent.com/45603238/195042354-e8ce2b8b-4a82-45b6-8ac1-c1d1bcf77e40.jpg" class="screenshot"/>
|
|
139
|
+
|
|
140
|
+
<img src="https://user-images.githubusercontent.com/45603238/196982373-6b17cf76-6608-45bf-86da-551c14c46e0f.png" class="screenshot" />
|
|
132
141
|
|
|
133
142
|
</div>
|
|
134
143
|
|
|
135
144
|
<hr style="margin-top: 20px; margin-bottom: 20px">
|
|
145
|
+
|
|
136
146
|
<div>
|
|
137
147
|
<h7>Receive Whatsapp conversations in your Tiledesk dashboard. Seamlessly Chat with your targeted audience on Whatsapp right from the Tiledesk dashboard.</h7>
|
|
138
148
|
|
|
@@ -152,11 +162,14 @@
|
|
|
152
162
|
</ul>
|
|
153
163
|
|
|
154
164
|
<div style="padding: 20px; background-color: aliceblue; border-radius: 8px;">
|
|
155
|
-
|
|
165
|
+
<div style="display: flex; flex-direction: row; align-items: baseline;">
|
|
156
166
|
<div>
|
|
157
167
|
<img src="https://freeiconshop.com/wp-content/uploads/edd/arrow-flat.png" width="20px" height="auto" style="margin-right: 10px;">
|
|
158
168
|
</div>
|
|
159
|
-
|
|
169
|
+
<div>
|
|
170
|
+
<a href="https://gethelp.tiledesk.com/articles/connect-tiledesk-with-whatsapp-business/" target="_blank">Connect Tiledesk with WhatsApp Business</a>
|
|
171
|
+
<p style="color: grey; margin-bottom: 0px;">A small but very useful guide on how to connect your WhatsApp Business number with Tiledesk</p>
|
|
172
|
+
</div>
|
|
160
173
|
</div>
|
|
161
174
|
|
|
162
175
|
<hr style="margin-top: 10px; margin-bottom: 10px;">
|
|
@@ -165,8 +178,11 @@
|
|
|
165
178
|
<div>
|
|
166
179
|
<img src="https://freeiconshop.com/wp-content/uploads/edd/arrow-flat.png" width="20px" height="auto" style="margin-right: 10px;">
|
|
167
180
|
</div>
|
|
181
|
+
<div>
|
|
182
|
+
<a href="https://gethelp.tiledesk.com/articles/configure-a-whatsapp-business-account/" target="_blank">Configure a WhatsApp Business account</a>
|
|
183
|
+
<p style="color: grey; margin-bottom: 0px;">Not sure how to set up a business account? Take a look here.</p>
|
|
184
|
+
</div>
|
|
168
185
|
</div>
|
|
169
|
-
</div>
|
|
170
186
|
</div>
|
|
171
187
|
|
|
172
188
|
|
|
@@ -174,33 +190,33 @@
|
|
|
174
190
|
|
|
175
191
|
<p style="font-size: 18px;"><b>What's new?</b></p>
|
|
176
192
|
|
|
177
|
-
|
|
193
|
+
<div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
|
|
178
194
|
<div>
|
|
179
|
-
<p style="margin-bottom: 0px">
|
|
195
|
+
<p style="margin-bottom: 0px">Bug Fixes</p>
|
|
180
196
|
<p style="margin-bottom: 0px">Minor improvements</p>
|
|
181
197
|
<!--<p>Bug fixes and performance improvements</p>-->
|
|
182
198
|
</div>
|
|
183
|
-
<p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.
|
|
199
|
+
<p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.31</b></p>
|
|
184
200
|
</div>
|
|
185
201
|
|
|
186
202
|
<div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
|
|
187
203
|
<div>
|
|
188
|
-
<p style="margin-bottom: 0px">
|
|
204
|
+
<p style="margin-bottom: 0px">Added support for Test-it-out</p>
|
|
205
|
+
<p style="margin-bottom: 0px">Minor improvements</p>
|
|
189
206
|
<!--<p>Bug fixes and performance improvements</p>-->
|
|
190
207
|
</div>
|
|
191
|
-
<p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.
|
|
208
|
+
<p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.24</b></p>
|
|
192
209
|
</div>
|
|
193
210
|
|
|
194
211
|
<div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
|
|
195
212
|
<div>
|
|
196
|
-
<p style="margin-bottom: 0px;">New User Interface!</p>
|
|
197
|
-
<p style="margin-bottom: 0px">Added support for tdImage</p>
|
|
198
213
|
<p style="margin-bottom: 0px">Bug Fixes</p>
|
|
199
214
|
<!--<p>Bug fixes and performance improvements</p>-->
|
|
200
215
|
</div>
|
|
201
|
-
<p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.
|
|
216
|
+
<p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.23</b></p>
|
|
202
217
|
</div>
|
|
203
218
|
|
|
219
|
+
|
|
204
220
|
<hr style="margin-top: 50px; margin-bottom: 20px">
|
|
205
221
|
|
|
206
222
|
</body>
|