2018-02-26 22:14:11 +01:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const products = require('./products')
|
|
|
|
|
|
|
|
const transformReqBody = (body) => {
|
|
|
|
body.client = {
|
|
|
|
type: 'IPH',
|
|
|
|
id: 'NASA',
|
|
|
|
v: '4000200',
|
|
|
|
name: 'nasaPROD',
|
|
|
|
os: 'iPhone OS 11.2.5'
|
|
|
|
}
|
|
|
|
body.ver = '1.11'
|
|
|
|
body.auth = {aid: "nasa-apps"}
|
|
|
|
body.lang = 'en' // todo: `de`?
|
|
|
|
|
|
|
|
return body
|
|
|
|
}
|
|
|
|
|
|
|
|
const insaProfile = {
|
|
|
|
locale: 'de-DE',
|
|
|
|
timezone: 'Europe/Berlin',
|
2018-05-28 21:48:58 +02:00
|
|
|
endpoint: 'https://reiseauskunft.insa.de/bin/mgate.exe',
|
2018-02-26 22:14:11 +01:00
|
|
|
transformReqBody,
|
|
|
|
|
2018-03-16 17:00:06 +01:00
|
|
|
products: products,
|
2018-02-26 22:14:11 +01:00
|
|
|
|
2018-06-29 15:14:26 +02:00
|
|
|
trip: true,
|
2018-07-24 18:28:33 +02:00
|
|
|
radar: true,
|
|
|
|
refreshJourney: false
|
2018-02-26 22:14:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = insaProfile;
|