X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Findex.ts;h=cc80f527c8ed699f5b9d06442dd8074eb1738325;hb=6a4032b5d8f3cbaa18d3beddcdfe9d335c1cba90;hp=436941aa8f060527c62499f027884771411deebd;hpb=5d0498291974ec3a130ba4b1c4663d13d16992c5;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/index.ts b/src/types/index.ts index 436941aa..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,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 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, } from './ocpp/1.6/Responses'; export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode'; export { @@ -166,8 +164,10 @@ export { type WsOptions, } from './ChargingStationTemplate'; export { + ApplicationProtocolVersion, type ConfigurationData, ConfigurationSection, + type ElementsPerWorkerType, type LogConfiguration, type StationTemplateUrl, type StorageConfiguration, @@ -198,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, @@ -225,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, @@ -256,5 +266,9 @@ 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'; +export { ChargingStationEvents } from './ChargingStationEvents';