fix: untangle worker set message from application message
[e-mobility-charging-stations-simulator.git] / src / types / index.ts
CommitLineData
69074173 1export {
0ac97927 2 type AutomaticTransactionGeneratorConfiguration,
69074173
JB
3 type ChargingStationAutomaticTransactionGeneratorConfiguration,
4 IdTagDistribution,
66a7748d
JB
5 type Status
6} from './AutomaticTransactionGenerator.js'
4c3f6c20
JB
7export type {
8 ChargingStationConfiguration,
9 EvseStatusConfiguration
10} from './ChargingStationConfiguration.js'
11export { ChargingStationEvents } from './ChargingStationEvents.js'
12export type { ChargingStationInfo } from './ChargingStationInfo.js'
13export type {
14 ChargingStationOcppConfiguration,
15 ConfigurationKey
16} from './ChargingStationOcppConfiguration.js'
69074173 17export {
4c3f6c20
JB
18 AmpereUnits,
19 type ChargingStationTemplate,
20 CurrentType,
21 type FirmwareUpgrade,
22 PowerUnits,
23 Voltage,
24 type WsOptions
25} from './ChargingStationTemplate.js'
69074173 26export {
4c3f6c20
JB
27 type ChargingStationData,
28 type ChargingStationOptions,
29 type ChargingStationWorkerData,
4c3f6c20
JB
30 type ChargingStationWorkerMessage,
31 type ChargingStationWorkerMessageData,
32 ChargingStationWorkerMessageEvents,
33 type EvseStatusWorkerType
34} from './ChargingStationWorker.js'
69074173 35export {
4c3f6c20
JB
36 ApplicationProtocolVersion,
37 type ConfigurationData,
38 ConfigurationSection,
39 type ElementsPerWorkerType,
40 type LogConfiguration,
41 type StationTemplateUrl,
42 type StorageConfiguration,
43 SupervisionUrlDistribution,
44 type UIServerConfiguration,
45 type WorkerConfiguration
46} from './ConfigurationData.js'
47export type { ConnectorStatus } from './ConnectorStatus.js'
48export type { EmptyObject } from './EmptyObject.js'
49export type { HandleErrorParams } from './Error.js'
50export type { EvseStatus, EvseTemplate } from './Evse.js'
51export { FileType } from './FileType.js'
52export type { JsonObject, JsonType } from './JsonType.js'
276e05ae 53export { MapStringifyFormat } from './MapStringifyFormat.js'
4c3f6c20
JB
54export type {
55 MeasurandPerPhaseSampledValueTemplates,
56 SampledValueTemplate
57} from './MeasurandPerPhaseSampledValueTemplates.js'
58export type { MeasurandValues } from './MeasurandValues.js'
59export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode.js'
60export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus.js'
69074173 61export {
4c3f6c20
JB
62 type OCPP16ChargingProfile,
63 OCPP16ChargingProfilePurposeType,
64 OCPP16ChargingRateUnitType,
65 type OCPP16ChargingSchedule,
66 type OCPP16ChargingSchedulePeriod
67} from './ocpp/1.6/ChargingProfile.js'
68export {
69 OCPP16StandardParametersKey,
70 OCPP16SupportedFeatureProfiles
71} from './ocpp/1.6/Configuration.js'
72export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus.js'
73export {
74 type OCPP16MeterValue,
75 OCPP16MeterValueContext,
76 OCPP16MeterValueLocation,
77 OCPP16MeterValueMeasurand,
78 OCPP16MeterValuePhase,
79 type OCPP16MeterValuesRequest,
80 type OCPP16MeterValuesResponse,
81 OCPP16MeterValueUnit,
82 type OCPP16SampledValue
83} from './ocpp/1.6/MeterValues.js'
69074173 84export {
69074173 85 type ChangeConfigurationRequest,
69074173
JB
86 type GetConfigurationRequest,
87 type GetDiagnosticsRequest,
0ac97927
JB
88 OCPP16AvailabilityType,
89 type OCPP16BootNotificationRequest,
491dad29
JB
90 type OCPP16CancelReservationRequest,
91 type OCPP16ChangeAvailabilityRequest,
0ac97927 92 type OCPP16ClearCacheRequest,
41f3983a 93 type OCPP16ClearChargingProfileRequest,
0ac97927 94 type OCPP16DataTransferRequest,
0ac97927 95 OCPP16DataTransferVendorId,
0ac97927 96 type OCPP16DiagnosticsStatusNotificationRequest,
0ac97927
JB
97 OCPP16FirmwareStatus,
98 type OCPP16FirmwareStatusNotificationRequest,
41189456 99 type OCPP16GetCompositeScheduleRequest,
0ac97927 100 type OCPP16HeartbeatRequest,
0ac97927
JB
101 OCPP16IncomingRequestCommand,
102 OCPP16MessageTrigger,
69074173 103 OCPP16RequestCommand,
491dad29 104 type OCPP16ReserveNowRequest,
69074173
JB
105 type OCPP16StatusNotificationRequest,
106 type OCPP16TriggerMessageRequest,
107 type OCPP16UpdateFirmwareRequest,
108 type RemoteStartTransactionRequest,
109 type RemoteStopTransactionRequest,
110 type ResetRequest,
111 type SetChargingProfileRequest,
66a7748d
JB
112 type UnlockConnectorRequest
113} from './ocpp/1.6/Requests.js'
69074173 114export {
69074173 115 type ChangeConfigurationResponse,
69074173
JB
116 type GetConfigurationResponse,
117 type GetDiagnosticsResponse,
118 type OCPP16BootNotificationResponse,
491dad29 119 type OCPP16ChangeAvailabilityResponse,
41f3983a 120 type OCPP16ClearChargingProfileResponse,
69074173
JB
121 type OCPP16DataTransferResponse,
122 OCPP16DataTransferStatus,
123 type OCPP16DiagnosticsStatusNotificationResponse,
124 type OCPP16FirmwareStatusNotificationResponse,
125 type OCPP16GetCompositeScheduleResponse,
126 type OCPP16HeartbeatResponse,
491dad29 127 type OCPP16ReserveNowResponse,
69074173
JB
128 type OCPP16StatusNotificationResponse,
129 type OCPP16TriggerMessageResponse,
ef69bc46 130 OCPP16TriggerMessageStatus,
69074173
JB
131 type OCPP16UpdateFirmwareResponse,
132 type SetChargingProfileResponse,
66a7748d
JB
133 type UnlockConnectorResponse
134} from './ocpp/1.6/Responses.js'
4c3f6c20
JB
135export {
136 OCPP16AuthorizationStatus,
137 type OCPP16AuthorizeRequest,
138 type OCPP16AuthorizeResponse,
139 type OCPP16StartTransactionRequest,
140 type OCPP16StartTransactionResponse,
141 OCPP16StopTransactionReason,
142 type OCPP16StopTransactionRequest,
143 type OCPP16StopTransactionResponse
144} from './ocpp/1.6/Transaction.js'
145export { BootReasonEnumType, OCPP20ConnectorStatusEnumType } from './ocpp/2.0/Common.js'
146export {
147 type OCPP20BootNotificationRequest,
148 type OCPP20ClearCacheRequest,
149 type OCPP20HeartbeatRequest,
150 OCPP20IncomingRequestCommand,
151 OCPP20RequestCommand,
152 type OCPP20StatusNotificationRequest
153} from './ocpp/2.0/Requests.js'
154export type {
155 OCPP20BootNotificationResponse,
156 OCPP20ClearCacheResponse,
157 OCPP20HeartbeatResponse,
158 OCPP20StatusNotificationResponse
159} from './ocpp/2.0/Responses.js'
160export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables.js'
66a7748d 161export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode.js'
69074173
JB
162export {
163 type ChargingProfile,
164 ChargingProfileKindType,
165 ChargingRateUnitType,
166 type ChargingSchedulePeriod,
66a7748d
JB
167 RecurrencyKindType
168} from './ocpp/ChargingProfile.js'
4c3f6c20 169export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common.js'
69074173
JB
170export {
171 type ConfigurationKeyType,
172 ConnectorPhaseRotation,
173 type OCPPConfigurationKey,
174 StandardParametersKey,
175 SupportedFeatureProfiles,
66a7748d
JB
176 VendorParametersKey
177} from './ocpp/Configuration.js'
66a7748d 178export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum.js'
66a7748d 179export { ErrorType } from './ocpp/ErrorType.js'
66a7748d 180export { MessageType } from './ocpp/MessageType.js'
69074173 181export {
41f3983a 182 type MeterValue,
69074173
JB
183 MeterValueContext,
184 MeterValueLocation,
41f3983a
JB
185 MeterValueMeasurand,
186 MeterValuePhase,
69074173 187 MeterValueUnit,
66a7748d
JB
188 type SampledValue
189} from './ocpp/MeterValues.js'
4c3f6c20 190export { OCPPVersion } from './ocpp/OCPPVersion.js'
41f3983a 191export {
4c3f6c20
JB
192 AvailabilityType,
193 type BootNotificationRequest,
194 type CachedRequest,
195 type DataTransferRequest,
196 type DiagnosticsStatusNotificationRequest,
197 type ErrorCallback,
198 FirmwareStatus,
199 type FirmwareStatusNotificationRequest,
200 type HeartbeatRequest,
201 type IncomingRequest,
202 IncomingRequestCommand,
203 type IncomingRequestHandler,
204 MessageTrigger,
205 type MeterValuesRequest,
206 type OutgoingRequest,
207 RequestCommand,
208 type RequestParams,
209 type ResponseCallback,
210 type ResponseType,
211 type StatusNotificationRequest
212} from './ocpp/Requests.js'
69074173 213export {
4c3f6c20
JB
214 type Reservation,
215 type ReservationKey,
216 ReservationTerminationReason
217} from './ocpp/Reservation.js'
69074173 218export {
4c3f6c20
JB
219 AvailabilityStatus,
220 type BootNotificationResponse,
221 ChargingProfileStatus,
222 type ClearCacheResponse,
223 ClearChargingProfileStatus,
224 ConfigurationStatus,
225 type DataTransferResponse,
226 DataTransferStatus,
227 type DiagnosticsStatusNotificationResponse,
228 type ErrorResponse,
229 type FirmwareStatusNotificationResponse,
230 type HeartbeatResponse,
231 type MeterValuesResponse,
232 ReservationStatus,
233 type Response,
234 type ResponseHandler,
235 type StatusNotificationResponse,
236 TriggerMessageStatus,
237 UnlockStatus
238} from './ocpp/Responses.js'
69074173 239export {
4c3f6c20
JB
240 AuthorizationStatus,
241 type AuthorizeRequest,
242 type AuthorizeResponse,
243 type StartTransactionRequest,
244 type StartTransactionResponse,
245 StopTransactionReason,
246 type StopTransactionRequest,
247 type StopTransactionResponse
248} from './ocpp/Transaction.js'
66a7748d 249export { PerformanceRecord } from './orm/entities/PerformanceRecord.js'
276e05ae 250export type { SimulatorState } from './SimulatorState.js'
e8237645 251export type {
e8237645
JB
252 Statistics,
253 StatisticsData,
276e05ae 254 TemplateStatistics,
e8237645
JB
255 TimestampedData
256} from './Statistics.js'
4c3f6c20
JB
257export { DBName, StorageType } from './Storage.js'
258export {
259 ApplicationProtocol,
260 AuthenticationType,
261 ProcedureName,
262 Protocol,
263 type ProtocolRequest,
264 type ProtocolRequestHandler,
265 type ProtocolResponse,
266 ProtocolVersion,
267 type RequestPayload,
268 type ResponsePayload,
276e05ae 269 ResponseStatus
4c3f6c20 270} from './UIProtocol.js'
69074173 271export {
0ac97927 272 WebSocketCloseEventStatusCode,
4c3f6c20
JB
273 WebSocketCloseEventStatusString,
274 type WSError
66a7748d 275} from './WebSocket.js'
282582e5 276export {
4c3f6c20
JB
277 BroadcastChannelProcedureName,
278 type BroadcastChannelRequest,
279 type BroadcastChannelRequestPayload,
280 type BroadcastChannelResponse,
281 type BroadcastChannelResponsePayload,
282 type MessageEvent
283} from './WorkerBroadcastChannel.js'