ins-queue-actions 1.2.137 → 1.2.139
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 +3 -0
- package/notificationTemplates.js +60 -0
- package/package.json +1 -1
package/index.js
CHANGED
package/notificationTemplates.js
CHANGED
|
@@ -21,6 +21,26 @@ module.exports = {
|
|
|
21
21
|
templateName: "BID_UPDATED_BY_SP",
|
|
22
22
|
requiredParams: [],
|
|
23
23
|
},
|
|
24
|
+
LOYALTY_STREAK_COMPLETED: {
|
|
25
|
+
templateName: "LOYALTY_STREAK_COMPLETED",
|
|
26
|
+
requiredParams: ["firstName", "type", "rewardCredits", "milestone"],
|
|
27
|
+
},
|
|
28
|
+
LOYALTY_REWARD_RECEIVED: {
|
|
29
|
+
templateName: "LOYALTY_REWARD_RECEIVED",
|
|
30
|
+
requiredParams: ["firstName", "type", "rewardCredits"],
|
|
31
|
+
},
|
|
32
|
+
LOYALTY_REWARD_CLAIMED: {
|
|
33
|
+
templateName: "LOYALTY_REWARD_CLAIMED",
|
|
34
|
+
requiredParams: ["boName", "employeeName", "type", "rewardCredits"],
|
|
35
|
+
},
|
|
36
|
+
LOYALTY_STREAK_EXPIRING: {
|
|
37
|
+
templateName: "LOYALTY_STREAK_EXPIRING",
|
|
38
|
+
requiredParams: ["firstName", "type", "currentCount", "milestone"],
|
|
39
|
+
},
|
|
40
|
+
LOYALTY_REWARD_UNCLAIMED: {
|
|
41
|
+
templateName: "LOYALTY_REWARD_UNCLAIMED",
|
|
42
|
+
requiredParams: ["firstName", "type", "rewardCredits"],
|
|
43
|
+
},
|
|
24
44
|
RECURRENT_SUBSCRIPTION_PROMOTION: {
|
|
25
45
|
templateName: "RECURRENT_SUBSCRIPTION_PROMOTION",
|
|
26
46
|
requiredParams: ["firstName"],
|
|
@@ -363,6 +383,26 @@ module.exports = {
|
|
|
363
383
|
},
|
|
364
384
|
SEND_SMS: {
|
|
365
385
|
ACTION_NAME: "SEND_SMS",
|
|
386
|
+
LOYALTY_STREAK_COMPLETED: {
|
|
387
|
+
templateName: "LOYALTY_STREAK_COMPLETED",
|
|
388
|
+
requiredParams: ["firstName", "type", "rewardCredits", "milestone"],
|
|
389
|
+
},
|
|
390
|
+
LOYALTY_REWARD_RECEIVED: {
|
|
391
|
+
templateName: "LOYALTY_REWARD_RECEIVED",
|
|
392
|
+
requiredParams: ["firstName", "type", "rewardCredits"],
|
|
393
|
+
},
|
|
394
|
+
LOYALTY_REWARD_CLAIMED: {
|
|
395
|
+
templateName: "LOYALTY_REWARD_CLAIMED",
|
|
396
|
+
requiredParams: ["boName", "employeeName", "type", "rewardCredits"],
|
|
397
|
+
},
|
|
398
|
+
LOYALTY_STREAK_EXPIRING: {
|
|
399
|
+
templateName: "LOYALTY_STREAK_EXPIRING",
|
|
400
|
+
requiredParams: ["firstName", "type", "currentCount", "milestone"],
|
|
401
|
+
},
|
|
402
|
+
LOYALTY_REWARD_UNCLAIMED: {
|
|
403
|
+
templateName: "LOYALTY_REWARD_UNCLAIMED",
|
|
404
|
+
requiredParams: ["firstName", "type", "rewardCredits"],
|
|
405
|
+
},
|
|
366
406
|
RFQ_COMPLETION_REMINDER: {
|
|
367
407
|
templateName: "RFQ_COMPLETION_REMINDER",
|
|
368
408
|
requiredParams: ["firstName", "rfqId"],
|
|
@@ -741,6 +781,26 @@ module.exports = {
|
|
|
741
781
|
templateName: "RFQ_COMPLETION_REMINDER",
|
|
742
782
|
requiredParams: ["firstName", "rfqId"],
|
|
743
783
|
},
|
|
784
|
+
LOYALTY_STREAK_COMPLETED: {
|
|
785
|
+
templateName: "LOYALTY_STREAK_COMPLETED",
|
|
786
|
+
requiredParams: ["firstName", "type", "rewardCredits", "milestone"],
|
|
787
|
+
},
|
|
788
|
+
LOYALTY_REWARD_RECEIVED: {
|
|
789
|
+
templateName: "LOYALTY_REWARD_RECEIVED",
|
|
790
|
+
requiredParams: ["firstName", "type", "rewardCredits"],
|
|
791
|
+
},
|
|
792
|
+
LOYALTY_REWARD_CLAIMED: {
|
|
793
|
+
templateName: "LOYALTY_REWARD_CLAIMED",
|
|
794
|
+
requiredParams: ["boName", "employeeName", "type", "rewardCredits"],
|
|
795
|
+
},
|
|
796
|
+
LOYALTY_STREAK_EXPIRING: {
|
|
797
|
+
templateName: "LOYALTY_STREAK_EXPIRING",
|
|
798
|
+
requiredParams: ["firstName", "type", "currentCount", "milestone"],
|
|
799
|
+
},
|
|
800
|
+
LOYALTY_REWARD_UNCLAIMED: {
|
|
801
|
+
templateName: "LOYALTY_REWARD_UNCLAIMED",
|
|
802
|
+
requiredParams: ["firstName", "type", "rewardCredits"],
|
|
803
|
+
},
|
|
744
804
|
WEEKLY_REPORT_GENERATED_SP: {
|
|
745
805
|
templateName: "WEEKLY_REPORT_GENERATED_SP",
|
|
746
806
|
requiredParams: [],
|