refactor: move template firmware defaults to constants
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
index 0f4fe97dd33eeb33c5b0034b1993b0e9b5ee07fd..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,7 +15,9 @@ ChargingStationTemplate,
 | 'meterSerialNumberPrefix'
 > & {
   hashId: string
-  /** @deprecated Use hashId instead */
+  templateIndex: number
+  templateName: string
+  /** @deprecated Use `hashId` instead. */
   infoHash?: string
   chargingStationId?: string
   chargeBoxSerialNumber?: string