ins-queue-actions 1.2.41 → 1.2.43
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 +1 -0
- package/notificationTemplates.js +24 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -138,6 +138,7 @@ module.exports = {
|
|
|
138
138
|
CHANGE_SERVICE_PROVIDER_AVAIALABILITY_STATUS:
|
|
139
139
|
"CHANGE_SERVICE_PROVIDER_AVAIALABILITY_STATUS",
|
|
140
140
|
BOOKING_NOTIFICATION_SENT: "BOOKING_NOTIFICATION_SENT",
|
|
141
|
+
SUBSCRIPTION_USER_ACCOUNT_CHANGED: "SUBSCRIPTION_USER_ACCOUNT_CHANGED",
|
|
141
142
|
SEND_EMAIL: "SEND_EMAIL",
|
|
142
143
|
SEND_SMS: "SEND_SMS",
|
|
143
144
|
SEND_PUSH_NOTIFICATION: "SEND_PUSH_NOTIFICATION",
|
package/notificationTemplates.js
CHANGED
|
@@ -5,6 +5,14 @@ module.exports = {
|
|
|
5
5
|
templateName: "FORGOT_PASSWORD",
|
|
6
6
|
requiredParams: ["name", "link"],
|
|
7
7
|
},
|
|
8
|
+
EMPLOYEE_ASSIGNED_BOOKING: {
|
|
9
|
+
templateName: "EMPLOYEE_ASSIGNED_BOOKING",
|
|
10
|
+
requiredParams: ["name", "displayedBookingId", "bookingId"],
|
|
11
|
+
},
|
|
12
|
+
BOOKING_DELEGATED_TO_EMPLOYEE: {
|
|
13
|
+
templateName: "BOOKING_DELEGATED_TO_EMPLOYEE",
|
|
14
|
+
requiredParams: ["name", "displayedBookingId", "bookingId"],
|
|
15
|
+
},
|
|
8
16
|
ADMIN_EMAIL_VERIFICATION: {
|
|
9
17
|
templateName: "ADMIN_EMAIL_VERIFICATION",
|
|
10
18
|
requiredParams: ["name", "otpCode"],
|
|
@@ -234,6 +242,14 @@ module.exports = {
|
|
|
234
242
|
templateName: "SUBSCRIPTION_NOT_CREATED",
|
|
235
243
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
236
244
|
},
|
|
245
|
+
EMPLOYEE_ASSIGNED_BOOKING: {
|
|
246
|
+
templateName: "EMPLOYEE_ASSIGNED_BOOKING",
|
|
247
|
+
requiredParams: ["name", "displayedBookingId", "bookingId"],
|
|
248
|
+
},
|
|
249
|
+
BOOKING_DELEGATED_TO_EMPLOYEE: {
|
|
250
|
+
templateName: "BOOKING_DELEGATED_TO_EMPLOYEE",
|
|
251
|
+
requiredParams: ["name", "displayedBookingId", "bookingId"],
|
|
252
|
+
},
|
|
237
253
|
NOTIFY_CUSTOMER_SERVICE_COMPLETE: {
|
|
238
254
|
templateName: "NOTIFY_CUSTOMER_SERVICE_COMPLETE",
|
|
239
255
|
requiredParams: ["bookingId", "displayedBookingId"],
|
|
@@ -499,6 +515,14 @@ module.exports = {
|
|
|
499
515
|
"serviceName",
|
|
500
516
|
],
|
|
501
517
|
},
|
|
518
|
+
EMPLOYEE_ASSIGNED_BOOKING: {
|
|
519
|
+
templateName: "EMPLOYEE_ASSIGNED_BOOKING",
|
|
520
|
+
requiredParams: ["name", "displayedBookingId", "bookingId"],
|
|
521
|
+
},
|
|
522
|
+
BOOKING_DELEGATED_TO_EMPLOYEE: {
|
|
523
|
+
templateName: "BOOKING_DELEGATED_TO_EMPLOYEE",
|
|
524
|
+
requiredParams: ["name", "displayedBookingId", "bookingId"],
|
|
525
|
+
},
|
|
502
526
|
SUBSCRIPTION_NOT_CREATED: {
|
|
503
527
|
templateName: "SUBSCRIPTION_NOT_CREATED",
|
|
504
528
|
requiredParams: ["bookingId", "displayedBookingId"],
|