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