refactor(simulator): switch to internal modules export/import design
[e-mobility-charging-stations-simulator.git] / src / types / WorkerBroadcastChannel.ts
index 8b0d643ee3f8300f9db91f50f8ce6769547e5fb9..3656fe3a9a1e8618375271002850ccd407a6e5fc 100644 (file)
@@ -1,4 +1,4 @@
-import type { RequestPayload, ResponsePayload } from './UIProtocol';
+import type { RequestPayload, ResponsePayload } from './internal';
 
 export type BroadcastChannelRequest = [
   string,
@@ -17,15 +17,18 @@ export enum BroadcastChannelProcedureName {
   START_TRANSACTION = 'startTransaction',
   STOP_TRANSACTION = 'stopTransaction',
   AUTHORIZE = 'authorize',
+  BOOT_NOTIFICATION = 'bootNotification',
   STATUS_NOTIFICATION = 'statusNotification',
   HEARTBEAT = 'heartbeat',
   METER_VALUES = 'meterValues',
+  DATA_TRANSFER = 'dataTransfer',
+  DIAGNOSTICS_STATUS_NOTIFICATION = 'diagnosticsStatusNotification',
+  FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification',
 }
 
 export interface BroadcastChannelRequestPayload extends RequestPayload {
   connectorId?: number;
   transactionId?: number;
-  idTag?: string;
 }
 
 export interface BroadcastChannelResponsePayload