ins-queue-actions 1.2.3 → 1.2.4
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 +6 -12
- package/package.json +1 -1
package/notificationTemplates.js
CHANGED
|
@@ -166,6 +166,10 @@ module.exports = {
|
|
|
166
166
|
templateName: "BOOKING_CANCELLED_ADMIN",
|
|
167
167
|
requiredParams: ["email", "cancelledBy", "name", "bookingId"],
|
|
168
168
|
},
|
|
169
|
+
REQUEST_CUSTOMER_REVIEW: {
|
|
170
|
+
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
171
|
+
requiredParams: ["email", "name", "customerFirstName", "link"],
|
|
172
|
+
},
|
|
169
173
|
},
|
|
170
174
|
SEND_SMS: {
|
|
171
175
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -183,12 +187,7 @@ module.exports = {
|
|
|
183
187
|
},
|
|
184
188
|
REQUEST_CUSTOMER_REVIEW: {
|
|
185
189
|
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
186
|
-
requiredParams: [
|
|
187
|
-
"bookingId",
|
|
188
|
-
"displayedBookingId",
|
|
189
|
-
"spFirstName",
|
|
190
|
-
"spLastname",
|
|
191
|
-
],
|
|
190
|
+
requiredParams: ["customerFirstName", "link"],
|
|
192
191
|
},
|
|
193
192
|
STRIPE_ACCOUNT_CREATION: {
|
|
194
193
|
templateName: "STRIPE_ACCOUNT_CREATION",
|
|
@@ -493,12 +492,7 @@ module.exports = {
|
|
|
493
492
|
},
|
|
494
493
|
REQUEST_CUSTOMER_REVIEW: {
|
|
495
494
|
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
496
|
-
requiredParams: [
|
|
497
|
-
"bookingId",
|
|
498
|
-
"displayedBookingId",
|
|
499
|
-
"spFirstName",
|
|
500
|
-
"spLastname",
|
|
501
|
-
],
|
|
495
|
+
requiredParams: ["customerFirstName", "link"],
|
|
502
496
|
},
|
|
503
497
|
SCHEDULED_BOOKING_CANCELLED: {
|
|
504
498
|
templateName: "SCHEDULED_BOOKING_CANCELLED",
|