ins-queue-actions 1.2.16 → 1.2.18

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.
@@ -181,6 +181,22 @@ module.exports = {
181
181
  templateName: "STRIPE_ACCOUNT_INSUFFICIENT_FUNDS",
182
182
  requiredParams: ["email", "balance"],
183
183
  },
184
+ NEW_REDEEM_REFERRAL_REQUEST: {
185
+ templateName: "NEW_REDEEM_REFERRAL_REQUEST",
186
+ requiredParams: [
187
+ "email",
188
+ "customerId",
189
+ "customerName",
190
+ "customerPhone",
191
+ "customerEmail",
192
+ "rewardId",
193
+ "rewardName",
194
+ ],
195
+ },
196
+ NOTIFY_CUSTOMER_REFERRAL_REDEEM_REQUEST_RECEIVED: {
197
+ templateName: "REDEEM_REFERRAL_REQUEST_RECEIVED",
198
+ requiredParams: ["email", "customerName", "rewardName"],
199
+ },
184
200
  },
185
201
  SEND_SMS: {
186
202
  ACTION_NAME: "SEND_SMS",
@@ -409,6 +425,14 @@ module.exports = {
409
425
  templateName: "BOOKING_CANCELLED_ADMIN",
410
426
  requiredParams: ["cancelledBy", "bookingId"],
411
427
  },
428
+ PAYMENT_FAILED_CUSTOMER: {
429
+ templateName: "PAYMENT_FAILED_CUSTOMER",
430
+ requiredParams: ["bookingId", "displayedBookingId"],
431
+ },
432
+ PAYMENT_FAILED_SP: {
433
+ templateName: "PAYMENT_FAILED_SP",
434
+ requiredParams: ["bookingId", "displayedBookingId"],
435
+ },
412
436
  },
413
437
  SEND_PUSH_NOTIFICATION: {
414
438
  ACTION_NAME: "SEND_PUSH_NOTIFICATION",
@@ -564,6 +588,14 @@ module.exports = {
564
588
  templateName: "SP_REMINDER_FOR_SCHEDULED_BOOKINGS",
565
589
  requiredParams: ["bookingId", "displayedBookingId", "startTime"],
566
590
  },
591
+ PAYMENT_FAILED_CUSTOMER: {
592
+ templateName: "PAYMENT_FAILED_CUSTOMER",
593
+ requiredParams: ["bookingId", "displayedBookingId"],
594
+ },
595
+ PAYMENT_FAILED_SP: {
596
+ templateName: "PAYMENT_FAILED_SP",
597
+ requiredParams: ["bookingId", "displayedBookingId"],
598
+ },
567
599
  },
568
600
  INITIATE_MASKED_CALL: {
569
601
  ACTION_NAME: "INITIATE_MASKED_CALL",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ins-queue-actions",
3
- "version": "1.2.16",
3
+ "version": "1.2.18",
4
4
  "main": "index.js",
5
5
  "engineStrict": true
6
6
  }