feat(ui): allow to specificy a UI server configuration name
[e-mobility-charging-stations-simulator.git] / ui / web / src / types / ChargingStationType.ts
index 882c37889a14fdd4d522cb3978062426876a8496..6814737e811106b70d9212e61cff24a9b007500a 100644 (file)
@@ -64,6 +64,16 @@ export const FirmwareStatus = {
 } as const
 export type FirmwareStatus = OCPP16FirmwareStatus
 
+export interface ChargingStationOptions extends JsonObject {
+  supervisionUrls?: string | string[]
+  persistentConfiguration?: boolean
+  autoStart?: boolean
+  autoRegister?: boolean
+  enableStatistics?: boolean
+  ocppStrictCompliance?: boolean
+  stopTransactionsOnStopped?: boolean
+}
+
 export type ChargingStationInfo = {
   hashId: string
   templateIndex: number
@@ -213,7 +223,8 @@ type CommandsSupport = {
 
 export enum OCPPVersion {
   VERSION_16 = '1.6',
-  VERSION_20 = '2.0'
+  VERSION_20 = '2.0',
+  VERSION_201 = '2.0.1'
 }
 
 export enum OCPPProtocol {