Fixed import sorting
MODIFY
src/server/rest/v1/service/security/AssetSecurity.ts
src/server/rest/v1/service/security/AssetSecurity.ts
import { HttpAssetConsumptionRequest, HttpAssetRequest, HttpAssetsRequest } from '../../../../../types/requests/HttpAssetRequest';
import Asset from '../../../../../types/Asset';
-import Authorizations from '../../../../../authorization/Authorizations';
-import Consumption from '../../../../../types/Consumption';
-import { DataResult } from '../../../../../types/DataResult';
-import SiteAreaSecurity from './SiteAreaSecurity';
-import UserToken from '../../../../../types/UserToken';
import UtilsSecurity from './UtilsSecurity';
import sanitize from 'mongo-sanitize';

MODIFY
src/server/rest/v1/service/security/AuthSecurity.ts
src/server/rest/v1/service/security/AuthSecurity.ts
import { HttpCheckEulaRequest, HttpLoginRequest, HttpRegisterUserRequest, HttpResendVerificationMailRequest, HttpResetPasswordRequest, HttpVerifyEmailRequest } from '../../../../../types/requests/HttpUserRequest';
import Constants from '../../../../../utils/Constants';
-import Eula from '../../../../../types/Eula';
import { Request } from 'express';
import { UserStatus } from '../../../../../types/User';
import UtilsSecurity from './UtilsSecurity';

MODIFY
src/server/rest/v1/service/security/CarSecurity.ts
src/server/rest/v1/service/security/CarSecurity.ts
-import { Car, CarCatalog, CarMaker } from '../../../../../types/Car';
import { HttpCarByIDRequest, HttpCarCatalogByIDRequest, HttpCarCatalogImagesRequest, HttpCarCatalogsRequest, HttpCarCreateRequest, HttpCarMakersRequest, HttpCarUpdateRequest, HttpCarsRequest, HttpUsersCarsRequest } from '../../../../../types/requests/HttpCarRequest';
-import Authorizations from '../../../../../authorization/Authorizations';
-import { DataResult } from '../../../../../types/DataResult';
import { UserCar } from '../../../../../types/User';
-import UserSecurity from './UserSecurity';
-import UserToken from '../../../../../types/UserToken';
import Utils from '../../../../../utils/Utils';
import UtilsSecurity from './UtilsSecurity';
import sanitize from 'mongo-sanitize';

MODIFY
src/server/rest/v1/service/security/ChargingStationSecurity.ts
src/server/rest/v1/service/security/ChargingStationSecurity.ts
import { ChargingProfile, ChargingSchedule, ChargingSchedulePeriod, Profile } from '../../../../../types/ChargingProfile';
import { HttpChargingProfilesRequest, HttpChargingStationCommandRequest, HttpChargingStationGetFirmwareRequest, HttpChargingStationLimitPowerRequest, HttpChargingStationOcppParametersRequest, HttpChargingStationParamsUpdateRequest, HttpChargingStationRequest, HttpChargingStationSetMaxIntensitySocketRequest, HttpChargingStationsRequest, HttpIsAuthorizedRequest, HttpTriggerSmartChargingRequest } from '../../../../../types/requests/HttpChargingStationRequest';
-import { OCPPBootNotificationRequestExtended, OCPPStatusNotificationRequestExtended } from '../../../../../types/ocpp/OCPPServer';
-import Authorizations from '../../../../../authorization/Authorizations';
import { Command } from '../../../../../types/ChargingStation';
-import { DataResult } from '../../../../../types/DataResult';
import HttpByIDRequest from '../../../../../types/requests/HttpByIDRequest';
import HttpDatabaseRequest from '../../../../../types/requests/HttpDatabaseRequest';
-import UserToken from '../../../../../types/UserToken';
import Utils from '../../../../../utils/Utils';
import UtilsSecurity from './UtilsSecurity';
import sanitize from 'mongo-sanitize';

Fixed import sorting