ins-queue-actions 1.2.15 → 1.2.17
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 +11 -3
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -181,6 +181,14 @@ module.exports = {
|
|
|
181
181
|
templateName: "STRIPE_ACCOUNT_INSUFFICIENT_FUNDS",
|
|
182
182
|
requiredParams: ["email", "balance"],
|
|
183
183
|
},
|
|
184
|
+
NEW_REDEEM_REFERRAL_REQUEST: {
|
|
185
|
+
templateName: "NEW_REDEEM_REFERRAL_REQUEST",
|
|
186
|
+
requiredParams: ["email", "customerId", "customerName", "customerPhone", "customerEmail", "rewardId", "rewardName"]
|
|
187
|
+
},
|
|
188
|
+
NOTIFY_CUSTOMER_REFERRAL_REDEEM_REQUEST_RECEIVED: {
|
|
189
|
+
templateName: "REDEEM_REFERRAL_REQUEST_RECEIVED",
|
|
190
|
+
requiredParams: ["email", "customerName", "rewardName"]
|
|
191
|
+
},
|
|
184
192
|
},
|
|
185
193
|
SEND_SMS: {
|
|
186
194
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -580,15 +588,15 @@ module.exports = {
|
|
|
580
588
|
ACTION_NAME: "SEND_SLACK_NOTIFICATION",
|
|
581
589
|
BOOKING_PLACED: {
|
|
582
590
|
templateName: "BOOKING_PLACED",
|
|
583
|
-
requiredParams: ["bookingId", "zipCode"
|
|
591
|
+
requiredParams: ["bookingId", "zipCode"],
|
|
584
592
|
},
|
|
585
593
|
BOOKING_CANCELLED: {
|
|
586
594
|
templateName: "BOOKING_CANCELLED",
|
|
587
|
-
requiredParams: ["bookingId", "zipCode"
|
|
595
|
+
requiredParams: ["bookingId", "zipCode"],
|
|
588
596
|
},
|
|
589
597
|
BOOKING_RESCHEDULED: {
|
|
590
598
|
templateName: "BOOKING_RESCHEDULED",
|
|
591
|
-
requiredParams: ["bookingId", "zipCode"
|
|
599
|
+
requiredParams: ["bookingId", "zipCode"],
|
|
592
600
|
},
|
|
593
601
|
BOOKING_NOT_ASSIGNED: {
|
|
594
602
|
templateName: "BOOKING_NOT_ASSIGNED",
|