ins-queue-actions 1.2.45 → 1.2.47
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 +14 -3
- 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
|
+
CUSTOMER_RECURRENT_STRIPE_FAILURE: {
|
|
5
|
+
templateName: "CUSTOMER_RECURRENT_STRIPE_FAILURE",
|
|
6
|
+
requiredParams: ["customerName", "subscriptionId"],
|
|
7
|
+
},
|
|
4
8
|
FORGOT_PASSWORD: {
|
|
5
9
|
templateName: "FORGOT_PASSWORD",
|
|
6
10
|
requiredParams: ["name", "link"],
|
|
@@ -238,6 +242,10 @@ module.exports = {
|
|
|
238
242
|
},
|
|
239
243
|
SEND_SMS: {
|
|
240
244
|
ACTION_NAME: "SEND_SMS",
|
|
245
|
+
CUSTOMER_RECURRENT_STRIPE_FAILURE: {
|
|
246
|
+
templateName: "CUSTOMER_RECURRENT_STRIPE_FAILURE",
|
|
247
|
+
requiredParams: ["customerName", "subscriptionId"],
|
|
248
|
+
},
|
|
241
249
|
ADMIN_MOBILE_VERIFICATION: {
|
|
242
250
|
templateName: "ADMIN_MOBILE_VERIFICATION",
|
|
243
251
|
requiredParams: ["otpCode"],
|
|
@@ -508,7 +516,10 @@ module.exports = {
|
|
|
508
516
|
},
|
|
509
517
|
SEND_PUSH_NOTIFICATION: {
|
|
510
518
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
511
|
-
|
|
519
|
+
CUSTOMER_RECURRENT_STRIPE_FAILURE: {
|
|
520
|
+
templateName: "CUSTOMER_RECURRENT_STRIPE_FAILURE",
|
|
521
|
+
requiredParams: ["customerName", "subscriptionId"],
|
|
522
|
+
},
|
|
512
523
|
CUSTOMER_CANCELLED_SUBSCRIPTION: {
|
|
513
524
|
templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
|
|
514
525
|
requiredParams: [
|
|
@@ -711,11 +722,11 @@ module.exports = {
|
|
|
711
722
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|
|
712
723
|
CALL_BY_CUSTOMER_TO_SP: {
|
|
713
724
|
templateName: "CALL_BY_CUSTOMER_TO_SP",
|
|
714
|
-
requiredParams: ["
|
|
725
|
+
requiredParams: ["to", "from"],
|
|
715
726
|
},
|
|
716
727
|
CALL_BY_SP_TO_CUSTOMER: {
|
|
717
728
|
templateName: "CALL_BY_SP_TO_CUSTOMER",
|
|
718
|
-
requiredParams: ["
|
|
729
|
+
requiredParams: ["to", "from"],
|
|
719
730
|
},
|
|
720
731
|
},
|
|
721
732
|
SEND_SLACK_NOTIFICATION: {
|