ins-queue-actions 1.1.96 → 1.1.98
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 +16 -4
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -160,7 +160,7 @@ module.exports = {
|
|
|
160
160
|
},
|
|
161
161
|
EXTERNAL_REVIEW_REQUEST: {
|
|
162
162
|
templateName: "EXTERNAL_REVIEW_REQUEST",
|
|
163
|
-
requiredParams: ["email", "name", "reviewUrl"],
|
|
163
|
+
requiredParams: ["email", "message", "name", "reviewUrl"],
|
|
164
164
|
},
|
|
165
165
|
},
|
|
166
166
|
SEND_SMS: {
|
|
@@ -312,12 +312,12 @@ module.exports = {
|
|
|
312
312
|
templateName: "ADMIN_RESCHEDULED_BOOKING",
|
|
313
313
|
requiredParams: ["displayedBookingId", "previousScheduledStartTime"],
|
|
314
314
|
},
|
|
315
|
-
|
|
315
|
+
|
|
316
316
|
ADMIN_STARTED_SERVICE_SP: {
|
|
317
317
|
templateName: "ADMIN_STARTED_SERVICE_SP",
|
|
318
318
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
319
319
|
},
|
|
320
|
-
|
|
320
|
+
|
|
321
321
|
ADMIN_STARTED_SERVICE_CUSTOMER: {
|
|
322
322
|
templateName: "ADMIN_STARTED_SERVICE_CUSTOMER",
|
|
323
323
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
@@ -365,7 +365,15 @@ module.exports = {
|
|
|
365
365
|
},
|
|
366
366
|
EXTERNAL_REVIEW_REQUEST: {
|
|
367
367
|
templateName: "EXTERNAL_REVIEW_REQUEST",
|
|
368
|
-
requiredParams: ["name", "reviewUrl"],
|
|
368
|
+
requiredParams: ["message", "name", "reviewUrl"],
|
|
369
|
+
},
|
|
370
|
+
CUSTOMER_WALLET_CREDITS_EXPIRY: {
|
|
371
|
+
templateName: "CUSTOMER_WALLET_CREDITS_EXPIRY",
|
|
372
|
+
requiredParams: ["balance", "expiry"],
|
|
373
|
+
},
|
|
374
|
+
REASSIGN_SERVICE_PROVIDER: {
|
|
375
|
+
templateName: "REASSIGN_SERVICE_PROVIDER",
|
|
376
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
369
377
|
},
|
|
370
378
|
},
|
|
371
379
|
SEND_PUSH_NOTIFICATION: {
|
|
@@ -516,6 +524,10 @@ module.exports = {
|
|
|
516
524
|
templateName: "BOOKING_CHANGE_REQUEST_REJECTED",
|
|
517
525
|
requiredParams: ["displayedBookingId"],
|
|
518
526
|
},
|
|
527
|
+
CUSTOMER_WALLET_CREDITS_EXPIRY: {
|
|
528
|
+
templateName: "CUSTOMER_WALLET_CREDITS_EXPIRY",
|
|
529
|
+
requiredParams: ["balance", "expiry"],
|
|
530
|
+
},
|
|
519
531
|
},
|
|
520
532
|
INITIATE_MASKED_CALL: {
|
|
521
533
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|