refactor: cleanup OCPP utils
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
index d4e4f8db675c606a613b0488d2b5dede109ae8ce..12327cd891b918cee810e3843f180503f0f41547 100644 (file)
@@ -3,10 +3,11 @@ import type { FirmwareStatus } from './ocpp/Requests.js'
 
 export type ChargingStationInfo = Omit<
 ChargingStationTemplate,
-| 'AutomaticTransactionGenerator'
-| 'Configuration'
 | 'Connectors'
 | 'Evses'
+| 'Configuration'
+| 'AutomaticTransactionGenerator'
+| 'numberOfConnectors'
 | 'power'
 | 'powerUnit'
 | 'chargeBoxSerialNumberPrefix'
@@ -14,8 +15,9 @@ ChargingStationTemplate,
 | 'meterSerialNumberPrefix'
 > & {
   hashId: string
+  templateIndex: number
   templateName: string
-  /** @deprecated Use hashId instead */
+  /** @deprecated Use `hashId` instead. */
   infoHash?: string
   chargingStationId?: string
   chargeBoxSerialNumber?: string