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,101 lines 47.9 kB
// Copyright 2023 S44, LLC // Copyright Contributors to the CitrineOS Project // // SPDX-License-Identifier: Apache 2.0 /** * APN. APN_ Authentication. APN_ Authentication_ Code * urn:x-oca:ocpp:uid:1:568828 * Authentication method. * */ export var APNAuthenticationEnumType; (function (APNAuthenticationEnumType) { APNAuthenticationEnumType["CHAP"] = "CHAP"; APNAuthenticationEnumType["NONE"] = "NONE"; APNAuthenticationEnumType["PAP"] = "PAP"; APNAuthenticationEnumType["AUTO"] = "AUTO"; })(APNAuthenticationEnumType || (APNAuthenticationEnumType = {})); /** * Accepted if the Charging Station has executed the request, otherwise rejected. * */ export var ClearCacheStatusEnumType; (function (ClearCacheStatusEnumType) { ClearCacheStatusEnumType["Accepted"] = "Accepted"; ClearCacheStatusEnumType["Rejected"] = "Rejected"; })(ClearCacheStatusEnumType || (ClearCacheStatusEnumType = {})); /** * Applicable Network Interface. * */ export 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 || (OCPPInterfaceEnumType = {})); /** * Certificate status information. * - if all certificates are valid: return 'Accepted'. * - if one of the certificates was revoked, return 'CertificateRevoked'. * */ export 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 || (AuthorizeCertificateStatusEnumType = {})); /** * Charging Station indicates if installation was successful. * */ export var InstallCertificateStatusEnumType; (function (InstallCertificateStatusEnumType) { InstallCertificateStatusEnumType["Accepted"] = "Accepted"; InstallCertificateStatusEnumType["Rejected"] = "Rejected"; InstallCertificateStatusEnumType["Failed"] = "Failed"; })(InstallCertificateStatusEnumType || (InstallCertificateStatusEnumType = {})); /** * Charging Station indicates if it can process the request. * */ export var DeleteCertificateStatusEnumType; (function (DeleteCertificateStatusEnumType) { DeleteCertificateStatusEnumType["Accepted"] = "Accepted"; DeleteCertificateStatusEnumType["Failed"] = "Failed"; DeleteCertificateStatusEnumType["NotFound"] = "NotFound"; })(DeleteCertificateStatusEnumType || (DeleteCertificateStatusEnumType = {})); /** * Charging Station indicates if it can process the request. * */ export var GetInstalledCertificateStatusEnumType; (function (GetInstalledCertificateStatusEnumType) { GetInstalledCertificateStatusEnumType["Accepted"] = "Accepted"; GetInstalledCertificateStatusEnumType["NotFound"] = "NotFound"; })(GetInstalledCertificateStatusEnumType || (GetInstalledCertificateStatusEnumType = {})); /** * Charging_ Needs. Requested. Energy_ Transfer_ Mode_ Code * urn:x-oca:ocpp:uid:1:569209 * Mode of energy transfer requested by the EV. * */ export 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 || (EnergyTransferModeEnumType = {})); /** * Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code * urn:x-oca:ocpp:uid:1:569232 * Indicates the kind of schedule. * */ export var ChargingProfileKindEnumType; (function (ChargingProfileKindEnumType) { ChargingProfileKindEnumType["Absolute"] = "Absolute"; ChargingProfileKindEnumType["Recurring"] = "Recurring"; ChargingProfileKindEnumType["Relative"] = "Relative"; })(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 * */ export var ChargingProfilePurposeEnumType; (function (ChargingProfilePurposeEnumType) { ChargingProfilePurposeEnumType["ChargingStationExternalConstraints"] = "ChargingStationExternalConstraints"; ChargingProfilePurposeEnumType["ChargingStationMaxProfile"] = "ChargingStationMaxProfile"; ChargingProfilePurposeEnumType["TxDefaultProfile"] = "TxDefaultProfile"; ChargingProfilePurposeEnumType["TxProfile"] = "TxProfile"; })(ChargingProfilePurposeEnumType || (ChargingProfilePurposeEnumType = {})); /** * Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code * urn:x-oca:ocpp:uid:1:569233 * Indicates the start point of a recurrence. * */ export var RecurrencyKindEnumType; (function (RecurrencyKindEnumType) { RecurrencyKindEnumType["Daily"] = "Daily"; RecurrencyKindEnumType["Weekly"] = "Weekly"; })(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. * */ export var ChargingRateUnitEnumType; (function (ChargingRateUnitEnumType) { ChargingRateUnitEnumType["W"] = "W"; ChargingRateUnitEnumType["A"] = "A"; })(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. * */ export var OCPPTransportEnumType; (function (OCPPTransportEnumType) { OCPPTransportEnumType["JSON"] = "JSON"; OCPPTransportEnumType["SOAP"] = "SOAP"; })(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. * */ export var OCPPVersionEnumType; (function (OCPPVersionEnumType) { OCPPVersionEnumType["OCPP12"] = "OCPP12"; OCPPVersionEnumType["OCPP15"] = "OCPP15"; OCPPVersionEnumType["OCPP16"] = "OCPP16"; OCPPVersionEnumType["OCPP20"] = "OCPP20"; })(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 * */ export var CostKindEnumType; (function (CostKindEnumType) { CostKindEnumType["CarbonDioxideEmission"] = "CarbonDioxideEmission"; CostKindEnumType["RelativePricePercentage"] = "RelativePricePercentage"; CostKindEnumType["RenewableGenerationPercentage"] = "RenewableGenerationPercentage"; })(CostKindEnumType || (CostKindEnumType = {})); /** * Data type of this variable. * */ export 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 || (DataEnumType = {})); /** * Defines the mutability of this attribute. Default is ReadWrite when omitted. * */ export var MutabilityEnumType; (function (MutabilityEnumType) { MutabilityEnumType["ReadOnly"] = "ReadOnly"; MutabilityEnumType["WriteOnly"] = "WriteOnly"; MutabilityEnumType["ReadWrite"] = "ReadWrite"; })(MutabilityEnumType || (MutabilityEnumType = {})); /** * Defines whether certificate needs to be installed or updated. * */ export var CertificateActionEnumType; (function (CertificateActionEnumType) { CertificateActionEnumType["Install"] = "Install"; CertificateActionEnumType["Update"] = "Update"; })(CertificateActionEnumType || (CertificateActionEnumType = {})); /** * Enumeration of possible idToken types. * */ export 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 || (IdTokenEnumType = {})); /** * ID_ Token. Status. Authorization_ Status * urn:x-oca:ocpp:uid:1:569372 * Current status of the ID Token. * */ export 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 || (AuthorizationStatusEnumType = {})); /** * Indicates if the Charging Station has Display Messages that match the request criteria in the <<getdisplaymessagesrequest,GetDisplayMessagesRequest>> * */ export var GetDisplayMessagesStatusEnumType; (function (GetDisplayMessagesStatusEnumType) { GetDisplayMessagesStatusEnumType["Accepted"] = "Accepted"; GetDisplayMessagesStatusEnumType["Unknown"] = "Unknown"; })(GetDisplayMessagesStatusEnumType || (GetDisplayMessagesStatusEnumType = {})); /** * Indicates if the Charging Station was able to execute the request. * */ export var ClearChargingProfileStatusEnumType; (function (ClearChargingProfileStatusEnumType) { ClearChargingProfileStatusEnumType["Accepted"] = "Accepted"; ClearChargingProfileStatusEnumType["Unknown"] = "Unknown"; })(ClearChargingProfileStatusEnumType || (ClearChargingProfileStatusEnumType = {})); /** * Indicates the certificate type that is sent. * */ export var InstallCertificateUseEnumType; (function (InstallCertificateUseEnumType) { InstallCertificateUseEnumType["V2GRootCertificate"] = "V2GRootCertificate"; InstallCertificateUseEnumType["MORootCertificate"] = "MORootCertificate"; InstallCertificateUseEnumType["CSMSRootCertificate"] = "CSMSRootCertificate"; InstallCertificateUseEnumType["ManufacturerRootCertificate"] = "ManufacturerRootCertificate"; })(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. * * */ export var CertificateSigningUseEnumType; (function (CertificateSigningUseEnumType) { CertificateSigningUseEnumType["ChargingStationCertificate"] = "ChargingStationCertificate"; CertificateSigningUseEnumType["V2GCertificate"] = "V2GCertificate"; })(CertificateSigningUseEnumType || (CertificateSigningUseEnumType = {})); /** * Indicates the type of the requested certificate(s). * */ export var GetCertificateIdUseEnumType; (function (GetCertificateIdUseEnumType) { GetCertificateIdUseEnumType["V2GRootCertificate"] = "V2GRootCertificate"; GetCertificateIdUseEnumType["MORootCertificate"] = "MORootCertificate"; GetCertificateIdUseEnumType["CSMSRootCertificate"] = "CSMSRootCertificate"; GetCertificateIdUseEnumType["V2GCertificateChain"] = "V2GCertificateChain"; GetCertificateIdUseEnumType["ManufacturerRootCertificate"] = "ManufacturerRootCertificate"; })(GetCertificateIdUseEnumType || (GetCertificateIdUseEnumType = {})); /** * Indicates whether the Charging Station was able to accept the request. * */ export var GenericDeviceModelStatusEnumType; (function (GenericDeviceModelStatusEnumType) { GenericDeviceModelStatusEnumType["Accepted"] = "Accepted"; GenericDeviceModelStatusEnumType["Rejected"] = "Rejected"; GenericDeviceModelStatusEnumType["NotSupported"] = "NotSupported"; GenericDeviceModelStatusEnumType["EmptyResultSet"] = "EmptyResultSet"; })(GenericDeviceModelStatusEnumType || (GenericDeviceModelStatusEnumType = {})); /** * Indicates whether the Charging Station will send the requested notification or not. * */ export var TriggerMessageStatusEnumType; (function (TriggerMessageStatusEnumType) { TriggerMessageStatusEnumType["Accepted"] = "Accepted"; TriggerMessageStatusEnumType["Rejected"] = "Rejected"; TriggerMessageStatusEnumType["NotImplemented"] = "NotImplemented"; })(TriggerMessageStatusEnumType || (TriggerMessageStatusEnumType = {})); /** * Indicates whether the Local Controller succeeded in unpublishing the firmware. * */ export var UnpublishFirmwareStatusEnumType; (function (UnpublishFirmwareStatusEnumType) { UnpublishFirmwareStatusEnumType["DownloadOngoing"] = "DownloadOngoing"; UnpublishFirmwareStatusEnumType["NoFirmware"] = "NoFirmware"; UnpublishFirmwareStatusEnumType["Unpublished"] = "Unpublished"; })(UnpublishFirmwareStatusEnumType || (UnpublishFirmwareStatusEnumType = {})); /** * Indicates whether the message was processed properly. * */ export var Iso15118EVCertificateStatusEnumType; (function (Iso15118EVCertificateStatusEnumType) { Iso15118EVCertificateStatusEnumType["Accepted"] = "Accepted"; Iso15118EVCertificateStatusEnumType["Failed"] = "Failed"; })(Iso15118EVCertificateStatusEnumType || (Iso15118EVCertificateStatusEnumType = {})); /** * Indicates whether the request was accepted. * */ export var CustomerInformationStatusEnumType; (function (CustomerInformationStatusEnumType) { CustomerInformationStatusEnumType["Accepted"] = "Accepted"; CustomerInformationStatusEnumType["Rejected"] = "Rejected"; CustomerInformationStatusEnumType["Invalid"] = "Invalid"; })(CustomerInformationStatusEnumType || (CustomerInformationStatusEnumType = {})); /** * Message_ Content. Format. Message_ Format_ Code * urn:x-enexis:ecdm:uid:1:570848 * Format of the message. * */ export var MessageFormatEnumType; (function (MessageFormatEnumType) { MessageFormatEnumType["ASCII"] = "ASCII"; MessageFormatEnumType["HTML"] = "HTML"; MessageFormatEnumType["URI"] = "URI"; MessageFormatEnumType["UTF8"] = "UTF8"; })(MessageFormatEnumType || (MessageFormatEnumType = {})); /** * Message_ Info. Priority. Message_ Priority_ Code * urn:x-enexis:ecdm:uid:1:569253 * With what priority should this message be shown * */ export var MessagePriorityEnumType; (function (MessagePriorityEnumType) { MessagePriorityEnumType["AlwaysFront"] = "AlwaysFront"; MessagePriorityEnumType["InFront"] = "InFront"; MessagePriorityEnumType["NormalCycle"] = "NormalCycle"; })(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. * */ export var MessageStateEnumType; (function (MessageStateEnumType) { MessageStateEnumType["Charging"] = "Charging"; MessageStateEnumType["Faulted"] = "Faulted"; MessageStateEnumType["Idle"] = "Idle"; MessageStateEnumType["Unavailable"] = "Unavailable"; })(MessageStateEnumType || (MessageStateEnumType = {})); /** * Reason the Charging Station sends this message to the CSMS * */ export 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 || (TriggerReasonEnumType = {})); /** * Result of operation. * */ export var SetNetworkProfileStatusEnumType; (function (SetNetworkProfileStatusEnumType) { SetNetworkProfileStatusEnumType["Accepted"] = "Accepted"; SetNetworkProfileStatusEnumType["Rejected"] = "Rejected"; SetNetworkProfileStatusEnumType["Failed"] = "Failed"; })(SetNetworkProfileStatusEnumType || (SetNetworkProfileStatusEnumType = {})); /** * Result of the clear request for this monitor, identified by its Id. * * */ export var ClearMonitoringStatusEnumType; (function (ClearMonitoringStatusEnumType) { ClearMonitoringStatusEnumType["Accepted"] = "Accepted"; ClearMonitoringStatusEnumType["Rejected"] = "Rejected"; ClearMonitoringStatusEnumType["NotFound"] = "NotFound"; })(ClearMonitoringStatusEnumType || (ClearMonitoringStatusEnumType = {})); /** * Result status of getting the variable. * * */ export var GetVariableStatusEnumType; (function (GetVariableStatusEnumType) { GetVariableStatusEnumType["Accepted"] = "Accepted"; GetVariableStatusEnumType["Rejected"] = "Rejected"; GetVariableStatusEnumType["UnknownComponent"] = "UnknownComponent"; GetVariableStatusEnumType["UnknownVariable"] = "UnknownVariable"; GetVariableStatusEnumType["NotSupportedAttributeType"] = "NotSupportedAttributeType"; })(GetVariableStatusEnumType || (GetVariableStatusEnumType = {})); /** * Result status of setting the variable. * */ export var SetVariableStatusEnumType; (function (SetVariableStatusEnumType) { SetVariableStatusEnumType["Accepted"] = "Accepted"; SetVariableStatusEnumType["Rejected"] = "Rejected"; SetVariableStatusEnumType["UnknownComponent"] = "UnknownComponent"; SetVariableStatusEnumType["UnknownVariable"] = "UnknownVariable"; SetVariableStatusEnumType["NotSupportedAttributeType"] = "NotSupportedAttributeType"; SetVariableStatusEnumType["RebootRequired"] = "RebootRequired"; })(SetVariableStatusEnumType || (SetVariableStatusEnumType = {})); /** * Returns whether certificate signing has been accepted, otherwise rejected. * */ export var CertificateSignedStatusEnumType; (function (CertificateSignedStatusEnumType) { CertificateSignedStatusEnumType["Accepted"] = "Accepted"; CertificateSignedStatusEnumType["Rejected"] = "Rejected"; })(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. * */ export var NotifyEVChargingNeedsStatusEnumType; (function (NotifyEVChargingNeedsStatusEnumType) { NotifyEVChargingNeedsStatusEnumType["Accepted"] = "Accepted"; NotifyEVChargingNeedsStatusEnumType["Rejected"] = "Rejected"; NotifyEVChargingNeedsStatusEnumType["Processing"] = "Processing"; })(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. * */ export var ChargingProfileStatusEnumType; (function (ChargingProfileStatusEnumType) { ChargingProfileStatusEnumType["Accepted"] = "Accepted"; ChargingProfileStatusEnumType["Rejected"] = "Rejected"; })(ChargingProfileStatusEnumType || (ChargingProfileStatusEnumType = {})); /** * Returns whether the Charging Station has been able to remove the message. * */ export var ClearMessageStatusEnumType; (function (ClearMessageStatusEnumType) { ClearMessageStatusEnumType["Accepted"] = "Accepted"; ClearMessageStatusEnumType["Unknown"] = "Unknown"; })(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" * */ export 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 || (ReadingContextEnumType = {})); /** * Sampled_ Value. Location. Location_ Code * urn:x-oca:ocpp:uid:1:569265 * Indicates where the measured value has been sampled. Default = "Outlet" * * */ export var LocationEnumType; (function (LocationEnumType) { LocationEnumType["Body"] = "Body"; LocationEnumType["Cable"] = "Cable"; LocationEnumType["EV"] = "EV"; LocationEnumType["Inlet"] = "Inlet"; LocationEnumType["Outlet"] = "Outlet"; })(LocationEnumType || (LocationEnumType = {})); /** * Sampled_ Value. Measurand. Measurand_ Code * urn:x-oca:ocpp:uid:1:569263 * Type of measurement. Default = "Energy.Active.Import.Register" * */ export 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 || (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. * */ export 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 || (PhaseEnumType = {})); /** * Source that has installed this charging profile. * */ export var ChargingLimitSourceEnumType; (function (ChargingLimitSourceEnumType) { ChargingLimitSourceEnumType["EMS"] = "EMS"; ChargingLimitSourceEnumType["Other"] = "Other"; ChargingLimitSourceEnumType["SO"] = "SO"; ChargingLimitSourceEnumType["CSO"] = "CSO"; })(ChargingLimitSourceEnumType || (ChargingLimitSourceEnumType = {})); /** * Specifies the event notification type of the message. * * */ export var EventNotificationEnumType; (function (EventNotificationEnumType) { EventNotificationEnumType["HardWiredNotification"] = "HardWiredNotification"; EventNotificationEnumType["HardWiredMonitor"] = "HardWiredMonitor"; EventNotificationEnumType["PreconfiguredMonitor"] = "PreconfiguredMonitor"; EventNotificationEnumType["CustomMonitor"] = "CustomMonitor"; })(EventNotificationEnumType || (EventNotificationEnumType = {})); /** * Specifies whether the CSMS can process the request. * */ export var GenericStatusEnumType; (function (GenericStatusEnumType) { GenericStatusEnumType["Accepted"] = "Accepted"; GenericStatusEnumType["Rejected"] = "Rejected"; })(GenericStatusEnumType || (GenericStatusEnumType = {})); /** * Specify which monitoring base will be set * */ export var MonitoringBaseEnumType; (function (MonitoringBaseEnumType) { MonitoringBaseEnumType["All"] = "All"; MonitoringBaseEnumType["FactoryDefault"] = "FactoryDefault"; MonitoringBaseEnumType["HardWiredOnly"] = "HardWiredOnly"; })(MonitoringBaseEnumType || (MonitoringBaseEnumType = {})); /** * Status indicating whether Charging Station accepts the request to stop a transaction. * */ export var RequestStartStopStatusEnumType; (function (RequestStartStopStatusEnumType) { RequestStartStopStatusEnumType["Accepted"] = "Accepted"; RequestStartStopStatusEnumType["Rejected"] = "Rejected"; })(RequestStartStopStatusEnumType || (RequestStartStopStatusEnumType = {})); /** * Status is OK if a value could be returned. Otherwise this will indicate the reason why a value could not be returned. * */ export var SetMonitoringStatusEnumType; (function (SetMonitoringStatusEnumType) { SetMonitoringStatusEnumType["Accepted"] = "Accepted"; SetMonitoringStatusEnumType["UnknownComponent"] = "UnknownComponent"; SetMonitoringStatusEnumType["UnknownVariable"] = "UnknownVariable"; SetMonitoringStatusEnumType["UnsupportedMonitorType"] = "UnsupportedMonitorType"; SetMonitoringStatusEnumType["Rejected"] = "Rejected"; SetMonitoringStatusEnumType["Duplicate"] = "Duplicate"; })(SetMonitoringStatusEnumType || (SetMonitoringStatusEnumType = {})); /** * The type of this monitor, e.g. a threshold, delta or periodic monitor. * * */ export var MonitorEnumType; (function (MonitorEnumType) { MonitorEnumType["UpperThreshold"] = "UpperThreshold"; MonitorEnumType["LowerThreshold"] = "LowerThreshold"; MonitorEnumType["Delta"] = "Delta"; MonitorEnumType["Periodic"] = "Periodic"; MonitorEnumType["PeriodicClockAligned"] = "PeriodicClockAligned"; })(MonitorEnumType || (MonitorEnumType = {})); /** * The updated reservation status. * */ export var ReservationUpdateStatusEnumType; (function (ReservationUpdateStatusEnumType) { ReservationUpdateStatusEnumType["Expired"] = "Expired"; ReservationUpdateStatusEnumType["Removed"] = "Removed"; })(ReservationUpdateStatusEnumType || (ReservationUpdateStatusEnumType = {})); /** * This contains the current status of the Connector. * */ export var ConnectorStatusEnumType; (function (ConnectorStatusEnumType) { ConnectorStatusEnumType["Available"] = "Available"; ConnectorStatusEnumType["Occupied"] = "Occupied"; ConnectorStatusEnumType["Reserved"] = "Reserved"; ConnectorStatusEnumType["Unavailable"] = "Unavailable"; ConnectorStatusEnumType["Faulted"] = "Faulted"; })(ConnectorStatusEnumType || (ConnectorStatusEnumType = {})); /** * This contains the progress status of the firmware installation. * */ export 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 || (FirmwareStatusEnumType = {})); /** * This contains the progress status of the publishfirmware * installation. * */ export 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 || (PublishFirmwareStatusEnumType = {})); /** * This contains the reason for sending this message to the CSMS. * */ export 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 || (BootReasonEnumType = {})); /** * This contains the status of the log upload. * */ export 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 || (UploadLogStatusEnumType = {})); /** * This contains the type of availability change that the Charging Station should perform. * * */ export var OperationalStatusEnumType; (function (OperationalStatusEnumType) { OperationalStatusEnumType["Inoperative"] = "Inoperative"; OperationalStatusEnumType["Operative"] = "Operative"; })(OperationalStatusEnumType || (OperationalStatusEnumType = {})); /** * This contains the type of log file that the Charging Station * should send. * */ export var LogEnumType; (function (LogEnumType) { LogEnumType["DiagnosticsLog"] = "DiagnosticsLog"; LogEnumType["SecurityLog"] = "SecurityLog"; })(LogEnumType || (LogEnumType = {})); /** * This contains the type of reset that the Charging Station or EVSE should perform. * */ export var ResetEnumType; (function (ResetEnumType) { ResetEnumType["Immediate"] = "Immediate"; ResetEnumType["OnIdle"] = "OnIdle"; })(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" * */ export var TransactionEventEnumType; (function (TransactionEventEnumType) { TransactionEventEnumType["Ended"] = "Ended"; TransactionEventEnumType["Started"] = "Started"; TransactionEventEnumType["Updated"] = "Updated"; })(TransactionEventEnumType || (TransactionEventEnumType = {})); /** * This contains the type of update (full or differential) of this request. * */ export var UpdateEnumType; (function (UpdateEnumType) { UpdateEnumType["Differential"] = "Differential"; UpdateEnumType["Full"] = "Full"; })(UpdateEnumType || (UpdateEnumType = {})); /** * This contains whether the Charging Station has been registered * within the CSMS. * */ export var RegistrationStatusEnumType; (function (RegistrationStatusEnumType) { RegistrationStatusEnumType["Accepted"] = "Accepted"; RegistrationStatusEnumType["Pending"] = "Pending"; RegistrationStatusEnumType["Rejected"] = "Rejected"; })(RegistrationStatusEnumType || (RegistrationStatusEnumType = {})); /** * This field indicates whether the Charging Station was able to accept the request. * * */ export var UpdateFirmwareStatusEnumType; (function (UpdateFirmwareStatusEnumType) { UpdateFirmwareStatusEnumType["Accepted"] = "Accepted"; UpdateFirmwareStatusEnumType["Rejected"] = "Rejected"; UpdateFirmwareStatusEnumType["AcceptedCanceled"] = "AcceptedCanceled"; UpdateFirmwareStatusEnumType["InvalidCertificate"] = "InvalidCertificate"; UpdateFirmwareStatusEnumType["RevokedCertificate"] = "RevokedCertificate"; })(UpdateFirmwareStatusEnumType || (UpdateFirmwareStatusEnumType = {})); /** * This field indicates whether the Charging Station was able to accept the request. * */ export var LogStatusEnumType; (function (LogStatusEnumType) { LogStatusEnumType["Accepted"] = "Accepted"; LogStatusEnumType["Rejected"] = "Rejected"; LogStatusEnumType["AcceptedCanceled"] = "AcceptedCanceled"; })(LogStatusEnumType || (LogStatusEnumType = {})); /** * This field specifies the connector type. * */ export 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 || (ConnectorEnumType = {})); /** * This field specifies the report base. * */ export var ReportBaseEnumType; (function (ReportBaseEnumType) { ReportBaseEnumType["ConfigurationInventory"] = "ConfigurationInventory"; ReportBaseEnumType["FullInventory"] = "FullInventory"; ReportBaseEnumType["SummaryInventory"] = "SummaryInventory"; })(ReportBaseEnumType || (ReportBaseEnumType = {})); /** * This indicates the success or failure of the canceling of a reservation by CSMS. * */ export var CancelReservationStatusEnumType; (function (CancelReservationStatusEnumType) { CancelReservationStatusEnumType["Accepted"] = "Accepted"; CancelReservationStatusEnumType["Rejected"] = "Rejected"; })(CancelReservationStatusEnumType || (CancelReservationStatusEnumType = {})); /** * This indicates the success or failure of the data transfer. * */ export var DataTransferStatusEnumType; (function (DataTransferStatusEnumType) { DataTransferStatusEnumType["Accepted"] = "Accepted"; DataTransferStatusEnumType["Rejected"] = "Rejected"; DataTransferStatusEnumType["UnknownMessageId"] = "UnknownMessageId"; DataTransferStatusEnumType["UnknownVendorId"] = "UnknownVendorId"; })(DataTransferStatusEnumType || (DataTransferStatusEnumType = {})); /** * This indicates the success or failure of the reservation. * */ export var ReserveNowStatusEnumType; (function (ReserveNowStatusEnumType) { ReserveNowStatusEnumType["Accepted"] = "Accepted"; ReserveNowStatusEnumType["Faulted"] = "Faulted"; ReserveNowStatusEnumType["Occupied"] = "Occupied"; ReserveNowStatusEnumType["Rejected"] = "Rejected"; ReserveNowStatusEnumType["Unavailable"] = "Unavailable"; })(ReserveNowStatusEnumType || (ReserveNowStatusEnumType = {})); /** * This indicates whether the Charging Station has successfully received and applied the update of the Local Authorization List. * */ export var SendLocalListStatusEnumType; (function (SendLocalListStatusEnumType) { SendLocalListStatusEnumType["Accepted"] = "Accepted"; SendLocalListStatusEnumType["Failed"] = "Failed"; SendLocalListStatusEnumType["VersionMismatch"] = "VersionMismatch"; })(SendLocalListStatusEnumType || (SendLocalListStatusEnumType = {})); /** * This indicates whether the Charging Station has unlocked the connector. * */ export var UnlockStatusEnumType; (function (UnlockStatusEnumType) { UnlockStatusEnumType["Unlocked"] = "Unlocked"; UnlockStatusEnumType["UnlockFailed"] = "UnlockFailed"; UnlockStatusEnumType["OngoingAuthorizedTransaction"] = "OngoingAuthorizedTransaction"; UnlockStatusEnumType["UnknownConnector"] = "UnknownConnector"; })(UnlockStatusEnumType || (UnlockStatusEnumType = {})); /** * This indicates whether the Charging Station is able to display the message. * */ export var DisplayMessageStatusEnumType; (function (DisplayMessageStatusEnumType) { DisplayMessageStatusEnumType["Accepted"] = "Accepted"; DisplayMessageStatusEnumType["NotSupportedMessageFormat"] = "NotSupportedMessageFormat"; DisplayMessageStatusEnumType["Rejected"] = "Rejected"; DisplayMessageStatusEnumType["NotSupportedPriority"] = "NotSupportedPriority"; DisplayMessageStatusEnumType["NotSupportedState"] = "NotSupportedState"; DisplayMessageStatusEnumType["UnknownTransaction"] = "UnknownTransaction"; })(DisplayMessageStatusEnumType || (DisplayMessageStatusEnumType = {})); /** * This indicates whether the Charging Station is able to perform the availability change. * */ export var ChangeAvailabilityStatusEnumType; (function (ChangeAvailabilityStatusEnumType) { ChangeAvailabilityStatusEnumType["Accepted"] = "Accepted"; ChangeAvailabilityStatusEnumType["Rejected"] = "Rejected"; ChangeAvailabilityStatusEnumType["Scheduled"] = "Scheduled"; })(ChangeAvailabilityStatusEnumType || (ChangeAvailabilityStatusEnumType = {})); /** * This indicates whether the Charging Station is able to perform the reset. * */ export var ResetStatusEnumType; (function (ResetStatusEnumType) { ResetStatusEnumType["Accepted"] = "Accepted"; ResetStatusEnumType["Rejected"] = "Rejected"; ResetStatusEnumType["Scheduled"] = "Scheduled"; })(ResetStatusEnumType || (ResetStatusEnumType = {})); /** * This indicates whether the Charging Station is able to process this request and will send <<reportchargingprofilesrequest, ReportChargingProfilesRequest>> messages. * */ export var GetChargingProfileStatusEnumType; (function (GetChargingProfileStatusEnumType) { GetChargingProfileStatusEnumType["Accepted"] = "Accepted"; GetChargingProfileStatusEnumType["NoProfiles"] = "NoProfiles"; })(GetChargingProfileStatusEnumType || (GetChargingProfileStatusEnumType = {})); /** * This indicates whether the charging station was able to retrieve the OCSP certificate status. * */ export var GetCertificateStatusEnumType; (function (GetCertificateStatusEnumType) { GetCertificateStatusEnumType["Accepted"] = "Accepted"; GetCertificateStatusEnumType["Failed"] = "Failed"; })(GetCertificateStatusEnumType || (GetCertificateStatusEnumType = {})); /** * Transaction. State. Transaction_ State_ Code * urn:x-oca:ocpp:uid:1:569419 * Current charging state, is required when state * has changed. * */ export var ChargingStateEnumType; (function (ChargingStateEnumType) { ChargingStateEnumType["Charging"] = "Charging"; ChargingStateEnumType["EVConnected"] = "EVConnected"; ChargingStateEnumType["SuspendedEV"] = "SuspendedEV"; ChargingStateEnumType["SuspendedEVSE"] = "SuspendedEVSE"; ChargingStateEnumType["Idle"] = "Idle"; })(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". * */ export 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["StoppedByEV"] = "StoppedByEV"; ReasonEnumType["TimeLimitReached"] = "TimeLimitReached"; ReasonEnumType["Timeout"] = "Timeout"; })(ReasonEnumType || (ReasonEnumType = {})); /** * Type of attribute: Actual, Target, MinSet, MaxSet. Default is Actual when omitted. * */ export var AttributeEnumType; (function (AttributeEnumType) { AttributeEnumType["Actual"] = "Actual"; AttributeEnumType["Target"] = "Target"; AttributeEnumType["MinSet"] = "MinSet"; AttributeEnumType["MaxSet"] = "MaxSet"; })(AttributeEnumType || (AttributeEnumType = {})); /** * Type of message to be triggered. * */ export var MessageTriggerEnumType; (function (MessageTriggerEnumType) { MessageTriggerEnumType["BootNotification"] = "BootNotification"; MessageTriggerEnumType["LogStatusNotification"] = "LogStatusNotification"; MessageTriggerEnumType["FirmwareStatusNotification"] = "FirmwareStatusNotification"; MessageTriggerEnumType["Heartbeat"] = "Heartbeat"; MessageTriggerEnumType["MeterValues"] = "MeterValues"; MessageTriggerEnumType["SignChargingStationCertificate"] = "SignChargingStationCertificate"; MessageTriggerEnumType["SignV2GCertificate"] = "SignV2GCertificate"; MessageTriggerEnumType["StatusNotification"] = "StatusNotification"; MessageTriggerEnumType["TransactionEvent"] = "TransactionEvent"; MessageTriggerEnumType["SignCombinedCertificate"] = "SignCombinedCertificate"; MessageTriggerEnumType["PublishFirmwareStatusNotification"] = "PublishFirmwareStatusNotification"; })(MessageTriggerEnumType || (MessageTriggerEnumType = {})); /** * Type of monitor that triggered this event, e.g. exceeding a threshold value. * * */ export var EventTriggerEnumType; (function (EventTriggerEnumType) { EventTriggerEnumType["Alerting"] = "Alerting"; EventTriggerEnumType["Delta"] = "Delta"; EventTriggerEnumType["Periodic"] = "Periodic"; })(EventTriggerEnumType || (EventTriggerEnumType = {})); /** * Used algorithms for the hashes provided. * */ export var HashAlgorithmEnumType; (function (HashAlgorithmEnumType) { HashAlgorithmEnumType["SHA256"] = "SHA256"; HashAlgorithmEnumType["SHA384"] = "SHA384"; HashAlgorithmEnumType["SHA512"] = "SHA512"; })(HashAlgorithmEnumType || (HashAlgorithmEnumType = {})); /** * VPN. Type. VPN_ Code * urn:x-oca:ocpp:uid:1:569277 * Type of VPN * */ export var VPNEnumType; (function (VPNEnumType) { VPNEnumType["IKEv2"] = "IKEv2"; VPNEnumType["IPSec"] = "IPSec"; VPNEnumType["L2TP"] = "L2TP"; VPNEnumType["PPTP"] = "PPTP"; })(VPNEnumType || (VPNEnumType = {})); export var ComponentCriterionEnumType; (function (ComponentCriterionEnumType) { ComponentCriterionEnumType["Active"] = "Active"; ComponentCriterionEnumType["Available"] = "Available"; ComponentCriterionEnumType["Enabled"] = "Enabled"; ComponentCriterionEnumType["Problem"] = "Problem"; })(ComponentCriterionEnumType || (ComponentCriterionEnumType = {})); export var MonitoringCriterionEnumType; (function (MonitoringCriterionEnumType) { MonitoringCriterionEnumType["ThresholdMonitoring"] = "ThresholdMonitoring"; MonitoringCriterionEnumType["DeltaMonitoring"] = "DeltaMonitoring"; MonitoringCriterionEnumType["PeriodicMonitoring"] = "PeriodicMonitoring"; })(MonitoringCriterionEnumType || (MonitoringCriterionEnumType = {})); //# sourceMappingURL=index.js.map