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