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

30 lines
577 B
JavaScript
Raw Normal View History

2020-03-23 00:36:54 +01:00
'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