db-vendo-client/p/svv/index.js
2020-04-09 14:33:58 +02:00

29 lines
577 B
JavaScript

'use strict'
const products = require('./products')
const transformReqBody = (ctx, body) => {
body.client = {type: 'WEB', id: 'VAO', name: 'webapp'}
body.ext = 'VAO.11'
body.ver = '1.20'
body.auth = {type: 'AID', aid: 'wf7mcf9bv3nv8g5f'}
return body
}
const svvProfile = {
locale: 'at-DE',
timezone: 'Europe/Vienna',
endpoint: 'https://fahrplan.salzburg-verkehr.at/bin/mgate.exe',
transformReqBody,
products,
trip: true,
refreshJourney: true,
reachableFrom: true,
departuresGetPasslist: false,
departuresStbFltrEquiv: false,
}
module.exports = svvProfile