-import { AvailabilityType } from './ocpp/Requests';
-import { ChargePointStatus } from './ocpp/ChargePointStatus';
-import { ChargingProfile } from './ocpp/ChargingProfile';
-import { MeterValue } from './ocpp/MeterValues';
-import { SampledValueTemplate } from './MeasurandPerPhaseSampledValueTemplates';
+import type {
+ AvailabilityType,
+ ChargingProfile,
+ ConnectorStatusEnum,
+ MeterValue,
+ SampledValueTemplate,
+} from './internal';
-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[];
-}
+};