| 1 | import type { ChargingStationTemplate } from './ChargingStationTemplate'; |
| 2 | import type { FirmwareStatus } from './ocpp/Requests'; |
| 3 | |
| 4 | enum x509CertificateType { |
| 5 | V2GRootCertificate = 'V2GRootCertificate', |
| 6 | MORootCertificate = 'MORootCertificate', |
| 7 | CSMSRootCertificate = 'CSMSRootCertificate', |
| 8 | ManufacturerRootCertificate = 'ManufacturerRootCertificate', |
| 9 | ChargingStationCertificate = 'ChargingStationCertificate', |
| 10 | V2GCertificate = 'V2GCertificate', |
| 11 | } |
| 12 | |
| 13 | export type ChargingStationInfo = Omit< |
| 14 | ChargingStationTemplate, |
| 15 | | 'AutomaticTransactionGenerator' |
| 16 | | 'Configuration' |
| 17 | | 'Connectors' |
| 18 | | 'Evses' |
| 19 | | 'power' |
| 20 | | 'powerUnit' |
| 21 | | 'chargeBoxSerialNumberPrefix' |
| 22 | | 'chargePointSerialNumberPrefix' |
| 23 | | 'meterSerialNumberPrefix' |
| 24 | > & { |
| 25 | hashId: string; |
| 26 | /** @deprecated Use hashId instead */ |
| 27 | infoHash?: string; |
| 28 | chargingStationId?: string; |
| 29 | chargeBoxSerialNumber?: string; |
| 30 | chargePointSerialNumber?: string; |
| 31 | meterSerialNumber?: string; |
| 32 | maximumPower?: number; // Always in Watt |
| 33 | maximumAmperage?: number; // Always in Ampere |
| 34 | firmwareStatus?: FirmwareStatus; |
| 35 | x509Certificates?: Record<x509CertificateType, string>; |
| 36 | }; |
| 37 | |
| 38 | export type ChargingStationInfoConfiguration = { |
| 39 | stationInfo?: ChargingStationInfo; |
| 40 | }; |