ins-queue-actions 1.2.69 → 1.2.71
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 +17 -0
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
SEND_EMAIL: {
|
|
3
3
|
ACTION_NAME: "SEND_EMAIL",
|
|
4
|
+
ADMIN_GENERAL_NOTIFICATION: {
|
|
5
|
+
templateName: "ADMIN_GENERAL_NOTIFICATION",
|
|
6
|
+
requiredParams: [ "subject", "message"], // payload is optional
|
|
7
|
+
},
|
|
4
8
|
CUSTOMER_RECURRENT_STRIPE_FAILURE: {
|
|
5
9
|
templateName: "CUSTOMER_RECURRENT_STRIPE_FAILURE",
|
|
6
10
|
requiredParams: ["customerName", "subscriptionId"],
|
|
@@ -798,6 +802,15 @@ module.exports = {
|
|
|
798
802
|
templateName: "SUBSCRIPTION_CANCELLED",
|
|
799
803
|
requiredParams: ["cancellationReason", "frequency"],
|
|
800
804
|
},
|
|
805
|
+
EXTRA_HOUR_REMINDER_CUSTOMER:
|
|
806
|
+
{
|
|
807
|
+
templateName: "EXTRA_HOUR_REMINDER_CUSTOMER",
|
|
808
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
809
|
+
},
|
|
810
|
+
EXTRA_HOUR_REMINDER_PROVIDER: {
|
|
811
|
+
templateName: "EXTRA_HOUR_REMINDER_PROVIDER",
|
|
812
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
813
|
+
},
|
|
801
814
|
},
|
|
802
815
|
INITIATE_MASKED_CALL: {
|
|
803
816
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|
|
@@ -812,6 +825,10 @@ module.exports = {
|
|
|
812
825
|
},
|
|
813
826
|
SEND_SLACK_NOTIFICATION: {
|
|
814
827
|
ACTION_NAME: "SEND_SLACK_NOTIFICATION",
|
|
828
|
+
SUBSCRIPTION_BOOKING_SKIPPED: {
|
|
829
|
+
templateName: "SUBSCRIPTION_BOOKING_SKIPPED",
|
|
830
|
+
requiredParams: ["type", "data"],
|
|
831
|
+
},
|
|
815
832
|
BOOKING_PLACED: {
|
|
816
833
|
templateName: "BOOKING_PLACED",
|
|
817
834
|
requiredParams: ["type", "data"],
|