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,171 @@
|
|
|
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
|
+
* Type of monitor that triggered this event, e.g. exceeding a threshold value.
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export type EventTriggerEnumType = "Alerting" | "Delta" | "Periodic";
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the event notification type of the message.
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type EventNotificationEnumType =
|
|
20
|
+
| "HardWiredNotification"
|
|
21
|
+
| "HardWiredMonitor"
|
|
22
|
+
| "PreconfiguredMonitor"
|
|
23
|
+
| "CustomMonitor";
|
|
24
|
+
|
|
25
|
+
export interface UrnOCPPCp220203NotifyEventRequest {
|
|
26
|
+
customData?: CustomDataType;
|
|
27
|
+
/**
|
|
28
|
+
* Timestamp of the moment this message was generated at the Charging Station.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
generatedAt: string;
|
|
32
|
+
/**
|
|
33
|
+
* “to be continued” indicator. Indicates whether another part of the report follows in an upcoming notifyEventRequest message. Default value when omitted is false.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
tbc?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Sequence number of this message. First message starts at 0.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
seqNo: number;
|
|
42
|
+
/**
|
|
43
|
+
* @minItems 1
|
|
44
|
+
*/
|
|
45
|
+
eventData: [EventDataType, ...EventDataType[]];
|
|
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
|
+
* Class to report an event notification for a component-variable.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export interface EventDataType {
|
|
59
|
+
customData?: CustomDataType;
|
|
60
|
+
/**
|
|
61
|
+
* Identifies the event. This field can be referred to as a cause by other events.
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
eventId: number;
|
|
66
|
+
/**
|
|
67
|
+
* Timestamp of the moment the report was generated.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
timestamp: string;
|
|
71
|
+
trigger: EventTriggerEnumType;
|
|
72
|
+
/**
|
|
73
|
+
* Refers to the Id of an event that is considered to be the cause for this event.
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
cause?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Actual value (_attributeType_ Actual) of the variable.
|
|
80
|
+
*
|
|
81
|
+
* The Configuration Variable <<configkey-reporting-value-size,ReportingValueSize>> can be used to limit GetVariableResult.attributeValue, VariableAttribute.value and EventData.actualValue. The max size of these values will always remain equal.
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
actualValue: string;
|
|
86
|
+
/**
|
|
87
|
+
* Technical (error) code as reported by component.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
techCode?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Technical detail information as reported by component.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
techInfo?: string;
|
|
96
|
+
/**
|
|
97
|
+
* _Cleared_ is set to true to report the clearing of a monitored situation, i.e. a 'return to normal'.
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
cleared?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* If an event notification is linked to a specific transaction, this field can be used to specify its transactionId.
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
transactionId?: string;
|
|
107
|
+
component: ComponentType;
|
|
108
|
+
/**
|
|
109
|
+
* Identifies the VariableMonitoring which triggered the event.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
variableMonitoringId?: number;
|
|
113
|
+
eventNotificationType: EventNotificationEnumType;
|
|
114
|
+
variable: VariableType;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* A physical or logical component
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
export interface ComponentType {
|
|
121
|
+
customData?: CustomDataType;
|
|
122
|
+
evse?: EVSEType;
|
|
123
|
+
/**
|
|
124
|
+
* 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.
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
name: string;
|
|
128
|
+
/**
|
|
129
|
+
* Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
instance?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* EVSE
|
|
136
|
+
* urn:x-oca:ocpp:uid:2:233123
|
|
137
|
+
* Electric Vehicle Supply Equipment
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
export interface EVSEType {
|
|
141
|
+
customData?: CustomDataType;
|
|
142
|
+
/**
|
|
143
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
144
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
145
|
+
* EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
id: number;
|
|
149
|
+
/**
|
|
150
|
+
* An id to designate a specific connector (on an EVSE) by connector index number.
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
connectorId?: number;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Reference key to a component-variable.
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
export interface VariableType {
|
|
160
|
+
customData?: CustomDataType;
|
|
161
|
+
/**
|
|
162
|
+
* Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
name: string;
|
|
166
|
+
/**
|
|
167
|
+
* Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
|
+
instance?: string;
|
|
171
|
+
}
|
|
@@ -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 UrnOCPPCp220203NotifyEventResponse {
|
|
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,168 @@
|
|
|
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
|
+
* The type of this monitor, e.g. a threshold, delta or periodic monitor.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type MonitorEnumType = "UpperThreshold" | "LowerThreshold" | "Delta" | "Periodic" | "PeriodicClockAligned";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203NotifyMonitoringReportRequest {
|
|
15
|
+
customData?: CustomDataType;
|
|
16
|
+
/**
|
|
17
|
+
* @minItems 1
|
|
18
|
+
*/
|
|
19
|
+
monitor?: [MonitoringDataType, ...MonitoringDataType[]];
|
|
20
|
+
/**
|
|
21
|
+
* The id of the GetMonitoringRequest that requested this report.
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
requestId: number;
|
|
26
|
+
/**
|
|
27
|
+
* “to be continued” indicator. Indicates whether another part of the monitoringData follows in an upcoming notifyMonitoringReportRequest message. Default value when omitted is false.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
tbc?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Sequence number of this message. First message starts at 0.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
seqNo: number;
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp of the moment this message was generated at the Charging Station.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
generatedAt: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
export interface CustomDataType {
|
|
46
|
+
vendorId: string;
|
|
47
|
+
[k: string]: unknown;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Class to hold parameters of SetVariableMonitoring request.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
export interface MonitoringDataType {
|
|
54
|
+
customData?: CustomDataType;
|
|
55
|
+
component: ComponentType;
|
|
56
|
+
variable: VariableType;
|
|
57
|
+
/**
|
|
58
|
+
* @minItems 1
|
|
59
|
+
*/
|
|
60
|
+
variableMonitoring: [VariableMonitoringType, ...VariableMonitoringType[]];
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A physical or logical component
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export interface ComponentType {
|
|
67
|
+
customData?: CustomDataType;
|
|
68
|
+
evse?: EVSEType;
|
|
69
|
+
/**
|
|
70
|
+
* 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.
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
name: string;
|
|
74
|
+
/**
|
|
75
|
+
* Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
instance?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* EVSE
|
|
82
|
+
* urn:x-oca:ocpp:uid:2:233123
|
|
83
|
+
* Electric Vehicle Supply Equipment
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
export interface EVSEType {
|
|
87
|
+
customData?: CustomDataType;
|
|
88
|
+
/**
|
|
89
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
90
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
91
|
+
* EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
id: number;
|
|
95
|
+
/**
|
|
96
|
+
* An id to designate a specific connector (on an EVSE) by connector index number.
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
connectorId?: number;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Reference key to a component-variable.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
export interface VariableType {
|
|
106
|
+
customData?: CustomDataType;
|
|
107
|
+
/**
|
|
108
|
+
* Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
name: string;
|
|
112
|
+
/**
|
|
113
|
+
* Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
instance?: string;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* A monitoring setting for a variable.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
export interface VariableMonitoringType {
|
|
123
|
+
customData?: CustomDataType;
|
|
124
|
+
/**
|
|
125
|
+
* Identifies the monitor.
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
id: number;
|
|
129
|
+
/**
|
|
130
|
+
* Monitor only active when a transaction is ongoing on a component relevant to this transaction.
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
133
|
+
transaction: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Value for threshold or delta monitoring.
|
|
136
|
+
* For Periodic or PeriodicClockAligned this is the interval in seconds.
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
value: number;
|
|
140
|
+
type: MonitorEnumType;
|
|
141
|
+
/**
|
|
142
|
+
* The severity that will be assigned to an event that is triggered by this monitor. The severity range is 0-9, with 0 as the highest and 9 as the lowest severity level.
|
|
143
|
+
*
|
|
144
|
+
* The severity levels have the following meaning: +
|
|
145
|
+
* *0-Danger* +
|
|
146
|
+
* Indicates lives are potentially in danger. Urgent attention is needed and action should be taken immediately. +
|
|
147
|
+
* *1-Hardware Failure* +
|
|
148
|
+
* Indicates that the Charging Station is unable to continue regular operations due to Hardware issues. Action is required. +
|
|
149
|
+
* *2-System Failure* +
|
|
150
|
+
* Indicates that the Charging Station is unable to continue regular operations due to software or minor hardware issues. Action is required. +
|
|
151
|
+
* *3-Critical* +
|
|
152
|
+
* Indicates a critical error. Action is required. +
|
|
153
|
+
* *4-Error* +
|
|
154
|
+
* Indicates a non-urgent error. Action is required. +
|
|
155
|
+
* *5-Alert* +
|
|
156
|
+
* Indicates an alert event. Default severity for any type of monitoring event. +
|
|
157
|
+
* *6-Warning* +
|
|
158
|
+
* Indicates a warning event. Action may be required. +
|
|
159
|
+
* *7-Notice* +
|
|
160
|
+
* Indicates an unusual event. No immediate action is required. +
|
|
161
|
+
* *8-Informational* +
|
|
162
|
+
* Indicates a regular operational event. May be used for reporting, measuring throughput, etc. No action is required. +
|
|
163
|
+
* *9-Debug* +
|
|
164
|
+
* Indicates information useful to developers for debugging, not useful during operations.
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
severity: number;
|
|
168
|
+
}
|
|
@@ -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 UrnOCPPCp220203NotifyMonitoringReportResponse {
|
|
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,212 @@
|
|
|
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
|
+
* Attribute: Actual, MinSet, MaxSet, etc.
|
|
10
|
+
* Defaults to Actual if absent.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export type AttributeEnumType = "Actual" | "Target" | "MinSet" | "MaxSet";
|
|
14
|
+
/**
|
|
15
|
+
* Defines the mutability of this attribute. Default is ReadWrite when omitted.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export type MutabilityEnumType = "ReadOnly" | "WriteOnly" | "ReadWrite";
|
|
19
|
+
/**
|
|
20
|
+
* Data type of this variable.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export type DataEnumType =
|
|
24
|
+
| "string"
|
|
25
|
+
| "decimal"
|
|
26
|
+
| "integer"
|
|
27
|
+
| "dateTime"
|
|
28
|
+
| "boolean"
|
|
29
|
+
| "OptionList"
|
|
30
|
+
| "SequenceList"
|
|
31
|
+
| "MemberList";
|
|
32
|
+
|
|
33
|
+
export interface UrnOCPPCp220203NotifyReportRequest {
|
|
34
|
+
customData?: CustomDataType;
|
|
35
|
+
/**
|
|
36
|
+
* The id of the GetReportRequest or GetBaseReportRequest that requested this report
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
requestId: number;
|
|
40
|
+
/**
|
|
41
|
+
* Timestamp of the moment this message was generated at the Charging Station.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
generatedAt: string;
|
|
45
|
+
/**
|
|
46
|
+
* @minItems 1
|
|
47
|
+
*/
|
|
48
|
+
reportData?: [ReportDataType, ...ReportDataType[]];
|
|
49
|
+
/**
|
|
50
|
+
* “to be continued” indicator. Indicates whether another part of the report follows in an upcoming notifyReportRequest message. Default value when omitted is false.
|
|
51
|
+
*
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
tbc?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Sequence number of this message. First message starts at 0.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
seqNo: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
*/
|
|
64
|
+
export interface CustomDataType {
|
|
65
|
+
vendorId: string;
|
|
66
|
+
[k: string]: unknown;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Class to report components, variables and variable attributes and characteristics.
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export interface ReportDataType {
|
|
73
|
+
customData?: CustomDataType;
|
|
74
|
+
component: ComponentType;
|
|
75
|
+
variable: VariableType;
|
|
76
|
+
/**
|
|
77
|
+
* @minItems 1
|
|
78
|
+
* @maxItems 4
|
|
79
|
+
*/
|
|
80
|
+
variableAttribute:
|
|
81
|
+
| [VariableAttributeType]
|
|
82
|
+
| [VariableAttributeType, VariableAttributeType]
|
|
83
|
+
| [VariableAttributeType, VariableAttributeType, VariableAttributeType]
|
|
84
|
+
| [VariableAttributeType, VariableAttributeType, VariableAttributeType, VariableAttributeType];
|
|
85
|
+
variableCharacteristics?: VariableCharacteristicsType;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* A physical or logical component
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export interface ComponentType {
|
|
92
|
+
customData?: CustomDataType;
|
|
93
|
+
evse?: EVSEType;
|
|
94
|
+
/**
|
|
95
|
+
* 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.
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
name: string;
|
|
99
|
+
/**
|
|
100
|
+
* Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
instance?: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* EVSE
|
|
107
|
+
* urn:x-oca:ocpp:uid:2:233123
|
|
108
|
+
* Electric Vehicle Supply Equipment
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
export interface EVSEType {
|
|
112
|
+
customData?: CustomDataType;
|
|
113
|
+
/**
|
|
114
|
+
* Identified_ Object. MRID. Numeric_ Identifier
|
|
115
|
+
* urn:x-enexis:ecdm:uid:1:569198
|
|
116
|
+
* EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
id: number;
|
|
120
|
+
/**
|
|
121
|
+
* An id to designate a specific connector (on an EVSE) by connector index number.
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
connectorId?: number;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Reference key to a component-variable.
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
export interface VariableType {
|
|
131
|
+
customData?: CustomDataType;
|
|
132
|
+
/**
|
|
133
|
+
* Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
name: string;
|
|
137
|
+
/**
|
|
138
|
+
* Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
instance?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Attribute data of a variable.
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
export interface VariableAttributeType {
|
|
148
|
+
customData?: CustomDataType;
|
|
149
|
+
type?: AttributeEnumType;
|
|
150
|
+
/**
|
|
151
|
+
* Value of the attribute. May only be omitted when mutability is set to 'WriteOnly'.
|
|
152
|
+
*
|
|
153
|
+
* The Configuration Variable <<configkey-reporting-value-size,ReportingValueSize>> can be used to limit GetVariableResult.attributeValue, VariableAttribute.value and EventData.actualValue. The max size of these values will always remain equal.
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
value?: string;
|
|
157
|
+
mutability?: MutabilityEnumType;
|
|
158
|
+
/**
|
|
159
|
+
* If true, value will be persistent across system reboots or power down. Default when omitted is false.
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
persistent?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* If true, value that will never be changed by the Charging Station at runtime. Default when omitted is false.
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
constant?: boolean;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Fixed read-only parameters of a variable.
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
export interface VariableCharacteristicsType {
|
|
174
|
+
customData?: CustomDataType;
|
|
175
|
+
/**
|
|
176
|
+
* Unit of the variable. When the transmitted value has a unit, this field SHALL be included.
|
|
177
|
+
*
|
|
178
|
+
*/
|
|
179
|
+
unit?: string;
|
|
180
|
+
dataType: DataEnumType;
|
|
181
|
+
/**
|
|
182
|
+
* Minimum possible value of this variable.
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
minLimit?: number;
|
|
186
|
+
/**
|
|
187
|
+
* Maximum possible value of this variable. When the datatype of this Variable is String, OptionList, SequenceList or MemberList, this field defines the maximum length of the (CSV) string.
|
|
188
|
+
*
|
|
189
|
+
*/
|
|
190
|
+
maxLimit?: number;
|
|
191
|
+
/**
|
|
192
|
+
* Allowed values when variable is Option/Member/SequenceList.
|
|
193
|
+
*
|
|
194
|
+
* * OptionList: The (Actual) Variable value must be a single value from the reported (CSV) enumeration list.
|
|
195
|
+
*
|
|
196
|
+
* * MemberList: The (Actual) Variable value may be an (unordered) (sub-)set of the reported (CSV) valid values list.
|
|
197
|
+
*
|
|
198
|
+
* * SequenceList: The (Actual) Variable value may be an ordered (priority, etc) (sub-)set of the reported (CSV) valid values.
|
|
199
|
+
*
|
|
200
|
+
* This is a comma separated list.
|
|
201
|
+
*
|
|
202
|
+
* The Configuration Variable <<configkey-configuration-value-size,ConfigurationValueSize>> can be used to limit SetVariableData.attributeValue and VariableCharacteristics.valueList. The max size of these values will always remain equal.
|
|
203
|
+
*
|
|
204
|
+
*
|
|
205
|
+
*/
|
|
206
|
+
valuesList?: string;
|
|
207
|
+
/**
|
|
208
|
+
* Flag indicating if this variable supports monitoring.
|
|
209
|
+
*
|
|
210
|
+
*/
|
|
211
|
+
supportsMonitoring: boolean;
|
|
212
|
+
}
|
|
@@ -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 UrnOCPPCp220203NotifyReportResponse {
|
|
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,50 @@
|
|
|
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 UrnOCPPCp220203PublishFirmwareRequest {
|
|
9
|
+
customData?: CustomDataType;
|
|
10
|
+
/**
|
|
11
|
+
* This contains a string containing a URI pointing to a
|
|
12
|
+
* location from which to retrieve the firmware.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
location: string;
|
|
16
|
+
/**
|
|
17
|
+
* This specifies how many times Charging Station must try
|
|
18
|
+
* to download the firmware before giving up. If this field is not
|
|
19
|
+
* present, it is left to Charging Station to decide how many times it wants to retry.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
retries?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The MD5 checksum over the entire firmware file as a hexadecimal string of length 32.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
checksum: string;
|
|
28
|
+
/**
|
|
29
|
+
* The Id of the request.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
requestId: number;
|
|
33
|
+
/**
|
|
34
|
+
* The interval in seconds
|
|
35
|
+
* after which a retry may be
|
|
36
|
+
* attempted. If this field is not
|
|
37
|
+
* present, it is left to Charging
|
|
38
|
+
* Station to decide how long to wait
|
|
39
|
+
* between attempts.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
retryInterval?: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 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.
|
|
46
|
+
*/
|
|
47
|
+
export interface CustomDataType {
|
|
48
|
+
vendorId: string;
|
|
49
|
+
[k: string]: unknown;
|
|
50
|
+
}
|
|
@@ -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
|
+
* Indicates whether the request was accepted.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type GenericStatusEnumType = "Accepted" | "Rejected";
|
|
13
|
+
|
|
14
|
+
export interface UrnOCPPCp220203PublishFirmwareResponse {
|
|
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
|
+
}
|