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