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