feat: strict message event checking in worker set mode
[e-mobility-charging-stations-simulator.git] / src / types / index.ts
... / ...
CommitLineData
1export {
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';
14export {
15 type AutomaticTransactionGeneratorConfiguration,
16 type ChargingStationAutomaticTransactionGeneratorConfiguration,
17 IdTagDistribution,
18 type Status,
19} from './AutomaticTransactionGenerator';
20export {
21 AvailabilityType,
22 type BootNotificationRequest,
23 type CachedRequest,
24 type DataTransferRequest,
25 type DiagnosticsStatusNotificationRequest,
26 type ErrorCallback,
27 FirmwareStatus,
28 type FirmwareStatusNotificationRequest,
29 type HeartbeatRequest,
30 type IncomingRequest,
31 IncomingRequestCommand,
32 type IncomingRequestHandler,
33 MessageTrigger,
34 type MeterValuesRequest,
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,
57 type MeterValuesResponse,
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,
90 OCPP16AvailabilityType,
91 type OCPP16BootNotificationRequest,
92 type OCPP16ClearCacheRequest,
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 OCPP16StatusNotificationRequest,
104 type OCPP16TriggerMessageRequest,
105 type OCPP16UpdateFirmwareRequest,
106 type RemoteStartTransactionRequest,
107 type RemoteStopTransactionRequest,
108 type ResetRequest,
109 type SetChargingProfileRequest,
110 type UnlockConnectorRequest,
111 type OCPP16ReserveNowRequest,
112 type OCPP16CancelReservationRequest,
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,
132 type OCPP16ReserveNowResponse,
133} from './ocpp/1.6/Responses';
134export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode';
135export {
136 type ChargingProfile,
137 ChargingProfileKindType,
138 ChargingRateUnitType,
139 type ChargingSchedulePeriod,
140 RecurrencyKindType,
141} from './ocpp/ChargingProfile';
142export type {
143 ChargingStationConfiguration,
144 EvseStatusConfiguration,
145} from './ChargingStationConfiguration';
146export {
147 type ChargingStationData,
148 type ChargingStationWorkerData,
149 type ChargingStationWorkerMessage,
150 type ChargingStationWorkerMessageData,
151 ChargingStationWorkerMessageEvents,
152 type EvseStatusWorkerType,
153} from './ChargingStationWorker';
154export type { ChargingStationInfo } from './ChargingStationInfo';
155export type {
156 ChargingStationOcppConfiguration,
157 ConfigurationKey,
158} from './ChargingStationOcppConfiguration';
159export {
160 AmpereUnits,
161 type ChargingStationTemplate,
162 CurrentType,
163 type FirmwareUpgrade,
164 PowerUnits,
165 Voltage,
166 type WsOptions,
167} from './ChargingStationTemplate';
168export {
169 type ConfigurationData,
170 ConfigurationSection,
171 type LogConfiguration,
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';
201export { type MeterValue, MeterValueMeasurand, MeterValuePhase } from './ocpp/MeterValues';
202export {
203 MeterValueContext,
204 MeterValueLocation,
205 MeterValueUnit,
206 type OCPP16MeterValue,
207 OCPP16MeterValueMeasurand,
208 OCPP16MeterValuePhase,
209 type OCPP16MeterValuesRequest,
210 type OCPP16MeterValuesResponse,
211 type OCPP16SampledValue,
212} from './ocpp/1.6/MeterValues';
213export {
214 OCPP16AuthorizationStatus,
215 type OCPP16AuthorizeRequest,
216 type OCPP16AuthorizeResponse,
217 type OCPP16StartTransactionRequest,
218 type OCPP16StartTransactionResponse,
219 OCPP16StopTransactionReason,
220 type OCPP16StopTransactionRequest,
221 type OCPP16StopTransactionResponse,
222} from './ocpp/1.6/Transaction';
223export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode';
224export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus';
225export {
226 type OCPP16ChargingProfile,
227 OCPP16ChargingProfilePurposeType,
228 type OCPP16ChargingSchedule,
229} from './ocpp/1.6/ChargingProfile';
230export {
231 OCPP16StandardParametersKey,
232 OCPP16SupportedFeatureProfiles,
233} from './ocpp/1.6/Configuration';
234export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus';
235export {
236 type OCPP20BootNotificationRequest,
237 type OCPP20ClearCacheRequest,
238 type OCPP20HeartbeatRequest,
239 OCPP20IncomingRequestCommand,
240 OCPP20RequestCommand,
241 type OCPP20StatusNotificationRequest,
242} from './ocpp/2.0/Requests';
243export type {
244 OCPP20BootNotificationResponse,
245 OCPP20ClearCacheResponse,
246 OCPP20HeartbeatResponse,
247 OCPP20StatusNotificationResponse,
248} from './ocpp/2.0/Responses';
249export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables';
250export { OCPPVersion } from './ocpp/OCPPVersion';
251export { PerformanceData } from './orm/entities/PerformanceData';
252export { PerformanceRecord } from './orm/entities/PerformanceRecord';
253export type { Statistics, TimestampedData } from './Statistics';
254export {
255 type WSError,
256 WebSocketCloseEventStatusCode,
257 WebSocketCloseEventStatusString,
258} from './WebSocket';
259export { ReservationFilterKey, ReservationTerminationReason } from './ocpp/1.6/Reservation';
260export { type Reservation } from './ocpp/Reservation';