ins-queue-actions 1.2.27 → 1.2.29
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 +21 -0
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -197,6 +197,14 @@ module.exports = {
|
|
|
197
197
|
templateName: "NOTIFY_CUSTOMER_REFERRAL_REDEEM_REQUEST_RECEIVED",
|
|
198
198
|
requiredParams: ["email", "customerName", "rewardName"],
|
|
199
199
|
},
|
|
200
|
+
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
201
|
+
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
202
|
+
requiredParams: ["subscriptionId", "customerName", "customerAddress", "frequency", "serviceName"],
|
|
203
|
+
},
|
|
204
|
+
CUSTOMER_REFUND_ISSUED: {
|
|
205
|
+
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
206
|
+
requiredParams: ["displayedBookingId", "amount"],
|
|
207
|
+
},
|
|
200
208
|
},
|
|
201
209
|
SEND_SMS: {
|
|
202
210
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -433,10 +441,23 @@ module.exports = {
|
|
|
433
441
|
templateName: "PAYMENT_FAILED_SP",
|
|
434
442
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
435
443
|
},
|
|
444
|
+
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
445
|
+
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
446
|
+
requiredParams: ["subscriptionId", "customerName", "customerAddress", "frequency", "serviceName"],
|
|
447
|
+
},
|
|
448
|
+
CUSTOMER_REFUND_ISSUED: {
|
|
449
|
+
templateName: "CUSTOMER_REFUND_ISSUED",
|
|
450
|
+
requiredParams: ["displayedBookingId", "amount"],
|
|
451
|
+
},
|
|
436
452
|
},
|
|
437
453
|
SEND_PUSH_NOTIFICATION: {
|
|
438
454
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
439
455
|
|
|
456
|
+
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
457
|
+
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
458
|
+
requiredParams: ["subscriptionId", "customerName", "customerAddress", "frequency", "serviceName"],
|
|
459
|
+
},
|
|
460
|
+
|
|
440
461
|
NEW_ONDEMAND_REQUEST: {
|
|
441
462
|
templateName: "NEW_ONDEMAND_REQUEST",
|
|
442
463
|
requiredParams: ["service", "price", "zipCode", "tip"],
|