feat: untangle add charging station op from start charging station op
[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,
244c1396 149 type ChargingStationWorkerEventError,
69074173
JB
150 type ChargingStationWorkerMessage,
151 type ChargingStationWorkerMessageData,
152 ChargingStationWorkerMessageEvents,
66a7748d
JB
153 type EvseStatusWorkerType
154} from './ChargingStationWorker.js'
155export type { ChargingStationInfo } from './ChargingStationInfo.js'
69074173
JB
156export type {
157 ChargingStationOcppConfiguration,
66a7748d
JB
158 ConfigurationKey
159} from './ChargingStationOcppConfiguration.js'
69074173
JB
160export {
161 AmpereUnits,
162 type ChargingStationTemplate,
163 CurrentType,
164 type FirmwareUpgrade,
165 PowerUnits,
166 Voltage,
66a7748d
JB
167 type WsOptions
168} from './ChargingStationTemplate.js'
69074173 169export {
a6080904 170 ApplicationProtocolVersion,
69074173 171 type ConfigurationData,
5d049829 172 ConfigurationSection,
65a1157a 173 type ElementsPerWorkerType,
3d48c1c1 174 type LogConfiguration,
69074173
JB
175 type StationTemplateUrl,
176 type StorageConfiguration,
177 SupervisionUrlDistribution,
178 type UIServerConfiguration,
66a7748d
JB
179 type WorkerConfiguration
180} from './ConfigurationData.js'
69074173
JB
181export {
182 type ConfigurationKeyType,
183 ConnectorPhaseRotation,
184 type OCPPConfigurationKey,
185 StandardParametersKey,
186 SupportedFeatureProfiles,
66a7748d
JB
187 VendorParametersKey
188} from './ocpp/Configuration.js'
189export type { ConnectorStatus } from './ConnectorStatus.js'
190export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum.js'
4ccf551d 191export { DBName, StorageType } from './Storage.js'
66a7748d
JB
192export type { EmptyObject } from './EmptyObject.js'
193export { ErrorType } from './ocpp/ErrorType.js'
194export type { EvseTemplate, EvseStatus } from './Evse.js'
195export { FileType } from './FileType.js'
196export type { HandleErrorParams } from './Error.js'
197export type { JsonObject, JsonType } from './JsonType.js'
69074173
JB
198export type {
199 MeasurandPerPhaseSampledValueTemplates,
66a7748d
JB
200 SampledValueTemplate
201} from './MeasurandPerPhaseSampledValueTemplates.js'
202export type { MeasurandValues } from './MeasurandValues.js'
203export { MessageType } from './ocpp/MessageType.js'
69074173 204export {
41f3983a 205 type MeterValue,
69074173
JB
206 MeterValueContext,
207 MeterValueLocation,
41f3983a
JB
208 MeterValueMeasurand,
209 MeterValuePhase,
69074173 210 MeterValueUnit,
66a7748d
JB
211 type SampledValue
212} from './ocpp/MeterValues.js'
41f3983a 213export {
0ac97927 214 type OCPP16MeterValue,
41f3983a
JB
215 OCPP16MeterValueContext,
216 OCPP16MeterValueLocation,
0ac97927
JB
217 OCPP16MeterValueMeasurand,
218 OCPP16MeterValuePhase,
41f3983a 219 OCPP16MeterValueUnit,
0ac97927
JB
220 type OCPP16MeterValuesRequest,
221 type OCPP16MeterValuesResponse,
66a7748d
JB
222 type OCPP16SampledValue
223} from './ocpp/1.6/MeterValues.js'
69074173
JB
224export {
225 OCPP16AuthorizationStatus,
226 type OCPP16AuthorizeRequest,
227 type OCPP16AuthorizeResponse,
0ac97927
JB
228 type OCPP16StartTransactionRequest,
229 type OCPP16StartTransactionResponse,
0ac97927
JB
230 OCPP16StopTransactionReason,
231 type OCPP16StopTransactionRequest,
66a7748d
JB
232 type OCPP16StopTransactionResponse
233} from './ocpp/1.6/Transaction.js'
234export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode.js'
235export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus.js'
69074173
JB
236export {
237 type OCPP16ChargingProfile,
238 OCPP16ChargingProfilePurposeType,
491dad29 239 OCPP16ChargingRateUnitType,
69074173 240 type OCPP16ChargingSchedule,
66a7748d
JB
241 type OCPP16ChargingSchedulePeriod
242} from './ocpp/1.6/ChargingProfile.js'
69074173
JB
243export {
244 OCPP16StandardParametersKey,
66a7748d
JB
245 OCPP16SupportedFeatureProfiles
246} from './ocpp/1.6/Configuration.js'
247export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus.js'
69074173 248export {
0ac97927 249 type OCPP20BootNotificationRequest,
0ac97927 250 type OCPP20ClearCacheRequest,
0ac97927 251 type OCPP20HeartbeatRequest,
0ac97927 252 OCPP20IncomingRequestCommand,
0ac97927 253 OCPP20RequestCommand,
66a7748d
JB
254 type OCPP20StatusNotificationRequest
255} from './ocpp/2.0/Requests.js'
69074173
JB
256export type {
257 OCPP20BootNotificationResponse,
258 OCPP20ClearCacheResponse,
259 OCPP20HeartbeatResponse,
66a7748d
JB
260 OCPP20StatusNotificationResponse
261} from './ocpp/2.0/Responses.js'
262export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables.js'
263export { OCPPVersion } from './ocpp/OCPPVersion.js'
66a7748d
JB
264export { PerformanceRecord } from './orm/entities/PerformanceRecord.js'
265export type { Statistics, TimestampedData } from './Statistics.js'
69074173 266export {
0ac97927
JB
267 type WSError,
268 WebSocketCloseEventStatusCode,
66a7748d
JB
269 WebSocketCloseEventStatusString
270} from './WebSocket.js'
282582e5
JB
271export {
272 type Reservation,
366f75f6 273 type ReservationKey,
66a7748d
JB
274 ReservationTerminationReason
275} from './ocpp/Reservation.js'
276export { ChargingStationEvents } from './ChargingStationEvents.js'