ins-queue-actions 1.1.97 → 1.1.99
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 +20 -8
- 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,12 +365,20 @@ 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
369
|
},
|
|
370
370
|
CUSTOMER_WALLET_CREDITS_EXPIRY: {
|
|
371
371
|
templateName: "CUSTOMER_WALLET_CREDITS_EXPIRY",
|
|
372
|
-
requiredParams: ["balance",
|
|
373
|
-
}
|
|
372
|
+
requiredParams: ["balance", "expiry"],
|
|
373
|
+
},
|
|
374
|
+
REASSIGN_SERVICE_PROVIDER: {
|
|
375
|
+
templateName: "REASSIGN_SERVICE_PROVIDER",
|
|
376
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
377
|
+
},
|
|
378
|
+
SP_REMINDER_FOR_SCHEDULED_BOOKINGS: {
|
|
379
|
+
templateName: "SP_REMINDER_FOR_SCHEDULED_BOOKINGS",
|
|
380
|
+
requiredParams: ["bookingId", "displayedBookingId", "startTime"],
|
|
381
|
+
},
|
|
374
382
|
},
|
|
375
383
|
SEND_PUSH_NOTIFICATION: {
|
|
376
384
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -522,8 +530,12 @@ module.exports = {
|
|
|
522
530
|
},
|
|
523
531
|
CUSTOMER_WALLET_CREDITS_EXPIRY: {
|
|
524
532
|
templateName: "CUSTOMER_WALLET_CREDITS_EXPIRY",
|
|
525
|
-
requiredParams: ["balance",
|
|
526
|
-
}
|
|
533
|
+
requiredParams: ["balance", "expiry"],
|
|
534
|
+
},
|
|
535
|
+
SP_REMINDER_FOR_SCHEDULED_BOOKINGS: {
|
|
536
|
+
templateName: "SP_REMINDER_FOR_SCHEDULED_BOOKINGS",
|
|
537
|
+
requiredParams: ["bookingId", "displayedBookingId", "startTime"],
|
|
538
|
+
},
|
|
527
539
|
},
|
|
528
540
|
INITIATE_MASKED_CALL: {
|
|
529
541
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|