Use explicitely bluebird Promise
MODIFY
src/async-task/AsyncTaskManager.ts
src/async-task/AsyncTaskManager.ts
@@ -19,6 +19,7 @@ import OCPIPullSessionsAsyncTask from './tasks/ocpi/OCPIPullSessionsAsyncTask';
import OCPIPullTokensAsyncTask from './tasks/ocpi/OCPIPullTokensAsyncTask';
import OCPIPushEVSEStatusesAsyncTask from './tasks/ocpi/OCPIPushEVSEStatusesAsyncTask';
import OCPIPushTokensAsyncTask from './tasks/ocpi/OCPIPushTokensAsyncTask';
+import { Promise } from 'bluebird';
import { ServerAction } from '../types/Server';
import SynchronizeCarCatalogsAsyncTask from './tasks/SynchronizeCarCatalogsAsyncTask';
import TagsImportAsyncTask from './tasks/TagsImportAsyncTask';

MODIFY
src/authorization/dynamic-data-source/ExcludeActionDynamicAuthorizationDataSource.ts
src/authorization/dynamic-data-source/ExcludeActionDynamicAuthorizationDataSource.ts
import { DynamicAuthorizationDataSourceData, DynamicAuthorizationDataSourceName } from '../../types/Authorization';
import DynamicAuthorizationDataSource from '../DynamicAuthorizationDataSource';
+import { Promise } from 'bluebird';
export default class ExcludeActionDynamicAuthorizationDataSource
extends DynamicAuthorizationDataSource<DynamicAuthorizationDataSourceData> {

MODIFY
src/client/ocpi/CpoOCPIClient.ts
src/client/ocpi/CpoOCPIClient.ts
@@ -27,6 +27,7 @@ import OCPIUtils from '../../server/ocpi/OCPIUtils';
import OCPIUtilsService from '../../server/ocpi/ocpi-services-impl/ocpi-2.1.1/OCPIUtilsService';
import OCPPStorage from '../../storage/mongodb/OCPPStorage';
import { OcpiSetting } from '../../types/Setting';
+import { Promise } from 'bluebird';
import RoamingUtils from '../../utils/RoamingUtils';
import { ServerAction } from '../../types/Server';
import Site from '../../types/Site';

MODIFY
src/client/ocpi/EmspOCPIClient.ts
src/client/ocpi/EmspOCPIClient.ts
@@ -24,6 +24,7 @@ import { OCPIStopSession } from '../../types/ocpi/OCPIStopSession';
import OCPIUtils from '../../server/ocpi/OCPIUtils';
import OCPIUtilsService from '../../server/ocpi/ocpi-services-impl/ocpi-2.1.1/OCPIUtilsService';
import { OcpiSetting } from '../../types/Setting';
+import { Promise } from 'bluebird';
import { ServerAction } from '../../types/Server';
import Site from '../../types/Site';
import SiteArea from '../../types/SiteArea';

MODIFY
src/integration/billing/BillingIntegration.ts
src/integration/billing/BillingIntegration.ts
@@ -11,6 +11,7 @@ import { DataResult } from '../../types/DataResult';
import { Decimal } from 'decimal.js';
import Logging from '../../utils/Logging';
import NotificationHandler from '../../notification/NotificationHandler';
+import { Promise } from 'bluebird';
import { Request } from 'express';
import { ServerAction } from '../../types/Server';
import SettingStorage from '../../storage/mongodb/SettingStorage';

MODIFY
src/integration/billing/stripe/StripeBillingIntegration.ts
src/integration/billing/stripe/StripeBillingIntegration.ts
@@ -16,6 +16,7 @@ import Constants from '../../../utils/Constants';
import Cypher from '../../../utils/Cypher';
import I18nManager from '../../../utils/I18nManager';
import Logging from '../../../utils/Logging';
+import { Promise } from 'bluebird';
import { Request } from 'express';
import { ServerAction } from '../../../types/Server';
import SettingStorage from '../../../storage/mongodb/SettingStorage';

MODIFY
src/integration/refund/sap-concur/SapConcurRefundIntegration.ts
src/integration/refund/sap-concur/SapConcurRefundIntegration.ts
@@ -10,10 +10,10 @@ import CompanyStorage from '../../../storage/mongodb/CompanyStorage';
import { ConcurRefundSetting } from '../../../types/Setting';
import Connection from '../../../types/Connection';
import ConnectionStorage from '../../../storage/mongodb/ConnectionStorage';
-import Constants from '../../../utils/Constants';
import Cypher from '../../../utils/Cypher';
import I18nManager from '../../../utils/I18nManager';
import Logging from '../../../utils/Logging';
+import { Promise } from 'bluebird';
import RefundIntegration from '../RefundIntegration';
import { ServerAction } from '../../../types/Server';
import Site from '../../../types/Site';

MODIFY
src/notification/remote-push-notification/RemotePushNotificationTask.ts
src/notification/remote-push-notification/RemotePushNotificationTask.ts
@@ -6,6 +6,7 @@ import Constants from '../../utils/Constants';
import I18nManager from '../../utils/I18nManager';
import Logging from '../../utils/Logging';
import NotificationTask from '../NotificationTask';
+import { Promise } from 'bluebird';
import { ServerAction } from '../../types/Server';
import Tenant from '../../types/Tenant';
import Utils from '../../utils/Utils';

MODIFY
src/server/ocpp/utils/OCPPUtils.ts
src/server/ocpp/utils/OCPPUtils.ts
@@ -32,6 +32,7 @@ import OICPUtils from '../../oicp/OICPUtils';
import { PricedConsumption } from '../../../types/Pricing';
import PricingFactory from '../../../integration/pricing/PricingFactory';
import { PricingSettingsType } from '../../../types/Setting';
+import { Promise } from 'bluebird';
import RegistrationToken from '../../../types/RegistrationToken';
import RegistrationTokenStorage from '../../../storage/mongodb/RegistrationTokenStorage';
import { ServerAction } from '../../../types/Server';

MODIFY
src/utils/AxiosFactory.ts
src/utils/AxiosFactory.ts
@@ -3,6 +3,7 @@ import axiosRetry, { IAxiosRetryConfig } from 'axios-retry';
import Configuration from './Configuration';
import Logging from './Logging';
+import { Promise } from 'bluebird';
import { StatusCodes } from 'http-status-codes';
import Tenant from '../types/Tenant';

MODIFY
src/utils/Utils.ts
src/utils/Utils.ts
@@ -18,6 +18,7 @@ import Constants from './Constants';
import Cypher from './Cypher';
import { Decimal } from 'decimal.js';
import Logging from './Logging';
+import { Promise } from 'bluebird';
import QRCode from 'qrcode';
import { Request } from 'express';
import { ServerAction } from '../types/Server';

Use explicitely bluebird Promise