Merge branch 'main' into dependabot/github_actions/sonarsource/sonarcloud-github...
[e-mobility-charging-stations-simulator.git] / src / types / UIProtocol.ts
index 174ae7dd0cbccf00cab4f49c7fdced2098f9ab5b..f48119433d3f7508c783658cdbfe1db63987baff 100644 (file)
@@ -24,7 +24,7 @@ export type ProtocolResponse = [string, ResponsePayload];
 export type ProtocolRequestHandler = (
   uuid?: string,
   procedureName?: ProcedureName,
-  payload?: RequestPayload
+  payload?: RequestPayload,
 ) => undefined | Promise<undefined> | ResponsePayload | Promise<ResponsePayload>;
 
 export enum ProcedureName {
@@ -37,6 +37,7 @@ export enum ProcedureName {
   CLOSE_CONNECTION = 'closeConnection',
   START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator',
   STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
+  SET_SUPERVISION_URL = 'setSupervisionUrl',
   START_TRANSACTION = 'startTransaction',
   STOP_TRANSACTION = 'stopTransaction',
   AUTHORIZE = 'authorize',
@@ -44,6 +45,9 @@ export enum ProcedureName {
   STATUS_NOTIFICATION = 'statusNotification',
   HEARTBEAT = 'heartbeat',
   METER_VALUES = 'meterValues',
+  DATA_TRANSFER = 'dataTransfer',
+  DIAGNOSTICS_STATUS_NOTIFICATION = 'diagnosticsStatusNotification',
+  FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification',
 }
 
 export interface RequestPayload extends JsonObject {