Add Insomnia UI protocol collection
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
index 46f537ad417b9d8db0a24f0cc052a911ab6cf686..4f9697a67a0be01889e5ebf9a3ab080f020aa872 100644 (file)
@@ -1,8 +1,25 @@
-import ChargingStationTemplate from './ChargingStationTemplate';
+import type ChargingStationTemplate from './ChargingStationTemplate';
 
-export default interface ChargingStationInfo extends ChargingStationTemplate {
-  name?: string;
+export default interface ChargingStationInfo
+  extends Omit<
+    ChargingStationTemplate,
+    | 'AutomaticTransactionGenerator'
+    | 'Configuration'
+    | 'power'
+    | 'powerUnit'
+    | 'chargeBoxSerialNumberPrefix'
+    | 'chargePointSerialNumberPrefix'
+    | 'meterSerialNumberPrefix'
+  > {
+  infoHash?: string;
+  chargingStationId?: string;
   chargeBoxSerialNumber?: string;
-  maxPower?: number;
-  powerDivider?: number;
+  chargePointSerialNumber?: string;
+  meterSerialNumber?: string;
+  maximumPower?: number; // Always in Watt
+  maximumAmperage?: number; // Always in Ampere
+}
+
+export interface ChargingStationInfoConfiguration {
+  stationInfo?: ChargingStationInfo;
 }