ins-queue-actions 1.1.87 → 1.1.89
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/index.js +3 -0
- package/notificationTemplates.js +14 -30
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -145,4 +145,7 @@ module.exports = {
|
|
|
145
145
|
SEND_PUSH_NOTIFICATION: "SEND_PUSH_NOTIFICATION",
|
|
146
146
|
INITIATE_MASKED_CALL: "INITIATE_MASKED_CALL",
|
|
147
147
|
UNHOLD_WALLET_AMOUNT: "UNHOLD_WALLET_AMOUNT",
|
|
148
|
+
EXTERNAL_CUSTOMER_RATING_CREATED: "EXTERNAL_CUSTOMER_RATING_CREATED",
|
|
149
|
+
EXTERNAL_CUSTOMER_RATING_UPDATED: "EXTERNAL_CUSTOMER_RATING_UPDATED",
|
|
150
|
+
EXTERNAL_CUSTOMER_RATING_DELETED: "EXTERNAL_CUSTOMER_RATING_DELETED",
|
|
148
151
|
};
|
package/notificationTemplates.js
CHANGED
|
@@ -100,19 +100,11 @@ module.exports = {
|
|
|
100
100
|
},
|
|
101
101
|
OTP_FOR_SERVICE_START: {
|
|
102
102
|
templateName: "OTP_FOR_SERVICE_START",
|
|
103
|
-
requiredParams: [
|
|
104
|
-
"bookingId",
|
|
105
|
-
"displayedBookingId",
|
|
106
|
-
"otpCode",
|
|
107
|
-
],
|
|
103
|
+
requiredParams: ["bookingId", "displayedBookingId", "otpCode"],
|
|
108
104
|
},
|
|
109
105
|
SP_REMINDER_TO_START_SERVICE: {
|
|
110
106
|
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
111
|
-
requiredParams: [
|
|
112
|
-
"bookingId",
|
|
113
|
-
"displayedBookingId",
|
|
114
|
-
"scheduledStartTime"
|
|
115
|
-
],
|
|
107
|
+
requiredParams: ["bookingId", "displayedBookingId", "scheduledStartTime"],
|
|
116
108
|
},
|
|
117
109
|
SCHEDULED_BOOKING_CONFIRMED: {
|
|
118
110
|
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
@@ -166,6 +158,10 @@ module.exports = {
|
|
|
166
158
|
templateName: "BOOKING_PLACED_ADMIN",
|
|
167
159
|
requiredParams: ["pendingBookingId", "zipCode", "bookingType"],
|
|
168
160
|
},
|
|
161
|
+
EXTERNAL_REVIEW_REQUEST: {
|
|
162
|
+
templateName: "EXTERNAL_REVIEW_REQUEST",
|
|
163
|
+
requiredParams: ["email", "name", "reviewUrl"],
|
|
164
|
+
},
|
|
169
165
|
},
|
|
170
166
|
SEND_SMS: {
|
|
171
167
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -213,19 +209,11 @@ module.exports = {
|
|
|
213
209
|
},
|
|
214
210
|
OTP_FOR_SERVICE_START: {
|
|
215
211
|
templateName: "OTP_FOR_SERVICE_START",
|
|
216
|
-
requiredParams: [
|
|
217
|
-
"bookingId",
|
|
218
|
-
"displayedBookingId",
|
|
219
|
-
"otpCode",
|
|
220
|
-
],
|
|
212
|
+
requiredParams: ["bookingId", "displayedBookingId", "otpCode"],
|
|
221
213
|
},
|
|
222
214
|
SP_REMINDER_TO_START_SERVICE: {
|
|
223
215
|
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
224
|
-
requiredParams: [
|
|
225
|
-
"bookingId",
|
|
226
|
-
"displayedBookingId",
|
|
227
|
-
"scheduledStartTime"
|
|
228
|
-
],
|
|
216
|
+
requiredParams: ["bookingId", "displayedBookingId", "scheduledStartTime"],
|
|
229
217
|
},
|
|
230
218
|
CUSTOMER_SCHEDULED_BOOKING_SUCCESSFUL: {
|
|
231
219
|
templateName: "CUSTOMER_SCHEDULED_BOOKING_SUCCESSFUL",
|
|
@@ -364,6 +352,10 @@ module.exports = {
|
|
|
364
352
|
templateName: "BOOKING_PLACED_ADMIN",
|
|
365
353
|
requiredParams: ["zipCode", "bookingType"],
|
|
366
354
|
},
|
|
355
|
+
EXTERNAL_REVIEW_REQUEST: {
|
|
356
|
+
templateName: "EXTERNAL_REVIEW_REQUEST",
|
|
357
|
+
requiredParams: ["name", "reviewUrl"],
|
|
358
|
+
},
|
|
367
359
|
},
|
|
368
360
|
SEND_PUSH_NOTIFICATION: {
|
|
369
361
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -414,19 +406,11 @@ module.exports = {
|
|
|
414
406
|
},
|
|
415
407
|
OTP_FOR_SERVICE_START: {
|
|
416
408
|
templateName: "OTP_FOR_SERVICE_START",
|
|
417
|
-
requiredParams: [
|
|
418
|
-
"bookingId",
|
|
419
|
-
"displayedBookingId",
|
|
420
|
-
"otpCode",
|
|
421
|
-
],
|
|
409
|
+
requiredParams: ["bookingId", "displayedBookingId", "otpCode"],
|
|
422
410
|
},
|
|
423
411
|
SP_REMINDER_TO_START_SERVICE: {
|
|
424
412
|
templateName: "SP_REMINDER_TO_START_SERVICE",
|
|
425
|
-
requiredParams: [
|
|
426
|
-
"bookingId",
|
|
427
|
-
"displayedBookingId",
|
|
428
|
-
"scheduledStartTime"
|
|
429
|
-
],
|
|
413
|
+
requiredParams: ["bookingId", "displayedBookingId", "scheduledStartTime"],
|
|
430
414
|
},
|
|
431
415
|
SERVICE_PROVIDER_ORDER_PLACED: {
|
|
432
416
|
templateName: "SERVICE_PROVIDER_ORDER_PLACED",
|