Fix request and response handling in all registration state
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Requests.ts
index 2808e2f56a31dc3cb0d7b60176a81d9fd6dc7a3b..7f2955840c8d0a28c3ef996b4d68db47469c9a82 100644 (file)
@@ -4,6 +4,11 @@ import { MessageType } from './MessageType';
 import { OCPP16DiagnosticsStatus } from './1.6/DiagnosticsStatus';
 import OCPPError from '../../exception/OCPPError';
 
+export interface SendParams {
+  skipBufferingOnError?: boolean,
+  triggerMessage?: boolean
+}
+
 export type IncomingRequestHandler = (commandPayload: Record<string, unknown>) => Record<string, unknown> | Promise<Record<string, unknown>>;
 
 export type BootNotificationRequest = OCPP16BootNotificationRequest;