ins-queue-actions 1.2.75 → 1.2.77
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 +13 -1
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -268,6 +268,10 @@ module.exports = {
|
|
|
268
268
|
templateName: "CUSTOMER_RESUBSCRIPTION_FAILURE",
|
|
269
269
|
requiredParams: ["name", "link"],
|
|
270
270
|
},
|
|
271
|
+
BOOKING_REASSIGNED_CUSTOMER: {
|
|
272
|
+
templateName: "BOOKING_REASSIGNED_CUSTOMER",
|
|
273
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
274
|
+
},
|
|
271
275
|
},
|
|
272
276
|
SEND_SMS: {
|
|
273
277
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -570,9 +574,17 @@ module.exports = {
|
|
|
570
574
|
templateName: "CUSTOMER_RESUBSCRIPTION_FAILURE",
|
|
571
575
|
requiredParams: ["name", "link"],
|
|
572
576
|
},
|
|
577
|
+
BOOKING_REASSIGNED_CUSTOMER: {
|
|
578
|
+
templateName: "BOOKING_REASSIGNED_CUSTOMER",
|
|
579
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
580
|
+
},
|
|
573
581
|
},
|
|
574
582
|
SEND_PUSH_NOTIFICATION: {
|
|
575
583
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
584
|
+
CUSTOMER_RATED_BOOKING: {
|
|
585
|
+
templateName: "CUSTOMER_RATED_BOOKING",
|
|
586
|
+
requiredParams: ["bookingId", "displayedBookingId", "rating"],
|
|
587
|
+
},
|
|
576
588
|
CUSTOMER_RECURRENT_STRIPE_FAILURE: {
|
|
577
589
|
templateName: "CUSTOMER_RECURRENT_STRIPE_FAILURE",
|
|
578
590
|
requiredParams: ["customerName", "subscriptionId"],
|
|
@@ -800,7 +812,7 @@ module.exports = {
|
|
|
800
812
|
},
|
|
801
813
|
BOOKING_REASSIGNED_CUSTOMER: {
|
|
802
814
|
templateName: "BOOKING_REASSIGNED_CUSTOMER",
|
|
803
|
-
requiredParams: ["bookingId"],
|
|
815
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
804
816
|
},
|
|
805
817
|
CHANGE_SCHEDULE_TYPE_NOTIFICATION: {
|
|
806
818
|
templateName: "CHANGE_SCHEDULE_TYPE_NOTIFICATION",
|