X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FWorkerBroadcastChannel.ts;h=1756e496a3be5f3edc1604b5e7293de0244893db;hb=c2d3028f2593d516d2a4e0c8d2bb646f6052a392;hp=ca3d42704f4bfea8b3049b82b6a11dfd2ce6abe3;hpb=39257250487f6d6704ed61bf5862ea9e1f906fbc;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/WorkerBroadcastChannel.ts b/src/types/WorkerBroadcastChannel.ts index ca3d4270..1756e496 100644 --- a/src/types/WorkerBroadcastChannel.ts +++ b/src/types/WorkerBroadcastChannel.ts @@ -12,10 +12,15 @@ export enum BroadcastChannelProcedureName { STOP_CHARGING_STATION = 'stopChargingStation', OPEN_CONNECTION = 'openConnection', CLOSE_CONNECTION = 'closeConnection', - START_TRANSACTION = 'startTransaction', - STOP_TRANSACTION = 'stopTransaction', START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator', STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator', + START_TRANSACTION = 'startTransaction', + STOP_TRANSACTION = 'stopTransaction', + AUTHORIZE = 'authorize', + BOOT_NOTIFICATION = 'bootNotification', + STATUS_NOTIFICATION = 'statusNotification', + HEARTBEAT = 'heartbeat', + METER_VALUES = 'meterValues', } export interface BroadcastChannelRequestPayload extends RequestPayload { @@ -24,7 +29,8 @@ export interface BroadcastChannelRequestPayload extends RequestPayload { idTag?: string; } -export interface BroadcastChannelResponsePayload extends ResponsePayload { +export interface BroadcastChannelResponsePayload + extends Omit { hashId: string; }