ins-queue-actions 1.2.4 → 1.2.6
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 +15 -5
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -17,7 +17,10 @@ module.exports = {
|
|
|
17
17
|
templateName: "CUSTOMER_EMAIL_VERIFICATION",
|
|
18
18
|
requiredParams: ["name", "otpCode"],
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
NOTIFY_CUSTOMER_SERVICE_COMPLETE: {
|
|
21
|
+
templateName: "NOTIFY_CUSTOMER_SERVICE_COMPLETE",
|
|
22
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
23
|
+
},
|
|
21
24
|
SERVICE_PARTNER_EMAIL_VERIFICATION: {
|
|
22
25
|
templateName: "SERVICE_PARTNER_EMAIL_VERIFICATION",
|
|
23
26
|
requiredParams: ["name", "otpCode"],
|
|
@@ -168,7 +171,7 @@ module.exports = {
|
|
|
168
171
|
},
|
|
169
172
|
REQUEST_CUSTOMER_REVIEW: {
|
|
170
173
|
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
171
|
-
requiredParams: ["email", "name", "
|
|
174
|
+
requiredParams: ["email", "name", "message", "link"],
|
|
172
175
|
},
|
|
173
176
|
},
|
|
174
177
|
SEND_SMS: {
|
|
@@ -177,6 +180,10 @@ module.exports = {
|
|
|
177
180
|
templateName: "ADMIN_MOBILE_VERIFICATION",
|
|
178
181
|
requiredParams: ["otpCode"],
|
|
179
182
|
},
|
|
183
|
+
NOTIFY_CUSTOMER_SERVICE_COMPLETE: {
|
|
184
|
+
templateName: "NOTIFY_CUSTOMER_SERVICE_COMPLETE",
|
|
185
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
186
|
+
},
|
|
180
187
|
CUSTOMER_MOBILE_VERIFICATION: {
|
|
181
188
|
templateName: "CUSTOMER_MOBILE_VERIFICATION",
|
|
182
189
|
requiredParams: ["otpCode"],
|
|
@@ -187,7 +194,7 @@ module.exports = {
|
|
|
187
194
|
},
|
|
188
195
|
REQUEST_CUSTOMER_REVIEW: {
|
|
189
196
|
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
190
|
-
requiredParams: ["
|
|
197
|
+
requiredParams: ["message", "link"],
|
|
191
198
|
},
|
|
192
199
|
STRIPE_ACCOUNT_CREATION: {
|
|
193
200
|
templateName: "STRIPE_ACCOUNT_CREATION",
|
|
@@ -398,7 +405,10 @@ module.exports = {
|
|
|
398
405
|
templateName: "NEW_ONDEMAND_REQUEST",
|
|
399
406
|
requiredParams: ["service", "price", "zipCode", "tip"],
|
|
400
407
|
},
|
|
401
|
-
|
|
408
|
+
NOTIFY_CUSTOMER_SERVICE_COMPLETE: {
|
|
409
|
+
templateName: "NOTIFY_CUSTOMER_SERVICE_COMPLETE",
|
|
410
|
+
requiredParams: ["bookingId", "displayedBookingId"],
|
|
411
|
+
},
|
|
402
412
|
NEW_SCHEDULED_REQUEST: {
|
|
403
413
|
templateName: "NEW_SCHEDULED_REQUEST",
|
|
404
414
|
requiredParams: [
|
|
@@ -492,7 +502,7 @@ module.exports = {
|
|
|
492
502
|
},
|
|
493
503
|
REQUEST_CUSTOMER_REVIEW: {
|
|
494
504
|
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
495
|
-
requiredParams: ["
|
|
505
|
+
requiredParams: ["message", "link"],
|
|
496
506
|
},
|
|
497
507
|
SCHEDULED_BOOKING_CANCELLED: {
|
|
498
508
|
templateName: "SCHEDULED_BOOKING_CANCELLED",
|