README.md: fix UI protocol documentation
[e-mobility-charging-stations-simulator.git] / src / types / WorkerBroadcastChannel.ts
index ca3d42704f4bfea8b3049b82b6a11dfd2ce6abe3..f235200c283b0393e900754b19e93d9e26f377fc 100644 (file)
@@ -16,6 +16,7 @@ export enum BroadcastChannelProcedureName {
   STOP_TRANSACTION = 'stopTransaction',
   START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator',
   STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
+  STATUS_NOTIFICATION = 'statusNotification',
 }
 
 export interface BroadcastChannelRequestPayload extends RequestPayload {
@@ -24,7 +25,8 @@ export interface BroadcastChannelRequestPayload extends RequestPayload {
   idTag?: string;
 }
 
-export interface BroadcastChannelResponsePayload extends ResponsePayload {
+export interface BroadcastChannelResponsePayload
+  extends Omit<ResponsePayload, 'hashIdsSucceeded' | 'hashIdsFailed' | 'responsesFailed'> {
   hashId: string;
 }