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,372 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * Enumeration of possible idToken types.
10
+ *
11
+ */
12
+ export type IdTokenEnumType =
13
+ | "Central"
14
+ | "eMAID"
15
+ | "ISO14443"
16
+ | "ISO15693"
17
+ | "KeyCode"
18
+ | "Local"
19
+ | "MacAddress"
20
+ | "NoAuthorization";
21
+ /**
22
+ * Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code
23
+ * urn:x-oca:ocpp:uid:1:569231
24
+ * Defines the purpose of the schedule transferred by this profile
25
+ *
26
+ */
27
+ export type ChargingProfilePurposeEnumType =
28
+ | "ChargingStationExternalConstraints"
29
+ | "ChargingStationMaxProfile"
30
+ | "TxDefaultProfile"
31
+ | "TxProfile";
32
+ /**
33
+ * Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code
34
+ * urn:x-oca:ocpp:uid:1:569232
35
+ * Indicates the kind of schedule.
36
+ *
37
+ */
38
+ export type ChargingProfileKindEnumType = "Absolute" | "Recurring" | "Relative";
39
+ /**
40
+ * Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code
41
+ * urn:x-oca:ocpp:uid:1:569233
42
+ * Indicates the start point of a recurrence.
43
+ *
44
+ */
45
+ export type RecurrencyKindEnumType = "Daily" | "Weekly";
46
+ /**
47
+ * Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code
48
+ * urn:x-oca:ocpp:uid:1:569238
49
+ * The unit of measure Limit is expressed in.
50
+ *
51
+ */
52
+ export type ChargingRateUnitEnumType = "W" | "A";
53
+ /**
54
+ * Cost. Cost_ Kind. Cost_ Kind_ Code
55
+ * urn:x-oca:ocpp:uid:1:569243
56
+ * The kind of cost referred to in the message element amount
57
+ *
58
+ */
59
+ export type CostKindEnumType = "CarbonDioxideEmission" | "RelativePricePercentage" | "RenewableGenerationPercentage";
60
+
61
+ export interface UrnOCPPCp220203RequestStartTransactionRequest {
62
+ customData?: CustomDataType;
63
+ /**
64
+ * Number of the EVSE on which to start the transaction. EvseId SHALL be > 0
65
+ *
66
+ */
67
+ evseId?: number;
68
+ groupIdToken?: IdTokenType;
69
+ idToken: IdTokenType;
70
+ /**
71
+ * Id given by the server to this start request. The Charging Station might return this in the <<transactioneventrequest, TransactionEventRequest>>, letting the server know which transaction was started for this request. Use to start a transaction.
72
+ *
73
+ */
74
+ remoteStartId: number;
75
+ chargingProfile?: ChargingProfileType;
76
+ }
77
+ /**
78
+ * 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.
79
+ */
80
+ export interface CustomDataType {
81
+ vendorId: string;
82
+ [k: string]: unknown;
83
+ }
84
+ /**
85
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
86
+ *
87
+ */
88
+ export interface IdTokenType {
89
+ customData?: CustomDataType;
90
+ /**
91
+ * @minItems 1
92
+ */
93
+ additionalInfo?: [AdditionalInfoType, ...AdditionalInfoType[]];
94
+ /**
95
+ * IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
96
+ *
97
+ */
98
+ idToken: string;
99
+ type: IdTokenEnumType;
100
+ }
101
+ /**
102
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
103
+ *
104
+ */
105
+ export interface AdditionalInfoType {
106
+ customData?: CustomDataType;
107
+ /**
108
+ * This field specifies the additional IdToken.
109
+ *
110
+ */
111
+ additionalIdToken: string;
112
+ /**
113
+ * This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
114
+ *
115
+ */
116
+ type: string;
117
+ }
118
+ /**
119
+ * Charging_ Profile
120
+ * urn:x-oca:ocpp:uid:2:233255
121
+ * A ChargingProfile consists of ChargingSchedule, describing the amount of power or current that can be delivered per time interval.
122
+ *
123
+ */
124
+ export interface ChargingProfileType {
125
+ customData?: CustomDataType;
126
+ /**
127
+ * Identified_ Object. MRID. Numeric_ Identifier
128
+ * urn:x-enexis:ecdm:uid:1:569198
129
+ * Id of ChargingProfile.
130
+ *
131
+ */
132
+ id: number;
133
+ /**
134
+ * Charging_ Profile. Stack_ Level. Counter
135
+ * urn:x-oca:ocpp:uid:1:569230
136
+ * Value determining level in hierarchy stack of profiles. Higher values have precedence over lower values. Lowest level is 0.
137
+ *
138
+ */
139
+ stackLevel: number;
140
+ chargingProfilePurpose: ChargingProfilePurposeEnumType;
141
+ chargingProfileKind: ChargingProfileKindEnumType;
142
+ recurrencyKind?: RecurrencyKindEnumType;
143
+ /**
144
+ * Charging_ Profile. Valid_ From. Date_ Time
145
+ * urn:x-oca:ocpp:uid:1:569234
146
+ * Point in time at which the profile starts to be valid. If absent, the profile is valid as soon as it is received by the Charging Station.
147
+ *
148
+ */
149
+ validFrom?: string;
150
+ /**
151
+ * Charging_ Profile. Valid_ To. Date_ Time
152
+ * urn:x-oca:ocpp:uid:1:569235
153
+ * Point in time at which the profile stops to be valid. If absent, the profile is valid until it is replaced by another profile.
154
+ *
155
+ */
156
+ validTo?: string;
157
+ /**
158
+ * @minItems 1
159
+ * @maxItems 3
160
+ */
161
+ chargingSchedule:
162
+ | [ChargingScheduleType]
163
+ | [ChargingScheduleType, ChargingScheduleType]
164
+ | [ChargingScheduleType, ChargingScheduleType, ChargingScheduleType];
165
+ /**
166
+ * SHALL only be included if ChargingProfilePurpose is set to TxProfile. The transactionId is used to match the profile to a specific transaction.
167
+ *
168
+ */
169
+ transactionId?: string;
170
+ }
171
+ /**
172
+ * Charging_ Schedule
173
+ * urn:x-oca:ocpp:uid:2:233256
174
+ * Charging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile.
175
+ *
176
+ */
177
+ export interface ChargingScheduleType {
178
+ customData?: CustomDataType;
179
+ /**
180
+ * Identifies the ChargingSchedule.
181
+ *
182
+ */
183
+ id: number;
184
+ /**
185
+ * Charging_ Schedule. Start_ Schedule. Date_ Time
186
+ * urn:x-oca:ocpp:uid:1:569237
187
+ * Starting point of an absolute schedule. If absent the schedule will be relative to start of charging.
188
+ *
189
+ */
190
+ startSchedule?: string;
191
+ /**
192
+ * Charging_ Schedule. Duration. Elapsed_ Time
193
+ * urn:x-oca:ocpp:uid:1:569236
194
+ * Duration of the charging schedule in seconds. If the duration is left empty, the last period will continue indefinitely or until end of the transaction if chargingProfilePurpose = TxProfile.
195
+ *
196
+ */
197
+ duration?: number;
198
+ chargingRateUnit: ChargingRateUnitEnumType;
199
+ /**
200
+ * @minItems 1
201
+ * @maxItems 1024
202
+ */
203
+ chargingSchedulePeriod: [ChargingSchedulePeriodType, ...ChargingSchedulePeriodType[]];
204
+ /**
205
+ * Charging_ Schedule. Min_ Charging_ Rate. Numeric
206
+ * urn:x-oca:ocpp:uid:1:569239
207
+ * Minimum charging rate supported by the EV. The unit of measure is defined by the chargingRateUnit. This parameter is intended to be used by a local smart charging algorithm to optimize the power allocation for in the case a charging process is inefficient at lower charging rates. Accepts at most one digit fraction (e.g. 8.1)
208
+ *
209
+ */
210
+ minChargingRate?: number;
211
+ salesTariff?: SalesTariffType;
212
+ }
213
+ /**
214
+ * Charging_ Schedule_ Period
215
+ * urn:x-oca:ocpp:uid:2:233257
216
+ * Charging schedule period structure defines a time period in a charging schedule.
217
+ *
218
+ */
219
+ export interface ChargingSchedulePeriodType {
220
+ customData?: CustomDataType;
221
+ /**
222
+ * Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time
223
+ * urn:x-oca:ocpp:uid:1:569240
224
+ * Start of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.
225
+ *
226
+ */
227
+ startPeriod: number;
228
+ /**
229
+ * Charging_ Schedule_ Period. Limit. Measure
230
+ * urn:x-oca:ocpp:uid:1:569241
231
+ * Charging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one digit fraction (e.g. 8.1).
232
+ *
233
+ */
234
+ limit: number;
235
+ /**
236
+ * Charging_ Schedule_ Period. Number_ Phases. Counter
237
+ * urn:x-oca:ocpp:uid:1:569242
238
+ * The number of phases that can be used for charging. If a number of phases is needed, numberPhases=3 will be assumed unless another number is given.
239
+ *
240
+ */
241
+ numberPhases?: number;
242
+ /**
243
+ * Values: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and true. It’s not allowed unless both conditions above are true. If both conditions are true, and phaseToUse is omitted, the Charging Station / EVSE will make the selection on its own.
244
+ *
245
+ *
246
+ */
247
+ phaseToUse?: number;
248
+ }
249
+ /**
250
+ * Sales_ Tariff
251
+ * urn:x-oca:ocpp:uid:2:233272
252
+ * NOTE: This dataType is based on dataTypes from <<ref-ISOIEC15118-2,ISO 15118-2>>.
253
+ *
254
+ */
255
+ export interface SalesTariffType {
256
+ customData?: CustomDataType;
257
+ /**
258
+ * Identified_ Object. MRID. Numeric_ Identifier
259
+ * urn:x-enexis:ecdm:uid:1:569198
260
+ * SalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.
261
+ *
262
+ */
263
+ id: number;
264
+ /**
265
+ * Sales_ Tariff. Sales. Tariff_ Description
266
+ * urn:x-oca:ocpp:uid:1:569283
267
+ * A human readable title/short description of the sales tariff e.g. for HMI display purposes.
268
+ *
269
+ */
270
+ salesTariffDescription?: string;
271
+ /**
272
+ * Sales_ Tariff. Num_ E_ Price_ Levels. Counter
273
+ * urn:x-oca:ocpp:uid:1:569284
274
+ * Defines the overall number of distinct price levels used across all provided SalesTariff elements.
275
+ *
276
+ */
277
+ numEPriceLevels?: number;
278
+ /**
279
+ * @minItems 1
280
+ * @maxItems 1024
281
+ */
282
+ salesTariffEntry: [SalesTariffEntryType, ...SalesTariffEntryType[]];
283
+ }
284
+ /**
285
+ * Sales_ Tariff_ Entry
286
+ * urn:x-oca:ocpp:uid:2:233271
287
+ *
288
+ */
289
+ export interface SalesTariffEntryType {
290
+ customData?: CustomDataType;
291
+ relativeTimeInterval: RelativeTimeIntervalType;
292
+ /**
293
+ * Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer
294
+ * urn:x-oca:ocpp:uid:1:569281
295
+ * Defines the price level of this SalesTariffEntry (referring to NumEPriceLevels). Small values for the EPriceLevel represent a cheaper TariffEntry. Large values for the EPriceLevel represent a more expensive TariffEntry.
296
+ *
297
+ */
298
+ ePriceLevel?: number;
299
+ /**
300
+ * @minItems 1
301
+ * @maxItems 3
302
+ */
303
+ consumptionCost?:
304
+ | [ConsumptionCostType]
305
+ | [ConsumptionCostType, ConsumptionCostType]
306
+ | [ConsumptionCostType, ConsumptionCostType, ConsumptionCostType];
307
+ }
308
+ /**
309
+ * Relative_ Timer_ Interval
310
+ * urn:x-oca:ocpp:uid:2:233270
311
+ *
312
+ */
313
+ export interface RelativeTimeIntervalType {
314
+ customData?: CustomDataType;
315
+ /**
316
+ * Relative_ Timer_ Interval. Start. Elapsed_ Time
317
+ * urn:x-oca:ocpp:uid:1:569279
318
+ * Start of the interval, in seconds from NOW.
319
+ *
320
+ */
321
+ start: number;
322
+ /**
323
+ * Relative_ Timer_ Interval. Duration. Elapsed_ Time
324
+ * urn:x-oca:ocpp:uid:1:569280
325
+ * Duration of the interval, in seconds.
326
+ *
327
+ */
328
+ duration?: number;
329
+ }
330
+ /**
331
+ * Consumption_ Cost
332
+ * urn:x-oca:ocpp:uid:2:233259
333
+ *
334
+ */
335
+ export interface ConsumptionCostType {
336
+ customData?: CustomDataType;
337
+ /**
338
+ * Consumption_ Cost. Start_ Value. Numeric
339
+ * urn:x-oca:ocpp:uid:1:569246
340
+ * The lowest level of consumption that defines the starting point of this consumption block. The block interval extends to the start of the next interval.
341
+ *
342
+ */
343
+ startValue: number;
344
+ /**
345
+ * @minItems 1
346
+ * @maxItems 3
347
+ */
348
+ cost: [CostType] | [CostType, CostType] | [CostType, CostType, CostType];
349
+ }
350
+ /**
351
+ * Cost
352
+ * urn:x-oca:ocpp:uid:2:233258
353
+ *
354
+ */
355
+ export interface CostType {
356
+ customData?: CustomDataType;
357
+ costKind: CostKindEnumType;
358
+ /**
359
+ * Cost. Amount. Amount
360
+ * urn:x-oca:ocpp:uid:1:569244
361
+ * The estimated or actual cost per kWh
362
+ *
363
+ */
364
+ amount: number;
365
+ /**
366
+ * Cost. Amount_ Multiplier. Integer
367
+ * urn:x-oca:ocpp:uid:1:569245
368
+ * Values: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The final value is determined by: amount * 10 ^ amountMultiplier
369
+ *
370
+ */
371
+ amountMultiplier?: number;
372
+ }
@@ -0,0 +1,47 @@
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
+ * Status indicating whether the Charging Station accepts the request to start a transaction.
10
+ *
11
+ */
12
+ export type RequestStartStopStatusEnumType = "Accepted" | "Rejected";
13
+
14
+ export interface UrnOCPPCp220203RequestStartTransactionResponse {
15
+ customData?: CustomDataType;
16
+ status: RequestStartStopStatusEnumType;
17
+ statusInfo?: StatusInfoType;
18
+ /**
19
+ * When the transaction was already started by the Charging Station before the RequestStartTransactionRequest was received, for example: cable plugged in first. This contains the transactionId of the already started transaction.
20
+ *
21
+ */
22
+ transactionId?: string;
23
+ }
24
+ /**
25
+ * 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.
26
+ */
27
+ export interface CustomDataType {
28
+ vendorId: string;
29
+ [k: string]: unknown;
30
+ }
31
+ /**
32
+ * Element providing more information about the status.
33
+ *
34
+ */
35
+ export interface StatusInfoType {
36
+ customData?: CustomDataType;
37
+ /**
38
+ * A predefined code for the reason why the status is returned in this response. The string is case-insensitive.
39
+ *
40
+ */
41
+ reasonCode: string;
42
+ /**
43
+ * Additional text to provide detailed information.
44
+ *
45
+ */
46
+ additionalInfo?: string;
47
+ }
@@ -0,0 +1,22 @@
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 UrnOCPPCp220203RequestStopTransactionRequest {
9
+ customData?: CustomDataType;
10
+ /**
11
+ * The identifier of the transaction which the Charging Station is requested to stop.
12
+ *
13
+ */
14
+ transactionId: string;
15
+ }
16
+ /**
17
+ * 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.
18
+ */
19
+ export interface CustomDataType {
20
+ vendorId: string;
21
+ [k: string]: unknown;
22
+ }
@@ -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
+ * Status indicating whether Charging Station accepts the request to stop a transaction.
10
+ *
11
+ */
12
+ export type RequestStartStopStatusEnumType = "Accepted" | "Rejected";
13
+
14
+ export interface UrnOCPPCp220203RequestStopTransactionResponse {
15
+ customData?: CustomDataType;
16
+ status: RequestStartStopStatusEnumType;
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,29 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * The updated reservation status.
10
+ *
11
+ */
12
+ export type ReservationUpdateStatusEnumType = "Expired" | "Removed";
13
+
14
+ export interface UrnOCPPCp220203ReservationStatusUpdateRequest {
15
+ customData?: CustomDataType;
16
+ /**
17
+ * The ID of the reservation.
18
+ *
19
+ */
20
+ reservationId: number;
21
+ reservationUpdateStatus: ReservationUpdateStatusEnumType;
22
+ }
23
+ /**
24
+ * This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
25
+ */
26
+ export interface CustomDataType {
27
+ vendorId: string;
28
+ [k: string]: unknown;
29
+ }
@@ -0,0 +1,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 UrnOCPPCp220203ReservationStatusUpdateResponse {
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,110 @@
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 field specifies the connector type.
10
+ *
11
+ */
12
+ export type ConnectorEnumType =
13
+ | "cCCS1"
14
+ | "cCCS2"
15
+ | "cG105"
16
+ | "cTesla"
17
+ | "cType1"
18
+ | "cType2"
19
+ | "s309-1P-16A"
20
+ | "s309-1P-32A"
21
+ | "s309-3P-16A"
22
+ | "s309-3P-32A"
23
+ | "sBS1361"
24
+ | "sCEE-7-7"
25
+ | "sType2"
26
+ | "sType3"
27
+ | "Other1PhMax16A"
28
+ | "Other1PhOver16A"
29
+ | "Other3Ph"
30
+ | "Pan"
31
+ | "wInductive"
32
+ | "wResonant"
33
+ | "Undetermined"
34
+ | "Unknown";
35
+ /**
36
+ * Enumeration of possible idToken types.
37
+ *
38
+ */
39
+ export type IdTokenEnumType =
40
+ | "Central"
41
+ | "eMAID"
42
+ | "ISO14443"
43
+ | "ISO15693"
44
+ | "KeyCode"
45
+ | "Local"
46
+ | "MacAddress"
47
+ | "NoAuthorization";
48
+
49
+ export interface UrnOCPPCp220203ReserveNowRequest {
50
+ customData?: CustomDataType;
51
+ /**
52
+ * Id of reservation.
53
+ *
54
+ */
55
+ id: number;
56
+ /**
57
+ * Date and time at which the reservation expires.
58
+ *
59
+ */
60
+ expiryDateTime: string;
61
+ connectorType?: ConnectorEnumType;
62
+ idToken: IdTokenType;
63
+ /**
64
+ * This contains ID of the evse to be reserved.
65
+ *
66
+ */
67
+ evseId?: number;
68
+ groupIdToken?: IdTokenType;
69
+ }
70
+ /**
71
+ * 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.
72
+ */
73
+ export interface CustomDataType {
74
+ vendorId: string;
75
+ [k: string]: unknown;
76
+ }
77
+ /**
78
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
79
+ *
80
+ */
81
+ export interface IdTokenType {
82
+ customData?: CustomDataType;
83
+ /**
84
+ * @minItems 1
85
+ */
86
+ additionalInfo?: [AdditionalInfoType, ...AdditionalInfoType[]];
87
+ /**
88
+ * IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
89
+ *
90
+ */
91
+ idToken: string;
92
+ type: IdTokenEnumType;
93
+ }
94
+ /**
95
+ * Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
96
+ *
97
+ */
98
+ export interface AdditionalInfoType {
99
+ customData?: CustomDataType;
100
+ /**
101
+ * This field specifies the additional IdToken.
102
+ *
103
+ */
104
+ additionalIdToken: string;
105
+ /**
106
+ * This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
107
+ *
108
+ */
109
+ type: string;
110
+ }
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * This indicates the success or failure of the reservation.
10
+ *
11
+ */
12
+ export type ReserveNowStatusEnumType = "Accepted" | "Faulted" | "Occupied" | "Rejected" | "Unavailable";
13
+
14
+ export interface UrnOCPPCp220203ReserveNowResponse {
15
+ customData?: CustomDataType;
16
+ status: ReserveNowStatusEnumType;
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
+ }