"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PublicVPVehicleDescriptorTransformation = void 0;
const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
class PublicVPVehicleDescriptorTransformation extends AbstractTransformation_1.AbstractTransformation {
    constructor() {
        super(...arguments);
        this.name = "VehicleDescriptorTransformation";
        this.transformInternal = ({ detailed_info }) => {
            return {
                operator: detailed_info.operator,
                vehicle_type: null, // later filled from vehicle descriptor cache
                vehicle_registration_number: detailed_info.registration_number ? detailed_info.registration_number.toString() : null,
                is_wheelchair_accessible: detailed_info.is_wheelchair_accessible,
                is_air_conditioned: null, // later filled from vehicle descriptor cache
                has_usb_chargers: null, // later filled from vehicle descriptor cache
            };
        };
    }
}
exports.PublicVPVehicleDescriptorTransformation = PublicVPVehicleDescriptorTransformation;
//# sourceMappingURL=PublicVPVehicleDescriptorTransformation.js.map