ins-queue-actions 1.2.28 → 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 +45 -3
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -199,7 +199,17 @@ 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
|
+
],
|
|
209
|
+
},
|
|
210
|
+
CUSTOMER_REFUND_ISSUED: {
|
|
211
|
+
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
212
|
+
requiredParams: ["displayedBookingId", "amount"],
|
|
203
213
|
},
|
|
204
214
|
},
|
|
205
215
|
SEND_SMS: {
|
|
@@ -439,7 +449,25 @@ module.exports = {
|
|
|
439
449
|
},
|
|
440
450
|
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
441
451
|
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
442
|
-
requiredParams: [
|
|
452
|
+
requiredParams: [
|
|
453
|
+
"subscriptionId",
|
|
454
|
+
"customerName",
|
|
455
|
+
"customerAddress",
|
|
456
|
+
"frequency",
|
|
457
|
+
"serviceName",
|
|
458
|
+
],
|
|
459
|
+
},
|
|
460
|
+
CUSTOMER_REFUND_ISSUED: {
|
|
461
|
+
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
462
|
+
requiredParams: ["displayedBookingId", "amount"],
|
|
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"],
|
|
443
471
|
},
|
|
444
472
|
},
|
|
445
473
|
SEND_PUSH_NOTIFICATION: {
|
|
@@ -447,7 +475,13 @@ module.exports = {
|
|
|
447
475
|
|
|
448
476
|
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
449
477
|
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
450
|
-
requiredParams: [
|
|
478
|
+
requiredParams: [
|
|
479
|
+
"subscriptionId",
|
|
480
|
+
"customerName",
|
|
481
|
+
"customerAddress",
|
|
482
|
+
"frequency",
|
|
483
|
+
"serviceName",
|
|
484
|
+
],
|
|
451
485
|
},
|
|
452
486
|
|
|
453
487
|
NEW_ONDEMAND_REQUEST: {
|
|
@@ -609,6 +643,14 @@ module.exports = {
|
|
|
609
643
|
templateName: "PAYMENT_FAILED_SP",
|
|
610
644
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
611
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
|
+
},
|
|
612
654
|
},
|
|
613
655
|
INITIATE_MASKED_CALL: {
|
|
614
656
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|