5 export enum ProtocolVersion
{
9 export enum ProtocolCommand
{
10 LIST_CHARGING_STATIONS
= 'listChargingStations',
11 START_TRANSACTION
= 'startTransaction',
12 STOP_TRANSACTION
= 'stopTransaction',
16 export type ProtocolRequest
= [ProtocolCommand
, Record
<string, unknown
>];
18 export type ProtocolRequestHandler
= (payload
: Record
<string, unknown
>) => void | Promise
<void> | Record
<string, unknown
> | Promise
<Record
<string, unknown
>>;