diff --git a/.generation/config.ini b/.generation/config.ini index 2624d95..ad0c57f 100644 --- a/.generation/config.ini +++ b/.generation/config.ini @@ -1,14 +1,14 @@ [input] -backendTag = pro-nightly-2024-11-09 +backendTag = pro-nightly-2024-12-24 [general] githubUrl = https://github.com/geo-engine/openapi-client [python] name = geoengine_openapi_client -version = 0.0.17 +version = 0.0.18 [typescript] name = @geoengine/openapi-client -version = 0.0.17 +version = 0.0.18 diff --git a/.generation/input/openapi.json b/.generation/input/openapi.json index 45fd433..cb8b24c 100644 --- a/.generation/input/openapi.json +++ b/.generation/input/openapi.json @@ -3160,7 +3160,7 @@ "tags": [ "User" ], - "summary": "Retrieves the quota used by computations", + "summary": "Retrieves the quota used by computation with the given computation id", "operationId": "computation_quota_handler", "parameters": [ { @@ -3201,7 +3201,7 @@ "tags": [ "User" ], - "summary": "Retrieves the quota used on data", + "summary": "Retrieves the data usage", "operationId": "data_usage_handler", "parameters": [ { @@ -3252,7 +3252,7 @@ "tags": [ "User" ], - "summary": "Retrieves the quota used by computations", + "summary": "Retrieves the data usage summary", "operationId": "data_usage_summary_handler", "parameters": [ { diff --git a/python/README.md b/python/README.md index 6fb5763..de779d8 100644 --- a/python/README.md +++ b/python/README.md @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.8.0 -- Package version: 0.0.17 +- Package version: 0.0.18 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -165,10 +165,10 @@ Class | Method | HTTP request | Description *UploadsApi* | [**upload_handler**](docs/UploadsApi.md#upload_handler) | **POST** /upload | Uploads files. *UserApi* | [**add_role_handler**](docs/UserApi.md#add_role_handler) | **PUT** /roles | Add a new role. Requires admin privilige. *UserApi* | [**assign_role_handler**](docs/UserApi.md#assign_role_handler) | **POST** /users/{user}/roles/{role} | Assign a role to a user. Requires admin privilige. -*UserApi* | [**computation_quota_handler**](docs/UserApi.md#computation_quota_handler) | **GET** /quota/computations/{computation} | Retrieves the quota used by computations +*UserApi* | [**computation_quota_handler**](docs/UserApi.md#computation_quota_handler) | **GET** /quota/computations/{computation} | Retrieves the quota used by computation with the given computation id *UserApi* | [**computations_quota_handler**](docs/UserApi.md#computations_quota_handler) | **GET** /quota/computations | Retrieves the quota used by computations -*UserApi* | [**data_usage_handler**](docs/UserApi.md#data_usage_handler) | **GET** /quota/dataUsage | Retrieves the quota used on data -*UserApi* | [**data_usage_summary_handler**](docs/UserApi.md#data_usage_summary_handler) | **GET** /quota/dataUsage/summary | Retrieves the quota used by computations +*UserApi* | [**data_usage_handler**](docs/UserApi.md#data_usage_handler) | **GET** /quota/dataUsage | Retrieves the data usage +*UserApi* | [**data_usage_summary_handler**](docs/UserApi.md#data_usage_summary_handler) | **GET** /quota/dataUsage/summary | Retrieves the data usage summary *UserApi* | [**get_role_by_name_handler**](docs/UserApi.md#get_role_by_name_handler) | **GET** /roles/byName/{name} | Get role by name *UserApi* | [**get_role_descriptions**](docs/UserApi.md#get_role_descriptions) | **GET** /user/roles/descriptions | Query roles for the current user. *UserApi* | [**get_user_quota_handler**](docs/UserApi.md#get_user_quota_handler) | **GET** /quotas/{user} | Retrieves the available and used quota of a specific user. diff --git a/python/geoengine_openapi_client/__init__.py b/python/geoengine_openapi_client/__init__.py index ed558b5..b095c06 100644 --- a/python/geoengine_openapi_client/__init__.py +++ b/python/geoengine_openapi_client/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "0.0.17" +__version__ = "0.0.18" # import apis into sdk package from geoengine_openapi_client.api.datasets_api import DatasetsApi diff --git a/python/geoengine_openapi_client/api/user_api.py b/python/geoengine_openapi_client/api/user_api.py index a16d963..0e38d07 100644 --- a/python/geoengine_openapi_client/api/user_api.py +++ b/python/geoengine_openapi_client/api/user_api.py @@ -342,7 +342,7 @@ def assign_role_handler_with_http_info(self, user : Annotated[StrictStr, Field(. @validate_arguments def computation_quota_handler(self, computation : Annotated[StrictStr, Field(..., description="Computation id")], **kwargs) -> List[OperatorQuota]: # noqa: E501 - """Retrieves the quota used by computations # noqa: E501 + """Retrieves the quota used by computation with the given computation id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -371,7 +371,7 @@ def computation_quota_handler(self, computation : Annotated[StrictStr, Field(... @validate_arguments def computation_quota_handler_with_http_info(self, computation : Annotated[StrictStr, Field(..., description="Computation id")], **kwargs) -> ApiResponse: # noqa: E501 - """Retrieves the quota used by computations # noqa: E501 + """Retrieves the quota used by computation with the given computation id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -626,7 +626,7 @@ def computations_quota_handler_with_http_info(self, offset : conint(strict=True, @validate_arguments def data_usage_handler(self, offset : conint(strict=True, ge=0), limit : conint(strict=True, ge=0), **kwargs) -> List[DataUsage]: # noqa: E501 - """Retrieves the quota used on data # noqa: E501 + """Retrieves the data usage # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -657,7 +657,7 @@ def data_usage_handler(self, offset : conint(strict=True, ge=0), limit : conint( @validate_arguments def data_usage_handler_with_http_info(self, offset : conint(strict=True, ge=0), limit : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 - """Retrieves the quota used on data # noqa: E501 + """Retrieves the data usage # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -772,7 +772,7 @@ def data_usage_handler_with_http_info(self, offset : conint(strict=True, ge=0), @validate_arguments def data_usage_summary_handler(self, granularity : UsageSummaryGranularity, offset : conint(strict=True, ge=0), limit : conint(strict=True, ge=0), dataset : Optional[StrictStr] = None, **kwargs) -> List[DataUsageSummary]: # noqa: E501 - """Retrieves the quota used by computations # noqa: E501 + """Retrieves the data usage summary # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -807,7 +807,7 @@ def data_usage_summary_handler(self, granularity : UsageSummaryGranularity, offs @validate_arguments def data_usage_summary_handler_with_http_info(self, granularity : UsageSummaryGranularity, offset : conint(strict=True, ge=0), limit : conint(strict=True, ge=0), dataset : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 - """Retrieves the quota used by computations # noqa: E501 + """Retrieves the data usage summary # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/python/geoengine_openapi_client/api_client.py b/python/geoengine_openapi_client/api_client.py index 3ba4146..b28045c 100644 --- a/python/geoengine_openapi_client/api_client.py +++ b/python/geoengine_openapi_client/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'geoengine/openapi-client/python/0.0.17' + self.user_agent = 'geoengine/openapi-client/python/0.0.18' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/python/geoengine_openapi_client/configuration.py b/python/geoengine_openapi_client/configuration.py index 7c9e80b..2db2116 100644 --- a/python/geoengine_openapi_client/configuration.py +++ b/python/geoengine_openapi_client/configuration.py @@ -378,7 +378,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.8.0\n"\ - "SDK Package Version: 0.0.17".\ + "SDK Package Version: 0.0.18".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/python/pyproject.toml b/python/pyproject.toml index c3fefae..d5a5a0a 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "geoengine_openapi_client" -version = "0.0.17" +version = "0.0.18" description = "Geo Engine API" authors = ["Geo Engine Developers "] license = "Apache-2.0" diff --git a/python/setup.py b/python/setup.py index ed13ea1..ae9bcec 100644 --- a/python/setup.py +++ b/python/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "geoengine-openapi-client" -VERSION = "0.0.17" +VERSION = "0.0.18" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0", diff --git a/python/test/test_user_api.py b/python/test/test_user_api.py index 017f13c..b6463b3 100644 --- a/python/test/test_user_api.py +++ b/python/test/test_user_api.py @@ -44,7 +44,7 @@ def test_assign_role_handler(self) -> None: def test_computation_quota_handler(self) -> None: """Test case for computation_quota_handler - Retrieves the quota used by computations # noqa: E501 + Retrieves the quota used by computation with the given computation id # noqa: E501 """ pass @@ -58,14 +58,14 @@ def test_computations_quota_handler(self) -> None: def test_data_usage_handler(self) -> None: """Test case for data_usage_handler - Retrieves the quota used on data # noqa: E501 + Retrieves the data usage # noqa: E501 """ pass def test_data_usage_summary_handler(self) -> None: """Test case for data_usage_summary_handler - Retrieves the quota used by computations # noqa: E501 + Retrieves the data usage summary # noqa: E501 """ pass diff --git a/typescript/README.md b/typescript/README.md index 87bef6e..c17550a 100644 --- a/typescript/README.md +++ b/typescript/README.md @@ -1,4 +1,4 @@ -## @geoengine/openapi-client@0.0.17 +## @geoengine/openapi-client@0.0.18 This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments: @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co _published:_ ``` -npm install @geoengine/openapi-client@0.0.17 --save +npm install @geoengine/openapi-client@0.0.18 --save ``` _unPublished (not recommended):_ diff --git a/typescript/dist/apis/UserApi.d.ts b/typescript/dist/apis/UserApi.d.ts index 0d742dc..3d1ce1c 100644 --- a/typescript/dist/apis/UserApi.d.ts +++ b/typescript/dist/apis/UserApi.d.ts @@ -73,11 +73,11 @@ export declare class UserApi extends runtime.BaseAPI { */ assignRoleHandler(requestParameters: AssignRoleHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandlerRaw(requestParameters: ComputationQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandler(requestParameters: ComputationQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** @@ -89,19 +89,19 @@ export declare class UserApi extends runtime.BaseAPI { */ computationsQuotaHandler(requestParameters: ComputationsQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandlerRaw(requestParameters: DataUsageHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandler(requestParameters: DataUsageHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandlerRaw(requestParameters: DataUsageSummaryHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandler(requestParameters: DataUsageSummaryHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** diff --git a/typescript/dist/apis/UserApi.js b/typescript/dist/apis/UserApi.js index 0a96a8f..0c9da60 100644 --- a/typescript/dist/apis/UserApi.js +++ b/typescript/dist/apis/UserApi.js @@ -109,7 +109,7 @@ class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandlerRaw(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -135,7 +135,7 @@ class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandler(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -188,7 +188,7 @@ class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandlerRaw(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -223,7 +223,7 @@ class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandler(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -232,7 +232,7 @@ class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandlerRaw(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -276,7 +276,7 @@ class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandler(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { diff --git a/typescript/dist/esm/apis/UserApi.d.ts b/typescript/dist/esm/apis/UserApi.d.ts index 0d742dc..3d1ce1c 100644 --- a/typescript/dist/esm/apis/UserApi.d.ts +++ b/typescript/dist/esm/apis/UserApi.d.ts @@ -73,11 +73,11 @@ export declare class UserApi extends runtime.BaseAPI { */ assignRoleHandler(requestParameters: AssignRoleHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandlerRaw(requestParameters: ComputationQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandler(requestParameters: ComputationQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** @@ -89,19 +89,19 @@ export declare class UserApi extends runtime.BaseAPI { */ computationsQuotaHandler(requestParameters: ComputationsQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandlerRaw(requestParameters: DataUsageHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandler(requestParameters: DataUsageHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandlerRaw(requestParameters: DataUsageSummaryHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandler(requestParameters: DataUsageSummaryHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** diff --git a/typescript/dist/esm/apis/UserApi.js b/typescript/dist/esm/apis/UserApi.js index f999305..b4fb61d 100644 --- a/typescript/dist/esm/apis/UserApi.js +++ b/typescript/dist/esm/apis/UserApi.js @@ -106,7 +106,7 @@ export class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandlerRaw(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -132,7 +132,7 @@ export class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ computationQuotaHandler(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -185,7 +185,7 @@ export class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandlerRaw(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -220,7 +220,7 @@ export class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used on data + * Retrieves the data usage */ dataUsageHandler(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -229,7 +229,7 @@ export class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandlerRaw(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { @@ -273,7 +273,7 @@ export class UserApi extends runtime.BaseAPI { }); } /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ dataUsageSummaryHandler(requestParameters, initOverrides) { return __awaiter(this, void 0, void 0, function* () { diff --git a/typescript/dist/esm/runtime.js b/typescript/dist/esm/runtime.js index d50e434..ff19a17 100644 --- a/typescript/dist/esm/runtime.js +++ b/typescript/dist/esm/runtime.js @@ -69,7 +69,7 @@ export class Configuration { } export const DefaultConfig = new Configuration({ headers: { - 'User-Agent': 'geoengine/openapi-client/typescript/0.0.17' + 'User-Agent': 'geoengine/openapi-client/typescript/0.0.18' } }); /** diff --git a/typescript/dist/runtime.js b/typescript/dist/runtime.js index 9fe9055..750e1c8 100644 --- a/typescript/dist/runtime.js +++ b/typescript/dist/runtime.js @@ -73,7 +73,7 @@ class Configuration { exports.Configuration = Configuration; exports.DefaultConfig = new Configuration({ headers: { - 'User-Agent': 'geoengine/openapi-client/typescript/0.0.17' + 'User-Agent': 'geoengine/openapi-client/typescript/0.0.18' } }); /** diff --git a/typescript/package.json b/typescript/package.json index 0c29bdf..eea200d 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@geoengine/openapi-client", - "version": "0.0.17", + "version": "0.0.18", "description": "OpenAPI client for @geoengine/openapi-client", "author": "OpenAPI-Generator", "repository": { diff --git a/typescript/src/apis/UserApi.ts b/typescript/src/apis/UserApi.ts index 2b7910f..677ceaf 100644 --- a/typescript/src/apis/UserApi.ts +++ b/typescript/src/apis/UserApi.ts @@ -193,7 +193,7 @@ export class UserApi extends runtime.BaseAPI { } /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ async computationQuotaHandlerRaw(requestParameters: ComputationQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { if (requestParameters.computation === null || requestParameters.computation === undefined) { @@ -223,7 +223,7 @@ export class UserApi extends runtime.BaseAPI { } /** - * Retrieves the quota used by computations + * Retrieves the quota used by computation with the given computation id */ async computationQuotaHandler(requestParameters: ComputationQuotaHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const response = await this.computationQuotaHandlerRaw(requestParameters, initOverrides); @@ -281,7 +281,7 @@ export class UserApi extends runtime.BaseAPI { } /** - * Retrieves the quota used on data + * Retrieves the data usage */ async dataUsageHandlerRaw(requestParameters: DataUsageHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { if (requestParameters.offset === null || requestParameters.offset === undefined) { @@ -323,7 +323,7 @@ export class UserApi extends runtime.BaseAPI { } /** - * Retrieves the quota used on data + * Retrieves the data usage */ async dataUsageHandler(requestParameters: DataUsageHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const response = await this.dataUsageHandlerRaw(requestParameters, initOverrides); @@ -331,7 +331,7 @@ export class UserApi extends runtime.BaseAPI { } /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ async dataUsageSummaryHandlerRaw(requestParameters: DataUsageSummaryHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { if (requestParameters.granularity === null || requestParameters.granularity === undefined) { @@ -385,7 +385,7 @@ export class UserApi extends runtime.BaseAPI { } /** - * Retrieves the quota used by computations + * Retrieves the data usage summary */ async dataUsageSummaryHandler(requestParameters: DataUsageSummaryHandlerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const response = await this.dataUsageSummaryHandlerRaw(requestParameters, initOverrides); diff --git a/typescript/src/runtime.ts b/typescript/src/runtime.ts index 0b9a523..4ca7220 100644 --- a/typescript/src/runtime.ts +++ b/typescript/src/runtime.ts @@ -86,7 +86,7 @@ export class Configuration { export const DefaultConfig = new Configuration({ headers: { - 'User-Agent': 'geoengine/openapi-client/typescript/0.0.17' + 'User-Agent': 'geoengine/openapi-client/typescript/0.0.18' } });