@sabstravtech/obtservices 0.2.2504212020 → 0.2.2504250900
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sabstravtech-obtservices-base.umd.js +2 -2
- package/bundles/sabstravtech-obtservices-base.umd.js.map +1 -1
- package/esm2015/base/lib/vendor/classes/cabhire-enterprise-search.js +3 -3
- package/fesm2015/sabstravtech-obtservices-base.js +2 -2
- package/fesm2015/sabstravtech-obtservices-base.js.map +1 -1
- package/package.json +1 -1
|
@@ -8737,7 +8737,7 @@
|
|
|
8737
8737
|
this.tempParams.toAddress = this.getAddressFormat(location, placeDescription);
|
|
8738
8738
|
};
|
|
8739
8739
|
CabHireEnterpriseSearch.prototype.createCabHireLocation = function (location) {
|
|
8740
|
-
var _a, _b;
|
|
8740
|
+
var _a, _b, _c;
|
|
8741
8741
|
var type = (_a = location === null || location === void 0 ? void 0 : location.House) === null || _a === void 0 ? void 0 : _a.replace(' ', '');
|
|
8742
8742
|
var addressType = (type === null || type === void 0 ? void 0 : type.includes(AddressType.Airport))
|
|
8743
8743
|
? AddressType.Airport
|
|
@@ -8747,7 +8747,7 @@
|
|
|
8747
8747
|
streetAndNumber: location === null || location === void 0 ? void 0 : location.Street,
|
|
8748
8748
|
town: location === null || location === void 0 ? void 0 : location.Town,
|
|
8749
8749
|
county: location === null || location === void 0 ? void 0 : location.County,
|
|
8750
|
-
postcode: (_b = location === null || location === void 0 ? void 0 : location.PostCode.replace(/\s+/g, '')) !== null &&
|
|
8750
|
+
postcode: (_c = (_b = location === null || location === void 0 ? void 0 : location.PostCode) === null || _b === void 0 ? void 0 : _b.replace(/\s+/g, '')) !== null && _c !== void 0 ? _c : '',
|
|
8751
8751
|
countryCode: location.CountryCode || location.Country,
|
|
8752
8752
|
flightNumber: (location === null || location === void 0 ? void 0 : location.FlightNumber) ? location === null || location === void 0 ? void 0 : location.FlightNumber : null,
|
|
8753
8753
|
terminal: location.Terminal || null
|