| 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 | | 'Connectors' |
| 17 | | 'Evses' |
| 18 | | 'power' |
| 19 | | 'powerUnit' |
| 20 | | 'chargeBoxSerialNumberPrefix' |
| 21 | | 'chargePointSerialNumberPrefix' |
| 22 | | 'meterSerialNumberPrefix' |
| 23 | > & { |
| 24 | hashId: string; |
| 25 | /** @deprecated Use hashId instead */ |
| 26 | infoHash?: string; |
| 27 | chargingStationId?: string; |
| 28 | chargeBoxSerialNumber?: string; |
| 29 | chargePointSerialNumber?: string; |
| 30 | meterSerialNumber?: string; |
| 31 | maximumPower?: number; // Always in Watt |
| 32 | maximumAmperage?: number; // Always in Ampere |
| 33 | firmwareStatus?: FirmwareStatus; |
| 34 | x509Certificates?: Record<x509CertificateType, string>; |
| 35 | }; |
| 36 | |
| 37 | export type ChargingStationInfoConfiguration = { |
| 38 | stationInfo?: ChargingStationInfo; |
| 39 | }; |