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