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,29 @@
|
|
|
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
|
+
* This contains the type of reset that the Charging Station or EVSE should perform.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ResetEnumType = "Immediate" | "OnIdle";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203ResetRequest {
|
|
15
|
+
customData?: CustomDataType;
|
|
16
|
+
type: ResetEnumType;
|
|
17
|
+
/**
|
|
18
|
+
* This contains the ID of a specific EVSE that needs to be reset, instead of the entire Charging Station.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
evseId?: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 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.
|
|
25
|
+
*/
|
|
26
|
+
export interface CustomDataType {
|
|
27
|
+
vendorId: string;
|
|
28
|
+
[k: string]: unknown;
|
|
29
|
+
}
|
|
@@ -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
|
+
* This indicates whether the Charging Station is able to perform the reset.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ResetStatusEnumType = "Accepted" | "Rejected" | "Scheduled";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203ResetResponse {
|
|
15
|
+
customData?: CustomDataType;
|
|
16
|
+
status: ResetStatusEnumType;
|
|
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,32 @@
|
|
|
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 UrnOCPPCp220203SecurityEventNotificationRequest {
|
|
9
|
+
customData?: CustomDataType;
|
|
10
|
+
/**
|
|
11
|
+
* Type of the security event. This value should be taken from the Security events list.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
type: string;
|
|
15
|
+
/**
|
|
16
|
+
* Date and time at which the event occurred.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
timestamp: string;
|
|
20
|
+
/**
|
|
21
|
+
* Additional information about the occurred security event.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
techInfo?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 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.
|
|
28
|
+
*/
|
|
29
|
+
export interface CustomDataType {
|
|
30
|
+
vendorId: string;
|
|
31
|
+
[k: string]: unknown;
|
|
32
|
+
}
|
|
@@ -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 UrnOCPPCp220203SecurityEventNotificationResponse {
|
|
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,187 @@
|
|
|
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
|
+
* Enumeration of possible idToken types.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type IdTokenEnumType =
|
|
13
|
+
| "Central"
|
|
14
|
+
| "eMAID"
|
|
15
|
+
| "ISO14443"
|
|
16
|
+
| "ISO15693"
|
|
17
|
+
| "KeyCode"
|
|
18
|
+
| "Local"
|
|
19
|
+
| "MacAddress"
|
|
20
|
+
| "NoAuthorization";
|
|
21
|
+
/**
|
|
22
|
+
* ID_ Token. Status. Authorization_ Status
|
|
23
|
+
* urn:x-oca:ocpp:uid:1:569372
|
|
24
|
+
* Current status of the ID Token.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export type AuthorizationStatusEnumType =
|
|
28
|
+
| "Accepted"
|
|
29
|
+
| "Blocked"
|
|
30
|
+
| "ConcurrentTx"
|
|
31
|
+
| "Expired"
|
|
32
|
+
| "Invalid"
|
|
33
|
+
| "NoCredit"
|
|
34
|
+
| "NotAllowedTypeEVSE"
|
|
35
|
+
| "NotAtThisLocation"
|
|
36
|
+
| "NotAtThisTime"
|
|
37
|
+
| "Unknown";
|
|
38
|
+
/**
|
|
39
|
+
* Message_ Content. Format. Message_ Format_ Code
|
|
40
|
+
* urn:x-enexis:ecdm:uid:1:570848
|
|
41
|
+
* Format of the message.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export type MessageFormatEnumType = "ASCII" | "HTML" | "URI" | "UTF8";
|
|
45
|
+
/**
|
|
46
|
+
* This contains the type of update (full or differential) of this request.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export type UpdateEnumType = "Differential" | "Full";
|
|
50
|
+
|
|
51
|
+
export interface UrnOCPPCp220203SendLocalListRequest {
|
|
52
|
+
customData?: CustomDataType;
|
|
53
|
+
/**
|
|
54
|
+
* @minItems 1
|
|
55
|
+
*/
|
|
56
|
+
localAuthorizationList?: [AuthorizationData, ...AuthorizationData[]];
|
|
57
|
+
/**
|
|
58
|
+
* In case of a full update this is the version number of the full list. In case of a differential update it is the version number of the list after the update has been applied.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
versionNumber: number;
|
|
62
|
+
updateType: UpdateEnumType;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
*/
|
|
67
|
+
export interface CustomDataType {
|
|
68
|
+
vendorId: string;
|
|
69
|
+
[k: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Contains the identifier to use for authorization.
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export interface AuthorizationData {
|
|
76
|
+
customData?: CustomDataType;
|
|
77
|
+
idToken: IdTokenType;
|
|
78
|
+
idTokenInfo?: IdTokenInfoType;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export interface IdTokenType {
|
|
85
|
+
customData?: CustomDataType;
|
|
86
|
+
/**
|
|
87
|
+
* @minItems 1
|
|
88
|
+
*/
|
|
89
|
+
additionalInfo?: [AdditionalInfoType, ...AdditionalInfoType[]];
|
|
90
|
+
/**
|
|
91
|
+
* IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
idToken: string;
|
|
95
|
+
type: IdTokenEnumType;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export interface AdditionalInfoType {
|
|
102
|
+
customData?: CustomDataType;
|
|
103
|
+
/**
|
|
104
|
+
* This field specifies the additional IdToken.
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
additionalIdToken: string;
|
|
108
|
+
/**
|
|
109
|
+
* This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
type: string;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* ID_ Token
|
|
116
|
+
* urn:x-oca:ocpp:uid:2:233247
|
|
117
|
+
* Contains status information about an identifier.
|
|
118
|
+
* It is advised to not stop charging for a token that expires during charging, as ExpiryDate is only used for caching purposes. If ExpiryDate is not given, the status has no end date.
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
export interface IdTokenInfoType {
|
|
122
|
+
customData?: CustomDataType;
|
|
123
|
+
status: AuthorizationStatusEnumType;
|
|
124
|
+
/**
|
|
125
|
+
* ID_ Token. Expiry. Date_ Time
|
|
126
|
+
* urn:x-oca:ocpp:uid:1:569373
|
|
127
|
+
* Date and Time after which the token must be considered invalid.
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
cacheExpiryDateTime?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Priority from a business point of view. Default priority is 0, The range is from -9 to 9. Higher values indicate a higher priority. The chargingPriority in <<transactioneventresponse,TransactionEventResponse>> overrules this one.
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
chargingPriority?: number;
|
|
136
|
+
/**
|
|
137
|
+
* ID_ Token. Language1. Language_ Code
|
|
138
|
+
* urn:x-oca:ocpp:uid:1:569374
|
|
139
|
+
* Preferred user interface language of identifier user. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.
|
|
140
|
+
*
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
language1?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.
|
|
146
|
+
*
|
|
147
|
+
*
|
|
148
|
+
*
|
|
149
|
+
* @minItems 1
|
|
150
|
+
*/
|
|
151
|
+
evseId?: [number, ...number[]];
|
|
152
|
+
groupIdToken?: IdTokenType;
|
|
153
|
+
/**
|
|
154
|
+
* ID_ Token. Language2. Language_ Code
|
|
155
|
+
* urn:x-oca:ocpp:uid:1:569375
|
|
156
|
+
* Second preferred user interface language of identifier user. Don’t use when language1 is omitted, has to be different from language1. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
language2?: string;
|
|
160
|
+
personalMessage?: MessageContentType;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Message_ Content
|
|
164
|
+
* urn:x-enexis:ecdm:uid:2:234490
|
|
165
|
+
* Contains message details, for a message to be displayed on a Charging Station.
|
|
166
|
+
*
|
|
167
|
+
*
|
|
168
|
+
*/
|
|
169
|
+
export interface MessageContentType {
|
|
170
|
+
customData?: CustomDataType;
|
|
171
|
+
format: MessageFormatEnumType;
|
|
172
|
+
/**
|
|
173
|
+
* Message_ Content. Language. Language_ Code
|
|
174
|
+
* urn:x-enexis:ecdm:uid:1:570849
|
|
175
|
+
* Message language identifier. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.
|
|
176
|
+
*
|
|
177
|
+
*/
|
|
178
|
+
language?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Message_ Content. Content. Message
|
|
181
|
+
* urn:x-enexis:ecdm:uid:1:570852
|
|
182
|
+
* Message contents.
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
*/
|
|
186
|
+
content: string;
|
|
187
|
+
}
|
|
@@ -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
|
+
* This indicates whether the Charging Station has successfully received and applied the update of the Local Authorization List.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type SendLocalListStatusEnumType = "Accepted" | "Failed" | "VersionMismatch";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203SendLocalListResponse {
|
|
15
|
+
customData?: CustomDataType;
|
|
16
|
+
status: SendLocalListStatusEnumType;
|
|
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,318 @@
|
|
|
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_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code
|
|
10
|
+
* urn:x-oca:ocpp:uid:1:569231
|
|
11
|
+
* Defines the purpose of the schedule transferred by this profile
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export type ChargingProfilePurposeEnumType =
|
|
15
|
+
| "ChargingStationExternalConstraints"
|
|
16
|
+
| "ChargingStationMaxProfile"
|
|
17
|
+
| "TxDefaultProfile"
|
|
18
|
+
| "TxProfile";
|
|
19
|
+
/**
|
|
20
|
+
* Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code
|
|
21
|
+
* urn:x-oca:ocpp:uid:1:569232
|
|
22
|
+
* Indicates the kind of schedule.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export type ChargingProfileKindEnumType = "Absolute" | "Recurring" | "Relative";
|
|
26
|
+
/**
|
|
27
|
+
* Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code
|
|
28
|
+
* urn:x-oca:ocpp:uid:1:569233
|
|
29
|
+
* Indicates the start point of a recurrence.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export type RecurrencyKindEnumType = "Daily" | "Weekly";
|
|
33
|
+
/**
|
|
34
|
+
* Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code
|
|
35
|
+
* urn:x-oca:ocpp:uid:1:569238
|
|
36
|
+
* The unit of measure Limit is expressed in.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export type ChargingRateUnitEnumType = "W" | "A";
|
|
40
|
+
/**
|
|
41
|
+
* Cost. Cost_ Kind. Cost_ Kind_ Code
|
|
42
|
+
* urn:x-oca:ocpp:uid:1:569243
|
|
43
|
+
* The kind of cost referred to in the message element amount
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export type CostKindEnumType = "CarbonDioxideEmission" | "RelativePricePercentage" | "RenewableGenerationPercentage";
|
|
47
|
+
|
|
48
|
+
export interface UrnOCPPCp220203SetChargingProfileRequest {
|
|
49
|
+
customData?: CustomDataType;
|
|
50
|
+
/**
|
|
51
|
+
* For TxDefaultProfile an evseId=0 applies the profile to each individual evse. For ChargingStationMaxProfile and ChargingStationExternalConstraints an evseId=0 contains an overal limit for the whole Charging Station.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
evseId: number;
|
|
55
|
+
chargingProfile: ChargingProfileType;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* 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.
|
|
59
|
+
*/
|
|
60
|
+
export interface CustomDataType {
|
|
61
|
+
vendorId: string;
|
|
62
|
+
[k: string]: unknown;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Charging_ Profile
|
|
66
|
+
* urn:x-oca:ocpp:uid:2:233255
|
|
67
|
+
* A ChargingProfile consists of ChargingSchedule, describing the amount of power or current that can be delivered per time interval.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export interface ChargingProfileType {
|
|
71
|
+
customData?: CustomDataType;
|
|
72
|
+
/**
|
|
73
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
74
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
75
|
+
* Id of ChargingProfile.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
id: number;
|
|
79
|
+
/**
|
|
80
|
+
* Charging_ Profile. Stack_ Level. Counter
|
|
81
|
+
* urn:x-oca:ocpp:uid:1:569230
|
|
82
|
+
* Value determining level in hierarchy stack of profiles. Higher values have precedence over lower values. Lowest level is 0.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
stackLevel: number;
|
|
86
|
+
chargingProfilePurpose: ChargingProfilePurposeEnumType;
|
|
87
|
+
chargingProfileKind: ChargingProfileKindEnumType;
|
|
88
|
+
recurrencyKind?: RecurrencyKindEnumType;
|
|
89
|
+
/**
|
|
90
|
+
* Charging_ Profile. Valid_ From. Date_ Time
|
|
91
|
+
* urn:x-oca:ocpp:uid:1:569234
|
|
92
|
+
* Point in time at which the profile starts to be valid. If absent, the profile is valid as soon as it is received by the Charging Station.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
validFrom?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Charging_ Profile. Valid_ To. Date_ Time
|
|
98
|
+
* urn:x-oca:ocpp:uid:1:569235
|
|
99
|
+
* Point in time at which the profile stops to be valid. If absent, the profile is valid until it is replaced by another profile.
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
validTo?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @minItems 1
|
|
105
|
+
* @maxItems 3
|
|
106
|
+
*/
|
|
107
|
+
chargingSchedule:
|
|
108
|
+
| [ChargingScheduleType]
|
|
109
|
+
| [ChargingScheduleType, ChargingScheduleType]
|
|
110
|
+
| [ChargingScheduleType, ChargingScheduleType, ChargingScheduleType];
|
|
111
|
+
/**
|
|
112
|
+
* SHALL only be included if ChargingProfilePurpose is set to TxProfile. The transactionId is used to match the profile to a specific transaction.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
transactionId?: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Charging_ Schedule
|
|
119
|
+
* urn:x-oca:ocpp:uid:2:233256
|
|
120
|
+
* Charging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile.
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
export interface ChargingScheduleType {
|
|
124
|
+
customData?: CustomDataType;
|
|
125
|
+
/**
|
|
126
|
+
* Identifies the ChargingSchedule.
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
id: number;
|
|
130
|
+
/**
|
|
131
|
+
* Charging_ Schedule. Start_ Schedule. Date_ Time
|
|
132
|
+
* urn:x-oca:ocpp:uid:1:569237
|
|
133
|
+
* Starting point of an absolute schedule. If absent the schedule will be relative to start of charging.
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
startSchedule?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Charging_ Schedule. Duration. Elapsed_ Time
|
|
139
|
+
* urn:x-oca:ocpp:uid:1:569236
|
|
140
|
+
* 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.
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
duration?: number;
|
|
144
|
+
chargingRateUnit: ChargingRateUnitEnumType;
|
|
145
|
+
/**
|
|
146
|
+
* @minItems 1
|
|
147
|
+
* @maxItems 1024
|
|
148
|
+
*/
|
|
149
|
+
chargingSchedulePeriod: [ChargingSchedulePeriodType, ...ChargingSchedulePeriodType[]];
|
|
150
|
+
/**
|
|
151
|
+
* Charging_ Schedule. Min_ Charging_ Rate. Numeric
|
|
152
|
+
* urn:x-oca:ocpp:uid:1:569239
|
|
153
|
+
* 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)
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
minChargingRate?: number;
|
|
157
|
+
salesTariff?: SalesTariffType;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Charging_ Schedule_ Period
|
|
161
|
+
* urn:x-oca:ocpp:uid:2:233257
|
|
162
|
+
* Charging schedule period structure defines a time period in a charging schedule.
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
export interface ChargingSchedulePeriodType {
|
|
166
|
+
customData?: CustomDataType;
|
|
167
|
+
/**
|
|
168
|
+
* Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time
|
|
169
|
+
* urn:x-oca:ocpp:uid:1:569240
|
|
170
|
+
* Start of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
startPeriod: number;
|
|
174
|
+
/**
|
|
175
|
+
* Charging_ Schedule_ Period. Limit. Measure
|
|
176
|
+
* urn:x-oca:ocpp:uid:1:569241
|
|
177
|
+
* 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).
|
|
178
|
+
*
|
|
179
|
+
*/
|
|
180
|
+
limit: number;
|
|
181
|
+
/**
|
|
182
|
+
* Charging_ Schedule_ Period. Number_ Phases. Counter
|
|
183
|
+
* urn:x-oca:ocpp:uid:1:569242
|
|
184
|
+
* 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.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
187
|
+
numberPhases?: number;
|
|
188
|
+
/**
|
|
189
|
+
* 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.
|
|
190
|
+
*
|
|
191
|
+
*
|
|
192
|
+
*/
|
|
193
|
+
phaseToUse?: number;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Sales_ Tariff
|
|
197
|
+
* urn:x-oca:ocpp:uid:2:233272
|
|
198
|
+
* NOTE: This dataType is based on dataTypes from <<ref-ISOIEC15118-2,ISO 15118-2>>.
|
|
199
|
+
*
|
|
200
|
+
*/
|
|
201
|
+
export interface SalesTariffType {
|
|
202
|
+
customData?: CustomDataType;
|
|
203
|
+
/**
|
|
204
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
205
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
206
|
+
* SalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
id: number;
|
|
210
|
+
/**
|
|
211
|
+
* Sales_ Tariff. Sales. Tariff_ Description
|
|
212
|
+
* urn:x-oca:ocpp:uid:1:569283
|
|
213
|
+
* A human readable title/short description of the sales tariff e.g. for HMI display purposes.
|
|
214
|
+
*
|
|
215
|
+
*/
|
|
216
|
+
salesTariffDescription?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Sales_ Tariff. Num_ E_ Price_ Levels. Counter
|
|
219
|
+
* urn:x-oca:ocpp:uid:1:569284
|
|
220
|
+
* Defines the overall number of distinct price levels used across all provided SalesTariff elements.
|
|
221
|
+
*
|
|
222
|
+
*/
|
|
223
|
+
numEPriceLevels?: number;
|
|
224
|
+
/**
|
|
225
|
+
* @minItems 1
|
|
226
|
+
* @maxItems 1024
|
|
227
|
+
*/
|
|
228
|
+
salesTariffEntry: [SalesTariffEntryType, ...SalesTariffEntryType[]];
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Sales_ Tariff_ Entry
|
|
232
|
+
* urn:x-oca:ocpp:uid:2:233271
|
|
233
|
+
*
|
|
234
|
+
*/
|
|
235
|
+
export interface SalesTariffEntryType {
|
|
236
|
+
customData?: CustomDataType;
|
|
237
|
+
relativeTimeInterval: RelativeTimeIntervalType;
|
|
238
|
+
/**
|
|
239
|
+
* Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer
|
|
240
|
+
* urn:x-oca:ocpp:uid:1:569281
|
|
241
|
+
* 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.
|
|
242
|
+
*
|
|
243
|
+
*/
|
|
244
|
+
ePriceLevel?: number;
|
|
245
|
+
/**
|
|
246
|
+
* @minItems 1
|
|
247
|
+
* @maxItems 3
|
|
248
|
+
*/
|
|
249
|
+
consumptionCost?:
|
|
250
|
+
| [ConsumptionCostType]
|
|
251
|
+
| [ConsumptionCostType, ConsumptionCostType]
|
|
252
|
+
| [ConsumptionCostType, ConsumptionCostType, ConsumptionCostType];
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Relative_ Timer_ Interval
|
|
256
|
+
* urn:x-oca:ocpp:uid:2:233270
|
|
257
|
+
*
|
|
258
|
+
*/
|
|
259
|
+
export interface RelativeTimeIntervalType {
|
|
260
|
+
customData?: CustomDataType;
|
|
261
|
+
/**
|
|
262
|
+
* Relative_ Timer_ Interval. Start. Elapsed_ Time
|
|
263
|
+
* urn:x-oca:ocpp:uid:1:569279
|
|
264
|
+
* Start of the interval, in seconds from NOW.
|
|
265
|
+
*
|
|
266
|
+
*/
|
|
267
|
+
start: number;
|
|
268
|
+
/**
|
|
269
|
+
* Relative_ Timer_ Interval. Duration. Elapsed_ Time
|
|
270
|
+
* urn:x-oca:ocpp:uid:1:569280
|
|
271
|
+
* Duration of the interval, in seconds.
|
|
272
|
+
*
|
|
273
|
+
*/
|
|
274
|
+
duration?: number;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Consumption_ Cost
|
|
278
|
+
* urn:x-oca:ocpp:uid:2:233259
|
|
279
|
+
*
|
|
280
|
+
*/
|
|
281
|
+
export interface ConsumptionCostType {
|
|
282
|
+
customData?: CustomDataType;
|
|
283
|
+
/**
|
|
284
|
+
* Consumption_ Cost. Start_ Value. Numeric
|
|
285
|
+
* urn:x-oca:ocpp:uid:1:569246
|
|
286
|
+
* 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.
|
|
287
|
+
*
|
|
288
|
+
*/
|
|
289
|
+
startValue: number;
|
|
290
|
+
/**
|
|
291
|
+
* @minItems 1
|
|
292
|
+
* @maxItems 3
|
|
293
|
+
*/
|
|
294
|
+
cost: [CostType] | [CostType, CostType] | [CostType, CostType, CostType];
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Cost
|
|
298
|
+
* urn:x-oca:ocpp:uid:2:233258
|
|
299
|
+
*
|
|
300
|
+
*/
|
|
301
|
+
export interface CostType {
|
|
302
|
+
customData?: CustomDataType;
|
|
303
|
+
costKind: CostKindEnumType;
|
|
304
|
+
/**
|
|
305
|
+
* Cost. Amount. Amount
|
|
306
|
+
* urn:x-oca:ocpp:uid:1:569244
|
|
307
|
+
* The estimated or actual cost per kWh
|
|
308
|
+
*
|
|
309
|
+
*/
|
|
310
|
+
amount: number;
|
|
311
|
+
/**
|
|
312
|
+
* Cost. Amount_ Multiplier. Integer
|
|
313
|
+
* urn:x-oca:ocpp:uid:1:569245
|
|
314
|
+
* Values: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The final value is determined by: amount * 10 ^ amountMultiplier
|
|
315
|
+
*
|
|
316
|
+
*/
|
|
317
|
+
amountMultiplier?: number;
|
|
318
|
+
}
|