mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 01:25:42 -05:00
Update sales lead portioning
This commit is contained in:
parent
d134047293
commit
ce49f66cf4
1 changed files with 9 additions and 8 deletions
|
@ -62,27 +62,28 @@ const emailDelayMinutes = 27;
|
||||||
const closeParallelLimit = 10;
|
const closeParallelLimit = 10;
|
||||||
|
|
||||||
const scriptStartTime = new Date();
|
const scriptStartTime = new Date();
|
||||||
const closeIoApiKey = process.argv[2];
|
const closeIoApiKey = process.argv[2]; // Matt
|
||||||
// Automatic mails sent as API owners, first key assumed to be primary and gets 50% of the leads
|
// Automatic mails sent as API owners, first key assumed to be primary and gets 50% of the leads
|
||||||
|
// Names in comments are for reference, but Source of Truth is updateSalesLeads.sh on the analytics server
|
||||||
const closeIoMailApiKeys = [
|
const closeIoMailApiKeys = [
|
||||||
{
|
{
|
||||||
apiKey: process.argv[3],
|
apiKey: process.argv[3], // Lisa
|
||||||
weight: .8
|
weight: .8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
apiKey: process.argv[4],
|
apiKey: process.argv[4], // Elliot
|
||||||
weight: .1
|
weight: .15
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
apiKey: process.argv[5],
|
apiKey: process.argv[5], // Nolan
|
||||||
weight: .05
|
weight: .05
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
apiKey: process.argv[6],
|
apiKey: process.argv[6], // Sean
|
||||||
weight: .05
|
weight: 0
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
const closeIoEuMailApiKey = process.argv[7];
|
const closeIoEuMailApiKey = process.argv[7]; // Jurian
|
||||||
const intercomAppIdApiKey = process.argv[8];
|
const intercomAppIdApiKey = process.argv[8];
|
||||||
const intercomAppId = intercomAppIdApiKey.split(':')[0];
|
const intercomAppId = intercomAppIdApiKey.split(':')[0];
|
||||||
const intercomApiKey = intercomAppIdApiKey.split(':')[1];
|
const intercomApiKey = intercomAppIdApiKey.split(':')[1];
|
||||||
|
|
Loading…
Reference in a new issue