ins-queue-actions 1.1.71 → 1.1.73
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 +12 -0
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -35,6 +35,10 @@ module.exports = {
|
|
|
35
35
|
templateName: "API_FAILURES",
|
|
36
36
|
requiredParams: ["message"],
|
|
37
37
|
},
|
|
38
|
+
SEND_ALERT: {
|
|
39
|
+
templateName: "SEND_ALERT",
|
|
40
|
+
requiredParams: ["message"],
|
|
41
|
+
},
|
|
38
42
|
NEW_SERVICE_REQUEST: {
|
|
39
43
|
templateName: "NEW_SERVICE_REQUEST",
|
|
40
44
|
requiredParams: ["serviceName", "comments", "zipCode", "phoneNumber"],
|
|
@@ -117,6 +121,10 @@ module.exports = {
|
|
|
117
121
|
templateName: "SERVICE_OTP_VERIFIED",
|
|
118
122
|
requiredParams: [],
|
|
119
123
|
},
|
|
124
|
+
SP_ENROUTE: {
|
|
125
|
+
templateName: "SP_ENROUTE",
|
|
126
|
+
requiredParams: [],
|
|
127
|
+
},
|
|
120
128
|
CUSTOMER_ORDER_PLACED: {
|
|
121
129
|
templateName: "CUSTOMER_ORDER_PLACED",
|
|
122
130
|
requiredParams: [
|
|
@@ -234,6 +242,10 @@ module.exports = {
|
|
|
234
242
|
templateName: "SERVICE_OTP_VERIFIED",
|
|
235
243
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
236
244
|
},
|
|
245
|
+
SP_ENROUTE: {
|
|
246
|
+
templateName: "SP_ENROUTE",
|
|
247
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
248
|
+
},
|
|
237
249
|
CUSTOMER_WAIT_SEARCHING_SP: {
|
|
238
250
|
templateName: "CUSTOMER_WAIT_SEARCHING_SP",
|
|
239
251
|
requiredParams: [],
|