ins-queue-actions 1.2.67 → 1.2.69
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 +16 -0
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -256,6 +256,10 @@ module.exports = {
|
|
|
256
256
|
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
257
257
|
requiredParams: ["displayedBookingId", "amount"],
|
|
258
258
|
},
|
|
259
|
+
SUBSCRIPTION_CANCELLED: {
|
|
260
|
+
templateName: "SUBSCRIPTION_CANCELLED",
|
|
261
|
+
requiredParams: ["cancellationReason", "frequency"],
|
|
262
|
+
},
|
|
259
263
|
},
|
|
260
264
|
SEND_SMS: {
|
|
261
265
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -550,6 +554,10 @@ module.exports = {
|
|
|
550
554
|
templateName: "BIGGER_JOB_NOTIFICATION_SP",
|
|
551
555
|
requiredParams: [],
|
|
552
556
|
},
|
|
557
|
+
SUBSCRIPTION_CANCELLED: {
|
|
558
|
+
templateName: "SUBSCRIPTION_CANCELLED",
|
|
559
|
+
requiredParams: ["cancellationReason", "frequency"],
|
|
560
|
+
},
|
|
553
561
|
},
|
|
554
562
|
SEND_PUSH_NOTIFICATION: {
|
|
555
563
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -786,6 +794,10 @@ module.exports = {
|
|
|
786
794
|
templateName: "CHANGE_SCHEDULE_TYPE_NOTIFICATION",
|
|
787
795
|
requiredParams: ["bookingId"],
|
|
788
796
|
},
|
|
797
|
+
SUBSCRIPTION_CANCELLED: {
|
|
798
|
+
templateName: "SUBSCRIPTION_CANCELLED",
|
|
799
|
+
requiredParams: ["cancellationReason", "frequency"],
|
|
800
|
+
},
|
|
789
801
|
},
|
|
790
802
|
INITIATE_MASKED_CALL: {
|
|
791
803
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|
|
@@ -832,6 +844,10 @@ module.exports = {
|
|
|
832
844
|
templateName: "SUBSCRIPTION_CANCELLED",
|
|
833
845
|
requiredParams: ["type", "data"],
|
|
834
846
|
},
|
|
847
|
+
SP_NOT_TRAINED: {
|
|
848
|
+
templateName: "SP_NOT_TRAINED",
|
|
849
|
+
requiredParams: ["type", "data"],
|
|
850
|
+
},
|
|
835
851
|
},
|
|
836
852
|
CALL_NOTIFICATION: {
|
|
837
853
|
ACTION_NAME: "CALL_NOTIFICATION",
|