ins-queue-actions 1.2.17 → 1.2.18
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 +26 -2
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -183,11 +183,19 @@ module.exports = {
|
|
|
183
183
|
},
|
|
184
184
|
NEW_REDEEM_REFERRAL_REQUEST: {
|
|
185
185
|
templateName: "NEW_REDEEM_REFERRAL_REQUEST",
|
|
186
|
-
requiredParams: [
|
|
186
|
+
requiredParams: [
|
|
187
|
+
"email",
|
|
188
|
+
"customerId",
|
|
189
|
+
"customerName",
|
|
190
|
+
"customerPhone",
|
|
191
|
+
"customerEmail",
|
|
192
|
+
"rewardId",
|
|
193
|
+
"rewardName",
|
|
194
|
+
],
|
|
187
195
|
},
|
|
188
196
|
NOTIFY_CUSTOMER_REFERRAL_REDEEM_REQUEST_RECEIVED: {
|
|
189
197
|
templateName: "REDEEM_REFERRAL_REQUEST_RECEIVED",
|
|
190
|
-
requiredParams: ["email", "customerName", "rewardName"]
|
|
198
|
+
requiredParams: ["email", "customerName", "rewardName"],
|
|
191
199
|
},
|
|
192
200
|
},
|
|
193
201
|
SEND_SMS: {
|
|
@@ -417,6 +425,14 @@ module.exports = {
|
|
|
417
425
|
templateName: "BOOKING_CANCELLED_ADMIN",
|
|
418
426
|
requiredParams: ["cancelledBy", "bookingId"],
|
|
419
427
|
},
|
|
428
|
+
PAYMENT_FAILED_CUSTOMER: {
|
|
429
|
+
templateName: "PAYMENT_FAILED_CUSTOMER",
|
|
430
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
431
|
+
},
|
|
432
|
+
PAYMENT_FAILED_SP: {
|
|
433
|
+
templateName: "PAYMENT_FAILED_SP",
|
|
434
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
435
|
+
},
|
|
420
436
|
},
|
|
421
437
|
SEND_PUSH_NOTIFICATION: {
|
|
422
438
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -572,6 +588,14 @@ module.exports = {
|
|
|
572
588
|
templateName: "SP_REMINDER_FOR_SCHEDULED_BOOKINGS",
|
|
573
589
|
requiredParams: ["bookingId", "displayedBookingId", "startTime"],
|
|
574
590
|
},
|
|
591
|
+
PAYMENT_FAILED_CUSTOMER: {
|
|
592
|
+
templateName: "PAYMENT_FAILED_CUSTOMER",
|
|
593
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
594
|
+
},
|
|
595
|
+
PAYMENT_FAILED_SP: {
|
|
596
|
+
templateName: "PAYMENT_FAILED_SP",
|
|
597
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
598
|
+
},
|
|
575
599
|
},
|
|
576
600
|
INITIATE_MASKED_CALL: {
|
|
577
601
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|