import { OCPP16DiagnosticsStatus } from './1.6/DiagnosticsStatus';
import type { OCPP16MeterValuesRequest } from './1.6/MeterValues';
import {
OCPP16AvailabilityType,
type OCPP16BootNotificationRequest,
import { OCPP16DiagnosticsStatus } from './1.6/DiagnosticsStatus';
import type { OCPP16MeterValuesRequest } from './1.6/MeterValues';
import {
OCPP16AvailabilityType,
type OCPP16BootNotificationRequest,
type OCPP16DataTransferRequest,
type OCPP16DiagnosticsStatusNotificationRequest,
OCPP16FirmwareStatus,
type OCPP16DataTransferRequest,
type OCPP16DiagnosticsStatusNotificationRequest,
OCPP16FirmwareStatus,
import {
type OCPP20BootNotificationRequest,
OCPP20IncomingRequestCommand,
OCPP20RequestCommand,
import {
type OCPP20BootNotificationRequest,
OCPP20IncomingRequestCommand,
OCPP20RequestCommand,
export type OutgoingRequest = [MessageType.CALL_MESSAGE, string, RequestCommand, JsonType];
export type OutgoingRequest = [MessageType.CALL_MESSAGE, string, RequestCommand, JsonType];
export const IncomingRequestCommand = {
...OCPP16IncomingRequestCommand,
export const IncomingRequestCommand = {
...OCPP16IncomingRequestCommand,
export type IncomingRequestHandler = (
chargingStation: ChargingStation,
export type IncomingRequestHandler = (
chargingStation: ChargingStation,
) => JsonType | Promise<JsonType>;
export const AvailabilityType = {
...OCPP16AvailabilityType,
) => JsonType | Promise<JsonType>;
export const AvailabilityType = {
...OCPP16AvailabilityType,
export const DiagnosticsStatus = {
...OCPP16DiagnosticsStatus,
export const DiagnosticsStatus = {
...OCPP16DiagnosticsStatus,