fix: fix circular dependencies in types
[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,
47 ClearChargingProfileStatus,
48 type ClearCacheResponse,
49 ConfigurationStatus,
50 DataTransferStatus,
51 type DataTransferResponse,
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 {
83 type ChangeAvailabilityRequest,
84 type ChangeConfigurationRequest,
85 type ClearChargingProfileRequest,
86 type GetConfigurationRequest,
87 type GetDiagnosticsRequest,
0ac97927
JB
88 OCPP16AvailabilityType,
89 type OCPP16BootNotificationRequest,
0ac97927
JB
90 type OCPP16ClearCacheRequest,
91 type OCPP16DataTransferRequest,
0ac97927 92 OCPP16DataTransferVendorId,
0ac97927 93 type OCPP16DiagnosticsStatusNotificationRequest,
0ac97927
JB
94 OCPP16FirmwareStatus,
95 type OCPP16FirmwareStatusNotificationRequest,
41189456 96 type OCPP16GetCompositeScheduleRequest,
0ac97927 97 type OCPP16HeartbeatRequest,
0ac97927
JB
98 OCPP16IncomingRequestCommand,
99 OCPP16MessageTrigger,
69074173
JB
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,
66dd3447
JB
109 type OCPP16ReserveNowRequest,
110 type OCPP16CancelReservationRequest,
69074173
JB
111} from './ocpp/1.6/Requests';
112export {
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,
66dd3447 130 type OCPP16ReserveNowResponse,
69074173
JB
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 {
167 type ConfigurationData,
5d049829 168 ConfigurationSection,
3d48c1c1 169 type LogConfiguration,
69074173
JB
170 type StationTemplateUrl,
171 type StorageConfiguration,
172 SupervisionUrlDistribution,
173 type UIServerConfiguration,
174 type WorkerConfiguration,
175} from './ConfigurationData';
176export {
177 type ConfigurationKeyType,
178 ConnectorPhaseRotation,
179 type OCPPConfigurationKey,
180 StandardParametersKey,
181 SupportedFeatureProfiles,
182 VendorParametersKey,
183} from './ocpp/Configuration';
184export type { ConnectorStatus } from './ConnectorStatus';
185export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum';
186export { DBName, type MikroOrmDbType, StorageType } from './Storage';
187export type { EmptyObject } from './EmptyObject';
188export { ErrorType } from './ocpp/ErrorType';
189export type { EvseTemplate, EvseStatus } from './Evse';
190export { FileType } from './FileType';
191export type { HandleErrorParams } from './Error';
192export type { JsonObject, JsonType } from './JsonType';
193export type {
194 MeasurandPerPhaseSampledValueTemplates,
195 SampledValueTemplate,
196} from './MeasurandPerPhaseSampledValueTemplates';
197export type { MeasurandValues } from './MeasurandValues';
198export { MessageType } from './ocpp/MessageType';
199export { type MeterValue, MeterValueMeasurand, MeterValuePhase } from './ocpp/MeterValues';
200export {
201 MeterValueContext,
202 MeterValueLocation,
203 MeterValueUnit,
0ac97927
JB
204 type OCPP16MeterValue,
205 OCPP16MeterValueMeasurand,
206 OCPP16MeterValuePhase,
207 type OCPP16MeterValuesRequest,
208 type OCPP16MeterValuesResponse,
0ac97927 209 type OCPP16SampledValue,
69074173
JB
210} from './ocpp/1.6/MeterValues';
211export {
212 OCPP16AuthorizationStatus,
213 type OCPP16AuthorizeRequest,
214 type OCPP16AuthorizeResponse,
0ac97927
JB
215 type OCPP16StartTransactionRequest,
216 type OCPP16StartTransactionResponse,
0ac97927
JB
217 OCPP16StopTransactionReason,
218 type OCPP16StopTransactionRequest,
219 type OCPP16StopTransactionResponse,
69074173
JB
220} from './ocpp/1.6/Transaction';
221export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode';
222export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus';
223export {
224 type OCPP16ChargingProfile,
225 OCPP16ChargingProfilePurposeType,
226 type OCPP16ChargingSchedule,
227} from './ocpp/1.6/ChargingProfile';
228export {
229 OCPP16StandardParametersKey,
0ac97927 230 OCPP16SupportedFeatureProfiles,
69074173
JB
231} from './ocpp/1.6/Configuration';
232export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus';
233export {
0ac97927 234 type OCPP20BootNotificationRequest,
0ac97927 235 type OCPP20ClearCacheRequest,
0ac97927 236 type OCPP20HeartbeatRequest,
0ac97927 237 OCPP20IncomingRequestCommand,
0ac97927
JB
238 OCPP20RequestCommand,
239 type OCPP20StatusNotificationRequest,
69074173
JB
240} from './ocpp/2.0/Requests';
241export type {
242 OCPP20BootNotificationResponse,
243 OCPP20ClearCacheResponse,
244 OCPP20HeartbeatResponse,
245 OCPP20StatusNotificationResponse,
246} from './ocpp/2.0/Responses';
247export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables';
248export { OCPPVersion } from './ocpp/OCPPVersion';
249export { PerformanceData } from './orm/entities/PerformanceData';
250export { PerformanceRecord } from './orm/entities/PerformanceRecord';
f6778d74 251export type { Statistics, TimestampedData } from './Statistics';
69074173 252export {
0ac97927
JB
253 type WSError,
254 WebSocketCloseEventStatusCode,
255 WebSocketCloseEventStatusString,
69074173 256} from './WebSocket';
282582e5
JB
257export {
258 type Reservation,
259 ReservationFilterKey,
260 ReservationTerminationReason,
261} from './ocpp/Reservation';