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.
Files changed (380) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +35 -0
  3. package/compile.js +17 -0
  4. package/package.json +28 -0
  5. package/schema/v1.6/Authorize.json +15 -0
  6. package/schema/v1.6/AuthorizeResponse.json +37 -0
  7. package/schema/v1.6/BootNotification.json +48 -0
  8. package/schema/v1.6/BootNotificationResponse.json +28 -0
  9. package/schema/v1.6/CancelReservation.json +14 -0
  10. package/schema/v1.6/CancelReservationResponse.json +18 -0
  11. package/schema/v1.6/ChangeAvailability.json +22 -0
  12. package/schema/v1.6/ChangeAvailabilityResponse.json +19 -0
  13. package/schema/v1.6/ChangeConfiguration.json +20 -0
  14. package/schema/v1.6/ChangeConfigurationResponse.json +20 -0
  15. package/schema/v1.6/ClearCache.json +7 -0
  16. package/schema/v1.6/ClearCacheResponse.json +18 -0
  17. package/schema/v1.6/ClearChargingProfile.json +25 -0
  18. package/schema/v1.6/ClearChargingProfileResponse.json +18 -0
  19. package/schema/v1.6/DataTransfer.json +22 -0
  20. package/schema/v1.6/DataTransferResponse.json +23 -0
  21. package/schema/v1.6/DiagnosticsStatusNotification.json +20 -0
  22. package/schema/v1.6/DiagnosticsStatusNotificationResponse.json +7 -0
  23. package/schema/v1.6/FirmwareStatusNotification.json +23 -0
  24. package/schema/v1.6/FirmwareStatusNotificationResponse.json +7 -0
  25. package/schema/v1.6/GetCompositeSchedule.json +25 -0
  26. package/schema/v1.6/GetCompositeScheduleResponse.json +74 -0
  27. package/schema/v1.6/GetConfiguration.json +15 -0
  28. package/schema/v1.6/GetConfigurationResponse.json +38 -0
  29. package/schema/v1.6/GetDiagnostics.json +29 -0
  30. package/schema/v1.6/GetDiagnosticsResponse.json +12 -0
  31. package/schema/v1.6/GetLocalListVersion.json +7 -0
  32. package/schema/v1.6/GetLocalListVersionResponse.json +14 -0
  33. package/schema/v1.6/Heartbeat.json +7 -0
  34. package/schema/v1.6/HeartbeatResponse.json +15 -0
  35. package/schema/v1.6/MeterValues.json +141 -0
  36. package/schema/v1.6/MeterValuesResponse.json +7 -0
  37. package/schema/v1.6/RemoteStartTransaction.json +119 -0
  38. package/schema/v1.6/RemoteStartTransactionResponse.json +18 -0
  39. package/schema/v1.6/RemoteStopTransaction.json +14 -0
  40. package/schema/v1.6/RemoteStopTransactionResponse.json +18 -0
  41. package/schema/v1.6/ReserveNow.json +32 -0
  42. package/schema/v1.6/ReserveNowResponse.json +21 -0
  43. package/schema/v1.6/Reset.json +18 -0
  44. package/schema/v1.6/ResetResponse.json +18 -0
  45. package/schema/v1.6/SendLocalList.json +63 -0
  46. package/schema/v1.6/SendLocalListResponse.json +20 -0
  47. package/schema/v1.6/SetChargingProfile.json +116 -0
  48. package/schema/v1.6/SetChargingProfileResponse.json +19 -0
  49. package/schema/v1.6/StartTransaction.json +31 -0
  50. package/schema/v1.6/StartTransactionResponse.json +41 -0
  51. package/schema/v1.6/StatusNotification.json +67 -0
  52. package/schema/v1.6/StatusNotificationResponse.json +7 -0
  53. package/schema/v1.6/StopTransaction.json +166 -0
  54. package/schema/v1.6/StopTransactionResponse.json +34 -0
  55. package/schema/v1.6/TriggerMessage.json +25 -0
  56. package/schema/v1.6/TriggerMessageResponse.json +19 -0
  57. package/schema/v1.6/UnlockConnector.json +14 -0
  58. package/schema/v1.6/UnlockConnectorResponse.json +19 -0
  59. package/schema/v1.6/UpdateFirmware.json +26 -0
  60. package/schema/v1.6/UpdateFirmwareResponse.json +7 -0
  61. package/schema/v2.0/AuthorizeRequest_v1p0.json +133 -0
  62. package/schema/v2.0/AuthorizeResponse_v1p0.json +154 -0
  63. package/schema/v2.0/BootNotificationRequest_v1p0.json +81 -0
  64. package/schema/v2.0/BootNotificationResponse_v1p0.json +30 -0
  65. package/schema/v2.0/CancelReservationRequest_v1p0.json +15 -0
  66. package/schema/v2.0/CancelReservationResponse_v1p0.json +20 -0
  67. package/schema/v2.0/CertificateSignedRequest_v1p0.json +29 -0
  68. package/schema/v2.0/CertificateSignedResponse_v1p0.json +20 -0
  69. package/schema/v2.0/ChangeAvailabilityRequest_v1p0.json +24 -0
  70. package/schema/v2.0/ChangeAvailabilityResponse_v1p0.json +21 -0
  71. package/schema/v2.0/ClearCacheRequest_v1p0.json +7 -0
  72. package/schema/v2.0/ClearCacheResponse_v1p0.json +20 -0
  73. package/schema/v2.0/ClearChargingProfileRequest_v1p0.json +43 -0
  74. package/schema/v2.0/ClearChargingProfileResponse_v1p0.json +20 -0
  75. package/schema/v2.0/ClearDisplayMessageRequest_v1p0.json +15 -0
  76. package/schema/v2.0/ClearDisplayMessageResponse_v1p0.json +20 -0
  77. package/schema/v2.0/ClearVariableMonitoringRequest_v1p0.json +20 -0
  78. package/schema/v2.0/ClearVariableMonitoringResponse_v1p0.json +48 -0
  79. package/schema/v2.0/ClearedChargingLimitRequest_v1p0.json +25 -0
  80. package/schema/v2.0/ClearedChargingLimitResponse_v1p0.json +7 -0
  81. package/schema/v2.0/CostUpdatedRequest_v1p0.json +20 -0
  82. package/schema/v2.0/CostUpdatedResponse_v1p0.json +7 -0
  83. package/schema/v2.0/CustomerInformationRequest_v1p0.json +130 -0
  84. package/schema/v2.0/CustomerInformationResponse_v1p0.json +21 -0
  85. package/schema/v2.0/DataTransferRequest_v1p0.json +21 -0
  86. package/schema/v2.0/DataTransferResponse_v1p0.json +23 -0
  87. package/schema/v2.0/DeleteCertificateRequest_v1p0.json +54 -0
  88. package/schema/v2.0/DeleteCertificateResponse_v1p0.json +21 -0
  89. package/schema/v2.0/FirmwareStatusNotificationRequest_v1p0.json +40 -0
  90. package/schema/v2.0/FirmwareStatusNotificationResponse_v1p0.json +7 -0
  91. package/schema/v2.0/Get15118EVCertificateRequest_v1p0.json +21 -0
  92. package/schema/v2.0/Get15118EVCertificateResponse_v1p0.json +62 -0
  93. package/schema/v2.0/GetBaseReportRequest_v1p0.json +25 -0
  94. package/schema/v2.0/GetBaseReportResponse_v1p0.json +21 -0
  95. package/schema/v2.0/GetCertificateStatusRequest_v1p0.json +58 -0
  96. package/schema/v2.0/GetCertificateStatusResponse_v1p0.json +24 -0
  97. package/schema/v2.0/GetChargingProfilesRequest_v1p0.json +73 -0
  98. package/schema/v2.0/GetChargingProfilesResponse_v1p0.json +20 -0
  99. package/schema/v2.0/GetCompositeScheduleRequest_v1p0.json +27 -0
  100. package/schema/v2.0/GetCompositeScheduleResponse_v1p0.json +108 -0
  101. package/schema/v2.0/GetDisplayMessagesRequest_v1p0.json +42 -0
  102. package/schema/v2.0/GetDisplayMessagesResponse_v1p0.json +20 -0
  103. package/schema/v2.0/GetInstalledCertificateIdsRequest_v1p0.json +24 -0
  104. package/schema/v2.0/GetInstalledCertificateIdsResponse_v1p0.json +70 -0
  105. package/schema/v2.0/GetLocalListVersionRequest_v1p0.json +7 -0
  106. package/schema/v2.0/GetLocalListVersionResponse_v1p0.json +15 -0
  107. package/schema/v2.0/GetLogRequest_v1p0.json +61 -0
  108. package/schema/v2.0/GetLogResponse_v1p0.json +25 -0
  109. package/schema/v2.0/GetMonitoringReportRequest_v1p0.json +112 -0
  110. package/schema/v2.0/GetMonitoringReportResponse_v1p0.json +21 -0
  111. package/schema/v2.0/GetReportRequest_v1p0.json +113 -0
  112. package/schema/v2.0/GetReportResponse_v1p0.json +21 -0
  113. package/schema/v2.0/GetTransactionStatusRequest_v1p0.json +13 -0
  114. package/schema/v2.0/GetTransactionStatusResponse_v1p0.json +18 -0
  115. package/schema/v2.0/GetVariablesRequest_v1p0.json +108 -0
  116. package/schema/v2.0/GetVariablesResponse_v1p0.json +127 -0
  117. package/schema/v2.0/HeartbeatRequest_v1p0.json +7 -0
  118. package/schema/v2.0/HeartbeatResponse_v1p0.json +16 -0
  119. package/schema/v2.0/InstallCertificateRequest_v1p0.json +29 -0
  120. package/schema/v2.0/InstallCertificateResponse_v1p0.json +25 -0
  121. package/schema/v2.0/LogStatusNotificationRequest_v1p0.json +29 -0
  122. package/schema/v2.0/LogStatusNotificationResponse_v1p0.json +7 -0
  123. package/schema/v2.0/MeterValuesRequest_v1p0.json +212 -0
  124. package/schema/v2.0/MeterValuesResponse_v1p0.json +7 -0
  125. package/schema/v2.0/NotifyCentralChargingNeedsRequest_v1p0.json +191 -0
  126. package/schema/v2.0/NotifyCentralChargingNeedsResponse_v1p0.json +20 -0
  127. package/schema/v2.0/NotifyChargingLimitRequest_v1p0.json +117 -0
  128. package/schema/v2.0/NotifyChargingLimitResponse_v1p0.json +7 -0
  129. package/schema/v2.0/NotifyCustomerInformationRequest_v1p0.json +32 -0
  130. package/schema/v2.0/NotifyCustomerInformationResponse_v1p0.json +7 -0
  131. package/schema/v2.0/NotifyDisplayMessagesRequest_v1p0.json +157 -0
  132. package/schema/v2.0/NotifyDisplayMessagesResponse_v1p0.json +7 -0
  133. package/schema/v2.0/NotifyEVChargingNeedsRequest_v1p0.json +125 -0
  134. package/schema/v2.0/NotifyEVChargingNeedsResponse_v1p0.json +21 -0
  135. package/schema/v2.0/NotifyEVChargingScheduleRequest_v1p0.json +88 -0
  136. package/schema/v2.0/NotifyEVChargingScheduleResponse_v1p0.json +20 -0
  137. package/schema/v2.0/NotifyEventRequest_v1p0.json +193 -0
  138. package/schema/v2.0/NotifyEventResponse_v1p0.json +7 -0
  139. package/schema/v2.0/NotifyMonitoringReportRequest_v1p0.json +160 -0
  140. package/schema/v2.0/NotifyMonitoringReportResponse_v1p0.json +7 -0
  141. package/schema/v2.0/NotifyReportRequest_v1p0.json +216 -0
  142. package/schema/v2.0/NotifyReportResponse_v1p0.json +7 -0
  143. package/schema/v2.0/PublishFirmwareRequest_v1p0.json +24 -0
  144. package/schema/v2.0/PublishFirmwareResponse_v1p0.json +20 -0
  145. package/schema/v2.0/PublishFirmwareStatusNotificationRequest_v1p0.json +36 -0
  146. package/schema/v2.0/PublishFirmwareStatusNotificationResponse_v1p0.json +7 -0
  147. package/schema/v2.0/Renegotiate15118ScheduleRequest_v1p0.json +33 -0
  148. package/schema/v2.0/Renegotiate15118ScheduleResponse_v1p0.json +20 -0
  149. package/schema/v2.0/ReportChargingProfilesRequest_v1p0.json +183 -0
  150. package/schema/v2.0/ReportChargingProfilesResponse_v1p0.json +7 -0
  151. package/schema/v2.0/RequestStartTransactionRequest_v1p0.json +222 -0
  152. package/schema/v2.0/RequestStartTransactionResponse_v1p0.json +24 -0
  153. package/schema/v2.0/RequestStopTransactionRequest_v1p0.json +16 -0
  154. package/schema/v2.0/RequestStopTransactionResponse_v1p0.json +20 -0
  155. package/schema/v2.0/ReservationStatusUpdateRequest_v1p0.json +24 -0
  156. package/schema/v2.0/ReservationStatusUpdateResponse_v1p0.json +7 -0
  157. package/schema/v2.0/ReserveNowRequest_v1p0.json +151 -0
  158. package/schema/v2.0/ReserveNowResponse_v1p0.json +23 -0
  159. package/schema/v2.0/ResetRequest_v1p0.json +20 -0
  160. package/schema/v2.0/ResetResponse_v1p0.json +21 -0
  161. package/schema/v2.0/SecurityEventNotificationRequest_v1p0.json +41 -0
  162. package/schema/v2.0/SecurityEventNotificationResponse_v1p0.json +7 -0
  163. package/schema/v2.0/SendLocalListRequest_v1p0.json +211 -0
  164. package/schema/v2.0/SendLocalListResponse_v1p0.json +21 -0
  165. package/schema/v2.0/SetChargingProfileRequest_v1p0.json +158 -0
  166. package/schema/v2.0/SetChargingProfileResponse_v1p0.json +20 -0
  167. package/schema/v2.0/SetDisplayMessageRequest_v1p0.json +144 -0
  168. package/schema/v2.0/SetDisplayMessageResponse_v1p0.json +24 -0
  169. package/schema/v2.0/SetMonitoringBaseRequest_v1p0.json +21 -0
  170. package/schema/v2.0/SetMonitoringBaseResponse_v1p0.json +21 -0
  171. package/schema/v2.0/SetMonitoringLevelRequest_v1p0.json +15 -0
  172. package/schema/v2.0/SetMonitoringLevelResponse_v1p0.json +20 -0
  173. package/schema/v2.0/SetNetworkProfileRequest_v1p0.json +182 -0
  174. package/schema/v2.0/SetNetworkProfileResponse_v1p0.json +21 -0
  175. package/schema/v2.0/SetVariableMonitoringRequest_v1p0.json +123 -0
  176. package/schema/v2.0/SetVariableMonitoringResponse_v1p0.json +133 -0
  177. package/schema/v2.0/SetVariablesRequest_v1p0.json +113 -0
  178. package/schema/v2.0/SetVariablesResponse_v1p0.json +126 -0
  179. package/schema/v2.0/SignCertificateRequest_v1p0.json +24 -0
  180. package/schema/v2.0/SignCertificateResponse_v1p0.json +20 -0
  181. package/schema/v2.0/StatusNotificationRequest_v1p0.json +36 -0
  182. package/schema/v2.0/StatusNotificationResponse_v1p0.json +7 -0
  183. package/schema/v2.0/TransactionEventRequest_v1p0.json +415 -0
  184. package/schema/v2.0/TransactionEventResponse_v1p0.json +136 -0
  185. package/schema/v2.0/TriggerMessageRequest_v1p0.json +51 -0
  186. package/schema/v2.0/TriggerMessageResponse_v1p0.json +21 -0
  187. package/schema/v2.0/UnlockConnectorRequest_v1p0.json +19 -0
  188. package/schema/v2.0/UnlockConnectorResponse_v1p0.json +20 -0
  189. package/schema/v2.0/UnpublishFirmwareRequest_v1p0.json +16 -0
  190. package/schema/v2.0/UnpublishFirmwareResponse_v1p0.json +21 -0
  191. package/schema/v2.0/Update15118EVCertificateRequest_v1p0.json +21 -0
  192. package/schema/v2.0/Update15118EVCertificateResponse_v1p0.json +24 -0
  193. package/schema/v2.0/UpdateFirmwareRequest_v1p0.json +58 -0
  194. package/schema/v2.0/UpdateFirmwareResponse_v1p0.json +21 -0
  195. package/v1.6/Authorize.d.ts +10 -0
  196. package/v1.6/AuthorizeResponse.d.ts +15 -0
  197. package/v1.6/BootNotification.d.ts +18 -0
  198. package/v1.6/BootNotificationResponse.d.ts +12 -0
  199. package/v1.6/CancelReservation.d.ts +10 -0
  200. package/v1.6/CancelReservationResponse.d.ts +10 -0
  201. package/v1.6/ChangeAvailability.d.ts +11 -0
  202. package/v1.6/ChangeAvailabilityResponse.d.ts +10 -0
  203. package/v1.6/ChangeConfiguration.d.ts +11 -0
  204. package/v1.6/ChangeConfigurationResponse.d.ts +10 -0
  205. package/v1.6/ClearCache.d.ts +8 -0
  206. package/v1.6/ClearCacheResponse.d.ts +10 -0
  207. package/v1.6/ClearChargingProfile.d.ts +13 -0
  208. package/v1.6/ClearChargingProfileResponse.d.ts +10 -0
  209. package/v1.6/DataTransfer.d.ts +12 -0
  210. package/v1.6/DataTransferResponse.d.ts +11 -0
  211. package/v1.6/DiagnosticsStatusNotification.d.ts +10 -0
  212. package/v1.6/DiagnosticsStatusNotificationResponse.d.ts +8 -0
  213. package/v1.6/FirmwareStatusNotification.d.ts +10 -0
  214. package/v1.6/FirmwareStatusNotificationResponse.d.ts +8 -0
  215. package/v1.6/GetCompositeSchedule.d.ts +12 -0
  216. package/v1.6/GetCompositeScheduleResponse.d.ts +25 -0
  217. package/v1.6/GetConfiguration.d.ts +10 -0
  218. package/v1.6/GetConfigurationResponse.d.ts +16 -0
  219. package/v1.6/GetDiagnostics.d.ts +14 -0
  220. package/v1.6/GetDiagnosticsResponse.d.ts +10 -0
  221. package/v1.6/GetLocalListVersion.d.ts +8 -0
  222. package/v1.6/GetLocalListVersionResponse.d.ts +10 -0
  223. package/v1.6/Heartbeat.d.ts +8 -0
  224. package/v1.6/HeartbeatResponse.d.ts +10 -0
  225. package/v1.6/MeterValues.d.ts +91 -0
  226. package/v1.6/MeterValuesResponse.d.ts +8 -0
  227. package/v1.6/RemoteStartTransaction.d.ts +35 -0
  228. package/v1.6/RemoteStartTransactionResponse.d.ts +10 -0
  229. package/v1.6/RemoteStopTransaction.d.ts +10 -0
  230. package/v1.6/RemoteStopTransactionResponse.d.ts +10 -0
  231. package/v1.6/ReserveNow.d.ts +14 -0
  232. package/v1.6/ReserveNowResponse.d.ts +10 -0
  233. package/v1.6/Reset.d.ts +10 -0
  234. package/v1.6/ResetResponse.d.ts +10 -0
  235. package/v1.6/SendLocalList.d.ts +19 -0
  236. package/v1.6/SendLocalListResponse.d.ts +10 -0
  237. package/v1.6/SetChargingProfile.d.ts +34 -0
  238. package/v1.6/SetChargingProfileResponse.d.ts +10 -0
  239. package/v1.6/StartTransaction.d.ts +14 -0
  240. package/v1.6/StartTransactionResponse.d.ts +16 -0
  241. package/v1.6/StatusNotification.d.ts +41 -0
  242. package/v1.6/StatusNotificationResponse.d.ts +8 -0
  243. package/v1.6/StopTransaction.d.ts +85 -0
  244. package/v1.6/StopTransactionResponse.d.ts +15 -0
  245. package/v1.6/TriggerMessage.d.ts +17 -0
  246. package/v1.6/TriggerMessageResponse.d.ts +10 -0
  247. package/v1.6/UnlockConnector.d.ts +10 -0
  248. package/v1.6/UnlockConnectorResponse.d.ts +10 -0
  249. package/v1.6/UpdateFirmware.d.ts +13 -0
  250. package/v1.6/UpdateFirmwareResponse.d.ts +8 -0
  251. package/v1.6/index.d.ts +214 -0
  252. package/v2.0/AuthorizeRequest.d.ts +111 -0
  253. package/v2.0/AuthorizeResponse.d.ts +179 -0
  254. package/v2.0/BootNotificationRequest.d.ts +92 -0
  255. package/v2.0/BootNotificationResponse.d.ts +53 -0
  256. package/v2.0/CancelReservationRequest.d.ts +22 -0
  257. package/v2.0/CancelReservationResponse.d.ts +42 -0
  258. package/v2.0/CertificateSignedRequest.d.ts +32 -0
  259. package/v2.0/CertificateSignedResponse.d.ts +42 -0
  260. package/v2.0/ChangeAvailabilityRequest.d.ts +47 -0
  261. package/v2.0/ChangeAvailabilityResponse.d.ts +42 -0
  262. package/v2.0/ClearCacheRequest.d.ts +17 -0
  263. package/v2.0/ClearCacheResponse.d.ts +42 -0
  264. package/v2.0/ClearChargingProfileRequest.d.ts +60 -0
  265. package/v2.0/ClearChargingProfileResponse.d.ts +42 -0
  266. package/v2.0/ClearDisplayMessageRequest.d.ts +22 -0
  267. package/v2.0/ClearDisplayMessageResponse.d.ts +42 -0
  268. package/v2.0/ClearVariableMonitoringRequest.d.ts +24 -0
  269. package/v2.0/ClearVariableMonitoringResponse.d.ts +56 -0
  270. package/v2.0/ClearedChargingLimitRequest.d.ts +29 -0
  271. package/v2.0/ClearedChargingLimitResponse.d.ts +17 -0
  272. package/v2.0/CostUpdatedRequest.d.ts +29 -0
  273. package/v2.0/CostUpdatedResponse.d.ts +17 -0
  274. package/v2.0/CustomerInformationRequest.d.ts +114 -0
  275. package/v2.0/CustomerInformationResponse.d.ts +42 -0
  276. package/v2.0/DataTransferRequest.d.ts +35 -0
  277. package/v2.0/DataTransferResponse.d.ts +49 -0
  278. package/v2.0/DeleteCertificateRequest.d.ts +44 -0
  279. package/v2.0/DeleteCertificateResponse.d.ts +42 -0
  280. package/v2.0/FirmwareStatusNotificationRequest.d.ts +45 -0
  281. package/v2.0/FirmwareStatusNotificationResponse.d.ts +17 -0
  282. package/v2.0/Get15118EVCertificateRequest.d.ts +35 -0
  283. package/v2.0/Get15118EVCertificateResponse.d.ts +47 -0
  284. package/v2.0/GetBaseReportRequest.d.ts +29 -0
  285. package/v2.0/GetBaseReportResponse.d.ts +42 -0
  286. package/v2.0/GetCertificateStatusRequest.d.ts +50 -0
  287. package/v2.0/GetCertificateStatusResponse.d.ts +47 -0
  288. package/v2.0/GetChargingProfilesRequest.d.ts +83 -0
  289. package/v2.0/GetChargingProfilesResponse.d.ts +42 -0
  290. package/v2.0/GetCompositeScheduleRequest.d.ts +36 -0
  291. package/v2.0/GetCompositeScheduleResponse.d.ts +119 -0
  292. package/v2.0/GetDisplayMessagesRequest.d.ts +43 -0
  293. package/v2.0/GetDisplayMessagesResponse.d.ts +42 -0
  294. package/v2.0/GetInstalledCertificateIdsRequest.d.ts +31 -0
  295. package/v2.0/GetInstalledCertificateIdsResponse.d.ts +95 -0
  296. package/v2.0/GetLocalListVersionRequest.d.ts +17 -0
  297. package/v2.0/GetLocalListVersionResponse.d.ts +22 -0
  298. package/v2.0/GetLogRequest.d.ts +71 -0
  299. package/v2.0/GetLogResponse.d.ts +47 -0
  300. package/v2.0/GetMonitoringReportRequest.d.ts +104 -0
  301. package/v2.0/GetMonitoringReportResponse.d.ts +42 -0
  302. package/v2.0/GetReportRequest.d.ts +105 -0
  303. package/v2.0/GetReportResponse.d.ts +42 -0
  304. package/v2.0/GetTransactionStatusRequest.d.ts +22 -0
  305. package/v2.0/GetTransactionStatusResponse.d.ts +27 -0
  306. package/v2.0/GetVariablesRequest.d.ts +93 -0
  307. package/v2.0/GetVariablesResponse.d.ts +131 -0
  308. package/v2.0/HeartbeatRequest.d.ts +17 -0
  309. package/v2.0/HeartbeatResponse.d.ts +22 -0
  310. package/v2.0/InstallCertificateRequest.d.ts +33 -0
  311. package/v2.0/InstallCertificateResponse.d.ts +42 -0
  312. package/v2.0/LogStatusNotificationRequest.d.ts +38 -0
  313. package/v2.0/LogStatusNotificationResponse.d.ts +17 -0
  314. package/v2.0/MeterValuesRequest.d.ts +187 -0
  315. package/v2.0/MeterValuesResponse.d.ts +17 -0
  316. package/v2.0/NotifyChargingLimitRequest.d.ts +267 -0
  317. package/v2.0/NotifyChargingLimitResponse.d.ts +17 -0
  318. package/v2.0/NotifyCustomerInformationRequest.d.ts +43 -0
  319. package/v2.0/NotifyCustomerInformationResponse.d.ts +17 -0
  320. package/v2.0/NotifyDisplayMessagesRequest.d.ts +159 -0
  321. package/v2.0/NotifyDisplayMessagesResponse.d.ts +17 -0
  322. package/v2.0/NotifyEVChargingNeedsRequest.d.ts +159 -0
  323. package/v2.0/NotifyEVChargingNeedsResponse.d.ts +42 -0
  324. package/v2.0/NotifyEVChargingScheduleRequest.d.ts +245 -0
  325. package/v2.0/NotifyEVChargingScheduleResponse.d.ts +42 -0
  326. package/v2.0/NotifyEventRequest.d.ts +171 -0
  327. package/v2.0/NotifyEventResponse.d.ts +17 -0
  328. package/v2.0/NotifyMonitoringReportRequest.d.ts +168 -0
  329. package/v2.0/NotifyMonitoringReportResponse.d.ts +17 -0
  330. package/v2.0/NotifyReportRequest.d.ts +212 -0
  331. package/v2.0/NotifyReportResponse.d.ts +17 -0
  332. package/v2.0/PublishFirmwareRequest.d.ts +50 -0
  333. package/v2.0/PublishFirmwareResponse.d.ts +42 -0
  334. package/v2.0/PublishFirmwareStatusNotificationRequest.d.ts +50 -0
  335. package/v2.0/PublishFirmwareStatusNotificationResponse.d.ts +17 -0
  336. package/v2.0/ReportChargingProfilesRequest.d.ts +337 -0
  337. package/v2.0/ReportChargingProfilesResponse.d.ts +17 -0
  338. package/v2.0/RequestStartTransactionRequest.d.ts +372 -0
  339. package/v2.0/RequestStartTransactionResponse.d.ts +47 -0
  340. package/v2.0/RequestStopTransactionRequest.d.ts +22 -0
  341. package/v2.0/RequestStopTransactionResponse.d.ts +42 -0
  342. package/v2.0/ReservationStatusUpdateRequest.d.ts +29 -0
  343. package/v2.0/ReservationStatusUpdateResponse.d.ts +17 -0
  344. package/v2.0/ReserveNowRequest.d.ts +110 -0
  345. package/v2.0/ReserveNowResponse.d.ts +42 -0
  346. package/v2.0/ResetRequest.d.ts +29 -0
  347. package/v2.0/ResetResponse.d.ts +42 -0
  348. package/v2.0/SecurityEventNotificationRequest.d.ts +32 -0
  349. package/v2.0/SecurityEventNotificationResponse.d.ts +17 -0
  350. package/v2.0/SendLocalListRequest.d.ts +187 -0
  351. package/v2.0/SendLocalListResponse.d.ts +42 -0
  352. package/v2.0/SetChargingProfileRequest.d.ts +318 -0
  353. package/v2.0/SetChargingProfileResponse.d.ts +42 -0
  354. package/v2.0/SetDisplayMessageRequest.d.ts +146 -0
  355. package/v2.0/SetDisplayMessageResponse.d.ts +48 -0
  356. package/v2.0/SetMonitoringBaseRequest.d.ts +24 -0
  357. package/v2.0/SetMonitoringBaseResponse.d.ts +42 -0
  358. package/v2.0/SetMonitoringLevelRequest.d.ts +47 -0
  359. package/v2.0/SetMonitoringLevelResponse.d.ts +42 -0
  360. package/v2.0/SetNetworkProfileRequest.d.ts +198 -0
  361. package/v2.0/SetNetworkProfileResponse.d.ts +42 -0
  362. package/v2.0/SetVariableMonitoringRequest.d.ts +141 -0
  363. package/v2.0/SetVariableMonitoringResponse.d.ts +157 -0
  364. package/v2.0/SetVariablesRequest.d.ts +96 -0
  365. package/v2.0/SetVariablesResponse.d.ts +119 -0
  366. package/v2.0/SignCertificateRequest.d.ts +30 -0
  367. package/v2.0/SignCertificateResponse.d.ts +42 -0
  368. package/v2.0/StatusNotificationRequest.d.ts +39 -0
  369. package/v2.0/StatusNotificationResponse.d.ts +17 -0
  370. package/v2.0/TransactionEventRequest.d.ts +371 -0
  371. package/v2.0/TransactionEventResponse.d.ts +176 -0
  372. package/v2.0/TriggerMessageRequest.d.ts +57 -0
  373. package/v2.0/TriggerMessageResponse.d.ts +42 -0
  374. package/v2.0/UnlockConnectorRequest.d.ts +27 -0
  375. package/v2.0/UnlockConnectorResponse.d.ts +42 -0
  376. package/v2.0/UnpublishFirmwareRequest.d.ts +22 -0
  377. package/v2.0/UnpublishFirmwareResponse.d.ts +24 -0
  378. package/v2.0/UpdateFirmwareRequest.d.ts +76 -0
  379. package/v2.0/UpdateFirmwareResponse.d.ts +48 -0
  380. package/v2.0/index.d.ts +129 -0
@@ -0,0 +1,371 @@
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 this event.
10
+ * The first TransactionEvent of a transaction SHALL contain: "Started" The last TransactionEvent of a transaction SHALL contain: "Ended" All others SHALL contain: "Updated"
11
+ *
12
+ */
13
+ export type TransactionEventEnumType = "Ended" | "Started" | "Updated";
14
+ /**
15
+ * Sampled_ Value. Context. Reading_ Context_ Code
16
+ * urn:x-oca:ocpp:uid:1:569261
17
+ * Type of detail value: start, end or sample. Default = "Sample.Periodic"
18
+ *
19
+ */
20
+ export type ReadingContextEnumType =
21
+ | "Interruption.Begin"
22
+ | "Interruption.End"
23
+ | "Other"
24
+ | "Sample.Clock"
25
+ | "Sample.Periodic"
26
+ | "Transaction.Begin"
27
+ | "Transaction.End"
28
+ | "Trigger";
29
+ /**
30
+ * Sampled_ Value. Measurand. Measurand_ Code
31
+ * urn:x-oca:ocpp:uid:1:569263
32
+ * Type of measurement. Default = "Energy.Active.Import.Register"
33
+ *
34
+ */
35
+ export type MeasurandEnumType =
36
+ | "Current.Export"
37
+ | "Current.Import"
38
+ | "Current.Offered"
39
+ | "Energy.Active.Export.Register"
40
+ | "Energy.Active.Import.Register"
41
+ | "Energy.Reactive.Export.Register"
42
+ | "Energy.Reactive.Import.Register"
43
+ | "Energy.Active.Export.Interval"
44
+ | "Energy.Active.Import.Interval"
45
+ | "Energy.Active.Net"
46
+ | "Energy.Reactive.Export.Interval"
47
+ | "Energy.Reactive.Import.Interval"
48
+ | "Energy.Reactive.Net"
49
+ | "Energy.Apparent.Net"
50
+ | "Energy.Apparent.Import"
51
+ | "Energy.Apparent.Export"
52
+ | "Frequency"
53
+ | "Power.Active.Export"
54
+ | "Power.Active.Import"
55
+ | "Power.Factor"
56
+ | "Power.Offered"
57
+ | "Power.Reactive.Export"
58
+ | "Power.Reactive.Import"
59
+ | "SoC"
60
+ | "Voltage";
61
+ /**
62
+ * Sampled_ Value. Phase. Phase_ Code
63
+ * urn:x-oca:ocpp:uid:1:569264
64
+ * Indicates how the measured value is to be interpreted. For instance between L1 and neutral (L1-N) Please note that not all values of phase are applicable to all Measurands. When phase is absent, the measured value is interpreted as an overall value.
65
+ *
66
+ */
67
+ export type PhaseEnumType = "L1" | "L2" | "L3" | "N" | "L1-N" | "L2-N" | "L3-N" | "L1-L2" | "L2-L3" | "L3-L1";
68
+ /**
69
+ * Sampled_ Value. Location. Location_ Code
70
+ * urn:x-oca:ocpp:uid:1:569265
71
+ * Indicates where the measured value has been sampled. Default = "Outlet"
72
+ *
73
+ *
74
+ */
75
+ export type LocationEnumType = "Body" | "Cable" | "EV" | "Inlet" | "Outlet";
76
+ /**
77
+ * Reason the Charging Station sends this message to the CSMS
78
+ *
79
+ */
80
+ export type TriggerReasonEnumType =
81
+ | "Authorized"
82
+ | "CablePluggedIn"
83
+ | "ChargingRateChanged"
84
+ | "ChargingStateChanged"
85
+ | "Deauthorized"
86
+ | "EnergyLimitReached"
87
+ | "EVCommunicationLost"
88
+ | "EVConnectTimeout"
89
+ | "MeterValueClock"
90
+ | "MeterValuePeriodic"
91
+ | "TimeLimitReached"
92
+ | "Trigger"
93
+ | "UnlockCommand"
94
+ | "StopAuthorized"
95
+ | "EVDeparted"
96
+ | "EVDetected"
97
+ | "RemoteStop"
98
+ | "RemoteStart"
99
+ | "AbnormalCondition"
100
+ | "SignedDataReceived"
101
+ | "ResetCommand";
102
+ /**
103
+ * Transaction. State. Transaction_ State_ Code
104
+ * urn:x-oca:ocpp:uid:1:569419
105
+ * Current charging state, is required when state
106
+ * has changed.
107
+ *
108
+ */
109
+ export type ChargingStateEnumType = "Charging" | "EVConnected" | "SuspendedEV" | "SuspendedEVSE" | "Idle";
110
+ /**
111
+ * Transaction. Stopped_ Reason. EOT_ Reason_ Code
112
+ * urn:x-oca:ocpp:uid:1:569413
113
+ * This contains the reason why the transaction was stopped. MAY only be omitted when Reason is "Local".
114
+ *
115
+ */
116
+ export type ReasonEnumType =
117
+ | "DeAuthorized"
118
+ | "EmergencyStop"
119
+ | "EnergyLimitReached"
120
+ | "EVDisconnected"
121
+ | "GroundFault"
122
+ | "ImmediateReset"
123
+ | "Local"
124
+ | "LocalOutOfCredit"
125
+ | "MasterPass"
126
+ | "Other"
127
+ | "OvercurrentFault"
128
+ | "PowerLoss"
129
+ | "PowerQuality"
130
+ | "Reboot"
131
+ | "Remote"
132
+ | "SOCLimitReached"
133
+ | "StoppedByEV"
134
+ | "TimeLimitReached"
135
+ | "Timeout";
136
+ /**
137
+ * Enumeration of possible idToken types.
138
+ *
139
+ */
140
+ export type IdTokenEnumType =
141
+ | "Central"
142
+ | "eMAID"
143
+ | "ISO14443"
144
+ | "ISO15693"
145
+ | "KeyCode"
146
+ | "Local"
147
+ | "MacAddress"
148
+ | "NoAuthorization";
149
+
150
+ export interface UrnOCPPCp220203TransactionEventRequest {
151
+ customData?: CustomDataType;
152
+ eventType: TransactionEventEnumType;
153
+ /**
154
+ * @minItems 1
155
+ */
156
+ meterValue?: [MeterValueType, ...MeterValueType[]];
157
+ /**
158
+ * The date and time at which this transaction event occurred.
159
+ *
160
+ */
161
+ timestamp: string;
162
+ triggerReason: TriggerReasonEnumType;
163
+ /**
164
+ * Incremental sequence number, helps with determining if all messages of a transaction have been received.
165
+ *
166
+ */
167
+ seqNo: number;
168
+ /**
169
+ * Indication that this transaction event happened when the Charging Station was offline. Default = false, meaning: the event occurred when the Charging Station was online.
170
+ *
171
+ */
172
+ offline?: boolean;
173
+ /**
174
+ * If the Charging Station is able to report the number of phases used, then it SHALL provide it. When omitted the CSMS may be able to determine the number of phases used via device management.
175
+ *
176
+ */
177
+ numberOfPhasesUsed?: number;
178
+ /**
179
+ * The maximum current of the connected cable in Ampere (A).
180
+ *
181
+ */
182
+ cableMaxCurrent?: number;
183
+ /**
184
+ * This contains the Id of the reservation that terminates as a result of this transaction.
185
+ *
186
+ */
187
+ reservationId?: number;
188
+ transactionInfo: TransactionType;
189
+ evse?: EVSEType;
190
+ idToken?: IdTokenType;
191
+ }
192
+ /**
193
+ * 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.
194
+ */
195
+ export interface CustomDataType {
196
+ vendorId: string;
197
+ [k: string]: unknown;
198
+ }
199
+ /**
200
+ * Meter_ Value
201
+ * urn:x-oca:ocpp:uid:2:233265
202
+ * Collection of one or more sampled values in MeterValuesRequest and TransactionEvent. All sampled values in a MeterValue are sampled at the same point in time.
203
+ *
204
+ */
205
+ export interface MeterValueType {
206
+ customData?: CustomDataType;
207
+ /**
208
+ * @minItems 1
209
+ */
210
+ sampledValue: [SampledValueType, ...SampledValueType[]];
211
+ /**
212
+ * Meter_ Value. Timestamp. Date_ Time
213
+ * urn:x-oca:ocpp:uid:1:569259
214
+ * Timestamp for measured value(s).
215
+ *
216
+ */
217
+ timestamp: string;
218
+ }
219
+ /**
220
+ * Sampled_ Value
221
+ * urn:x-oca:ocpp:uid:2:233266
222
+ * Single sampled value in MeterValues. Each value can be accompanied by optional fields.
223
+ *
224
+ * To save on mobile data usage, default values of all of the optional fields are such that. The value without any additional fields will be interpreted, as a register reading of active import energy in Wh (Watt-hour) units.
225
+ *
226
+ */
227
+ export interface SampledValueType {
228
+ customData?: CustomDataType;
229
+ /**
230
+ * Sampled_ Value. Value. Measure
231
+ * urn:x-oca:ocpp:uid:1:569260
232
+ * Indicates the measured value.
233
+ *
234
+ *
235
+ */
236
+ value: number;
237
+ context?: ReadingContextEnumType;
238
+ measurand?: MeasurandEnumType;
239
+ phase?: PhaseEnumType;
240
+ location?: LocationEnumType;
241
+ signedMeterValue?: SignedMeterValueType;
242
+ unitOfMeasure?: UnitOfMeasureType;
243
+ }
244
+ /**
245
+ * Represent a signed version of the meter value.
246
+ *
247
+ */
248
+ export interface SignedMeterValueType {
249
+ customData?: CustomDataType;
250
+ /**
251
+ * Base64 encoded, contains the signed data which might contain more then just the meter value. It can contain information like timestamps, reference to a customer etc.
252
+ *
253
+ */
254
+ signedMeterData: string;
255
+ /**
256
+ * Method used to create the digital signature.
257
+ *
258
+ */
259
+ signingMethod: string;
260
+ /**
261
+ * Method used to encode the meter values before applying the digital signature algorithm.
262
+ *
263
+ */
264
+ encodingMethod: string;
265
+ /**
266
+ * Base64 encoded, sending depends on configuration variable _PublicKeyWithSignedMeterValue_.
267
+ *
268
+ */
269
+ publicKey: string;
270
+ }
271
+ /**
272
+ * Represents a UnitOfMeasure with a multiplier
273
+ *
274
+ */
275
+ export interface UnitOfMeasureType {
276
+ customData?: CustomDataType;
277
+ /**
278
+ * Unit of the value. Default = "Wh" if the (default) measurand is an "Energy" type.
279
+ * This field SHALL use a value from the list Standardized Units of Measurements in Part 2 Appendices.
280
+ * If an applicable unit is available in that list, otherwise a "custom" unit might be used.
281
+ *
282
+ */
283
+ unit?: string;
284
+ /**
285
+ * Multiplier, this value represents the exponent to base 10. I.e. multiplier 3 means 10 raised to the 3rd power. Default is 0.
286
+ *
287
+ */
288
+ multiplier?: number;
289
+ }
290
+ /**
291
+ * Transaction
292
+ * urn:x-oca:ocpp:uid:2:233318
293
+ *
294
+ */
295
+ export interface TransactionType {
296
+ customData?: CustomDataType;
297
+ /**
298
+ * This contains the Id of the transaction.
299
+ *
300
+ */
301
+ transactionId: string;
302
+ chargingState?: ChargingStateEnumType;
303
+ /**
304
+ * Transaction. Time_ Spent_ Charging. Elapsed_ Time
305
+ * urn:x-oca:ocpp:uid:1:569415
306
+ * Contains the total time that energy flowed from EVSE to EV during the transaction (in seconds). Note that timeSpentCharging is smaller or equal to the duration of the transaction.
307
+ *
308
+ */
309
+ timeSpentCharging?: number;
310
+ stoppedReason?: ReasonEnumType;
311
+ /**
312
+ * The ID given to remote start request (<<requeststarttransactionrequest, RequestStartTransactionRequest>>. This enables to CSMS to match the started transaction to the given start request.
313
+ *
314
+ */
315
+ remoteStartId?: number;
316
+ }
317
+ /**
318
+ * EVSE
319
+ * urn:x-oca:ocpp:uid:2:233123
320
+ * Electric Vehicle Supply Equipment
321
+ *
322
+ */
323
+ export interface EVSEType {
324
+ customData?: CustomDataType;
325
+ /**
326
+ * Identified_ Object. MRID. Numeric_ Identifier
327
+ * urn:x-enexis:ecdm:uid:1:569198
328
+ * EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
329
+ *
330
+ */
331
+ id: number;
332
+ /**
333
+ * An id to designate a specific connector (on an EVSE) by connector index number.
334
+ *
335
+ */
336
+ connectorId?: number;
337
+ }
338
+ /**
339
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
340
+ *
341
+ */
342
+ export interface IdTokenType {
343
+ customData?: CustomDataType;
344
+ /**
345
+ * @minItems 1
346
+ */
347
+ additionalInfo?: [AdditionalInfoType, ...AdditionalInfoType[]];
348
+ /**
349
+ * IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
350
+ *
351
+ */
352
+ idToken: string;
353
+ type: IdTokenEnumType;
354
+ }
355
+ /**
356
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
357
+ *
358
+ */
359
+ export interface AdditionalInfoType {
360
+ customData?: CustomDataType;
361
+ /**
362
+ * This field specifies the additional IdToken.
363
+ *
364
+ */
365
+ additionalIdToken: string;
366
+ /**
367
+ * This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
368
+ *
369
+ */
370
+ type: string;
371
+ }
@@ -0,0 +1,176 @@
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
+ * ID_ Token. Status. Authorization_ Status
10
+ * urn:x-oca:ocpp:uid:1:569372
11
+ * Current status of the ID Token.
12
+ *
13
+ */
14
+ export type AuthorizationStatusEnumType =
15
+ | "Accepted"
16
+ | "Blocked"
17
+ | "ConcurrentTx"
18
+ | "Expired"
19
+ | "Invalid"
20
+ | "NoCredit"
21
+ | "NotAllowedTypeEVSE"
22
+ | "NotAtThisLocation"
23
+ | "NotAtThisTime"
24
+ | "Unknown";
25
+ /**
26
+ * Enumeration of possible idToken types.
27
+ *
28
+ */
29
+ export type IdTokenEnumType =
30
+ | "Central"
31
+ | "eMAID"
32
+ | "ISO14443"
33
+ | "ISO15693"
34
+ | "KeyCode"
35
+ | "Local"
36
+ | "MacAddress"
37
+ | "NoAuthorization";
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
+ export interface UrnOCPPCp220203TransactionEventResponse {
47
+ customData?: CustomDataType;
48
+ /**
49
+ * SHALL only be sent when charging has ended. Final total cost of this transaction, including taxes. In the currency configured with the Configuration Variable: <<configkey-currency,`Currency`>>. When omitted, the transaction was NOT free. To indicate a free transaction, the CSMS SHALL send 0.00.
50
+ *
51
+ *
52
+ */
53
+ totalCost?: number;
54
+ /**
55
+ * 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>> is temporarily, so it may not be set in the <<cmn_idtokeninfotype,IdTokenInfoType>> afterwards. Also the chargingPriority in <<transactioneventresponse,TransactionEventResponse>> overrules the one in <<cmn_idtokeninfotype,IdTokenInfoType>>.
56
+ *
57
+ */
58
+ chargingPriority?: number;
59
+ idTokenInfo?: IdTokenInfoType;
60
+ updatedPersonalMessage?: MessageContentType;
61
+ }
62
+ /**
63
+ * 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.
64
+ */
65
+ export interface CustomDataType {
66
+ vendorId: string;
67
+ [k: string]: unknown;
68
+ }
69
+ /**
70
+ * ID_ Token
71
+ * urn:x-oca:ocpp:uid:2:233247
72
+ * Contains status information about an identifier.
73
+ * 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.
74
+ *
75
+ */
76
+ export interface IdTokenInfoType {
77
+ customData?: CustomDataType;
78
+ status: AuthorizationStatusEnumType;
79
+ /**
80
+ * ID_ Token. Expiry. Date_ Time
81
+ * urn:x-oca:ocpp:uid:1:569373
82
+ * Date and Time after which the token must be considered invalid.
83
+ *
84
+ */
85
+ cacheExpiryDateTime?: string;
86
+ /**
87
+ * 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.
88
+ *
89
+ */
90
+ chargingPriority?: number;
91
+ /**
92
+ * ID_ Token. Language1. Language_ Code
93
+ * urn:x-oca:ocpp:uid:1:569374
94
+ * Preferred user interface language of identifier user. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.
95
+ *
96
+ *
97
+ */
98
+ language1?: string;
99
+ /**
100
+ * Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.
101
+ *
102
+ *
103
+ *
104
+ * @minItems 1
105
+ */
106
+ evseId?: [number, ...number[]];
107
+ groupIdToken?: IdTokenType;
108
+ /**
109
+ * ID_ Token. Language2. Language_ Code
110
+ * urn:x-oca:ocpp:uid:1:569375
111
+ * 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]>>.
112
+ *
113
+ */
114
+ language2?: string;
115
+ personalMessage?: MessageContentType;
116
+ }
117
+ /**
118
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
119
+ *
120
+ */
121
+ export interface IdTokenType {
122
+ customData?: CustomDataType;
123
+ /**
124
+ * @minItems 1
125
+ */
126
+ additionalInfo?: [AdditionalInfoType, ...AdditionalInfoType[]];
127
+ /**
128
+ * IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
129
+ *
130
+ */
131
+ idToken: string;
132
+ type: IdTokenEnumType;
133
+ }
134
+ /**
135
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
136
+ *
137
+ */
138
+ export interface AdditionalInfoType {
139
+ customData?: CustomDataType;
140
+ /**
141
+ * This field specifies the additional IdToken.
142
+ *
143
+ */
144
+ additionalIdToken: string;
145
+ /**
146
+ * This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
147
+ *
148
+ */
149
+ type: string;
150
+ }
151
+ /**
152
+ * Message_ Content
153
+ * urn:x-enexis:ecdm:uid:2:234490
154
+ * Contains message details, for a message to be displayed on a Charging Station.
155
+ *
156
+ *
157
+ */
158
+ export interface MessageContentType {
159
+ customData?: CustomDataType;
160
+ format: MessageFormatEnumType;
161
+ /**
162
+ * Message_ Content. Language. Language_ Code
163
+ * urn:x-enexis:ecdm:uid:1:570849
164
+ * Message language identifier. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.
165
+ *
166
+ */
167
+ language?: string;
168
+ /**
169
+ * Message_ Content. Content. Message
170
+ * urn:x-enexis:ecdm:uid:1:570852
171
+ * Message contents.
172
+ *
173
+ *
174
+ */
175
+ content: string;
176
+ }
@@ -0,0 +1,57 @@
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 message to be triggered.
10
+ *
11
+ */
12
+ export type MessageTriggerEnumType =
13
+ | "BootNotification"
14
+ | "LogStatusNotification"
15
+ | "FirmwareStatusNotification"
16
+ | "Heartbeat"
17
+ | "MeterValues"
18
+ | "SignChargingStationCertificate"
19
+ | "SignV2GCertificate"
20
+ | "StatusNotification"
21
+ | "TransactionEvent"
22
+ | "SignCombinedCertificate"
23
+ | "PublishFirmwareStatusNotification";
24
+
25
+ export interface UrnOCPPCp220203TriggerMessageRequest {
26
+ customData?: CustomDataType;
27
+ evse?: EVSEType;
28
+ requestedMessage: MessageTriggerEnumType;
29
+ }
30
+ /**
31
+ * This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
32
+ */
33
+ export interface CustomDataType {
34
+ vendorId: string;
35
+ [k: string]: unknown;
36
+ }
37
+ /**
38
+ * EVSE
39
+ * urn:x-oca:ocpp:uid:2:233123
40
+ * Electric Vehicle Supply Equipment
41
+ *
42
+ */
43
+ export interface EVSEType {
44
+ customData?: CustomDataType;
45
+ /**
46
+ * Identified_ Object. MRID. Numeric_ Identifier
47
+ * urn:x-enexis:ecdm:uid:1:569198
48
+ * EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
49
+ *
50
+ */
51
+ id: number;
52
+ /**
53
+ * An id to designate a specific connector (on an EVSE) by connector index number.
54
+ *
55
+ */
56
+ connectorId?: number;
57
+ }
@@ -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 Charging Station will send the requested notification or not.
10
+ *
11
+ */
12
+ export type TriggerMessageStatusEnumType = "Accepted" | "Rejected" | "NotImplemented";
13
+
14
+ export interface UrnOCPPCp220203TriggerMessageResponse {
15
+ customData?: CustomDataType;
16
+ status: TriggerMessageStatusEnumType;
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,27 @@
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 UrnOCPPCp220203UnlockConnectorRequest {
9
+ customData?: CustomDataType;
10
+ /**
11
+ * This contains the identifier of the EVSE for which a connector needs to be unlocked.
12
+ *
13
+ */
14
+ evseId: number;
15
+ /**
16
+ * This contains the identifier of the connector that needs to be unlocked.
17
+ *
18
+ */
19
+ connectorId: number;
20
+ }
21
+ /**
22
+ * 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.
23
+ */
24
+ export interface CustomDataType {
25
+ vendorId: string;
26
+ [k: string]: unknown;
27
+ }