X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FUIProtocol.ts;h=f48119433d3f7508c783658cdbfe1db63987baff;hb=d929adcc32a8cc79f0c7182d16f70367b001d28c;hp=8195f7be7086722dbf386aa587abb3f4e30939d5;hpb=d3195f0a57d61e2afd211f30092f8f1afe6c5245;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/UIProtocol.ts b/src/types/UIProtocol.ts index 8195f7be..f4811943 100644 --- a/src/types/UIProtocol.ts +++ b/src/types/UIProtocol.ts @@ -24,7 +24,7 @@ export type ProtocolResponse = [string, ResponsePayload]; export type ProtocolRequestHandler = ( uuid?: string, procedureName?: ProcedureName, - payload?: RequestPayload + payload?: RequestPayload, ) => undefined | Promise | ResponsePayload | Promise; export enum ProcedureName { @@ -37,12 +37,17 @@ export enum ProcedureName { CLOSE_CONNECTION = 'closeConnection', START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator', STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator', + SET_SUPERVISION_URL = 'setSupervisionUrl', 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 RequestPayload extends JsonObject {