}
export enum ApplicationProtocol {
- HTTP = 'http',
- WS = 'ws'
+ WS = 'ws',
+ WSS = 'wss'
}
export enum ProtocolVersion {
'0.0.1' = '0.0.1'
}
+export enum AuthenticationType {
+ PROTOCOL_BASIC_AUTH = 'protocol-basic-auth'
+}
+
export type ProtocolRequest = [string, ProcedureName, RequestPayload]
export type ProtocolResponse = [string, ResponsePayload]
export enum ProcedureName {
START_SIMULATOR = 'startSimulator',
STOP_SIMULATOR = 'stopSimulator',
+ LIST_TEMPLATES = 'listTemplates',
LIST_CHARGING_STATIONS = 'listChargingStations',
+ ADD_CHARGING_STATIONS = 'addChargingStations',
+ DELETE_CHARGING_STATIONS = 'deleteChargingStations',
+ SET_SUPERVISION_URL = 'setSupervisionUrl',
START_CHARGING_STATION = 'startChargingStation',
STOP_CHARGING_STATION = 'stopChargingStation',
OPEN_CONNECTION = 'openConnection',