UNPKG

typed-ocpp

Version:

A library for type-aware parsing, serialization and validation of OCPP 1.6, OCPP 2.0 and OCPP 2.1 messages

51 lines 2.52 kB
export var Action; (function (Action) { Action["Authorize"] = "Authorize"; Action["BootNotification"] = "BootNotification"; Action["CancelReservation"] = "CancelReservation"; Action["ChangeAvailability"] = "ChangeAvailability"; Action["ChangeConfiguration"] = "ChangeConfiguration"; Action["ClearCache"] = "ClearCache"; Action["ClearChargingProfile"] = "ClearChargingProfile"; Action["DataTransfer"] = "DataTransfer"; Action["DiagnosticsStatusNotification"] = "DiagnosticsStatusNotification"; Action["FirmwareStatusNotification"] = "FirmwareStatusNotification"; Action["GetCompositeSchedule"] = "GetCompositeSchedule"; Action["GetConfiguration"] = "GetConfiguration"; Action["GetDiagnostics"] = "GetDiagnostics"; Action["GetLocalListVersion"] = "GetLocalListVersion"; Action["Heartbeat"] = "Heartbeat"; Action["MeterValues"] = "MeterValues"; Action["RemoteStartTransaction"] = "RemoteStartTransaction"; Action["RemoteStopTransaction"] = "RemoteStopTransaction"; Action["ReserveNow"] = "ReserveNow"; Action["Reset"] = "Reset"; Action["SendLocalList"] = "SendLocalList"; Action["SetChargingProfile"] = "SetChargingProfile"; Action["StartTransaction"] = "StartTransaction"; Action["StatusNotification"] = "StatusNotification"; Action["StopTransaction"] = "StopTransaction"; Action["TriggerMessage"] = "TriggerMessage"; Action["UnlockConnector"] = "UnlockConnector"; Action["UpdateFirmware"] = "UpdateFirmware"; })(Action || (Action = {})); export var ErrorCode; (function (ErrorCode) { ErrorCode["FormationViolation"] = "FormationViolation"; ErrorCode["GenericError"] = "GenericError"; ErrorCode["InternalError"] = "InternalError"; ErrorCode["NotImplemented"] = "NotImplemented"; ErrorCode["NotSupported"] = "NotSupported"; ErrorCode["OccurrenceConstraintViolation"] = "OccurrenceConstraintViolation"; ErrorCode["PropertyConstraintViolation"] = "PropertyConstraintViolation"; ErrorCode["ProtocolError"] = "ProtocolError"; ErrorCode["SecurityError"] = "SecurityError"; ErrorCode["TypeConstraintViolation"] = "TypeConstraintViolation"; })(ErrorCode || (ErrorCode = {})); export var MessageType; (function (MessageType) { MessageType[MessageType["CALL"] = 2] = "CALL"; MessageType[MessageType["CALLRESULT"] = 3] = "CALLRESULT"; MessageType[MessageType["CALLERROR"] = 4] = "CALLERROR"; })(MessageType || (MessageType = {})); //# sourceMappingURL=utils.js.map