-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.gs
24 lines (22 loc) · 781 Bytes
/
config.gs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function getConfig(mode) {
var config = {
ONE_CASE: {
RECEIPT_NUM: 'YSC1990000000', // The receipt number we want to track
SHEET_ID: 'XXXXXX', // The Google sheet ID that we will log the tracking history
SHEET_NAME: 'Sheet1', // The sheet name that we will log the tracking history
NOTIFY_HOURS: [10, 12, 14, 16, 18, 20] // The hours (EST) that we will send an email for the status
},
SECTION_CASE: {
RECEIPT_NUM: 'YSC1990000*',
WIDTH: 3,
START: 0,
END: 999,
SHEET_ID: 'XXXXXX', // The Google sheet ID that we will log the tracking history
SHEET_NAME: 'Sheet2', // The sheet name that we will log the tracking history
}
}
if (mode in config) {
return config[mode];
}
return undefined;
}