"logform": "^2.6.1",
"mnemonist": "0.40.0-rc1",
"mongodb": "^6.8.0",
- "poolifier": "^4.2.3",
+ "poolifier": "^4.2.5",
"rambda": "^9.3.0",
"tar": "^7.4.3",
"winston": "^3.14.2",
"glob": "^11.0.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
- "neostandard": "^0.11.3",
+ "neostandard": "^0.11.4",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"semver": "^7.6.3",
"ts-node": "^10.9.2",
- "tsx": "^4.17.0",
+ "tsx": "^4.18.0",
"typescript": "~5.5.4"
}
}
specifier: ^6.8.0
version: 6.8.0(socks@2.8.3)
poolifier:
- specifier: ^4.2.3
- version: 4.2.3
+ specifier: ^4.2.5
+ version: 4.2.5
rambda:
specifier: ^9.3.0
version: 9.3.0
specifier: ^15.2.9
version: 15.2.9
neostandard:
- specifier: ^0.11.3
- version: 0.11.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)
+ specifier: ^0.11.4
+ version: 0.11.4(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)
prettier:
specifier: ^3.3.3
version: 3.3.3
specifier: ^10.9.2
version: 10.9.2(@types/node@22.5.0)(typescript@5.5.4)
tsx:
- specifier: ^4.17.0
- version: 4.17.0
+ specifier: ^4.18.0
+ version: 4.18.0
typescript:
specifier: ~5.5.4
version: 5.5.4
'@types/conventional-commits-parser@5.0.0':
resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==}
- '@types/eslint@9.6.0':
- resolution: {integrity: sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==}
+ '@types/eslint@9.6.1':
+ resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
'@types/estree@1.0.5':
resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}
resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
engines: {node: '>= 0.6'}
- neostandard@0.11.3:
- resolution: {integrity: sha512-ZDzt9wBIUnIr6ktvHDx81QgqmiIWHVmhrw/edv+AuhJlfkxrqxkzf+f8nksX1SSU8V5VDqGvfTj/F3UwyYF4+Q==}
+ neostandard@0.11.4:
+ resolution: {integrity: sha512-rBdlVeUdM0NhBc2S7Vr/l98Y/FTYY+YGdOqSgv60HzP3LF7ruX9Mceur4Nc/qkXf7UT1IOjofLS7OSLAObPi2A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true
peerDependencies:
resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==}
engines: {node: '>=8'}
- poolifier@4.2.3:
- resolution: {integrity: sha512-JF3gPzuugRLKlfyQ+vjtxviMr5AyarCAnWYT/g00NAL5Djb5oviCIvb0+eECWQ15QX0QBwcqaxrqB89Dr+pP3Q==}
+ poolifier@4.2.5:
+ resolution: {integrity: sha512-z3RLgTBZurCJo8pOJSxxnO4usZG6mIYGNd+TP7amhFSljVdTuc5jWWmHL6i66GUSDtb0CX8CvQ0EfIgtqZNgeg==}
engines: {node: '>=18.0.0', pnpm: '>=9.0.0'}
possible-typed-array-names@1.0.0:
tslib@2.7.0:
resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==}
- tsx@4.17.0:
- resolution: {integrity: sha512-eN4mnDA5UMKDt4YZixo9tBioibaMBpoxBkD+rIPAjVmYERSG0/dWEY1CEFuV89CgASlKL499q8AhmkMnnjtOJg==}
+ tsx@4.18.0:
+ resolution: {integrity: sha512-a1jaKBSVQkd6yEc1/NI7G6yHFfefIcuf3QJST7ZEyn4oQnxLYrZR5uZAM8UrwUa3Ge8suiZHcNS1gNrEvmobqg==}
engines: {node: '>=18.0.0'}
hasBin: true
'@stylistic/eslint-plugin-js@2.6.4(eslint@9.9.1(jiti@1.21.6))':
dependencies:
- '@types/eslint': 9.6.0
+ '@types/eslint': 9.6.1
acorn: 8.12.1
eslint: 9.9.1(jiti@1.21.6)
eslint-visitor-keys: 4.0.0
'@stylistic/eslint-plugin-jsx@2.6.4(eslint@9.9.1(jiti@1.21.6))':
dependencies:
'@stylistic/eslint-plugin-js': 2.6.4(eslint@9.9.1(jiti@1.21.6))
- '@types/eslint': 9.6.0
+ '@types/eslint': 9.6.1
eslint: 9.9.1(jiti@1.21.6)
eslint-visitor-keys: 4.0.0
espree: 10.1.0
'@stylistic/eslint-plugin-plus@2.6.4(eslint@9.9.1(jiti@1.21.6))':
dependencies:
- '@types/eslint': 9.6.0
+ '@types/eslint': 9.6.1
eslint: 9.9.1(jiti@1.21.6)
'@stylistic/eslint-plugin-ts@2.6.4(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)':
dependencies:
'@stylistic/eslint-plugin-js': 2.6.4(eslint@9.9.1(jiti@1.21.6))
- '@types/eslint': 9.6.0
+ '@types/eslint': 9.6.1
'@typescript-eslint/utils': 8.2.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)
eslint: 9.9.1(jiti@1.21.6)
transitivePeerDependencies:
'@stylistic/eslint-plugin-jsx': 2.6.4(eslint@9.9.1(jiti@1.21.6))
'@stylistic/eslint-plugin-plus': 2.6.4(eslint@9.9.1(jiti@1.21.6))
'@stylistic/eslint-plugin-ts': 2.6.4(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)
- '@types/eslint': 9.6.0
+ '@types/eslint': 9.6.1
eslint: 9.9.1(jiti@1.21.6)
transitivePeerDependencies:
- supports-color
dependencies:
'@types/node': 22.5.0
- '@types/eslint@9.6.0':
+ '@types/eslint@9.6.1':
dependencies:
'@types/estree': 1.0.5
'@types/json-schema': 7.0.15
negotiator@0.6.3:
optional: true
- neostandard@0.11.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4):
+ neostandard@0.11.4(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4):
dependencies:
'@humanwhocodes/gitignore-to-minimatch': 1.0.2
'@stylistic/eslint-plugin': 2.6.4(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)
- '@types/eslint': 9.6.0
+ '@types/eslint': 9.6.1
eslint: 9.9.1(jiti@1.21.6)
eslint-plugin-n: 17.10.2(eslint@9.9.1(jiti@1.21.6))
eslint-plugin-promise: 7.1.0(eslint@9.9.1(jiti@1.21.6))
dependencies:
find-up: 3.0.0
- poolifier@4.2.3: {}
+ poolifier@4.2.5: {}
possible-typed-array-names@1.0.0: {}
tslib@2.7.0: {}
- tsx@4.17.0:
+ tsx@4.18.0:
dependencies:
esbuild: 0.23.1
get-tsconfig: 4.7.6
duplicateChargingStationTemplateUrls = 2,
noChargingStationTemplates = 3,
// eslint-disable-next-line perfectionist/sort-enums
- gracefulShutdownError = 4
+ gracefulShutdownError = 4,
}
export class Bootstrap extends EventEmitter {
enum CacheType {
chargingStationConfiguration = 'chargingStationConfiguration',
- chargingStationTemplate = 'chargingStationTemplate'
+ chargingStationTemplate = 'chargingStationTemplate',
}
type CacheValueType = ChargingStationConfiguration | ChargingStationTemplate
GET = 'GET',
PATCH = 'PATCH',
POST = 'POST',
- PUT = 'PUT'
+ PUT = 'PUT',
}
export class UIHttpServer extends AbstractUIServer {
export enum IdTagDistribution {
CONNECTOR_AFFINITY = 'connector-affinity',
RANDOM = 'random',
- ROUND_ROBIN = 'round-robin'
+ ROUND_ROBIN = 'round-robin',
}
export interface AutomaticTransactionGeneratorConfiguration extends JsonObject {
rejected = 'rejected',
started = 'started',
stopped = 'stopped',
- updated = 'updated'
+ updated = 'updated',
}
export enum CurrentType {
AC = 'AC',
- DC = 'DC'
+ DC = 'DC',
}
export enum PowerUnits {
KILO_WATT = 'kW',
- WATT = 'W'
+ WATT = 'W',
}
export enum AmpereUnits {
AMPERE = 'A',
CENTI_AMPERE = 'cA',
DECI_AMPERE = 'dA',
- MILLI_AMPERE = 'mA'
+ MILLI_AMPERE = 'mA',
}
export enum Voltage {
VOLTAGE_110 = 110,
VOLTAGE_230 = 230,
VOLTAGE_400 = 400,
- VOLTAGE_800 = 800
+ VOLTAGE_800 = 800,
}
export type WsOptions = ClientOptions & ClientRequestArgs
ManufacturerRootCertificate = 'ManufacturerRootCertificate',
MORootCertificate = 'MORootCertificate',
V2GCertificate = 'V2GCertificate',
- V2GRootCertificate = 'V2GRootCertificate'
+ V2GRootCertificate = 'V2GRootCertificate',
}
export interface ChargingStationTemplate {
}
enum ChargingStationMessageEvents {
- performanceStatistics = 'performanceStatistics'
+ performanceStatistics = 'performanceStatistics',
}
export const ChargingStationWorkerMessageEvents = {
log = 'log',
performanceStorage = 'performanceStorage',
uiServer = 'uiServer',
- worker = 'worker'
+ worker = 'worker',
}
export enum SupervisionUrlDistribution {
CHARGING_STATION_AFFINITY = 'charging-station-affinity',
RANDOM = 'random',
- ROUND_ROBIN = 'round-robin'
+ ROUND_ROBIN = 'round-robin',
}
export interface StationTemplateUrl {
export enum ApplicationProtocolVersion {
VERSION_11 = '1.1',
- VERSION_20 = '2.0'
+ VERSION_20 = '2.0',
}
export interface UIServerConfiguration {
ChargingStationTemplate = 'charging station template',
Configuration = 'configuration',
JsonSchema = 'json schema',
- PerformanceRecords = 'performance records'
+ PerformanceRecords = 'performance records',
}
export enum MapStringifyFormat {
array = 'array',
- object = 'object'
+ object = 'object',
}
MONGO_DB = 'mongodb',
MYSQL = 'mysql',
NONE = 'none',
- SQLITE = 'sqlite'
+ SQLITE = 'sqlite',
}
export enum DBName {
MARIA_DB = 'MariaDB',
MONGO_DB = 'MongoDB',
MYSQL = 'MySQL',
- SQLITE = 'SQLite'
+ SQLITE = 'SQLite',
}
import type { BroadcastChannelResponsePayload } from './WorkerBroadcastChannel.js'
export enum Protocol {
- UI = 'ui'
+ UI = 'ui',
}
export enum ApplicationProtocol {
HTTP = 'http',
- WS = 'ws'
+ WS = 'ws',
}
export enum AuthenticationType {
BASIC_AUTH = 'basic-auth',
- PROTOCOL_BASIC_AUTH = 'protocol-basic-auth'
+ PROTOCOL_BASIC_AUTH = 'protocol-basic-auth',
}
export enum ProtocolVersion {
- '0.0.1' = '0.0.1'
+ '0.0.1' = '0.0.1',
}
export type ProtocolRequest = [
STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
STOP_CHARGING_STATION = 'stopChargingStation',
STOP_SIMULATOR = 'stopSimulator',
- STOP_TRANSACTION = 'stopTransaction'
+ STOP_TRANSACTION = 'stopTransaction',
}
export interface RequestPayload extends JsonObject {
export enum ResponseStatus {
FAILURE = 'failure',
- SUCCESS = 'success'
+ SUCCESS = 'success',
}
export interface ResponsePayload extends JsonObject {
CLOSE_SERVICE_RESTART = 1012,
CLOSE_TRY_AGAIN_LATER = 1013,
CLOSE_BAD_GATEWAY = 1014,
- CLOSE_TLS_HANDSHAKE = 1015
+ CLOSE_TLS_HANDSHAKE = 1015,
}
export interface WSError extends Error {
STATUS_NOTIFICATION = 'statusNotification',
STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
STOP_CHARGING_STATION = 'stopChargingStation',
- STOP_TRANSACTION = 'stopTransaction'
+ STOP_TRANSACTION = 'stopTransaction',
}
export interface BroadcastChannelRequestPayload extends RequestPayload {
READER_FAILURE = 'ReaderFailure',
RESET_FAILURE = 'ResetFailure',
UNDER_VOLTAGE = 'UnderVoltage',
- WEAK_SIGNAL = 'WeakSignal'
+ WEAK_SIGNAL = 'WeakSignal',
}
Reserved = 'Reserved',
SuspendedEV = 'SuspendedEV',
SuspendedEVSE = 'SuspendedEVSE',
- Unavailable = 'Unavailable'
+ Unavailable = 'Unavailable',
}
export enum OCPP16ChargingRateUnitType {
AMPERE = 'A',
- WATT = 'W'
+ WATT = 'W',
}
export enum OCPP16ChargingProfileKindType {
ABSOLUTE = 'Absolute',
RECURRING = 'Recurring',
- RELATIVE = 'Relative'
+ RELATIVE = 'Relative',
}
export enum OCPP16ChargingProfilePurposeType {
CHARGE_POINT_MAX_PROFILE = 'ChargePointMaxProfile',
TX_DEFAULT_PROFILE = 'TxDefaultProfile',
- TX_PROFILE = 'TxProfile'
+ TX_PROFILE = 'TxProfile',
}
export enum OCPP16RecurrencyKindType {
DAILY = 'Daily',
- WEEKLY = 'Weekly'
+ WEEKLY = 'Weekly',
}
LocalAuthListManagement = 'LocalAuthListManagement',
RemoteTrigger = 'RemoteTrigger',
Reservation = 'Reservation',
- SmartCharging = 'SmartCharging'
+ SmartCharging = 'SmartCharging',
}
export enum OCPP16StandardParametersKey {
TransactionMessageAttempts = 'TransactionMessageAttempts',
TransactionMessageRetryInterval = 'TransactionMessageRetryInterval',
UnlockConnectorOnEVSideDisconnect = 'UnlockConnectorOnEVSideDisconnect',
- WebSocketPingInterval = 'WebSocketPingInterval'
+ WebSocketPingInterval = 'WebSocketPingInterval',
}
export enum OCPP16VendorParametersKey {
- ConnectionUrl = 'ConnectionUrl'
+ ConnectionUrl = 'ConnectionUrl',
}
Idle = 'Idle',
Uploaded = 'Uploaded',
UploadFailed = 'UploadFailed',
- Uploading = 'Uploading'
+ Uploading = 'Uploading',
}
VOLT = 'V',
VOLT_AMP = 'VA',
WATT = 'W',
- WATT_HOUR = 'Wh'
+ WATT_HOUR = 'Wh',
}
export enum OCPP16MeterValueContext {
SAMPLE_PERIODIC = 'Sample.Periodic',
TRANSACTION_BEGIN = 'Transaction.Begin',
TRANSACTION_END = 'Transaction.End',
- TRIGGER = 'Trigger'
+ TRIGGER = 'Trigger',
}
export enum OCPP16MeterValueMeasurand {
POWER_REACTIVE_IMPORT = 'Power.Reactive.Import',
STATE_OF_CHARGE = 'SoC',
TEMPERATURE = 'Temperature',
- VOLTAGE = 'Voltage'
+ VOLTAGE = 'Voltage',
}
export enum OCPP16MeterValueLocation {
CABLE = 'Cable',
EV = 'EV',
INLET = 'Inlet',
- OUTLET = 'Outlet'
+ OUTLET = 'Outlet',
}
export enum OCPP16MeterValuePhase {
L3 = 'L3',
L3_L1 = 'L3-L1',
L3_N = 'L3-N',
- N = 'N'
+ N = 'N',
}
enum OCPP16MeterValueFormat {
RAW = 'Raw',
- SIGNED_DATA = 'SignedData'
+ SIGNED_DATA = 'SignedData',
}
export interface OCPP16SampledValue extends JsonObject {
METER_VALUES = 'MeterValues',
START_TRANSACTION = 'StartTransaction',
STATUS_NOTIFICATION = 'StatusNotification',
- STOP_TRANSACTION = 'StopTransaction'
+ STOP_TRANSACTION = 'StopTransaction',
}
export enum OCPP16IncomingRequestCommand {
SET_CHARGING_PROFILE = 'SetChargingProfile',
TRIGGER_MESSAGE = 'TriggerMessage',
UNLOCK_CONNECTOR = 'UnlockConnector',
- UPDATE_FIRMWARE = 'UpdateFirmware'
+ UPDATE_FIRMWARE = 'UpdateFirmware',
}
export type OCPP16HeartbeatRequest = EmptyObject
enum ResetType {
HARD = 'Hard',
- SOFT = 'Soft'
+ SOFT = 'Soft',
}
export interface ResetRequest extends JsonObject {
export enum OCPP16AvailabilityType {
Inoperative = 'Inoperative',
- Operative = 'Operative'
+ Operative = 'Operative',
}
export interface OCPP16ChangeAvailabilityRequest extends JsonObject {
Idle = 'Idle',
InstallationFailed = 'InstallationFailed',
Installed = 'Installed',
- Installing = 'Installing'
+ Installing = 'Installing',
}
export interface OCPP16FirmwareStatusNotificationRequest extends JsonObject {
FirmwareStatusNotification = 'FirmwareStatusNotification',
Heartbeat = 'Heartbeat',
MeterValues = 'MeterValues',
- StatusNotification = 'StatusNotification'
+ StatusNotification = 'StatusNotification',
}
export interface OCPP16TriggerMessageRequest extends JsonObject {
export enum OCPP16UnlockStatus {
NOT_SUPPORTED = 'NotSupported',
UNLOCK_FAILED = 'UnlockFailed',
- UNLOCKED = 'Unlocked'
+ UNLOCKED = 'Unlocked',
}
export interface UnlockConnectorResponse extends JsonObject {
ACCEPTED = 'Accepted',
NOT_SUPPORTED = 'NotSupported',
REBOOT_REQUIRED = 'RebootRequired',
- REJECTED = 'Rejected'
+ REJECTED = 'Rejected',
}
export interface ChangeConfigurationResponse extends JsonObject {
export enum OCPP16ChargingProfileStatus {
ACCEPTED = 'Accepted',
NOT_SUPPORTED = 'NotSupported',
- REJECTED = 'Rejected'
+ REJECTED = 'Rejected',
}
export interface OCPP16GetCompositeScheduleResponse extends JsonObject {
export enum OCPP16AvailabilityStatus {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
- SCHEDULED = 'Scheduled'
+ SCHEDULED = 'Scheduled',
}
export interface OCPP16ChangeAvailabilityResponse extends JsonObject {
export enum OCPP16ClearChargingProfileStatus {
ACCEPTED = 'Accepted',
- UNKNOWN = 'Unknown'
+ UNKNOWN = 'Unknown',
}
export interface OCPP16ClearChargingProfileResponse extends JsonObject {
export enum OCPP16TriggerMessageStatus {
ACCEPTED = 'Accepted',
NOT_IMPLEMENTED = 'NotImplemented',
- REJECTED = 'Rejected'
+ REJECTED = 'Rejected',
}
export interface OCPP16TriggerMessageResponse extends JsonObject {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
UNKNOWN_MESSAGE_ID = 'UnknownMessageId',
- UNKNOWN_VENDOR_ID = 'UnknownVendorId'
+ UNKNOWN_VENDOR_ID = 'UnknownVendorId',
}
export interface OCPP16DataTransferResponse extends JsonObject {
NOT_SUPPORTED = 'NotSupported',
OCCUPIED = 'Occupied',
REJECTED = 'Rejected',
- UNAVAILABLE = 'Unavailable'
+ UNAVAILABLE = 'Unavailable',
}
export interface OCPP16ReserveNowResponse extends JsonObject {
REBOOT = 'Reboot',
REMOTE = 'Remote',
SOFT_RESET = 'SoftReset',
- UNLOCK_COMMAND = 'UnlockCommand'
+ UNLOCK_COMMAND = 'UnlockCommand',
}
export enum OCPP16AuthorizationStatus {
BLOCKED = 'Blocked',
CONCURRENT_TX = 'ConcurrentTx',
EXPIRED = 'Expired',
- INVALID = 'Invalid'
+ INVALID = 'Invalid',
}
interface IdTagInfo extends JsonObject {
MemberList = 'MemberList',
OptionList = 'OptionList',
SequenceList = 'SequenceList',
- string = 'string'
+ string = 'string',
}
export enum BootReasonEnumType {
ScheduledReset = 'ScheduledReset',
Triggered = 'Triggered',
Unknown = 'Unknown',
- Watchdog = 'Watchdog'
+ Watchdog = 'Watchdog',
}
export enum OperationalStatusEnumType {
Inoperative = 'Inoperative',
- Operative = 'Operative'
+ Operative = 'Operative',
}
export enum OCPP20ConnectorStatusEnumType {
Faulted = 'Faulted',
Occupied = 'Occupied',
Reserved = 'Reserved',
- Unavailable = 'Unavailable'
+ Unavailable = 'Unavailable',
}
export type GenericStatusEnumType = GenericStatus
export enum HashAlgorithmEnumType {
SHA256 = 'SHA256',
SHA384 = 'SHA384',
- SHA512 = 'SHA512'
+ SHA512 = 'SHA512',
}
export enum GetCertificateIdUseEnumType {
ManufacturerRootCertificate = 'ManufacturerRootCertificate',
MORootCertificate = 'MORootCertificate',
V2GCertificateChain = 'V2GCertificateChain',
- V2GRootCertificate = 'V2GRootCertificate'
+ V2GRootCertificate = 'V2GRootCertificate',
}
export enum GetCertificateStatusEnumType {
Accepted = 'Accepted',
- Failed = 'Failed'
+ Failed = 'Failed',
}
export enum GetInstalledCertificateStatusEnumType {
Accepted = 'Accepted',
- NotFound = 'NotFound'
+ NotFound = 'NotFound',
}
export enum InstallCertificateStatusEnumType {
Accepted = 'Accepted',
Failed = 'Failed',
- Rejected = 'Rejected'
+ Rejected = 'Rejected',
}
export enum InstallCertificateUseEnumType {
CSMSRootCertificate = 'CSMSRootCertificate',
ManufacturerRootCertificate = 'ManufacturerRootCertificate',
MORootCertificate = 'MORootCertificate',
- V2GRootCertificate = 'V2GRootCertificate'
+ V2GRootCertificate = 'V2GRootCertificate',
}
export enum DeleteCertificateStatusEnumType {
Accepted = 'Accepted',
Failed = 'Failed',
- NotFound = 'NotFound'
+ NotFound = 'NotFound',
}
export enum CertificateActionEnumType {
Install = 'Install',
- Update = 'Update'
+ Update = 'Update',
}
export enum CertificateSigningUseEnumType {
ChargingStationCertificate = 'ChargingStationCertificate',
- V2GCertificate = 'V2GCertificate'
+ V2GCertificate = 'V2GCertificate',
}
export type CertificateSignedStatusEnumType = GenericStatusEnumType
export enum OCPP20RequestCommand {
BOOT_NOTIFICATION = 'BootNotification',
HEARTBEAT = 'Heartbeat',
- STATUS_NOTIFICATION = 'StatusNotification'
+ STATUS_NOTIFICATION = 'StatusNotification',
}
export enum OCPP20IncomingRequestCommand {
CLEAR_CACHE = 'ClearCache',
REQUEST_START_TRANSACTION = 'RequestStartTransaction',
- REQUEST_STOP_TRANSACTION = 'RequestStopTransaction'
+ REQUEST_STOP_TRANSACTION = 'RequestStopTransaction',
}
interface ModemType extends JsonObject {
SecurityCtrlr = 'SecurityCtrlr',
SmartChargingCtrlr = 'SmartChargingCtrlr',
TariffCostCtrlr = 'TariffCostCtrlr',
- TxCtrlr = 'TxCtrlr'
+ TxCtrlr = 'TxCtrlr',
}
export enum OCPP20RequiredVariableName {
TxStopPoint = 'TxStopPoint',
TxUpdatedInterval = 'TxUpdatedInterval',
TxUpdatedMeasurands = 'TxUpdatedMeasurands',
- UnlockOnEVSideDisconnect = 'UnlockOnEVSideDisconnect'
+ UnlockOnEVSideDisconnect = 'UnlockOnEVSideDisconnect',
}
export enum OCPP20OptionalVariableName {
HeartbeatInterval = 'HeartbeatInterval',
- WebSocketPingInterval = 'WebSocketPingInterval'
+ WebSocketPingInterval = 'WebSocketPingInterval',
}
export enum OCPP20VendorVariableName {
- ConnectionUrl = 'ConnectionUrl'
+ ConnectionUrl = 'ConnectionUrl',
}
enum AttributeEnumType {
Actual = 'Actual',
MaxSet = 'MaxSet',
MinSet = 'MinSet',
- Target = 'Target'
+ Target = 'Target',
}
interface ComponentType extends JsonObject {
RebootRequired = 'RebootRequired',
Rejected = 'Rejected',
UnknownComponent = 'UnknownComponent',
- UnknownVariable = 'UnknownVariable'
+ UnknownVariable = 'UnknownVariable',
}
export interface OCPP20SetVariableResultType extends JsonObject {
export enum GenericStatus {
Accepted = 'Accepted',
- Rejected = 'Rejected'
+ Rejected = 'Rejected',
}
export interface GenericResponse extends JsonObject {
export enum RegistrationStatusEnumType {
ACCEPTED = 'Accepted',
PENDING = 'Pending',
- REJECTED = 'Rejected'
+ REJECTED = 'Rejected',
}
STR = 'STR',
TRS = 'TRS',
TSR = 'TSR',
- Unknown = 'Unknown'
+ Unknown = 'Unknown',
}
export type ConfigurationKeyType = StandardParametersKey | string | VendorParametersKey
// During the processing of Action a security issue occurred preventing receiver from completing the Action successfully
SECURITY_ERROR = 'SecurityError',
// Payload for Action is syntactically correct but at least one of the fields violates data type constraints (e.g. "somestring" = 12)
- TYPE_CONSTRAINT_VIOLATION = 'TypeConstraintViolation'
+ TYPE_CONSTRAINT_VIOLATION = 'TypeConstraintViolation',
}
CALL_MESSAGE = 2, // Caller to Callee
CALL_RESULT_MESSAGE = 3, // Callee to Caller
// eslint-disable-next-line perfectionist/sort-enums
- CALL_ERROR_MESSAGE = 4 // Callee to Caller
+ CALL_ERROR_MESSAGE = 4, // Callee to Caller
}
export enum OCPPProtocol {
- JSON = 'json'
+ JSON = 'json',
}
export enum OCPPVersion {
VERSION_16 = '1.6',
VERSION_20 = '2.0',
- VERSION_201 = '2.0.1'
+ VERSION_201 = '2.0.1',
}
EXPIRED = 'Expired',
REPLACE_EXISTING = 'ReplaceExisting',
RESERVATION_CANCELED = 'ReservationCanceled',
- TRANSACTION_STARTED = 'TransactionStarted'
+ TRANSACTION_STARTED = 'TransactionStarted',
}
export enum AsyncLockType {
configuration = 'configuration',
- performance = 'performance'
+ performance = 'performance',
}
type ResolveType = (value: PromiseLike<void> | void) => void
export enum OutputFormat {
configuration = 'configuration',
- worker = 'worker'
+ worker = 'worker',
}
export const buildEvsesStatus = (
/** @experimental */
dynamicPool = 'dynamicPool',
fixedPool = 'fixedPool',
- workerSet = 'workerSet'
+ workerSet = 'workerSet',
}
export interface SetInfo {
elementError = 'elementError',
error = 'error',
started = 'started',
- stopped = 'stopped'
+ stopped = 'stopped',
}
export const WorkerEvents = {
export enum WorkerMessageEvents {
addedWorkerElement = 'addedWorkerElement',
addWorkerElement = 'addWorkerElement',
- workerElementError = 'workerElementError'
+ workerElementError = 'workerElementError',
}
export enum IdTagDistribution {
CONNECTOR_AFFINITY = 'connector-affinity',
RANDOM = 'random',
- ROUND_ROBIN = 'round-robin'
+ ROUND_ROBIN = 'round-robin',
}
export interface AutomaticTransactionGeneratorConfiguration extends JsonObject {
Idle = 'Idle',
InstallationFailed = 'InstallationFailed',
Installed = 'Installed',
- Installing = 'Installing'
+ Installing = 'Installing',
}
export interface FirmwareUpgrade extends JsonObject {
RESET = 'Reset',
SET_CHARGING_PROFILE = 'SetChargingProfile',
TRIGGER_MESSAGE = 'TriggerMessage',
- UNLOCK_CONNECTOR = 'UnlockConnector'
+ UNLOCK_CONNECTOR = 'UnlockConnector',
}
export const IncomingRequestCommand = {
METER_VALUES = 'MeterValues',
START_TRANSACTION = 'StartTransaction',
STATUS_NOTIFICATION = 'StatusNotification',
- STOP_TRANSACTION = 'StopTransaction'
+ STOP_TRANSACTION = 'StopTransaction',
}
export const RequestCommand = {
export enum OCPP16RegistrationStatus {
ACCEPTED = 'Accepted',
PENDING = 'Pending',
- REJECTED = 'Rejected'
+ REJECTED = 'Rejected',
}
export interface OCPP16BootNotificationResponse extends JsonObject {
FirmwareStatusNotification = 'FirmwareStatusNotification',
Heartbeat = 'Heartbeat',
MeterValues = 'MeterValues',
- StatusNotification = 'StatusNotification'
+ StatusNotification = 'StatusNotification',
}
export const MessageTrigger = {
export enum OCPPVersion {
VERSION_16 = '1.6',
VERSION_20 = '2.0',
- VERSION_201 = '2.0.1'
+ VERSION_201 = '2.0.1',
}
export enum OCPPProtocol {
- JSON = 'json'
+ JSON = 'json',
}
export enum CurrentType {
AC = 'AC',
- DC = 'DC'
+ DC = 'DC',
}
export enum Voltage {
VOLTAGE_110 = 110,
VOLTAGE_230 = 230,
VOLTAGE_400 = 400,
- VOLTAGE_800 = 800
+ VOLTAGE_800 = 800,
}
export enum AmpereUnits {
AMPERE = 'A',
CENTI_AMPERE = 'cA',
DECI_AMPERE = 'dA',
- MILLI_AMPERE = 'mA'
+ MILLI_AMPERE = 'mA',
}
export interface ConnectorStatus extends JsonObject {
export enum OCPP16AvailabilityType {
INOPERATIVE = 'Inoperative',
- OPERATIVE = 'Operative'
+ OPERATIVE = 'Operative',
}
export type AvailabilityType = OCPP16AvailabilityType
RESERVED = 'Reserved',
SUSPENDED_EV = 'SuspendedEV',
SUSPENDED_EVSE = 'SuspendedEVSE',
- UNAVAILABLE = 'Unavailable'
+ UNAVAILABLE = 'Unavailable',
}
export type ChargePointStatus = OCPP16ChargePointStatus
import type { JsonObject } from './JsonType'
export enum Protocol {
- UI = 'ui'
+ UI = 'ui',
}
export enum ApplicationProtocol {
WS = 'ws',
- WSS = 'wss'
+ WSS = 'wss',
}
export enum ProtocolVersion {
- '0.0.1' = '0.0.1'
+ '0.0.1' = '0.0.1',
}
export enum AuthenticationType {
- PROTOCOL_BASIC_AUTH = 'protocol-basic-auth'
+ PROTOCOL_BASIC_AUTH = 'protocol-basic-auth',
}
export type ProtocolRequest = [
STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
STOP_CHARGING_STATION = 'stopChargingStation',
STOP_SIMULATOR = 'stopSimulator',
- STOP_TRANSACTION = 'stopTransaction'
+ STOP_TRANSACTION = 'stopTransaction',
}
export interface RequestPayload extends JsonObject {
export enum ResponseStatus {
FAILURE = 'failure',
- SUCCESS = 'success'
+ SUCCESS = 'success',
}
export interface ResponsePayload extends JsonObject {