ins-queue-actions 1.1.73 → 1.1.75
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 +35 -2
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -87,7 +87,24 @@ module.exports = {
|
|
|
87
87
|
},
|
|
88
88
|
SERVICE_PARTNER_APPROVED: {
|
|
89
89
|
templateName: "SERVICE_PARTNER_APPROVED",
|
|
90
|
-
requiredParams: ["firstName"],
|
|
90
|
+
requiredParams: ["firstName", "link"],
|
|
91
|
+
},
|
|
92
|
+
CUSTOMER_ORDER_PLACED: {
|
|
93
|
+
templateName: "CUSTOMER_ORDER_PLACED",
|
|
94
|
+
requiredParams: [
|
|
95
|
+
"bookingId",
|
|
96
|
+
"displayedBookingId",
|
|
97
|
+
"otpCode",
|
|
98
|
+
"serviceName",
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
SCHEDULED_BOOKING_CONFIRMED: {
|
|
102
|
+
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
103
|
+
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
104
|
+
},
|
|
105
|
+
SCHEDULED_BOOKING_PLACED: {
|
|
106
|
+
templateName: "SCHEDULED_BOOKING_PLACED",
|
|
107
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
91
108
|
},
|
|
92
109
|
},
|
|
93
110
|
SEND_SMS: {
|
|
@@ -197,7 +214,7 @@ module.exports = {
|
|
|
197
214
|
},
|
|
198
215
|
SERVICE_PARTNER_APPROVED: {
|
|
199
216
|
templateName: "SERVICE_PARTNER_APPROVED",
|
|
200
|
-
requiredParams: ["firstName"],
|
|
217
|
+
requiredParams: ["firstName", "link"],
|
|
201
218
|
},
|
|
202
219
|
COMPLETE_REGISTRATION_SMS: {
|
|
203
220
|
templateName: "COMPLETE_REGISTRATION_SMS",
|
|
@@ -211,6 +228,18 @@ module.exports = {
|
|
|
211
228
|
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
212
229
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
213
230
|
},
|
|
231
|
+
SCHEDULED_BOOKING_PLACED: {
|
|
232
|
+
templateName: "SCHEDULED_BOOKING_PLACED",
|
|
233
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
234
|
+
},
|
|
235
|
+
ADMIN_CANCELLED_BOOKING: {
|
|
236
|
+
templateName: "ADMIN_CANCELLED_BOOKING",
|
|
237
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
238
|
+
},
|
|
239
|
+
ADMIN_RESCHEDULED_BOOKING: {
|
|
240
|
+
templateName: "ADMIN_RESCHEDULED_BOOKING",
|
|
241
|
+
requiredParams: ["displayedBookingId", "previousScheduledStartTime"],
|
|
242
|
+
},
|
|
214
243
|
},
|
|
215
244
|
SEND_PUSH_NOTIFICATION: {
|
|
216
245
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -315,6 +344,10 @@ module.exports = {
|
|
|
315
344
|
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
316
345
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
317
346
|
},
|
|
347
|
+
ADMIN_CANCELLED_BOOKING: {
|
|
348
|
+
templateName: "ADMIN_CANCELLED_BOOKING",
|
|
349
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
350
|
+
},
|
|
318
351
|
},
|
|
319
352
|
INITIATE_MASKED_CALL: {
|
|
320
353
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|