@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.
384 lines (383 loc) • 11.6 kB
TypeScript
export declare enum AuthorizeResponseStatus {
Accepted = "Accepted",
Blocked = "Blocked",
Expired = "Expired",
Invalid = "Invalid",
ConcurrentTx = "ConcurrentTx"
}
export declare enum BootNotificationResponseStatus {
Accepted = "Accepted",
Pending = "Pending",
Rejected = "Rejected"
}
export declare enum CancelReservationResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected"
}
export declare enum ChangeAvailabilityRequestType {
Inoperative = "Inoperative",
Operative = "Operative"
}
export declare enum ChangeAvailabilityResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected",
Scheduled = "Scheduled"
}
export declare enum ChangeConfigurationResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected",
RebootRequired = "RebootRequired",
NotSupported = "NotSupported"
}
export declare enum ClearCacheResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected"
}
export declare enum ClearChargingProfileRequestChargingProfilePurpose {
ChargePointMaxProfile = "ChargePointMaxProfile",
TxDefaultProfile = "TxDefaultProfile",
TxProfile = "TxProfile"
}
export declare enum ClearChargingProfileResponseStatus {
Accepted = "Accepted",
Unknown = "Unknown"
}
export declare enum DataTransferResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected",
UnknownMessageId = "UnknownMessageId",
UnknownVendorId = "UnknownVendorId"
}
export declare enum DiagnosticsStatusNotificationRequestStatus {
Idle = "Idle",
Uploaded = "Uploaded",
UploadFailed = "UploadFailed",
Uploading = "Uploading"
}
export declare enum FirmwareStatusNotificationRequestStatus {
Downloaded = "Downloaded",
DownloadFailed = "DownloadFailed",
Downloading = "Downloading",
Idle = "Idle",
InstallationFailed = "InstallationFailed",
Installing = "Installing",
Installed = "Installed"
}
export declare enum GetCompositeScheduleRequestChargingRateUnit {
A = "A",
W = "W"
}
export declare enum GetCompositeScheduleResponseChargingRateUnit {
A = "A",
W = "W"
}
export declare enum GetCompositeScheduleResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected"
}
export declare enum MeterValuesRequestContext {
Interruption_Begin = "Interruption.Begin",
Interruption_End = "Interruption.End",
Sample_Clock = "Sample.Clock",
Sample_Periodic = "Sample.Periodic",
Transaction_Begin = "Transaction.Begin",
Transaction_End = "Transaction.End",
Trigger = "Trigger",
Other = "Other"
}
export declare enum MeterValuesRequestFormat {
Raw = "Raw",
SignedData = "SignedData"
}
export declare enum MeterValuesRequestLocation {
Cable = "Cable",
EV = "EV",
Inlet = "Inlet",
Outlet = "Outlet",
Body = "Body"
}
export declare enum MeterValuesRequestMeasurand {
Energy_Active_Export_Register = "Energy.Active.Export.Register",
Energy_Active_Import_Register = "Energy.Active.Import.Register",
Energy_Reactive_Export_Register = "Energy.Reactive.Export.Register",
Energy_Reactive_Import_Register = "Energy.Reactive.Import.Register",
Energy_Active_Export_Interval = "Energy.Active.Export.Interval",
Energy_Active_Import_Interval = "Energy.Active.Import.Interval",
Energy_Reactive_Export_Interval = "Energy.Reactive.Export.Interval",
Energy_Reactive_Import_Interval = "Energy.Reactive.Import.Interval",
Power_Active_Export = "Power.Active.Export",
Power_Active_Import = "Power.Active.Import",
Power_Offered = "Power.Offered",
Power_Reactive_Export = "Power.Reactive.Export",
Power_Reactive_Import = "Power.Reactive.Import",
Power_Factor = "Power.Factor",
Current_Import = "Current.Import",
Current_Export = "Current.Export",
Current_Offered = "Current.Offered",
Voltage = "Voltage",
Frequency = "Frequency",
Temperature = "Temperature",
SoC = "SoC",
RPM = "RPM"
}
export declare enum MeterValuesRequestPhase {
L1 = "L1",
L2 = "L2",
L3 = "L3",
N = "N",
L1_N = "L1-N",
L2_N = "L2-N",
L3_N = "L3-N",
L1_L2 = "L1-L2",
L2_L3 = "L2-L3",
L3_L1 = "L3-L1"
}
export declare enum MeterValuesRequestUnit {
Wh = "Wh",
kWh = "kWh",
varh = "varh",
kvarh = "kvarh",
W = "W",
kW = "kW",
VA = "VA",
kVA = "kVA",
var = "var",
kvar = "kvar",
A = "A",
V = "V",
K = "K",
Celcius = "Celcius",
Celsius = "Celsius",
Fahrenheit = "Fahrenheit",
Percent = "Percent"
}
export declare enum RemoteStartTransactionRequestChargingProfileKind {
Absolute = "Absolute",
Recurring = "Recurring",
Relative = "Relative"
}
export declare enum RemoteStartTransactionRequestChargingProfilePurpose {
ChargePointMaxProfile = "ChargePointMaxProfile",
TxDefaultProfile = "TxDefaultProfile",
TxProfile = "TxProfile"
}
export declare enum RemoteStartTransactionRequestChargingRateUnit {
A = "A",
W = "W"
}
export declare enum RemoteStartTransactionRequestRecurrencyKind {
Daily = "Daily",
Weekly = "Weekly"
}
export declare enum RemoteStartTransactionResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected"
}
export declare enum RemoteStopTransactionResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected"
}
export declare enum ReserveNowResponseStatus {
Accepted = "Accepted",
Faulted = "Faulted",
Occupied = "Occupied",
Rejected = "Rejected",
Unavailable = "Unavailable"
}
export declare enum ResetRequestType {
Hard = "Hard",
Soft = "Soft"
}
export declare enum ResetResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected"
}
export declare enum SendLocalListRequestStatus {
Accepted = "Accepted",
Blocked = "Blocked",
Expired = "Expired",
Invalid = "Invalid",
ConcurrentTx = "ConcurrentTx"
}
export declare enum SendLocalListRequestUpdateType {
Differential = "Differential",
Full = "Full"
}
export declare enum SendLocalListResponseStatus {
Accepted = "Accepted",
Failed = "Failed",
NotSupported = "NotSupported",
VersionMismatch = "VersionMismatch"
}
export declare enum SetChargingProfileRequestChargingProfileKind {
Absolute = "Absolute",
Recurring = "Recurring",
Relative = "Relative"
}
export declare enum SetChargingProfileRequestChargingProfilePurpose {
ChargePointMaxProfile = "ChargePointMaxProfile",
TxDefaultProfile = "TxDefaultProfile",
TxProfile = "TxProfile"
}
export declare enum SetChargingProfileRequestChargingRateUnit {
A = "A",
W = "W"
}
export declare enum SetChargingProfileRequestRecurrencyKind {
Daily = "Daily",
Weekly = "Weekly"
}
export declare enum SetChargingProfileResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected",
NotSupported = "NotSupported"
}
export declare enum StartTransactionResponseStatus {
Accepted = "Accepted",
Blocked = "Blocked",
Expired = "Expired",
Invalid = "Invalid",
ConcurrentTx = "ConcurrentTx"
}
export declare enum StatusNotificationRequestErrorCode {
ConnectorLockFailure = "ConnectorLockFailure",
EVCommunicationError = "EVCommunicationError",
GroundFailure = "GroundFailure",
HighTemperature = "HighTemperature",
InternalError = "InternalError",
LocalListConflict = "LocalListConflict",
NoError = "NoError",
OtherError = "OtherError",
OverCurrentFailure = "OverCurrentFailure",
PowerMeterFailure = "PowerMeterFailure",
PowerSwitchFailure = "PowerSwitchFailure",
ReaderFailure = "ReaderFailure",
ResetFailure = "ResetFailure",
UnderVoltage = "UnderVoltage",
OverVoltage = "OverVoltage",
WeakSignal = "WeakSignal"
}
export declare enum StatusNotificationRequestStatus {
Available = "Available",
Preparing = "Preparing",
Charging = "Charging",
SuspendedEVSE = "SuspendedEVSE",
SuspendedEV = "SuspendedEV",
Finishing = "Finishing",
Reserved = "Reserved",
Unavailable = "Unavailable",
Faulted = "Faulted"
}
export declare enum StopTransactionRequestContext {
Interruption_Begin = "Interruption.Begin",
Interruption_End = "Interruption.End",
Sample_Clock = "Sample.Clock",
Sample_Periodic = "Sample.Periodic",
Transaction_Begin = "Transaction.Begin",
Transaction_End = "Transaction.End",
Trigger = "Trigger",
Other = "Other"
}
export declare enum StopTransactionRequestFormat {
Raw = "Raw",
SignedData = "SignedData"
}
export declare enum StopTransactionRequestLocation {
Cable = "Cable",
EV = "EV",
Inlet = "Inlet",
Outlet = "Outlet",
Body = "Body"
}
export declare enum StopTransactionRequestMeasurand {
Energy_Active_Export_Register = "Energy.Active.Export.Register",
Energy_Active_Import_Register = "Energy.Active.Import.Register",
Energy_Reactive_Export_Register = "Energy.Reactive.Export.Register",
Energy_Reactive_Import_Register = "Energy.Reactive.Import.Register",
Energy_Active_Export_Interval = "Energy.Active.Export.Interval",
Energy_Active_Import_Interval = "Energy.Active.Import.Interval",
Energy_Reactive_Export_Interval = "Energy.Reactive.Export.Interval",
Energy_Reactive_Import_Interval = "Energy.Reactive.Import.Interval",
Power_Active_Export = "Power.Active.Export",
Power_Active_Import = "Power.Active.Import",
Power_Offered = "Power.Offered",
Power_Reactive_Export = "Power.Reactive.Export",
Power_Reactive_Import = "Power.Reactive.Import",
Power_Factor = "Power.Factor",
Current_Import = "Current.Import",
Current_Export = "Current.Export",
Current_Offered = "Current.Offered",
Voltage = "Voltage",
Frequency = "Frequency",
Temperature = "Temperature",
SoC = "SoC",
RPM = "RPM"
}
export declare enum StopTransactionRequestPhase {
L1 = "L1",
L2 = "L2",
L3 = "L3",
N = "N",
L1_N = "L1-N",
L2_N = "L2-N",
L3_N = "L3-N",
L1_L2 = "L1-L2",
L2_L3 = "L2-L3",
L3_L1 = "L3-L1"
}
export declare enum StopTransactionRequestReason {
EmergencyStop = "EmergencyStop",
EVDisconnected = "EVDisconnected",
HardReset = "HardReset",
Local = "Local",
Other = "Other",
PowerLoss = "PowerLoss",
Reboot = "Reboot",
Remote = "Remote",
SoftReset = "SoftReset",
UnlockCommand = "UnlockCommand",
DeAuthorized = "DeAuthorized"
}
export declare enum StopTransactionRequestUnit {
Wh = "Wh",
kWh = "kWh",
varh = "varh",
kvarh = "kvarh",
W = "W",
kW = "kW",
VA = "VA",
kVA = "kVA",
var = "var",
kvar = "kvar",
A = "A",
V = "V",
K = "K",
Celcius = "Celcius",
Fahrenheit = "Fahrenheit",
Percent = "Percent"
}
export declare enum StopTransactionResponseStatus {
Accepted = "Accepted",
Blocked = "Blocked",
Expired = "Expired",
Invalid = "Invalid",
ConcurrentTx = "ConcurrentTx"
}
export declare enum TriggerMessageRequestRequestedMessage {
BootNotification = "BootNotification",
DiagnosticsStatusNotification = "DiagnosticsStatusNotification",
FirmwareStatusNotification = "FirmwareStatusNotification",
Heartbeat = "Heartbeat",
MeterValues = "MeterValues",
StatusNotification = "StatusNotification"
}
export declare enum TriggerMessageResponseStatus {
Accepted = "Accepted",
Rejected = "Rejected",
NotImplemented = "NotImplemented"
}
export declare enum UnlockConnectorResponseStatus {
Unlocked = "Unlocked",
UnlockFailed = "UnlockFailed",
NotSupported = "NotSupported"
}