ins-queue-actions 1.2.26 → 1.2.28

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.
@@ -197,6 +197,10 @@ 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
+ },
200
204
  },
201
205
  SEND_SMS: {
202
206
  ACTION_NAME: "SEND_SMS",
@@ -218,7 +222,7 @@ module.exports = {
218
222
  },
219
223
  REQUEST_CUSTOMER_REVIEW: {
220
224
  templateName: "REQUEST_CUSTOMER_REVIEW",
221
- requiredParams: ["message", "link"],
225
+ requiredParams: ["link"],
222
226
  },
223
227
  STRIPE_ACCOUNT_CREATION: {
224
228
  templateName: "STRIPE_ACCOUNT_CREATION",
@@ -433,10 +437,19 @@ module.exports = {
433
437
  templateName: "PAYMENT_FAILED_SP",
434
438
  requiredParams: ["bookingId", "displayedBookingId"],
435
439
  },
440
+ CUSTOMER_CANCELLED_SUBSCRIPTION: {
441
+ templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
442
+ requiredParams: ["subscriptionId", "customerName", "customerAddress", "frequency", "serviceName"],
443
+ },
436
444
  },
437
445
  SEND_PUSH_NOTIFICATION: {
438
446
  ACTION_NAME: "SEND_PUSH_NOTIFICATION",
439
447
 
448
+ CUSTOMER_CANCELLED_SUBSCRIPTION: {
449
+ templateName: "CUSTOMER_CANCELLED_SUBSCRIPTION",
450
+ requiredParams: ["subscriptionId", "customerName", "customerAddress", "frequency", "serviceName"],
451
+ },
452
+
440
453
  NEW_ONDEMAND_REQUEST: {
441
454
  templateName: "NEW_ONDEMAND_REQUEST",
442
455
  requiredParams: ["service", "price", "zipCode", "tip"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ins-queue-actions",
3
- "version": "1.2.26",
3
+ "version": "1.2.28",
4
4
  "main": "index.js",
5
5
  "engineStrict": true
6
6
  }