import merge from 'just-merge';
import { type RawData, WebSocket } from 'ws';
-import { AutomaticTransactionGenerator } from './AutomaticTransactionGenerator';
-import { ChargingStationWorkerBroadcastChannel } from './broadcast-channel/ChargingStationWorkerBroadcastChannel';
+import { AutomaticTransactionGenerator } from './AutomaticTransactionGenerator.js';
+import { ChargingStationWorkerBroadcastChannel } from './broadcast-channel/ChargingStationWorkerBroadcastChannel.js';
import {
addConfigurationKey,
deleteConfigurationKey,
getConfigurationKey,
setConfigurationKeyValue,
-} from './ConfigurationKeyUtils';
+} from './ConfigurationKeyUtils.js';
import {
buildConnectorsMap,
checkChargingStation,
propagateSerialNumber,
stationTemplateToStationInfo,
warnTemplateKeysDeprecation,
-} from './Helpers';
-import { IdTagsCache } from './IdTagsCache';
+} from './Helpers.js';
+import { IdTagsCache } from './IdTagsCache.js';
import {
OCPP16IncomingRequestService,
OCPP16RequestService,
buildTransactionEndMeterValue,
getMessageTypeString,
sendAndSetConnectorStatus,
-} from './ocpp';
-import { SharedLRUCache } from './SharedLRUCache';
-import { BaseError, OCPPError } from '../exception';
-import { PerformanceStatistics } from '../performance';
+} from './ocpp/index.js';
+import { SharedLRUCache } from './SharedLRUCache.js';
+import { BaseError, OCPPError } from '../exception/index.js';
+import { PerformanceStatistics } from '../performance/index.js';
import {
type AutomaticTransactionGeneratorConfiguration,
AvailabilityType,
type WSError,
WebSocketCloseEventStatusCode,
type WsOptions,
-} from '../types';
+} from '../types/index.js';
import {
ACElectricUtils,
AsyncLock,
secureRandom,
sleep,
watchJsonFile,
-} from '../utils';
+} from '../utils/index.js';
export class ChargingStation extends EventEmitter {
public readonly index: number;