X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FChargingStationTemplate.ts;h=10f9733fbe2f595a684c5a460babb29be13c7ae5;hb=178956d8c51c6a2b4ecc55b592dfb9ee339b8105;hp=a11ac892779ff535f334f8052a671aa4d17243e1;hpb=041936041d9803859ac2faad9316c20e49b658c9;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index a11ac892..10f9733f 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -14,7 +14,6 @@ import type { MessageTrigger, RequestCommand, } from './ocpp/Requests'; -import type { Reservation } from './ocpp/Reservation'; export enum CurrentType { AC = 'AC', @@ -56,6 +55,15 @@ type CommandsSupport = { outgoingCommands?: Record; }; +enum x509CertificateType { + V2GRootCertificate = 'V2GRootCertificate', + MORootCertificate = 'MORootCertificate', + CSMSRootCertificate = 'CSMSRootCertificate', + ManufacturerRootCertificate = 'ManufacturerRootCertificate', + ChargingStationCertificate = 'ChargingStationCertificate', + V2GCertificate = 'V2GCertificate', +} + export type ChargingStationTemplate = { templateHash?: string; supervisionUrls?: string | string[]; @@ -68,6 +76,7 @@ export type ChargingStationTemplate = { ocppStrictCompliance?: boolean; ocppPersistentConfiguration?: boolean; stationInfoPersistentConfiguration?: boolean; + automaticTransactionGeneratorPersistentConfiguration?: boolean; wsOptions?: WsOptions; idTagsFile?: string; baseName: string; @@ -116,5 +125,5 @@ export type ChargingStationTemplate = { AutomaticTransactionGenerator?: AutomaticTransactionGeneratorConfiguration; Evses?: Record; Connectors?: Record; - reservation?: Reservation[]; + x509Certificates?: Record; };