fix: allow to set some x509 certificates in templates
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
index fff8a1ad69e6805034807c9df1052bf4b560cf43..2f9a07fc9c13ac5637af0a73caae1b7ddb4c6e19 100644 (file)
@@ -1,15 +1,6 @@
 import type { ChargingStationTemplate } from './ChargingStationTemplate';
 import type { FirmwareStatus } from './ocpp/Requests';
 
-enum x509CertificateType {
-  V2GRootCertificate = 'V2GRootCertificate',
-  MORootCertificate = 'MORootCertificate',
-  CSMSRootCertificate = 'CSMSRootCertificate',
-  ManufacturerRootCertificate = 'ManufacturerRootCertificate',
-  ChargingStationCertificate = 'ChargingStationCertificate',
-  V2GCertificate = 'V2GCertificate',
-}
-
 export type ChargingStationInfo = Omit<
   ChargingStationTemplate,
   | 'AutomaticTransactionGenerator'
@@ -32,7 +23,6 @@ export type ChargingStationInfo = Omit<
   maximumPower?: number; // Always in Watt
   maximumAmperage?: number; // Always in Ampere
   firmwareStatus?: FirmwareStatus;
-  x509Certificates?: Record<x509CertificateType, string>;
 };
 
 export type ChargingStationInfoConfiguration = {