@evpower/ocpp-ts
Version:
OCPP 1.6: Open Charge Point Protocol
122 lines • 13.1 kB
JavaScript
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.OCPP_PROTOCOL_1_6 = void 0;
const Authorize_json_1 = __importDefault(require("../ocpp-1.6-schemas/Authorize.json"));
const AuthorizeResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/AuthorizeResponse.json"));
const BootNotification_json_1 = __importDefault(require("../ocpp-1.6-schemas/BootNotification.json"));
const BootNotificationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/BootNotificationResponse.json"));
const CancelReservation_json_1 = __importDefault(require("../ocpp-1.6-schemas/CancelReservation.json"));
const CancelReservationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/CancelReservationResponse.json"));
const ChangeAvailability_json_1 = __importDefault(require("../ocpp-1.6-schemas/ChangeAvailability.json"));
const ChangeAvailabilityResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/ChangeAvailabilityResponse.json"));
const ChangeConfiguration_json_1 = __importDefault(require("../ocpp-1.6-schemas/ChangeConfiguration.json"));
const ChangeConfigurationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/ChangeConfigurationResponse.json"));
const ClearCache_json_1 = __importDefault(require("../ocpp-1.6-schemas/ClearCache.json"));
const ClearCacheResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/ClearCacheResponse.json"));
const ClearChargingProfile_json_1 = __importDefault(require("../ocpp-1.6-schemas/ClearChargingProfile.json"));
const ClearChargingProfileResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/ClearChargingProfileResponse.json"));
const DataTransfer_json_1 = __importDefault(require("../ocpp-1.6-schemas/DataTransfer.json"));
const DataTransferResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/DataTransferResponse.json"));
const DiagnosticsStatusNotification_json_1 = __importDefault(require("../ocpp-1.6-schemas/DiagnosticsStatusNotification.json"));
const DiagnosticsStatusNotificationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/DiagnosticsStatusNotificationResponse.json"));
const FirmwareStatusNotification_json_1 = __importDefault(require("../ocpp-1.6-schemas/FirmwareStatusNotification.json"));
const FirmwareStatusNotificationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/FirmwareStatusNotificationResponse.json"));
const GetCompositeSchedule_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetCompositeSchedule.json"));
const GetCompositeScheduleResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetCompositeScheduleResponse.json"));
const GetConfiguration_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetConfiguration.json"));
const GetConfigurationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetConfigurationResponse.json"));
const GetDiagnostics_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetDiagnostics.json"));
const GetDiagnosticsResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetDiagnosticsResponse.json"));
const GetLocalListVersion_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetLocalListVersion.json"));
const GetLocalListVersionResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/GetLocalListVersionResponse.json"));
const Heartbeat_json_1 = __importDefault(require("../ocpp-1.6-schemas/Heartbeat.json"));
const HeartbeatResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/HeartbeatResponse.json"));
const MeterValues_json_1 = __importDefault(require("../ocpp-1.6-schemas/MeterValues.json"));
const MeterValuesResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/MeterValuesResponse.json"));
const RemoteStartTransaction_json_1 = __importDefault(require("../ocpp-1.6-schemas/RemoteStartTransaction.json"));
const RemoteStartTransactionResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/RemoteStartTransactionResponse.json"));
const RemoteStopTransaction_json_1 = __importDefault(require("../ocpp-1.6-schemas/RemoteStopTransaction.json"));
const RemoteStopTransactionResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/RemoteStopTransactionResponse.json"));
const ReserveNow_json_1 = __importDefault(require("../ocpp-1.6-schemas/ReserveNow.json"));
const ReserveNowResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/ReserveNowResponse.json"));
const Reset_json_1 = __importDefault(require("../ocpp-1.6-schemas/Reset.json"));
const ResetResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/ResetResponse.json"));
const SendLocalList_json_1 = __importDefault(require("../ocpp-1.6-schemas/SendLocalList.json"));
const SendLocalListResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/SendLocalListResponse.json"));
const SetChargingProfile_json_1 = __importDefault(require("../ocpp-1.6-schemas/SetChargingProfile.json"));
const SetChargingProfileResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/SetChargingProfileResponse.json"));
const StartTransaction_json_1 = __importDefault(require("../ocpp-1.6-schemas/StartTransaction.json"));
const StartTransactionResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/StartTransactionResponse.json"));
const StatusNotification_json_1 = __importDefault(require("../ocpp-1.6-schemas/StatusNotification.json"));
const StatusNotificationResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/StatusNotificationResponse.json"));
const StopTransaction_json_1 = __importDefault(require("../ocpp-1.6-schemas/StopTransaction.json"));
const StopTransactionResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/StopTransactionResponse.json"));
const TriggerMessage_json_1 = __importDefault(require("../ocpp-1.6-schemas/TriggerMessage.json"));
const TriggerMessageResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/TriggerMessageResponse.json"));
const UnlockConnector_json_1 = __importDefault(require("../ocpp-1.6-schemas/UnlockConnector.json"));
const UnlockConnectorResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/UnlockConnectorResponse.json"));
const UpdateFirmware_json_1 = __importDefault(require("../ocpp-1.6-schemas/UpdateFirmware.json"));
const UpdateFirmwareResponse_json_1 = __importDefault(require("../ocpp-1.6-schemas/UpdateFirmwareResponse.json"));
exports.default = {
Authorize: Authorize_json_1.default,
AuthorizeResponse: AuthorizeResponse_json_1.default,
BootNotification: BootNotification_json_1.default,
BootNotificationResponse: BootNotificationResponse_json_1.default,
CancelReservation: CancelReservation_json_1.default,
CancelReservationResponse: CancelReservationResponse_json_1.default,
ChangeAvailability: ChangeAvailability_json_1.default,
ChangeAvailabilityResponse: ChangeAvailabilityResponse_json_1.default,
ChangeConfiguration: ChangeConfiguration_json_1.default,
ChangeConfigurationResponse: ChangeConfigurationResponse_json_1.default,
ClearCache: ClearCache_json_1.default,
ClearCacheResponse: ClearCacheResponse_json_1.default,
ClearChargingProfile: ClearChargingProfile_json_1.default,
ClearChargingProfileResponse: ClearChargingProfileResponse_json_1.default,
DataTransfer: DataTransfer_json_1.default,
DataTransferResponse: DataTransferResponse_json_1.default,
DiagnosticsStatusNotification: DiagnosticsStatusNotification_json_1.default,
DiagnosticsStatusNotificationResponse: DiagnosticsStatusNotificationResponse_json_1.default,
FirmwareStatusNotification: FirmwareStatusNotification_json_1.default,
FirmwareStatusNotificationResponse: FirmwareStatusNotificationResponse_json_1.default,
GetCompositeSchedule: GetCompositeSchedule_json_1.default,
GetCompositeScheduleResponse: GetCompositeScheduleResponse_json_1.default,
GetConfiguration: GetConfiguration_json_1.default,
GetConfigurationResponse: GetConfigurationResponse_json_1.default,
GetDiagnostics: GetDiagnostics_json_1.default,
GetDiagnosticsResponse: GetDiagnosticsResponse_json_1.default,
GetLocalListVersion: GetLocalListVersion_json_1.default,
GetLocalListVersionResponse: GetLocalListVersionResponse_json_1.default,
Heartbeat: Heartbeat_json_1.default,
HeartbeatResponse: HeartbeatResponse_json_1.default,
MeterValues: MeterValues_json_1.default,
MeterValuesResponse: MeterValuesResponse_json_1.default,
RemoteStartTransaction: RemoteStartTransaction_json_1.default,
RemoteStartTransactionResponse: RemoteStartTransactionResponse_json_1.default,
RemoteStopTransaction: RemoteStopTransaction_json_1.default,
RemoteStopTransactionResponse: RemoteStopTransactionResponse_json_1.default,
ReserveNow: ReserveNow_json_1.default,
ReserveNowResponse: ReserveNowResponse_json_1.default,
Reset: Reset_json_1.default,
ResetResponse: ResetResponse_json_1.default,
SendLocalList: SendLocalList_json_1.default,
SendLocalListResponse: SendLocalListResponse_json_1.default,
SetChargingProfile: SetChargingProfile_json_1.default,
SetChargingProfileResponse: SetChargingProfileResponse_json_1.default,
StartTransaction: StartTransaction_json_1.default,
StartTransactionResponse: StartTransactionResponse_json_1.default,
StatusNotification: StatusNotification_json_1.default,
StatusNotificationResponse: StatusNotificationResponse_json_1.default,
StopTransaction: StopTransaction_json_1.default,
StopTransactionResponse: StopTransactionResponse_json_1.default,
TriggerMessage: TriggerMessage_json_1.default,
TriggerMessageResponse: TriggerMessageResponse_json_1.default,
UnlockConnector: UnlockConnector_json_1.default,
UnlockConnectorResponse: UnlockConnectorResponse_json_1.default,
UpdateFirmware: UpdateFirmware_json_1.default,
UpdateFirmwareResponse: UpdateFirmwareResponse_json_1.default,
};
exports.OCPP_PROTOCOL_1_6 = 'ocpp1.6';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbXBsL3NjaGVtYXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsd0ZBQTJEO0FBQzNELHdHQUEyRTtBQUMzRSxzR0FBeUU7QUFDekUsc0hBQXlGO0FBQ3pGLHdHQUEyRTtBQUMzRSx3SEFBMkY7QUFDM0YsMEdBQTZFO0FBQzdFLDBIQUE2RjtBQUM3Riw0R0FBK0U7QUFDL0UsNEhBQStGO0FBQy9GLDBGQUE2RDtBQUM3RCwwR0FBNkU7QUFDN0UsOEdBQWlGO0FBQ2pGLDhIQUFpRztBQUNqRyw4RkFBaUU7QUFDakUsOEdBQWlGO0FBQ2pGLGdJQUFtRztBQUNuRyxnSkFDd0U7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