ins-queue-actions 1.1.74 → 1.1.76
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
|
@@ -89,6 +89,10 @@ module.exports = {
|
|
|
89
89
|
templateName: "SERVICE_PARTNER_APPROVED",
|
|
90
90
|
requiredParams: ["firstName", "link"],
|
|
91
91
|
},
|
|
92
|
+
CAMPAIGN_EMAIL: {
|
|
93
|
+
templateName: "CAMPAIGN_EMAIL",
|
|
94
|
+
requiredParams: ["name", "subject", "message"],
|
|
95
|
+
},
|
|
92
96
|
},
|
|
93
97
|
SEND_SMS: {
|
|
94
98
|
ACTION_NAME: "SEND_SMS",
|
|
@@ -211,6 +215,10 @@ module.exports = {
|
|
|
211
215
|
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
212
216
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
213
217
|
},
|
|
218
|
+
CAMPAIGN_SMS: {
|
|
219
|
+
templateName: "CAMPAIGN_SMS",
|
|
220
|
+
requiredParams: ["message"],
|
|
221
|
+
},
|
|
214
222
|
},
|
|
215
223
|
SEND_PUSH_NOTIFICATION: {
|
|
216
224
|
ACTION_NAME: "SEND_PUSH_NOTIFICATION",
|
|
@@ -315,6 +323,10 @@ module.exports = {
|
|
|
315
323
|
templateName: "SCHEDULED_BOOKING_CONFIRMED",
|
|
316
324
|
requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
|
|
317
325
|
},
|
|
326
|
+
CAMPAIGN_PUSH: {
|
|
327
|
+
templateName: "CAMPAIGN_PUSH",
|
|
328
|
+
requiredParams: ["title", "message"],
|
|
329
|
+
},
|
|
318
330
|
},
|
|
319
331
|
INITIATE_MASKED_CALL: {
|
|
320
332
|
ACTION_NAME: "INITIATE_MASKED_CALL",
|