ocpp-messages 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +35 -0
- package/compile.js +17 -0
- package/package.json +28 -0
- package/schema/v1.6/Authorize.json +15 -0
- package/schema/v1.6/AuthorizeResponse.json +37 -0
- package/schema/v1.6/BootNotification.json +48 -0
- package/schema/v1.6/BootNotificationResponse.json +28 -0
- package/schema/v1.6/CancelReservation.json +14 -0
- package/schema/v1.6/CancelReservationResponse.json +18 -0
- package/schema/v1.6/ChangeAvailability.json +22 -0
- package/schema/v1.6/ChangeAvailabilityResponse.json +19 -0
- package/schema/v1.6/ChangeConfiguration.json +20 -0
- package/schema/v1.6/ChangeConfigurationResponse.json +20 -0
- package/schema/v1.6/ClearCache.json +7 -0
- package/schema/v1.6/ClearCacheResponse.json +18 -0
- package/schema/v1.6/ClearChargingProfile.json +25 -0
- package/schema/v1.6/ClearChargingProfileResponse.json +18 -0
- package/schema/v1.6/DataTransfer.json +22 -0
- package/schema/v1.6/DataTransferResponse.json +23 -0
- package/schema/v1.6/DiagnosticsStatusNotification.json +20 -0
- package/schema/v1.6/DiagnosticsStatusNotificationResponse.json +7 -0
- package/schema/v1.6/FirmwareStatusNotification.json +23 -0
- package/schema/v1.6/FirmwareStatusNotificationResponse.json +7 -0
- package/schema/v1.6/GetCompositeSchedule.json +25 -0
- package/schema/v1.6/GetCompositeScheduleResponse.json +74 -0
- package/schema/v1.6/GetConfiguration.json +15 -0
- package/schema/v1.6/GetConfigurationResponse.json +38 -0
- package/schema/v1.6/GetDiagnostics.json +29 -0
- package/schema/v1.6/GetDiagnosticsResponse.json +12 -0
- package/schema/v1.6/GetLocalListVersion.json +7 -0
- package/schema/v1.6/GetLocalListVersionResponse.json +14 -0
- package/schema/v1.6/Heartbeat.json +7 -0
- package/schema/v1.6/HeartbeatResponse.json +15 -0
- package/schema/v1.6/MeterValues.json +141 -0
- package/schema/v1.6/MeterValuesResponse.json +7 -0
- package/schema/v1.6/RemoteStartTransaction.json +119 -0
- package/schema/v1.6/RemoteStartTransactionResponse.json +18 -0
- package/schema/v1.6/RemoteStopTransaction.json +14 -0
- package/schema/v1.6/RemoteStopTransactionResponse.json +18 -0
- package/schema/v1.6/ReserveNow.json +32 -0
- package/schema/v1.6/ReserveNowResponse.json +21 -0
- package/schema/v1.6/Reset.json +18 -0
- package/schema/v1.6/ResetResponse.json +18 -0
- package/schema/v1.6/SendLocalList.json +63 -0
- package/schema/v1.6/SendLocalListResponse.json +20 -0
- package/schema/v1.6/SetChargingProfile.json +116 -0
- package/schema/v1.6/SetChargingProfileResponse.json +19 -0
- package/schema/v1.6/StartTransaction.json +31 -0
- package/schema/v1.6/StartTransactionResponse.json +41 -0
- package/schema/v1.6/StatusNotification.json +67 -0
- package/schema/v1.6/StatusNotificationResponse.json +7 -0
- package/schema/v1.6/StopTransaction.json +166 -0
- package/schema/v1.6/StopTransactionResponse.json +34 -0
- package/schema/v1.6/TriggerMessage.json +25 -0
- package/schema/v1.6/TriggerMessageResponse.json +19 -0
- package/schema/v1.6/UnlockConnector.json +14 -0
- package/schema/v1.6/UnlockConnectorResponse.json +19 -0
- package/schema/v1.6/UpdateFirmware.json +26 -0
- package/schema/v1.6/UpdateFirmwareResponse.json +7 -0
- package/schema/v2.0/AuthorizeRequest_v1p0.json +133 -0
- package/schema/v2.0/AuthorizeResponse_v1p0.json +154 -0
- package/schema/v2.0/BootNotificationRequest_v1p0.json +81 -0
- package/schema/v2.0/BootNotificationResponse_v1p0.json +30 -0
- package/schema/v2.0/CancelReservationRequest_v1p0.json +15 -0
- package/schema/v2.0/CancelReservationResponse_v1p0.json +20 -0
- package/schema/v2.0/CertificateSignedRequest_v1p0.json +29 -0
- package/schema/v2.0/CertificateSignedResponse_v1p0.json +20 -0
- package/schema/v2.0/ChangeAvailabilityRequest_v1p0.json +24 -0
- package/schema/v2.0/ChangeAvailabilityResponse_v1p0.json +21 -0
- package/schema/v2.0/ClearCacheRequest_v1p0.json +7 -0
- package/schema/v2.0/ClearCacheResponse_v1p0.json +20 -0
- package/schema/v2.0/ClearChargingProfileRequest_v1p0.json +43 -0
- package/schema/v2.0/ClearChargingProfileResponse_v1p0.json +20 -0
- package/schema/v2.0/ClearDisplayMessageRequest_v1p0.json +15 -0
- package/schema/v2.0/ClearDisplayMessageResponse_v1p0.json +20 -0
- package/schema/v2.0/ClearVariableMonitoringRequest_v1p0.json +20 -0
- package/schema/v2.0/ClearVariableMonitoringResponse_v1p0.json +48 -0
- package/schema/v2.0/ClearedChargingLimitRequest_v1p0.json +25 -0
- package/schema/v2.0/ClearedChargingLimitResponse_v1p0.json +7 -0
- package/schema/v2.0/CostUpdatedRequest_v1p0.json +20 -0
- package/schema/v2.0/CostUpdatedResponse_v1p0.json +7 -0
- package/schema/v2.0/CustomerInformationRequest_v1p0.json +130 -0
- package/schema/v2.0/CustomerInformationResponse_v1p0.json +21 -0
- package/schema/v2.0/DataTransferRequest_v1p0.json +21 -0
- package/schema/v2.0/DataTransferResponse_v1p0.json +23 -0
- package/schema/v2.0/DeleteCertificateRequest_v1p0.json +54 -0
- package/schema/v2.0/DeleteCertificateResponse_v1p0.json +21 -0
- package/schema/v2.0/FirmwareStatusNotificationRequest_v1p0.json +40 -0
- package/schema/v2.0/FirmwareStatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/Get15118EVCertificateRequest_v1p0.json +21 -0
- package/schema/v2.0/Get15118EVCertificateResponse_v1p0.json +62 -0
- package/schema/v2.0/GetBaseReportRequest_v1p0.json +25 -0
- package/schema/v2.0/GetBaseReportResponse_v1p0.json +21 -0
- package/schema/v2.0/GetCertificateStatusRequest_v1p0.json +58 -0
- package/schema/v2.0/GetCertificateStatusResponse_v1p0.json +24 -0
- package/schema/v2.0/GetChargingProfilesRequest_v1p0.json +73 -0
- package/schema/v2.0/GetChargingProfilesResponse_v1p0.json +20 -0
- package/schema/v2.0/GetCompositeScheduleRequest_v1p0.json +27 -0
- package/schema/v2.0/GetCompositeScheduleResponse_v1p0.json +108 -0
- package/schema/v2.0/GetDisplayMessagesRequest_v1p0.json +42 -0
- package/schema/v2.0/GetDisplayMessagesResponse_v1p0.json +20 -0
- package/schema/v2.0/GetInstalledCertificateIdsRequest_v1p0.json +24 -0
- package/schema/v2.0/GetInstalledCertificateIdsResponse_v1p0.json +70 -0
- package/schema/v2.0/GetLocalListVersionRequest_v1p0.json +7 -0
- package/schema/v2.0/GetLocalListVersionResponse_v1p0.json +15 -0
- package/schema/v2.0/GetLogRequest_v1p0.json +61 -0
- package/schema/v2.0/GetLogResponse_v1p0.json +25 -0
- package/schema/v2.0/GetMonitoringReportRequest_v1p0.json +112 -0
- package/schema/v2.0/GetMonitoringReportResponse_v1p0.json +21 -0
- package/schema/v2.0/GetReportRequest_v1p0.json +113 -0
- package/schema/v2.0/GetReportResponse_v1p0.json +21 -0
- package/schema/v2.0/GetTransactionStatusRequest_v1p0.json +13 -0
- package/schema/v2.0/GetTransactionStatusResponse_v1p0.json +18 -0
- package/schema/v2.0/GetVariablesRequest_v1p0.json +108 -0
- package/schema/v2.0/GetVariablesResponse_v1p0.json +127 -0
- package/schema/v2.0/HeartbeatRequest_v1p0.json +7 -0
- package/schema/v2.0/HeartbeatResponse_v1p0.json +16 -0
- package/schema/v2.0/InstallCertificateRequest_v1p0.json +29 -0
- package/schema/v2.0/InstallCertificateResponse_v1p0.json +25 -0
- package/schema/v2.0/LogStatusNotificationRequest_v1p0.json +29 -0
- package/schema/v2.0/LogStatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/MeterValuesRequest_v1p0.json +212 -0
- package/schema/v2.0/MeterValuesResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyCentralChargingNeedsRequest_v1p0.json +191 -0
- package/schema/v2.0/NotifyCentralChargingNeedsResponse_v1p0.json +20 -0
- package/schema/v2.0/NotifyChargingLimitRequest_v1p0.json +117 -0
- package/schema/v2.0/NotifyChargingLimitResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyCustomerInformationRequest_v1p0.json +32 -0
- package/schema/v2.0/NotifyCustomerInformationResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyDisplayMessagesRequest_v1p0.json +157 -0
- package/schema/v2.0/NotifyDisplayMessagesResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyEVChargingNeedsRequest_v1p0.json +125 -0
- package/schema/v2.0/NotifyEVChargingNeedsResponse_v1p0.json +21 -0
- package/schema/v2.0/NotifyEVChargingScheduleRequest_v1p0.json +88 -0
- package/schema/v2.0/NotifyEVChargingScheduleResponse_v1p0.json +20 -0
- package/schema/v2.0/NotifyEventRequest_v1p0.json +193 -0
- package/schema/v2.0/NotifyEventResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyMonitoringReportRequest_v1p0.json +160 -0
- package/schema/v2.0/NotifyMonitoringReportResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyReportRequest_v1p0.json +216 -0
- package/schema/v2.0/NotifyReportResponse_v1p0.json +7 -0
- package/schema/v2.0/PublishFirmwareRequest_v1p0.json +24 -0
- package/schema/v2.0/PublishFirmwareResponse_v1p0.json +20 -0
- package/schema/v2.0/PublishFirmwareStatusNotificationRequest_v1p0.json +36 -0
- package/schema/v2.0/PublishFirmwareStatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/Renegotiate15118ScheduleRequest_v1p0.json +33 -0
- package/schema/v2.0/Renegotiate15118ScheduleResponse_v1p0.json +20 -0
- package/schema/v2.0/ReportChargingProfilesRequest_v1p0.json +183 -0
- package/schema/v2.0/ReportChargingProfilesResponse_v1p0.json +7 -0
- package/schema/v2.0/RequestStartTransactionRequest_v1p0.json +222 -0
- package/schema/v2.0/RequestStartTransactionResponse_v1p0.json +24 -0
- package/schema/v2.0/RequestStopTransactionRequest_v1p0.json +16 -0
- package/schema/v2.0/RequestStopTransactionResponse_v1p0.json +20 -0
- package/schema/v2.0/ReservationStatusUpdateRequest_v1p0.json +24 -0
- package/schema/v2.0/ReservationStatusUpdateResponse_v1p0.json +7 -0
- package/schema/v2.0/ReserveNowRequest_v1p0.json +151 -0
- package/schema/v2.0/ReserveNowResponse_v1p0.json +23 -0
- package/schema/v2.0/ResetRequest_v1p0.json +20 -0
- package/schema/v2.0/ResetResponse_v1p0.json +21 -0
- package/schema/v2.0/SecurityEventNotificationRequest_v1p0.json +41 -0
- package/schema/v2.0/SecurityEventNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/SendLocalListRequest_v1p0.json +211 -0
- package/schema/v2.0/SendLocalListResponse_v1p0.json +21 -0
- package/schema/v2.0/SetChargingProfileRequest_v1p0.json +158 -0
- package/schema/v2.0/SetChargingProfileResponse_v1p0.json +20 -0
- package/schema/v2.0/SetDisplayMessageRequest_v1p0.json +144 -0
- package/schema/v2.0/SetDisplayMessageResponse_v1p0.json +24 -0
- package/schema/v2.0/SetMonitoringBaseRequest_v1p0.json +21 -0
- package/schema/v2.0/SetMonitoringBaseResponse_v1p0.json +21 -0
- package/schema/v2.0/SetMonitoringLevelRequest_v1p0.json +15 -0
- package/schema/v2.0/SetMonitoringLevelResponse_v1p0.json +20 -0
- package/schema/v2.0/SetNetworkProfileRequest_v1p0.json +182 -0
- package/schema/v2.0/SetNetworkProfileResponse_v1p0.json +21 -0
- package/schema/v2.0/SetVariableMonitoringRequest_v1p0.json +123 -0
- package/schema/v2.0/SetVariableMonitoringResponse_v1p0.json +133 -0
- package/schema/v2.0/SetVariablesRequest_v1p0.json +113 -0
- package/schema/v2.0/SetVariablesResponse_v1p0.json +126 -0
- package/schema/v2.0/SignCertificateRequest_v1p0.json +24 -0
- package/schema/v2.0/SignCertificateResponse_v1p0.json +20 -0
- package/schema/v2.0/StatusNotificationRequest_v1p0.json +36 -0
- package/schema/v2.0/StatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/TransactionEventRequest_v1p0.json +415 -0
- package/schema/v2.0/TransactionEventResponse_v1p0.json +136 -0
- package/schema/v2.0/TriggerMessageRequest_v1p0.json +51 -0
- package/schema/v2.0/TriggerMessageResponse_v1p0.json +21 -0
- package/schema/v2.0/UnlockConnectorRequest_v1p0.json +19 -0
- package/schema/v2.0/UnlockConnectorResponse_v1p0.json +20 -0
- package/schema/v2.0/UnpublishFirmwareRequest_v1p0.json +16 -0
- package/schema/v2.0/UnpublishFirmwareResponse_v1p0.json +21 -0
- package/schema/v2.0/Update15118EVCertificateRequest_v1p0.json +21 -0
- package/schema/v2.0/Update15118EVCertificateResponse_v1p0.json +24 -0
- package/schema/v2.0/UpdateFirmwareRequest_v1p0.json +58 -0
- package/schema/v2.0/UpdateFirmwareResponse_v1p0.json +21 -0
- package/v1.6/Authorize.d.ts +10 -0
- package/v1.6/AuthorizeResponse.d.ts +15 -0
- package/v1.6/BootNotification.d.ts +18 -0
- package/v1.6/BootNotificationResponse.d.ts +12 -0
- package/v1.6/CancelReservation.d.ts +10 -0
- package/v1.6/CancelReservationResponse.d.ts +10 -0
- package/v1.6/ChangeAvailability.d.ts +11 -0
- package/v1.6/ChangeAvailabilityResponse.d.ts +10 -0
- package/v1.6/ChangeConfiguration.d.ts +11 -0
- package/v1.6/ChangeConfigurationResponse.d.ts +10 -0
- package/v1.6/ClearCache.d.ts +8 -0
- package/v1.6/ClearCacheResponse.d.ts +10 -0
- package/v1.6/ClearChargingProfile.d.ts +13 -0
- package/v1.6/ClearChargingProfileResponse.d.ts +10 -0
- package/v1.6/DataTransfer.d.ts +12 -0
- package/v1.6/DataTransferResponse.d.ts +11 -0
- package/v1.6/DiagnosticsStatusNotification.d.ts +10 -0
- package/v1.6/DiagnosticsStatusNotificationResponse.d.ts +8 -0
- package/v1.6/FirmwareStatusNotification.d.ts +10 -0
- package/v1.6/FirmwareStatusNotificationResponse.d.ts +8 -0
- package/v1.6/GetCompositeSchedule.d.ts +12 -0
- package/v1.6/GetCompositeScheduleResponse.d.ts +25 -0
- package/v1.6/GetConfiguration.d.ts +10 -0
- package/v1.6/GetConfigurationResponse.d.ts +16 -0
- package/v1.6/GetDiagnostics.d.ts +14 -0
- package/v1.6/GetDiagnosticsResponse.d.ts +10 -0
- package/v1.6/GetLocalListVersion.d.ts +8 -0
- package/v1.6/GetLocalListVersionResponse.d.ts +10 -0
- package/v1.6/Heartbeat.d.ts +8 -0
- package/v1.6/HeartbeatResponse.d.ts +10 -0
- package/v1.6/MeterValues.d.ts +91 -0
- package/v1.6/MeterValuesResponse.d.ts +8 -0
- package/v1.6/RemoteStartTransaction.d.ts +35 -0
- package/v1.6/RemoteStartTransactionResponse.d.ts +10 -0
- package/v1.6/RemoteStopTransaction.d.ts +10 -0
- package/v1.6/RemoteStopTransactionResponse.d.ts +10 -0
- package/v1.6/ReserveNow.d.ts +14 -0
- package/v1.6/ReserveNowResponse.d.ts +10 -0
- package/v1.6/Reset.d.ts +10 -0
- package/v1.6/ResetResponse.d.ts +10 -0
- package/v1.6/SendLocalList.d.ts +19 -0
- package/v1.6/SendLocalListResponse.d.ts +10 -0
- package/v1.6/SetChargingProfile.d.ts +34 -0
- package/v1.6/SetChargingProfileResponse.d.ts +10 -0
- package/v1.6/StartTransaction.d.ts +14 -0
- package/v1.6/StartTransactionResponse.d.ts +16 -0
- package/v1.6/StatusNotification.d.ts +41 -0
- package/v1.6/StatusNotificationResponse.d.ts +8 -0
- package/v1.6/StopTransaction.d.ts +85 -0
- package/v1.6/StopTransactionResponse.d.ts +15 -0
- package/v1.6/TriggerMessage.d.ts +17 -0
- package/v1.6/TriggerMessageResponse.d.ts +10 -0
- package/v1.6/UnlockConnector.d.ts +10 -0
- package/v1.6/UnlockConnectorResponse.d.ts +10 -0
- package/v1.6/UpdateFirmware.d.ts +13 -0
- package/v1.6/UpdateFirmwareResponse.d.ts +8 -0
- package/v1.6/index.d.ts +214 -0
- package/v2.0/AuthorizeRequest.d.ts +111 -0
- package/v2.0/AuthorizeResponse.d.ts +179 -0
- package/v2.0/BootNotificationRequest.d.ts +92 -0
- package/v2.0/BootNotificationResponse.d.ts +53 -0
- package/v2.0/CancelReservationRequest.d.ts +22 -0
- package/v2.0/CancelReservationResponse.d.ts +42 -0
- package/v2.0/CertificateSignedRequest.d.ts +32 -0
- package/v2.0/CertificateSignedResponse.d.ts +42 -0
- package/v2.0/ChangeAvailabilityRequest.d.ts +47 -0
- package/v2.0/ChangeAvailabilityResponse.d.ts +42 -0
- package/v2.0/ClearCacheRequest.d.ts +17 -0
- package/v2.0/ClearCacheResponse.d.ts +42 -0
- package/v2.0/ClearChargingProfileRequest.d.ts +60 -0
- package/v2.0/ClearChargingProfileResponse.d.ts +42 -0
- package/v2.0/ClearDisplayMessageRequest.d.ts +22 -0
- package/v2.0/ClearDisplayMessageResponse.d.ts +42 -0
- package/v2.0/ClearVariableMonitoringRequest.d.ts +24 -0
- package/v2.0/ClearVariableMonitoringResponse.d.ts +56 -0
- package/v2.0/ClearedChargingLimitRequest.d.ts +29 -0
- package/v2.0/ClearedChargingLimitResponse.d.ts +17 -0
- package/v2.0/CostUpdatedRequest.d.ts +29 -0
- package/v2.0/CostUpdatedResponse.d.ts +17 -0
- package/v2.0/CustomerInformationRequest.d.ts +114 -0
- package/v2.0/CustomerInformationResponse.d.ts +42 -0
- package/v2.0/DataTransferRequest.d.ts +35 -0
- package/v2.0/DataTransferResponse.d.ts +49 -0
- package/v2.0/DeleteCertificateRequest.d.ts +44 -0
- package/v2.0/DeleteCertificateResponse.d.ts +42 -0
- package/v2.0/FirmwareStatusNotificationRequest.d.ts +45 -0
- package/v2.0/FirmwareStatusNotificationResponse.d.ts +17 -0
- package/v2.0/Get15118EVCertificateRequest.d.ts +35 -0
- package/v2.0/Get15118EVCertificateResponse.d.ts +47 -0
- package/v2.0/GetBaseReportRequest.d.ts +29 -0
- package/v2.0/GetBaseReportResponse.d.ts +42 -0
- package/v2.0/GetCertificateStatusRequest.d.ts +50 -0
- package/v2.0/GetCertificateStatusResponse.d.ts +47 -0
- package/v2.0/GetChargingProfilesRequest.d.ts +83 -0
- package/v2.0/GetChargingProfilesResponse.d.ts +42 -0
- package/v2.0/GetCompositeScheduleRequest.d.ts +36 -0
- package/v2.0/GetCompositeScheduleResponse.d.ts +119 -0
- package/v2.0/GetDisplayMessagesRequest.d.ts +43 -0
- package/v2.0/GetDisplayMessagesResponse.d.ts +42 -0
- package/v2.0/GetInstalledCertificateIdsRequest.d.ts +31 -0
- package/v2.0/GetInstalledCertificateIdsResponse.d.ts +95 -0
- package/v2.0/GetLocalListVersionRequest.d.ts +17 -0
- package/v2.0/GetLocalListVersionResponse.d.ts +22 -0
- package/v2.0/GetLogRequest.d.ts +71 -0
- package/v2.0/GetLogResponse.d.ts +47 -0
- package/v2.0/GetMonitoringReportRequest.d.ts +104 -0
- package/v2.0/GetMonitoringReportResponse.d.ts +42 -0
- package/v2.0/GetReportRequest.d.ts +105 -0
- package/v2.0/GetReportResponse.d.ts +42 -0
- package/v2.0/GetTransactionStatusRequest.d.ts +22 -0
- package/v2.0/GetTransactionStatusResponse.d.ts +27 -0
- package/v2.0/GetVariablesRequest.d.ts +93 -0
- package/v2.0/GetVariablesResponse.d.ts +131 -0
- package/v2.0/HeartbeatRequest.d.ts +17 -0
- package/v2.0/HeartbeatResponse.d.ts +22 -0
- package/v2.0/InstallCertificateRequest.d.ts +33 -0
- package/v2.0/InstallCertificateResponse.d.ts +42 -0
- package/v2.0/LogStatusNotificationRequest.d.ts +38 -0
- package/v2.0/LogStatusNotificationResponse.d.ts +17 -0
- package/v2.0/MeterValuesRequest.d.ts +187 -0
- package/v2.0/MeterValuesResponse.d.ts +17 -0
- package/v2.0/NotifyChargingLimitRequest.d.ts +267 -0
- package/v2.0/NotifyChargingLimitResponse.d.ts +17 -0
- package/v2.0/NotifyCustomerInformationRequest.d.ts +43 -0
- package/v2.0/NotifyCustomerInformationResponse.d.ts +17 -0
- package/v2.0/NotifyDisplayMessagesRequest.d.ts +159 -0
- package/v2.0/NotifyDisplayMessagesResponse.d.ts +17 -0
- package/v2.0/NotifyEVChargingNeedsRequest.d.ts +159 -0
- package/v2.0/NotifyEVChargingNeedsResponse.d.ts +42 -0
- package/v2.0/NotifyEVChargingScheduleRequest.d.ts +245 -0
- package/v2.0/NotifyEVChargingScheduleResponse.d.ts +42 -0
- package/v2.0/NotifyEventRequest.d.ts +171 -0
- package/v2.0/NotifyEventResponse.d.ts +17 -0
- package/v2.0/NotifyMonitoringReportRequest.d.ts +168 -0
- package/v2.0/NotifyMonitoringReportResponse.d.ts +17 -0
- package/v2.0/NotifyReportRequest.d.ts +212 -0
- package/v2.0/NotifyReportResponse.d.ts +17 -0
- package/v2.0/PublishFirmwareRequest.d.ts +50 -0
- package/v2.0/PublishFirmwareResponse.d.ts +42 -0
- package/v2.0/PublishFirmwareStatusNotificationRequest.d.ts +50 -0
- package/v2.0/PublishFirmwareStatusNotificationResponse.d.ts +17 -0
- package/v2.0/ReportChargingProfilesRequest.d.ts +337 -0
- package/v2.0/ReportChargingProfilesResponse.d.ts +17 -0
- package/v2.0/RequestStartTransactionRequest.d.ts +372 -0
- package/v2.0/RequestStartTransactionResponse.d.ts +47 -0
- package/v2.0/RequestStopTransactionRequest.d.ts +22 -0
- package/v2.0/RequestStopTransactionResponse.d.ts +42 -0
- package/v2.0/ReservationStatusUpdateRequest.d.ts +29 -0
- package/v2.0/ReservationStatusUpdateResponse.d.ts +17 -0
- package/v2.0/ReserveNowRequest.d.ts +110 -0
- package/v2.0/ReserveNowResponse.d.ts +42 -0
- package/v2.0/ResetRequest.d.ts +29 -0
- package/v2.0/ResetResponse.d.ts +42 -0
- package/v2.0/SecurityEventNotificationRequest.d.ts +32 -0
- package/v2.0/SecurityEventNotificationResponse.d.ts +17 -0
- package/v2.0/SendLocalListRequest.d.ts +187 -0
- package/v2.0/SendLocalListResponse.d.ts +42 -0
- package/v2.0/SetChargingProfileRequest.d.ts +318 -0
- package/v2.0/SetChargingProfileResponse.d.ts +42 -0
- package/v2.0/SetDisplayMessageRequest.d.ts +146 -0
- package/v2.0/SetDisplayMessageResponse.d.ts +48 -0
- package/v2.0/SetMonitoringBaseRequest.d.ts +24 -0
- package/v2.0/SetMonitoringBaseResponse.d.ts +42 -0
- package/v2.0/SetMonitoringLevelRequest.d.ts +47 -0
- package/v2.0/SetMonitoringLevelResponse.d.ts +42 -0
- package/v2.0/SetNetworkProfileRequest.d.ts +198 -0
- package/v2.0/SetNetworkProfileResponse.d.ts +42 -0
- package/v2.0/SetVariableMonitoringRequest.d.ts +141 -0
- package/v2.0/SetVariableMonitoringResponse.d.ts +157 -0
- package/v2.0/SetVariablesRequest.d.ts +96 -0
- package/v2.0/SetVariablesResponse.d.ts +119 -0
- package/v2.0/SignCertificateRequest.d.ts +30 -0
- package/v2.0/SignCertificateResponse.d.ts +42 -0
- package/v2.0/StatusNotificationRequest.d.ts +39 -0
- package/v2.0/StatusNotificationResponse.d.ts +17 -0
- package/v2.0/TransactionEventRequest.d.ts +371 -0
- package/v2.0/TransactionEventResponse.d.ts +176 -0
- package/v2.0/TriggerMessageRequest.d.ts +57 -0
- package/v2.0/TriggerMessageResponse.d.ts +42 -0
- package/v2.0/UnlockConnectorRequest.d.ts +27 -0
- package/v2.0/UnlockConnectorResponse.d.ts +42 -0
- package/v2.0/UnpublishFirmwareRequest.d.ts +22 -0
- package/v2.0/UnpublishFirmwareResponse.d.ts +24 -0
- package/v2.0/UpdateFirmwareRequest.d.ts +76 -0
- package/v2.0/UpdateFirmwareResponse.d.ts +48 -0
- package/v2.0/index.d.ts +129 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Message_ Info. Priority. Message_ Priority_ Code
|
|
10
|
+
* urn:x-enexis:ecdm:uid:1:569253
|
|
11
|
+
* With what priority should this message be shown
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export type MessagePriorityEnumType = "AlwaysFront" | "InFront" | "NormalCycle";
|
|
15
|
+
/**
|
|
16
|
+
* Message_ Info. State. Message_ State_ Code
|
|
17
|
+
* urn:x-enexis:ecdm:uid:1:569254
|
|
18
|
+
* During what state should this message be shown. When omitted this message should be shown in any state of the Charging Station.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export type MessageStateEnumType = "Charging" | "Faulted" | "Idle" | "Unavailable";
|
|
22
|
+
/**
|
|
23
|
+
* Message_ Content. Format. Message_ Format_ Code
|
|
24
|
+
* urn:x-enexis:ecdm:uid:1:570848
|
|
25
|
+
* Format of the message.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export type MessageFormatEnumType = "ASCII" | "HTML" | "URI" | "UTF8";
|
|
29
|
+
|
|
30
|
+
export interface UrnOCPPCp220203NotifyDisplayMessagesRequest {
|
|
31
|
+
customData?: CustomDataType;
|
|
32
|
+
/**
|
|
33
|
+
* @minItems 1
|
|
34
|
+
*/
|
|
35
|
+
messageInfo?: [MessageInfoType, ...MessageInfoType[]];
|
|
36
|
+
/**
|
|
37
|
+
* The id of the <<getdisplaymessagesrequest,GetDisplayMessagesRequest>> that requested this message.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
requestId: number;
|
|
41
|
+
/**
|
|
42
|
+
* "to be continued" indicator. Indicates whether another part of the report follows in an upcoming NotifyDisplayMessagesRequest message. Default value when omitted is false.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
tbc?: boolean;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
|
|
49
|
+
*/
|
|
50
|
+
export interface CustomDataType {
|
|
51
|
+
vendorId: string;
|
|
52
|
+
[k: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Message_ Info
|
|
56
|
+
* urn:x-enexis:ecdm:uid:2:233264
|
|
57
|
+
* Contains message details, for a message to be displayed on a Charging Station.
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export interface MessageInfoType {
|
|
61
|
+
customData?: CustomDataType;
|
|
62
|
+
display?: ComponentType;
|
|
63
|
+
/**
|
|
64
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
65
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
66
|
+
* Master resource identifier, unique within an exchange context. It is defined within the OCPP context as a positive Integer value (greater or equal to zero).
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
id: number;
|
|
70
|
+
priority: MessagePriorityEnumType;
|
|
71
|
+
state?: MessageStateEnumType;
|
|
72
|
+
/**
|
|
73
|
+
* Message_ Info. Start. Date_ Time
|
|
74
|
+
* urn:x-enexis:ecdm:uid:1:569256
|
|
75
|
+
* From what date-time should this message be shown. If omitted: directly.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
startDateTime?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Message_ Info. End. Date_ Time
|
|
81
|
+
* urn:x-enexis:ecdm:uid:1:569257
|
|
82
|
+
* Until what date-time should this message be shown, after this date/time this message SHALL be removed.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
endDateTime?: string;
|
|
86
|
+
/**
|
|
87
|
+
* During which transaction shall this message be shown.
|
|
88
|
+
* Message SHALL be removed by the Charging Station after transaction has
|
|
89
|
+
* ended.
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
transactionId?: string;
|
|
93
|
+
message: MessageContentType;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* A physical or logical component
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
export interface ComponentType {
|
|
100
|
+
customData?: CustomDataType;
|
|
101
|
+
evse?: EVSEType;
|
|
102
|
+
/**
|
|
103
|
+
* Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
name: string;
|
|
107
|
+
/**
|
|
108
|
+
* Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
instance?: string;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* EVSE
|
|
115
|
+
* urn:x-oca:ocpp:uid:2:233123
|
|
116
|
+
* Electric Vehicle Supply Equipment
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
export interface EVSEType {
|
|
120
|
+
customData?: CustomDataType;
|
|
121
|
+
/**
|
|
122
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
123
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
124
|
+
* EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
id: number;
|
|
128
|
+
/**
|
|
129
|
+
* An id to designate a specific connector (on an EVSE) by connector index number.
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
connectorId?: number;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Message_ Content
|
|
136
|
+
* urn:x-enexis:ecdm:uid:2:234490
|
|
137
|
+
* Contains message details, for a message to be displayed on a Charging Station.
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
export interface MessageContentType {
|
|
142
|
+
customData?: CustomDataType;
|
|
143
|
+
format: MessageFormatEnumType;
|
|
144
|
+
/**
|
|
145
|
+
* Message_ Content. Language. Language_ Code
|
|
146
|
+
* urn:x-enexis:ecdm:uid:1:570849
|
|
147
|
+
* Message language identifier. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
language?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Message_ Content. Content. Message
|
|
153
|
+
* urn:x-enexis:ecdm:uid:1:570852
|
|
154
|
+
* Message contents.
|
|
155
|
+
*
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
content: string;
|
|
159
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export interface UrnOCPPCp220203NotifyDisplayMessagesResponse {
|
|
9
|
+
customData?: CustomDataType;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
|
|
13
|
+
*/
|
|
14
|
+
export interface CustomDataType {
|
|
15
|
+
vendorId: string;
|
|
16
|
+
[k: string]: unknown;
|
|
17
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Charging_ Needs. Requested. Energy_ Transfer_ Mode_ Code
|
|
10
|
+
* urn:x-oca:ocpp:uid:1:569209
|
|
11
|
+
* Mode of energy transfer requested by the EV.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export type EnergyTransferModeEnumType = "DC" | "AC_single_phase" | "AC_two_phase" | "AC_three_phase";
|
|
15
|
+
|
|
16
|
+
export interface UrnOCPPCp220203NotifyEVChargingNeedsRequest {
|
|
17
|
+
customData?: CustomDataType;
|
|
18
|
+
/**
|
|
19
|
+
* Contains the maximum schedule tuples the car supports per schedule.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
maxScheduleTuples?: number;
|
|
23
|
+
chargingNeeds: ChargingNeedsType;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the EVSE and connector to which the EV is connected. EvseId may not be 0.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
evseId: number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
|
|
32
|
+
*/
|
|
33
|
+
export interface CustomDataType {
|
|
34
|
+
vendorId: string;
|
|
35
|
+
[k: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Charging_ Needs
|
|
39
|
+
* urn:x-oca:ocpp:uid:2:233249
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export interface ChargingNeedsType {
|
|
43
|
+
customData?: CustomDataType;
|
|
44
|
+
acChargingParameters?: ACChargingParametersType;
|
|
45
|
+
dcChargingParameters?: DCChargingParametersType;
|
|
46
|
+
requestedEnergyTransfer: EnergyTransferModeEnumType;
|
|
47
|
+
/**
|
|
48
|
+
* Charging_ Needs. Departure_ Time. Date_ Time
|
|
49
|
+
* urn:x-oca:ocpp:uid:1:569223
|
|
50
|
+
* Estimated departure time of the EV.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
departureTime?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* AC_ Charging_ Parameters
|
|
57
|
+
* urn:x-oca:ocpp:uid:2:233250
|
|
58
|
+
* EV AC charging parameters.
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export interface ACChargingParametersType {
|
|
63
|
+
customData?: CustomDataType;
|
|
64
|
+
/**
|
|
65
|
+
* AC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount
|
|
66
|
+
* urn:x-oca:ocpp:uid:1:569211
|
|
67
|
+
* Amount of energy requested (in Wh). This includes energy required for preconditioning.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
energyAmount: number;
|
|
71
|
+
/**
|
|
72
|
+
* AC_ Charging_ Parameters. EV_ Min. Current
|
|
73
|
+
* urn:x-oca:ocpp:uid:1:569212
|
|
74
|
+
* Minimum current (amps) supported by the electric vehicle (per phase).
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
evMinCurrent: number;
|
|
78
|
+
/**
|
|
79
|
+
* AC_ Charging_ Parameters. EV_ Max. Current
|
|
80
|
+
* urn:x-oca:ocpp:uid:1:569213
|
|
81
|
+
* Maximum current (amps) supported by the electric vehicle (per phase). Includes cable capacity.
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
evMaxCurrent: number;
|
|
85
|
+
/**
|
|
86
|
+
* AC_ Charging_ Parameters. EV_ Max. Voltage
|
|
87
|
+
* urn:x-oca:ocpp:uid:1:569214
|
|
88
|
+
* Maximum voltage supported by the electric vehicle
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
evMaxVoltage: number;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* DC_ Charging_ Parameters
|
|
95
|
+
* urn:x-oca:ocpp:uid:2:233251
|
|
96
|
+
* EV DC charging parameters
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export interface DCChargingParametersType {
|
|
102
|
+
customData?: CustomDataType;
|
|
103
|
+
/**
|
|
104
|
+
* DC_ Charging_ Parameters. EV_ Max. Current
|
|
105
|
+
* urn:x-oca:ocpp:uid:1:569215
|
|
106
|
+
* Maximum current (amps) supported by the electric vehicle. Includes cable capacity.
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
evMaxCurrent: number;
|
|
110
|
+
/**
|
|
111
|
+
* DC_ Charging_ Parameters. EV_ Max. Voltage
|
|
112
|
+
* urn:x-oca:ocpp:uid:1:569216
|
|
113
|
+
* Maximum voltage supported by the electric vehicle
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
evMaxVoltage: number;
|
|
117
|
+
/**
|
|
118
|
+
* DC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount
|
|
119
|
+
* urn:x-oca:ocpp:uid:1:569217
|
|
120
|
+
* Amount of energy requested (in Wh). This inludes energy required for preconditioning.
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
energyAmount?: number;
|
|
124
|
+
/**
|
|
125
|
+
* DC_ Charging_ Parameters. EV_ Max. Power
|
|
126
|
+
* urn:x-oca:ocpp:uid:1:569218
|
|
127
|
+
* Maximum power (in W) supported by the electric vehicle. Required for DC charging.
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
evMaxPower?: number;
|
|
131
|
+
/**
|
|
132
|
+
* DC_ Charging_ Parameters. State_ Of_ Charge. Numeric
|
|
133
|
+
* urn:x-oca:ocpp:uid:1:569219
|
|
134
|
+
* Energy available in the battery (in percent of the battery capacity)
|
|
135
|
+
*
|
|
136
|
+
*/
|
|
137
|
+
stateOfCharge?: number;
|
|
138
|
+
/**
|
|
139
|
+
* DC_ Charging_ Parameters. EV_ Energy_ Capacity. Numeric
|
|
140
|
+
* urn:x-oca:ocpp:uid:1:569220
|
|
141
|
+
* Capacity of the electric vehicle battery (in Wh)
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
evEnergyCapacity?: number;
|
|
145
|
+
/**
|
|
146
|
+
* DC_ Charging_ Parameters. Full_ SOC. Percentage
|
|
147
|
+
* urn:x-oca:ocpp:uid:1:569221
|
|
148
|
+
* Percentage of SoC at which the EV considers the battery fully charged. (possible values: 0 - 100)
|
|
149
|
+
*
|
|
150
|
+
*/
|
|
151
|
+
fullSoC?: number;
|
|
152
|
+
/**
|
|
153
|
+
* DC_ Charging_ Parameters. Bulk_ SOC. Percentage
|
|
154
|
+
* urn:x-oca:ocpp:uid:1:569222
|
|
155
|
+
* Percentage of SoC at which the EV considers a fast charging process to end. (possible values: 0 - 100)
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
bulkSoC?: number;
|
|
159
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Returns whether the CSMS has been able to process the message successfully. It does not imply that the evChargingNeeds can be met with the current charging profile.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type NotifyEVChargingNeedsStatusEnumType = "Accepted" | "Rejected" | "Processing";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203NotifyEVChargingNeedsResponse {
|
|
15
|
+
customData?: CustomDataType;
|
|
16
|
+
status: NotifyEVChargingNeedsStatusEnumType;
|
|
17
|
+
statusInfo?: StatusInfoType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
|
|
21
|
+
*/
|
|
22
|
+
export interface CustomDataType {
|
|
23
|
+
vendorId: string;
|
|
24
|
+
[k: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Element providing more information about the status.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export interface StatusInfoType {
|
|
31
|
+
customData?: CustomDataType;
|
|
32
|
+
/**
|
|
33
|
+
* A predefined code for the reason why the status is returned in this response. The string is case-insensitive.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
reasonCode: string;
|
|
37
|
+
/**
|
|
38
|
+
* Additional text to provide detailed information.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
additionalInfo?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code
|
|
10
|
+
* urn:x-oca:ocpp:uid:1:569238
|
|
11
|
+
* The unit of measure Limit is expressed in.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export type ChargingRateUnitEnumType = "W" | "A";
|
|
15
|
+
/**
|
|
16
|
+
* Cost. Cost_ Kind. Cost_ Kind_ Code
|
|
17
|
+
* urn:x-oca:ocpp:uid:1:569243
|
|
18
|
+
* The kind of cost referred to in the message element amount
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export type CostKindEnumType = "CarbonDioxideEmission" | "RelativePricePercentage" | "RenewableGenerationPercentage";
|
|
22
|
+
|
|
23
|
+
export interface UrnOCPPCp220203NotifyEVChargingScheduleRequest {
|
|
24
|
+
customData?: CustomDataType;
|
|
25
|
+
/**
|
|
26
|
+
* Periods contained in the charging profile are relative to this point in time.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
timeBase: string;
|
|
30
|
+
chargingSchedule: ChargingScheduleType;
|
|
31
|
+
/**
|
|
32
|
+
* The charging schedule contained in this notification applies to an EVSE. EvseId must be > 0.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
evseId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
|
|
39
|
+
*/
|
|
40
|
+
export interface CustomDataType {
|
|
41
|
+
vendorId: string;
|
|
42
|
+
[k: string]: unknown;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Charging_ Schedule
|
|
46
|
+
* urn:x-oca:ocpp:uid:2:233256
|
|
47
|
+
* Charging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export interface ChargingScheduleType {
|
|
51
|
+
customData?: CustomDataType;
|
|
52
|
+
/**
|
|
53
|
+
* Identifies the ChargingSchedule.
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
id: number;
|
|
57
|
+
/**
|
|
58
|
+
* Charging_ Schedule. Start_ Schedule. Date_ Time
|
|
59
|
+
* urn:x-oca:ocpp:uid:1:569237
|
|
60
|
+
* Starting point of an absolute schedule. If absent the schedule will be relative to start of charging.
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
startSchedule?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Charging_ Schedule. Duration. Elapsed_ Time
|
|
66
|
+
* urn:x-oca:ocpp:uid:1:569236
|
|
67
|
+
* Duration of the charging schedule in seconds. If the duration is left empty, the last period will continue indefinitely or until end of the transaction if chargingProfilePurpose = TxProfile.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
duration?: number;
|
|
71
|
+
chargingRateUnit: ChargingRateUnitEnumType;
|
|
72
|
+
/**
|
|
73
|
+
* @minItems 1
|
|
74
|
+
* @maxItems 1024
|
|
75
|
+
*/
|
|
76
|
+
chargingSchedulePeriod: [ChargingSchedulePeriodType, ...ChargingSchedulePeriodType[]];
|
|
77
|
+
/**
|
|
78
|
+
* Charging_ Schedule. Min_ Charging_ Rate. Numeric
|
|
79
|
+
* urn:x-oca:ocpp:uid:1:569239
|
|
80
|
+
* Minimum charging rate supported by the EV. The unit of measure is defined by the chargingRateUnit. This parameter is intended to be used by a local smart charging algorithm to optimize the power allocation for in the case a charging process is inefficient at lower charging rates. Accepts at most one digit fraction (e.g. 8.1)
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
minChargingRate?: number;
|
|
84
|
+
salesTariff?: SalesTariffType;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Charging_ Schedule_ Period
|
|
88
|
+
* urn:x-oca:ocpp:uid:2:233257
|
|
89
|
+
* Charging schedule period structure defines a time period in a charging schedule.
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
export interface ChargingSchedulePeriodType {
|
|
93
|
+
customData?: CustomDataType;
|
|
94
|
+
/**
|
|
95
|
+
* Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time
|
|
96
|
+
* urn:x-oca:ocpp:uid:1:569240
|
|
97
|
+
* Start of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
startPeriod: number;
|
|
101
|
+
/**
|
|
102
|
+
* Charging_ Schedule_ Period. Limit. Measure
|
|
103
|
+
* urn:x-oca:ocpp:uid:1:569241
|
|
104
|
+
* Charging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one digit fraction (e.g. 8.1).
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
limit: number;
|
|
108
|
+
/**
|
|
109
|
+
* Charging_ Schedule_ Period. Number_ Phases. Counter
|
|
110
|
+
* urn:x-oca:ocpp:uid:1:569242
|
|
111
|
+
* The number of phases that can be used for charging. If a number of phases is needed, numberPhases=3 will be assumed unless another number is given.
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
numberPhases?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Values: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and true. It’s not allowed unless both conditions above are true. If both conditions are true, and phaseToUse is omitted, the Charging Station / EVSE will make the selection on its own.
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
phaseToUse?: number;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Sales_ Tariff
|
|
124
|
+
* urn:x-oca:ocpp:uid:2:233272
|
|
125
|
+
* NOTE: This dataType is based on dataTypes from <<ref-ISOIEC15118-2,ISO 15118-2>>.
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
export interface SalesTariffType {
|
|
129
|
+
customData?: CustomDataType;
|
|
130
|
+
/**
|
|
131
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
132
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
133
|
+
* SalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
id: number;
|
|
137
|
+
/**
|
|
138
|
+
* Sales_ Tariff. Sales. Tariff_ Description
|
|
139
|
+
* urn:x-oca:ocpp:uid:1:569283
|
|
140
|
+
* A human readable title/short description of the sales tariff e.g. for HMI display purposes.
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
salesTariffDescription?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Sales_ Tariff. Num_ E_ Price_ Levels. Counter
|
|
146
|
+
* urn:x-oca:ocpp:uid:1:569284
|
|
147
|
+
* Defines the overall number of distinct price levels used across all provided SalesTariff elements.
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
numEPriceLevels?: number;
|
|
151
|
+
/**
|
|
152
|
+
* @minItems 1
|
|
153
|
+
* @maxItems 1024
|
|
154
|
+
*/
|
|
155
|
+
salesTariffEntry: [SalesTariffEntryType, ...SalesTariffEntryType[]];
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Sales_ Tariff_ Entry
|
|
159
|
+
* urn:x-oca:ocpp:uid:2:233271
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
export interface SalesTariffEntryType {
|
|
163
|
+
customData?: CustomDataType;
|
|
164
|
+
relativeTimeInterval: RelativeTimeIntervalType;
|
|
165
|
+
/**
|
|
166
|
+
* Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer
|
|
167
|
+
* urn:x-oca:ocpp:uid:1:569281
|
|
168
|
+
* Defines the price level of this SalesTariffEntry (referring to NumEPriceLevels). Small values for the EPriceLevel represent a cheaper TariffEntry. Large values for the EPriceLevel represent a more expensive TariffEntry.
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
ePriceLevel?: number;
|
|
172
|
+
/**
|
|
173
|
+
* @minItems 1
|
|
174
|
+
* @maxItems 3
|
|
175
|
+
*/
|
|
176
|
+
consumptionCost?:
|
|
177
|
+
| [ConsumptionCostType]
|
|
178
|
+
| [ConsumptionCostType, ConsumptionCostType]
|
|
179
|
+
| [ConsumptionCostType, ConsumptionCostType, ConsumptionCostType];
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Relative_ Timer_ Interval
|
|
183
|
+
* urn:x-oca:ocpp:uid:2:233270
|
|
184
|
+
*
|
|
185
|
+
*/
|
|
186
|
+
export interface RelativeTimeIntervalType {
|
|
187
|
+
customData?: CustomDataType;
|
|
188
|
+
/**
|
|
189
|
+
* Relative_ Timer_ Interval. Start. Elapsed_ Time
|
|
190
|
+
* urn:x-oca:ocpp:uid:1:569279
|
|
191
|
+
* Start of the interval, in seconds from NOW.
|
|
192
|
+
*
|
|
193
|
+
*/
|
|
194
|
+
start: number;
|
|
195
|
+
/**
|
|
196
|
+
* Relative_ Timer_ Interval. Duration. Elapsed_ Time
|
|
197
|
+
* urn:x-oca:ocpp:uid:1:569280
|
|
198
|
+
* Duration of the interval, in seconds.
|
|
199
|
+
*
|
|
200
|
+
*/
|
|
201
|
+
duration?: number;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Consumption_ Cost
|
|
205
|
+
* urn:x-oca:ocpp:uid:2:233259
|
|
206
|
+
*
|
|
207
|
+
*/
|
|
208
|
+
export interface ConsumptionCostType {
|
|
209
|
+
customData?: CustomDataType;
|
|
210
|
+
/**
|
|
211
|
+
* Consumption_ Cost. Start_ Value. Numeric
|
|
212
|
+
* urn:x-oca:ocpp:uid:1:569246
|
|
213
|
+
* The lowest level of consumption that defines the starting point of this consumption block. The block interval extends to the start of the next interval.
|
|
214
|
+
*
|
|
215
|
+
*/
|
|
216
|
+
startValue: number;
|
|
217
|
+
/**
|
|
218
|
+
* @minItems 1
|
|
219
|
+
* @maxItems 3
|
|
220
|
+
*/
|
|
221
|
+
cost: [CostType] | [CostType, CostType] | [CostType, CostType, CostType];
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Cost
|
|
225
|
+
* urn:x-oca:ocpp:uid:2:233258
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
228
|
+
export interface CostType {
|
|
229
|
+
customData?: CustomDataType;
|
|
230
|
+
costKind: CostKindEnumType;
|
|
231
|
+
/**
|
|
232
|
+
* Cost. Amount. Amount
|
|
233
|
+
* urn:x-oca:ocpp:uid:1:569244
|
|
234
|
+
* The estimated or actual cost per kWh
|
|
235
|
+
*
|
|
236
|
+
*/
|
|
237
|
+
amount: number;
|
|
238
|
+
/**
|
|
239
|
+
* Cost. Amount_ Multiplier. Integer
|
|
240
|
+
* urn:x-oca:ocpp:uid:1:569245
|
|
241
|
+
* Values: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The final value is determined by: amount * 10 ^ amountMultiplier
|
|
242
|
+
*
|
|
243
|
+
*/
|
|
244
|
+
amountMultiplier?: number;
|
|
245
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Returns whether the CSMS has been able to process the message successfully. It does not imply any approval of the charging schedule.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type GenericStatusEnumType = "Accepted" | "Rejected";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203NotifyEVChargingScheduleResponse {
|
|
15
|
+
customData?: CustomDataType;
|
|
16
|
+
status: GenericStatusEnumType;
|
|
17
|
+
statusInfo?: StatusInfoType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
|
|
21
|
+
*/
|
|
22
|
+
export interface CustomDataType {
|
|
23
|
+
vendorId: string;
|
|
24
|
+
[k: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Element providing more information about the status.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export interface StatusInfoType {
|
|
31
|
+
customData?: CustomDataType;
|
|
32
|
+
/**
|
|
33
|
+
* A predefined code for the reason why the status is returned in this response. The string is case-insensitive.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
reasonCode: string;
|
|
37
|
+
/**
|
|
38
|
+
* Additional text to provide detailed information.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
additionalInfo?: string;
|
|
42
|
+
}
|