ins-queue-actions 1.2.29 → 1.2.30
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 +37 -3
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -199,7 +199,13 @@ module.exports = {
|
|
|
199
199
|
},
|
|
200
200
|
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
201
201
|
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
202
|
-
requiredParams: [
|
|
202
|
+
requiredParams: [
|
|
203
|
+
"subscriptionId",
|
|
204
|
+
"customerName",
|
|
205
|
+
"customerAddress",
|
|
206
|
+
"frequency",
|
|
207
|
+
"serviceName",
|
|
208
|
+
],
|
|
203
209
|
},
|
|
204
210
|
CUSTOMER_REFUND_ISSUED: {
|
|
205
211
|
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
@@ -443,19 +449,39 @@ module.exports = {
|
|
|
443
449
|
},
|
|
444
450
|
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
445
451
|
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
446
|
-
requiredParams: [
|
|
452
|
+
requiredParams: [
|
|
453
|
+
"subscriptionId",
|
|
454
|
+
"customerName",
|
|
455
|
+
"customerAddress",
|
|
456
|
+
"frequency",
|
|
457
|
+
"serviceName",
|
|
458
|
+
],
|
|
447
459
|
},
|
|
448
460
|
CUSTOMER_REFUND_ISSUED: {
|
|
449
461
|
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
450
462
|
requiredParams: ["displayedBookingId", "amount"],
|
|
451
463
|
},
|
|
464
|
+
UNABLE_TO_CHARGE_BOOKING_CUSTOMER: {
|
|
465
|
+
templateName: "UNABLE_TO_CHARGE_BOOKING_CUSTOMER",
|
|
466
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
467
|
+
},
|
|
468
|
+
UNABLE_TO_CHARGE_BOOKING_SP: {
|
|
469
|
+
templateName: "UNABLE_TO_CHARGE_BOOKING_SP",
|
|
470
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
471
|
+
},
|
|
452
472
|
},
|
|
453
473
|
SEND_PUSH_NOTIFICATION: {
|
|
454
474
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
455
475
|
|
|
456
476
|
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
457
477
|
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
458
|
-
requiredParams: [
|
|
478
|
+
requiredParams: [
|
|
479
|
+
"subscriptionId",
|
|
480
|
+
"customerName",
|
|
481
|
+
"customerAddress",
|
|
482
|
+
"frequency",
|
|
483
|
+
"serviceName",
|
|
484
|
+
],
|
|
459
485
|
},
|
|
460
486
|
|
|
461
487
|
NEW_ONDEMAND_REQUEST: {
|
|
@@ -617,6 +643,14 @@ module.exports = {
|
|
|
617
643
|
templateName: "PAYMENT_FAILED_SP",
|
|
618
644
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
619
645
|
},
|
|
646
|
+
UNABLE_TO_CHARGE_BOOKING_CUSTOMER: {
|
|
647
|
+
templateName: "UNABLE_TO_CHARGE_BOOKING_CUSTOMER",
|
|
648
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
649
|
+
},
|
|
650
|
+
UNABLE_TO_CHARGE_BOOKING_SP: {
|
|
651
|
+
templateName: "UNABLE_TO_CHARGE_BOOKING_SP",
|
|
652
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
653
|
+
},
|
|
620
654
|
},
|
|
621
655
|
INITIATE_MASKED_CALL: {
|
|
622
656
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|