evcloud 0.1.0__tar.gz

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 (635) hide show
  1. evcloud-0.1.0/PKG-INFO +257 -0
  2. evcloud-0.1.0/README.md +223 -0
  3. evcloud-0.1.0/pyproject.toml +103 -0
  4. evcloud-0.1.0/src/evcloud/__init__.py +802 -0
  5. evcloud-0.1.0/src/evcloud/_default_clients.py +30 -0
  6. evcloud-0.1.0/src/evcloud/client.py +200 -0
  7. evcloud-0.1.0/src/evcloud/core/__init__.py +67 -0
  8. evcloud-0.1.0/src/evcloud/core/api_error.py +23 -0
  9. evcloud-0.1.0/src/evcloud/core/client_wrapper.py +108 -0
  10. evcloud-0.1.0/src/evcloud/core/datetime_utils.py +70 -0
  11. evcloud-0.1.0/src/evcloud/core/file.py +67 -0
  12. evcloud-0.1.0/src/evcloud/core/force_multipart.py +18 -0
  13. evcloud-0.1.0/src/evcloud/core/http_client.py +840 -0
  14. evcloud-0.1.0/src/evcloud/core/http_response.py +59 -0
  15. evcloud-0.1.0/src/evcloud/core/http_sse/__init__.py +9 -0
  16. evcloud-0.1.0/src/evcloud/core/http_sse/_api.py +112 -0
  17. evcloud-0.1.0/src/evcloud/core/http_sse/_decoders.py +61 -0
  18. evcloud-0.1.0/src/evcloud/core/http_sse/_exceptions.py +7 -0
  19. evcloud-0.1.0/src/evcloud/core/http_sse/_models.py +17 -0
  20. evcloud-0.1.0/src/evcloud/core/jsonable_encoder.py +120 -0
  21. evcloud-0.1.0/src/evcloud/core/logging.py +107 -0
  22. evcloud-0.1.0/src/evcloud/core/pagination.py +82 -0
  23. evcloud-0.1.0/src/evcloud/core/parse_error.py +36 -0
  24. evcloud-0.1.0/src/evcloud/core/pydantic_utilities.py +634 -0
  25. evcloud-0.1.0/src/evcloud/core/query_encoder.py +58 -0
  26. evcloud-0.1.0/src/evcloud/core/remove_none_from_dict.py +11 -0
  27. evcloud-0.1.0/src/evcloud/core/request_options.py +35 -0
  28. evcloud-0.1.0/src/evcloud/core/serialization.py +276 -0
  29. evcloud-0.1.0/src/evcloud/cpo/__init__.py +31 -0
  30. evcloud-0.1.0/src/evcloud/cpo/cdrs/__init__.py +4 -0
  31. evcloud-0.1.0/src/evcloud/cpo/cdrs/client.py +311 -0
  32. evcloud-0.1.0/src/evcloud/cpo/cdrs/raw_client.py +592 -0
  33. evcloud-0.1.0/src/evcloud/cpo/charge_points/__init__.py +7 -0
  34. evcloud-0.1.0/src/evcloud/cpo/charge_points/client.py +1436 -0
  35. evcloud-0.1.0/src/evcloud/cpo/charge_points/raw_client.py +2809 -0
  36. evcloud-0.1.0/src/evcloud/cpo/charge_points/types/__init__.py +7 -0
  37. evcloud-0.1.0/src/evcloud/cpo/charge_points/types/list_charge_points_request_ocpp_version.py +5 -0
  38. evcloud-0.1.0/src/evcloud/cpo/client.py +62 -0
  39. evcloud-0.1.0/src/evcloud/cpo/connectors/__init__.py +4 -0
  40. evcloud-0.1.0/src/evcloud/cpo/connectors/client.py +698 -0
  41. evcloud-0.1.0/src/evcloud/cpo/connectors/raw_client.py +1457 -0
  42. evcloud-0.1.0/src/evcloud/cpo/evses/__init__.py +4 -0
  43. evcloud-0.1.0/src/evcloud/cpo/evses/client.py +691 -0
  44. evcloud-0.1.0/src/evcloud/cpo/evses/raw_client.py +1457 -0
  45. evcloud-0.1.0/src/evcloud/cpo/health/__init__.py +4 -0
  46. evcloud-0.1.0/src/evcloud/cpo/health/client.py +100 -0
  47. evcloud-0.1.0/src/evcloud/cpo/health/raw_client.py +192 -0
  48. evcloud-0.1.0/src/evcloud/cpo/locations/__init__.py +4 -0
  49. evcloud-0.1.0/src/evcloud/cpo/locations/client.py +1021 -0
  50. evcloud-0.1.0/src/evcloud/cpo/locations/raw_client.py +1887 -0
  51. evcloud-0.1.0/src/evcloud/cpo/raw_client.py +13 -0
  52. evcloud-0.1.0/src/evcloud/cpo/sessions/__init__.py +7 -0
  53. evcloud-0.1.0/src/evcloud/cpo/sessions/client.py +430 -0
  54. evcloud-0.1.0/src/evcloud/cpo/sessions/raw_client.py +889 -0
  55. evcloud-0.1.0/src/evcloud/cpo/sessions/types/__init__.py +8 -0
  56. evcloud-0.1.0/src/evcloud/cpo/sessions/types/list_sessions_request_billing_state.py +5 -0
  57. evcloud-0.1.0/src/evcloud/cpo/sessions/types/list_sessions_request_status.py +7 -0
  58. evcloud-0.1.0/src/evcloud/cpo/tariffs/__init__.py +17 -0
  59. evcloud-0.1.0/src/evcloud/cpo/tariffs/client.py +1232 -0
  60. evcloud-0.1.0/src/evcloud/cpo/tariffs/raw_client.py +2526 -0
  61. evcloud-0.1.0/src/evcloud/cpo/tariffs/types/__init__.py +15 -0
  62. evcloud-0.1.0/src/evcloud/cpo/tariffs/types/list_tariffs_request_type.py +7 -0
  63. evcloud-0.1.0/src/evcloud/cpo/tariffs/types/tariff_create_ocpi_version.py +5 -0
  64. evcloud-0.1.0/src/evcloud/cpo/tariffs/types/tariff_create_preauthorize_amount.py +5 -0
  65. evcloud-0.1.0/src/evcloud/cpo/tariffs/types/tariff_patch_preauthorize_amount.py +5 -0
  66. evcloud-0.1.0/src/evcloud/emsp/__init__.py +55 -0
  67. evcloud-0.1.0/src/evcloud/emsp/cdrs/__init__.py +4 -0
  68. evcloud-0.1.0/src/evcloud/emsp/cdrs/client.py +300 -0
  69. evcloud-0.1.0/src/evcloud/emsp/cdrs/raw_client.py +610 -0
  70. evcloud-0.1.0/src/evcloud/emsp/chargers/__init__.py +7 -0
  71. evcloud-0.1.0/src/evcloud/emsp/chargers/client.py +167 -0
  72. evcloud-0.1.0/src/evcloud/emsp/chargers/raw_client.py +331 -0
  73. evcloud-0.1.0/src/evcloud/emsp/chargers/types/__init__.py +11 -0
  74. evcloud-0.1.0/src/evcloud/emsp/chargers/types/resolve_chargers_response.py +53 -0
  75. evcloud-0.1.0/src/evcloud/emsp/client.py +77 -0
  76. evcloud-0.1.0/src/evcloud/emsp/commands/__init__.py +7 -0
  77. evcloud-0.1.0/src/evcloud/emsp/commands/client.py +516 -0
  78. evcloud-0.1.0/src/evcloud/emsp/commands/raw_client.py +979 -0
  79. evcloud-0.1.0/src/evcloud/emsp/commands/types/__init__.py +7 -0
  80. evcloud-0.1.0/src/evcloud/emsp/commands/types/send_commands_request_command.py +7 -0
  81. evcloud-0.1.0/src/evcloud/emsp/emp_identities/__init__.py +4 -0
  82. evcloud-0.1.0/src/evcloud/emsp/emp_identities/client.py +548 -0
  83. evcloud-0.1.0/src/evcloud/emsp/emp_identities/raw_client.py +1277 -0
  84. evcloud-0.1.0/src/evcloud/emsp/evses/__init__.py +4 -0
  85. evcloud-0.1.0/src/evcloud/emsp/evses/client.py +154 -0
  86. evcloud-0.1.0/src/evcloud/emsp/evses/raw_client.py +288 -0
  87. evcloud-0.1.0/src/evcloud/emsp/health/__init__.py +4 -0
  88. evcloud-0.1.0/src/evcloud/emsp/health/client.py +100 -0
  89. evcloud-0.1.0/src/evcloud/emsp/health/raw_client.py +192 -0
  90. evcloud-0.1.0/src/evcloud/emsp/locations/__init__.py +4 -0
  91. evcloud-0.1.0/src/evcloud/emsp/locations/client.py +1386 -0
  92. evcloud-0.1.0/src/evcloud/emsp/locations/raw_client.py +2903 -0
  93. evcloud-0.1.0/src/evcloud/emsp/networks/__init__.py +7 -0
  94. evcloud-0.1.0/src/evcloud/emsp/networks/client.py +1615 -0
  95. evcloud-0.1.0/src/evcloud/emsp/networks/raw_client.py +3725 -0
  96. evcloud-0.1.0/src/evcloud/emsp/networks/types/__init__.py +9 -0
  97. evcloud-0.1.0/src/evcloud/emsp/networks/types/list_networks_request_network_type.py +5 -0
  98. evcloud-0.1.0/src/evcloud/emsp/networks/types/list_rules_networks_request_validity.py +5 -0
  99. evcloud-0.1.0/src/evcloud/emsp/networks/types/network_rule_create_request_rule_type.py +5 -0
  100. evcloud-0.1.0/src/evcloud/emsp/raw_client.py +13 -0
  101. evcloud-0.1.0/src/evcloud/emsp/sessions/__init__.py +4 -0
  102. evcloud-0.1.0/src/evcloud/emsp/sessions/client.py +300 -0
  103. evcloud-0.1.0/src/evcloud/emsp/sessions/raw_client.py +610 -0
  104. evcloud-0.1.0/src/evcloud/emsp/tariffs/__init__.py +7 -0
  105. evcloud-0.1.0/src/evcloud/emsp/tariffs/client.py +421 -0
  106. evcloud-0.1.0/src/evcloud/emsp/tariffs/raw_client.py +883 -0
  107. evcloud-0.1.0/src/evcloud/emsp/tariffs/types/__init__.py +8 -0
  108. evcloud-0.1.0/src/evcloud/emsp/tariffs/types/estimate_request_kwh.py +5 -0
  109. evcloud-0.1.0/src/evcloud/emsp/tariffs/types/estimate_request_minutes.py +5 -0
  110. evcloud-0.1.0/src/evcloud/emsp/tenant/__init__.py +4 -0
  111. evcloud-0.1.0/src/evcloud/emsp/tenant/client.py +328 -0
  112. evcloud-0.1.0/src/evcloud/emsp/tenant/raw_client.py +869 -0
  113. evcloud-0.1.0/src/evcloud/emsp/token_groups/__init__.py +7 -0
  114. evcloud-0.1.0/src/evcloud/emsp/token_groups/client.py +1256 -0
  115. evcloud-0.1.0/src/evcloud/emsp/token_groups/raw_client.py +3288 -0
  116. evcloud-0.1.0/src/evcloud/emsp/token_groups/types/__init__.py +7 -0
  117. evcloud-0.1.0/src/evcloud/emsp/token_groups/types/remove_token_token_groups_request_type.py +5 -0
  118. evcloud-0.1.0/src/evcloud/emsp/tokens/__init__.py +7 -0
  119. evcloud-0.1.0/src/evcloud/emsp/tokens/client.py +1298 -0
  120. evcloud-0.1.0/src/evcloud/emsp/tokens/raw_client.py +2947 -0
  121. evcloud-0.1.0/src/evcloud/emsp/tokens/types/__init__.py +10 -0
  122. evcloud-0.1.0/src/evcloud/emsp/tokens/types/list_tokens_request_status.py +7 -0
  123. evcloud-0.1.0/src/evcloud/emsp/tokens/types/list_tokens_request_type.py +5 -0
  124. evcloud-0.1.0/src/evcloud/emsp/tokens/types/token_update_default_profile_type.py +5 -0
  125. evcloud-0.1.0/src/evcloud/emsp/tokens/types/token_update_whitelist.py +5 -0
  126. evcloud-0.1.0/src/evcloud/energy/__init__.py +8 -0
  127. evcloud-0.1.0/src/evcloud/energy/client.py +47 -0
  128. evcloud-0.1.0/src/evcloud/energy/control_requests/__init__.py +7 -0
  129. evcloud-0.1.0/src/evcloud/energy/control_requests/client.py +399 -0
  130. evcloud-0.1.0/src/evcloud/energy/control_requests/raw_client.py +835 -0
  131. evcloud-0.1.0/src/evcloud/energy/control_requests/types/__init__.py +7 -0
  132. evcloud-0.1.0/src/evcloud/energy/control_requests/types/list_control_requests_request_result.py +15 -0
  133. evcloud-0.1.0/src/evcloud/energy/health/__init__.py +4 -0
  134. evcloud-0.1.0/src/evcloud/energy/health/client.py +100 -0
  135. evcloud-0.1.0/src/evcloud/energy/health/raw_client.py +192 -0
  136. evcloud-0.1.0/src/evcloud/energy/power_measurements/__init__.py +4 -0
  137. evcloud-0.1.0/src/evcloud/energy/power_measurements/client.py +254 -0
  138. evcloud-0.1.0/src/evcloud/energy/power_measurements/raw_client.py +527 -0
  139. evcloud-0.1.0/src/evcloud/energy/raw_client.py +13 -0
  140. evcloud-0.1.0/src/evcloud/environment.py +7 -0
  141. evcloud-0.1.0/src/evcloud/errors/__init__.py +25 -0
  142. evcloud-0.1.0/src/evcloud/errors/bad_gateway_error.py +11 -0
  143. evcloud-0.1.0/src/evcloud/errors/bad_request_error.py +11 -0
  144. evcloud-0.1.0/src/evcloud/errors/conflict_error.py +11 -0
  145. evcloud-0.1.0/src/evcloud/errors/forbidden_error.py +11 -0
  146. evcloud-0.1.0/src/evcloud/errors/gateway_timeout_error.py +11 -0
  147. evcloud-0.1.0/src/evcloud/errors/not_found_error.py +11 -0
  148. evcloud-0.1.0/src/evcloud/errors/too_many_requests_error.py +11 -0
  149. evcloud-0.1.0/src/evcloud/errors/unauthorized_error.py +11 -0
  150. evcloud-0.1.0/src/evcloud/errors/unprocessable_entity_error.py +11 -0
  151. evcloud-0.1.0/src/evcloud/health/__init__.py +4 -0
  152. evcloud-0.1.0/src/evcloud/health/client.py +99 -0
  153. evcloud-0.1.0/src/evcloud/health/raw_client.py +100 -0
  154. evcloud-0.1.0/src/evcloud/ocpi/__init__.py +123 -0
  155. evcloud-0.1.0/src/evcloud/ocpi/client.py +56 -0
  156. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/__init__.py +31 -0
  157. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/client.py +1553 -0
  158. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/raw_client.py +3119 -0
  159. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/__init__.py +29 -0
  160. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/cancel_reservation_cpo_data_request_version.py +5 -0
  161. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/create_cdr_cpo_data_request_version.py +5 -0
  162. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/delete_tariff_cpo_data_request_version.py +5 -0
  163. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/send_active_charging_profile_cpo_data_request_version.py +5 -0
  164. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/update_connector_cpo_data_request_version.py +5 -0
  165. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/update_evse_status_cpo_data_request_version.py +5 -0
  166. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/update_location_cpo_data_request_version.py +5 -0
  167. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/update_session_cpo_data_request_version.py +5 -0
  168. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/upsert_location_cpo_data_request_version.py +5 -0
  169. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/upsert_session_cpo_data_request_version.py +5 -0
  170. evcloud-0.1.0/src/evcloud/ocpi/cpo_data/types/upsert_tariff_cpo_data_request_version.py +5 -0
  171. evcloud-0.1.0/src/evcloud/ocpi/credentials/__init__.py +31 -0
  172. evcloud-0.1.0/src/evcloud/ocpi/credentials/client.py +750 -0
  173. evcloud-0.1.0/src/evcloud/ocpi/credentials/raw_client.py +1537 -0
  174. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/__init__.py +29 -0
  175. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/partner_versions_pull_request_partner_token_encoding.py +5 -0
  176. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/pull_versions_credentials_request_role.py +5 -0
  177. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/pull_versions_credentials_request_version.py +5 -0
  178. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/rotate_credentials_request_role.py +5 -0
  179. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/rotate_credentials_request_version.py +5 -0
  180. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/start_handshake_credentials_request_role.py +5 -0
  181. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/start_handshake_credentials_request_version.py +5 -0
  182. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/status_credentials_request_role.py +5 -0
  183. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/status_credentials_request_version.py +5 -0
  184. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/unregister_credentials_request_role.py +5 -0
  185. evcloud-0.1.0/src/evcloud/ocpi/credentials/types/unregister_credentials_request_version.py +5 -0
  186. evcloud-0.1.0/src/evcloud/ocpi/emsp/__init__.py +27 -0
  187. evcloud-0.1.0/src/evcloud/ocpi/emsp/client.py +1142 -0
  188. evcloud-0.1.0/src/evcloud/ocpi/emsp/raw_client.py +2209 -0
  189. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/__init__.py +25 -0
  190. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/charging_preferences_request_profile_type.py +5 -0
  191. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/clear_charging_profile_emsp_request_version.py +5 -0
  192. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/get_active_charging_profile_emsp_request_version.py +5 -0
  193. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/send_command_emsp_request_command.py +7 -0
  194. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/send_command_emsp_request_version.py +5 -0
  195. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/set_charging_preferences_emsp_request_version.py +5 -0
  196. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/set_charging_profile_emsp_request_version.py +5 -0
  197. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/update_token_emsp_request_version.py +5 -0
  198. evcloud-0.1.0/src/evcloud/ocpi/emsp/types/upsert_token_emsp_request_version.py +5 -0
  199. evcloud-0.1.0/src/evcloud/ocpi/invites/__init__.py +19 -0
  200. evcloud-0.1.0/src/evcloud/ocpi/invites/client.py +385 -0
  201. evcloud-0.1.0/src/evcloud/ocpi/invites/raw_client.py +887 -0
  202. evcloud-0.1.0/src/evcloud/ocpi/invites/types/__init__.py +17 -0
  203. evcloud-0.1.0/src/evcloud/ocpi/invites/types/partner_invite_create_request_gateway_role.py +5 -0
  204. evcloud-0.1.0/src/evcloud/ocpi/invites/types/partner_invite_create_request_role.py +5 -0
  205. evcloud-0.1.0/src/evcloud/ocpi/invites/types/partner_invite_create_request_version.py +5 -0
  206. evcloud-0.1.0/src/evcloud/ocpi/invites/types/partner_invite_update_request_gateway_role.py +5 -0
  207. evcloud-0.1.0/src/evcloud/ocpi/invites/types/partner_invite_update_request_version.py +5 -0
  208. evcloud-0.1.0/src/evcloud/ocpi/partners/__init__.py +7 -0
  209. evcloud-0.1.0/src/evcloud/ocpi/partners/client.py +581 -0
  210. evcloud-0.1.0/src/evcloud/ocpi/partners/raw_client.py +1340 -0
  211. evcloud-0.1.0/src/evcloud/ocpi/partners/types/__init__.py +8 -0
  212. evcloud-0.1.0/src/evcloud/ocpi/partners/types/partner_register_request_ocpi_version.py +5 -0
  213. evcloud-0.1.0/src/evcloud/ocpi/partners/types/partner_update_request_ocpi_version.py +5 -0
  214. evcloud-0.1.0/src/evcloud/ocpi/raw_client.py +13 -0
  215. evcloud-0.1.0/src/evcloud/ocpi/sync/__init__.py +33 -0
  216. evcloud-0.1.0/src/evcloud/ocpi/sync/client.py +1701 -0
  217. evcloud-0.1.0/src/evcloud/ocpi/sync/raw_client.py +3685 -0
  218. evcloud-0.1.0/src/evcloud/ocpi/sync/types/__init__.py +31 -0
  219. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_cdrs_sync_request_version.py +5 -0
  220. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_hub_client_info_as_cpo_sync_request_version.py +5 -0
  221. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_hub_client_info_as_emsp_sync_request_version.py +5 -0
  222. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_locations_sync_request_version.py +5 -0
  223. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_sessions_sync_request_version.py +5 -0
  224. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_tariffs_sync_request_version.py +5 -0
  225. evcloud-0.1.0/src/evcloud/ocpi/sync/types/pull_tokens_sync_request_version.py +5 -0
  226. evcloud-0.1.0/src/evcloud/ocpi/sync/types/push_cdr_sync_request_version.py +5 -0
  227. evcloud-0.1.0/src/evcloud/ocpi/sync/types/push_location_sync_request_version.py +5 -0
  228. evcloud-0.1.0/src/evcloud/ocpi/sync/types/push_session_sync_request_version.py +5 -0
  229. evcloud-0.1.0/src/evcloud/ocpi/sync/types/push_tariff_sync_request_version.py +5 -0
  230. evcloud-0.1.0/src/evcloud/ocpi/sync/types/push_token_sync_request_version.py +5 -0
  231. evcloud-0.1.0/src/evcloud/py.typed +0 -0
  232. evcloud-0.1.0/src/evcloud/types/__init__.py +759 -0
  233. evcloud-0.1.0/src/evcloud/types/access_mode.py +5 -0
  234. evcloud-0.1.0/src/evcloud/types/asset_connector.py +26 -0
  235. evcloud-0.1.0/src/evcloud/types/asset_updated_event.py +29 -0
  236. evcloud-0.1.0/src/evcloud/types/availability_page.py +26 -0
  237. evcloud-0.1.0/src/evcloud/types/batch_response.py +26 -0
  238. evcloud-0.1.0/src/evcloud/types/batch_response_missing_item.py +7 -0
  239. evcloud-0.1.0/src/evcloud/types/cdr_event.py +41 -0
  240. evcloud-0.1.0/src/evcloud/types/cdr_out.py +75 -0
  241. evcloud-0.1.0/src/evcloud/types/cdr_out_auth_method.py +7 -0
  242. evcloud-0.1.0/src/evcloud/types/cdr_out_auth_method_zero.py +5 -0
  243. evcloud-0.1.0/src/evcloud/types/cdr_out_origin.py +7 -0
  244. evcloud-0.1.0/src/evcloud/types/cdr_out_origin_zero.py +5 -0
  245. evcloud-0.1.0/src/evcloud/types/cdr_page.py +27 -0
  246. evcloud-0.1.0/src/evcloud/types/cdr_write_response.py +26 -0
  247. evcloud-0.1.0/src/evcloud/types/charge_point_created_out.py +74 -0
  248. evcloud-0.1.0/src/evcloud/types/charge_point_created_out_access_mode.py +7 -0
  249. evcloud-0.1.0/src/evcloud/types/charge_point_created_out_access_mode_zero.py +5 -0
  250. evcloud-0.1.0/src/evcloud/types/charge_point_created_out_pricing.py +7 -0
  251. evcloud-0.1.0/src/evcloud/types/charge_point_created_out_pricing_zero.py +5 -0
  252. evcloud-0.1.0/src/evcloud/types/charge_point_created_out_site_type.py +7 -0
  253. evcloud-0.1.0/src/evcloud/types/charge_point_created_out_site_type_zero.py +5 -0
  254. evcloud-0.1.0/src/evcloud/types/charge_point_out.py +73 -0
  255. evcloud-0.1.0/src/evcloud/types/charge_point_out_access_mode.py +7 -0
  256. evcloud-0.1.0/src/evcloud/types/charge_point_out_access_mode_zero.py +5 -0
  257. evcloud-0.1.0/src/evcloud/types/charge_point_out_pricing.py +7 -0
  258. evcloud-0.1.0/src/evcloud/types/charge_point_out_pricing_zero.py +5 -0
  259. evcloud-0.1.0/src/evcloud/types/charge_point_out_site_type.py +7 -0
  260. evcloud-0.1.0/src/evcloud/types/charge_point_out_site_type_zero.py +5 -0
  261. evcloud-0.1.0/src/evcloud/types/charge_point_page.py +27 -0
  262. evcloud-0.1.0/src/evcloud/types/charging_preferences_response.py +28 -0
  263. evcloud-0.1.0/src/evcloud/types/charging_preferences_response_result.py +10 -0
  264. evcloud-0.1.0/src/evcloud/types/charging_profile.py +30 -0
  265. evcloud-0.1.0/src/evcloud/types/charging_profile_charging_rate_unit.py +5 -0
  266. evcloud-0.1.0/src/evcloud/types/charging_profile_period.py +31 -0
  267. evcloud-0.1.0/src/evcloud/types/charging_profile_response.py +32 -0
  268. evcloud-0.1.0/src/evcloud/types/cluster_page.py +26 -0
  269. evcloud-0.1.0/src/evcloud/types/command_accepted.py +30 -0
  270. evcloud-0.1.0/src/evcloud/types/command_accepted_route.py +53 -0
  271. evcloud-0.1.0/src/evcloud/types/command_accepted_route_own.py +28 -0
  272. evcloud-0.1.0/src/evcloud/types/command_accepted_route_own_ocpi_version.py +7 -0
  273. evcloud-0.1.0/src/evcloud/types/command_accepted_route_own_ocpi_version_zero.py +5 -0
  274. evcloud-0.1.0/src/evcloud/types/command_accepted_route_roaming.py +30 -0
  275. evcloud-0.1.0/src/evcloud/types/command_accepted_route_roaming_ocpi_version.py +7 -0
  276. evcloud-0.1.0/src/evcloud/types/command_accepted_route_roaming_ocpi_version_zero.py +5 -0
  277. evcloud-0.1.0/src/evcloud/types/command_accepted_status.py +7 -0
  278. evcloud-0.1.0/src/evcloud/types/command_accepted_status_zero.py +20 -0
  279. evcloud-0.1.0/src/evcloud/types/command_page.py +26 -0
  280. evcloud-0.1.0/src/evcloud/types/command_record.py +40 -0
  281. evcloud-0.1.0/src/evcloud/types/command_record_command.py +7 -0
  282. evcloud-0.1.0/src/evcloud/types/command_record_command_zero.py +7 -0
  283. evcloud-0.1.0/src/evcloud/types/command_record_route.py +53 -0
  284. evcloud-0.1.0/src/evcloud/types/command_record_route_own.py +28 -0
  285. evcloud-0.1.0/src/evcloud/types/command_record_route_own_ocpi_version.py +7 -0
  286. evcloud-0.1.0/src/evcloud/types/command_record_route_own_ocpi_version_zero.py +5 -0
  287. evcloud-0.1.0/src/evcloud/types/command_record_route_roaming.py +30 -0
  288. evcloud-0.1.0/src/evcloud/types/command_record_route_roaming_ocpi_version.py +7 -0
  289. evcloud-0.1.0/src/evcloud/types/command_record_route_roaming_ocpi_version_zero.py +5 -0
  290. evcloud-0.1.0/src/evcloud/types/command_record_status.py +7 -0
  291. evcloud-0.1.0/src/evcloud/types/command_record_status_zero.py +20 -0
  292. evcloud-0.1.0/src/evcloud/types/command_response_out.py +26 -0
  293. evcloud-0.1.0/src/evcloud/types/command_response_out_result.py +7 -0
  294. evcloud-0.1.0/src/evcloud/types/command_response_out_result_zero.py +7 -0
  295. evcloud-0.1.0/src/evcloud/types/command_result_event.py +39 -0
  296. evcloud-0.1.0/src/evcloud/types/command_result_event_module.py +5 -0
  297. evcloud-0.1.0/src/evcloud/types/command_result_event_protocol.py +5 -0
  298. evcloud-0.1.0/src/evcloud/types/command_result_event_status.py +5 -0
  299. evcloud-0.1.0/src/evcloud/types/command_send_response.py +31 -0
  300. evcloud-0.1.0/src/evcloud/types/command_token.py +36 -0
  301. evcloud-0.1.0/src/evcloud/types/connector_format.py +5 -0
  302. evcloud-0.1.0/src/evcloud/types/connector_page.py +27 -0
  303. evcloud-0.1.0/src/evcloud/types/connector_status_event.py +29 -0
  304. evcloud-0.1.0/src/evcloud/types/connector_write_response.py +27 -0
  305. evcloud-0.1.0/src/evcloud/types/control_action.py +5 -0
  306. evcloud-0.1.0/src/evcloud/types/control_request_page.py +27 -0
  307. evcloud-0.1.0/src/evcloud/types/control_request_response.py +38 -0
  308. evcloud-0.1.0/src/evcloud/types/control_request_response_action.py +7 -0
  309. evcloud-0.1.0/src/evcloud/types/control_request_response_action_zero.py +7 -0
  310. evcloud-0.1.0/src/evcloud/types/control_request_response_result.py +7 -0
  311. evcloud-0.1.0/src/evcloud/types/control_request_response_result_zero.py +15 -0
  312. evcloud-0.1.0/src/evcloud/types/control_request_response_unit.py +7 -0
  313. evcloud-0.1.0/src/evcloud/types/control_request_response_unit_zero.py +5 -0
  314. evcloud-0.1.0/src/evcloud/types/control_response_event.py +38 -0
  315. evcloud-0.1.0/src/evcloud/types/control_response_event_action.py +5 -0
  316. evcloud-0.1.0/src/evcloud/types/control_response_event_result.py +15 -0
  317. evcloud-0.1.0/src/evcloud/types/control_response_event_unit.py +5 -0
  318. evcloud-0.1.0/src/evcloud/types/cpo_connector_out.py +58 -0
  319. evcloud-0.1.0/src/evcloud/types/cpo_connector_out_format.py +7 -0
  320. evcloud-0.1.0/src/evcloud/types/cpo_connector_out_format_zero.py +5 -0
  321. evcloud-0.1.0/src/evcloud/types/cpo_connector_out_ocpi_status.py +7 -0
  322. evcloud-0.1.0/src/evcloud/types/cpo_connector_out_ocpi_status_zero.py +10 -0
  323. evcloud-0.1.0/src/evcloud/types/cpo_connector_out_power_type.py +7 -0
  324. evcloud-0.1.0/src/evcloud/types/cpo_connector_out_power_type_zero.py +7 -0
  325. evcloud-0.1.0/src/evcloud/types/cpo_evse_out.py +61 -0
  326. evcloud-0.1.0/src/evcloud/types/cpo_evse_out_origin.py +7 -0
  327. evcloud-0.1.0/src/evcloud/types/cpo_evse_out_origin_zero.py +5 -0
  328. evcloud-0.1.0/src/evcloud/types/cpo_evse_out_status.py +7 -0
  329. evcloud-0.1.0/src/evcloud/types/cpo_evse_out_status_zero.py +10 -0
  330. evcloud-0.1.0/src/evcloud/types/credentials_handshake_request.py +44 -0
  331. evcloud-0.1.0/src/evcloud/types/credentials_handshake_request_partner_token_encoding.py +5 -0
  332. evcloud-0.1.0/src/evcloud/types/credentials_handshake_response.py +32 -0
  333. evcloud-0.1.0/src/evcloud/types/credentials_handshake_response_action.py +7 -0
  334. evcloud-0.1.0/src/evcloud/types/credentials_handshake_response_version.py +5 -0
  335. evcloud-0.1.0/src/evcloud/types/deliver_event_response.py +23 -0
  336. evcloud-0.1.0/src/evcloud/types/delivery_drift_event.py +30 -0
  337. evcloud-0.1.0/src/evcloud/types/display_text.py +24 -0
  338. evcloud-0.1.0/src/evcloud/types/effective_cpo.py +27 -0
  339. evcloud-0.1.0/src/evcloud/types/effective_cpo_source.py +7 -0
  340. evcloud-0.1.0/src/evcloud/types/effective_cpo_source_zero.py +5 -0
  341. evcloud-0.1.0/src/evcloud/types/effective_view_response.py +29 -0
  342. evcloud-0.1.0/src/evcloud/types/emp_identity_out.py +35 -0
  343. evcloud-0.1.0/src/evcloud/types/emp_identity_out_status.py +7 -0
  344. evcloud-0.1.0/src/evcloud/types/emp_identity_out_status_zero.py +5 -0
  345. evcloud-0.1.0/src/evcloud/types/emp_identity_page.py +26 -0
  346. evcloud-0.1.0/src/evcloud/types/emsp_cdr_out.py +41 -0
  347. evcloud-0.1.0/src/evcloud/types/emsp_cdr_out_source.py +7 -0
  348. evcloud-0.1.0/src/evcloud/types/emsp_cdr_out_source_zero.py +5 -0
  349. evcloud-0.1.0/src/evcloud/types/emsp_cdr_page.py +26 -0
  350. evcloud-0.1.0/src/evcloud/types/emsp_connector_out.py +30 -0
  351. evcloud-0.1.0/src/evcloud/types/emsp_evse_out.py +32 -0
  352. evcloud-0.1.0/src/evcloud/types/emsp_gateway_schema_commands_location_key.py +25 -0
  353. evcloud-0.1.0/src/evcloud/types/emsp_gateway_schema_location_lookup_location_key.py +25 -0
  354. evcloud-0.1.0/src/evcloud/types/emsp_gateway_schema_locations_location_out.py +47 -0
  355. evcloud-0.1.0/src/evcloud/types/emsp_gateway_schema_locations_location_page.py +26 -0
  356. evcloud-0.1.0/src/evcloud/types/emsp_gateway_schema_networks_location_out.py +37 -0
  357. evcloud-0.1.0/src/evcloud/types/emsp_gateway_schema_networks_location_page.py +26 -0
  358. evcloud-0.1.0/src/evcloud/types/emsp_session_out.py +41 -0
  359. evcloud-0.1.0/src/evcloud/types/emsp_session_out_source.py +7 -0
  360. evcloud-0.1.0/src/evcloud/types/emsp_session_out_source_zero.py +5 -0
  361. evcloud-0.1.0/src/evcloud/types/emsp_session_page.py +26 -0
  362. evcloud-0.1.0/src/evcloud/types/emsp_tariff_page.py +26 -0
  363. evcloud-0.1.0/src/evcloud/types/energy_contract.py +24 -0
  364. evcloud-0.1.0/src/evcloud/types/estimate_line.py +27 -0
  365. evcloud-0.1.0/src/evcloud/types/estimate_line_type.py +7 -0
  366. evcloud-0.1.0/src/evcloud/types/estimate_line_type_zero.py +5 -0
  367. evcloud-0.1.0/src/evcloud/types/estimate_response.py +30 -0
  368. evcloud-0.1.0/src/evcloud/types/event_type_list.py +24 -0
  369. evcloud-0.1.0/src/evcloud/types/event_type_response.py +27 -0
  370. evcloud-0.1.0/src/evcloud/types/event_type_response_type.py +7 -0
  371. evcloud-0.1.0/src/evcloud/types/event_type_response_type_zero.py +27 -0
  372. evcloud-0.1.0/src/evcloud/types/event_type_version.py +24 -0
  373. evcloud-0.1.0/src/evcloud/types/evse_connector_status.py +26 -0
  374. evcloud-0.1.0/src/evcloud/types/evse_page.py +27 -0
  375. evcloud-0.1.0/src/evcloud/types/evse_parking.py +25 -0
  376. evcloud-0.1.0/src/evcloud/types/evse_parking_evse_position.py +7 -0
  377. evcloud-0.1.0/src/evcloud/types/evse_parking_evse_position_zero.py +5 -0
  378. evcloud-0.1.0/src/evcloud/types/evse_status_event.py +31 -0
  379. evcloud-0.1.0/src/evcloud/types/evse_status_out.py +32 -0
  380. evcloud-0.1.0/src/evcloud/types/evse_status_write_response.py +28 -0
  381. evcloud-0.1.0/src/evcloud/types/facility_count.py +24 -0
  382. evcloud-0.1.0/src/evcloud/types/facility_page.py +26 -0
  383. evcloud-0.1.0/src/evcloud/types/health_ok.py +24 -0
  384. evcloud-0.1.0/src/evcloud/types/health_ok_status.py +7 -0
  385. evcloud-0.1.0/src/evcloud/types/health_ok_status_zero.py +5 -0
  386. evcloud-0.1.0/src/evcloud/types/http_error_response.py +29 -0
  387. evcloud-0.1.0/src/evcloud/types/http_validation_error.py +24 -0
  388. evcloud-0.1.0/src/evcloud/types/limit_unit.py +5 -0
  389. evcloud-0.1.0/src/evcloud/types/location_availability.py +28 -0
  390. evcloud-0.1.0/src/evcloud/types/location_availability_status.py +7 -0
  391. evcloud-0.1.0/src/evcloud/types/location_availability_status_zero.py +7 -0
  392. evcloud-0.1.0/src/evcloud/types/location_base.py +53 -0
  393. evcloud-0.1.0/src/evcloud/types/location_base_parking_type.py +7 -0
  394. evcloud-0.1.0/src/evcloud/types/location_base_parking_type_zero.py +8 -0
  395. evcloud-0.1.0/src/evcloud/types/location_cluster.py +26 -0
  396. evcloud-0.1.0/src/evcloud/types/location_detail.py +51 -0
  397. evcloud-0.1.0/src/evcloud/types/location_key_input.py +25 -0
  398. evcloud-0.1.0/src/evcloud/types/location_list.py +24 -0
  399. evcloud-0.1.0/src/evcloud/types/location_out.py +79 -0
  400. evcloud-0.1.0/src/evcloud/types/location_out_access_mode.py +7 -0
  401. evcloud-0.1.0/src/evcloud/types/location_out_access_mode_zero.py +5 -0
  402. evcloud-0.1.0/src/evcloud/types/location_out_ocpi_version.py +7 -0
  403. evcloud-0.1.0/src/evcloud/types/location_out_ocpi_version_zero.py +5 -0
  404. evcloud-0.1.0/src/evcloud/types/location_out_origin.py +7 -0
  405. evcloud-0.1.0/src/evcloud/types/location_out_origin_zero.py +5 -0
  406. evcloud-0.1.0/src/evcloud/types/location_out_parking_type.py +7 -0
  407. evcloud-0.1.0/src/evcloud/types/location_out_parking_type_zero.py +8 -0
  408. evcloud-0.1.0/src/evcloud/types/location_out_role.py +7 -0
  409. evcloud-0.1.0/src/evcloud/types/location_out_role_zero.py +5 -0
  410. evcloud-0.1.0/src/evcloud/types/location_out_site_type.py +7 -0
  411. evcloud-0.1.0/src/evcloud/types/location_out_site_type_zero.py +5 -0
  412. evcloud-0.1.0/src/evcloud/types/location_page.py +27 -0
  413. evcloud-0.1.0/src/evcloud/types/location_summary.py +43 -0
  414. evcloud-0.1.0/src/evcloud/types/location_updated_event.py +30 -0
  415. evcloud-0.1.0/src/evcloud/types/location_write_response.py +26 -0
  416. evcloud-0.1.0/src/evcloud/types/map_cluster.py +28 -0
  417. evcloud-0.1.0/src/evcloud/types/map_page.py +29 -0
  418. evcloud-0.1.0/src/evcloud/types/network_consumer.py +25 -0
  419. evcloud-0.1.0/src/evcloud/types/network_consumer_page.py +26 -0
  420. evcloud-0.1.0/src/evcloud/types/network_detail_response.py +49 -0
  421. evcloud-0.1.0/src/evcloud/types/network_detail_response_network_type.py +7 -0
  422. evcloud-0.1.0/src/evcloud/types/network_detail_response_network_type_zero.py +5 -0
  423. evcloud-0.1.0/src/evcloud/types/network_detail_response_publish_state.py +7 -0
  424. evcloud-0.1.0/src/evcloud/types/network_detail_response_publish_state_zero.py +7 -0
  425. evcloud-0.1.0/src/evcloud/types/network_page.py +26 -0
  426. evcloud-0.1.0/src/evcloud/types/network_priority_order.py +23 -0
  427. evcloud-0.1.0/src/evcloud/types/network_response.py +46 -0
  428. evcloud-0.1.0/src/evcloud/types/network_response_network_type.py +7 -0
  429. evcloud-0.1.0/src/evcloud/types/network_response_network_type_zero.py +5 -0
  430. evcloud-0.1.0/src/evcloud/types/network_response_publish_state.py +7 -0
  431. evcloud-0.1.0/src/evcloud/types/network_response_publish_state_zero.py +5 -0
  432. evcloud-0.1.0/src/evcloud/types/network_rule_page.py +26 -0
  433. evcloud-0.1.0/src/evcloud/types/network_rule_response.py +33 -0
  434. evcloud-0.1.0/src/evcloud/types/network_rule_response_rule_type.py +7 -0
  435. evcloud-0.1.0/src/evcloud/types/network_rule_response_rule_type_zero.py +5 -0
  436. evcloud-0.1.0/src/evcloud/types/ocpi_business_details.py +26 -0
  437. evcloud-0.1.0/src/evcloud/types/ocpi_business_details_input.py +26 -0
  438. evcloud-0.1.0/src/evcloud/types/ocpi_cdr_dimension.py +24 -0
  439. evcloud-0.1.0/src/evcloud/types/ocpi_cdr_location.py +30 -0
  440. evcloud-0.1.0/src/evcloud/types/ocpi_cdr_token.py +30 -0
  441. evcloud-0.1.0/src/evcloud/types/ocpi_charging_period.py +27 -0
  442. evcloud-0.1.0/src/evcloud/types/ocpi_display_text.py +24 -0
  443. evcloud-0.1.0/src/evcloud/types/ocpi_energy_mix.py +29 -0
  444. evcloud-0.1.0/src/evcloud/types/ocpi_energy_mix_input.py +29 -0
  445. evcloud-0.1.0/src/evcloud/types/ocpi_energy_source.py +24 -0
  446. evcloud-0.1.0/src/evcloud/types/ocpi_energy_source_input.py +24 -0
  447. evcloud-0.1.0/src/evcloud/types/ocpi_environmental_impact.py +24 -0
  448. evcloud-0.1.0/src/evcloud/types/ocpi_evse_parking.py +24 -0
  449. evcloud-0.1.0/src/evcloud/types/ocpi_exceptional_period.py +25 -0
  450. evcloud-0.1.0/src/evcloud/types/ocpi_geo_location.py +24 -0
  451. evcloud-0.1.0/src/evcloud/types/ocpi_geo_location_in.py +24 -0
  452. evcloud-0.1.0/src/evcloud/types/ocpi_image.py +28 -0
  453. evcloud-0.1.0/src/evcloud/types/ocpi_image_input.py +28 -0
  454. evcloud-0.1.0/src/evcloud/types/ocpi_opening_times.py +28 -0
  455. evcloud-0.1.0/src/evcloud/types/ocpi_opening_times_input.py +28 -0
  456. evcloud-0.1.0/src/evcloud/types/ocpi_parking_place.py +44 -0
  457. evcloud-0.1.0/src/evcloud/types/ocpi_parking_place_input.py +44 -0
  458. evcloud-0.1.0/src/evcloud/types/ocpi_price_component_input.py +28 -0
  459. evcloud-0.1.0/src/evcloud/types/ocpi_price_component_input_price.py +5 -0
  460. evcloud-0.1.0/src/evcloud/types/ocpi_price_component_input_vat.py +5 -0
  461. evcloud-0.1.0/src/evcloud/types/ocpi_price_component_output.py +26 -0
  462. evcloud-0.1.0/src/evcloud/types/ocpi_price_input.py +26 -0
  463. evcloud-0.1.0/src/evcloud/types/ocpi_price_input_excl_vat.py +5 -0
  464. evcloud-0.1.0/src/evcloud/types/ocpi_price_input_incl_vat.py +5 -0
  465. evcloud-0.1.0/src/evcloud/types/ocpi_price_output.py +24 -0
  466. evcloud-0.1.0/src/evcloud/types/ocpi_publish_token.py +27 -0
  467. evcloud-0.1.0/src/evcloud/types/ocpi_regular_hours.py +25 -0
  468. evcloud-0.1.0/src/evcloud/types/ocpi_regular_hours_input.py +25 -0
  469. evcloud-0.1.0/src/evcloud/types/ocpi_related_location.py +26 -0
  470. evcloud-0.1.0/src/evcloud/types/ocpi_signed_data.py +28 -0
  471. evcloud-0.1.0/src/evcloud/types/ocpi_signed_value.py +25 -0
  472. evcloud-0.1.0/src/evcloud/types/ocpi_status_schedule.py +26 -0
  473. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_element_input.py +26 -0
  474. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_element_output.py +26 -0
  475. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_restrictions_input.py +33 -0
  476. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_restrictions_input_max_kwh.py +5 -0
  477. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_restrictions_input_min_kwh.py +5 -0
  478. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_restrictions_output.py +31 -0
  479. evcloud-0.1.0/src/evcloud/types/ocpi_tariff_snapshot.py +26 -0
  480. evcloud-0.1.0/src/evcloud/types/ocpp_version.py +5 -0
  481. evcloud-0.1.0/src/evcloud/types/page_info.py +24 -0
  482. evcloud-0.1.0/src/evcloud/types/parking.py +45 -0
  483. evcloud-0.1.0/src/evcloud/types/parking_direction.py +7 -0
  484. evcloud-0.1.0/src/evcloud/types/parking_direction_zero.py +5 -0
  485. evcloud-0.1.0/src/evcloud/types/parking_type.py +8 -0
  486. evcloud-0.1.0/src/evcloud/types/parking_vehicle_types_item.py +7 -0
  487. evcloud-0.1.0/src/evcloud/types/parking_vehicle_types_item_zero.py +18 -0
  488. evcloud-0.1.0/src/evcloud/types/partner_invite_response.py +47 -0
  489. evcloud-0.1.0/src/evcloud/types/partner_invite_response_action.py +5 -0
  490. evcloud-0.1.0/src/evcloud/types/partner_invite_response_role.py +5 -0
  491. evcloud-0.1.0/src/evcloud/types/partner_invite_response_version.py +5 -0
  492. evcloud-0.1.0/src/evcloud/types/partner_invite_revoke_response.py +31 -0
  493. evcloud-0.1.0/src/evcloud/types/partner_invite_revoke_response_role.py +5 -0
  494. evcloud-0.1.0/src/evcloud/types/partner_response.py +41 -0
  495. evcloud-0.1.0/src/evcloud/types/partner_response_ocpi_version.py +5 -0
  496. evcloud-0.1.0/src/evcloud/types/partner_token_updated_event.py +35 -0
  497. evcloud-0.1.0/src/evcloud/types/partner_versions_pull_response.py +29 -0
  498. evcloud-0.1.0/src/evcloud/types/partner_versions_pull_response_code.py +8 -0
  499. evcloud-0.1.0/src/evcloud/types/partner_versions_pull_response_version.py +5 -0
  500. evcloud-0.1.0/src/evcloud/types/power_measurement.py +30 -0
  501. evcloud-0.1.0/src/evcloud/types/power_measurement_event.py +30 -0
  502. evcloud-0.1.0/src/evcloud/types/power_measurement_list.py +24 -0
  503. evcloud-0.1.0/src/evcloud/types/power_type.py +5 -0
  504. evcloud-0.1.0/src/evcloud/types/price_component.py +26 -0
  505. evcloud-0.1.0/src/evcloud/types/price_limit.py +24 -0
  506. evcloud-0.1.0/src/evcloud/types/pricing_mode.py +5 -0
  507. evcloud-0.1.0/src/evcloud/types/queue_health.py +34 -0
  508. evcloud-0.1.0/src/evcloud/types/reservation_cancel_response.py +25 -0
  509. evcloud-0.1.0/src/evcloud/types/resolve_chargers_response_own.py +28 -0
  510. evcloud-0.1.0/src/evcloud/types/resolve_chargers_response_own_ocpi_version.py +7 -0
  511. evcloud-0.1.0/src/evcloud/types/resolve_chargers_response_own_ocpi_version_zero.py +5 -0
  512. evcloud-0.1.0/src/evcloud/types/resolve_chargers_response_roaming.py +30 -0
  513. evcloud-0.1.0/src/evcloud/types/resolve_chargers_response_roaming_ocpi_version.py +7 -0
  514. evcloud-0.1.0/src/evcloud/types/resolve_chargers_response_roaming_ocpi_version_zero.py +5 -0
  515. evcloud-0.1.0/src/evcloud/types/session_event.py +39 -0
  516. evcloud-0.1.0/src/evcloud/types/session_out.py +60 -0
  517. evcloud-0.1.0/src/evcloud/types/session_out_auth_method.py +7 -0
  518. evcloud-0.1.0/src/evcloud/types/session_out_auth_method_zero.py +5 -0
  519. evcloud-0.1.0/src/evcloud/types/session_out_billing_state.py +7 -0
  520. evcloud-0.1.0/src/evcloud/types/session_out_billing_state_zero.py +5 -0
  521. evcloud-0.1.0/src/evcloud/types/session_out_origin.py +7 -0
  522. evcloud-0.1.0/src/evcloud/types/session_out_origin_zero.py +5 -0
  523. evcloud-0.1.0/src/evcloud/types/session_out_status.py +7 -0
  524. evcloud-0.1.0/src/evcloud/types/session_out_status_zero.py +7 -0
  525. evcloud-0.1.0/src/evcloud/types/session_page.py +27 -0
  526. evcloud-0.1.0/src/evcloud/types/session_write_response.py +27 -0
  527. evcloud-0.1.0/src/evcloud/types/sharing_slot.py +25 -0
  528. evcloud-0.1.0/src/evcloud/types/sharing_slot_input.py +25 -0
  529. evcloud-0.1.0/src/evcloud/types/site_type.py +5 -0
  530. evcloud-0.1.0/src/evcloud/types/sync_patch_request.py +26 -0
  531. evcloud-0.1.0/src/evcloud/types/sync_pull_response.py +31 -0
  532. evcloud-0.1.0/src/evcloud/types/sync_push_response.py +31 -0
  533. evcloud-0.1.0/src/evcloud/types/sync_push_response_status.py +5 -0
  534. evcloud-0.1.0/src/evcloud/types/tariff.py +42 -0
  535. evcloud-0.1.0/src/evcloud/types/tariff_assignment_out.py +32 -0
  536. evcloud-0.1.0/src/evcloud/types/tariff_assignment_page.py +27 -0
  537. evcloud-0.1.0/src/evcloud/types/tariff_delete_response.py +26 -0
  538. evcloud-0.1.0/src/evcloud/types/tariff_display.py +27 -0
  539. evcloud-0.1.0/src/evcloud/types/tariff_element.py +26 -0
  540. evcloud-0.1.0/src/evcloud/types/tariff_out.py +57 -0
  541. evcloud-0.1.0/src/evcloud/types/tariff_out_origin.py +7 -0
  542. evcloud-0.1.0/src/evcloud/types/tariff_out_origin_zero.py +5 -0
  543. evcloud-0.1.0/src/evcloud/types/tariff_out_tax_included.py +7 -0
  544. evcloud-0.1.0/src/evcloud/types/tariff_out_tax_included_zero.py +5 -0
  545. evcloud-0.1.0/src/evcloud/types/tariff_out_type.py +7 -0
  546. evcloud-0.1.0/src/evcloud/types/tariff_out_type_zero.py +7 -0
  547. evcloud-0.1.0/src/evcloud/types/tariff_page.py +27 -0
  548. evcloud-0.1.0/src/evcloud/types/tariff_restrictions.py +36 -0
  549. evcloud-0.1.0/src/evcloud/types/tariff_summary.py +29 -0
  550. evcloud-0.1.0/src/evcloud/types/tariff_tax_included.py +7 -0
  551. evcloud-0.1.0/src/evcloud/types/tariff_tax_included_zero.py +5 -0
  552. evcloud-0.1.0/src/evcloud/types/tariff_type.py +7 -0
  553. evcloud-0.1.0/src/evcloud/types/tariff_updated_event.py +29 -0
  554. evcloud-0.1.0/src/evcloud/types/tariff_write_response.py +26 -0
  555. evcloud-0.1.0/src/evcloud/types/tax_included.py +5 -0
  556. evcloud-0.1.0/src/evcloud/types/tenant_profile_out.py +31 -0
  557. evcloud-0.1.0/src/evcloud/types/token_bulk_out.py +26 -0
  558. evcloud-0.1.0/src/evcloud/types/token_create.py +46 -0
  559. evcloud-0.1.0/src/evcloud/types/token_create_default_profile_type.py +5 -0
  560. evcloud-0.1.0/src/evcloud/types/token_create_ocpi_version.py +5 -0
  561. evcloud-0.1.0/src/evcloud/types/token_create_type.py +5 -0
  562. evcloud-0.1.0/src/evcloud/types/token_create_whitelist.py +5 -0
  563. evcloud-0.1.0/src/evcloud/types/token_event_data.py +47 -0
  564. evcloud-0.1.0/src/evcloud/types/token_event_data_status.py +7 -0
  565. evcloud-0.1.0/src/evcloud/types/token_event_data_type.py +5 -0
  566. evcloud-0.1.0/src/evcloud/types/token_event_data_whitelist.py +5 -0
  567. evcloud-0.1.0/src/evcloud/types/token_event_out.py +32 -0
  568. evcloud-0.1.0/src/evcloud/types/token_event_out_event.py +7 -0
  569. evcloud-0.1.0/src/evcloud/types/token_event_out_event_zero.py +7 -0
  570. evcloud-0.1.0/src/evcloud/types/token_event_page.py +26 -0
  571. evcloud-0.1.0/src/evcloud/types/token_failure_item.py +24 -0
  572. evcloud-0.1.0/src/evcloud/types/token_group_action_out.py +27 -0
  573. evcloud-0.1.0/src/evcloud/types/token_group_failure.py +24 -0
  574. evcloud-0.1.0/src/evcloud/types/token_group_member_out.py +26 -0
  575. evcloud-0.1.0/src/evcloud/types/token_group_network_out.py +35 -0
  576. evcloud-0.1.0/src/evcloud/types/token_group_network_page.py +26 -0
  577. evcloud-0.1.0/src/evcloud/types/token_group_out.py +31 -0
  578. evcloud-0.1.0/src/evcloud/types/token_group_page.py +26 -0
  579. evcloud-0.1.0/src/evcloud/types/token_out.py +55 -0
  580. evcloud-0.1.0/src/evcloud/types/token_out_status.py +7 -0
  581. evcloud-0.1.0/src/evcloud/types/token_out_status_zero.py +7 -0
  582. evcloud-0.1.0/src/evcloud/types/token_out_type.py +7 -0
  583. evcloud-0.1.0/src/evcloud/types/token_out_type_zero.py +5 -0
  584. evcloud-0.1.0/src/evcloud/types/token_out_whitelist.py +7 -0
  585. evcloud-0.1.0/src/evcloud/types/token_out_whitelist_zero.py +5 -0
  586. evcloud-0.1.0/src/evcloud/types/token_page.py +26 -0
  587. evcloud-0.1.0/src/evcloud/types/token_reason.py +23 -0
  588. evcloud-0.1.0/src/evcloud/types/token_ref.py +26 -0
  589. evcloud-0.1.0/src/evcloud/types/token_ref_ocpi_version.py +5 -0
  590. evcloud-0.1.0/src/evcloud/types/token_write_response.py +28 -0
  591. evcloud-0.1.0/src/evcloud/types/validation_error.py +28 -0
  592. evcloud-0.1.0/src/evcloud/types/validation_error_loc_item.py +5 -0
  593. evcloud-0.1.0/src/evcloud/types/webhook_delivery_page.py +27 -0
  594. evcloud-0.1.0/src/evcloud/types/webhook_delivery_response.py +35 -0
  595. evcloud-0.1.0/src/evcloud/types/webhook_page.py +27 -0
  596. evcloud-0.1.0/src/evcloud/types/webhook_response.py +42 -0
  597. evcloud-0.1.0/src/evcloud/types/webhook_response_event.py +7 -0
  598. evcloud-0.1.0/src/evcloud/types/webhook_response_event_zero.py +27 -0
  599. evcloud-0.1.0/src/evcloud/types/webhook_response_status.py +7 -0
  600. evcloud-0.1.0/src/evcloud/types/webhook_response_status_zero.py +5 -0
  601. evcloud-0.1.0/src/evcloud/types/webhook_test_result.py +25 -0
  602. evcloud-0.1.0/src/evcloud/types/webhook_with_secret_response.py +43 -0
  603. evcloud-0.1.0/src/evcloud/types/webhook_with_secret_response_event.py +7 -0
  604. evcloud-0.1.0/src/evcloud/types/webhook_with_secret_response_event_zero.py +27 -0
  605. evcloud-0.1.0/src/evcloud/types/webhook_with_secret_response_status.py +7 -0
  606. evcloud-0.1.0/src/evcloud/types/webhook_with_secret_response_status_zero.py +5 -0
  607. evcloud-0.1.0/src/evcloud/version.py +3 -0
  608. evcloud-0.1.0/src/evcloud/webhooks/__init__.py +28 -0
  609. evcloud-0.1.0/src/evcloud/webhooks/client.py +53 -0
  610. evcloud-0.1.0/src/evcloud/webhooks/deliveries/__init__.py +4 -0
  611. evcloud-0.1.0/src/evcloud/webhooks/deliveries/client.py +141 -0
  612. evcloud-0.1.0/src/evcloud/webhooks/deliveries/raw_client.py +268 -0
  613. evcloud-0.1.0/src/evcloud/webhooks/endpoints/__init__.py +17 -0
  614. evcloud-0.1.0/src/evcloud/webhooks/endpoints/client.py +642 -0
  615. evcloud-0.1.0/src/evcloud/webhooks/endpoints/raw_client.py +1521 -0
  616. evcloud-0.1.0/src/evcloud/webhooks/endpoints/types/__init__.py +15 -0
  617. evcloud-0.1.0/src/evcloud/webhooks/endpoints/types/list_endpoints_request_event_types_item.py +27 -0
  618. evcloud-0.1.0/src/evcloud/webhooks/endpoints/types/webhook_create_request_api_version.py +5 -0
  619. evcloud-0.1.0/src/evcloud/webhooks/endpoints/types/webhook_create_request_event.py +27 -0
  620. evcloud-0.1.0/src/evcloud/webhooks/endpoints/types/webhook_update_request_status.py +5 -0
  621. evcloud-0.1.0/src/evcloud/webhooks/event_types/__init__.py +7 -0
  622. evcloud-0.1.0/src/evcloud/webhooks/event_types/client.py +176 -0
  623. evcloud-0.1.0/src/evcloud/webhooks/event_types/raw_client.py +418 -0
  624. evcloud-0.1.0/src/evcloud/webhooks/event_types/types/__init__.py +7 -0
  625. evcloud-0.1.0/src/evcloud/webhooks/event_types/types/get_event_types_request_type.py +27 -0
  626. evcloud-0.1.0/src/evcloud/webhooks/events/__init__.py +7 -0
  627. evcloud-0.1.0/src/evcloud/webhooks/events/client.py +207 -0
  628. evcloud-0.1.0/src/evcloud/webhooks/events/raw_client.py +355 -0
  629. evcloud-0.1.0/src/evcloud/webhooks/events/types/__init__.py +8 -0
  630. evcloud-0.1.0/src/evcloud/webhooks/events/types/deliver_event_request_data.py +33 -0
  631. evcloud-0.1.0/src/evcloud/webhooks/events/types/deliver_event_request_event.py +27 -0
  632. evcloud-0.1.0/src/evcloud/webhooks/health/__init__.py +4 -0
  633. evcloud-0.1.0/src/evcloud/webhooks/health/client.py +161 -0
  634. evcloud-0.1.0/src/evcloud/webhooks/health/raw_client.py +380 -0
  635. evcloud-0.1.0/src/evcloud/webhooks/raw_client.py +13 -0
evcloud-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,257 @@
1
+ Metadata-Version: 2.1
2
+ Name: evcloud
3
+ Version: 0.1.0
4
+ Summary:
5
+ Keywords: ev,ocpp,ocpi,sdk,api,charging
6
+ Requires-Python: >=3.10,<4.0
7
+ Classifier: Intended Audience :: Developers
8
+ Classifier: Operating System :: MacOS
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Operating System :: POSIX
12
+ Classifier: Operating System :: POSIX :: Linux
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Typing :: Typed
23
+ Provides-Extra: aiohttp
24
+ Requires-Dist: aiohttp (>=3.10.0,<4) ; extra == "aiohttp"
25
+ Requires-Dist: httpx (>=0.21.2)
26
+ Requires-Dist: httpx-aiohttp (==0.1.8) ; extra == "aiohttp"
27
+ Requires-Dist: pydantic (>=1.9.2)
28
+ Requires-Dist: pydantic-core (>=2.18.2,<2.44.0)
29
+ Requires-Dist: typing_extensions (>=4.0.0)
30
+ Project-URL: Homepage, https://github.com/ev-cloudx/evcloud-python-sdk
31
+ Project-URL: Repository, https://github.com/ev-cloudx/evcloud-python-sdk
32
+ Description-Content-Type: text/markdown
33
+
34
+ # EvCloud Python Library
35
+
36
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fev-cloudx%2Fevcloud-python-sdk)
37
+ [![pypi](https://img.shields.io/pypi/v/evcloud)](https://pypi.python.org/pypi/evcloud)
38
+
39
+ The EvCloud Python library provides convenient access to the EvCloud APIs from Python.
40
+
41
+ ## Table of Contents
42
+
43
+ - [Installation](#installation)
44
+ - [Reference](#reference)
45
+ - [Usage](#usage)
46
+ - [Environments](#environments)
47
+ - [Async Client](#async-client)
48
+ - [Exception Handling](#exception-handling)
49
+ - [Pagination](#pagination)
50
+ - [Advanced](#advanced)
51
+ - [Access Raw Response Data](#access-raw-response-data)
52
+ - [Retries](#retries)
53
+ - [Timeouts](#timeouts)
54
+ - [Custom Client](#custom-client)
55
+ - [Contributing](#contributing)
56
+
57
+ ## Installation
58
+
59
+ ```sh
60
+ pip install evcloud
61
+ ```
62
+
63
+ ## Reference
64
+
65
+ A full reference for this library is available [here](https://github.com/ev-cloudx/evcloud-python-sdk/blob/HEAD/./reference.md).
66
+
67
+ ## Usage
68
+
69
+ Instantiate and use the client with the following:
70
+
71
+ ```python
72
+ from evcloud import EvcloudClient
73
+
74
+ client = EvcloudClient(
75
+ token="<token>",
76
+ )
77
+
78
+ client.cpo.charge_points.create(
79
+ charge_point_id="CP-AMS-001",
80
+ ocpp_version="ocpp2.0.1",
81
+ charge_point_vendor="ABB",
82
+ charge_point_model="Terra AC W22",
83
+ location_id=12,
84
+ max_power_kw=22,
85
+ connector_count=2,
86
+ is_roaming=True,
87
+ )
88
+ ```
89
+
90
+ ## Environments
91
+
92
+ This SDK allows you to configure different environments for API requests.
93
+
94
+ ```python
95
+ from evcloud import EvcloudClient
96
+ from evcloud.environment import EvcloudClientEnvironment
97
+
98
+ client = EvcloudClient(
99
+ environment=EvcloudClientEnvironment.PRODUCTION,
100
+ )
101
+ ```
102
+
103
+ ## Async Client
104
+
105
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
106
+
107
+ ```python
108
+ import asyncio
109
+
110
+ from evcloud import AsyncEvcloudClient
111
+
112
+ client = AsyncEvcloudClient(
113
+ token="<token>",
114
+ )
115
+
116
+
117
+ async def main() -> None:
118
+ await client.cpo.charge_points.create(
119
+ charge_point_id="CP-AMS-001",
120
+ ocpp_version="ocpp2.0.1",
121
+ charge_point_vendor="ABB",
122
+ charge_point_model="Terra AC W22",
123
+ location_id=12,
124
+ max_power_kw=22,
125
+ connector_count=2,
126
+ is_roaming=True,
127
+ )
128
+
129
+
130
+ asyncio.run(main())
131
+ ```
132
+
133
+ ## Exception Handling
134
+
135
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
136
+ will be thrown.
137
+
138
+ ```python
139
+ from evcloud.core.api_error import ApiError
140
+
141
+ try:
142
+ client.cpo.charge_points.create(...)
143
+ except ApiError as e:
144
+ print(e.status_code)
145
+ print(e.body)
146
+ ```
147
+
148
+ ## Pagination
149
+
150
+ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object.
151
+
152
+ ```python
153
+ from evcloud import EvcloudClient
154
+ import datetime
155
+
156
+ client = EvcloudClient(
157
+ token="<token>",
158
+ )
159
+
160
+ client.cpo.cdrs.list(
161
+ charge_point_id="CP-AMS-001",
162
+ date_from=datetime.datetime.fromisoformat("2026-09-30T00:00:00+00:00"),
163
+ date_to=datetime.datetime.fromisoformat("2026-10-01T00:00:00+00:00"),
164
+ limit=50,
165
+ offset=0,
166
+ )
167
+ ```
168
+
169
+ ```python
170
+ # You can also iterate through pages and access the typed response per page
171
+ pager = client.cpo.cdrs.list(...)
172
+ for page in pager.iter_pages():
173
+ print(page.response) # access the typed response for each page
174
+ for item in page:
175
+ print(item)
176
+ ```
177
+
178
+ ## Advanced
179
+
180
+ ### Access Raw Response Data
181
+
182
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
183
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
184
+
185
+ ```python
186
+ from evcloud import EvcloudClient
187
+
188
+ client = EvcloudClient(...)
189
+ response = client.cpo.charge_points.with_raw_response.create(...)
190
+ print(response.headers) # access the response headers
191
+ print(response.status_code) # access the response status code
192
+ print(response.data) # access the underlying object
193
+ ```
194
+
195
+ ### Retries
196
+
197
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
198
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
199
+ retry limit (default: 2).
200
+
201
+ A request is deemed retryable when any of the following HTTP status codes is returned:
202
+
203
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
204
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
205
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
206
+
207
+ Use the `max_retries` request option to configure this behavior.
208
+
209
+ ```python
210
+ client.cpo.charge_points.create(..., request_options={
211
+ "max_retries": 1
212
+ })
213
+ ```
214
+
215
+ ### Timeouts
216
+
217
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
218
+
219
+ ```python
220
+ from evcloud import EvcloudClient
221
+
222
+ client = EvcloudClient(..., timeout=20.0)
223
+
224
+ # Override timeout for a specific method
225
+ client.cpo.charge_points.create(..., request_options={
226
+ "timeout_in_seconds": 1
227
+ })
228
+ ```
229
+
230
+ ### Custom Client
231
+
232
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
233
+ and transports.
234
+
235
+ ```python
236
+ import httpx
237
+ from evcloud import EvcloudClient
238
+
239
+ client = EvcloudClient(
240
+ ...,
241
+ httpx_client=httpx.Client(
242
+ proxy="http://my.test.proxy.example.com",
243
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
244
+ ),
245
+ )
246
+ ```
247
+
248
+ ## Contributing
249
+
250
+ While we value open-source contributions to this SDK, this library is generated programmatically.
251
+ Additions made directly to this library would have to be moved over to our generation code,
252
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
253
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
254
+ an issue first to discuss with us!
255
+
256
+ On the other hand, contributions to the README are always very welcome!
257
+
@@ -0,0 +1,223 @@
1
+ # EvCloud Python Library
2
+
3
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fev-cloudx%2Fevcloud-python-sdk)
4
+ [![pypi](https://img.shields.io/pypi/v/evcloud)](https://pypi.python.org/pypi/evcloud)
5
+
6
+ The EvCloud Python library provides convenient access to the EvCloud APIs from Python.
7
+
8
+ ## Table of Contents
9
+
10
+ - [Installation](#installation)
11
+ - [Reference](#reference)
12
+ - [Usage](#usage)
13
+ - [Environments](#environments)
14
+ - [Async Client](#async-client)
15
+ - [Exception Handling](#exception-handling)
16
+ - [Pagination](#pagination)
17
+ - [Advanced](#advanced)
18
+ - [Access Raw Response Data](#access-raw-response-data)
19
+ - [Retries](#retries)
20
+ - [Timeouts](#timeouts)
21
+ - [Custom Client](#custom-client)
22
+ - [Contributing](#contributing)
23
+
24
+ ## Installation
25
+
26
+ ```sh
27
+ pip install evcloud
28
+ ```
29
+
30
+ ## Reference
31
+
32
+ A full reference for this library is available [here](https://github.com/ev-cloudx/evcloud-python-sdk/blob/HEAD/./reference.md).
33
+
34
+ ## Usage
35
+
36
+ Instantiate and use the client with the following:
37
+
38
+ ```python
39
+ from evcloud import EvcloudClient
40
+
41
+ client = EvcloudClient(
42
+ token="<token>",
43
+ )
44
+
45
+ client.cpo.charge_points.create(
46
+ charge_point_id="CP-AMS-001",
47
+ ocpp_version="ocpp2.0.1",
48
+ charge_point_vendor="ABB",
49
+ charge_point_model="Terra AC W22",
50
+ location_id=12,
51
+ max_power_kw=22,
52
+ connector_count=2,
53
+ is_roaming=True,
54
+ )
55
+ ```
56
+
57
+ ## Environments
58
+
59
+ This SDK allows you to configure different environments for API requests.
60
+
61
+ ```python
62
+ from evcloud import EvcloudClient
63
+ from evcloud.environment import EvcloudClientEnvironment
64
+
65
+ client = EvcloudClient(
66
+ environment=EvcloudClientEnvironment.PRODUCTION,
67
+ )
68
+ ```
69
+
70
+ ## Async Client
71
+
72
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
73
+
74
+ ```python
75
+ import asyncio
76
+
77
+ from evcloud import AsyncEvcloudClient
78
+
79
+ client = AsyncEvcloudClient(
80
+ token="<token>",
81
+ )
82
+
83
+
84
+ async def main() -> None:
85
+ await client.cpo.charge_points.create(
86
+ charge_point_id="CP-AMS-001",
87
+ ocpp_version="ocpp2.0.1",
88
+ charge_point_vendor="ABB",
89
+ charge_point_model="Terra AC W22",
90
+ location_id=12,
91
+ max_power_kw=22,
92
+ connector_count=2,
93
+ is_roaming=True,
94
+ )
95
+
96
+
97
+ asyncio.run(main())
98
+ ```
99
+
100
+ ## Exception Handling
101
+
102
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
103
+ will be thrown.
104
+
105
+ ```python
106
+ from evcloud.core.api_error import ApiError
107
+
108
+ try:
109
+ client.cpo.charge_points.create(...)
110
+ except ApiError as e:
111
+ print(e.status_code)
112
+ print(e.body)
113
+ ```
114
+
115
+ ## Pagination
116
+
117
+ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object.
118
+
119
+ ```python
120
+ from evcloud import EvcloudClient
121
+ import datetime
122
+
123
+ client = EvcloudClient(
124
+ token="<token>",
125
+ )
126
+
127
+ client.cpo.cdrs.list(
128
+ charge_point_id="CP-AMS-001",
129
+ date_from=datetime.datetime.fromisoformat("2026-09-30T00:00:00+00:00"),
130
+ date_to=datetime.datetime.fromisoformat("2026-10-01T00:00:00+00:00"),
131
+ limit=50,
132
+ offset=0,
133
+ )
134
+ ```
135
+
136
+ ```python
137
+ # You can also iterate through pages and access the typed response per page
138
+ pager = client.cpo.cdrs.list(...)
139
+ for page in pager.iter_pages():
140
+ print(page.response) # access the typed response for each page
141
+ for item in page:
142
+ print(item)
143
+ ```
144
+
145
+ ## Advanced
146
+
147
+ ### Access Raw Response Data
148
+
149
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
150
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
151
+
152
+ ```python
153
+ from evcloud import EvcloudClient
154
+
155
+ client = EvcloudClient(...)
156
+ response = client.cpo.charge_points.with_raw_response.create(...)
157
+ print(response.headers) # access the response headers
158
+ print(response.status_code) # access the response status code
159
+ print(response.data) # access the underlying object
160
+ ```
161
+
162
+ ### Retries
163
+
164
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
165
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
166
+ retry limit (default: 2).
167
+
168
+ A request is deemed retryable when any of the following HTTP status codes is returned:
169
+
170
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
171
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
172
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
173
+
174
+ Use the `max_retries` request option to configure this behavior.
175
+
176
+ ```python
177
+ client.cpo.charge_points.create(..., request_options={
178
+ "max_retries": 1
179
+ })
180
+ ```
181
+
182
+ ### Timeouts
183
+
184
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
185
+
186
+ ```python
187
+ from evcloud import EvcloudClient
188
+
189
+ client = EvcloudClient(..., timeout=20.0)
190
+
191
+ # Override timeout for a specific method
192
+ client.cpo.charge_points.create(..., request_options={
193
+ "timeout_in_seconds": 1
194
+ })
195
+ ```
196
+
197
+ ### Custom Client
198
+
199
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
200
+ and transports.
201
+
202
+ ```python
203
+ import httpx
204
+ from evcloud import EvcloudClient
205
+
206
+ client = EvcloudClient(
207
+ ...,
208
+ httpx_client=httpx.Client(
209
+ proxy="http://my.test.proxy.example.com",
210
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
211
+ ),
212
+ )
213
+ ```
214
+
215
+ ## Contributing
216
+
217
+ While we value open-source contributions to this SDK, this library is generated programmatically.
218
+ Additions made directly to this library would have to be moved over to our generation code,
219
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
220
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
221
+ an issue first to discuss with us!
222
+
223
+ On the other hand, contributions to the README are always very welcome!
@@ -0,0 +1,103 @@
1
+ [project]
2
+ name = "evcloud"
3
+ dynamic = ["version"]
4
+
5
+ [tool.poetry]
6
+ name = "evcloud"
7
+ version = "0.1.0"
8
+ description = ""
9
+ readme = "README.md"
10
+ authors = []
11
+ keywords = [
12
+ "ev",
13
+ "ocpp",
14
+ "ocpi",
15
+ "sdk",
16
+ "api",
17
+ "charging"
18
+ ]
19
+
20
+ classifiers = [
21
+ "Intended Audience :: Developers",
22
+ "Programming Language :: Python",
23
+ "Programming Language :: Python :: 3",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Programming Language :: Python :: 3.14",
29
+ "Programming Language :: Python :: 3.15",
30
+ "Operating System :: OS Independent",
31
+ "Operating System :: POSIX",
32
+ "Operating System :: MacOS",
33
+ "Operating System :: POSIX :: Linux",
34
+ "Operating System :: Microsoft :: Windows",
35
+ "Topic :: Software Development :: Libraries :: Python Modules",
36
+ "Typing :: Typed"
37
+ ]
38
+ packages = [
39
+ { include = "evcloud", from = "src"}
40
+ ]
41
+
42
+ [tool.poetry.urls]
43
+ Homepage = 'https://github.com/ev-cloudx/evcloud-python-sdk'
44
+ Repository = 'https://github.com/ev-cloudx/evcloud-python-sdk'
45
+
46
+ [tool.poetry.dependencies]
47
+ python = "^3.10"
48
+ aiohttp = { version = ">=3.10.0,<4", optional = true}
49
+ httpx = ">=0.21.2"
50
+ httpx-aiohttp = { version = "0.1.8", optional = true}
51
+ pydantic = ">= 1.9.2"
52
+ pydantic-core = ">=2.18.2,<2.44.0"
53
+ typing_extensions = ">= 4.0.0"
54
+
55
+ [tool.poetry.group.dev.dependencies]
56
+ mypy = "==1.13.0"
57
+ pytest = "^8.2.0"
58
+ pytest-asyncio = "^1.0.0"
59
+ pytest-xdist = "^3.6.1"
60
+ python-dateutil = "^2.9.0"
61
+ types-python-dateutil = "^2.9.0.20240316"
62
+ ruff = "==0.11.5"
63
+
64
+ [tool.pytest.ini_options]
65
+ testpaths = [ "tests" ]
66
+ asyncio_mode = "auto"
67
+ markers = [
68
+ "aiohttp: tests that require httpx_aiohttp to be installed",
69
+ ]
70
+
71
+ [tool.mypy]
72
+ plugins = ["pydantic.mypy"]
73
+
74
+ [tool.ruff]
75
+ line-length = 120
76
+
77
+ [tool.ruff.lint]
78
+ select = [
79
+ "E", # pycodestyle errors
80
+ "F", # pyflakes
81
+ "I", # isort
82
+ ]
83
+ ignore = [
84
+ "E402", # Module level import not at top of file
85
+ "E501", # Line too long
86
+ "E711", # Comparison to `None` should be `cond is not None`
87
+ "E712", # Avoid equality comparisons to `True`; use `if ...:` checks
88
+ "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
89
+ "E722", # Do not use bare `except`
90
+ "E731", # Do not assign a `lambda` expression, use a `def`
91
+ "F821", # Undefined name
92
+ "F841" # Local variable ... is assigned to but never used
93
+ ]
94
+
95
+ [tool.ruff.lint.isort]
96
+ section-order = ["future", "standard-library", "third-party", "first-party"]
97
+
98
+ [build-system]
99
+ requires = ["poetry-core"]
100
+ build-backend = "poetry.core.masonry.api"
101
+
102
+ [tool.poetry.extras]
103
+ aiohttp=["aiohttp", "httpx-aiohttp"]