2018-04-12 21:49:55 +02:00
|
|
|
'use strict'
|
|
|
|
|
2021-04-18 19:02:54 +02:00
|
|
|
const baseProfile = require('./base.json')
|
2018-04-12 21:49:55 +02:00
|
|
|
const products = require('./products')
|
|
|
|
|
|
|
|
const transformReqBody = (ctx, body) => {
|
|
|
|
body.lang = 'ga'
|
|
|
|
return body
|
|
|
|
}
|
|
|
|
|
|
|
|
const irishRailProfile = {
|
2021-04-18 19:02:54 +02:00
|
|
|
...baseProfile,
|
2018-04-12 21:49:55 +02:00
|
|
|
locale: 'en-IE',
|
|
|
|
timezone: 'Europe/Dublin',
|
|
|
|
transformReqBody,
|
|
|
|
salt: Buffer.from('i5s7m3q9z6b4k1c2', 'utf8'),
|
|
|
|
addMicMac: true,
|
|
|
|
|
|
|
|
products: products,
|
|
|
|
|
2021-04-18 22:31:41 +02:00
|
|
|
departuresGetPasslist: false,
|
|
|
|
departuresStbFltrEquiv: false,
|
|
|
|
refreshJourney: false, // fails with `CGI_READ_FAILED`
|
2018-04-12 21:49:55 +02:00
|
|
|
trip: true,
|
|
|
|
radar: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = irishRailProfile;
|