-import type { ChargingStationTemplate } from './ChargingStationTemplate';
-import type { FirmwareStatus } from './ocpp/Requests';
+import type { ChargingStationTemplate, FirmwareStatus } from './internal';
+
+enum x509CertificateType {
+ V2GRootCertificate = 'V2GRootCertificate',
+ MORootCertificate = 'MORootCertificate',
+ CSMSRootCertificate = 'CSMSRootCertificate',
+ ManufacturerRootCertificate = 'ManufacturerRootCertificate',
+ ChargingStationCertificate = 'ChargingStationCertificate',
+ V2GCertificate = 'V2GCertificate',
+}
export type ChargingStationInfo = Omit<
ChargingStationTemplate,
| 'AutomaticTransactionGenerator'
| 'Configuration'
+ | 'Connectors'
+ | 'Evses'
| 'power'
| 'powerUnit'
| 'chargeBoxSerialNumberPrefix'
| 'meterSerialNumberPrefix'
> & {
hashId: string;
+ /** @deprecated Use hashId instead */
infoHash?: string;
chargingStationId?: string;
chargeBoxSerialNumber?: string;
maximumPower?: number; // Always in Watt
maximumAmperage?: number; // Always in Ampere
firmwareStatus?: FirmwareStatus;
+ x509Certificates?: Record<x509CertificateType, string>;
};
export type ChargingStationInfoConfiguration = {