fix: fix wrong charging profiles resorting at power limitation
[e-mobility-charging-stations-simulator.git] / src / types / index.ts
index 27ffb6d75014fea6a182fc509e713cc4b0c5da54..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,
@@ -110,18 +110,19 @@ export {
   type UnlockConnectorRequest,
 } 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,
@@ -146,6 +147,7 @@ export {
   type ChargingStationWorkerMessage,
   type ChargingStationWorkerMessageData,
   ChargingStationWorkerMessageEvents,
+  type EvseStatusWorkerType,
 } from './ChargingStationWorker';
 export type { ChargingStationInfo } from './ChargingStationInfo';
 export type {
@@ -162,7 +164,10 @@ export {
   type WsOptions,
 } from './ChargingStationTemplate';
 export {
+  ApplicationProtocolVersion,
   type ConfigurationData,
+  ConfigurationSection,
+  type LogConfiguration,
   type StationTemplateUrl,
   type StorageConfiguration,
   SupervisionUrlDistribution,
@@ -219,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,
@@ -244,9 +251,14 @@ export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables';
 export { OCPPVersion } from './ocpp/OCPPVersion';
 export { PerformanceData } from './orm/entities/PerformanceData';
 export { PerformanceRecord } from './orm/entities/PerformanceRecord';
-export type { Statistics, TimeSeries } from './Statistics';
+export type { Statistics, TimestampedData } from './Statistics';
 export {
   type WSError,
   WebSocketCloseEventStatusCode,
   WebSocketCloseEventStatusString,
 } from './WebSocket';
+export {
+  type Reservation,
+  type ReservationKey,
+  ReservationTerminationReason,
+} from './ocpp/Reservation';