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