refactor: cleanup import
[e-mobility-charging-stations-simulator.git] / src / types / index.ts
index 436941aa8f060527c62499f027884771411deebd..66a9682277abb2a637afa4c07f92a282232a12c3 100644 (file)
@@ -17,6 +17,7 @@ export {
   IdTagDistribution,
   type Status,
 } from './AutomaticTransactionGenerator';
+export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common';
 export {
   AvailabilityType,
   type BootNotificationRequest,
@@ -43,19 +44,16 @@ export {
   AvailabilityStatus,
   type BootNotificationResponse,
   ChargingProfileStatus,
-  ClearChargingProfileStatus,
   type ClearCacheResponse,
+  ClearChargingProfileStatus,
   ConfigurationStatus,
-  DataTransferStatus,
   type DataTransferResponse,
+  DataTransferStatus,
   type DiagnosticsStatusNotificationResponse,
   type ErrorResponse,
   type FirmwareStatusNotificationResponse,
-  GenericStatus,
-  type GenericResponse,
   type HeartbeatResponse,
   type MeterValuesResponse,
-  RegistrationStatusEnumType,
   type Response,
   type ResponseHandler,
   type StatusNotificationResponse,
@@ -82,13 +80,14 @@ export {
   type MessageEvent,
 } from './WorkerBroadcastChannel';
 export {
-  type ChangeAvailabilityRequest,
   type ChangeConfigurationRequest,
   type ClearChargingProfileRequest,
   type GetConfigurationRequest,
   type GetDiagnosticsRequest,
   OCPP16AvailabilityType,
   type OCPP16BootNotificationRequest,
+  type OCPP16CancelReservationRequest,
+  type OCPP16ChangeAvailabilityRequest,
   type OCPP16ClearCacheRequest,
   type OCPP16DataTransferRequest,
   OCPP16DataTransferVendorId,
@@ -100,6 +99,7 @@ export {
   OCPP16IncomingRequestCommand,
   OCPP16MessageTrigger,
   OCPP16RequestCommand,
+  type OCPP16ReserveNowRequest,
   type OCPP16StatusNotificationRequest,
   type OCPP16TriggerMessageRequest,
   type OCPP16UpdateFirmwareRequest,
@@ -108,28 +108,26 @@ export {
   type ResetRequest,
   type SetChargingProfileRequest,
   type UnlockConnectorRequest,
-  type OCPP16ReserveNowRequest,
-  type OCPP16CancelReservationRequest,
 } from './ocpp/1.6/Requests';
 export {
-  type ChangeAvailabilityResponse,
   type ChangeConfigurationResponse,
   type ClearChargingProfileResponse,
   type GetConfigurationResponse,
   type GetDiagnosticsResponse,
   type OCPP16BootNotificationResponse,
+  type OCPP16ChangeAvailabilityResponse,
   type OCPP16DataTransferResponse,
   OCPP16DataTransferStatus,
   type OCPP16DiagnosticsStatusNotificationResponse,
   type OCPP16FirmwareStatusNotificationResponse,
   type OCPP16GetCompositeScheduleResponse,
   type OCPP16HeartbeatResponse,
+  type OCPP16ReserveNowResponse,
   type OCPP16StatusNotificationResponse,
   type OCPP16TriggerMessageResponse,
   type OCPP16UpdateFirmwareResponse,
   type SetChargingProfileResponse,
   type UnlockConnectorResponse,
-  type OCPP16ReserveNowResponse,
 } from './ocpp/1.6/Responses';
 export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode';
 export {
@@ -166,6 +164,7 @@ export {
   type WsOptions,
 } from './ChargingStationTemplate';
 export {
+  ApplicationProtocolVersion,
   type ConfigurationData,
   ConfigurationSection,
   type LogConfiguration,
@@ -225,7 +224,9 @@ export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus';
 export {
   type OCPP16ChargingProfile,
   OCPP16ChargingProfilePurposeType,
+  OCPP16ChargingRateUnitType,
   type OCPP16ChargingSchedule,
+  type OCPP16ChargingSchedulePeriod,
 } from './ocpp/1.6/ChargingProfile';
 export {
   OCPP16StandardParametersKey,
@@ -256,5 +257,8 @@ export {
   WebSocketCloseEventStatusCode,
   WebSocketCloseEventStatusString,
 } from './WebSocket';
-export { ReservationFilterKey, ReservationTerminationReason } from './ocpp/1.6/Reservation';
-export { type Reservation } from './ocpp/Reservation';
+export {
+  type Reservation,
+  type ReservationKey,
+  ReservationTerminationReason,
+} from './ocpp/Reservation';