ins-queue-actions 1.2.1 → 1.2.2
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/notificationTemplates.js +23 -1
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -162,6 +162,10 @@ module.exports = {
|
|
|
162
162
|
templateName: "EXTERNAL_REVIEW_REQUEST",
|
|
163
163
|
requiredParams: ["email", "message", "name", "reviewUrl"],
|
|
164
164
|
},
|
|
165
|
+
BOOKING_CANCELLED_ADMIN: {
|
|
166
|
+
templateName: "BOOKING_CANCELLED_ADMIN",
|
|
167
|
+
requiredParams: ["email", "cancelledBy", "name", "bookingId"],
|
|
168
|
+
},
|
|
165
169
|
},
|
|
166
170
|
SEND_SMS: {
|
|
167
171
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -254,7 +258,13 @@ module.exports = {
|
|
|
254
258
|
},
|
|
255
259
|
CUSTOMER_REFERRAL: {
|
|
256
260
|
templateName: "CUSTOMER_REFERRAL",
|
|
257
|
-
requiredParams: [
|
|
261
|
+
requiredParams: [
|
|
262
|
+
"customerName",
|
|
263
|
+
"referralLink",
|
|
264
|
+
"referralCredits",
|
|
265
|
+
"referralCreditsExpiry",
|
|
266
|
+
"joiningBonus",
|
|
267
|
+
],
|
|
258
268
|
},
|
|
259
269
|
CUSTOMER_RESCHEDULED_BOOKING: {
|
|
260
270
|
templateName: "CUSTOMER_RESCHEDULED_BOOKING",
|
|
@@ -375,6 +385,14 @@ module.exports = {
|
|
|
375
385
|
templateName: "REASSIGN_SERVICE_PROVIDER",
|
|
376
386
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
377
387
|
},
|
|
388
|
+
SP_REMINDER_FOR_SCHEDULED_BOOKINGS: {
|
|
389
|
+
templateName: "SP_REMINDER_FOR_SCHEDULED_BOOKINGS",
|
|
390
|
+
requiredParams: ["bookingId", "displayedBookingId", "startTime"],
|
|
391
|
+
},
|
|
392
|
+
BOOKING_CANCELLED_ADMIN: {
|
|
393
|
+
templateName: "BOOKING_CANCELLED_ADMIN",
|
|
394
|
+
requiredParams: ["cancelledBy", "bookingId"],
|
|
395
|
+
},
|
|
378
396
|
},
|
|
379
397
|
SEND_PUSH_NOTIFICATION: {
|
|
380
398
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -528,6 +546,10 @@ module.exports = {
|
|
|
528
546
|
templateName: "CUSTOMER_WALLET_CREDITS_EXPIRY",
|
|
529
547
|
requiredParams: ["balance", "expiry"],
|
|
530
548
|
},
|
|
549
|
+
SP_REMINDER_FOR_SCHEDULED_BOOKINGS: {
|
|
550
|
+
templateName: "SP_REMINDER_FOR_SCHEDULED_BOOKINGS",
|
|
551
|
+
requiredParams: ["bookingId", "displayedBookingId", "startTime"],
|
|
552
|
+
},
|
|
531
553
|
},
|
|
532
554
|
INITIATE_MASKED_CALL: {
|
|
533
555
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|