chore: switch coding style to JS standard
[e-mobility-charging-stations-simulator.git] / src / types / index.ts
CommitLineData
0ac97927 1export {
0ac97927
JB
2 ApplicationProtocol,
3 AuthenticationType,
69074173
JB
4 ProcedureName,
5 Protocol,
6 type ProtocolRequest,
7 type ProtocolRequestHandler,
8 type ProtocolResponse,
9 ProtocolVersion,
10 type RequestPayload,
11 type ResponsePayload,
66a7748d
JB
12 ResponseStatus
13} from './UIProtocol.js'
69074173 14export {
0ac97927 15 type AutomaticTransactionGeneratorConfiguration,
69074173
JB
16 type ChargingStationAutomaticTransactionGeneratorConfiguration,
17 IdTagDistribution,
66a7748d
JB
18 type Status
19} from './AutomaticTransactionGenerator.js'
20export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common.js'
69074173 21export {
0ac97927
JB
22 AvailabilityType,
23 type BootNotificationRequest,
0ac97927 24 type CachedRequest,
0ac97927 25 type DataTransferRequest,
0ac97927 26 type DiagnosticsStatusNotificationRequest,
0ac97927 27 type ErrorCallback,
0ac97927
JB
28 FirmwareStatus,
29 type FirmwareStatusNotificationRequest,
0ac97927 30 type HeartbeatRequest,
0ac97927
JB
31 type IncomingRequest,
32 IncomingRequestCommand,
33 type IncomingRequestHandler,
0ac97927 34 MessageTrigger,
0ac97927 35 type MeterValuesRequest,
69074173
JB
36 type OutgoingRequest,
37 RequestCommand,
38 type RequestParams,
39 type ResponseCallback,
40 type ResponseType,
66a7748d
JB
41 type StatusNotificationRequest
42} from './ocpp/Requests.js'
69074173
JB
43export {
44 AvailabilityStatus,
45 type BootNotificationResponse,
46 ChargingProfileStatus,
69074173 47 type ClearCacheResponse,
491dad29 48 ClearChargingProfileStatus,
69074173 49 ConfigurationStatus,
69074173 50 type DataTransferResponse,
491dad29 51 DataTransferStatus,
69074173
JB
52 type DiagnosticsStatusNotificationResponse,
53 type ErrorResponse,
54 type FirmwareStatusNotificationResponse,
69074173 55 type HeartbeatResponse,
0ac97927 56 type MeterValuesResponse,
a6ef1ece 57 ReservationStatus,
69074173
JB
58 type Response,
59 type ResponseHandler,
60 type StatusNotificationResponse,
61 TriggerMessageStatus,
66a7748d
JB
62 UnlockStatus
63} from './ocpp/Responses.js'
69074173
JB
64export {
65 AuthorizationStatus,
66 type AuthorizeRequest,
67 type AuthorizeResponse,
68 type StartTransactionRequest,
69 type StartTransactionResponse,
70 StopTransactionReason,
71 type StopTransactionRequest,
66a7748d
JB
72 type StopTransactionResponse
73} from './ocpp/Transaction.js'
74export { BootReasonEnumType, OCPP20ConnectorStatusEnumType } from './ocpp/2.0/Common.js'
69074173
JB
75export {
76 BroadcastChannelProcedureName,
77 type BroadcastChannelRequest,
78 type BroadcastChannelRequestPayload,
79 type BroadcastChannelResponse,
80 type BroadcastChannelResponsePayload,
66a7748d
JB
81 type MessageEvent
82} from './WorkerBroadcastChannel.js'
69074173 83export {
69074173 84 type ChangeConfigurationRequest,
69074173
JB
85 type GetConfigurationRequest,
86 type GetDiagnosticsRequest,
0ac97927
JB
87 OCPP16AvailabilityType,
88 type OCPP16BootNotificationRequest,
491dad29
JB
89 type OCPP16CancelReservationRequest,
90 type OCPP16ChangeAvailabilityRequest,
0ac97927 91 type OCPP16ClearCacheRequest,
41f3983a 92 type OCPP16ClearChargingProfileRequest,
0ac97927 93 type OCPP16DataTransferRequest,
0ac97927 94 OCPP16DataTransferVendorId,
0ac97927 95 type OCPP16DiagnosticsStatusNotificationRequest,
0ac97927
JB
96 OCPP16FirmwareStatus,
97 type OCPP16FirmwareStatusNotificationRequest,
41189456 98 type OCPP16GetCompositeScheduleRequest,
0ac97927 99 type OCPP16HeartbeatRequest,
0ac97927
JB
100 OCPP16IncomingRequestCommand,
101 OCPP16MessageTrigger,
69074173 102 OCPP16RequestCommand,
491dad29 103 type OCPP16ReserveNowRequest,
69074173
JB
104 type OCPP16StatusNotificationRequest,
105 type OCPP16TriggerMessageRequest,
106 type OCPP16UpdateFirmwareRequest,
107 type RemoteStartTransactionRequest,
108 type RemoteStopTransactionRequest,
109 type ResetRequest,
110 type SetChargingProfileRequest,
66a7748d
JB
111 type UnlockConnectorRequest
112} from './ocpp/1.6/Requests.js'
69074173 113export {
69074173 114 type ChangeConfigurationResponse,
69074173
JB
115 type GetConfigurationResponse,
116 type GetDiagnosticsResponse,
117 type OCPP16BootNotificationResponse,
491dad29 118 type OCPP16ChangeAvailabilityResponse,
41f3983a 119 type OCPP16ClearChargingProfileResponse,
69074173
JB
120 type OCPP16DataTransferResponse,
121 OCPP16DataTransferStatus,
122 type OCPP16DiagnosticsStatusNotificationResponse,
123 type OCPP16FirmwareStatusNotificationResponse,
124 type OCPP16GetCompositeScheduleResponse,
125 type OCPP16HeartbeatResponse,
491dad29 126 type OCPP16ReserveNowResponse,
69074173
JB
127 type OCPP16StatusNotificationResponse,
128 type OCPP16TriggerMessageResponse,
129 type OCPP16UpdateFirmwareResponse,
130 type SetChargingProfileResponse,
66a7748d
JB
131 type UnlockConnectorResponse
132} from './ocpp/1.6/Responses.js'
133export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode.js'
69074173
JB
134export {
135 type ChargingProfile,
136 ChargingProfileKindType,
137 ChargingRateUnitType,
138 type ChargingSchedulePeriod,
66a7748d
JB
139 RecurrencyKindType
140} from './ocpp/ChargingProfile.js'
69074173
JB
141export type {
142 ChargingStationConfiguration,
66a7748d
JB
143 EvseStatusConfiguration
144} from './ChargingStationConfiguration.js'
69074173
JB
145export {
146 type ChargingStationData,
147 type ChargingStationWorkerData,
148 type ChargingStationWorkerMessage,
149 type ChargingStationWorkerMessageData,
150 ChargingStationWorkerMessageEvents,
66a7748d
JB
151 type EvseStatusWorkerType
152} from './ChargingStationWorker.js'
153export type { ChargingStationInfo } from './ChargingStationInfo.js'
69074173
JB
154export type {
155 ChargingStationOcppConfiguration,
66a7748d
JB
156 ConfigurationKey
157} from './ChargingStationOcppConfiguration.js'
69074173
JB
158export {
159 AmpereUnits,
160 type ChargingStationTemplate,
161 CurrentType,
162 type FirmwareUpgrade,
163 PowerUnits,
164 Voltage,
66a7748d
JB
165 type WsOptions
166} from './ChargingStationTemplate.js'
69074173 167export {
a6080904 168 ApplicationProtocolVersion,
69074173 169 type ConfigurationData,
5d049829 170 ConfigurationSection,
65a1157a 171 type ElementsPerWorkerType,
3d48c1c1 172 type LogConfiguration,
69074173
JB
173 type StationTemplateUrl,
174 type StorageConfiguration,
175 SupervisionUrlDistribution,
176 type UIServerConfiguration,
66a7748d
JB
177 type WorkerConfiguration
178} from './ConfigurationData.js'
69074173
JB
179export {
180 type ConfigurationKeyType,
181 ConnectorPhaseRotation,
182 type OCPPConfigurationKey,
183 StandardParametersKey,
184 SupportedFeatureProfiles,
66a7748d
JB
185 VendorParametersKey
186} from './ocpp/Configuration.js'
187export type { ConnectorStatus } from './ConnectorStatus.js'
188export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum.js'
189export { DBName, type MikroOrmDbType, StorageType } from './Storage.js'
190export type { EmptyObject } from './EmptyObject.js'
191export { ErrorType } from './ocpp/ErrorType.js'
192export type { EvseTemplate, EvseStatus } from './Evse.js'
193export { FileType } from './FileType.js'
194export type { HandleErrorParams } from './Error.js'
195export type { JsonObject, JsonType } from './JsonType.js'
69074173
JB
196export type {
197 MeasurandPerPhaseSampledValueTemplates,
66a7748d
JB
198 SampledValueTemplate
199} from './MeasurandPerPhaseSampledValueTemplates.js'
200export type { MeasurandValues } from './MeasurandValues.js'
201export { MessageType } from './ocpp/MessageType.js'
69074173 202export {
41f3983a 203 type MeterValue,
69074173
JB
204 MeterValueContext,
205 MeterValueLocation,
41f3983a
JB
206 MeterValueMeasurand,
207 MeterValuePhase,
69074173 208 MeterValueUnit,
66a7748d
JB
209 type SampledValue
210} from './ocpp/MeterValues.js'
41f3983a 211export {
0ac97927 212 type OCPP16MeterValue,
41f3983a
JB
213 OCPP16MeterValueContext,
214 OCPP16MeterValueLocation,
0ac97927
JB
215 OCPP16MeterValueMeasurand,
216 OCPP16MeterValuePhase,
41f3983a 217 OCPP16MeterValueUnit,
0ac97927
JB
218 type OCPP16MeterValuesRequest,
219 type OCPP16MeterValuesResponse,
66a7748d
JB
220 type OCPP16SampledValue
221} from './ocpp/1.6/MeterValues.js'
69074173
JB
222export {
223 OCPP16AuthorizationStatus,
224 type OCPP16AuthorizeRequest,
225 type OCPP16AuthorizeResponse,
0ac97927
JB
226 type OCPP16StartTransactionRequest,
227 type OCPP16StartTransactionResponse,
0ac97927
JB
228 OCPP16StopTransactionReason,
229 type OCPP16StopTransactionRequest,
66a7748d
JB
230 type OCPP16StopTransactionResponse
231} from './ocpp/1.6/Transaction.js'
232export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode.js'
233export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus.js'
69074173
JB
234export {
235 type OCPP16ChargingProfile,
236 OCPP16ChargingProfilePurposeType,
491dad29 237 OCPP16ChargingRateUnitType,
69074173 238 type OCPP16ChargingSchedule,
66a7748d
JB
239 type OCPP16ChargingSchedulePeriod
240} from './ocpp/1.6/ChargingProfile.js'
69074173
JB
241export {
242 OCPP16StandardParametersKey,
66a7748d
JB
243 OCPP16SupportedFeatureProfiles
244} from './ocpp/1.6/Configuration.js'
245export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus.js'
69074173 246export {
0ac97927 247 type OCPP20BootNotificationRequest,
0ac97927 248 type OCPP20ClearCacheRequest,
0ac97927 249 type OCPP20HeartbeatRequest,
0ac97927 250 OCPP20IncomingRequestCommand,
0ac97927 251 OCPP20RequestCommand,
66a7748d
JB
252 type OCPP20StatusNotificationRequest
253} from './ocpp/2.0/Requests.js'
69074173
JB
254export type {
255 OCPP20BootNotificationResponse,
256 OCPP20ClearCacheResponse,
257 OCPP20HeartbeatResponse,
66a7748d
JB
258 OCPP20StatusNotificationResponse
259} from './ocpp/2.0/Responses.js'
260export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables.js'
261export { OCPPVersion } from './ocpp/OCPPVersion.js'
262export { PerformanceData } from './orm/entities/PerformanceData.js'
263export { PerformanceRecord } from './orm/entities/PerformanceRecord.js'
264export type { Statistics, TimestampedData } from './Statistics.js'
69074173 265export {
0ac97927
JB
266 type WSError,
267 WebSocketCloseEventStatusCode,
66a7748d
JB
268 WebSocketCloseEventStatusString
269} from './WebSocket.js'
282582e5
JB
270export {
271 type Reservation,
366f75f6 272 type ReservationKey,
66a7748d
JB
273 ReservationTerminationReason
274} from './ocpp/Reservation.js'
275export { ChargingStationEvents } from './ChargingStationEvents.js'