test: migrate ocpp server to poetry to ease usage
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
1 import type { ChargingStationTemplate } from './ChargingStationTemplate.js'
2 import type { FirmwareStatus } from './ocpp/Requests.js'
3
4 export type ChargingStationInfo = Omit<
5 ChargingStationTemplate,
6 | 'Connectors'
7 | 'Evses'
8 | 'Configuration'
9 | 'AutomaticTransactionGenerator'
10 | 'numberOfConnectors'
11 | 'power'
12 | 'powerUnit'
13 | 'chargeBoxSerialNumberPrefix'
14 | 'chargePointSerialNumberPrefix'
15 | 'meterSerialNumberPrefix'
16 > & {
17 hashId: string
18 templateIndex: number
19 templateName: string
20 /** @deprecated Use `hashId` instead. */
21 infoHash?: string
22 chargingStationId?: string
23 chargeBoxSerialNumber?: string
24 chargePointSerialNumber?: string
25 meterSerialNumber?: string
26 maximumPower?: number // Always in Watt
27 maximumAmperage?: number // Always in Ampere
28 firmwareStatus?: FirmwareStatus
29 }
30
31 export interface ChargingStationInfoConfiguration {
32 stationInfo?: ChargingStationInfo
33 }