ocpplab 0.1.2

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 (875) hide show
  1. package/README.md +375 -0
  2. package/dist/cjs/BaseClient.d.ts +42 -0
  3. package/dist/cjs/BaseClient.js +63 -0
  4. package/dist/cjs/Client.d.ts +75 -0
  5. package/dist/cjs/Client.js +197 -0
  6. package/dist/cjs/api/errors/BadRequestError.d.ts +6 -0
  7. package/dist/cjs/api/errors/BadRequestError.js +54 -0
  8. package/dist/cjs/api/errors/ForbiddenError.d.ts +6 -0
  9. package/dist/cjs/api/errors/ForbiddenError.js +54 -0
  10. package/dist/cjs/api/errors/InternalServerError.d.ts +6 -0
  11. package/dist/cjs/api/errors/InternalServerError.js +54 -0
  12. package/dist/cjs/api/errors/NotFoundError.d.ts +6 -0
  13. package/dist/cjs/api/errors/NotFoundError.js +54 -0
  14. package/dist/cjs/api/errors/UnauthorizedError.d.ts +6 -0
  15. package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
  16. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +6 -0
  17. package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
  18. package/dist/cjs/api/errors/index.d.ts +6 -0
  19. package/dist/cjs/api/errors/index.js +22 -0
  20. package/dist/cjs/api/index.d.ts +3 -0
  21. package/dist/cjs/api/index.js +19 -0
  22. package/dist/cjs/api/resources/catalog/client/Client.d.ts +76 -0
  23. package/dist/cjs/api/resources/catalog/client/Client.js +265 -0
  24. package/dist/cjs/api/resources/catalog/client/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/catalog/client/index.js +17 -0
  26. package/dist/cjs/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.d.ts +13 -0
  27. package/dist/cjs/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.js +3 -0
  28. package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.d.ts +16 -0
  29. package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.js +3 -0
  30. package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandsRequest.d.ts +13 -0
  31. package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandsRequest.js +3 -0
  32. package/dist/cjs/api/resources/catalog/client/requests/index.d.ts +3 -0
  33. package/dist/cjs/api/resources/catalog/client/requests/index.js +2 -0
  34. package/dist/cjs/api/resources/catalog/exports.d.ts +2 -0
  35. package/dist/cjs/api/resources/catalog/exports.js +21 -0
  36. package/dist/cjs/api/resources/catalog/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/catalog/index.js +17 -0
  38. package/dist/cjs/api/resources/chargerCommands/client/Client.d.ts +327 -0
  39. package/dist/cjs/api/resources/chargerCommands/client/Client.js +977 -0
  40. package/dist/cjs/api/resources/chargerCommands/client/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/chargerCommands/client/index.js +17 -0
  42. package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.d.ts +14 -0
  43. package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.js +3 -0
  44. package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.d.ts +12 -0
  45. package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.js +3 -0
  46. package/dist/cjs/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.d.ts +16 -0
  47. package/dist/cjs/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.js +3 -0
  48. package/dist/cjs/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.d.ts +16 -0
  49. package/dist/cjs/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.js +3 -0
  50. package/dist/cjs/api/resources/chargerCommands/client/requests/IdTagRequest.d.ts +12 -0
  51. package/dist/cjs/api/resources/chargerCommands/client/requests/IdTagRequest.js +3 -0
  52. package/dist/cjs/api/resources/chargerCommands/client/requests/PlugConnectorRequest.d.ts +25 -0
  53. package/dist/cjs/api/resources/chargerCommands/client/requests/PlugConnectorRequest.js +3 -0
  54. package/dist/cjs/api/resources/chargerCommands/client/requests/PowerUpdateRequest.d.ts +24 -0
  55. package/dist/cjs/api/resources/chargerCommands/client/requests/PowerUpdateRequest.js +3 -0
  56. package/dist/cjs/api/resources/chargerCommands/client/requests/ProxyMessageRequest.d.ts +46 -0
  57. package/dist/cjs/api/resources/chargerCommands/client/requests/ProxyMessageRequest.js +3 -0
  58. package/dist/cjs/api/resources/chargerCommands/client/requests/StartTransactionRequest.d.ts +16 -0
  59. package/dist/cjs/api/resources/chargerCommands/client/requests/StartTransactionRequest.js +3 -0
  60. package/dist/cjs/api/resources/chargerCommands/client/requests/StopTransactionRequest.d.ts +17 -0
  61. package/dist/cjs/api/resources/chargerCommands/client/requests/StopTransactionRequest.js +3 -0
  62. package/dist/cjs/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.d.ts +16 -0
  63. package/dist/cjs/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.js +3 -0
  64. package/dist/cjs/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.d.ts +16 -0
  65. package/dist/cjs/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.js +3 -0
  66. package/dist/cjs/api/resources/chargerCommands/client/requests/index.d.ts +12 -0
  67. package/dist/cjs/api/resources/chargerCommands/client/requests/index.js +2 -0
  68. package/dist/cjs/api/resources/chargerCommands/exports.d.ts +2 -0
  69. package/dist/cjs/api/resources/chargerCommands/exports.js +21 -0
  70. package/dist/cjs/api/resources/chargerCommands/index.d.ts +1 -0
  71. package/dist/cjs/api/resources/chargerCommands/index.js +17 -0
  72. package/dist/cjs/api/resources/chargerConfiguration/client/Client.d.ts +86 -0
  73. package/dist/cjs/api/resources/chargerConfiguration/client/Client.js +277 -0
  74. package/dist/cjs/api/resources/chargerConfiguration/client/index.d.ts +1 -0
  75. package/dist/cjs/api/resources/chargerConfiguration/client/index.js +17 -0
  76. package/dist/cjs/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.d.ts +12 -0
  77. package/dist/cjs/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.js +3 -0
  78. package/dist/cjs/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.d.ts +10 -0
  79. package/dist/cjs/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.js +3 -0
  80. package/dist/cjs/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.d.ts +24 -0
  81. package/dist/cjs/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.js +3 -0
  82. package/dist/cjs/api/resources/chargerConfiguration/client/requests/index.d.ts +3 -0
  83. package/dist/cjs/api/resources/chargerConfiguration/client/requests/index.js +2 -0
  84. package/dist/cjs/api/resources/chargerConfiguration/exports.d.ts +2 -0
  85. package/dist/cjs/api/resources/chargerConfiguration/exports.js +21 -0
  86. package/dist/cjs/api/resources/chargerConfiguration/index.d.ts +1 -0
  87. package/dist/cjs/api/resources/chargerConfiguration/index.js +17 -0
  88. package/dist/cjs/api/resources/chargerDeployments/client/Client.d.ts +205 -0
  89. package/dist/cjs/api/resources/chargerDeployments/client/Client.js +648 -0
  90. package/dist/cjs/api/resources/chargerDeployments/client/index.d.ts +1 -0
  91. package/dist/cjs/api/resources/chargerDeployments/client/index.js +17 -0
  92. package/dist/cjs/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.d.ts +10 -0
  93. package/dist/cjs/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.js +3 -0
  94. package/dist/cjs/api/resources/chargerDeployments/client/requests/GetChargerRequest.d.ts +10 -0
  95. package/dist/cjs/api/resources/chargerDeployments/client/requests/GetChargerRequest.js +3 -0
  96. package/dist/cjs/api/resources/chargerDeployments/client/requests/ListChargersRequest.d.ts +12 -0
  97. package/dist/cjs/api/resources/chargerDeployments/client/requests/ListChargersRequest.js +3 -0
  98. package/dist/cjs/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.d.ts +15 -0
  99. package/dist/cjs/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.js +3 -0
  100. package/dist/cjs/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.d.ts +15 -0
  101. package/dist/cjs/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.js +3 -0
  102. package/dist/cjs/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.d.ts +15 -0
  103. package/dist/cjs/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.js +3 -0
  104. package/dist/cjs/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.d.ts +26 -0
  105. package/dist/cjs/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.js +3 -0
  106. package/dist/cjs/api/resources/chargerDeployments/client/requests/index.d.ts +7 -0
  107. package/dist/cjs/api/resources/chargerDeployments/client/requests/index.js +2 -0
  108. package/dist/cjs/api/resources/chargerDeployments/exports.d.ts +2 -0
  109. package/dist/cjs/api/resources/chargerDeployments/exports.js +21 -0
  110. package/dist/cjs/api/resources/chargerDeployments/index.d.ts +1 -0
  111. package/dist/cjs/api/resources/chargerDeployments/index.js +17 -0
  112. package/dist/cjs/api/resources/chargerFaults/client/Client.d.ts +55 -0
  113. package/dist/cjs/api/resources/chargerFaults/client/Client.js +201 -0
  114. package/dist/cjs/api/resources/chargerFaults/client/index.d.ts +1 -0
  115. package/dist/cjs/api/resources/chargerFaults/client/index.js +17 -0
  116. package/dist/cjs/api/resources/chargerFaults/client/requests/ClearFaultRequest.d.ts +14 -0
  117. package/dist/cjs/api/resources/chargerFaults/client/requests/ClearFaultRequest.js +3 -0
  118. package/dist/cjs/api/resources/chargerFaults/client/requests/InjectFaultRequest.d.ts +17 -0
  119. package/dist/cjs/api/resources/chargerFaults/client/requests/InjectFaultRequest.js +3 -0
  120. package/dist/cjs/api/resources/chargerFaults/client/requests/index.d.ts +2 -0
  121. package/dist/cjs/api/resources/chargerFaults/client/requests/index.js +2 -0
  122. package/dist/cjs/api/resources/chargerFaults/exports.d.ts +2 -0
  123. package/dist/cjs/api/resources/chargerFaults/exports.js +21 -0
  124. package/dist/cjs/api/resources/chargerFaults/index.d.ts +1 -0
  125. package/dist/cjs/api/resources/chargerFaults/index.js +17 -0
  126. package/dist/cjs/api/resources/chargerLocalAuthorization/client/Client.d.ts +82 -0
  127. package/dist/cjs/api/resources/chargerLocalAuthorization/client/Client.js +288 -0
  128. package/dist/cjs/api/resources/chargerLocalAuthorization/client/index.d.ts +1 -0
  129. package/dist/cjs/api/resources/chargerLocalAuthorization/client/index.js +17 -0
  130. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.d.ts +10 -0
  131. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.js +3 -0
  132. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.d.ts +14 -0
  133. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.js +3 -0
  134. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.d.ts +21 -0
  135. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.js +3 -0
  136. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/index.d.ts +3 -0
  137. package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/index.js +2 -0
  138. package/dist/cjs/api/resources/chargerLocalAuthorization/exports.d.ts +2 -0
  139. package/dist/cjs/api/resources/chargerLocalAuthorization/exports.js +21 -0
  140. package/dist/cjs/api/resources/chargerLocalAuthorization/index.d.ts +1 -0
  141. package/dist/cjs/api/resources/chargerLocalAuthorization/index.js +17 -0
  142. package/dist/cjs/api/resources/chargerLogs/client/Client.d.ts +34 -0
  143. package/dist/cjs/api/resources/chargerLogs/client/Client.js +130 -0
  144. package/dist/cjs/api/resources/chargerLogs/client/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/chargerLogs/client/index.js +17 -0
  146. package/dist/cjs/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.d.ts +20 -0
  147. package/dist/cjs/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.js +3 -0
  148. package/dist/cjs/api/resources/chargerLogs/client/requests/index.d.ts +1 -0
  149. package/dist/cjs/api/resources/chargerLogs/client/requests/index.js +2 -0
  150. package/dist/cjs/api/resources/chargerLogs/exports.d.ts +2 -0
  151. package/dist/cjs/api/resources/chargerLogs/exports.js +21 -0
  152. package/dist/cjs/api/resources/chargerLogs/index.d.ts +1 -0
  153. package/dist/cjs/api/resources/chargerLogs/index.js +17 -0
  154. package/dist/cjs/api/resources/health/client/Client.d.ts +31 -0
  155. package/dist/cjs/api/resources/health/client/Client.js +115 -0
  156. package/dist/cjs/api/resources/health/client/index.d.ts +1 -0
  157. package/dist/cjs/api/resources/health/client/index.js +2 -0
  158. package/dist/cjs/api/resources/health/exports.d.ts +2 -0
  159. package/dist/cjs/api/resources/health/exports.js +21 -0
  160. package/dist/cjs/api/resources/health/index.d.ts +1 -0
  161. package/dist/cjs/api/resources/health/index.js +17 -0
  162. package/dist/cjs/api/resources/index.d.ts +23 -0
  163. package/dist/cjs/api/resources/index.js +62 -0
  164. package/dist/cjs/api/resources/locationChargerCommands/client/Client.d.ts +343 -0
  165. package/dist/cjs/api/resources/locationChargerCommands/client/Client.js +960 -0
  166. package/dist/cjs/api/resources/locationChargerCommands/client/index.d.ts +1 -0
  167. package/dist/cjs/api/resources/locationChargerCommands/client/index.js +17 -0
  168. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.d.ts +20 -0
  169. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.js +3 -0
  170. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.d.ts +23 -0
  171. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.js +3 -0
  172. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.d.ts +20 -0
  173. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.js +3 -0
  174. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.d.ts +23 -0
  175. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.js +3 -0
  176. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.d.ts +23 -0
  177. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.js +3 -0
  178. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.d.ts +23 -0
  179. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.js +3 -0
  180. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.d.ts +26 -0
  181. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.js +3 -0
  182. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.d.ts +26 -0
  183. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.js +3 -0
  184. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.d.ts +19 -0
  185. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.js +3 -0
  186. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.d.ts +23 -0
  187. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.js +3 -0
  188. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.d.ts +23 -0
  189. package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.js +3 -0
  190. package/dist/cjs/api/resources/locationChargerCommands/client/requests/index.d.ts +11 -0
  191. package/dist/cjs/api/resources/locationChargerCommands/client/requests/index.js +2 -0
  192. package/dist/cjs/api/resources/locationChargerCommands/exports.d.ts +2 -0
  193. package/dist/cjs/api/resources/locationChargerCommands/exports.js +21 -0
  194. package/dist/cjs/api/resources/locationChargerCommands/index.d.ts +1 -0
  195. package/dist/cjs/api/resources/locationChargerCommands/index.js +17 -0
  196. package/dist/cjs/api/resources/locationChargerFaults/client/Client.d.ts +78 -0
  197. package/dist/cjs/api/resources/locationChargerFaults/client/Client.js +236 -0
  198. package/dist/cjs/api/resources/locationChargerFaults/client/index.d.ts +1 -0
  199. package/dist/cjs/api/resources/locationChargerFaults/client/index.js +17 -0
  200. package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.d.ts +23 -0
  201. package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.js +3 -0
  202. package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.d.ts +26 -0
  203. package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.js +3 -0
  204. package/dist/cjs/api/resources/locationChargerFaults/client/requests/index.d.ts +2 -0
  205. package/dist/cjs/api/resources/locationChargerFaults/client/requests/index.js +2 -0
  206. package/dist/cjs/api/resources/locationChargerFaults/exports.d.ts +2 -0
  207. package/dist/cjs/api/resources/locationChargerFaults/exports.js +21 -0
  208. package/dist/cjs/api/resources/locationChargerFaults/index.d.ts +1 -0
  209. package/dist/cjs/api/resources/locationChargerFaults/index.js +17 -0
  210. package/dist/cjs/api/resources/locationChargerProvisioning/client/Client.d.ts +207 -0
  211. package/dist/cjs/api/resources/locationChargerProvisioning/client/Client.js +626 -0
  212. package/dist/cjs/api/resources/locationChargerProvisioning/client/index.d.ts +1 -0
  213. package/dist/cjs/api/resources/locationChargerProvisioning/client/index.js +17 -0
  214. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.d.ts +30 -0
  215. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.js +3 -0
  216. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.d.ts +13 -0
  217. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.js +3 -0
  218. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.d.ts +16 -0
  219. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.js +3 -0
  220. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.d.ts +21 -0
  221. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.js +3 -0
  222. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.d.ts +21 -0
  223. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.js +3 -0
  224. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.d.ts +21 -0
  225. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.js +3 -0
  226. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.d.ts +22 -0
  227. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.js +3 -0
  228. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/index.d.ts +7 -0
  229. package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/index.js +2 -0
  230. package/dist/cjs/api/resources/locationChargerProvisioning/exports.d.ts +2 -0
  231. package/dist/cjs/api/resources/locationChargerProvisioning/exports.js +21 -0
  232. package/dist/cjs/api/resources/locationChargerProvisioning/index.d.ts +1 -0
  233. package/dist/cjs/api/resources/locationChargerProvisioning/index.js +17 -0
  234. package/dist/cjs/api/resources/locations/client/Client.d.ts +143 -0
  235. package/dist/cjs/api/resources/locations/client/Client.js +438 -0
  236. package/dist/cjs/api/resources/locations/client/index.d.ts +1 -0
  237. package/dist/cjs/api/resources/locations/client/index.js +17 -0
  238. package/dist/cjs/api/resources/locations/client/requests/CreateLocationRequest.d.ts +46 -0
  239. package/dist/cjs/api/resources/locations/client/requests/CreateLocationRequest.js +3 -0
  240. package/dist/cjs/api/resources/locations/client/requests/DeleteLocationRequest.d.ts +10 -0
  241. package/dist/cjs/api/resources/locations/client/requests/DeleteLocationRequest.js +3 -0
  242. package/dist/cjs/api/resources/locations/client/requests/GetLocationRequest.d.ts +10 -0
  243. package/dist/cjs/api/resources/locations/client/requests/GetLocationRequest.js +3 -0
  244. package/dist/cjs/api/resources/locations/client/requests/ListLocationsRequest.d.ts +10 -0
  245. package/dist/cjs/api/resources/locations/client/requests/ListLocationsRequest.js +3 -0
  246. package/dist/cjs/api/resources/locations/client/requests/UpdateLocationRequest.d.ts +30 -0
  247. package/dist/cjs/api/resources/locations/client/requests/UpdateLocationRequest.js +3 -0
  248. package/dist/cjs/api/resources/locations/client/requests/index.d.ts +5 -0
  249. package/dist/cjs/api/resources/locations/client/requests/index.js +2 -0
  250. package/dist/cjs/api/resources/locations/exports.d.ts +2 -0
  251. package/dist/cjs/api/resources/locations/exports.js +21 -0
  252. package/dist/cjs/api/resources/locations/index.d.ts +1 -0
  253. package/dist/cjs/api/resources/locations/index.js +17 -0
  254. package/dist/cjs/api/types/BrandListResponse.d.ts +10 -0
  255. package/dist/cjs/api/types/BrandListResponse.js +3 -0
  256. package/dist/cjs/api/types/BrandResponse.d.ts +10 -0
  257. package/dist/cjs/api/types/BrandResponse.js +3 -0
  258. package/dist/cjs/api/types/CacheResetResponse.d.ts +7 -0
  259. package/dist/cjs/api/types/CacheResetResponse.js +3 -0
  260. package/dist/cjs/api/types/ChargerLifecycleRequest.d.ts +4 -0
  261. package/dist/cjs/api/types/ChargerLifecycleRequest.js +3 -0
  262. package/dist/cjs/api/types/ChargerListResponse.d.ts +10 -0
  263. package/dist/cjs/api/types/ChargerListResponse.js +3 -0
  264. package/dist/cjs/api/types/ChargerLogEntry.d.ts +9 -0
  265. package/dist/cjs/api/types/ChargerLogEntry.js +3 -0
  266. package/dist/cjs/api/types/ChargerLogListResponse.d.ts +10 -0
  267. package/dist/cjs/api/types/ChargerLogListResponse.js +3 -0
  268. package/dist/cjs/api/types/ChargerResponse.d.ts +18 -0
  269. package/dist/cjs/api/types/ChargerResponse.js +3 -0
  270. package/dist/cjs/api/types/ConfigurationChangeResponse.d.ts +8 -0
  271. package/dist/cjs/api/types/ConfigurationChangeResponse.js +3 -0
  272. package/dist/cjs/api/types/ConfigurationEntry.d.ts +7 -0
  273. package/dist/cjs/api/types/ConfigurationEntry.js +3 -0
  274. package/dist/cjs/api/types/ConfigurationResponse.d.ts +7 -0
  275. package/dist/cjs/api/types/ConfigurationResponse.js +3 -0
  276. package/dist/cjs/api/types/ConfigurationUpdateRequest.d.ts +4 -0
  277. package/dist/cjs/api/types/ConfigurationUpdateRequest.js +3 -0
  278. package/dist/cjs/api/types/ConnectorSelectionRequest.d.ts +9 -0
  279. package/dist/cjs/api/types/ConnectorSelectionRequest.js +3 -0
  280. package/dist/cjs/api/types/Coordinates.d.ts +9 -0
  281. package/dist/cjs/api/types/Coordinates.js +3 -0
  282. package/dist/cjs/api/types/CreateChargerRequest.d.ts +19 -0
  283. package/dist/cjs/api/types/CreateChargerRequest.js +3 -0
  284. package/dist/cjs/api/types/CreateLocationChargersResponse.d.ts +10 -0
  285. package/dist/cjs/api/types/CreateLocationChargersResponse.js +3 -0
  286. package/dist/cjs/api/types/DeleteLocationChargersResponse.d.ts +10 -0
  287. package/dist/cjs/api/types/DeleteLocationChargersResponse.js +3 -0
  288. package/dist/cjs/api/types/FaultOperationResponse.d.ts +10 -0
  289. package/dist/cjs/api/types/FaultOperationResponse.js +3 -0
  290. package/dist/cjs/api/types/HttpErrorResponse.d.ts +7 -0
  291. package/dist/cjs/api/types/HttpErrorResponse.js +3 -0
  292. package/dist/cjs/api/types/HttpValidationError.d.ts +4 -0
  293. package/dist/cjs/api/types/HttpValidationError.js +3 -0
  294. package/dist/cjs/api/types/LocalAuthListEntry.d.ts +8 -0
  295. package/dist/cjs/api/types/LocalAuthListEntry.js +3 -0
  296. package/dist/cjs/api/types/LocalAuthorizationListResponse.d.ts +10 -0
  297. package/dist/cjs/api/types/LocalAuthorizationListResponse.js +3 -0
  298. package/dist/cjs/api/types/LocalListMutationResponse.d.ts +10 -0
  299. package/dist/cjs/api/types/LocalListMutationResponse.js +3 -0
  300. package/dist/cjs/api/types/LocationCommandFailure.d.ts +7 -0
  301. package/dist/cjs/api/types/LocationCommandFailure.js +3 -0
  302. package/dist/cjs/api/types/LocationCommandResponse.d.ts +11 -0
  303. package/dist/cjs/api/types/LocationCommandResponse.js +3 -0
  304. package/dist/cjs/api/types/LocationCreateChargerFailure.d.ts +7 -0
  305. package/dist/cjs/api/types/LocationCreateChargerFailure.js +3 -0
  306. package/dist/cjs/api/types/LocationDeleteChargerFailure.d.ts +7 -0
  307. package/dist/cjs/api/types/LocationDeleteChargerFailure.js +3 -0
  308. package/dist/cjs/api/types/LocationFaultResponse.d.ts +11 -0
  309. package/dist/cjs/api/types/LocationFaultResponse.js +3 -0
  310. package/dist/cjs/api/types/LocationFaultResult.d.ts +9 -0
  311. package/dist/cjs/api/types/LocationFaultResult.js +3 -0
  312. package/dist/cjs/api/types/LocationLifecycleRequest.d.ts +8 -0
  313. package/dist/cjs/api/types/LocationLifecycleRequest.js +3 -0
  314. package/dist/cjs/api/types/LocationListResponse.d.ts +10 -0
  315. package/dist/cjs/api/types/LocationListResponse.js +3 -0
  316. package/dist/cjs/api/types/LocationQueuedCommandResult.d.ts +9 -0
  317. package/dist/cjs/api/types/LocationQueuedCommandResult.js +3 -0
  318. package/dist/cjs/api/types/LocationResponse.d.ts +22 -0
  319. package/dist/cjs/api/types/LocationResponse.js +3 -0
  320. package/dist/cjs/api/types/LocationUpdateChargerFailure.d.ts +7 -0
  321. package/dist/cjs/api/types/LocationUpdateChargerFailure.js +3 -0
  322. package/dist/cjs/api/types/ModelListResponse.d.ts +10 -0
  323. package/dist/cjs/api/types/ModelListResponse.js +3 -0
  324. package/dist/cjs/api/types/ModelResponse.d.ts +16 -0
  325. package/dist/cjs/api/types/ModelResponse.js +3 -0
  326. package/dist/cjs/api/types/ProxyAction.d.ts +21 -0
  327. package/dist/cjs/api/types/ProxyAction.js +24 -0
  328. package/dist/cjs/api/types/ProxyOcppVersion.d.ts +5 -0
  329. package/dist/cjs/api/types/ProxyOcppVersion.js +8 -0
  330. package/dist/cjs/api/types/QueuedCommandResponse.d.ts +10 -0
  331. package/dist/cjs/api/types/QueuedCommandResponse.js +3 -0
  332. package/dist/cjs/api/types/UpdateLocationChargerItem.d.ts +15 -0
  333. package/dist/cjs/api/types/UpdateLocationChargerItem.js +3 -0
  334. package/dist/cjs/api/types/UpdateLocationChargersResponse.d.ts +10 -0
  335. package/dist/cjs/api/types/UpdateLocationChargersResponse.js +3 -0
  336. package/dist/cjs/api/types/ValidationError.d.ts +13 -0
  337. package/dist/cjs/api/types/ValidationError.js +3 -0
  338. package/dist/cjs/api/types/index.d.ts +42 -0
  339. package/dist/cjs/api/types/index.js +58 -0
  340. package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
  341. package/dist/cjs/auth/BearerAuthProvider.js +79 -0
  342. package/dist/cjs/auth/index.d.ts +1 -0
  343. package/dist/cjs/auth/index.js +5 -0
  344. package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
  345. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  346. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  347. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  348. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  349. package/dist/cjs/core/auth/BasicAuth.js +33 -0
  350. package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
  351. package/dist/cjs/core/auth/BearerToken.js +16 -0
  352. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  353. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  354. package/dist/cjs/core/auth/index.d.ts +5 -0
  355. package/dist/cjs/core/auth/index.js +9 -0
  356. package/dist/cjs/core/base64.d.ts +2 -0
  357. package/dist/cjs/core/base64.js +26 -0
  358. package/dist/cjs/core/exports.d.ts +1 -0
  359. package/dist/cjs/core/exports.js +17 -0
  360. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  361. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  362. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
  363. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  364. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  365. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  366. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  367. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  368. package/dist/cjs/core/fetcher/Fetcher.d.ts +50 -0
  369. package/dist/cjs/core/fetcher/Fetcher.js +326 -0
  370. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  371. package/dist/cjs/core/fetcher/Headers.js +84 -0
  372. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  373. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  374. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  375. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  376. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  377. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  378. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  379. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  380. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  381. package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
  382. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  383. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  384. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  385. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  386. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  387. package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
  388. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  389. package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
  390. package/dist/cjs/core/fetcher/index.d.ts +13 -0
  391. package/dist/cjs/core/fetcher/index.js +19 -0
  392. package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
  393. package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
  394. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -0
  395. package/dist/cjs/core/fetcher/makeRequest.js +61 -0
  396. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  397. package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
  398. package/dist/cjs/core/fetcher/signals.d.ts +5 -0
  399. package/dist/cjs/core/fetcher/signals.js +24 -0
  400. package/dist/cjs/core/headers.d.ts +2 -0
  401. package/dist/cjs/core/headers.js +31 -0
  402. package/dist/cjs/core/index.d.ts +6 -0
  403. package/dist/cjs/core/index.js +45 -0
  404. package/dist/cjs/core/json.d.ts +15 -0
  405. package/dist/cjs/core/json.js +24 -0
  406. package/dist/cjs/core/logging/exports.d.ts +18 -0
  407. package/dist/cjs/core/logging/exports.js +45 -0
  408. package/dist/cjs/core/logging/index.d.ts +1 -0
  409. package/dist/cjs/core/logging/index.js +17 -0
  410. package/dist/cjs/core/logging/logger.d.ts +126 -0
  411. package/dist/cjs/core/logging/logger.js +144 -0
  412. package/dist/cjs/core/runtime/index.d.ts +1 -0
  413. package/dist/cjs/core/runtime/index.js +5 -0
  414. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  415. package/dist/cjs/core/runtime/runtime.js +104 -0
  416. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  417. package/dist/cjs/core/url/encodePathParam.js +21 -0
  418. package/dist/cjs/core/url/index.d.ts +3 -0
  419. package/dist/cjs/core/url/index.js +9 -0
  420. package/dist/cjs/core/url/join.d.ts +1 -0
  421. package/dist/cjs/core/url/join.js +68 -0
  422. package/dist/cjs/core/url/qs.d.ts +6 -0
  423. package/dist/cjs/core/url/qs.js +64 -0
  424. package/dist/cjs/errors/OcpplabError.d.ts +14 -0
  425. package/dist/cjs/errors/OcpplabError.js +35 -0
  426. package/dist/cjs/errors/OcpplabTimeoutError.d.ts +6 -0
  427. package/dist/cjs/errors/OcpplabTimeoutError.js +18 -0
  428. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  429. package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
  430. package/dist/cjs/errors/index.d.ts +2 -0
  431. package/dist/cjs/errors/index.js +7 -0
  432. package/dist/cjs/exports.d.ts +1 -0
  433. package/dist/cjs/exports.js +17 -0
  434. package/dist/cjs/index.d.ts +5 -0
  435. package/dist/cjs/index.js +46 -0
  436. package/dist/cjs/version.d.ts +1 -0
  437. package/dist/cjs/version.js +4 -0
  438. package/dist/esm/BaseClient.d.mts +42 -0
  439. package/dist/esm/BaseClient.mjs +26 -0
  440. package/dist/esm/Client.d.mts +75 -0
  441. package/dist/esm/Client.mjs +160 -0
  442. package/dist/esm/api/errors/BadRequestError.d.mts +6 -0
  443. package/dist/esm/api/errors/BadRequestError.mjs +17 -0
  444. package/dist/esm/api/errors/ForbiddenError.d.mts +6 -0
  445. package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
  446. package/dist/esm/api/errors/InternalServerError.d.mts +6 -0
  447. package/dist/esm/api/errors/InternalServerError.mjs +17 -0
  448. package/dist/esm/api/errors/NotFoundError.d.mts +6 -0
  449. package/dist/esm/api/errors/NotFoundError.mjs +17 -0
  450. package/dist/esm/api/errors/UnauthorizedError.d.mts +6 -0
  451. package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
  452. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +6 -0
  453. package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
  454. package/dist/esm/api/errors/index.d.mts +6 -0
  455. package/dist/esm/api/errors/index.mjs +6 -0
  456. package/dist/esm/api/index.d.mts +3 -0
  457. package/dist/esm/api/index.mjs +3 -0
  458. package/dist/esm/api/resources/catalog/client/Client.d.mts +76 -0
  459. package/dist/esm/api/resources/catalog/client/Client.mjs +228 -0
  460. package/dist/esm/api/resources/catalog/client/index.d.mts +1 -0
  461. package/dist/esm/api/resources/catalog/client/index.mjs +1 -0
  462. package/dist/esm/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.d.mts +13 -0
  463. package/dist/esm/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.mjs +2 -0
  464. package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.d.mts +16 -0
  465. package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.mjs +2 -0
  466. package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandsRequest.d.mts +13 -0
  467. package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandsRequest.mjs +2 -0
  468. package/dist/esm/api/resources/catalog/client/requests/index.d.mts +3 -0
  469. package/dist/esm/api/resources/catalog/client/requests/index.mjs +1 -0
  470. package/dist/esm/api/resources/catalog/exports.d.mts +2 -0
  471. package/dist/esm/api/resources/catalog/exports.mjs +3 -0
  472. package/dist/esm/api/resources/catalog/index.d.mts +1 -0
  473. package/dist/esm/api/resources/catalog/index.mjs +1 -0
  474. package/dist/esm/api/resources/chargerCommands/client/Client.d.mts +327 -0
  475. package/dist/esm/api/resources/chargerCommands/client/Client.mjs +940 -0
  476. package/dist/esm/api/resources/chargerCommands/client/index.d.mts +1 -0
  477. package/dist/esm/api/resources/chargerCommands/client/index.mjs +1 -0
  478. package/dist/esm/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.d.mts +14 -0
  479. package/dist/esm/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.mjs +2 -0
  480. package/dist/esm/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.d.mts +12 -0
  481. package/dist/esm/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.mjs +2 -0
  482. package/dist/esm/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.d.mts +16 -0
  483. package/dist/esm/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.mjs +2 -0
  484. package/dist/esm/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.d.mts +16 -0
  485. package/dist/esm/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.mjs +2 -0
  486. package/dist/esm/api/resources/chargerCommands/client/requests/IdTagRequest.d.mts +12 -0
  487. package/dist/esm/api/resources/chargerCommands/client/requests/IdTagRequest.mjs +2 -0
  488. package/dist/esm/api/resources/chargerCommands/client/requests/PlugConnectorRequest.d.mts +25 -0
  489. package/dist/esm/api/resources/chargerCommands/client/requests/PlugConnectorRequest.mjs +2 -0
  490. package/dist/esm/api/resources/chargerCommands/client/requests/PowerUpdateRequest.d.mts +24 -0
  491. package/dist/esm/api/resources/chargerCommands/client/requests/PowerUpdateRequest.mjs +2 -0
  492. package/dist/esm/api/resources/chargerCommands/client/requests/ProxyMessageRequest.d.mts +46 -0
  493. package/dist/esm/api/resources/chargerCommands/client/requests/ProxyMessageRequest.mjs +2 -0
  494. package/dist/esm/api/resources/chargerCommands/client/requests/StartTransactionRequest.d.mts +16 -0
  495. package/dist/esm/api/resources/chargerCommands/client/requests/StartTransactionRequest.mjs +2 -0
  496. package/dist/esm/api/resources/chargerCommands/client/requests/StopTransactionRequest.d.mts +17 -0
  497. package/dist/esm/api/resources/chargerCommands/client/requests/StopTransactionRequest.mjs +2 -0
  498. package/dist/esm/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.d.mts +16 -0
  499. package/dist/esm/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.mjs +2 -0
  500. package/dist/esm/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.d.mts +16 -0
  501. package/dist/esm/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.mjs +2 -0
  502. package/dist/esm/api/resources/chargerCommands/client/requests/index.d.mts +12 -0
  503. package/dist/esm/api/resources/chargerCommands/client/requests/index.mjs +1 -0
  504. package/dist/esm/api/resources/chargerCommands/exports.d.mts +2 -0
  505. package/dist/esm/api/resources/chargerCommands/exports.mjs +3 -0
  506. package/dist/esm/api/resources/chargerCommands/index.d.mts +1 -0
  507. package/dist/esm/api/resources/chargerCommands/index.mjs +1 -0
  508. package/dist/esm/api/resources/chargerConfiguration/client/Client.d.mts +86 -0
  509. package/dist/esm/api/resources/chargerConfiguration/client/Client.mjs +240 -0
  510. package/dist/esm/api/resources/chargerConfiguration/client/index.d.mts +1 -0
  511. package/dist/esm/api/resources/chargerConfiguration/client/index.mjs +1 -0
  512. package/dist/esm/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.d.mts +12 -0
  513. package/dist/esm/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.mjs +2 -0
  514. package/dist/esm/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.d.mts +10 -0
  515. package/dist/esm/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.mjs +2 -0
  516. package/dist/esm/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.d.mts +24 -0
  517. package/dist/esm/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.mjs +2 -0
  518. package/dist/esm/api/resources/chargerConfiguration/client/requests/index.d.mts +3 -0
  519. package/dist/esm/api/resources/chargerConfiguration/client/requests/index.mjs +1 -0
  520. package/dist/esm/api/resources/chargerConfiguration/exports.d.mts +2 -0
  521. package/dist/esm/api/resources/chargerConfiguration/exports.mjs +3 -0
  522. package/dist/esm/api/resources/chargerConfiguration/index.d.mts +1 -0
  523. package/dist/esm/api/resources/chargerConfiguration/index.mjs +1 -0
  524. package/dist/esm/api/resources/chargerDeployments/client/Client.d.mts +205 -0
  525. package/dist/esm/api/resources/chargerDeployments/client/Client.mjs +611 -0
  526. package/dist/esm/api/resources/chargerDeployments/client/index.d.mts +1 -0
  527. package/dist/esm/api/resources/chargerDeployments/client/index.mjs +1 -0
  528. package/dist/esm/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.d.mts +10 -0
  529. package/dist/esm/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.mjs +2 -0
  530. package/dist/esm/api/resources/chargerDeployments/client/requests/GetChargerRequest.d.mts +10 -0
  531. package/dist/esm/api/resources/chargerDeployments/client/requests/GetChargerRequest.mjs +2 -0
  532. package/dist/esm/api/resources/chargerDeployments/client/requests/ListChargersRequest.d.mts +12 -0
  533. package/dist/esm/api/resources/chargerDeployments/client/requests/ListChargersRequest.mjs +2 -0
  534. package/dist/esm/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.d.mts +15 -0
  535. package/dist/esm/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.mjs +2 -0
  536. package/dist/esm/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.d.mts +15 -0
  537. package/dist/esm/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.mjs +2 -0
  538. package/dist/esm/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.d.mts +15 -0
  539. package/dist/esm/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.mjs +2 -0
  540. package/dist/esm/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.d.mts +26 -0
  541. package/dist/esm/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.mjs +2 -0
  542. package/dist/esm/api/resources/chargerDeployments/client/requests/index.d.mts +7 -0
  543. package/dist/esm/api/resources/chargerDeployments/client/requests/index.mjs +1 -0
  544. package/dist/esm/api/resources/chargerDeployments/exports.d.mts +2 -0
  545. package/dist/esm/api/resources/chargerDeployments/exports.mjs +3 -0
  546. package/dist/esm/api/resources/chargerDeployments/index.d.mts +1 -0
  547. package/dist/esm/api/resources/chargerDeployments/index.mjs +1 -0
  548. package/dist/esm/api/resources/chargerFaults/client/Client.d.mts +55 -0
  549. package/dist/esm/api/resources/chargerFaults/client/Client.mjs +164 -0
  550. package/dist/esm/api/resources/chargerFaults/client/index.d.mts +1 -0
  551. package/dist/esm/api/resources/chargerFaults/client/index.mjs +1 -0
  552. package/dist/esm/api/resources/chargerFaults/client/requests/ClearFaultRequest.d.mts +14 -0
  553. package/dist/esm/api/resources/chargerFaults/client/requests/ClearFaultRequest.mjs +2 -0
  554. package/dist/esm/api/resources/chargerFaults/client/requests/InjectFaultRequest.d.mts +17 -0
  555. package/dist/esm/api/resources/chargerFaults/client/requests/InjectFaultRequest.mjs +2 -0
  556. package/dist/esm/api/resources/chargerFaults/client/requests/index.d.mts +2 -0
  557. package/dist/esm/api/resources/chargerFaults/client/requests/index.mjs +1 -0
  558. package/dist/esm/api/resources/chargerFaults/exports.d.mts +2 -0
  559. package/dist/esm/api/resources/chargerFaults/exports.mjs +3 -0
  560. package/dist/esm/api/resources/chargerFaults/index.d.mts +1 -0
  561. package/dist/esm/api/resources/chargerFaults/index.mjs +1 -0
  562. package/dist/esm/api/resources/chargerLocalAuthorization/client/Client.d.mts +82 -0
  563. package/dist/esm/api/resources/chargerLocalAuthorization/client/Client.mjs +251 -0
  564. package/dist/esm/api/resources/chargerLocalAuthorization/client/index.d.mts +1 -0
  565. package/dist/esm/api/resources/chargerLocalAuthorization/client/index.mjs +1 -0
  566. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.d.mts +10 -0
  567. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.mjs +2 -0
  568. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.d.mts +14 -0
  569. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.mjs +2 -0
  570. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.d.mts +21 -0
  571. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.mjs +2 -0
  572. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/index.d.mts +3 -0
  573. package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/index.mjs +1 -0
  574. package/dist/esm/api/resources/chargerLocalAuthorization/exports.d.mts +2 -0
  575. package/dist/esm/api/resources/chargerLocalAuthorization/exports.mjs +3 -0
  576. package/dist/esm/api/resources/chargerLocalAuthorization/index.d.mts +1 -0
  577. package/dist/esm/api/resources/chargerLocalAuthorization/index.mjs +1 -0
  578. package/dist/esm/api/resources/chargerLogs/client/Client.d.mts +34 -0
  579. package/dist/esm/api/resources/chargerLogs/client/Client.mjs +93 -0
  580. package/dist/esm/api/resources/chargerLogs/client/index.d.mts +1 -0
  581. package/dist/esm/api/resources/chargerLogs/client/index.mjs +1 -0
  582. package/dist/esm/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.d.mts +20 -0
  583. package/dist/esm/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.mjs +2 -0
  584. package/dist/esm/api/resources/chargerLogs/client/requests/index.d.mts +1 -0
  585. package/dist/esm/api/resources/chargerLogs/client/requests/index.mjs +1 -0
  586. package/dist/esm/api/resources/chargerLogs/exports.d.mts +2 -0
  587. package/dist/esm/api/resources/chargerLogs/exports.mjs +3 -0
  588. package/dist/esm/api/resources/chargerLogs/index.d.mts +1 -0
  589. package/dist/esm/api/resources/chargerLogs/index.mjs +1 -0
  590. package/dist/esm/api/resources/health/client/Client.d.mts +31 -0
  591. package/dist/esm/api/resources/health/client/Client.mjs +78 -0
  592. package/dist/esm/api/resources/health/client/index.d.mts +1 -0
  593. package/dist/esm/api/resources/health/client/index.mjs +1 -0
  594. package/dist/esm/api/resources/health/exports.d.mts +2 -0
  595. package/dist/esm/api/resources/health/exports.mjs +3 -0
  596. package/dist/esm/api/resources/health/index.d.mts +1 -0
  597. package/dist/esm/api/resources/health/index.mjs +1 -0
  598. package/dist/esm/api/resources/index.d.mts +23 -0
  599. package/dist/esm/api/resources/index.mjs +23 -0
  600. package/dist/esm/api/resources/locationChargerCommands/client/Client.d.mts +343 -0
  601. package/dist/esm/api/resources/locationChargerCommands/client/Client.mjs +923 -0
  602. package/dist/esm/api/resources/locationChargerCommands/client/index.d.mts +1 -0
  603. package/dist/esm/api/resources/locationChargerCommands/client/index.mjs +1 -0
  604. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.d.mts +20 -0
  605. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.mjs +2 -0
  606. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.d.mts +23 -0
  607. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.mjs +2 -0
  608. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.d.mts +20 -0
  609. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.mjs +2 -0
  610. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.d.mts +23 -0
  611. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.mjs +2 -0
  612. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.d.mts +23 -0
  613. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.mjs +2 -0
  614. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.d.mts +23 -0
  615. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.mjs +2 -0
  616. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.d.mts +26 -0
  617. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.mjs +2 -0
  618. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.d.mts +26 -0
  619. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.mjs +2 -0
  620. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.d.mts +19 -0
  621. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.mjs +2 -0
  622. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.d.mts +23 -0
  623. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.mjs +2 -0
  624. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.d.mts +23 -0
  625. package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.mjs +2 -0
  626. package/dist/esm/api/resources/locationChargerCommands/client/requests/index.d.mts +11 -0
  627. package/dist/esm/api/resources/locationChargerCommands/client/requests/index.mjs +1 -0
  628. package/dist/esm/api/resources/locationChargerCommands/exports.d.mts +2 -0
  629. package/dist/esm/api/resources/locationChargerCommands/exports.mjs +3 -0
  630. package/dist/esm/api/resources/locationChargerCommands/index.d.mts +1 -0
  631. package/dist/esm/api/resources/locationChargerCommands/index.mjs +1 -0
  632. package/dist/esm/api/resources/locationChargerFaults/client/Client.d.mts +78 -0
  633. package/dist/esm/api/resources/locationChargerFaults/client/Client.mjs +199 -0
  634. package/dist/esm/api/resources/locationChargerFaults/client/index.d.mts +1 -0
  635. package/dist/esm/api/resources/locationChargerFaults/client/index.mjs +1 -0
  636. package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.d.mts +23 -0
  637. package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.mjs +2 -0
  638. package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.d.mts +26 -0
  639. package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.mjs +2 -0
  640. package/dist/esm/api/resources/locationChargerFaults/client/requests/index.d.mts +2 -0
  641. package/dist/esm/api/resources/locationChargerFaults/client/requests/index.mjs +1 -0
  642. package/dist/esm/api/resources/locationChargerFaults/exports.d.mts +2 -0
  643. package/dist/esm/api/resources/locationChargerFaults/exports.mjs +3 -0
  644. package/dist/esm/api/resources/locationChargerFaults/index.d.mts +1 -0
  645. package/dist/esm/api/resources/locationChargerFaults/index.mjs +1 -0
  646. package/dist/esm/api/resources/locationChargerProvisioning/client/Client.d.mts +207 -0
  647. package/dist/esm/api/resources/locationChargerProvisioning/client/Client.mjs +589 -0
  648. package/dist/esm/api/resources/locationChargerProvisioning/client/index.d.mts +1 -0
  649. package/dist/esm/api/resources/locationChargerProvisioning/client/index.mjs +1 -0
  650. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.d.mts +30 -0
  651. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.mjs +2 -0
  652. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.d.mts +13 -0
  653. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.mjs +2 -0
  654. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.d.mts +16 -0
  655. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.mjs +2 -0
  656. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.d.mts +21 -0
  657. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.mjs +2 -0
  658. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.d.mts +21 -0
  659. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.mjs +2 -0
  660. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.d.mts +21 -0
  661. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.mjs +2 -0
  662. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.d.mts +22 -0
  663. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.mjs +2 -0
  664. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/index.d.mts +7 -0
  665. package/dist/esm/api/resources/locationChargerProvisioning/client/requests/index.mjs +1 -0
  666. package/dist/esm/api/resources/locationChargerProvisioning/exports.d.mts +2 -0
  667. package/dist/esm/api/resources/locationChargerProvisioning/exports.mjs +3 -0
  668. package/dist/esm/api/resources/locationChargerProvisioning/index.d.mts +1 -0
  669. package/dist/esm/api/resources/locationChargerProvisioning/index.mjs +1 -0
  670. package/dist/esm/api/resources/locations/client/Client.d.mts +143 -0
  671. package/dist/esm/api/resources/locations/client/Client.mjs +401 -0
  672. package/dist/esm/api/resources/locations/client/index.d.mts +1 -0
  673. package/dist/esm/api/resources/locations/client/index.mjs +1 -0
  674. package/dist/esm/api/resources/locations/client/requests/CreateLocationRequest.d.mts +46 -0
  675. package/dist/esm/api/resources/locations/client/requests/CreateLocationRequest.mjs +2 -0
  676. package/dist/esm/api/resources/locations/client/requests/DeleteLocationRequest.d.mts +10 -0
  677. package/dist/esm/api/resources/locations/client/requests/DeleteLocationRequest.mjs +2 -0
  678. package/dist/esm/api/resources/locations/client/requests/GetLocationRequest.d.mts +10 -0
  679. package/dist/esm/api/resources/locations/client/requests/GetLocationRequest.mjs +2 -0
  680. package/dist/esm/api/resources/locations/client/requests/ListLocationsRequest.d.mts +10 -0
  681. package/dist/esm/api/resources/locations/client/requests/ListLocationsRequest.mjs +2 -0
  682. package/dist/esm/api/resources/locations/client/requests/UpdateLocationRequest.d.mts +30 -0
  683. package/dist/esm/api/resources/locations/client/requests/UpdateLocationRequest.mjs +2 -0
  684. package/dist/esm/api/resources/locations/client/requests/index.d.mts +5 -0
  685. package/dist/esm/api/resources/locations/client/requests/index.mjs +1 -0
  686. package/dist/esm/api/resources/locations/exports.d.mts +2 -0
  687. package/dist/esm/api/resources/locations/exports.mjs +3 -0
  688. package/dist/esm/api/resources/locations/index.d.mts +1 -0
  689. package/dist/esm/api/resources/locations/index.mjs +1 -0
  690. package/dist/esm/api/types/BrandListResponse.d.mts +10 -0
  691. package/dist/esm/api/types/BrandListResponse.mjs +2 -0
  692. package/dist/esm/api/types/BrandResponse.d.mts +10 -0
  693. package/dist/esm/api/types/BrandResponse.mjs +2 -0
  694. package/dist/esm/api/types/CacheResetResponse.d.mts +7 -0
  695. package/dist/esm/api/types/CacheResetResponse.mjs +2 -0
  696. package/dist/esm/api/types/ChargerLifecycleRequest.d.mts +4 -0
  697. package/dist/esm/api/types/ChargerLifecycleRequest.mjs +2 -0
  698. package/dist/esm/api/types/ChargerListResponse.d.mts +10 -0
  699. package/dist/esm/api/types/ChargerListResponse.mjs +2 -0
  700. package/dist/esm/api/types/ChargerLogEntry.d.mts +9 -0
  701. package/dist/esm/api/types/ChargerLogEntry.mjs +2 -0
  702. package/dist/esm/api/types/ChargerLogListResponse.d.mts +10 -0
  703. package/dist/esm/api/types/ChargerLogListResponse.mjs +2 -0
  704. package/dist/esm/api/types/ChargerResponse.d.mts +18 -0
  705. package/dist/esm/api/types/ChargerResponse.mjs +2 -0
  706. package/dist/esm/api/types/ConfigurationChangeResponse.d.mts +8 -0
  707. package/dist/esm/api/types/ConfigurationChangeResponse.mjs +2 -0
  708. package/dist/esm/api/types/ConfigurationEntry.d.mts +7 -0
  709. package/dist/esm/api/types/ConfigurationEntry.mjs +2 -0
  710. package/dist/esm/api/types/ConfigurationResponse.d.mts +7 -0
  711. package/dist/esm/api/types/ConfigurationResponse.mjs +2 -0
  712. package/dist/esm/api/types/ConfigurationUpdateRequest.d.mts +4 -0
  713. package/dist/esm/api/types/ConfigurationUpdateRequest.mjs +2 -0
  714. package/dist/esm/api/types/ConnectorSelectionRequest.d.mts +9 -0
  715. package/dist/esm/api/types/ConnectorSelectionRequest.mjs +2 -0
  716. package/dist/esm/api/types/Coordinates.d.mts +9 -0
  717. package/dist/esm/api/types/Coordinates.mjs +2 -0
  718. package/dist/esm/api/types/CreateChargerRequest.d.mts +19 -0
  719. package/dist/esm/api/types/CreateChargerRequest.mjs +2 -0
  720. package/dist/esm/api/types/CreateLocationChargersResponse.d.mts +10 -0
  721. package/dist/esm/api/types/CreateLocationChargersResponse.mjs +2 -0
  722. package/dist/esm/api/types/DeleteLocationChargersResponse.d.mts +10 -0
  723. package/dist/esm/api/types/DeleteLocationChargersResponse.mjs +2 -0
  724. package/dist/esm/api/types/FaultOperationResponse.d.mts +10 -0
  725. package/dist/esm/api/types/FaultOperationResponse.mjs +2 -0
  726. package/dist/esm/api/types/HttpErrorResponse.d.mts +7 -0
  727. package/dist/esm/api/types/HttpErrorResponse.mjs +2 -0
  728. package/dist/esm/api/types/HttpValidationError.d.mts +4 -0
  729. package/dist/esm/api/types/HttpValidationError.mjs +2 -0
  730. package/dist/esm/api/types/LocalAuthListEntry.d.mts +8 -0
  731. package/dist/esm/api/types/LocalAuthListEntry.mjs +2 -0
  732. package/dist/esm/api/types/LocalAuthorizationListResponse.d.mts +10 -0
  733. package/dist/esm/api/types/LocalAuthorizationListResponse.mjs +2 -0
  734. package/dist/esm/api/types/LocalListMutationResponse.d.mts +10 -0
  735. package/dist/esm/api/types/LocalListMutationResponse.mjs +2 -0
  736. package/dist/esm/api/types/LocationCommandFailure.d.mts +7 -0
  737. package/dist/esm/api/types/LocationCommandFailure.mjs +2 -0
  738. package/dist/esm/api/types/LocationCommandResponse.d.mts +11 -0
  739. package/dist/esm/api/types/LocationCommandResponse.mjs +2 -0
  740. package/dist/esm/api/types/LocationCreateChargerFailure.d.mts +7 -0
  741. package/dist/esm/api/types/LocationCreateChargerFailure.mjs +2 -0
  742. package/dist/esm/api/types/LocationDeleteChargerFailure.d.mts +7 -0
  743. package/dist/esm/api/types/LocationDeleteChargerFailure.mjs +2 -0
  744. package/dist/esm/api/types/LocationFaultResponse.d.mts +11 -0
  745. package/dist/esm/api/types/LocationFaultResponse.mjs +2 -0
  746. package/dist/esm/api/types/LocationFaultResult.d.mts +9 -0
  747. package/dist/esm/api/types/LocationFaultResult.mjs +2 -0
  748. package/dist/esm/api/types/LocationLifecycleRequest.d.mts +8 -0
  749. package/dist/esm/api/types/LocationLifecycleRequest.mjs +2 -0
  750. package/dist/esm/api/types/LocationListResponse.d.mts +10 -0
  751. package/dist/esm/api/types/LocationListResponse.mjs +2 -0
  752. package/dist/esm/api/types/LocationQueuedCommandResult.d.mts +9 -0
  753. package/dist/esm/api/types/LocationQueuedCommandResult.mjs +2 -0
  754. package/dist/esm/api/types/LocationResponse.d.mts +22 -0
  755. package/dist/esm/api/types/LocationResponse.mjs +2 -0
  756. package/dist/esm/api/types/LocationUpdateChargerFailure.d.mts +7 -0
  757. package/dist/esm/api/types/LocationUpdateChargerFailure.mjs +2 -0
  758. package/dist/esm/api/types/ModelListResponse.d.mts +10 -0
  759. package/dist/esm/api/types/ModelListResponse.mjs +2 -0
  760. package/dist/esm/api/types/ModelResponse.d.mts +16 -0
  761. package/dist/esm/api/types/ModelResponse.mjs +2 -0
  762. package/dist/esm/api/types/ProxyAction.d.mts +21 -0
  763. package/dist/esm/api/types/ProxyAction.mjs +21 -0
  764. package/dist/esm/api/types/ProxyOcppVersion.d.mts +5 -0
  765. package/dist/esm/api/types/ProxyOcppVersion.mjs +5 -0
  766. package/dist/esm/api/types/QueuedCommandResponse.d.mts +10 -0
  767. package/dist/esm/api/types/QueuedCommandResponse.mjs +2 -0
  768. package/dist/esm/api/types/UpdateLocationChargerItem.d.mts +15 -0
  769. package/dist/esm/api/types/UpdateLocationChargerItem.mjs +2 -0
  770. package/dist/esm/api/types/UpdateLocationChargersResponse.d.mts +10 -0
  771. package/dist/esm/api/types/UpdateLocationChargersResponse.mjs +2 -0
  772. package/dist/esm/api/types/ValidationError.d.mts +13 -0
  773. package/dist/esm/api/types/ValidationError.mjs +2 -0
  774. package/dist/esm/api/types/index.d.mts +42 -0
  775. package/dist/esm/api/types/index.mjs +42 -0
  776. package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
  777. package/dist/esm/auth/BearerAuthProvider.mjs +42 -0
  778. package/dist/esm/auth/index.d.mts +1 -0
  779. package/dist/esm/auth/index.mjs +1 -0
  780. package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
  781. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  782. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  783. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  784. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  785. package/dist/esm/core/auth/BasicAuth.mjs +30 -0
  786. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  787. package/dist/esm/core/auth/BearerToken.mjs +13 -0
  788. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  789. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  790. package/dist/esm/core/auth/index.d.mts +5 -0
  791. package/dist/esm/core/auth/index.mjs +3 -0
  792. package/dist/esm/core/base64.d.mts +2 -0
  793. package/dist/esm/core/base64.mjs +22 -0
  794. package/dist/esm/core/exports.d.mts +1 -0
  795. package/dist/esm/core/exports.mjs +1 -0
  796. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  797. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  798. package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
  799. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  800. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  801. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  802. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  803. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  804. package/dist/esm/core/fetcher/Fetcher.d.mts +50 -0
  805. package/dist/esm/core/fetcher/Fetcher.mjs +322 -0
  806. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  807. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  808. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  809. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  810. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  811. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  812. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  813. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  814. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  815. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  816. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  817. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
  818. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  819. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  820. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  821. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  822. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  823. package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
  824. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  825. package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
  826. package/dist/esm/core/fetcher/index.d.mts +13 -0
  827. package/dist/esm/core/fetcher/index.mjs +7 -0
  828. package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
  829. package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
  830. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -0
  831. package/dist/esm/core/fetcher/makeRequest.mjs +55 -0
  832. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  833. package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
  834. package/dist/esm/core/fetcher/signals.d.mts +5 -0
  835. package/dist/esm/core/fetcher/signals.mjs +20 -0
  836. package/dist/esm/core/headers.d.mts +2 -0
  837. package/dist/esm/core/headers.mjs +27 -0
  838. package/dist/esm/core/index.d.mts +6 -0
  839. package/dist/esm/core/index.mjs +6 -0
  840. package/dist/esm/core/json.d.mts +15 -0
  841. package/dist/esm/core/json.mjs +19 -0
  842. package/dist/esm/core/logging/exports.d.mts +18 -0
  843. package/dist/esm/core/logging/exports.mjs +9 -0
  844. package/dist/esm/core/logging/index.d.mts +1 -0
  845. package/dist/esm/core/logging/index.mjs +1 -0
  846. package/dist/esm/core/logging/logger.d.mts +126 -0
  847. package/dist/esm/core/logging/logger.mjs +138 -0
  848. package/dist/esm/core/runtime/index.d.mts +1 -0
  849. package/dist/esm/core/runtime/index.mjs +1 -0
  850. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  851. package/dist/esm/core/runtime/runtime.mjs +101 -0
  852. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  853. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  854. package/dist/esm/core/url/index.d.mts +3 -0
  855. package/dist/esm/core/url/index.mjs +3 -0
  856. package/dist/esm/core/url/join.d.mts +1 -0
  857. package/dist/esm/core/url/join.mjs +65 -0
  858. package/dist/esm/core/url/qs.d.mts +6 -0
  859. package/dist/esm/core/url/qs.mjs +61 -0
  860. package/dist/esm/errors/OcpplabError.d.mts +14 -0
  861. package/dist/esm/errors/OcpplabError.mjs +31 -0
  862. package/dist/esm/errors/OcpplabTimeoutError.d.mts +6 -0
  863. package/dist/esm/errors/OcpplabTimeoutError.mjs +14 -0
  864. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  865. package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
  866. package/dist/esm/errors/index.d.mts +2 -0
  867. package/dist/esm/errors/index.mjs +2 -0
  868. package/dist/esm/exports.d.mts +1 -0
  869. package/dist/esm/exports.mjs +1 -0
  870. package/dist/esm/index.d.mts +5 -0
  871. package/dist/esm/index.mjs +4 -0
  872. package/dist/esm/version.d.mts +1 -0
  873. package/dist/esm/version.mjs +1 -0
  874. package/package.json +201 -0
  875. package/reference.md +3970 -0
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * id_tag: "TAG-RFID-001"
6
+ * }
7
+ *
8
+ * @example
9
+ * {
10
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
11
+ * charger_ids: ["dep-123", "dep-124"],
12
+ * id_tag: "TAG-RFID-001"
13
+ * }
14
+ */
15
+ export interface LocationAuthorizeIdTagRequest {
16
+ /** Internal location identifier returned by the location CRUD API. */
17
+ location_id: string;
18
+ charger_ids?: string[] | null;
19
+ id_tag: string;
20
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * id_tag: "TAG-RFID-001",
6
+ * connector_id: 1
7
+ * }
8
+ *
9
+ * @example
10
+ * {
11
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
12
+ * charger_ids: ["dep-123", "dep-124"],
13
+ * id_tag: "TAG-RFID-001",
14
+ * connector_id: 1
15
+ * }
16
+ */
17
+ export interface LocationAutoStartTransactionRequest {
18
+ /** Internal location identifier returned by the location CRUD API. */
19
+ location_id: string;
20
+ charger_ids?: string[] | null;
21
+ id_tag: string;
22
+ connector_id?: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * connector_id: 1
6
+ * }
7
+ *
8
+ * @example
9
+ * {
10
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
11
+ * connector_id: 1,
12
+ * charger_ids: ["dep-123", "dep-124"]
13
+ * }
14
+ */
15
+ export interface LocationAutoStopTransactionRequest {
16
+ /** Internal location identifier returned by the location CRUD API. */
17
+ location_id: string;
18
+ connector_id?: number;
19
+ charger_ids?: string[] | null;
20
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * evse_id: 1,
6
+ * connector_id: 1
7
+ * }
8
+ *
9
+ * @example
10
+ * {
11
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
12
+ * charger_ids: ["dep-123", "dep-124"],
13
+ * evse_id: 1,
14
+ * connector_id: 1
15
+ * }
16
+ */
17
+ export interface LocationEvRequestsEnergyRequest {
18
+ /** Internal location identifier returned by the location CRUD API. */
19
+ location_id: string;
20
+ charger_ids?: string[] | null;
21
+ evse_id?: number;
22
+ connector_id?: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * evse_id: 1,
6
+ * connector_id: 1
7
+ * }
8
+ *
9
+ * @example
10
+ * {
11
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
12
+ * charger_ids: ["dep-123", "dep-124"],
13
+ * evse_id: 1,
14
+ * connector_id: 1
15
+ * }
16
+ */
17
+ export interface LocationEvStopsEnergyRequest {
18
+ /** Internal location identifier returned by the location CRUD API. */
19
+ location_id: string;
20
+ charger_ids?: string[] | null;
21
+ evse_id?: number;
22
+ connector_id?: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * evse_id: 1,
6
+ * connector_id: 1
7
+ * }
8
+ *
9
+ * @example
10
+ * {
11
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
12
+ * charger_ids: ["dep-123", "dep-124"],
13
+ * evse_id: 1,
14
+ * connector_id: 1
15
+ * }
16
+ */
17
+ export interface LocationPlugConnectorRequest {
18
+ /** Internal location identifier returned by the location CRUD API. */
19
+ location_id: string;
20
+ charger_ids?: string[] | null;
21
+ evse_id?: number;
22
+ connector_id?: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * power_w: 11000,
6
+ * evse_id: 1,
7
+ * connector_id: 1
8
+ * }
9
+ *
10
+ * @example
11
+ * {
12
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
13
+ * charger_ids: ["dep-123", "dep-124"],
14
+ * power_w: 11000,
15
+ * evse_id: 1,
16
+ * connector_id: 1
17
+ * }
18
+ */
19
+ export interface LocationPowerUpdateRequest {
20
+ /** Internal location identifier returned by the location CRUD API. */
21
+ location_id: string;
22
+ charger_ids?: string[] | null;
23
+ power_w: number;
24
+ evse_id?: number;
25
+ connector_id?: number;
26
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * id_tag: "TAG-RFID-001",
6
+ * evse_id: 1,
7
+ * connector_id: 1
8
+ * }
9
+ *
10
+ * @example
11
+ * {
12
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
13
+ * charger_ids: ["dep-123", "dep-124"],
14
+ * id_tag: "TAG-RFID-001",
15
+ * evse_id: 1,
16
+ * connector_id: 1
17
+ * }
18
+ */
19
+ export interface LocationStartTransactionRequest {
20
+ /** Internal location identifier returned by the location CRUD API. */
21
+ location_id: string;
22
+ charger_ids?: string[] | null;
23
+ id_tag: string;
24
+ evse_id?: number;
25
+ connector_id?: number;
26
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a"
5
+ * }
6
+ *
7
+ * @example
8
+ * {
9
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
10
+ * charger_ids: ["dep-123", "dep-124"],
11
+ * transaction_id: "txn-123"
12
+ * }
13
+ */
14
+ export interface LocationStopTransactionRequest {
15
+ /** Internal location identifier returned by the location CRUD API. */
16
+ location_id: string;
17
+ charger_ids?: string[] | null;
18
+ transaction_id?: string | null;
19
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * evse_id: 1,
6
+ * connector_id: 1
7
+ * }
8
+ *
9
+ * @example
10
+ * {
11
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
12
+ * charger_ids: ["dep-123", "dep-124"],
13
+ * evse_id: 1,
14
+ * connector_id: 1
15
+ * }
16
+ */
17
+ export interface LocationUnlockConnectorRequest {
18
+ /** Internal location identifier returned by the location CRUD API. */
19
+ location_id: string;
20
+ charger_ids?: string[] | null;
21
+ evse_id?: number;
22
+ connector_id?: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
5
+ * evse_id: 1,
6
+ * connector_id: 1
7
+ * }
8
+ *
9
+ * @example
10
+ * {
11
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
12
+ * charger_ids: ["dep-123", "dep-124"],
13
+ * evse_id: 1,
14
+ * connector_id: 1
15
+ * }
16
+ */
17
+ export interface LocationUnplugConnectorRequest {
18
+ /** Internal location identifier returned by the location CRUD API. */
19
+ location_id: string;
20
+ charger_ids?: string[] | null;
21
+ evse_id?: number;
22
+ connector_id?: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ export type { LocationAuthorizeIdTagRequest } from "./LocationAuthorizeIdTagRequest.mjs";
2
+ export type { LocationAutoStartTransactionRequest } from "./LocationAutoStartTransactionRequest.mjs";
3
+ export type { LocationAutoStopTransactionRequest } from "./LocationAutoStopTransactionRequest.mjs";
4
+ export type { LocationEvRequestsEnergyRequest } from "./LocationEvRequestsEnergyRequest.mjs";
5
+ export type { LocationEvStopsEnergyRequest } from "./LocationEvStopsEnergyRequest.mjs";
6
+ export type { LocationPlugConnectorRequest } from "./LocationPlugConnectorRequest.mjs";
7
+ export type { LocationPowerUpdateRequest } from "./LocationPowerUpdateRequest.mjs";
8
+ export type { LocationStartTransactionRequest } from "./LocationStartTransactionRequest.mjs";
9
+ export type { LocationStopTransactionRequest } from "./LocationStopTransactionRequest.mjs";
10
+ export type { LocationUnlockConnectorRequest } from "./LocationUnlockConnectorRequest.mjs";
11
+ export type { LocationUnplugConnectorRequest } from "./LocationUnplugConnectorRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { LocationChargerCommandsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { LocationChargerCommandsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1,78 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as Ocpplab from "../../../index.mjs";
5
+ export declare namespace LocationChargerFaultsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ /**
11
+ * Inject and clear simulated charger faults for all or some chargers in one location.
12
+ */
13
+ export declare class LocationChargerFaultsClient {
14
+ protected readonly _options: NormalizedClientOptionsWithAuth<LocationChargerFaultsClient.Options>;
15
+ constructor(options: LocationChargerFaultsClient.Options);
16
+ /**
17
+ * Inject a simulated fault for one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
18
+ *
19
+ * @param {Ocpplab.LocationInjectFaultRequest} request
20
+ * @param {LocationChargerFaultsClient.RequestOptions} requestOptions - Request-specific configuration.
21
+ *
22
+ * @throws {@link Ocpplab.BadRequestError}
23
+ * @throws {@link Ocpplab.UnauthorizedError}
24
+ * @throws {@link Ocpplab.ForbiddenError}
25
+ * @throws {@link Ocpplab.NotFoundError}
26
+ * @throws {@link Ocpplab.UnprocessableEntityError}
27
+ * @throws {@link Ocpplab.InternalServerError}
28
+ *
29
+ * @example
30
+ * await client.locationChargerFaults.injectLocationFault({
31
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
32
+ * fault_type: "OverCurrent",
33
+ * evse_id: 1,
34
+ * connector_id: 1
35
+ * })
36
+ *
37
+ * @example
38
+ * await client.locationChargerFaults.injectLocationFault({
39
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
40
+ * charger_ids: ["dep-123", "dep-124"],
41
+ * fault_type: "GroundFailure",
42
+ * evse_id: 1,
43
+ * connector_id: 1
44
+ * })
45
+ */
46
+ injectLocationFault(request: Ocpplab.LocationInjectFaultRequest, requestOptions?: LocationChargerFaultsClient.RequestOptions): core.HttpResponsePromise<Ocpplab.LocationFaultResponse>;
47
+ private __injectLocationFault;
48
+ /**
49
+ * Clear a simulated fault for one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
50
+ *
51
+ * @param {Ocpplab.LocationClearFaultRequest} request
52
+ * @param {LocationChargerFaultsClient.RequestOptions} requestOptions - Request-specific configuration.
53
+ *
54
+ * @throws {@link Ocpplab.BadRequestError}
55
+ * @throws {@link Ocpplab.UnauthorizedError}
56
+ * @throws {@link Ocpplab.ForbiddenError}
57
+ * @throws {@link Ocpplab.NotFoundError}
58
+ * @throws {@link Ocpplab.UnprocessableEntityError}
59
+ * @throws {@link Ocpplab.InternalServerError}
60
+ *
61
+ * @example
62
+ * await client.locationChargerFaults.clearLocationFault({
63
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
64
+ * evse_id: 1,
65
+ * connector_id: 1
66
+ * })
67
+ *
68
+ * @example
69
+ * await client.locationChargerFaults.clearLocationFault({
70
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
71
+ * charger_ids: ["dep-123", "dep-124"],
72
+ * evse_id: 1,
73
+ * connector_id: 1
74
+ * })
75
+ */
76
+ clearLocationFault(request: Ocpplab.LocationClearFaultRequest, requestOptions?: LocationChargerFaultsClient.RequestOptions): core.HttpResponsePromise<Ocpplab.LocationFaultResponse>;
77
+ private __clearLocationFault;
78
+ }
@@ -0,0 +1,199 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
22
+ import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
23
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
24
+ import * as core from "../../../../core/index.mjs";
25
+ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
26
+ import * as errors from "../../../../errors/index.mjs";
27
+ import * as Ocpplab from "../../../index.mjs";
28
+ /**
29
+ * Inject and clear simulated charger faults for all or some chargers in one location.
30
+ */
31
+ export class LocationChargerFaultsClient {
32
+ constructor(options) {
33
+ this._options = normalizeClientOptionsWithAuth(options);
34
+ }
35
+ /**
36
+ * Inject a simulated fault for one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
37
+ *
38
+ * @param {Ocpplab.LocationInjectFaultRequest} request
39
+ * @param {LocationChargerFaultsClient.RequestOptions} requestOptions - Request-specific configuration.
40
+ *
41
+ * @throws {@link Ocpplab.BadRequestError}
42
+ * @throws {@link Ocpplab.UnauthorizedError}
43
+ * @throws {@link Ocpplab.ForbiddenError}
44
+ * @throws {@link Ocpplab.NotFoundError}
45
+ * @throws {@link Ocpplab.UnprocessableEntityError}
46
+ * @throws {@link Ocpplab.InternalServerError}
47
+ *
48
+ * @example
49
+ * await client.locationChargerFaults.injectLocationFault({
50
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
51
+ * fault_type: "OverCurrent",
52
+ * evse_id: 1,
53
+ * connector_id: 1
54
+ * })
55
+ *
56
+ * @example
57
+ * await client.locationChargerFaults.injectLocationFault({
58
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
59
+ * charger_ids: ["dep-123", "dep-124"],
60
+ * fault_type: "GroundFailure",
61
+ * evse_id: 1,
62
+ * connector_id: 1
63
+ * })
64
+ */
65
+ injectLocationFault(request, requestOptions) {
66
+ return core.HttpResponsePromise.fromPromise(this.__injectLocationFault(request, requestOptions));
67
+ }
68
+ __injectLocationFault(request, requestOptions) {
69
+ return __awaiter(this, void 0, void 0, function* () {
70
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
71
+ const { location_id: locationId } = request, _body = __rest(request, ["location_id"]);
72
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
73
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
74
+ "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
75
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
76
+ const _response = yield core.fetcher({
77
+ url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)), `locations/${core.url.encodePathParam(locationId)}/chargers/inject-fault`),
78
+ method: "POST",
79
+ headers: _headers,
80
+ contentType: "application/json",
81
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
82
+ requestType: "json",
83
+ body: _body,
84
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
85
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
86
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
87
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
88
+ logging: this._options.logging,
89
+ });
90
+ if (_response.ok) {
91
+ return { data: _response.body, rawResponse: _response.rawResponse };
92
+ }
93
+ if (_response.error.reason === "status-code") {
94
+ switch (_response.error.statusCode) {
95
+ case 400:
96
+ throw new Ocpplab.BadRequestError(_response.error.body, _response.rawResponse);
97
+ case 401:
98
+ throw new Ocpplab.UnauthorizedError(_response.error.body, _response.rawResponse);
99
+ case 403:
100
+ throw new Ocpplab.ForbiddenError(_response.error.body, _response.rawResponse);
101
+ case 404:
102
+ throw new Ocpplab.NotFoundError(_response.error.body, _response.rawResponse);
103
+ case 422:
104
+ throw new Ocpplab.UnprocessableEntityError(_response.error.body, _response.rawResponse);
105
+ case 500:
106
+ throw new Ocpplab.InternalServerError(_response.error.body, _response.rawResponse);
107
+ default:
108
+ throw new errors.OcpplabError({
109
+ statusCode: _response.error.statusCode,
110
+ body: _response.error.body,
111
+ rawResponse: _response.rawResponse,
112
+ });
113
+ }
114
+ }
115
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/locations/{location_id}/chargers/inject-fault");
116
+ });
117
+ }
118
+ /**
119
+ * Clear a simulated fault for one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
120
+ *
121
+ * @param {Ocpplab.LocationClearFaultRequest} request
122
+ * @param {LocationChargerFaultsClient.RequestOptions} requestOptions - Request-specific configuration.
123
+ *
124
+ * @throws {@link Ocpplab.BadRequestError}
125
+ * @throws {@link Ocpplab.UnauthorizedError}
126
+ * @throws {@link Ocpplab.ForbiddenError}
127
+ * @throws {@link Ocpplab.NotFoundError}
128
+ * @throws {@link Ocpplab.UnprocessableEntityError}
129
+ * @throws {@link Ocpplab.InternalServerError}
130
+ *
131
+ * @example
132
+ * await client.locationChargerFaults.clearLocationFault({
133
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
134
+ * evse_id: 1,
135
+ * connector_id: 1
136
+ * })
137
+ *
138
+ * @example
139
+ * await client.locationChargerFaults.clearLocationFault({
140
+ * location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
141
+ * charger_ids: ["dep-123", "dep-124"],
142
+ * evse_id: 1,
143
+ * connector_id: 1
144
+ * })
145
+ */
146
+ clearLocationFault(request, requestOptions) {
147
+ return core.HttpResponsePromise.fromPromise(this.__clearLocationFault(request, requestOptions));
148
+ }
149
+ __clearLocationFault(request, requestOptions) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
152
+ const { location_id: locationId } = request, _body = __rest(request, ["location_id"]);
153
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
154
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
155
+ "X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
156
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
157
+ const _response = yield core.fetcher({
158
+ url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)), `locations/${core.url.encodePathParam(locationId)}/chargers/clear-fault`),
159
+ method: "POST",
160
+ headers: _headers,
161
+ contentType: "application/json",
162
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
163
+ requestType: "json",
164
+ body: _body,
165
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
166
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
167
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
168
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
169
+ logging: this._options.logging,
170
+ });
171
+ if (_response.ok) {
172
+ return { data: _response.body, rawResponse: _response.rawResponse };
173
+ }
174
+ if (_response.error.reason === "status-code") {
175
+ switch (_response.error.statusCode) {
176
+ case 400:
177
+ throw new Ocpplab.BadRequestError(_response.error.body, _response.rawResponse);
178
+ case 401:
179
+ throw new Ocpplab.UnauthorizedError(_response.error.body, _response.rawResponse);
180
+ case 403:
181
+ throw new Ocpplab.ForbiddenError(_response.error.body, _response.rawResponse);
182
+ case 404:
183
+ throw new Ocpplab.NotFoundError(_response.error.body, _response.rawResponse);
184
+ case 422:
185
+ throw new Ocpplab.UnprocessableEntityError(_response.error.body, _response.rawResponse);
186
+ case 500:
187
+ throw new Ocpplab.InternalServerError(_response.error.body, _response.rawResponse);
188
+ default:
189
+ throw new errors.OcpplabError({
190
+ statusCode: _response.error.statusCode,
191
+ body: _response.error.body,
192
+ rawResponse: _response.rawResponse,
193
+ });
194
+ }
195
+ }
196
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/locations/{location_id}/chargers/clear-fault");
197
+ });
198
+ }
199
+ }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";