-import { SampledValueTemplate } from './MeasurandPerPhaseSampledValueTemplates';
-import { ChargePointStatus } from './ocpp/ChargePointStatus';
-import { ChargingProfile } from './ocpp/ChargingProfile';
-import { MeterValue } from './ocpp/MeterValues';
-import { AvailabilityType } from './ocpp/Requests';
+import type { SampledValueTemplate } from './MeasurandPerPhaseSampledValueTemplates';
+import type { ChargingProfile } from './ocpp/ChargingProfile';
+import type { ConnectorStatusEnum } from './ocpp/ConnectorStatusEnum';
+import type { MeterValue } from './ocpp/MeterValues';
+import type { AvailabilityType } from './ocpp/Requests';
-export interface ConnectorStatus {
+export type ConnectorStatus = {
availability: AvailabilityType;
- bootStatus?: ChargePointStatus;
- status?: ChargePointStatus;
+ bootStatus?: ConnectorStatusEnum;
+ status?: ConnectorStatusEnum;
MeterValues: SampledValueTemplate[];
authorizeIdTag?: string;
idTagAuthorized?: boolean;
transactionEnergyActiveImportRegisterValue?: number; // In Wh
transactionBeginMeterValue?: MeterValue;
chargingProfiles?: ChargingProfile[];
-}
+};