Apply dependencies update
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / types / UIProtocol.ts
index 22871d688b42d400648ec63000d0ccd9efd3b52b..443e2352e05b82dca5f8bfdd16b331da70911b8a 100644 (file)
@@ -21,19 +21,23 @@ export type ProtocolRequestHandler = (
 ) => ResponsePayload | Promise<ResponsePayload>;
 
 export enum ProcedureName {
+  START_SIMULATOR = 'startSimulator',
+  STOP_SIMULATOR = 'stopSimulator',
   LIST_CHARGING_STATIONS = 'listChargingStations',
   START_CHARGING_STATION = 'startChargingStation',
   STOP_CHARGING_STATION = 'stopChargingStation',
-  START_TRANSACTION = 'startTransaction',
-  STOP_TRANSACTION = 'stopTransaction',
-  START_SIMULATOR = 'startSimulator',
-  STOP_SIMULATOR = 'stopSimulator',
   OPEN_CONNECTION = 'openConnection',
   CLOSE_CONNECTION = 'closeConnection',
+  START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator',
+  STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
+  START_TRANSACTION = 'startTransaction',
+  STOP_TRANSACTION = 'stopTransaction',
 }
+
 export interface RequestPayload extends JsonObject {
-  hashId?: string;
   hashIds?: string[];
+  connectorId?: number;
+  connectorIds?: number[];
 }
 
 export enum ResponseStatus {