X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Findex.ts;h=cc80f527c8ed699f5b9d06442dd8074eb1738325;hb=6a4032b5d8f3cbaa18d3beddcdfe9d335c1cba90;hp=7bfa2150abfaf1c26927024b6250d617541b24db;hpb=6e3d9d04815abfe85d31735fc38bdf0253d85026;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/index.ts b/src/types/index.ts index 7bfa2150..cc80f527 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -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,14 +80,15 @@ 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 OCPP16ClearChargingProfileRequest, type OCPP16DataTransferRequest, OCPP16DataTransferVendorId, type OCPP16DiagnosticsStatusNotificationRequest, @@ -100,6 +99,7 @@ export { OCPP16IncomingRequestCommand, OCPP16MessageTrigger, OCPP16RequestCommand, + type OCPP16ReserveNowRequest, type OCPP16StatusNotificationRequest, type OCPP16TriggerMessageRequest, type OCPP16UpdateFirmwareRequest, @@ -108,29 +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 OCPP16ClearChargingProfileResponse, 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, - type OCPP16CancelReservationResponse, } from './ocpp/1.6/Responses'; export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode'; export { @@ -167,7 +164,11 @@ export { type WsOptions, } from './ChargingStationTemplate'; export { + ApplicationProtocolVersion, type ConfigurationData, + ConfigurationSection, + type ElementsPerWorkerType, + type LogConfiguration, type StationTemplateUrl, type StorageConfiguration, SupervisionUrlDistribution, @@ -197,14 +198,22 @@ export type { } from './MeasurandPerPhaseSampledValueTemplates'; export type { MeasurandValues } from './MeasurandValues'; export { MessageType } from './ocpp/MessageType'; -export { type MeterValue, MeterValueMeasurand, MeterValuePhase } from './ocpp/MeterValues'; export { + type MeterValue, MeterValueContext, MeterValueLocation, + MeterValueMeasurand, + MeterValuePhase, MeterValueUnit, + type SampledValue, +} from './ocpp/MeterValues'; +export { type OCPP16MeterValue, + OCPP16MeterValueContext, + OCPP16MeterValueLocation, OCPP16MeterValueMeasurand, OCPP16MeterValuePhase, + OCPP16MeterValueUnit, type OCPP16MeterValuesRequest, type OCPP16MeterValuesResponse, type OCPP16SampledValue, @@ -224,7 +233,9 @@ export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus'; export { type OCPP16ChargingProfile, OCPP16ChargingProfilePurposeType, + OCPP16ChargingRateUnitType, type OCPP16ChargingSchedule, + type OCPP16ChargingSchedulePeriod, } from './ocpp/1.6/ChargingProfile'; export { OCPP16StandardParametersKey, @@ -249,11 +260,15 @@ 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 { ReservationFilterKey, ReservationTerminationReason } from './ocpp/1.6/Reservation'; -export { type Reservation } from './ocpp/Reservation'; +export { + type Reservation, + type ReservationKey, + ReservationTerminationReason, +} from './ocpp/Reservation'; +export { ChargingStationEvents } from './ChargingStationEvents';