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

118 lines 6.43 kB
export var Action; (function (Action) { Action["AdjustPeriodicEventStream"] = "AdjustPeriodicEventStream"; Action["AFRRSignal"] = "AFRRSignal"; Action["Authorize"] = "Authorize"; Action["BatterySwap"] = "BatterySwap"; Action["BootNotification"] = "BootNotification"; Action["CancelReservation"] = "CancelReservation"; Action["CertificateSigned"] = "CertificateSigned"; Action["ChangeAvailability"] = "ChangeAvailability"; Action["ChangeTransactionTariff"] = "ChangeTransactionTariff"; Action["ClearCache"] = "ClearCache"; Action["ClearChargingProfile"] = "ClearChargingProfile"; Action["ClearDERControl"] = "ClearDERControl"; Action["ClearDisplayMessage"] = "ClearDisplayMessage"; Action["ClearedChargingLimit"] = "ClearedChargingLimit"; Action["ClearTariffs"] = "ClearTariffs"; Action["ClearVariableMonitoring"] = "ClearVariableMonitoring"; Action["ClosePeriodicEventStream"] = "ClosePeriodicEventStream"; Action["CostUpdated"] = "CostUpdated"; Action["CustomerInformation"] = "CustomerInformation"; Action["DataTransfer"] = "DataTransfer"; Action["DeleteCertificate"] = "DeleteCertificate"; Action["FirmwareStatusNotification"] = "FirmwareStatusNotification"; Action["Get15118EVCertificate"] = "Get15118EVCertificate"; Action["GetBaseReport"] = "GetBaseReport"; Action["GetCertificateChainStatus"] = "GetCertificateChainStatus"; Action["GetCertificateStatus"] = "GetCertificateStatus"; Action["GetChargingProfiles"] = "GetChargingProfiles"; Action["GetCompositeSchedule"] = "GetCompositeSchedule"; Action["GetDERControl"] = "GetDERControl"; Action["GetDisplayMessages"] = "GetDisplayMessages"; Action["GetInstalledCertificateIds"] = "GetInstalledCertificateIds"; Action["GetLocalListVersion"] = "GetLocalListVersion"; Action["GetLog"] = "GetLog"; Action["GetMonitoringReport"] = "GetMonitoringReport"; Action["GetPeriodicEventStream"] = "GetPeriodicEventStream"; Action["GetReport"] = "GetReport"; Action["GetTariffs"] = "GetTariffs"; Action["GetTransactionStatus"] = "GetTransactionStatus"; Action["GetVariables"] = "GetVariables"; Action["Heartbeat"] = "Heartbeat"; Action["InstallCertificate"] = "InstallCertificate"; Action["LogStatusNotification"] = "LogStatusNotification"; Action["MeterValues"] = "MeterValues"; Action["NotifyAllowedEnergyTransfer"] = "NotifyAllowedEnergyTransfer"; Action["NotifyChargingLimit"] = "NotifyChargingLimit"; Action["NotifyCustomerInformation"] = "NotifyCustomerInformation"; Action["NotifyDERAlarm"] = "NotifyDERAlarm"; Action["NotifyDERStartStop"] = "NotifyDERStartStop"; Action["NotifyDisplayMessages"] = "NotifyDisplayMessages"; Action["NotifyEVChargingNeeds"] = "NotifyEVChargingNeeds"; Action["NotifyEVChargingSchedule"] = "NotifyEVChargingSchedule"; Action["NotifyEvent"] = "NotifyEvent"; Action["NotifyMonitoringReport"] = "NotifyMonitoringReport"; Action["NotifyPeriodicEventStream"] = "NotifyPeriodicEventStream"; Action["NotifyPriorityCharging"] = "NotifyPriorityCharging"; Action["NotifyReport"] = "NotifyReport"; Action["NotifySettlement"] = "NotifySettlement"; Action["NotifyWebPaymentStarted"] = "NotifyWebPaymentStarted"; Action["OpenPeriodicEventStream"] = "OpenPeriodicEventStream"; Action["PublishFirmware"] = "PublishFirmware"; Action["PublishFirmwareStatusNotification"] = "PublishFirmwareStatusNotification"; Action["PullDynamicScheduleUpdate"] = "PullDynamicScheduleUpdate"; Action["ReportChargingProfiles"] = "ReportChargingProfiles"; Action["ReportDERControl"] = "ReportDERControl"; Action["RequestBatterySwap"] = "RequestBatterySwap"; Action["RequestStartTransaction"] = "RequestStartTransaction"; Action["RequestStopTransaction"] = "RequestStopTransaction"; Action["ReservationStatusUpdate"] = "ReservationStatusUpdate"; Action["ReserveNow"] = "ReserveNow"; Action["Reset"] = "Reset"; Action["SecurityEventNotification"] = "SecurityEventNotification"; Action["SendLocalList"] = "SendLocalList"; Action["SetChargingProfile"] = "SetChargingProfile"; Action["SetDefaultTariff"] = "SetDefaultTariff"; Action["SetDERControl"] = "SetDERControl"; Action["SetDisplayMessage"] = "SetDisplayMessage"; Action["SetMonitoringBase"] = "SetMonitoringBase"; Action["SetMonitoringLevel"] = "SetMonitoringLevel"; Action["SetNetworkProfile"] = "SetNetworkProfile"; Action["SetVariableMonitoring"] = "SetVariableMonitoring"; Action["SetVariables"] = "SetVariables"; Action["SignCertificate"] = "SignCertificate"; Action["StatusNotification"] = "StatusNotification"; Action["TransactionEvent"] = "TransactionEvent"; Action["TriggerMessage"] = "TriggerMessage"; Action["UnlockConnector"] = "UnlockConnector"; Action["UnpublishFirmware"] = "UnpublishFirmware"; Action["UpdateDynamicSchedule"] = "UpdateDynamicSchedule"; Action["UpdateFirmware"] = "UpdateFirmware"; Action["UsePriorityCharging"] = "UsePriorityCharging"; Action["VatNumberValidation"] = "VatNumberValidation"; })(Action || (Action = {})); export var ErrorCode; (function (ErrorCode) { ErrorCode["FormationViolation"] = "FormationViolation"; ErrorCode["GenericError"] = "GenericError"; ErrorCode["InternalError"] = "InternalError"; ErrorCode["MessageTypeNotSupported"] = "MessageTypeNotSupported"; ErrorCode["NotImplemented"] = "NotImplemented"; ErrorCode["NotSupported"] = "NotSupported"; ErrorCode["OccurrenceConstraintViolation"] = "OccurrenceConstraintViolation"; ErrorCode["PropertyConstraintViolation"] = "PropertyConstraintViolation"; ErrorCode["ProtocolError"] = "ProtocolError"; ErrorCode["RpcFrameworkError"] = "RpcFrameworkError"; 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["CALLRESULTERROR"] = 5] = "CALLRESULTERROR"; MessageType[MessageType["SEND"] = 6] = "SEND"; })(MessageType || (MessageType = {})); //# sourceMappingURL=utils.js.map