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.
- package/README.md +375 -0
- package/dist/cjs/BaseClient.d.ts +42 -0
- package/dist/cjs/BaseClient.js +63 -0
- package/dist/cjs/Client.d.ts +75 -0
- package/dist/cjs/Client.js +197 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +6 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +6 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +6 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +6 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +6 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +6 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +6 -0
- package/dist/cjs/api/errors/index.js +22 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/catalog/client/Client.d.ts +76 -0
- package/dist/cjs/api/resources/catalog/client/Client.js +265 -0
- package/dist/cjs/api/resources/catalog/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/catalog/client/index.js +17 -0
- package/dist/cjs/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.d.ts +13 -0
- package/dist/cjs/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.js +3 -0
- package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.js +3 -0
- package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/catalog/client/requests/ListCatalogBrandsRequest.js +3 -0
- package/dist/cjs/api/resources/catalog/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/catalog/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/catalog/exports.d.ts +2 -0
- package/dist/cjs/api/resources/catalog/exports.js +21 -0
- package/dist/cjs/api/resources/catalog/index.d.ts +1 -0
- package/dist/cjs/api/resources/catalog/index.js +17 -0
- package/dist/cjs/api/resources/chargerCommands/client/Client.d.ts +327 -0
- package/dist/cjs/api/resources/chargerCommands/client/Client.js +977 -0
- package/dist/cjs/api/resources/chargerCommands/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerCommands/client/index.js +17 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.d.ts +14 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.d.ts +12 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.d.ts +16 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.d.ts +16 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/IdTagRequest.d.ts +12 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/IdTagRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/PlugConnectorRequest.d.ts +25 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/PlugConnectorRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/PowerUpdateRequest.d.ts +24 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/PowerUpdateRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/ProxyMessageRequest.d.ts +46 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/ProxyMessageRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/StartTransactionRequest.d.ts +16 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/StartTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/StopTransactionRequest.d.ts +17 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/StopTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.d.ts +16 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.d.ts +16 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.js +3 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/index.d.ts +12 -0
- package/dist/cjs/api/resources/chargerCommands/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chargerCommands/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chargerCommands/exports.js +21 -0
- package/dist/cjs/api/resources/chargerCommands/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerCommands/index.js +17 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/Client.d.ts +86 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/Client.js +277 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/index.js +17 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.d.ts +12 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.js +3 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.d.ts +10 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.js +3 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.d.ts +24 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.js +3 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/chargerConfiguration/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chargerConfiguration/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chargerConfiguration/exports.js +21 -0
- package/dist/cjs/api/resources/chargerConfiguration/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerConfiguration/index.js +17 -0
- package/dist/cjs/api/resources/chargerDeployments/client/Client.d.ts +205 -0
- package/dist/cjs/api/resources/chargerDeployments/client/Client.js +648 -0
- package/dist/cjs/api/resources/chargerDeployments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerDeployments/client/index.js +17 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.d.ts +10 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/GetChargerRequest.d.ts +10 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/GetChargerRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/ListChargersRequest.d.ts +12 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/ListChargersRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.d.ts +15 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.d.ts +15 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.d.ts +15 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.d.ts +26 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.js +3 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/chargerDeployments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chargerDeployments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chargerDeployments/exports.js +21 -0
- package/dist/cjs/api/resources/chargerDeployments/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerDeployments/index.js +17 -0
- package/dist/cjs/api/resources/chargerFaults/client/Client.d.ts +55 -0
- package/dist/cjs/api/resources/chargerFaults/client/Client.js +201 -0
- package/dist/cjs/api/resources/chargerFaults/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerFaults/client/index.js +17 -0
- package/dist/cjs/api/resources/chargerFaults/client/requests/ClearFaultRequest.d.ts +14 -0
- package/dist/cjs/api/resources/chargerFaults/client/requests/ClearFaultRequest.js +3 -0
- package/dist/cjs/api/resources/chargerFaults/client/requests/InjectFaultRequest.d.ts +17 -0
- package/dist/cjs/api/resources/chargerFaults/client/requests/InjectFaultRequest.js +3 -0
- package/dist/cjs/api/resources/chargerFaults/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/chargerFaults/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chargerFaults/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chargerFaults/exports.js +21 -0
- package/dist/cjs/api/resources/chargerFaults/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerFaults/index.js +17 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/Client.d.ts +82 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/Client.js +288 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/index.js +17 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.js +3 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.d.ts +14 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.js +3 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.d.ts +21 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.js +3 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/exports.js +21 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerLocalAuthorization/index.js +17 -0
- package/dist/cjs/api/resources/chargerLogs/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/chargerLogs/client/Client.js +130 -0
- package/dist/cjs/api/resources/chargerLogs/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerLogs/client/index.js +17 -0
- package/dist/cjs/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.js +3 -0
- package/dist/cjs/api/resources/chargerLogs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerLogs/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chargerLogs/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chargerLogs/exports.js +21 -0
- package/dist/cjs/api/resources/chargerLogs/index.d.ts +1 -0
- package/dist/cjs/api/resources/chargerLogs/index.js +17 -0
- package/dist/cjs/api/resources/health/client/Client.d.ts +31 -0
- package/dist/cjs/api/resources/health/client/Client.js +115 -0
- package/dist/cjs/api/resources/health/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/health/client/index.js +2 -0
- package/dist/cjs/api/resources/health/exports.d.ts +2 -0
- package/dist/cjs/api/resources/health/exports.js +21 -0
- package/dist/cjs/api/resources/health/index.d.ts +1 -0
- package/dist/cjs/api/resources/health/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +23 -0
- package/dist/cjs/api/resources/index.js +62 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/Client.d.ts +343 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/Client.js +960 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/index.js +17 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.d.ts +20 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.d.ts +20 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.d.ts +26 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.d.ts +26 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.d.ts +19 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/index.d.ts +11 -0
- package/dist/cjs/api/resources/locationChargerCommands/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/locationChargerCommands/exports.d.ts +2 -0
- package/dist/cjs/api/resources/locationChargerCommands/exports.js +21 -0
- package/dist/cjs/api/resources/locationChargerCommands/index.d.ts +1 -0
- package/dist/cjs/api/resources/locationChargerCommands/index.js +17 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/Client.d.ts +78 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/Client.js +236 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/index.js +17 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.d.ts +23 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.d.ts +26 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/locationChargerFaults/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/locationChargerFaults/exports.d.ts +2 -0
- package/dist/cjs/api/resources/locationChargerFaults/exports.js +21 -0
- package/dist/cjs/api/resources/locationChargerFaults/index.d.ts +1 -0
- package/dist/cjs/api/resources/locationChargerFaults/index.js +17 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/Client.d.ts +207 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/Client.js +626 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/index.js +17 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.d.ts +30 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.d.ts +16 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.d.ts +21 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.d.ts +21 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.d.ts +21 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.d.ts +22 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.js +3 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/exports.d.ts +2 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/exports.js +21 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/index.d.ts +1 -0
- package/dist/cjs/api/resources/locationChargerProvisioning/index.js +17 -0
- package/dist/cjs/api/resources/locations/client/Client.d.ts +143 -0
- package/dist/cjs/api/resources/locations/client/Client.js +438 -0
- package/dist/cjs/api/resources/locations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/locations/client/index.js +17 -0
- package/dist/cjs/api/resources/locations/client/requests/CreateLocationRequest.d.ts +46 -0
- package/dist/cjs/api/resources/locations/client/requests/CreateLocationRequest.js +3 -0
- package/dist/cjs/api/resources/locations/client/requests/DeleteLocationRequest.d.ts +10 -0
- package/dist/cjs/api/resources/locations/client/requests/DeleteLocationRequest.js +3 -0
- package/dist/cjs/api/resources/locations/client/requests/GetLocationRequest.d.ts +10 -0
- package/dist/cjs/api/resources/locations/client/requests/GetLocationRequest.js +3 -0
- package/dist/cjs/api/resources/locations/client/requests/ListLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/locations/client/requests/ListLocationsRequest.js +3 -0
- package/dist/cjs/api/resources/locations/client/requests/UpdateLocationRequest.d.ts +30 -0
- package/dist/cjs/api/resources/locations/client/requests/UpdateLocationRequest.js +3 -0
- package/dist/cjs/api/resources/locations/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/locations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/locations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/locations/exports.js +21 -0
- package/dist/cjs/api/resources/locations/index.d.ts +1 -0
- package/dist/cjs/api/resources/locations/index.js +17 -0
- package/dist/cjs/api/types/BrandListResponse.d.ts +10 -0
- package/dist/cjs/api/types/BrandListResponse.js +3 -0
- package/dist/cjs/api/types/BrandResponse.d.ts +10 -0
- package/dist/cjs/api/types/BrandResponse.js +3 -0
- package/dist/cjs/api/types/CacheResetResponse.d.ts +7 -0
- package/dist/cjs/api/types/CacheResetResponse.js +3 -0
- package/dist/cjs/api/types/ChargerLifecycleRequest.d.ts +4 -0
- package/dist/cjs/api/types/ChargerLifecycleRequest.js +3 -0
- package/dist/cjs/api/types/ChargerListResponse.d.ts +10 -0
- package/dist/cjs/api/types/ChargerListResponse.js +3 -0
- package/dist/cjs/api/types/ChargerLogEntry.d.ts +9 -0
- package/dist/cjs/api/types/ChargerLogEntry.js +3 -0
- package/dist/cjs/api/types/ChargerLogListResponse.d.ts +10 -0
- package/dist/cjs/api/types/ChargerLogListResponse.js +3 -0
- package/dist/cjs/api/types/ChargerResponse.d.ts +18 -0
- package/dist/cjs/api/types/ChargerResponse.js +3 -0
- package/dist/cjs/api/types/ConfigurationChangeResponse.d.ts +8 -0
- package/dist/cjs/api/types/ConfigurationChangeResponse.js +3 -0
- package/dist/cjs/api/types/ConfigurationEntry.d.ts +7 -0
- package/dist/cjs/api/types/ConfigurationEntry.js +3 -0
- package/dist/cjs/api/types/ConfigurationResponse.d.ts +7 -0
- package/dist/cjs/api/types/ConfigurationResponse.js +3 -0
- package/dist/cjs/api/types/ConfigurationUpdateRequest.d.ts +4 -0
- package/dist/cjs/api/types/ConfigurationUpdateRequest.js +3 -0
- package/dist/cjs/api/types/ConnectorSelectionRequest.d.ts +9 -0
- package/dist/cjs/api/types/ConnectorSelectionRequest.js +3 -0
- package/dist/cjs/api/types/Coordinates.d.ts +9 -0
- package/dist/cjs/api/types/Coordinates.js +3 -0
- package/dist/cjs/api/types/CreateChargerRequest.d.ts +19 -0
- package/dist/cjs/api/types/CreateChargerRequest.js +3 -0
- package/dist/cjs/api/types/CreateLocationChargersResponse.d.ts +10 -0
- package/dist/cjs/api/types/CreateLocationChargersResponse.js +3 -0
- package/dist/cjs/api/types/DeleteLocationChargersResponse.d.ts +10 -0
- package/dist/cjs/api/types/DeleteLocationChargersResponse.js +3 -0
- package/dist/cjs/api/types/FaultOperationResponse.d.ts +10 -0
- package/dist/cjs/api/types/FaultOperationResponse.js +3 -0
- package/dist/cjs/api/types/HttpErrorResponse.d.ts +7 -0
- package/dist/cjs/api/types/HttpErrorResponse.js +3 -0
- package/dist/cjs/api/types/HttpValidationError.d.ts +4 -0
- package/dist/cjs/api/types/HttpValidationError.js +3 -0
- package/dist/cjs/api/types/LocalAuthListEntry.d.ts +8 -0
- package/dist/cjs/api/types/LocalAuthListEntry.js +3 -0
- package/dist/cjs/api/types/LocalAuthorizationListResponse.d.ts +10 -0
- package/dist/cjs/api/types/LocalAuthorizationListResponse.js +3 -0
- package/dist/cjs/api/types/LocalListMutationResponse.d.ts +10 -0
- package/dist/cjs/api/types/LocalListMutationResponse.js +3 -0
- package/dist/cjs/api/types/LocationCommandFailure.d.ts +7 -0
- package/dist/cjs/api/types/LocationCommandFailure.js +3 -0
- package/dist/cjs/api/types/LocationCommandResponse.d.ts +11 -0
- package/dist/cjs/api/types/LocationCommandResponse.js +3 -0
- package/dist/cjs/api/types/LocationCreateChargerFailure.d.ts +7 -0
- package/dist/cjs/api/types/LocationCreateChargerFailure.js +3 -0
- package/dist/cjs/api/types/LocationDeleteChargerFailure.d.ts +7 -0
- package/dist/cjs/api/types/LocationDeleteChargerFailure.js +3 -0
- package/dist/cjs/api/types/LocationFaultResponse.d.ts +11 -0
- package/dist/cjs/api/types/LocationFaultResponse.js +3 -0
- package/dist/cjs/api/types/LocationFaultResult.d.ts +9 -0
- package/dist/cjs/api/types/LocationFaultResult.js +3 -0
- package/dist/cjs/api/types/LocationLifecycleRequest.d.ts +8 -0
- package/dist/cjs/api/types/LocationLifecycleRequest.js +3 -0
- package/dist/cjs/api/types/LocationListResponse.d.ts +10 -0
- package/dist/cjs/api/types/LocationListResponse.js +3 -0
- package/dist/cjs/api/types/LocationQueuedCommandResult.d.ts +9 -0
- package/dist/cjs/api/types/LocationQueuedCommandResult.js +3 -0
- package/dist/cjs/api/types/LocationResponse.d.ts +22 -0
- package/dist/cjs/api/types/LocationResponse.js +3 -0
- package/dist/cjs/api/types/LocationUpdateChargerFailure.d.ts +7 -0
- package/dist/cjs/api/types/LocationUpdateChargerFailure.js +3 -0
- package/dist/cjs/api/types/ModelListResponse.d.ts +10 -0
- package/dist/cjs/api/types/ModelListResponse.js +3 -0
- package/dist/cjs/api/types/ModelResponse.d.ts +16 -0
- package/dist/cjs/api/types/ModelResponse.js +3 -0
- package/dist/cjs/api/types/ProxyAction.d.ts +21 -0
- package/dist/cjs/api/types/ProxyAction.js +24 -0
- package/dist/cjs/api/types/ProxyOcppVersion.d.ts +5 -0
- package/dist/cjs/api/types/ProxyOcppVersion.js +8 -0
- package/dist/cjs/api/types/QueuedCommandResponse.d.ts +10 -0
- package/dist/cjs/api/types/QueuedCommandResponse.js +3 -0
- package/dist/cjs/api/types/UpdateLocationChargerItem.d.ts +15 -0
- package/dist/cjs/api/types/UpdateLocationChargerItem.js +3 -0
- package/dist/cjs/api/types/UpdateLocationChargersResponse.d.ts +10 -0
- package/dist/cjs/api/types/UpdateLocationChargersResponse.js +3 -0
- package/dist/cjs/api/types/ValidationError.d.ts +13 -0
- package/dist/cjs/api/types/ValidationError.js +3 -0
- package/dist/cjs/api/types/index.d.ts +42 -0
- package/dist/cjs/api/types/index.js +58 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +79 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
- package/dist/cjs/core/auth/AuthProvider.js +2 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +9 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +50 -0
- package/dist/cjs/core/fetcher/Fetcher.js +326 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -0
- package/dist/cjs/core/fetcher/makeRequest.js +61 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
- package/dist/cjs/core/fetcher/signals.d.ts +5 -0
- package/dist/cjs/core/fetcher/signals.js +24 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +6 -0
- package/dist/cjs/core/index.js +45 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +104 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +3 -0
- package/dist/cjs/core/url/index.js +9 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/errors/OcpplabError.d.ts +14 -0
- package/dist/cjs/errors/OcpplabError.js +35 -0
- package/dist/cjs/errors/OcpplabTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/OcpplabTimeoutError.js +18 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.js +46 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +42 -0
- package/dist/esm/BaseClient.mjs +26 -0
- package/dist/esm/Client.d.mts +75 -0
- package/dist/esm/Client.mjs +160 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +6 -0
- package/dist/esm/api/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/errors/ForbiddenError.d.mts +6 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/errors/InternalServerError.d.mts +6 -0
- package/dist/esm/api/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +6 -0
- package/dist/esm/api/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/errors/UnauthorizedError.d.mts +6 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +6 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +6 -0
- package/dist/esm/api/errors/index.mjs +6 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/catalog/client/Client.d.mts +76 -0
- package/dist/esm/api/resources/catalog/client/Client.mjs +228 -0
- package/dist/esm/api/resources/catalog/client/index.d.mts +1 -0
- package/dist/esm/api/resources/catalog/client/index.mjs +1 -0
- package/dist/esm/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.d.mts +13 -0
- package/dist/esm/api/resources/catalog/client/requests/GetCatalogBrandModelRequest.mjs +2 -0
- package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.d.mts +16 -0
- package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandModelsRequest.mjs +2 -0
- package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandsRequest.d.mts +13 -0
- package/dist/esm/api/resources/catalog/client/requests/ListCatalogBrandsRequest.mjs +2 -0
- package/dist/esm/api/resources/catalog/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/catalog/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/catalog/exports.d.mts +2 -0
- package/dist/esm/api/resources/catalog/exports.mjs +3 -0
- package/dist/esm/api/resources/catalog/index.d.mts +1 -0
- package/dist/esm/api/resources/catalog/index.mjs +1 -0
- package/dist/esm/api/resources/chargerCommands/client/Client.d.mts +327 -0
- package/dist/esm/api/resources/chargerCommands/client/Client.mjs +940 -0
- package/dist/esm/api/resources/chargerCommands/client/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerCommands/client/index.mjs +1 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.d.mts +14 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/AutoStartTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.d.mts +12 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/AutoStopTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.d.mts +16 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/EvRequestsEnergyRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.d.mts +16 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/EvStopsEnergyRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/IdTagRequest.d.mts +12 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/IdTagRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/PlugConnectorRequest.d.mts +25 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/PlugConnectorRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/PowerUpdateRequest.d.mts +24 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/PowerUpdateRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/ProxyMessageRequest.d.mts +46 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/ProxyMessageRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/StartTransactionRequest.d.mts +16 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/StartTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/StopTransactionRequest.d.mts +17 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/StopTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.d.mts +16 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/UnlockConnectorRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.d.mts +16 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/UnplugConnectorRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/index.d.mts +12 -0
- package/dist/esm/api/resources/chargerCommands/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chargerCommands/exports.d.mts +2 -0
- package/dist/esm/api/resources/chargerCommands/exports.mjs +3 -0
- package/dist/esm/api/resources/chargerCommands/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerCommands/index.mjs +1 -0
- package/dist/esm/api/resources/chargerConfiguration/client/Client.d.mts +86 -0
- package/dist/esm/api/resources/chargerConfiguration/client/Client.mjs +240 -0
- package/dist/esm/api/resources/chargerConfiguration/client/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerConfiguration/client/index.mjs +1 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.d.mts +12 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/GetConfigurationRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.d.mts +10 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/ResetAuthCacheRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.d.mts +24 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/SetConfigurationRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/chargerConfiguration/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chargerConfiguration/exports.d.mts +2 -0
- package/dist/esm/api/resources/chargerConfiguration/exports.mjs +3 -0
- package/dist/esm/api/resources/chargerConfiguration/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerConfiguration/index.mjs +1 -0
- package/dist/esm/api/resources/chargerDeployments/client/Client.d.mts +205 -0
- package/dist/esm/api/resources/chargerDeployments/client/Client.mjs +611 -0
- package/dist/esm/api/resources/chargerDeployments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerDeployments/client/index.mjs +1 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.d.mts +10 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/DeleteChargerRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/GetChargerRequest.d.mts +10 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/GetChargerRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/ListChargersRequest.d.mts +12 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/ListChargersRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.d.mts +15 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/ResetChargerRuntimeRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.d.mts +15 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/StartChargerRuntimeRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.d.mts +15 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/StopChargerRuntimeRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.d.mts +26 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/UpdateChargerRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/chargerDeployments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chargerDeployments/exports.d.mts +2 -0
- package/dist/esm/api/resources/chargerDeployments/exports.mjs +3 -0
- package/dist/esm/api/resources/chargerDeployments/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerDeployments/index.mjs +1 -0
- package/dist/esm/api/resources/chargerFaults/client/Client.d.mts +55 -0
- package/dist/esm/api/resources/chargerFaults/client/Client.mjs +164 -0
- package/dist/esm/api/resources/chargerFaults/client/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerFaults/client/index.mjs +1 -0
- package/dist/esm/api/resources/chargerFaults/client/requests/ClearFaultRequest.d.mts +14 -0
- package/dist/esm/api/resources/chargerFaults/client/requests/ClearFaultRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerFaults/client/requests/InjectFaultRequest.d.mts +17 -0
- package/dist/esm/api/resources/chargerFaults/client/requests/InjectFaultRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerFaults/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/chargerFaults/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chargerFaults/exports.d.mts +2 -0
- package/dist/esm/api/resources/chargerFaults/exports.mjs +3 -0
- package/dist/esm/api/resources/chargerFaults/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerFaults/index.mjs +1 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/Client.d.mts +82 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/Client.mjs +251 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/index.mjs +1 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.d.mts +10 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/DeleteLocalListRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.d.mts +14 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/GetLocalAuthListRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.d.mts +21 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/LocalAuthListUpdateRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/exports.d.mts +2 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/exports.mjs +3 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerLocalAuthorization/index.mjs +1 -0
- package/dist/esm/api/resources/chargerLogs/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/chargerLogs/client/Client.mjs +93 -0
- package/dist/esm/api/resources/chargerLogs/client/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerLogs/client/index.mjs +1 -0
- package/dist/esm/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.d.mts +20 -0
- package/dist/esm/api/resources/chargerLogs/client/requests/ListChargerLogsRequest.mjs +2 -0
- package/dist/esm/api/resources/chargerLogs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerLogs/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chargerLogs/exports.d.mts +2 -0
- package/dist/esm/api/resources/chargerLogs/exports.mjs +3 -0
- package/dist/esm/api/resources/chargerLogs/index.d.mts +1 -0
- package/dist/esm/api/resources/chargerLogs/index.mjs +1 -0
- package/dist/esm/api/resources/health/client/Client.d.mts +31 -0
- package/dist/esm/api/resources/health/client/Client.mjs +78 -0
- package/dist/esm/api/resources/health/client/index.d.mts +1 -0
- package/dist/esm/api/resources/health/client/index.mjs +1 -0
- package/dist/esm/api/resources/health/exports.d.mts +2 -0
- package/dist/esm/api/resources/health/exports.mjs +3 -0
- package/dist/esm/api/resources/health/index.d.mts +1 -0
- package/dist/esm/api/resources/health/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +23 -0
- package/dist/esm/api/resources/index.mjs +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/Client.d.mts +343 -0
- package/dist/esm/api/resources/locationChargerCommands/client/Client.mjs +923 -0
- package/dist/esm/api/resources/locationChargerCommands/client/index.d.mts +1 -0
- package/dist/esm/api/resources/locationChargerCommands/client/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.d.mts +20 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAuthorizeIdTagRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStartTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.d.mts +20 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationAutoStopTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvRequestsEnergyRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationEvStopsEnergyRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPlugConnectorRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.d.mts +26 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationPowerUpdateRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.d.mts +26 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStartTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.d.mts +19 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationStopTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnlockConnectorRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/LocationUnplugConnectorRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/index.d.mts +11 -0
- package/dist/esm/api/resources/locationChargerCommands/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerCommands/exports.d.mts +2 -0
- package/dist/esm/api/resources/locationChargerCommands/exports.mjs +3 -0
- package/dist/esm/api/resources/locationChargerCommands/index.d.mts +1 -0
- package/dist/esm/api/resources/locationChargerCommands/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerFaults/client/Client.d.mts +78 -0
- package/dist/esm/api/resources/locationChargerFaults/client/Client.mjs +199 -0
- package/dist/esm/api/resources/locationChargerFaults/client/index.d.mts +1 -0
- package/dist/esm/api/resources/locationChargerFaults/client/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.d.mts +23 -0
- package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.d.mts +26 -0
- package/dist/esm/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerFaults/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/locationChargerFaults/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerFaults/exports.d.mts +2 -0
- package/dist/esm/api/resources/locationChargerFaults/exports.mjs +3 -0
- package/dist/esm/api/resources/locationChargerFaults/index.d.mts +1 -0
- package/dist/esm/api/resources/locationChargerFaults/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/Client.d.mts +207 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/Client.mjs +589 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/index.d.mts +1 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.d.mts +30 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/CreateLocationChargersRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.d.mts +13 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/DeleteLocationChargersRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.d.mts +16 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ListLocationChargersRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.d.mts +21 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/ResetLocationChargerRuntimesRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.d.mts +21 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StartLocationChargerRuntimesRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.d.mts +21 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/StopLocationChargerRuntimesRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.d.mts +22 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/UpdateLocationChargersRequest.mjs +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/locationChargerProvisioning/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/locationChargerProvisioning/exports.d.mts +2 -0
- package/dist/esm/api/resources/locationChargerProvisioning/exports.mjs +3 -0
- package/dist/esm/api/resources/locationChargerProvisioning/index.d.mts +1 -0
- package/dist/esm/api/resources/locationChargerProvisioning/index.mjs +1 -0
- package/dist/esm/api/resources/locations/client/Client.d.mts +143 -0
- package/dist/esm/api/resources/locations/client/Client.mjs +401 -0
- package/dist/esm/api/resources/locations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/locations/client/index.mjs +1 -0
- package/dist/esm/api/resources/locations/client/requests/CreateLocationRequest.d.mts +46 -0
- package/dist/esm/api/resources/locations/client/requests/CreateLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/locations/client/requests/DeleteLocationRequest.d.mts +10 -0
- package/dist/esm/api/resources/locations/client/requests/DeleteLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/locations/client/requests/GetLocationRequest.d.mts +10 -0
- package/dist/esm/api/resources/locations/client/requests/GetLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/locations/client/requests/ListLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/locations/client/requests/ListLocationsRequest.mjs +2 -0
- package/dist/esm/api/resources/locations/client/requests/UpdateLocationRequest.d.mts +30 -0
- package/dist/esm/api/resources/locations/client/requests/UpdateLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/locations/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/locations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/locations/exports.d.mts +2 -0
- package/dist/esm/api/resources/locations/exports.mjs +3 -0
- package/dist/esm/api/resources/locations/index.d.mts +1 -0
- package/dist/esm/api/resources/locations/index.mjs +1 -0
- package/dist/esm/api/types/BrandListResponse.d.mts +10 -0
- package/dist/esm/api/types/BrandListResponse.mjs +2 -0
- package/dist/esm/api/types/BrandResponse.d.mts +10 -0
- package/dist/esm/api/types/BrandResponse.mjs +2 -0
- package/dist/esm/api/types/CacheResetResponse.d.mts +7 -0
- package/dist/esm/api/types/CacheResetResponse.mjs +2 -0
- package/dist/esm/api/types/ChargerLifecycleRequest.d.mts +4 -0
- package/dist/esm/api/types/ChargerLifecycleRequest.mjs +2 -0
- package/dist/esm/api/types/ChargerListResponse.d.mts +10 -0
- package/dist/esm/api/types/ChargerListResponse.mjs +2 -0
- package/dist/esm/api/types/ChargerLogEntry.d.mts +9 -0
- package/dist/esm/api/types/ChargerLogEntry.mjs +2 -0
- package/dist/esm/api/types/ChargerLogListResponse.d.mts +10 -0
- package/dist/esm/api/types/ChargerLogListResponse.mjs +2 -0
- package/dist/esm/api/types/ChargerResponse.d.mts +18 -0
- package/dist/esm/api/types/ChargerResponse.mjs +2 -0
- package/dist/esm/api/types/ConfigurationChangeResponse.d.mts +8 -0
- package/dist/esm/api/types/ConfigurationChangeResponse.mjs +2 -0
- package/dist/esm/api/types/ConfigurationEntry.d.mts +7 -0
- package/dist/esm/api/types/ConfigurationEntry.mjs +2 -0
- package/dist/esm/api/types/ConfigurationResponse.d.mts +7 -0
- package/dist/esm/api/types/ConfigurationResponse.mjs +2 -0
- package/dist/esm/api/types/ConfigurationUpdateRequest.d.mts +4 -0
- package/dist/esm/api/types/ConfigurationUpdateRequest.mjs +2 -0
- package/dist/esm/api/types/ConnectorSelectionRequest.d.mts +9 -0
- package/dist/esm/api/types/ConnectorSelectionRequest.mjs +2 -0
- package/dist/esm/api/types/Coordinates.d.mts +9 -0
- package/dist/esm/api/types/Coordinates.mjs +2 -0
- package/dist/esm/api/types/CreateChargerRequest.d.mts +19 -0
- package/dist/esm/api/types/CreateChargerRequest.mjs +2 -0
- package/dist/esm/api/types/CreateLocationChargersResponse.d.mts +10 -0
- package/dist/esm/api/types/CreateLocationChargersResponse.mjs +2 -0
- package/dist/esm/api/types/DeleteLocationChargersResponse.d.mts +10 -0
- package/dist/esm/api/types/DeleteLocationChargersResponse.mjs +2 -0
- package/dist/esm/api/types/FaultOperationResponse.d.mts +10 -0
- package/dist/esm/api/types/FaultOperationResponse.mjs +2 -0
- package/dist/esm/api/types/HttpErrorResponse.d.mts +7 -0
- package/dist/esm/api/types/HttpErrorResponse.mjs +2 -0
- package/dist/esm/api/types/HttpValidationError.d.mts +4 -0
- package/dist/esm/api/types/HttpValidationError.mjs +2 -0
- package/dist/esm/api/types/LocalAuthListEntry.d.mts +8 -0
- package/dist/esm/api/types/LocalAuthListEntry.mjs +2 -0
- package/dist/esm/api/types/LocalAuthorizationListResponse.d.mts +10 -0
- package/dist/esm/api/types/LocalAuthorizationListResponse.mjs +2 -0
- package/dist/esm/api/types/LocalListMutationResponse.d.mts +10 -0
- package/dist/esm/api/types/LocalListMutationResponse.mjs +2 -0
- package/dist/esm/api/types/LocationCommandFailure.d.mts +7 -0
- package/dist/esm/api/types/LocationCommandFailure.mjs +2 -0
- package/dist/esm/api/types/LocationCommandResponse.d.mts +11 -0
- package/dist/esm/api/types/LocationCommandResponse.mjs +2 -0
- package/dist/esm/api/types/LocationCreateChargerFailure.d.mts +7 -0
- package/dist/esm/api/types/LocationCreateChargerFailure.mjs +2 -0
- package/dist/esm/api/types/LocationDeleteChargerFailure.d.mts +7 -0
- package/dist/esm/api/types/LocationDeleteChargerFailure.mjs +2 -0
- package/dist/esm/api/types/LocationFaultResponse.d.mts +11 -0
- package/dist/esm/api/types/LocationFaultResponse.mjs +2 -0
- package/dist/esm/api/types/LocationFaultResult.d.mts +9 -0
- package/dist/esm/api/types/LocationFaultResult.mjs +2 -0
- package/dist/esm/api/types/LocationLifecycleRequest.d.mts +8 -0
- package/dist/esm/api/types/LocationLifecycleRequest.mjs +2 -0
- package/dist/esm/api/types/LocationListResponse.d.mts +10 -0
- package/dist/esm/api/types/LocationListResponse.mjs +2 -0
- package/dist/esm/api/types/LocationQueuedCommandResult.d.mts +9 -0
- package/dist/esm/api/types/LocationQueuedCommandResult.mjs +2 -0
- package/dist/esm/api/types/LocationResponse.d.mts +22 -0
- package/dist/esm/api/types/LocationResponse.mjs +2 -0
- package/dist/esm/api/types/LocationUpdateChargerFailure.d.mts +7 -0
- package/dist/esm/api/types/LocationUpdateChargerFailure.mjs +2 -0
- package/dist/esm/api/types/ModelListResponse.d.mts +10 -0
- package/dist/esm/api/types/ModelListResponse.mjs +2 -0
- package/dist/esm/api/types/ModelResponse.d.mts +16 -0
- package/dist/esm/api/types/ModelResponse.mjs +2 -0
- package/dist/esm/api/types/ProxyAction.d.mts +21 -0
- package/dist/esm/api/types/ProxyAction.mjs +21 -0
- package/dist/esm/api/types/ProxyOcppVersion.d.mts +5 -0
- package/dist/esm/api/types/ProxyOcppVersion.mjs +5 -0
- package/dist/esm/api/types/QueuedCommandResponse.d.mts +10 -0
- package/dist/esm/api/types/QueuedCommandResponse.mjs +2 -0
- package/dist/esm/api/types/UpdateLocationChargerItem.d.mts +15 -0
- package/dist/esm/api/types/UpdateLocationChargerItem.mjs +2 -0
- package/dist/esm/api/types/UpdateLocationChargersResponse.d.mts +10 -0
- package/dist/esm/api/types/UpdateLocationChargersResponse.mjs +2 -0
- package/dist/esm/api/types/ValidationError.d.mts +13 -0
- package/dist/esm/api/types/ValidationError.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +42 -0
- package/dist/esm/api/types/index.mjs +42 -0
- package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
- package/dist/esm/auth/BearerAuthProvider.mjs +42 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
- package/dist/esm/core/auth/AuthProvider.mjs +1 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +30 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +3 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +50 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +322 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
- package/dist/esm/core/fetcher/index.d.mts +13 -0
- package/dist/esm/core/fetcher/index.mjs +7 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +6 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +55 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
- package/dist/esm/core/fetcher/signals.d.mts +5 -0
- package/dist/esm/core/fetcher/signals.mjs +20 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +6 -0
- package/dist/esm/core/index.mjs +6 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +101 -0
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +3 -0
- package/dist/esm/core/url/index.mjs +3 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/errors/OcpplabError.d.mts +14 -0
- package/dist/esm/errors/OcpplabError.mjs +31 -0
- package/dist/esm/errors/OcpplabTimeoutError.d.mts +6 -0
- package/dist/esm/errors/OcpplabTimeoutError.mjs +14 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +5 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +201 -0
- package/reference.md +3970 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
exports.LocationChargerFaultsClient = void 0;
|
|
58
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
59
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
60
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
61
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
62
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
63
|
+
const Ocpplab = __importStar(require("../../../index.js"));
|
|
64
|
+
/**
|
|
65
|
+
* Inject and clear simulated charger faults for all or some chargers in one location.
|
|
66
|
+
*/
|
|
67
|
+
class LocationChargerFaultsClient {
|
|
68
|
+
constructor(options) {
|
|
69
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* 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.
|
|
73
|
+
*
|
|
74
|
+
* @param {Ocpplab.LocationInjectFaultRequest} request
|
|
75
|
+
* @param {LocationChargerFaultsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link Ocpplab.BadRequestError}
|
|
78
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
79
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
80
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
81
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
82
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* await client.locationChargerFaults.injectLocationFault({
|
|
86
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
87
|
+
* fault_type: "OverCurrent",
|
|
88
|
+
* evse_id: 1,
|
|
89
|
+
* connector_id: 1
|
|
90
|
+
* })
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* await client.locationChargerFaults.injectLocationFault({
|
|
94
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
95
|
+
* charger_ids: ["dep-123", "dep-124"],
|
|
96
|
+
* fault_type: "GroundFailure",
|
|
97
|
+
* evse_id: 1,
|
|
98
|
+
* connector_id: 1
|
|
99
|
+
* })
|
|
100
|
+
*/
|
|
101
|
+
injectLocationFault(request, requestOptions) {
|
|
102
|
+
return core.HttpResponsePromise.fromPromise(this.__injectLocationFault(request, requestOptions));
|
|
103
|
+
}
|
|
104
|
+
__injectLocationFault(request, requestOptions) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
107
|
+
const { location_id: locationId } = request, _body = __rest(request, ["location_id"]);
|
|
108
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
109
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
110
|
+
"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,
|
|
111
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
112
|
+
const _response = yield core.fetcher({
|
|
113
|
+
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`),
|
|
114
|
+
method: "POST",
|
|
115
|
+
headers: _headers,
|
|
116
|
+
contentType: "application/json",
|
|
117
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
118
|
+
requestType: "json",
|
|
119
|
+
body: _body,
|
|
120
|
+
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,
|
|
121
|
+
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,
|
|
122
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
123
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
124
|
+
logging: this._options.logging,
|
|
125
|
+
});
|
|
126
|
+
if (_response.ok) {
|
|
127
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
128
|
+
}
|
|
129
|
+
if (_response.error.reason === "status-code") {
|
|
130
|
+
switch (_response.error.statusCode) {
|
|
131
|
+
case 400:
|
|
132
|
+
throw new Ocpplab.BadRequestError(_response.error.body, _response.rawResponse);
|
|
133
|
+
case 401:
|
|
134
|
+
throw new Ocpplab.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
135
|
+
case 403:
|
|
136
|
+
throw new Ocpplab.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
137
|
+
case 404:
|
|
138
|
+
throw new Ocpplab.NotFoundError(_response.error.body, _response.rawResponse);
|
|
139
|
+
case 422:
|
|
140
|
+
throw new Ocpplab.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
141
|
+
case 500:
|
|
142
|
+
throw new Ocpplab.InternalServerError(_response.error.body, _response.rawResponse);
|
|
143
|
+
default:
|
|
144
|
+
throw new errors.OcpplabError({
|
|
145
|
+
statusCode: _response.error.statusCode,
|
|
146
|
+
body: _response.error.body,
|
|
147
|
+
rawResponse: _response.rawResponse,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/locations/{location_id}/chargers/inject-fault");
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* 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.
|
|
156
|
+
*
|
|
157
|
+
* @param {Ocpplab.LocationClearFaultRequest} request
|
|
158
|
+
* @param {LocationChargerFaultsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link Ocpplab.BadRequestError}
|
|
161
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
162
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
163
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
164
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
165
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* await client.locationChargerFaults.clearLocationFault({
|
|
169
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
170
|
+
* evse_id: 1,
|
|
171
|
+
* connector_id: 1
|
|
172
|
+
* })
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* await client.locationChargerFaults.clearLocationFault({
|
|
176
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
177
|
+
* charger_ids: ["dep-123", "dep-124"],
|
|
178
|
+
* evse_id: 1,
|
|
179
|
+
* connector_id: 1
|
|
180
|
+
* })
|
|
181
|
+
*/
|
|
182
|
+
clearLocationFault(request, requestOptions) {
|
|
183
|
+
return core.HttpResponsePromise.fromPromise(this.__clearLocationFault(request, requestOptions));
|
|
184
|
+
}
|
|
185
|
+
__clearLocationFault(request, requestOptions) {
|
|
186
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
188
|
+
const { location_id: locationId } = request, _body = __rest(request, ["location_id"]);
|
|
189
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
190
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
191
|
+
"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,
|
|
192
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
193
|
+
const _response = yield core.fetcher({
|
|
194
|
+
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`),
|
|
195
|
+
method: "POST",
|
|
196
|
+
headers: _headers,
|
|
197
|
+
contentType: "application/json",
|
|
198
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
199
|
+
requestType: "json",
|
|
200
|
+
body: _body,
|
|
201
|
+
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,
|
|
202
|
+
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,
|
|
203
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
204
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
205
|
+
logging: this._options.logging,
|
|
206
|
+
});
|
|
207
|
+
if (_response.ok) {
|
|
208
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
209
|
+
}
|
|
210
|
+
if (_response.error.reason === "status-code") {
|
|
211
|
+
switch (_response.error.statusCode) {
|
|
212
|
+
case 400:
|
|
213
|
+
throw new Ocpplab.BadRequestError(_response.error.body, _response.rawResponse);
|
|
214
|
+
case 401:
|
|
215
|
+
throw new Ocpplab.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
216
|
+
case 403:
|
|
217
|
+
throw new Ocpplab.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
218
|
+
case 404:
|
|
219
|
+
throw new Ocpplab.NotFoundError(_response.error.body, _response.rawResponse);
|
|
220
|
+
case 422:
|
|
221
|
+
throw new Ocpplab.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
222
|
+
case 500:
|
|
223
|
+
throw new Ocpplab.InternalServerError(_response.error.body, _response.rawResponse);
|
|
224
|
+
default:
|
|
225
|
+
throw new errors.OcpplabError({
|
|
226
|
+
statusCode: _response.error.statusCode,
|
|
227
|
+
body: _response.error.body,
|
|
228
|
+
rawResponse: _response.rawResponse,
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/locations/{location_id}/chargers/clear-fault");
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.LocationChargerFaultsClient = LocationChargerFaultsClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationClearFaultRequest.d.ts
ADDED
|
@@ -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 LocationClearFaultRequest {
|
|
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
|
+
}
|
package/dist/cjs/api/resources/locationChargerFaults/client/requests/LocationInjectFaultRequest.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
5
|
+
* fault_type: "OverCurrent",
|
|
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
|
+
* fault_type: "GroundFailure",
|
|
15
|
+
* evse_id: 1,
|
|
16
|
+
* connector_id: 1
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
export interface LocationInjectFaultRequest {
|
|
20
|
+
/** Internal location identifier returned by the location CRUD API. */
|
|
21
|
+
location_id: string;
|
|
22
|
+
charger_ids?: string[] | null;
|
|
23
|
+
fault_type: string;
|
|
24
|
+
evse_id?: number;
|
|
25
|
+
connector_id?: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.LocationChargerFaultsClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "LocationChargerFaultsClient", { enumerable: true, get: function () { return Client_js_1.LocationChargerFaultsClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Ocpplab from "../../../index.js";
|
|
5
|
+
export declare namespace LocationChargerProvisioningClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Create, list, get, update, delete, and start, stop, or reset lifecycle operations for charger deployments under one location, including multi-create and multi-delete operations.
|
|
12
|
+
*/
|
|
13
|
+
export declare class LocationChargerProvisioningClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<LocationChargerProvisioningClient.Options>;
|
|
15
|
+
constructor(options: LocationChargerProvisioningClient.Options);
|
|
16
|
+
/**
|
|
17
|
+
* List charger deployments that belong to the selected location. When `charger_ids` is provided, only those chargers are returned.
|
|
18
|
+
*
|
|
19
|
+
* @param {Ocpplab.ListLocationChargersRequest} request
|
|
20
|
+
* @param {LocationChargerProvisioningClient.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.locationChargerProvisioning.listLocationChargers({
|
|
31
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a"
|
|
32
|
+
* })
|
|
33
|
+
*/
|
|
34
|
+
listLocationChargers(request: Ocpplab.ListLocationChargersRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.ChargerListResponse>;
|
|
35
|
+
private __listLocationChargers;
|
|
36
|
+
/**
|
|
37
|
+
* Update multiple charger deployments while keeping them scoped to the selected location.
|
|
38
|
+
*
|
|
39
|
+
* @param {Ocpplab.UpdateLocationChargersRequest} request
|
|
40
|
+
* @param {LocationChargerProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
|
+
*
|
|
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.locationChargerProvisioning.updateLocationChargers({
|
|
50
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
51
|
+
* chargers: [{
|
|
52
|
+
* charge_point_name: "Bay A02",
|
|
53
|
+
* connector_type: "CCS2",
|
|
54
|
+
* charger_id: "dep-123"
|
|
55
|
+
* }, {
|
|
56
|
+
* charge_point_name: "Bay A03",
|
|
57
|
+
* connector_type: "Type2",
|
|
58
|
+
* charger_id: "dep-124"
|
|
59
|
+
* }]
|
|
60
|
+
* })
|
|
61
|
+
*/
|
|
62
|
+
updateLocationChargers(request: Ocpplab.UpdateLocationChargersRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.UpdateLocationChargersResponse>;
|
|
63
|
+
private __updateLocationChargers;
|
|
64
|
+
/**
|
|
65
|
+
* Request the runtime infrastructure provider to start one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
|
|
66
|
+
*
|
|
67
|
+
* @param {Ocpplab.StartLocationChargerRuntimesRequest} request
|
|
68
|
+
* @param {LocationChargerProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link Ocpplab.BadRequestError}
|
|
71
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
72
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
73
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
74
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
75
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* await client.locationChargerProvisioning.startLocationChargerRuntimes({
|
|
79
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
80
|
+
* body: {}
|
|
81
|
+
* })
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* await client.locationChargerProvisioning.startLocationChargerRuntimes({
|
|
85
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
86
|
+
* body: {
|
|
87
|
+
* charger_ids: ["dep-123", "dep-124"]
|
|
88
|
+
* }
|
|
89
|
+
* })
|
|
90
|
+
*/
|
|
91
|
+
startLocationChargerRuntimes(request: Ocpplab.StartLocationChargerRuntimesRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.LocationCommandResponse>;
|
|
92
|
+
private __startLocationChargerRuntimes;
|
|
93
|
+
/**
|
|
94
|
+
* Request the runtime infrastructure provider to stop one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
|
|
95
|
+
*
|
|
96
|
+
* @param {Ocpplab.StopLocationChargerRuntimesRequest} request
|
|
97
|
+
* @param {LocationChargerProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link Ocpplab.BadRequestError}
|
|
100
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
101
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
102
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
103
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
104
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.locationChargerProvisioning.stopLocationChargerRuntimes({
|
|
108
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
109
|
+
* body: {}
|
|
110
|
+
* })
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* await client.locationChargerProvisioning.stopLocationChargerRuntimes({
|
|
114
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
115
|
+
* body: {
|
|
116
|
+
* charger_ids: ["dep-123", "dep-124"]
|
|
117
|
+
* }
|
|
118
|
+
* })
|
|
119
|
+
*/
|
|
120
|
+
stopLocationChargerRuntimes(request: Ocpplab.StopLocationChargerRuntimesRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.LocationCommandResponse>;
|
|
121
|
+
private __stopLocationChargerRuntimes;
|
|
122
|
+
/**
|
|
123
|
+
* Request the runtime infrastructure provider to restart one or more chargers in the selected location. When `charger_ids` is omitted or null, all chargers in the location are targeted.
|
|
124
|
+
*
|
|
125
|
+
* @param {Ocpplab.ResetLocationChargerRuntimesRequest} request
|
|
126
|
+
* @param {LocationChargerProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link Ocpplab.BadRequestError}
|
|
129
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
130
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
131
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
132
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
133
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* await client.locationChargerProvisioning.resetLocationChargerRuntimes({
|
|
137
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
138
|
+
* body: {}
|
|
139
|
+
* })
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* await client.locationChargerProvisioning.resetLocationChargerRuntimes({
|
|
143
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
144
|
+
* body: {
|
|
145
|
+
* charger_ids: ["dep-123", "dep-124"]
|
|
146
|
+
* }
|
|
147
|
+
* })
|
|
148
|
+
*/
|
|
149
|
+
resetLocationChargerRuntimes(request: Ocpplab.ResetLocationChargerRuntimesRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.LocationCommandResponse>;
|
|
150
|
+
private __resetLocationChargerRuntimes;
|
|
151
|
+
/**
|
|
152
|
+
* Create multiple charger deployments under the selected location.
|
|
153
|
+
*
|
|
154
|
+
* @param {Ocpplab.CreateLocationChargersRequest} request
|
|
155
|
+
* @param {LocationChargerProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
158
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
159
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
160
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
161
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* await client.locationChargerProvisioning.createLocationChargers({
|
|
165
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
166
|
+
* chargers: [{
|
|
167
|
+
* identity: "CP-BULK-001",
|
|
168
|
+
* brand_slug: "wallbox",
|
|
169
|
+
* model_slug: "wallbox-pulsar-plus",
|
|
170
|
+
* connector_type: "Type2",
|
|
171
|
+
* ws_url: "wss://ocpp-toolkit-api.monta.app",
|
|
172
|
+
* ocpp_version: "OCPP1.6",
|
|
173
|
+
* charge_point_name: "Bay B01"
|
|
174
|
+
* }, {
|
|
175
|
+
* identity: "CP-BULK-002",
|
|
176
|
+
* brand_slug: "wallbox",
|
|
177
|
+
* model_slug: "wallbox-pulsar-plus",
|
|
178
|
+
* connector_type: "Type2",
|
|
179
|
+
* ws_url: "wss://ocpp-toolkit-api.monta.app",
|
|
180
|
+
* ocpp_version: "OCPP1.6",
|
|
181
|
+
* charge_point_name: "Bay B02"
|
|
182
|
+
* }]
|
|
183
|
+
* })
|
|
184
|
+
*/
|
|
185
|
+
createLocationChargers(request: Ocpplab.CreateLocationChargersRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.CreateLocationChargersResponse>;
|
|
186
|
+
private __createLocationChargers;
|
|
187
|
+
/**
|
|
188
|
+
* Delete multiple charger deployments under the selected location.
|
|
189
|
+
*
|
|
190
|
+
* @param {Ocpplab.DeleteLocationChargersRequest} request
|
|
191
|
+
* @param {LocationChargerProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link Ocpplab.UnauthorizedError}
|
|
194
|
+
* @throws {@link Ocpplab.ForbiddenError}
|
|
195
|
+
* @throws {@link Ocpplab.NotFoundError}
|
|
196
|
+
* @throws {@link Ocpplab.UnprocessableEntityError}
|
|
197
|
+
* @throws {@link Ocpplab.InternalServerError}
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* await client.locationChargerProvisioning.deleteLocationChargers({
|
|
201
|
+
* location_id: "4090477f-a416-4515-a302-97aa344a0a2a",
|
|
202
|
+
* charger_ids: ["dep-123", "dep-124"]
|
|
203
|
+
* })
|
|
204
|
+
*/
|
|
205
|
+
deleteLocationChargers(request: Ocpplab.DeleteLocationChargersRequest, requestOptions?: LocationChargerProvisioningClient.RequestOptions): core.HttpResponsePromise<Ocpplab.DeleteLocationChargersResponse>;
|
|
206
|
+
private __deleteLocationChargers;
|
|
207
|
+
}
|