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