fix: properly handle undefined connector id at remote start transaction
[e-mobility-charging-stations-simulator.git] / src / types / index.ts
... / ...
CommitLineData
1export {
2 type AutomaticTransactionGeneratorConfiguration,
3 type ChargingStationAutomaticTransactionGeneratorConfiguration,
4 IdTagDistribution,
5 type Status
6} from './AutomaticTransactionGenerator.js'
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'
17export {
18 AmpereUnits,
19 type ChargingStationTemplate,
20 CurrentType,
21 type FirmwareUpgrade,
22 PowerUnits,
23 Voltage,
24 type WsOptions
25} from './ChargingStationTemplate.js'
26export {
27 type ChargingStationData,
28 type ChargingStationOptions,
29 type ChargingStationWorkerData,
30 type ChargingStationWorkerMessage,
31 type ChargingStationWorkerMessageData,
32 ChargingStationWorkerMessageEvents,
33 type EvseStatusWorkerType
34} from './ChargingStationWorker.js'
35export {
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'
53export { MapStringifyFormat } from './MapStringifyFormat.js'
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'
61export {
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'
84export {
85 type ChangeConfigurationRequest,
86 type GetConfigurationRequest,
87 type GetDiagnosticsRequest,
88 OCPP16AvailabilityType,
89 type OCPP16BootNotificationRequest,
90 type OCPP16CancelReservationRequest,
91 type OCPP16ChangeAvailabilityRequest,
92 type OCPP16ClearCacheRequest,
93 type OCPP16ClearChargingProfileRequest,
94 type OCPP16DataTransferRequest,
95 OCPP16DataTransferVendorId,
96 type OCPP16DiagnosticsStatusNotificationRequest,
97 OCPP16FirmwareStatus,
98 type OCPP16FirmwareStatusNotificationRequest,
99 type OCPP16GetCompositeScheduleRequest,
100 type OCPP16HeartbeatRequest,
101 OCPP16IncomingRequestCommand,
102 OCPP16MessageTrigger,
103 OCPP16RequestCommand,
104 type OCPP16ReserveNowRequest,
105 type OCPP16StatusNotificationRequest,
106 type OCPP16TriggerMessageRequest,
107 type OCPP16UpdateFirmwareRequest,
108 type RemoteStartTransactionRequest,
109 type RemoteStopTransactionRequest,
110 type ResetRequest,
111 type SetChargingProfileRequest,
112 type UnlockConnectorRequest
113} from './ocpp/1.6/Requests.js'
114export {
115 type ChangeConfigurationResponse,
116 type GetConfigurationResponse,
117 type GetDiagnosticsResponse,
118 type OCPP16BootNotificationResponse,
119 type OCPP16ChangeAvailabilityResponse,
120 type OCPP16ClearChargingProfileResponse,
121 type OCPP16DataTransferResponse,
122 OCPP16DataTransferStatus,
123 type OCPP16DiagnosticsStatusNotificationResponse,
124 type OCPP16FirmwareStatusNotificationResponse,
125 type OCPP16GetCompositeScheduleResponse,
126 type OCPP16HeartbeatResponse,
127 type OCPP16ReserveNowResponse,
128 type OCPP16StatusNotificationResponse,
129 type OCPP16TriggerMessageResponse,
130 OCPP16TriggerMessageStatus,
131 type OCPP16UpdateFirmwareResponse,
132 type SetChargingProfileResponse,
133 type UnlockConnectorResponse
134} from './ocpp/1.6/Responses.js'
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'
161export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode.js'
162export {
163 type ChargingProfile,
164 ChargingProfileKindType,
165 ChargingRateUnitType,
166 type ChargingSchedulePeriod,
167 RecurrencyKindType
168} from './ocpp/ChargingProfile.js'
169export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common.js'
170export {
171 type ConfigurationKeyType,
172 ConnectorPhaseRotation,
173 type OCPPConfigurationKey,
174 StandardParametersKey,
175 SupportedFeatureProfiles,
176 VendorParametersKey
177} from './ocpp/Configuration.js'
178export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum.js'
179export { ErrorType } from './ocpp/ErrorType.js'
180export { MessageType } from './ocpp/MessageType.js'
181export {
182 type MeterValue,
183 MeterValueContext,
184 MeterValueLocation,
185 MeterValueMeasurand,
186 MeterValuePhase,
187 MeterValueUnit,
188 type SampledValue
189} from './ocpp/MeterValues.js'
190export { OCPPVersion } from './ocpp/OCPPVersion.js'
191export {
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'
213export {
214 type Reservation,
215 type ReservationKey,
216 ReservationTerminationReason
217} from './ocpp/Reservation.js'
218export {
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'
239export {
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'
249export { PerformanceRecord } from './orm/entities/PerformanceRecord.js'
250export type { SimulatorState } from './SimulatorState.js'
251export type {
252 Statistics,
253 StatisticsData,
254 TemplateStatistics,
255 TimestampedData
256} from './Statistics.js'
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,
269 ResponseStatus
270} from './UIProtocol.js'
271export {
272 WebSocketCloseEventStatusCode,
273 WebSocketCloseEventStatusString,
274 type WSError
275} from './WebSocket.js'
276export {
277 BroadcastChannelProcedureName,
278 type BroadcastChannelRequest,
279 type BroadcastChannelRequestPayload,
280 type BroadcastChannelResponse,
281 type BroadcastChannelResponsePayload,
282 type MessageEvent
283} from './WorkerBroadcastChannel.js'