ins-queue-actions 1.1.85 → 1.1.87
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 +53 -1
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -98,6 +98,22 @@ module.exports = {
|
|
|
98
98
|
"serviceName",
|
|
99
99
|
],
|
|
100
100
|
},
|
|
101
|
+
OTP_FOR_SERVICE_START: {
|
|
102
|
+
templateName: "OTP_FOR_SERVICE_START",
|
|
103
|
+
requiredParams: [
|
|
104
|
+
"bookingId",
|
|
105
|
+
"displayedBookingId",
|
|
106
|
+
"otpCode",
|
|
107
|
+
],
|
|
108
|
+
},
|
|
109
|
+
SP_REMINDER_TO_START_SERVICE: {
|
|
110
|
+
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
111
|
+
requiredParams: [
|
|
112
|
+
"bookingId",
|
|
113
|
+
"displayedBookingId",
|
|
114
|
+
"scheduledStartTime"
|
|
115
|
+
],
|
|
116
|
+
},
|
|
101
117
|
SCHEDULED_BOOKING_CONFIRMED: {
|
|
102
118
|
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
103
119
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
@@ -195,6 +211,22 @@ module.exports = {
|
|
|
195
211
|
"serviceName",
|
|
196
212
|
],
|
|
197
213
|
},
|
|
214
|
+
OTP_FOR_SERVICE_START: {
|
|
215
|
+
templateName: "OTP_FOR_SERVICE_START",
|
|
216
|
+
requiredParams: [
|
|
217
|
+
"bookingId",
|
|
218
|
+
"displayedBookingId",
|
|
219
|
+
"otpCode",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
SP_REMINDER_TO_START_SERVICE: {
|
|
223
|
+
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
224
|
+
requiredParams: [
|
|
225
|
+
"bookingId",
|
|
226
|
+
"displayedBookingId",
|
|
227
|
+
"scheduledStartTime"
|
|
228
|
+
],
|
|
229
|
+
},
|
|
198
230
|
CUSTOMER_SCHEDULED_BOOKING_SUCCESSFUL: {
|
|
199
231
|
templateName: "CUSTOMER_SCHEDULED_BOOKING_SUCCESSFUL",
|
|
200
232
|
requiredParams: [
|
|
@@ -208,7 +240,7 @@ module.exports = {
|
|
|
208
240
|
templateName: "CUSTOMER_SCHEDULED_BOOKING_UNSUCCESSFUL",
|
|
209
241
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
210
242
|
},
|
|
211
|
-
CUSTOMER_ONDEMAND_BOOKING_UNSUCCESSFUL: {
|
|
243
|
+
CUSTOMER_ONDEMAND_BOOKING_UNSUCCESSFUL: {
|
|
212
244
|
templateName: "CUSTOMER_ONDEMAND_BOOKING_UNSUCCESSFUL",
|
|
213
245
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
214
246
|
},
|
|
@@ -328,6 +360,10 @@ module.exports = {
|
|
|
328
360
|
templateName: "BOOKING_CHANGES_REQUESTED_CUSTOMER",
|
|
329
361
|
requiredParams: ["displayedBookingId", "bookingId"],
|
|
330
362
|
},
|
|
363
|
+
BOOKING_PLACED_ADMIN: {
|
|
364
|
+
templateName: "BOOKING_PLACED_ADMIN",
|
|
365
|
+
requiredParams: ["zipCode", "bookingType"],
|
|
366
|
+
},
|
|
331
367
|
},
|
|
332
368
|
SEND_PUSH_NOTIFICATION: {
|
|
333
369
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -376,6 +412,22 @@ module.exports = {
|
|
|
376
412
|
templateName: "CUSTOMER_ORDER_PLACED",
|
|
377
413
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
378
414
|
},
|
|
415
|
+
OTP_FOR_SERVICE_START: {
|
|
416
|
+
templateName: "OTP_FOR_SERVICE_START",
|
|
417
|
+
requiredParams: [
|
|
418
|
+
"bookingId",
|
|
419
|
+
"displayedBookingId",
|
|
420
|
+
"otpCode",
|
|
421
|
+
],
|
|
422
|
+
},
|
|
423
|
+
SP_REMINDER_TO_START_SERVICE: {
|
|
424
|
+
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
425
|
+
requiredParams: [
|
|
426
|
+
"bookingId",
|
|
427
|
+
"displayedBookingId",
|
|
428
|
+
"scheduledStartTime"
|
|
429
|
+
],
|
|
430
|
+
},
|
|
379
431
|
SERVICE_PROVIDER_ORDER_PLACED: {
|
|
380
432
|
templateName: "SERVICE_PROVIDER_ORDER_PLACED",
|
|
381
433
|
requiredParams: ["bookingId", "displayedBookingId"],
|