@evpower/ocpp-ts
Version:
OCPP 1.6: Open Charge Point Protocol
120 lines (117 loc) • 5.99 kB
text/typescript
import Authorize from '../ocpp-1.6-schemas/Authorize.json';
import AuthorizeResponse from '../ocpp-1.6-schemas/AuthorizeResponse.json';
import BootNotification from '../ocpp-1.6-schemas/BootNotification.json';
import BootNotificationResponse from '../ocpp-1.6-schemas/BootNotificationResponse.json';
import CancelReservation from '../ocpp-1.6-schemas/CancelReservation.json';
import CancelReservationResponse from '../ocpp-1.6-schemas/CancelReservationResponse.json';
import ChangeAvailability from '../ocpp-1.6-schemas/ChangeAvailability.json';
import ChangeAvailabilityResponse from '../ocpp-1.6-schemas/ChangeAvailabilityResponse.json';
import ChangeConfiguration from '../ocpp-1.6-schemas/ChangeConfiguration.json';
import ChangeConfigurationResponse from '../ocpp-1.6-schemas/ChangeConfigurationResponse.json';
import ClearCache from '../ocpp-1.6-schemas/ClearCache.json';
import ClearCacheResponse from '../ocpp-1.6-schemas/ClearCacheResponse.json';
import ClearChargingProfile from '../ocpp-1.6-schemas/ClearChargingProfile.json';
import ClearChargingProfileResponse from '../ocpp-1.6-schemas/ClearChargingProfileResponse.json';
import DataTransfer from '../ocpp-1.6-schemas/DataTransfer.json';
import DataTransferResponse from '../ocpp-1.6-schemas/DataTransferResponse.json';
import DiagnosticsStatusNotification from '../ocpp-1.6-schemas/DiagnosticsStatusNotification.json';
import DiagnosticsStatusNotificationResponse
from '../ocpp-1.6-schemas/DiagnosticsStatusNotificationResponse.json';
import FirmwareStatusNotification from '../ocpp-1.6-schemas/FirmwareStatusNotification.json';
import FirmwareStatusNotificationResponse
from '../ocpp-1.6-schemas/FirmwareStatusNotificationResponse.json';
import GetCompositeSchedule from '../ocpp-1.6-schemas/GetCompositeSchedule.json';
import GetCompositeScheduleResponse from '../ocpp-1.6-schemas/GetCompositeScheduleResponse.json';
import GetConfiguration from '../ocpp-1.6-schemas/GetConfiguration.json';
import GetConfigurationResponse from '../ocpp-1.6-schemas/GetConfigurationResponse.json';
import GetDiagnostics from '../ocpp-1.6-schemas/GetDiagnostics.json';
import GetDiagnosticsResponse from '../ocpp-1.6-schemas/GetDiagnosticsResponse.json';
import GetLocalListVersion from '../ocpp-1.6-schemas/GetLocalListVersion.json';
import GetLocalListVersionResponse from '../ocpp-1.6-schemas/GetLocalListVersionResponse.json';
import Heartbeat from '../ocpp-1.6-schemas/Heartbeat.json';
import HeartbeatResponse from '../ocpp-1.6-schemas/HeartbeatResponse.json';
import MeterValues from '../ocpp-1.6-schemas/MeterValues.json';
import MeterValuesResponse from '../ocpp-1.6-schemas/MeterValuesResponse.json';
import RemoteStartTransaction from '../ocpp-1.6-schemas/RemoteStartTransaction.json';
import RemoteStartTransactionResponse from '../ocpp-1.6-schemas/RemoteStartTransactionResponse.json';
import RemoteStopTransaction from '../ocpp-1.6-schemas/RemoteStopTransaction.json';
import RemoteStopTransactionResponse from '../ocpp-1.6-schemas/RemoteStopTransactionResponse.json';
import ReserveNow from '../ocpp-1.6-schemas/ReserveNow.json';
import ReserveNowResponse from '../ocpp-1.6-schemas/ReserveNowResponse.json';
import Reset from '../ocpp-1.6-schemas/Reset.json';
import ResetResponse from '../ocpp-1.6-schemas/ResetResponse.json';
import SendLocalList from '../ocpp-1.6-schemas/SendLocalList.json';
import SendLocalListResponse from '../ocpp-1.6-schemas/SendLocalListResponse.json';
import SetChargingProfile from '../ocpp-1.6-schemas/SetChargingProfile.json';
import SetChargingProfileResponse from '../ocpp-1.6-schemas/SetChargingProfileResponse.json';
import StartTransaction from '../ocpp-1.6-schemas/StartTransaction.json';
import StartTransactionResponse from '../ocpp-1.6-schemas/StartTransactionResponse.json';
import StatusNotification from '../ocpp-1.6-schemas/StatusNotification.json';
import StatusNotificationResponse from '../ocpp-1.6-schemas/StatusNotificationResponse.json';
import StopTransaction from '../ocpp-1.6-schemas/StopTransaction.json';
import StopTransactionResponse from '../ocpp-1.6-schemas/StopTransactionResponse.json';
import TriggerMessage from '../ocpp-1.6-schemas/TriggerMessage.json';
import TriggerMessageResponse from '../ocpp-1.6-schemas/TriggerMessageResponse.json';
import UnlockConnector from '../ocpp-1.6-schemas/UnlockConnector.json';
import UnlockConnectorResponse from '../ocpp-1.6-schemas/UnlockConnectorResponse.json';
import UpdateFirmware from '../ocpp-1.6-schemas/UpdateFirmware.json';
import UpdateFirmwareResponse from '../ocpp-1.6-schemas/UpdateFirmwareResponse.json';
export default {
Authorize,
AuthorizeResponse,
BootNotification,
BootNotificationResponse,
CancelReservation,
CancelReservationResponse,
ChangeAvailability,
ChangeAvailabilityResponse,
ChangeConfiguration,
ChangeConfigurationResponse,
ClearCache,
ClearCacheResponse,
ClearChargingProfile,
ClearChargingProfileResponse,
DataTransfer,
DataTransferResponse,
DiagnosticsStatusNotification,
DiagnosticsStatusNotificationResponse,
FirmwareStatusNotification,
FirmwareStatusNotificationResponse,
GetCompositeSchedule,
GetCompositeScheduleResponse,
GetConfiguration,
GetConfigurationResponse,
GetDiagnostics,
GetDiagnosticsResponse,
GetLocalListVersion,
GetLocalListVersionResponse,
Heartbeat,
HeartbeatResponse,
MeterValues,
MeterValuesResponse,
RemoteStartTransaction,
RemoteStartTransactionResponse,
RemoteStopTransaction,
RemoteStopTransactionResponse,
ReserveNow,
ReserveNowResponse,
Reset,
ResetResponse,
SendLocalList,
SendLocalListResponse,
SetChargingProfile,
SetChargingProfileResponse,
StartTransaction,
StartTransactionResponse,
StatusNotification,
StatusNotificationResponse,
StopTransaction,
StopTransactionResponse,
TriggerMessage,
TriggerMessageResponse,
UnlockConnector,
UnlockConnectorResponse,
UpdateFirmware,
UpdateFirmwareResponse,
};
export const OCPP_PROTOCOL_1_6 = 'ocpp1.6';