1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | require("./types/index");
|
4 | exports.wsdlUrl = 'https://lite.realtime.nationalrail.co.uk/OpenLDBWS/wsdl.aspx?ver=2016-02-16';
|
5 | exports.getSoapHeader = (apiToken) => {
|
6 | return { AccessToken: { TokenValue: apiToken } };
|
7 | };
|
8 | exports.wsdlMethodMap = new Map([
|
9 | ['getDepartures', 'GetDepartureBoardAsync'],
|
10 | ['getArrivals', 'GetArrivalBoardAsync'],
|
11 | ['getAll', 'GetArrivalDepartureBoardAsync'],
|
12 | ['getServiceDetails', 'GetServiceDetailsAsync'],
|
13 | ]);
|
14 |
|
\ | No newline at end of file |