tripstorekrabi-shared 1.10.2 → 1.10.3

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.
Files changed (2) hide show
  1. package/booking.js +12 -0
  2. package/package.json +1 -1
package/booking.js CHANGED
@@ -148,4 +148,16 @@ export function getStartingPointMessage(booking) {
148
148
  }
149
149
 
150
150
  return text;
151
+ }
152
+
153
+ export function getOperatorSignature(agent, operatorName) {
154
+ let signature =
155
+ '<br><br>Warm regards,<br><br>' + (agent ? agent + ' - ' : "") + operatorName;
156
+ signature +=
157
+ "<br>WhatsApp chat: <a href='https://wa.me/66840679979'>+66 (0) 840 679 979</a>";
158
+ signature +=
159
+ "<br>WhatsApp call: <a href='https://wa.me/66967215940'>+66 (0) 967 215 940</a>";
160
+ signature +=
161
+ "<br>Telegram chat: <a href='https://t.me/tripstorekrabi_bot'>@tripstorekrabi_bot</a>";
162
+ return signature;
151
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {