build(deps): apply updates
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
index 0d23c1cf1131de6507a0670f01b26495f1dc8504..4f5336233dde7819e6f75a54caf505538876df35 100644 (file)
@@ -1,5 +1,14 @@
 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'
@@ -19,6 +28,7 @@ export type ChargingStationInfo = Omit<
   maximumPower?: number; // Always in Watt
   maximumAmperage?: number; // Always in Ampere
   firmwareStatus?: FirmwareStatus;
+  x509Certificates?: Record<x509CertificateType, string>;
 };
 
 export type ChargingStationInfoConfiguration = {