perf: minimize OCPPUtils exports
[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,
12 ResponseStatus,
13} from './UIProtocol';
14export {
0ac97927 15 type AutomaticTransactionGeneratorConfiguration,
69074173
JB
16 type ChargingStationAutomaticTransactionGeneratorConfiguration,
17 IdTagDistribution,
18 type Status,
19} from './AutomaticTransactionGenerator';
73ed6e01 20export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common';
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,
41 type StatusNotificationRequest,
42} from './ocpp/Requests';
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,
69074173
JB
57 type Response,
58 type ResponseHandler,
59 type StatusNotificationResponse,
60 TriggerMessageStatus,
61 UnlockStatus,
62} from './ocpp/Responses';
63export {
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';
73export { BootReasonEnumType, OCPP20ConnectorStatusEnumType } from './ocpp/2.0/Common';
74export {
75 BroadcastChannelProcedureName,
76 type BroadcastChannelRequest,
77 type BroadcastChannelRequestPayload,
78 type BroadcastChannelResponse,
79 type BroadcastChannelResponsePayload,
80 type MessageEvent,
81} from './WorkerBroadcastChannel';
82export {
69074173 83 type ChangeConfigurationRequest,
69074173
JB
84 type GetConfigurationRequest,
85 type GetDiagnosticsRequest,
0ac97927
JB
86 OCPP16AvailabilityType,
87 type OCPP16BootNotificationRequest,
491dad29
JB
88 type OCPP16CancelReservationRequest,
89 type OCPP16ChangeAvailabilityRequest,
0ac97927 90 type OCPP16ClearCacheRequest,
41f3983a 91 type OCPP16ClearChargingProfileRequest,
0ac97927 92 type OCPP16DataTransferRequest,
0ac97927 93 OCPP16DataTransferVendorId,
0ac97927 94 type OCPP16DiagnosticsStatusNotificationRequest,
0ac97927
JB
95 OCPP16FirmwareStatus,
96 type OCPP16FirmwareStatusNotificationRequest,
41189456 97 type OCPP16GetCompositeScheduleRequest,
0ac97927 98 type OCPP16HeartbeatRequest,
0ac97927
JB
99 OCPP16IncomingRequestCommand,
100 OCPP16MessageTrigger,
69074173 101 OCPP16RequestCommand,
491dad29 102 type OCPP16ReserveNowRequest,
69074173
JB
103 type OCPP16StatusNotificationRequest,
104 type OCPP16TriggerMessageRequest,
105 type OCPP16UpdateFirmwareRequest,
106 type RemoteStartTransactionRequest,
107 type RemoteStopTransactionRequest,
108 type ResetRequest,
109 type SetChargingProfileRequest,
110 type UnlockConnectorRequest,
111} from './ocpp/1.6/Requests';
112export {
69074173 113 type ChangeConfigurationResponse,
69074173
JB
114 type GetConfigurationResponse,
115 type GetDiagnosticsResponse,
116 type OCPP16BootNotificationResponse,
491dad29 117 type OCPP16ChangeAvailabilityResponse,
41f3983a 118 type OCPP16ClearChargingProfileResponse,
69074173
JB
119 type OCPP16DataTransferResponse,
120 OCPP16DataTransferStatus,
121 type OCPP16DiagnosticsStatusNotificationResponse,
122 type OCPP16FirmwareStatusNotificationResponse,
123 type OCPP16GetCompositeScheduleResponse,
124 type OCPP16HeartbeatResponse,
491dad29 125 type OCPP16ReserveNowResponse,
69074173
JB
126 type OCPP16StatusNotificationResponse,
127 type OCPP16TriggerMessageResponse,
128 type OCPP16UpdateFirmwareResponse,
129 type SetChargingProfileResponse,
130 type UnlockConnectorResponse,
131} from './ocpp/1.6/Responses';
132export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode';
133export {
134 type ChargingProfile,
135 ChargingProfileKindType,
136 ChargingRateUnitType,
137 type ChargingSchedulePeriod,
138 RecurrencyKindType,
139} from './ocpp/ChargingProfile';
140export type {
141 ChargingStationConfiguration,
142 EvseStatusConfiguration,
143} from './ChargingStationConfiguration';
144export {
145 type ChargingStationData,
146 type ChargingStationWorkerData,
147 type ChargingStationWorkerMessage,
148 type ChargingStationWorkerMessageData,
149 ChargingStationWorkerMessageEvents,
09989bb8 150 type EvseStatusWorkerType,
69074173
JB
151} from './ChargingStationWorker';
152export type { ChargingStationInfo } from './ChargingStationInfo';
153export type {
154 ChargingStationOcppConfiguration,
155 ConfigurationKey,
156} from './ChargingStationOcppConfiguration';
157export {
158 AmpereUnits,
159 type ChargingStationTemplate,
160 CurrentType,
161 type FirmwareUpgrade,
162 PowerUnits,
163 Voltage,
164 type WsOptions,
165} from './ChargingStationTemplate';
166export {
a6080904 167 ApplicationProtocolVersion,
69074173 168 type ConfigurationData,
5d049829 169 ConfigurationSection,
65a1157a 170 type ElementsPerWorkerType,
3d48c1c1 171 type LogConfiguration,
69074173
JB
172 type StationTemplateUrl,
173 type StorageConfiguration,
174 SupervisionUrlDistribution,
175 type UIServerConfiguration,
176 type WorkerConfiguration,
177} from './ConfigurationData';
178export {
179 type ConfigurationKeyType,
180 ConnectorPhaseRotation,
181 type OCPPConfigurationKey,
182 StandardParametersKey,
183 SupportedFeatureProfiles,
184 VendorParametersKey,
185} from './ocpp/Configuration';
186export type { ConnectorStatus } from './ConnectorStatus';
187export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum';
188export { DBName, type MikroOrmDbType, StorageType } from './Storage';
189export type { EmptyObject } from './EmptyObject';
190export { ErrorType } from './ocpp/ErrorType';
191export type { EvseTemplate, EvseStatus } from './Evse';
192export { FileType } from './FileType';
193export type { HandleErrorParams } from './Error';
194export type { JsonObject, JsonType } from './JsonType';
195export type {
196 MeasurandPerPhaseSampledValueTemplates,
197 SampledValueTemplate,
198} from './MeasurandPerPhaseSampledValueTemplates';
199export type { MeasurandValues } from './MeasurandValues';
200export { MessageType } from './ocpp/MessageType';
69074173 201export {
41f3983a 202 type MeterValue,
69074173
JB
203 MeterValueContext,
204 MeterValueLocation,
41f3983a
JB
205 MeterValueMeasurand,
206 MeterValuePhase,
69074173 207 MeterValueUnit,
41f3983a
JB
208 type SampledValue,
209} from './ocpp/MeterValues';
210export {
0ac97927 211 type OCPP16MeterValue,
41f3983a
JB
212 OCPP16MeterValueContext,
213 OCPP16MeterValueLocation,
0ac97927
JB
214 OCPP16MeterValueMeasurand,
215 OCPP16MeterValuePhase,
41f3983a 216 OCPP16MeterValueUnit,
0ac97927
JB
217 type OCPP16MeterValuesRequest,
218 type OCPP16MeterValuesResponse,
0ac97927 219 type OCPP16SampledValue,
69074173
JB
220} from './ocpp/1.6/MeterValues';
221export {
222 OCPP16AuthorizationStatus,
223 type OCPP16AuthorizeRequest,
224 type OCPP16AuthorizeResponse,
0ac97927
JB
225 type OCPP16StartTransactionRequest,
226 type OCPP16StartTransactionResponse,
0ac97927
JB
227 OCPP16StopTransactionReason,
228 type OCPP16StopTransactionRequest,
229 type OCPP16StopTransactionResponse,
69074173
JB
230} from './ocpp/1.6/Transaction';
231export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode';
232export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus';
233export {
234 type OCPP16ChargingProfile,
235 OCPP16ChargingProfilePurposeType,
491dad29 236 OCPP16ChargingRateUnitType,
69074173 237 type OCPP16ChargingSchedule,
491dad29 238 type OCPP16ChargingSchedulePeriod,
69074173
JB
239} from './ocpp/1.6/ChargingProfile';
240export {
241 OCPP16StandardParametersKey,
0ac97927 242 OCPP16SupportedFeatureProfiles,
69074173
JB
243} from './ocpp/1.6/Configuration';
244export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus';
245export {
0ac97927 246 type OCPP20BootNotificationRequest,
0ac97927 247 type OCPP20ClearCacheRequest,
0ac97927 248 type OCPP20HeartbeatRequest,
0ac97927 249 OCPP20IncomingRequestCommand,
0ac97927
JB
250 OCPP20RequestCommand,
251 type OCPP20StatusNotificationRequest,
69074173
JB
252} from './ocpp/2.0/Requests';
253export type {
254 OCPP20BootNotificationResponse,
255 OCPP20ClearCacheResponse,
256 OCPP20HeartbeatResponse,
257 OCPP20StatusNotificationResponse,
258} from './ocpp/2.0/Responses';
259export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables';
260export { OCPPVersion } from './ocpp/OCPPVersion';
261export { PerformanceData } from './orm/entities/PerformanceData';
262export { PerformanceRecord } from './orm/entities/PerformanceRecord';
f6778d74 263export type { Statistics, TimestampedData } from './Statistics';
69074173 264export {
0ac97927
JB
265 type WSError,
266 WebSocketCloseEventStatusCode,
267 WebSocketCloseEventStatusString,
69074173 268} from './WebSocket';
282582e5
JB
269export {
270 type Reservation,
366f75f6 271 type ReservationKey,
282582e5
JB
272 ReservationTerminationReason,
273} from './ocpp/Reservation';
649e3f97 274export { ChargingStationEvents } from './ChargingStationEvents';