db-vendo-client/p/cmta/index.js

27 lines
489 B
JavaScript
Raw Normal View History

2018-06-03 17:10:01 -05:00
'use strict'
const products = require('./products')
2018-06-03 17:10:01 -05:00
const transformReqBody = (body) => {
body.client = {type: 'WEB', id: 'CMTA', name: 'webapp', l: ''}
body.ext = 'SBB.TZT.1'
body.ver = '1.13'
body.auth = {type: 'AID', aid: 'weblwemrcrlwemlcri'}
return body
}
const cmtaProfile = {
endpoint: 'https://capmetro.hafas.de/bin/mgate.exe',
locale: 'en-US',
timezone: 'America/Chicago',
transformReqBody,
products,
journeyLeg: true,
2018-06-03 17:30:14 -05:00
radar: true
2018-06-03 17:10:01 -05:00
}
module.exports = cmtaProfile