ins-queue-actions 1.1.85 → 1.1.86
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 +48 -0
- 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: [
|
|
@@ -376,6 +408,22 @@ module.exports = {
|
|
|
376
408
|
templateName: "CUSTOMER_ORDER_PLACED",
|
|
377
409
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
378
410
|
},
|
|
411
|
+
OTP_FOR_SERVICE_START: {
|
|
412
|
+
templateName: "OTP_FOR_SERVICE_START",
|
|
413
|
+
requiredParams: [
|
|
414
|
+
"bookingId",
|
|
415
|
+
"displayedBookingId",
|
|
416
|
+
"otpCode",
|
|
417
|
+
],
|
|
418
|
+
},
|
|
419
|
+
SP_REMINDER_TO_START_SERVICE: {
|
|
420
|
+
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
421
|
+
requiredParams: [
|
|
422
|
+
"bookingId",
|
|
423
|
+
"displayedBookingId",
|
|
424
|
+
"scheduledStartTime"
|
|
425
|
+
],
|
|
426
|
+
},
|
|
379
427
|
SERVICE_PROVIDER_ORDER_PLACED: {
|
|
380
428
|
templateName: "SERVICE_PROVIDER_ORDER_PLACED",
|
|
381
429
|
requiredParams: ["bookingId", "displayedBookingId"],
|