ins-queue-actions 1.2.2 → 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 +11 -19
- 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",
|
|
@@ -258,13 +257,11 @@ module.exports = {
|
|
|
258
257
|
},
|
|
259
258
|
CUSTOMER_REFERRAL: {
|
|
260
259
|
templateName: "CUSTOMER_REFERRAL",
|
|
261
|
-
requiredParams: [
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"joiningBonus",
|
|
267
|
-
],
|
|
260
|
+
requiredParams: ["walletLink", "referralCredits", "joiningBonus"],
|
|
261
|
+
},
|
|
262
|
+
CUSTOMER_REFERRAL_SHARE: {
|
|
263
|
+
templateName: "CUSTOMER_REFERRAL_SHARE",
|
|
264
|
+
requiredParams: ["referralLink", "joiningBonus"],
|
|
268
265
|
},
|
|
269
266
|
CUSTOMER_RESCHEDULED_BOOKING: {
|
|
270
267
|
templateName: "CUSTOMER_RESCHEDULED_BOOKING",
|
|
@@ -495,12 +492,7 @@ module.exports = {
|
|
|
495
492
|
},
|
|
496
493
|
REQUEST_CUSTOMER_REVIEW: {
|
|
497
494
|
templateName: "REQUEST_CUSTOMER_REVIEW",
|
|
498
|
-
requiredParams: [
|
|
499
|
-
"bookingId",
|
|
500
|
-
"displayedBookingId",
|
|
501
|
-
"spFirstName",
|
|
502
|
-
"spLastname",
|
|
503
|
-
],
|
|
495
|
+
requiredParams: ["customerFirstName", "link"],
|
|
504
496
|
},
|
|
505
497
|
SCHEDULED_BOOKING_CANCELLED: {
|
|
506
498
|
templateName: "SCHEDULED_BOOKING_CANCELLED",
|