@@ -33,10 +33,12 @@ module.exports = {
33
33
34
34
// the Topcoder v5 url
35
35
TC_API : process . env . TC_API || 'https://api.topcoder-dev.com/v5' ,
36
+ // the Topcoder Beta API url currently v5.1
37
+ TC_BETA_API : process . env . TC_BETA_API || 'https://api.topcoder-dev.com/v5.1' ,
36
38
// the organization id
37
39
ORG_ID : process . env . ORG_ID || '36ed815b-3da1-49f1-a043-aaed0a4e81ad' ,
38
- // the referenced skill provider id
39
- TOPCODER_SKILL_PROVIDER_ID : process . env . TOPCODER_SKILL_PROVIDER_ID || '9cc0795a-6e12-4c84-9744-15858dba1861' ,
40
+ // the referenced taxonomy id
41
+ TOPCODER_TAXONOMY_ID : process . env . TOPCODER_TAXONOMY_ID || '9cc0795a-6e12-4c84-9744-15858dba1861' ,
40
42
41
43
TOPCODER_USERS_API : process . env . TOPCODER_USERS_API || 'https://api.topcoder-dev.com/v3/users' ,
42
44
// the api to find topcoder members
@@ -145,6 +147,8 @@ module.exports = {
145
147
TAAS_ROLE_UPDATE_TOPIC : process . env . TAAS_ROLE_UPDATE_TOPIC || 'taas.role.update' ,
146
148
// the delete role entity Kafka message topic
147
149
TAAS_ROLE_DELETE_TOPIC : process . env . TAAS_ROLE_DELETE_TOPIC || 'taas.role.delete' ,
150
+ // the create team entity message topic, only used for eventHandler
151
+ TAAS_TEAM_CREATE_TOPIC : process . env . TAAS_TEAM_CREATE_TOPIC || 'taas.team.create' ,
148
152
// special kafka topics
149
153
TAAS_ACTION_RETRY_TOPIC : process . env . TAAS_ACTION_RETRY_TOPIC || 'taas.action.retry' ,
150
154
@@ -164,6 +168,10 @@ module.exports = {
164
168
// INTERVIEW_INVITATION_RECIPIENTS_LIST may contain comma-separated list of email which is converted to array
165
169
// scheduler@x .ai should be in the RECIPIENTS list
166
170
INTERVIEW_INVITATION_RECIPIENTS_LIST :
( process . env . INTERVIEW_INVITATION_RECIPIENTS_LIST || '[email protected] ' ) . split ( ',' ) ,
171
+ // the emails address for overlapping interview
172
+ NOTIFICATION_OPS_EMAILS :
( process . env . NOTIFICATION_OPS_EMAILS || '[email protected] ' ) . split ( ',' ) ,
173
+ // the slack channel for sending notifications
174
+ NOTIFICATION_SLACK_CHANNEL : process . env . NOTIFICATION_SLACK_CHANNEL || '#tass-notification' ,
167
175
// SendGrid email template ID for reporting issue
168
176
REPORT_ISSUE_SENDGRID_TEMPLATE_ID : process . env . REPORT_ISSUE_SENDGRID_TEMPLATE_ID ,
169
177
// SendGrid email template ID for requesting extension
@@ -187,6 +195,7 @@ module.exports = {
187
195
TOPCODER_SKILLS_CACHE_TIME : process . env . TOPCODER_SKILLS_CACHE_TIME || 60 ,
188
196
// weekly survey scheduler config
189
197
WEEKLY_SURVEY : {
198
+ SWITCH : process . env . WEEKLY_SURVEY_SWITCH || 'OFF' ,
190
199
CRON : process . env . WEEKLY_SURVEY_CRON || '0 1 * * 7' ,
191
200
BASE_URL : process . env . WEEKLY_SURVEY_BASE_URL || 'https://api.surveymonkey.net/v3/surveys' ,
192
201
JWT_TOKEN : process . env . WEEKLY_SURVEY_JWT_TOKEN || '' ,
@@ -244,7 +253,7 @@ module.exports = {
244
253
offered : 'withdrawn'
245
254
} ,
246
255
// the sender email
247
- NOTIFICATION_SENDER_EMAIL : process . env . NOTIFICATION_SENDER_EMAIL ,
256
+ NOTIFICATION_SENDER_EMAIL :
process . env . NOTIFICATION_SENDER_EMAIL || '[email protected] ' ,
248
257
// the email notification sendgrid template id
249
258
NOTIFICATION_SENDGRID_TEMPLATE_ID : process . env . NOTIFICATION_SENDGRID_TEMPLATE_ID ,
250
259
// frequency of cron checking for available candidates for review
@@ -269,7 +278,11 @@ module.exports = {
269
278
INTERVIEW_COMPLETED_PAST_TIME : process . env . INTERVIEW_COMPLETED_PAST_TIME || 'PT4H' ,
270
279
// The time before resource booking expiry when we should start sending notifications
271
280
RESOURCE_BOOKING_EXPIRY_TIME : process . env . RESOURCE_BOOKING_EXPIRY_TIME || 'P21D' ,
281
+ // The match window for fetching post interview actions
282
+ POST_INTERVIEW_ACTION_MATCH_WINDOW : process . env . POST_INTERVIEW_ACTION_MATCH_WINDOW || 'P1D' ,
272
283
// The Stripe
273
284
STRIPE_SECRET_KEY : process . env . STRIPE_SECRET_KEY ,
274
- CURRENCY : process . env . CURRENCY || 'usd'
285
+ CURRENCY : process . env . CURRENCY || 'usd' ,
286
+ // RCRM base URL
287
+ RCRM_APP_URL : process . env . RCRM_APP_URL || 'https://app.recruitcrm.io'
275
288
}
0 commit comments