ins-queue-actions 1.1.83 → 1.1.85

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.
@@ -9,10 +9,6 @@ module.exports = {
9
9
  templateName: "ADMIN_EMAIL_VERIFICATION",
10
10
  requiredParams: ["name", "otpCode"],
11
11
  },
12
- EMAIL_NOTIFICATION: {
13
- templateName: "EMAIL_NOTIFICATION",
14
- requiredParams: ["name", "message"],
15
- },
16
12
  RESET_PASSWORD: {
17
13
  templateName: "RESET_PASSWORD",
18
14
  requiredParams: ["name", "link"],
@@ -85,6 +81,10 @@ module.exports = {
85
81
  templateName: "EMAIL_NOTIFICATION",
86
82
  requiredParams: ["name", "message"],
87
83
  },
84
+ CUSTOMER_EMAIL_NOTIFICATION: {
85
+ templateName: "CUSTOMER_EMAIL_NOTIFICATION",
86
+ requiredParams: ["name", "message"],
87
+ },
88
88
  SERVICE_PARTNER_APPROVED: {
89
89
  templateName: "SERVICE_PARTNER_APPROVED",
90
90
  requiredParams: ["firstName", "link"],
@@ -106,6 +106,10 @@ module.exports = {
106
106
  templateName: "SCHEDULED_BOOKING_PLACED",
107
107
  requiredParams: ["bookingId", "displayedBookingId"],
108
108
  },
109
+ ONDEMAND_BOOKING_PLACED: {
110
+ templateName: "ONDEMAND_BOOKING_PLACED",
111
+ requiredParams: ["bookingId", "displayedBookingId"],
112
+ },
109
113
  ADMIN_CANCELLED_BOOKING_CUSTOMER: {
110
114
  templateName: "ADMIN_CANCELLED_BOOKING_CUSTOMER",
111
115
  requiredParams: ["bookingId", "displayedBookingId"],
@@ -204,6 +208,10 @@ module.exports = {
204
208
  templateName: "CUSTOMER_SCHEDULED_BOOKING_UNSUCCESSFUL",
205
209
  requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
206
210
  },
211
+ CUSTOMER_ONDEMAND_BOOKING_UNSUCCESSFUL: {
212
+ templateName: "CUSTOMER_ONDEMAND_BOOKING_UNSUCCESSFUL",
213
+ requiredParams: ["bookingId", "displayedBookingId"],
214
+ },
207
215
  SP_CANCELLED_ORDER: {
208
216
  templateName: "SP_CANCELLED_ORDER",
209
217
  requiredParams: ["bookingId", "displayedBookingId"],
@@ -272,6 +280,10 @@ module.exports = {
272
280
  templateName: "SCHEDULED_BOOKING_PLACED",
273
281
  requiredParams: ["bookingId", "displayedBookingId"],
274
282
  },
283
+ ONDEMAND_BOOKING_PLACED: {
284
+ templateName: "ONDEMAND_BOOKING_PLACED",
285
+ requiredParams: ["bookingId", "displayedBookingId"],
286
+ },
275
287
  ADMIN_CANCELLED_BOOKING: {
276
288
  templateName: "ADMIN_CANCELLED_BOOKING",
277
289
  requiredParams: ["bookingId", "displayedBookingId"],
@@ -319,6 +331,7 @@ module.exports = {
319
331
  },
320
332
  SEND_PUSH_NOTIFICATION: {
321
333
  ACTION_NAME: "SEND_PUSH_NOTIFICATION",
334
+
322
335
  NEW_ONDEMAND_REQUEST: {
323
336
  templateName: "NEW_ONDEMAND_REQUEST",
324
337
  requiredParams: ["service", "price", "zipCode", "tip"],
@@ -355,6 +368,10 @@ module.exports = {
355
368
  templateName: "CUSTOMER_WAIT_SEARCHING_SP",
356
369
  requiredParams: [],
357
370
  },
371
+ CUSTOMER_SEARCHING_SP_FAILED: {
372
+ templateName: "CUSTOMER_SEARCHING_SP_FAILED",
373
+ requiredParams: ["bookingId", "displayedBookingId"],
374
+ },
358
375
  CUSTOMER_ORDER_PLACED: {
359
376
  templateName: "CUSTOMER_ORDER_PLACED",
360
377
  requiredParams: ["bookingId", "displayedBookingId", "serviceName"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ins-queue-actions",
3
- "version": "1.1.83",
3
+ "version": "1.1.85",
4
4
  "main": "index.js",
5
5
  "engineStrict": true
6
6
  }