ea01b4fc77558063716b3837e20715dc3a25285b
1 import { JsonType
} from
'./JsonType';
7 export enum ProtocolVersion
{
11 export enum ProtocolCommand
{
12 LIST_CHARGING_STATIONS
= 'listChargingStations',
13 START_TRANSACTION
= 'startTransaction',
14 STOP_TRANSACTION
= 'stopTransaction',
18 export type ProtocolRequest
= [ProtocolCommand
, JsonType
];
20 export type ProtocolRequestHandler
= (payload
: JsonType
) => void | Promise
<void> | JsonType
| Promise
<JsonType
>;