Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit a5fbd84

Browse files
author
vikasrohit
committed
Merge pull request #18 from appirio-tech/feature/mailchimp-constants
AS#118090147171048, Mail chimp Integration
2 parents baeb5c1 + a3c3357 commit a5fbd84

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

constants.coffee

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ configEnvConstants = (ENV) ->
66
API_URL : 'https://api.topcoder-dev.com/v3'
77
API_URL_V2 : 'https://api.topcoder-dev.com/v2'
88
WORK_API_URL : 'https://api-work.topcoder-dev.com/v3'
9+
INTERNAL_API_URL : 'https://internal-api.topcoder-dev.com/v3'
910
ASSET_PREFIX : 'https://s3.amazonaws.com/app.topcoder-dev.com/'
1011
AUTH_API_URL : 'https://api.topcoder-dev.com/v3'
1112
auth0Callback : 'https://api.topcoder-dev.com/pub/callback.html'
@@ -26,15 +27,24 @@ configEnvConstants = (ENV) ->
2627
HELP_APP_URL : 'help.topcoder-dev.com'
2728
MAIN_URL : 'https://www.topcoder-dev.com'
2829
PHOTO_LINK_LOCATION: 'https://community.topcoder-dev.com'
29-
SWIFT_PROGRAM_URL : 'apple.topcoder-dev.com',
30+
SWIFT_PROGRAM_URL : 'apple.topcoder-dev.com'
3031
TCO16_URL : 'http://tco16.topcoder-dev.com'
3132

33+
# Mailchimp
34+
MAILCHIMP_LIST_ID : '72cdd94102'
35+
MAILCHIMP_NL_TCO : '4376e08f1e'
36+
MAILCHIMP_NL_IOS : '11d81965bb'
37+
MAILCHIMP_NL_DEV : 'e0986266dc'
38+
MAILCHIMP_NL_DESIGN : '9d1b672a99'
39+
MAILCHIMP_NL_DATA : 'cc118bd550'
40+
3241

3342
if ENV == 'QA'
3443
Object.assign constants,
3544
API_URL : 'https://api.topcoder-qa.com/v3'
3645
API_URL_V2 : 'https://api.topcoder-qa.com/v2'
3746
WORK_API_URL : 'https://api-work.topcoder-qa.com/v3'
47+
INTERNAL_API_URL : 'https://internal-api.topcoder-qa.com/v3'
3848
ASSET_PREFIX : 'https://s3.amazonaws.com/app.topcoder-qa.com/'
3949
AUTH_API_URL : 'https://api.topcoder-qa.com/v3'
4050
auth0Callback : 'https://api.topcoder-qa.com/pub/callback.html'
@@ -58,11 +68,20 @@ configEnvConstants = (ENV) ->
5868
SWIFT_PROGRAM_URL : 'apple.topcoder-qa.com',
5969
TCO16_URL : 'http://tco16.topcoder-qa.com'
6070

71+
# Mailchimp
72+
MAILCHIMP_LIST_ID : '72cdd94102'
73+
MAILCHIMP_NL_TCO : '4376e08f1e'
74+
MAILCHIMP_NL_IOS : '11d81965bb'
75+
MAILCHIMP_NL_DEV : 'e0986266dc'
76+
MAILCHIMP_NL_DESIGN : '9d1b672a99'
77+
MAILCHIMP_NL_DATA : 'cc118bd550'
78+
6179
if ENV == 'PROD'
6280
Object.assign constants,
6381
API_URL : 'https://api.topcoder.com/v3'
6482
API_URL_V2 : 'https://api.topcoder.com/v2'
6583
WORK_API_URL : 'https://api-work.topcoder.com/v3'
84+
INTERNAL_API_URL : 'https://internal-api.topcoder.com/v3'
6685
ASSET_PREFIX : 'https://s3.amazonaws.com/app.topcoder.com/'
6786
AUTH_API_URL : 'https://api.topcoder.com/v3'
6887
auth0Callback : 'https://api.topcoder.com/pub/callback.html'
@@ -87,6 +106,14 @@ configEnvConstants = (ENV) ->
87106
SWIFT_PROGRAM_URL : 'apple.topcoder.com',
88107
TCO16_URL : 'http://tco16.topcoder.com'
89108

109+
# Mailchimp
110+
MAILCHIMP_LIST_ID : '72cdd94102'
111+
MAILCHIMP_NL_TCO : '4376e08f1e'
112+
MAILCHIMP_NL_IOS : '11d81965bb'
113+
MAILCHIMP_NL_DEV : 'e0986266dc'
114+
MAILCHIMP_NL_DESIGN : '9d1b672a99'
115+
MAILCHIMP_NL_DATA : 'cc118bd550'
116+
90117
constants
91118

92119
module.exports = configEnvConstants

0 commit comments

Comments
 (0)