X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Findex.ts;h=cc80f527c8ed699f5b9d06442dd8074eb1738325;hb=41f3983a4f934199769f9ef1c46bfae2adc22b56;hp=27ffb6d75014fea6a182fc509e713cc4b0c5da54;hpb=69074173770c04bc5e5aa744b655edf9491daa46;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/index.ts b/src/types/index.ts index 27ffb6d7..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, @@ -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 OCPP16ClearChargingProfileResponse, 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,11 @@ export { type WsOptions, } from './ChargingStationTemplate'; export { + ApplicationProtocolVersion, type ConfigurationData, + ConfigurationSection, + type ElementsPerWorkerType, + type LogConfiguration, type StationTemplateUrl, type StorageConfiguration, SupervisionUrlDistribution, @@ -192,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, @@ -219,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, @@ -244,9 +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 { + type Reservation, + type ReservationKey, + ReservationTerminationReason, +} from './ocpp/Reservation'; +export { ChargingStationEvents } from './ChargingStationEvents';