-export interface ChargingStationInfo
- extends Omit<
- ChargingStationTemplate,
- | 'AutomaticTransactionGenerator'
- | 'Configuration'
- | 'power'
- | 'powerUnit'
- | 'chargeBoxSerialNumberPrefix'
- | 'chargePointSerialNumberPrefix'
- | 'meterSerialNumberPrefix'
- > {
- hashId: string;
- infoHash?: string;
- chargingStationId?: string;
- chargeBoxSerialNumber?: string;
- chargePointSerialNumber?: string;
- meterSerialNumber?: string;
- maximumPower?: number; // Always in Watt
- maximumAmperage?: number; // Always in Ampere
+export type ChargingStationInfo = Omit<
+ChargingStationTemplate,
+| 'Connectors'
+| 'Evses'
+| 'Configuration'
+| 'AutomaticTransactionGenerator'
+| 'numberOfConnectors'
+| 'power'
+| 'powerUnit'
+| 'chargeBoxSerialNumberPrefix'
+| 'chargePointSerialNumberPrefix'
+| 'meterSerialNumberPrefix'
+> & {
+ hashId: string
+ templateIndex: number
+ templateName: string
+ /** @deprecated Use hashId instead */
+ infoHash?: string
+ chargingStationId?: string
+ chargeBoxSerialNumber?: string
+ chargePointSerialNumber?: string
+ meterSerialNumber?: string
+ maximumPower?: number // Always in Watt
+ maximumAmperage?: number // Always in Ampere
+ firmwareStatus?: FirmwareStatus