@@ -4,26 +4,64 @@ module.exports = {
4
4
every10minutes : '*/10 * * * *' ,
5
5
hourly : '0 * * * *' ,
6
6
daily : '0 7 * * *' , // every day at 7am
7
+ everyOtherDay : '0 7 */2 * *' , // every other day at 7 am
7
8
weekly : '0 7 * * 6' , // every Saturday at 7am
8
9
} ,
9
10
10
11
// email service id for settings
11
12
SETTINGS_EMAIL_SERVICE_ID : 'email' ,
13
+ SETTINGS_EMAIL_BUNDLING_SERVICE_ID : 'emailBundling' ,
12
14
13
15
BUS_API_EVENT : {
14
16
CONNECT : {
15
- TOPIC_CREATED : 'notifications.connect.project.topic.created' ,
16
- TOPIC_DELETED : 'notifications.connect.project.topic.deleted' ,
17
- POST_CREATED : 'notifications.connect.project.post.created' ,
18
- POST_UPDATED : 'notifications.connect.project.post.edited' ,
19
- POST_DELETED : 'notifications.connect.project.post.deleted' ,
20
- MENTIONED_IN_POST : 'notifications.connect.project.post.mention' ,
17
+ POST : {
18
+ UPDATED : 'notifications.connect.project.post.edited' ,
19
+ CREATED : 'notifications.connect.project.post.created' ,
20
+ DELETED : 'notifications.connect.project.post.deleted' ,
21
+ MENTION : 'notifications.connect.project.post.mention' ,
22
+ } ,
23
+ MEMBER : {
24
+ JOINED : 'notifications.connect.project.member.joined' ,
25
+ LEFT : 'notifications.connect.project.member.left' ,
26
+ REMOVED : 'notifications.connect.project.member.removed' ,
27
+ MANAGER_JOINED : 'notifications.connect.project.member.managerJoined' ,
28
+ COPILOT_JOINED : 'notifications.connect.project.member.copilotJoined' ,
29
+ ASSIGNED_AS_OWNER : 'notifications.connect.project.member.assignedAsOwner' ,
30
+ } ,
31
+ PROJECT : {
32
+ ACTIVE : 'notifications.connect.project.active' ,
33
+ APPROVED : 'notifications.connect.project.approved' ,
34
+ CANCELED : 'notifications.connect.project.canceled' ,
35
+ COMPLETED : 'notifications.connect.project.completed' ,
36
+ CREATED : 'notifications.connect.project.created' ,
37
+ FILE_UPLOADED : 'notifications.connect.project.fileUploaded' ,
38
+ LINK_CREATED : 'notifications.connect.project.linkCreated' ,
39
+ PAUSED : 'notifications.connect.project.paused' ,
40
+ SUBMITTED_FOR_REVIEW : 'notifications.connect.project.submittedForReview' ,
41
+ SPECIFICATION_MODIFIED : 'connect.action.project.product.update.spec' ,
42
+ } ,
43
+ PROJECT_PLAN : {
44
+ READY : 'connect.action.project.plan.ready' ,
45
+ MODIFIED : 'connect.action.project.plan.updated' ,
46
+ PROGRESS_UPDATED : 'connect.action.project.updated.progress' ,
47
+ PHASE_ACTIVATED : 'notifications.connect.project.phase.transition.active' ,
48
+ PHASE_COMPLETED : 'notifications.connect.project.phase.transition.completed' ,
49
+ PHASE_PAYMENT_UPDATED : 'notifications.connect.project.phase.update.payment' ,
50
+ PHASE_PROGRESS_UPDATED : 'notifications.connect.project.phase.update.progress' ,
51
+ PHASE_SCOPE_UPDATED : 'notifications.connect.project.phase.update.scope' ,
52
+ MILESTONE_ACTIVATED : 'connect.action.timeline.milestone.transition.active' ,
53
+ MILESTONE_COMPLETED : 'connect.action.timeline.milestone.transition.completed' ,
54
+ WAITING_FOR_CUSTOMER_INPUT : 'connect.action.timeline.milestone.waiting.customer' ,
55
+ } ,
56
+ TOPIC : {
57
+ CREATED : 'notifications.connect.project.topic.created' ,
58
+ DELETED : 'notifications.connect.project.topic.deleted' ,
59
+ } ,
21
60
} ,
22
61
EMAIL : {
23
- TOPIC_CREATED : 'notifications.action.email.connect.project.topic.created' ,
24
- POST_CREATED : 'notifications.action.email.connect.project.post.created' ,
25
- MENTIONED_IN_POST : 'notifications.action.email.connect.project.post.mention' ,
26
- BUNDLED : 'notifications.action.email.connect.project.bundled' ,
62
+ // TODO: after a proper named email topic is created, this is being used as the email event's topic
63
+ GENERAL : 'notifications.action.email.connect.project.notifications.generic' ,
64
+ BUNDLED : 'notifications.action.email.connect.project.notifications.bundled' ,
27
65
} ,
28
66
} ,
29
67
} ;
0 commit comments