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