UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

1,025 lines 53.6 kB
"use strict"; // Copyright 2023 S44, LLC // Copyright Contributors to the CitrineOS Project // // SPDX-License-Identifier: Apache 2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.MonitoringBaseEnumType = exports.GenericStatusEnumType = exports.EventNotificationEnumType = exports.ChargingLimitSourceEnumType = exports.PhaseEnumType = exports.MeasurandEnumType = exports.LocationEnumType = exports.ReadingContextEnumType = exports.ClearMessageStatusEnumType = exports.ChargingProfileStatusEnumType = exports.NotifyEVChargingNeedsStatusEnumType = exports.CertificateSignedStatusEnumType = exports.SetVariableStatusEnumType = exports.GetVariableStatusEnumType = exports.ClearMonitoringStatusEnumType = exports.SetNetworkProfileStatusEnumType = exports.TriggerReasonEnumType = exports.MessageStateEnumType = exports.MessagePriorityEnumType = exports.MessageFormatEnumType = exports.CustomerInformationStatusEnumType = exports.Iso15118EVCertificateStatusEnumType = exports.UnpublishFirmwareStatusEnumType = exports.TriggerMessageStatusEnumType = exports.GenericDeviceModelStatusEnumType = exports.GetCertificateIdUseEnumType = exports.CertificateSigningUseEnumType = exports.InstallCertificateUseEnumType = exports.ClearChargingProfileStatusEnumType = exports.GetDisplayMessagesStatusEnumType = exports.AuthorizationStatusEnumType = exports.IdTokenEnumType = exports.CertificateActionEnumType = exports.MutabilityEnumType = exports.DataEnumType = exports.CostKindEnumType = exports.OCPPVersionEnumType = exports.OCPPTransportEnumType = exports.ChargingRateUnitEnumType = exports.RecurrencyKindEnumType = exports.ChargingProfilePurposeEnumType = exports.ChargingProfileKindEnumType = exports.EnergyTransferModeEnumType = exports.GetInstalledCertificateStatusEnumType = exports.DeleteCertificateStatusEnumType = exports.InstallCertificateStatusEnumType = exports.AuthorizeCertificateStatusEnumType = exports.OCPPInterfaceEnumType = exports.ClearCacheStatusEnumType = exports.APNAuthenticationEnumType = void 0; exports.MonitoringCriterionEnumType = exports.ComponentCriterionEnumType = exports.VPNEnumType = exports.HashAlgorithmEnumType = exports.EventTriggerEnumType = exports.MessageTriggerEnumType = exports.AttributeEnumType = exports.ReasonEnumType = exports.ChargingStateEnumType = exports.GetCertificateStatusEnumType = exports.GetChargingProfileStatusEnumType = exports.ResetStatusEnumType = exports.ChangeAvailabilityStatusEnumType = exports.DisplayMessageStatusEnumType = exports.UnlockStatusEnumType = exports.SendLocalListStatusEnumType = exports.ReserveNowStatusEnumType = exports.DataTransferStatusEnumType = exports.CancelReservationStatusEnumType = exports.ReportBaseEnumType = exports.ConnectorEnumType = exports.LogStatusEnumType = exports.UpdateFirmwareStatusEnumType = exports.RegistrationStatusEnumType = exports.UpdateEnumType = exports.TransactionEventEnumType = exports.ResetEnumType = exports.LogEnumType = exports.OperationalStatusEnumType = exports.UploadLogStatusEnumType = exports.BootReasonEnumType = exports.PublishFirmwareStatusEnumType = exports.FirmwareStatusEnumType = exports.ConnectorStatusEnumType = exports.ReservationUpdateStatusEnumType = exports.MonitorEnumType = exports.SetMonitoringStatusEnumType = exports.RequestStartStopStatusEnumType = void 0; /** * APN. APN_ Authentication. APN_ Authentication_ Code * urn:x-oca:ocpp:uid:1:568828 * Authentication method. * */ var APNAuthenticationEnumType; (function (APNAuthenticationEnumType) { APNAuthenticationEnumType["CHAP"] = "CHAP"; APNAuthenticationEnumType["NONE"] = "NONE"; APNAuthenticationEnumType["PAP"] = "PAP"; APNAuthenticationEnumType["AUTO"] = "AUTO"; })(APNAuthenticationEnumType || (exports.APNAuthenticationEnumType = APNAuthenticationEnumType = {})); /** * Accepted if the Charging Station has executed the request, otherwise rejected. * */ var ClearCacheStatusEnumType; (function (ClearCacheStatusEnumType) { ClearCacheStatusEnumType["Accepted"] = "Accepted"; ClearCacheStatusEnumType["Rejected"] = "Rejected"; })(ClearCacheStatusEnumType || (exports.ClearCacheStatusEnumType = ClearCacheStatusEnumType = {})); /** * Applicable Network Interface. * */ var OCPPInterfaceEnumType; (function (OCPPInterfaceEnumType) { OCPPInterfaceEnumType["Wired0"] = "Wired0"; OCPPInterfaceEnumType["Wired1"] = "Wired1"; OCPPInterfaceEnumType["Wired2"] = "Wired2"; OCPPInterfaceEnumType["Wired3"] = "Wired3"; OCPPInterfaceEnumType["Wireless0"] = "Wireless0"; OCPPInterfaceEnumType["Wireless1"] = "Wireless1"; OCPPInterfaceEnumType["Wireless2"] = "Wireless2"; OCPPInterfaceEnumType["Wireless3"] = "Wireless3"; })(OCPPInterfaceEnumType || (exports.OCPPInterfaceEnumType = OCPPInterfaceEnumType = {})); /** * Certificate status information. * - if all certificates are valid: return 'Accepted'. * - if one of the certificates was revoked, return 'CertificateRevoked'. * */ var AuthorizeCertificateStatusEnumType; (function (AuthorizeCertificateStatusEnumType) { AuthorizeCertificateStatusEnumType["Accepted"] = "Accepted"; AuthorizeCertificateStatusEnumType["SignatureError"] = "SignatureError"; AuthorizeCertificateStatusEnumType["CertificateExpired"] = "CertificateExpired"; AuthorizeCertificateStatusEnumType["CertificateRevoked"] = "CertificateRevoked"; AuthorizeCertificateStatusEnumType["NoCertificateAvailable"] = "NoCertificateAvailable"; AuthorizeCertificateStatusEnumType["CertChainError"] = "CertChainError"; AuthorizeCertificateStatusEnumType["ContractCancelled"] = "ContractCancelled"; })(AuthorizeCertificateStatusEnumType || (exports.AuthorizeCertificateStatusEnumType = AuthorizeCertificateStatusEnumType = {})); /** * Charging Station indicates if installation was successful. * */ var InstallCertificateStatusEnumType; (function (InstallCertificateStatusEnumType) { InstallCertificateStatusEnumType["Accepted"] = "Accepted"; InstallCertificateStatusEnumType["Rejected"] = "Rejected"; InstallCertificateStatusEnumType["Failed"] = "Failed"; })(InstallCertificateStatusEnumType || (exports.InstallCertificateStatusEnumType = InstallCertificateStatusEnumType = {})); /** * Charging Station indicates if it can process the request. * */ var DeleteCertificateStatusEnumType; (function (DeleteCertificateStatusEnumType) { DeleteCertificateStatusEnumType["Accepted"] = "Accepted"; DeleteCertificateStatusEnumType["Failed"] = "Failed"; DeleteCertificateStatusEnumType["NotFound"] = "NotFound"; })(DeleteCertificateStatusEnumType || (exports.DeleteCertificateStatusEnumType = DeleteCertificateStatusEnumType = {})); /** * Charging Station indicates if it can process the request. * */ var GetInstalledCertificateStatusEnumType; (function (GetInstalledCertificateStatusEnumType) { GetInstalledCertificateStatusEnumType["Accepted"] = "Accepted"; GetInstalledCertificateStatusEnumType["NotFound"] = "NotFound"; })(GetInstalledCertificateStatusEnumType || (exports.GetInstalledCertificateStatusEnumType = GetInstalledCertificateStatusEnumType = {})); /** * Charging_ Needs. Requested. Energy_ Transfer_ Mode_ Code * urn:x-oca:ocpp:uid:1:569209 * Mode of energy transfer requested by the EV. * */ var EnergyTransferModeEnumType; (function (EnergyTransferModeEnumType) { EnergyTransferModeEnumType["DC"] = "DC"; EnergyTransferModeEnumType["AC_single_phase"] = "AC_single_phase"; EnergyTransferModeEnumType["AC_two_phase"] = "AC_two_phase"; EnergyTransferModeEnumType["AC_three_phase"] = "AC_three_phase"; })(EnergyTransferModeEnumType || (exports.EnergyTransferModeEnumType = EnergyTransferModeEnumType = {})); /** * Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code * urn:x-oca:ocpp:uid:1:569232 * Indicates the kind of schedule. * */ var ChargingProfileKindEnumType; (function (ChargingProfileKindEnumType) { ChargingProfileKindEnumType["Absolute"] = "Absolute"; ChargingProfileKindEnumType["Recurring"] = "Recurring"; ChargingProfileKindEnumType["Relative"] = "Relative"; })(ChargingProfileKindEnumType || (exports.ChargingProfileKindEnumType = ChargingProfileKindEnumType = {})); /** * Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code * urn:x-oca:ocpp:uid:1:569231 * Defines the purpose of the schedule transferred by this profile * */ var ChargingProfilePurposeEnumType; (function (ChargingProfilePurposeEnumType) { ChargingProfilePurposeEnumType["ChargingStationExternalConstraints"] = "ChargingStationExternalConstraints"; ChargingProfilePurposeEnumType["ChargingStationMaxProfile"] = "ChargingStationMaxProfile"; ChargingProfilePurposeEnumType["TxDefaultProfile"] = "TxDefaultProfile"; ChargingProfilePurposeEnumType["TxProfile"] = "TxProfile"; })(ChargingProfilePurposeEnumType || (exports.ChargingProfilePurposeEnumType = ChargingProfilePurposeEnumType = {})); /** * Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code * urn:x-oca:ocpp:uid:1:569233 * Indicates the start point of a recurrence. * */ var RecurrencyKindEnumType; (function (RecurrencyKindEnumType) { RecurrencyKindEnumType["Daily"] = "Daily"; RecurrencyKindEnumType["Weekly"] = "Weekly"; })(RecurrencyKindEnumType || (exports.RecurrencyKindEnumType = RecurrencyKindEnumType = {})); /** * Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code * urn:x-oca:ocpp:uid:1:569238 * The unit of measure Limit is expressed in. * */ var ChargingRateUnitEnumType; (function (ChargingRateUnitEnumType) { ChargingRateUnitEnumType["W"] = "W"; ChargingRateUnitEnumType["A"] = "A"; })(ChargingRateUnitEnumType || (exports.ChargingRateUnitEnumType = ChargingRateUnitEnumType = {})); /** * Communication_ Function. OCPP_ Transport. OCPP_ Transport_ Code * urn:x-oca:ocpp:uid:1:569356 * Defines the transport protocol (e.g. SOAP or JSON). Note: SOAP is not supported in OCPP 2.0, but is supported by other versions of OCPP. * */ var OCPPTransportEnumType; (function (OCPPTransportEnumType) { OCPPTransportEnumType["JSON"] = "JSON"; OCPPTransportEnumType["SOAP"] = "SOAP"; })(OCPPTransportEnumType || (exports.OCPPTransportEnumType = OCPPTransportEnumType = {})); /** * Communication_ Function. OCPP_ Version. OCPP_ Version_ Code * urn:x-oca:ocpp:uid:1:569355 * Defines the OCPP version used for this communication function. * */ var OCPPVersionEnumType; (function (OCPPVersionEnumType) { OCPPVersionEnumType["OCPP12"] = "OCPP12"; OCPPVersionEnumType["OCPP15"] = "OCPP15"; OCPPVersionEnumType["OCPP16"] = "OCPP16"; OCPPVersionEnumType["OCPP20"] = "OCPP20"; })(OCPPVersionEnumType || (exports.OCPPVersionEnumType = OCPPVersionEnumType = {})); /** * Cost. Cost_ Kind. Cost_ Kind_ Code * urn:x-oca:ocpp:uid:1:569243 * The kind of cost referred to in the message element amount * */ var CostKindEnumType; (function (CostKindEnumType) { CostKindEnumType["CarbonDioxideEmission"] = "CarbonDioxideEmission"; CostKindEnumType["RelativePricePercentage"] = "RelativePricePercentage"; CostKindEnumType["RenewableGenerationPercentage"] = "RenewableGenerationPercentage"; })(CostKindEnumType || (exports.CostKindEnumType = CostKindEnumType = {})); /** * Data type of this variable. * */ var DataEnumType; (function (DataEnumType) { DataEnumType["string"] = "string"; DataEnumType["decimal"] = "decimal"; DataEnumType["integer"] = "integer"; DataEnumType["dateTime"] = "dateTime"; DataEnumType["boolean"] = "boolean"; DataEnumType["OptionList"] = "OptionList"; DataEnumType["SequenceList"] = "SequenceList"; DataEnumType["MemberList"] = "MemberList"; DataEnumType["passwordString"] = "passwordString"; })(DataEnumType || (exports.DataEnumType = DataEnumType = {})); /** * Defines the mutability of this attribute. Default is ReadWrite when omitted. * */ var MutabilityEnumType; (function (MutabilityEnumType) { MutabilityEnumType["ReadOnly"] = "ReadOnly"; MutabilityEnumType["WriteOnly"] = "WriteOnly"; MutabilityEnumType["ReadWrite"] = "ReadWrite"; })(MutabilityEnumType || (exports.MutabilityEnumType = MutabilityEnumType = {})); /** * Defines whether certificate needs to be installed or updated. * */ var CertificateActionEnumType; (function (CertificateActionEnumType) { CertificateActionEnumType["Install"] = "Install"; CertificateActionEnumType["Update"] = "Update"; })(CertificateActionEnumType || (exports.CertificateActionEnumType = CertificateActionEnumType = {})); /** * Enumeration of possible idToken types. * */ var IdTokenEnumType; (function (IdTokenEnumType) { IdTokenEnumType["Central"] = "Central"; IdTokenEnumType["eMAID"] = "eMAID"; IdTokenEnumType["ISO14443"] = "ISO14443"; IdTokenEnumType["ISO15693"] = "ISO15693"; IdTokenEnumType["KeyCode"] = "KeyCode"; IdTokenEnumType["Local"] = "Local"; IdTokenEnumType["MacAddress"] = "MacAddress"; IdTokenEnumType["NoAuthorization"] = "NoAuthorization"; })(IdTokenEnumType || (exports.IdTokenEnumType = IdTokenEnumType = {})); /** * ID_ Token. Status. Authorization_ Status * urn:x-oca:ocpp:uid:1:569372 * Current status of the ID Token. * */ var AuthorizationStatusEnumType; (function (AuthorizationStatusEnumType) { AuthorizationStatusEnumType["Accepted"] = "Accepted"; AuthorizationStatusEnumType["Blocked"] = "Blocked"; AuthorizationStatusEnumType["ConcurrentTx"] = "ConcurrentTx"; AuthorizationStatusEnumType["Expired"] = "Expired"; AuthorizationStatusEnumType["Invalid"] = "Invalid"; AuthorizationStatusEnumType["NoCredit"] = "NoCredit"; AuthorizationStatusEnumType["NotAllowedTypeEVSE"] = "NotAllowedTypeEVSE"; AuthorizationStatusEnumType["NotAtThisLocation"] = "NotAtThisLocation"; AuthorizationStatusEnumType["NotAtThisTime"] = "NotAtThisTime"; AuthorizationStatusEnumType["Unknown"] = "Unknown"; })(AuthorizationStatusEnumType || (exports.AuthorizationStatusEnumType = AuthorizationStatusEnumType = {})); /** * Indicates if the Charging Station has Display Messages that match the request criteria in the <<getdisplaymessagesrequest,GetDisplayMessagesRequest>> * */ var GetDisplayMessagesStatusEnumType; (function (GetDisplayMessagesStatusEnumType) { GetDisplayMessagesStatusEnumType["Accepted"] = "Accepted"; GetDisplayMessagesStatusEnumType["Unknown"] = "Unknown"; })(GetDisplayMessagesStatusEnumType || (exports.GetDisplayMessagesStatusEnumType = GetDisplayMessagesStatusEnumType = {})); /** * Indicates if the Charging Station was able to execute the request. * */ var ClearChargingProfileStatusEnumType; (function (ClearChargingProfileStatusEnumType) { ClearChargingProfileStatusEnumType["Accepted"] = "Accepted"; ClearChargingProfileStatusEnumType["Unknown"] = "Unknown"; })(ClearChargingProfileStatusEnumType || (exports.ClearChargingProfileStatusEnumType = ClearChargingProfileStatusEnumType = {})); /** * Indicates the certificate type that is sent. * */ var InstallCertificateUseEnumType; (function (InstallCertificateUseEnumType) { InstallCertificateUseEnumType["V2GRootCertificate"] = "V2GRootCertificate"; InstallCertificateUseEnumType["MORootCertificate"] = "MORootCertificate"; InstallCertificateUseEnumType["CSMSRootCertificate"] = "CSMSRootCertificate"; InstallCertificateUseEnumType["ManufacturerRootCertificate"] = "ManufacturerRootCertificate"; })(InstallCertificateUseEnumType || (exports.InstallCertificateUseEnumType = InstallCertificateUseEnumType = {})); /** * Indicates the type of certificate that is to be signed. When omitted the certificate is to be used for both the 15118 connection (if implemented) and the Charging Station to CSMS connection. * * */ var CertificateSigningUseEnumType; (function (CertificateSigningUseEnumType) { CertificateSigningUseEnumType["ChargingStationCertificate"] = "ChargingStationCertificate"; CertificateSigningUseEnumType["V2GCertificate"] = "V2GCertificate"; })(CertificateSigningUseEnumType || (exports.CertificateSigningUseEnumType = CertificateSigningUseEnumType = {})); /** * Indicates the type of the requested certificate(s). * */ var GetCertificateIdUseEnumType; (function (GetCertificateIdUseEnumType) { GetCertificateIdUseEnumType["V2GRootCertificate"] = "V2GRootCertificate"; GetCertificateIdUseEnumType["MORootCertificate"] = "MORootCertificate"; GetCertificateIdUseEnumType["CSMSRootCertificate"] = "CSMSRootCertificate"; GetCertificateIdUseEnumType["V2GCertificateChain"] = "V2GCertificateChain"; GetCertificateIdUseEnumType["ManufacturerRootCertificate"] = "ManufacturerRootCertificate"; })(GetCertificateIdUseEnumType || (exports.GetCertificateIdUseEnumType = GetCertificateIdUseEnumType = {})); /** * Indicates whether the Charging Station was able to accept the request. * */ var GenericDeviceModelStatusEnumType; (function (GenericDeviceModelStatusEnumType) { GenericDeviceModelStatusEnumType["Accepted"] = "Accepted"; GenericDeviceModelStatusEnumType["Rejected"] = "Rejected"; GenericDeviceModelStatusEnumType["NotSupported"] = "NotSupported"; GenericDeviceModelStatusEnumType["EmptyResultSet"] = "EmptyResultSet"; })(GenericDeviceModelStatusEnumType || (exports.GenericDeviceModelStatusEnumType = GenericDeviceModelStatusEnumType = {})); /** * Indicates whether the Charging Station will send the requested notification or not. * */ var TriggerMessageStatusEnumType; (function (TriggerMessageStatusEnumType) { TriggerMessageStatusEnumType["Accepted"] = "Accepted"; TriggerMessageStatusEnumType["Rejected"] = "Rejected"; TriggerMessageStatusEnumType["NotImplemented"] = "NotImplemented"; })(TriggerMessageStatusEnumType || (exports.TriggerMessageStatusEnumType = TriggerMessageStatusEnumType = {})); /** * Indicates whether the Local Controller succeeded in unpublishing the firmware. * */ var UnpublishFirmwareStatusEnumType; (function (UnpublishFirmwareStatusEnumType) { UnpublishFirmwareStatusEnumType["DownloadOngoing"] = "DownloadOngoing"; UnpublishFirmwareStatusEnumType["NoFirmware"] = "NoFirmware"; UnpublishFirmwareStatusEnumType["Unpublished"] = "Unpublished"; })(UnpublishFirmwareStatusEnumType || (exports.UnpublishFirmwareStatusEnumType = UnpublishFirmwareStatusEnumType = {})); /** * Indicates whether the message was processed properly. * */ var Iso15118EVCertificateStatusEnumType; (function (Iso15118EVCertificateStatusEnumType) { Iso15118EVCertificateStatusEnumType["Accepted"] = "Accepted"; Iso15118EVCertificateStatusEnumType["Failed"] = "Failed"; })(Iso15118EVCertificateStatusEnumType || (exports.Iso15118EVCertificateStatusEnumType = Iso15118EVCertificateStatusEnumType = {})); /** * Indicates whether the request was accepted. * */ var CustomerInformationStatusEnumType; (function (CustomerInformationStatusEnumType) { CustomerInformationStatusEnumType["Accepted"] = "Accepted"; CustomerInformationStatusEnumType["Rejected"] = "Rejected"; CustomerInformationStatusEnumType["Invalid"] = "Invalid"; })(CustomerInformationStatusEnumType || (exports.CustomerInformationStatusEnumType = CustomerInformationStatusEnumType = {})); /** * Message_ Content. Format. Message_ Format_ Code * urn:x-enexis:ecdm:uid:1:570848 * Format of the message. * */ var MessageFormatEnumType; (function (MessageFormatEnumType) { MessageFormatEnumType["ASCII"] = "ASCII"; MessageFormatEnumType["HTML"] = "HTML"; MessageFormatEnumType["URI"] = "URI"; MessageFormatEnumType["UTF8"] = "UTF8"; })(MessageFormatEnumType || (exports.MessageFormatEnumType = MessageFormatEnumType = {})); /** * Message_ Info. Priority. Message_ Priority_ Code * urn:x-enexis:ecdm:uid:1:569253 * With what priority should this message be shown * */ var MessagePriorityEnumType; (function (MessagePriorityEnumType) { MessagePriorityEnumType["AlwaysFront"] = "AlwaysFront"; MessagePriorityEnumType["InFront"] = "InFront"; MessagePriorityEnumType["NormalCycle"] = "NormalCycle"; })(MessagePriorityEnumType || (exports.MessagePriorityEnumType = MessagePriorityEnumType = {})); /** * Message_ Info. State. Message_ State_ Code * urn:x-enexis:ecdm:uid:1:569254 * During what state should this message be shown. When omitted this message should be shown in any state of the Charging Station. * */ var MessageStateEnumType; (function (MessageStateEnumType) { MessageStateEnumType["Charging"] = "Charging"; MessageStateEnumType["Faulted"] = "Faulted"; MessageStateEnumType["Idle"] = "Idle"; MessageStateEnumType["Unavailable"] = "Unavailable"; })(MessageStateEnumType || (exports.MessageStateEnumType = MessageStateEnumType = {})); /** * Reason the Charging Station sends this message to the CSMS * */ var TriggerReasonEnumType; (function (TriggerReasonEnumType) { TriggerReasonEnumType["Authorized"] = "Authorized"; TriggerReasonEnumType["CablePluggedIn"] = "CablePluggedIn"; TriggerReasonEnumType["ChargingRateChanged"] = "ChargingRateChanged"; TriggerReasonEnumType["ChargingStateChanged"] = "ChargingStateChanged"; TriggerReasonEnumType["Deauthorized"] = "Deauthorized"; TriggerReasonEnumType["EnergyLimitReached"] = "EnergyLimitReached"; TriggerReasonEnumType["EVCommunicationLost"] = "EVCommunicationLost"; TriggerReasonEnumType["EVConnectTimeout"] = "EVConnectTimeout"; TriggerReasonEnumType["MeterValueClock"] = "MeterValueClock"; TriggerReasonEnumType["MeterValuePeriodic"] = "MeterValuePeriodic"; TriggerReasonEnumType["TimeLimitReached"] = "TimeLimitReached"; TriggerReasonEnumType["Trigger"] = "Trigger"; TriggerReasonEnumType["UnlockCommand"] = "UnlockCommand"; TriggerReasonEnumType["StopAuthorized"] = "StopAuthorized"; TriggerReasonEnumType["EVDeparted"] = "EVDeparted"; TriggerReasonEnumType["EVDetected"] = "EVDetected"; TriggerReasonEnumType["RemoteStop"] = "RemoteStop"; TriggerReasonEnumType["RemoteStart"] = "RemoteStart"; TriggerReasonEnumType["AbnormalCondition"] = "AbnormalCondition"; TriggerReasonEnumType["SignedDataReceived"] = "SignedDataReceived"; TriggerReasonEnumType["ResetCommand"] = "ResetCommand"; })(TriggerReasonEnumType || (exports.TriggerReasonEnumType = TriggerReasonEnumType = {})); /** * Result of operation. * */ var SetNetworkProfileStatusEnumType; (function (SetNetworkProfileStatusEnumType) { SetNetworkProfileStatusEnumType["Accepted"] = "Accepted"; SetNetworkProfileStatusEnumType["Rejected"] = "Rejected"; SetNetworkProfileStatusEnumType["Failed"] = "Failed"; })(SetNetworkProfileStatusEnumType || (exports.SetNetworkProfileStatusEnumType = SetNetworkProfileStatusEnumType = {})); /** * Result of the clear request for this monitor, identified by its Id. * * */ var ClearMonitoringStatusEnumType; (function (ClearMonitoringStatusEnumType) { ClearMonitoringStatusEnumType["Accepted"] = "Accepted"; ClearMonitoringStatusEnumType["Rejected"] = "Rejected"; ClearMonitoringStatusEnumType["NotFound"] = "NotFound"; })(ClearMonitoringStatusEnumType || (exports.ClearMonitoringStatusEnumType = ClearMonitoringStatusEnumType = {})); /** * Result status of getting the variable. * * */ var GetVariableStatusEnumType; (function (GetVariableStatusEnumType) { GetVariableStatusEnumType["Accepted"] = "Accepted"; GetVariableStatusEnumType["Rejected"] = "Rejected"; GetVariableStatusEnumType["UnknownComponent"] = "UnknownComponent"; GetVariableStatusEnumType["UnknownVariable"] = "UnknownVariable"; GetVariableStatusEnumType["NotSupportedAttributeType"] = "NotSupportedAttributeType"; })(GetVariableStatusEnumType || (exports.GetVariableStatusEnumType = GetVariableStatusEnumType = {})); /** * Result status of setting the variable. * */ var SetVariableStatusEnumType; (function (SetVariableStatusEnumType) { SetVariableStatusEnumType["Accepted"] = "Accepted"; SetVariableStatusEnumType["Rejected"] = "Rejected"; SetVariableStatusEnumType["UnknownComponent"] = "UnknownComponent"; SetVariableStatusEnumType["UnknownVariable"] = "UnknownVariable"; SetVariableStatusEnumType["NotSupportedAttributeType"] = "NotSupportedAttributeType"; SetVariableStatusEnumType["RebootRequired"] = "RebootRequired"; })(SetVariableStatusEnumType || (exports.SetVariableStatusEnumType = SetVariableStatusEnumType = {})); /** * Returns whether certificate signing has been accepted, otherwise rejected. * */ var CertificateSignedStatusEnumType; (function (CertificateSignedStatusEnumType) { CertificateSignedStatusEnumType["Accepted"] = "Accepted"; CertificateSignedStatusEnumType["Rejected"] = "Rejected"; })(CertificateSignedStatusEnumType || (exports.CertificateSignedStatusEnumType = CertificateSignedStatusEnumType = {})); /** * Returns whether the CSMS has been able to process the message successfully. It does not imply that the evChargingNeeds can be met with the current charging profile. * */ var NotifyEVChargingNeedsStatusEnumType; (function (NotifyEVChargingNeedsStatusEnumType) { NotifyEVChargingNeedsStatusEnumType["Accepted"] = "Accepted"; NotifyEVChargingNeedsStatusEnumType["Rejected"] = "Rejected"; NotifyEVChargingNeedsStatusEnumType["Processing"] = "Processing"; })(NotifyEVChargingNeedsStatusEnumType || (exports.NotifyEVChargingNeedsStatusEnumType = NotifyEVChargingNeedsStatusEnumType = {})); /** * Returns whether the Charging Station has been able to process the message successfully. This does not guarantee the schedule will be followed to the letter. There might be other constraints the Charging Station may need to take into account. * */ var ChargingProfileStatusEnumType; (function (ChargingProfileStatusEnumType) { ChargingProfileStatusEnumType["Accepted"] = "Accepted"; ChargingProfileStatusEnumType["Rejected"] = "Rejected"; })(ChargingProfileStatusEnumType || (exports.ChargingProfileStatusEnumType = ChargingProfileStatusEnumType = {})); /** * Returns whether the Charging Station has been able to remove the message. * */ var ClearMessageStatusEnumType; (function (ClearMessageStatusEnumType) { ClearMessageStatusEnumType["Accepted"] = "Accepted"; ClearMessageStatusEnumType["Unknown"] = "Unknown"; })(ClearMessageStatusEnumType || (exports.ClearMessageStatusEnumType = ClearMessageStatusEnumType = {})); /** * Sampled_ Value. Context. Reading_ Context_ Code * urn:x-oca:ocpp:uid:1:569261 * Type of detail value: start, end or sample. Default = "Sample.Periodic" * */ var ReadingContextEnumType; (function (ReadingContextEnumType) { ReadingContextEnumType["Interruption_Begin"] = "Interruption.Begin"; ReadingContextEnumType["Interruption_End"] = "Interruption.End"; ReadingContextEnumType["Other"] = "Other"; ReadingContextEnumType["Sample_Clock"] = "Sample.Clock"; ReadingContextEnumType["Sample_Periodic"] = "Sample.Periodic"; ReadingContextEnumType["Transaction_Begin"] = "Transaction.Begin"; ReadingContextEnumType["Transaction_End"] = "Transaction.End"; ReadingContextEnumType["Trigger"] = "Trigger"; })(ReadingContextEnumType || (exports.ReadingContextEnumType = ReadingContextEnumType = {})); /** * Sampled_ Value. Location. Location_ Code * urn:x-oca:ocpp:uid:1:569265 * Indicates where the measured value has been sampled. Default = "Outlet" * * */ var LocationEnumType; (function (LocationEnumType) { LocationEnumType["Body"] = "Body"; LocationEnumType["Cable"] = "Cable"; LocationEnumType["EV"] = "EV"; LocationEnumType["Inlet"] = "Inlet"; LocationEnumType["Outlet"] = "Outlet"; })(LocationEnumType || (exports.LocationEnumType = LocationEnumType = {})); /** * Sampled_ Value. Measurand. Measurand_ Code * urn:x-oca:ocpp:uid:1:569263 * Type of measurement. Default = "Energy.Active.Import.Register" * */ var MeasurandEnumType; (function (MeasurandEnumType) { MeasurandEnumType["Current_Export"] = "Current.Export"; MeasurandEnumType["Current_Import"] = "Current.Import"; MeasurandEnumType["Current_Offered"] = "Current.Offered"; MeasurandEnumType["Energy_Active_Export_Register"] = "Energy.Active.Export.Register"; MeasurandEnumType["Energy_Active_Import_Register"] = "Energy.Active.Import.Register"; MeasurandEnumType["Energy_Reactive_Export_Register"] = "Energy.Reactive.Export.Register"; MeasurandEnumType["Energy_Reactive_Import_Register"] = "Energy.Reactive.Import.Register"; MeasurandEnumType["Energy_Active_Export_Interval"] = "Energy.Active.Export.Interval"; MeasurandEnumType["Energy_Active_Import_Interval"] = "Energy.Active.Import.Interval"; MeasurandEnumType["Energy_Active_Net"] = "Energy.Active.Net"; MeasurandEnumType["Energy_Reactive_Export_Interval"] = "Energy.Reactive.Export.Interval"; MeasurandEnumType["Energy_Reactive_Import_Interval"] = "Energy.Reactive.Import.Interval"; MeasurandEnumType["Energy_Reactive_Net"] = "Energy.Reactive.Net"; MeasurandEnumType["Energy_Apparent_Net"] = "Energy.Apparent.Net"; MeasurandEnumType["Energy_Apparent_Import"] = "Energy.Apparent.Import"; MeasurandEnumType["Energy_Apparent_Export"] = "Energy.Apparent.Export"; MeasurandEnumType["Frequency"] = "Frequency"; MeasurandEnumType["Power_Active_Export"] = "Power.Active.Export"; MeasurandEnumType["Power_Active_Import"] = "Power.Active.Import"; MeasurandEnumType["Power_Factor"] = "Power.Factor"; MeasurandEnumType["Power_Offered"] = "Power.Offered"; MeasurandEnumType["Power_Reactive_Export"] = "Power.Reactive.Export"; MeasurandEnumType["Power_Reactive_Import"] = "Power.Reactive.Import"; MeasurandEnumType["SoC"] = "SoC"; MeasurandEnumType["Voltage"] = "Voltage"; })(MeasurandEnumType || (exports.MeasurandEnumType = MeasurandEnumType = {})); /** * Sampled_ Value. Phase. Phase_ Code * urn:x-oca:ocpp:uid:1:569264 * Indicates how the measured value is to be interpreted. For instance between L1 and neutral (L1-N) Please note that not all values of phase are applicable to all Measurands. When phase is absent, the measured value is interpreted as an overall value. * */ var PhaseEnumType; (function (PhaseEnumType) { PhaseEnumType["L1"] = "L1"; PhaseEnumType["L2"] = "L2"; PhaseEnumType["L3"] = "L3"; PhaseEnumType["N"] = "N"; PhaseEnumType["L1_N"] = "L1-N"; PhaseEnumType["L2_N"] = "L2-N"; PhaseEnumType["L3_N"] = "L3-N"; PhaseEnumType["L1_L2"] = "L1-L2"; PhaseEnumType["L2_L3"] = "L2-L3"; PhaseEnumType["L3_L1"] = "L3-L1"; })(PhaseEnumType || (exports.PhaseEnumType = PhaseEnumType = {})); /** * Source that has installed this charging profile. * */ var ChargingLimitSourceEnumType; (function (ChargingLimitSourceEnumType) { ChargingLimitSourceEnumType["EMS"] = "EMS"; ChargingLimitSourceEnumType["Other"] = "Other"; ChargingLimitSourceEnumType["SO"] = "SO"; ChargingLimitSourceEnumType["CSO"] = "CSO"; })(ChargingLimitSourceEnumType || (exports.ChargingLimitSourceEnumType = ChargingLimitSourceEnumType = {})); /** * Specifies the event notification type of the message. * * */ var EventNotificationEnumType; (function (EventNotificationEnumType) { EventNotificationEnumType["HardWiredNotification"] = "HardWiredNotification"; EventNotificationEnumType["HardWiredMonitor"] = "HardWiredMonitor"; EventNotificationEnumType["PreconfiguredMonitor"] = "PreconfiguredMonitor"; EventNotificationEnumType["CustomMonitor"] = "CustomMonitor"; })(EventNotificationEnumType || (exports.EventNotificationEnumType = EventNotificationEnumType = {})); /** * Specifies whether the CSMS can process the request. * */ var GenericStatusEnumType; (function (GenericStatusEnumType) { GenericStatusEnumType["Accepted"] = "Accepted"; GenericStatusEnumType["Rejected"] = "Rejected"; })(GenericStatusEnumType || (exports.GenericStatusEnumType = GenericStatusEnumType = {})); /** * Specify which monitoring base will be set * */ var MonitoringBaseEnumType; (function (MonitoringBaseEnumType) { MonitoringBaseEnumType["All"] = "All"; MonitoringBaseEnumType["FactoryDefault"] = "FactoryDefault"; MonitoringBaseEnumType["HardWiredOnly"] = "HardWiredOnly"; })(MonitoringBaseEnumType || (exports.MonitoringBaseEnumType = MonitoringBaseEnumType = {})); /** * Status indicating whether Charging Station accepts the request to stop a transaction. * */ var RequestStartStopStatusEnumType; (function (RequestStartStopStatusEnumType) { RequestStartStopStatusEnumType["Accepted"] = "Accepted"; RequestStartStopStatusEnumType["Rejected"] = "Rejected"; })(RequestStartStopStatusEnumType || (exports.RequestStartStopStatusEnumType = RequestStartStopStatusEnumType = {})); /** * Status is OK if a value could be returned. Otherwise this will indicate the reason why a value could not be returned. * */ var SetMonitoringStatusEnumType; (function (SetMonitoringStatusEnumType) { SetMonitoringStatusEnumType["Accepted"] = "Accepted"; SetMonitoringStatusEnumType["UnknownComponent"] = "UnknownComponent"; SetMonitoringStatusEnumType["UnknownVariable"] = "UnknownVariable"; SetMonitoringStatusEnumType["UnsupportedMonitorType"] = "UnsupportedMonitorType"; SetMonitoringStatusEnumType["Rejected"] = "Rejected"; SetMonitoringStatusEnumType["Duplicate"] = "Duplicate"; })(SetMonitoringStatusEnumType || (exports.SetMonitoringStatusEnumType = SetMonitoringStatusEnumType = {})); /** * The type of this monitor, e.g. a threshold, delta or periodic monitor. * * */ var MonitorEnumType; (function (MonitorEnumType) { MonitorEnumType["UpperThreshold"] = "UpperThreshold"; MonitorEnumType["LowerThreshold"] = "LowerThreshold"; MonitorEnumType["Delta"] = "Delta"; MonitorEnumType["Periodic"] = "Periodic"; MonitorEnumType["PeriodicClockAligned"] = "PeriodicClockAligned"; })(MonitorEnumType || (exports.MonitorEnumType = MonitorEnumType = {})); /** * The updated reservation status. * */ var ReservationUpdateStatusEnumType; (function (ReservationUpdateStatusEnumType) { ReservationUpdateStatusEnumType["Expired"] = "Expired"; ReservationUpdateStatusEnumType["Removed"] = "Removed"; })(ReservationUpdateStatusEnumType || (exports.ReservationUpdateStatusEnumType = ReservationUpdateStatusEnumType = {})); /** * This contains the current status of the Connector. * */ var ConnectorStatusEnumType; (function (ConnectorStatusEnumType) { ConnectorStatusEnumType["Available"] = "Available"; ConnectorStatusEnumType["Occupied"] = "Occupied"; ConnectorStatusEnumType["Reserved"] = "Reserved"; ConnectorStatusEnumType["Unavailable"] = "Unavailable"; ConnectorStatusEnumType["Faulted"] = "Faulted"; })(ConnectorStatusEnumType || (exports.ConnectorStatusEnumType = ConnectorStatusEnumType = {})); /** * This contains the progress status of the firmware installation. * */ var FirmwareStatusEnumType; (function (FirmwareStatusEnumType) { FirmwareStatusEnumType["Downloaded"] = "Downloaded"; FirmwareStatusEnumType["DownloadFailed"] = "DownloadFailed"; FirmwareStatusEnumType["Downloading"] = "Downloading"; FirmwareStatusEnumType["DownloadScheduled"] = "DownloadScheduled"; FirmwareStatusEnumType["DownloadPaused"] = "DownloadPaused"; FirmwareStatusEnumType["Idle"] = "Idle"; FirmwareStatusEnumType["InstallationFailed"] = "InstallationFailed"; FirmwareStatusEnumType["Installing"] = "Installing"; FirmwareStatusEnumType["Installed"] = "Installed"; FirmwareStatusEnumType["InstallRebooting"] = "InstallRebooting"; FirmwareStatusEnumType["InstallScheduled"] = "InstallScheduled"; FirmwareStatusEnumType["InstallVerificationFailed"] = "InstallVerificationFailed"; FirmwareStatusEnumType["InvalidSignature"] = "InvalidSignature"; FirmwareStatusEnumType["SignatureVerified"] = "SignatureVerified"; })(FirmwareStatusEnumType || (exports.FirmwareStatusEnumType = FirmwareStatusEnumType = {})); /** * This contains the progress status of the publishfirmware * installation. * */ var PublishFirmwareStatusEnumType; (function (PublishFirmwareStatusEnumType) { PublishFirmwareStatusEnumType["Idle"] = "Idle"; PublishFirmwareStatusEnumType["DownloadScheduled"] = "DownloadScheduled"; PublishFirmwareStatusEnumType["Downloading"] = "Downloading"; PublishFirmwareStatusEnumType["Downloaded"] = "Downloaded"; PublishFirmwareStatusEnumType["Published"] = "Published"; PublishFirmwareStatusEnumType["DownloadFailed"] = "DownloadFailed"; PublishFirmwareStatusEnumType["DownloadPaused"] = "DownloadPaused"; PublishFirmwareStatusEnumType["InvalidChecksum"] = "InvalidChecksum"; PublishFirmwareStatusEnumType["ChecksumVerified"] = "ChecksumVerified"; PublishFirmwareStatusEnumType["PublishFailed"] = "PublishFailed"; })(PublishFirmwareStatusEnumType || (exports.PublishFirmwareStatusEnumType = PublishFirmwareStatusEnumType = {})); /** * This contains the reason for sending this message to the CSMS. * */ var BootReasonEnumType; (function (BootReasonEnumType) { BootReasonEnumType["ApplicationReset"] = "ApplicationReset"; BootReasonEnumType["FirmwareUpdate"] = "FirmwareUpdate"; BootReasonEnumType["LocalReset"] = "LocalReset"; BootReasonEnumType["PowerUp"] = "PowerUp"; BootReasonEnumType["RemoteReset"] = "RemoteReset"; BootReasonEnumType["ScheduledReset"] = "ScheduledReset"; BootReasonEnumType["Triggered"] = "Triggered"; BootReasonEnumType["Unknown"] = "Unknown"; BootReasonEnumType["Watchdog"] = "Watchdog"; })(BootReasonEnumType || (exports.BootReasonEnumType = BootReasonEnumType = {})); /** * This contains the status of the log upload. * */ var UploadLogStatusEnumType; (function (UploadLogStatusEnumType) { UploadLogStatusEnumType["BadMessage"] = "BadMessage"; UploadLogStatusEnumType["Idle"] = "Idle"; UploadLogStatusEnumType["NotSupportedOperation"] = "NotSupportedOperation"; UploadLogStatusEnumType["PermissionDenied"] = "PermissionDenied"; UploadLogStatusEnumType["Uploaded"] = "Uploaded"; UploadLogStatusEnumType["UploadFailure"] = "UploadFailure"; UploadLogStatusEnumType["Uploading"] = "Uploading"; UploadLogStatusEnumType["AcceptedCanceled"] = "AcceptedCanceled"; })(UploadLogStatusEnumType || (exports.UploadLogStatusEnumType = UploadLogStatusEnumType = {})); /** * This contains the type of availability change that the Charging Station should perform. * * */ var OperationalStatusEnumType; (function (OperationalStatusEnumType) { OperationalStatusEnumType["Inoperative"] = "Inoperative"; OperationalStatusEnumType["Operative"] = "Operative"; })(OperationalStatusEnumType || (exports.OperationalStatusEnumType = OperationalStatusEnumType = {})); /** * This contains the type of log file that the Charging Station * should send. * */ var LogEnumType; (function (LogEnumType) { LogEnumType["DiagnosticsLog"] = "DiagnosticsLog"; LogEnumType["SecurityLog"] = "SecurityLog"; })(LogEnumType || (exports.LogEnumType = LogEnumType = {})); /** * This contains the type of reset that the Charging Station or EVSE should perform. * */ var ResetEnumType; (function (ResetEnumType) { ResetEnumType["Immediate"] = "Immediate"; ResetEnumType["OnIdle"] = "OnIdle"; })(ResetEnumType || (exports.ResetEnumType = ResetEnumType = {})); /** * This contains the type of this event. * The first TransactionEvent of a transaction SHALL contain: "Started" The last TransactionEvent of a transaction SHALL contain: "Ended" All others SHALL contain: "Updated" * */ var TransactionEventEnumType; (function (TransactionEventEnumType) { TransactionEventEnumType["Ended"] = "Ended"; TransactionEventEnumType["Started"] = "Started"; TransactionEventEnumType["Updated"] = "Updated"; })(TransactionEventEnumType || (exports.TransactionEventEnumType = TransactionEventEnumType = {})); /** * This contains the type of update (full or differential) of this request. * */ var UpdateEnumType; (function (UpdateEnumType) { UpdateEnumType["Differential"] = "Differential"; UpdateEnumType["Full"] = "Full"; })(UpdateEnumType || (exports.UpdateEnumType = UpdateEnumType = {})); /** * This contains whether the Charging Station has been registered * within the CSMS. * */ var RegistrationStatusEnumType; (function (RegistrationStatusEnumType) { RegistrationStatusEnumType["Accepted"] = "Accepted"; RegistrationStatusEnumType["Pending"] = "Pending"; RegistrationStatusEnumType["Rejected"] = "Rejected"; })(RegistrationStatusEnumType || (exports.RegistrationStatusEnumType = RegistrationStatusEnumType = {})); /** * This field indicates whether the Charging Station was able to accept the request. * * */ var UpdateFirmwareStatusEnumType; (function (UpdateFirmwareStatusEnumType) { UpdateFirmwareStatusEnumType["Accepted"] = "Accepted"; UpdateFirmwareStatusEnumType["Rejected"] = "Rejected"; UpdateFirmwareStatusEnumType["AcceptedCanceled"] = "AcceptedCanceled"; UpdateFirmwareStatusEnumType["InvalidCertificate"] = "InvalidCertificate"; UpdateFirmwareStatusEnumType["RevokedCertificate"] = "RevokedCertificate"; })(UpdateFirmwareStatusEnumType || (exports.UpdateFirmwareStatusEnumType = UpdateFirmwareStatusEnumType = {})); /** * This field indicates whether the Charging Station was able to accept the request. * */ var LogStatusEnumType; (function (LogStatusEnumType) { LogStatusEnumType["Accepted"] = "Accepted"; LogStatusEnumType["Rejected"] = "Rejected"; LogStatusEnumType["AcceptedCanceled"] = "AcceptedCanceled"; })(LogStatusEnumType || (exports.LogStatusEnumType = LogStatusEnumType = {})); /** * This field specifies the connector type. * */ var ConnectorEnumType; (function (ConnectorEnumType) { ConnectorEnumType["cCCS1"] = "cCCS1"; ConnectorEnumType["cCCS2"] = "cCCS2"; ConnectorEnumType["cG105"] = "cG105"; ConnectorEnumType["cTesla"] = "cTesla"; ConnectorEnumType["cType1"] = "cType1"; ConnectorEnumType["cType2"] = "cType2"; ConnectorEnumType["s309_1P_16A"] = "s309-1P-16A"; ConnectorEnumType["s309_1P_32A"] = "s309-1P-32A"; ConnectorEnumType["s309_3P_16A"] = "s309-3P-16A"; ConnectorEnumType["s309_3P_32A"] = "s309-3P-32A"; ConnectorEnumType["sBS1361"] = "sBS1361"; ConnectorEnumType["sCEE_7_7"] = "sCEE-7-7"; ConnectorEnumType["sType2"] = "sType2"; ConnectorEnumType["sType3"] = "sType3"; ConnectorEnumType["Other1PhMax16A"] = "Other1PhMax16A"; ConnectorEnumType["Other1PhOver16A"] = "Other1PhOver16A"; ConnectorEnumType["Other3Ph"] = "Other3Ph"; ConnectorEnumType["Pan"] = "Pan"; ConnectorEnumType["wInductive"] = "wInductive"; ConnectorEnumType["wResonant"] = "wResonant"; ConnectorEnumType["Undetermined"] = "Undetermined"; ConnectorEnumType["Unknown"] = "Unknown"; })(ConnectorEnumType || (exports.ConnectorEnumType = ConnectorEnumType = {})); /** * This field specifies the report base. * */ var ReportBaseEnumType; (function (ReportBaseEnumType) { ReportBaseEnumType["ConfigurationInventory"] = "ConfigurationInventory"; ReportBaseEnumType["FullInventory"] = "FullInventory"; ReportBaseEnumType["SummaryInventory"] = "SummaryInventory"; })(ReportBaseEnumType || (exports.ReportBaseEnumType = ReportBaseEnumType = {})); /** * This indicates the success or failure of the canceling of a reservation by CSMS. * */ var CancelReservationStatusEnumType; (function (CancelReservationStatusEnumType) { CancelReservationStatusEnumType["Accepted"] = "Accepted"; CancelReservationStatusEnumType["Rejected"] = "Rejected"; })(CancelReservationStatusEnumType || (exports.CancelReservationStatusEnumType = CancelReservationStatusEnumType = {})); /** * This indicates the success or failure of the data transfer. * */ var DataTransferStatusEnumType; (function (DataTransferStatusEnumType) { DataTransferStatusEnumType["Accepted"] = "Accepted"; DataTransferStatusEnumType["Rejected"] = "Rejected"; DataTransferStatusEnumType["UnknownMessageId"] = "UnknownMessageId"; DataTransferStatusEnumType["UnknownVendorId"] = "UnknownVendorId"; })(DataTransferStatusEnumType || (exports.DataTransferStatusEnumType = DataTransferStatusEnumType = {})); /** * This indicates the success or failure of the reservation. * */ var ReserveNowStatusEnumType; (function (ReserveNowStatusEnumType) { ReserveNowStatusEnumType["Accepted"] = "Accepted"; ReserveNowStatusEnumType["Faulted"] = "Faulted"; ReserveNowStatusEnumType["Occupied"] = "Occupied"; ReserveNowStatusEnumType["Rejected"] = "Rejected"; ReserveNowStatusEnumType["Unavailable"] = "Unavailable"; })(ReserveNowStatusEnumType || (exports.ReserveNowStatusEnumType = ReserveNowStatusEnumType = {})); /** * This indicates whether the Charging Station has successfully received and applied the update of the Local Authorization List. * */ var SendLocalListStatusEnumType; (function (SendLocalListStatusEnumType) { SendLocalListStatusEnumType["Accepted"] = "Accepted"; SendLocalListStatusEnumType["Failed"] = "Failed"; SendLocalListStatusEnumType["VersionMismatch"] = "VersionMismatch"; })(SendLocalListStatusEnumType || (exports.SendLocalListStatusEnumType = SendLocalListStatusEnumType = {})); /** * This indicates whether the Charging Station has unlocked the connector. * */ var UnlockStatusEnumType; (function (UnlockStatusEnumType) { UnlockStatusEnumType["Unlocked"] = "Unlocked"; UnlockStatusEnumType["UnlockFailed"] = "UnlockFailed"; UnlockStatusEnumType["OngoingAuthorizedTransaction"] = "OngoingAuthorizedTransaction"; UnlockStatusEnumType["UnknownConnector"] = "UnknownConnector"; })(UnlockStatusEnumType || (exports.UnlockStatusEnumType = UnlockStatusEnumType = {})); /** * This indicates whether the Charging Station is able to display the message. * */ var DisplayMessageStatusEnumType; (function (DisplayMessageStatusEnumType) { DisplayMessageStatusEnumType["Accepted"] = "Accepted"; DisplayMessageStatusEnumType["NotSupportedMessageFormat"] = "NotSupportedMessageFormat"; DisplayMessageStatusEnumType["Rejected"] = "Rejected"; DisplayMessageStatusEnumType["NotSupportedPriority"] = "NotSupportedPriority"; DisplayMessageStatusEnumType["NotSupportedState"] = "NotSupportedState"; DisplayMessageStatusEnumType["UnknownTransaction"] = "UnknownTransaction"; })(DisplayMessageStatusEnumType || (exports.DisplayMessageStatusEnumType = DisplayMessageStatusEnumType = {})); /** * This indicates whether the Charging Station is able to perform the availability change. * */ var ChangeAvailabilityStatusEnumType; (function (ChangeAvailabilityStatusEnumType) { ChangeAvailabilityStatusEnumType["Accepted"] = "Accepted"; ChangeAvailabilityStatusEnumType["Rejected"] = "Rejected"; ChangeAvailabilityStatusEnumType["Scheduled"] = "Scheduled"; })(ChangeAvailabilityStatusEnumType || (exports.ChangeAvailabilityStatusEnumType = ChangeAvailabilityStatusEnumType = {})); /** * This indicates whether the Charging Station is able to perform the reset. * */ var ResetStatusEnumType; (function (ResetStatusEnumType) { ResetStatusEnumType["Accepted"] = "Accepted"; ResetStatusEnumType["Rejected"] = "Rejected"; ResetStatusEnumType["Scheduled"] = "Scheduled"; })(ResetStatusEnumType || (exports.ResetStatusEnumType = ResetStatusEnumType = {})); /** * This indicates whether the Charging Station is able to process this request and will send <<reportchargingprofilesrequest, ReportChargingProfilesRequest>> messages. * */ var GetChargingProfileStatusEnumType; (function (GetChargingProfileStatusEnumType) { GetChargingProfileStatusEnumType["Accepted"] = "Accepted"; GetChargingProfileStatusEnumType["NoProfiles"] = "NoProfiles"; })(GetChargingProfileStatusEnumType || (exports.GetChargingProfileStatusEnumType = GetChargingProfileStatusEnumType = {})); /** * This indicates whether the charging station was able to retrieve the OCSP certificate status. * */ var GetCertificateStatusEnumType; (function (GetCertificateStatusEnumType) { GetCertificateStatusEnumType["Accepted"] = "Accepted"; GetCertificateStatusEnumType["Failed"] = "Failed"; })(GetCertificateStatusEnumType || (exports.GetCertificateStatusEnumType = GetCertificateStatusEnumType = {})); /** * Transaction. State. Transaction_ State_ Code * urn:x-oca:ocpp:uid:1:569419 * Current charging state, is required when state * has changed. * */ var ChargingStateEnumType; (function (ChargingStateEnumType) { ChargingStateEnumType["Charging"] = "Charging"; ChargingStateEnumType["EVConnected"] = "EVConnected"; ChargingStateEnumType["SuspendedEV"] = "SuspendedEV"; ChargingStateEnumType["SuspendedEVSE"] = "SuspendedEVSE"; ChargingStateEnumType["Idle"] = "Idle"; })(ChargingStateEnumType || (exports.ChargingStateEnumType = ChargingStateEnumType = {})); /** * Transaction. Stopped_ Reason. EOT_ Reason_ Code * urn:x-oca:ocpp:uid:1:569413 * This contains the reason why the transaction was stopped. MAY only be omitted when Reason is "Local". * */ var ReasonEnumType; (function (ReasonEnumType) { ReasonEnumType["DeAuthorized"] = "DeAuthorized"; ReasonEnumType["EmergencyStop"] = "EmergencyStop"; ReasonEnumType["EnergyLimitReached"] = "EnergyLimitReached"; ReasonEnumType["EVDisconnected"] = "EVDisconnected"; ReasonEnumType["GroundFault"] = "GroundFault"; ReasonEnumType["ImmediateReset"] = "ImmediateReset"; ReasonEnumType["Local"] = "Local"; ReasonEnumType["LocalOutOfCredit"] = "LocalOutOfCredit"; ReasonEnumType["MasterPass"] = "MasterPass"; ReasonEnumType["Other"] = "Other"; ReasonEnumType["OvercurrentFault"] = "OvercurrentFault"; ReasonEnumType["PowerLoss"] = "PowerLoss"; ReasonEnumType["PowerQuality"] = "PowerQuality"; ReasonEnumType["Reboot"] = "Reboot"; ReasonEnumType["Remote"] = "Remote"; ReasonEnumType["SOCLimitReached"] = "SOCLimitReached"; ReasonEnumType["StoppedBy