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