From bb3f3a4f6166fcadf2c25641e2bc003044b122c1 Mon Sep 17 00:00:00 2001 From: Patience Igiraneza Date: Tue, 10 Jun 2025 12:47:40 +0200 Subject: [PATCH 1/2] Regenerate SDK with conf file --- .github/workflows/python.yml | 4 +- .gitlab-ci.yml | 2 +- .openapi-generator/FILES | 100 +++++++++--------- .travis.yml | 2 +- README.md | 35 +++--- docs/AliasDisplay.md | 2 +- docs/AvailablePackagesApi.md | 6 +- docs/ChangeEmailQuota.md | 2 +- docs/ChangeQuotaApi.md | 26 ++--- docs/ChangeQuotaCreate200Response.md | 2 +- docs/CreateAliasApi.md | 26 ++--- docs/DeleteAlias.md | 2 +- docs/DeleteAliasApi.md | 26 ++--- docs/DeleteEmail.md | 2 +- docs/DeleteEmailApi.md | 26 ++--- docs/DnsInfoApi.md | 26 ++--- docs/DnsInfoCreate200Response.md | 2 +- docs/DnsInfoCreateRequest.md | 2 +- docs/Domain.md | 2 +- docs/DomainAction.md | 2 +- docs/DomainAliasApi.md | 26 ++--- docs/DomainApi.md | 26 ++--- docs/DomainInfoApi.md | 26 ++--- docs/EmailAlias.md | 2 +- docs/EmailDisplay.md | 2 +- docs/GetTokenApi.md | 24 ++--- docs/ImportApi.md | 26 ++--- docs/ImportCreateRequest.md | 2 +- docs/OpenExchangeCreateAccount.md | 2 +- docs/OrderDisplay.md | 3 +- docs/PasswordReset.md | 2 +- docs/RefreshTokenApi.md | 24 ++--- docs/ResetPasswordApi.md | 26 ++--- docs/ServiceAction.md | 2 +- docs/SubScriptionInfo.md | 2 +- docs/SubscriptionDetails.md | 2 +- docs/SubscriptionInfoApi.md | 26 ++--- docs/SubscriptionInfoCreate200Response.md | 2 +- docs/SubscriptionInfoResponse.md | 2 +- docs/SubscriptionsApi.md | 82 +++++++------- docs/SubscriptionsRead200Response.md | 2 +- docs/TokenObtainPair.md | 2 +- docs/TokenRefresh.md | 2 +- docs/UpgradeApi.md | 26 ++--- pyproject.toml | 14 +-- setup.py | 20 ++-- tox.ini | 2 +- workplace_client/__init__.py | 6 +- .../api/available_packages_api.py | 4 +- workplace_client/api/change_quota_api.py | 4 +- workplace_client/api/create_alias_api.py | 4 +- workplace_client/api/delete_alias_api.py | 4 +- workplace_client/api/delete_email_api.py | 4 +- workplace_client/api/dns_info_api.py | 4 +- workplace_client/api/domain_alias_api.py | 4 +- workplace_client/api/domain_api.py | 4 +- workplace_client/api/domain_info_api.py | 4 +- workplace_client/api/get_token_api.py | 4 +- workplace_client/api/import_api.py | 4 +- workplace_client/api/refresh_token_api.py | 4 +- workplace_client/api/reset_password_api.py | 4 +- workplace_client/api/subscription_info_api.py | 4 +- workplace_client/api/subscriptions_api.py | 4 +- workplace_client/api/upgrade_api.py | 4 +- workplace_client/api_client.py | 6 +- workplace_client/configuration.py | 10 +- workplace_client/exceptions.py | 4 +- workplace_client/models/__init__.py | 4 +- workplace_client/models/alias_display.py | 4 +- workplace_client/models/change_email_quota.py | 4 +- .../models/change_quota_create200_response.py | 4 +- workplace_client/models/delete_alias.py | 4 +- workplace_client/models/delete_email.py | 4 +- .../models/dns_info_create200_response.py | 4 +- .../models/dns_info_create_request.py | 4 +- workplace_client/models/domain.py | 4 +- workplace_client/models/domain_action.py | 4 +- workplace_client/models/email_alias.py | 4 +- workplace_client/models/email_display.py | 4 +- .../models/import_create_request.py | 4 +- .../models/open_exchange_create_account.py | 4 +- workplace_client/models/order_display.py | 4 +- workplace_client/models/password_reset.py | 4 +- workplace_client/models/service_action.py | 4 +- workplace_client/models/sub_scription_info.py | 4 +- .../models/subscription_details.py | 4 +- .../subscription_info_create200_response.py | 4 +- .../models/subscription_info_response.py | 4 +- .../models/subscriptions_read200_response.py | 4 +- workplace_client/models/token_obtain_pair.py | 4 +- workplace_client/models/token_refresh.py | 4 +- workplace_client/rest.py | 4 +- 92 files changed, 433 insertions(+), 431 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 030d737..b8ec92d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -3,7 +3,7 @@ # # ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: workplace_console_client Python package +name: workplace_client Python package on: [push, pull_request] @@ -28,4 +28,4 @@ jobs: pip install -r test-requirements.txt - name: Test with pytest run: | - pytest --cov=workplace_console_client + pytest --cov=workplace_client diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5404fd4..5dc61b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ stages: script: - pip install -r requirements.txt - pip install -r test-requirements.txt - - pytest --cov=workplace_console_client + - pytest --cov=workplace_client pytest-3.9: extends: .pytest diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index b450c9f..0f52658 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,7 +4,7 @@ .travis.yml README.md docs/AliasDisplay.md -docs/AvailableSubscriptionsApi.md +docs/AvailablePackagesApi.md docs/ChangeEmailQuota.md docs/ChangeQuotaApi.md docs/ChangeQuotaCreate200Response.md @@ -49,54 +49,52 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_available_subscriptions_api.py -test/test_subscription_details.py tox.ini -workplace_console_client/__init__.py -workplace_console_client/api/__init__.py -workplace_console_client/api/available_subscriptions_api.py -workplace_console_client/api/change_quota_api.py -workplace_console_client/api/create_alias_api.py -workplace_console_client/api/delete_alias_api.py -workplace_console_client/api/delete_email_api.py -workplace_console_client/api/dns_info_api.py -workplace_console_client/api/domain_alias_api.py -workplace_console_client/api/domain_api.py -workplace_console_client/api/domain_info_api.py -workplace_console_client/api/get_token_api.py -workplace_console_client/api/import_api.py -workplace_console_client/api/refresh_token_api.py -workplace_console_client/api/reset_password_api.py -workplace_console_client/api/subscription_info_api.py -workplace_console_client/api/subscriptions_api.py -workplace_console_client/api/upgrade_api.py -workplace_console_client/api_client.py -workplace_console_client/api_response.py -workplace_console_client/configuration.py -workplace_console_client/exceptions.py -workplace_console_client/models/__init__.py -workplace_console_client/models/alias_display.py -workplace_console_client/models/change_email_quota.py -workplace_console_client/models/change_quota_create200_response.py -workplace_console_client/models/delete_alias.py -workplace_console_client/models/delete_email.py -workplace_console_client/models/dns_info_create200_response.py -workplace_console_client/models/dns_info_create_request.py -workplace_console_client/models/domain.py -workplace_console_client/models/domain_action.py -workplace_console_client/models/email_alias.py -workplace_console_client/models/email_display.py -workplace_console_client/models/import_create_request.py -workplace_console_client/models/open_exchange_create_account.py -workplace_console_client/models/order_display.py -workplace_console_client/models/password_reset.py -workplace_console_client/models/service_action.py -workplace_console_client/models/sub_scription_info.py -workplace_console_client/models/subscription_details.py -workplace_console_client/models/subscription_info_create200_response.py -workplace_console_client/models/subscription_info_response.py -workplace_console_client/models/subscriptions_read200_response.py -workplace_console_client/models/token_obtain_pair.py -workplace_console_client/models/token_refresh.py -workplace_console_client/py.typed -workplace_console_client/rest.py +workplace_client/__init__.py +workplace_client/api/__init__.py +workplace_client/api/available_packages_api.py +workplace_client/api/change_quota_api.py +workplace_client/api/create_alias_api.py +workplace_client/api/delete_alias_api.py +workplace_client/api/delete_email_api.py +workplace_client/api/dns_info_api.py +workplace_client/api/domain_alias_api.py +workplace_client/api/domain_api.py +workplace_client/api/domain_info_api.py +workplace_client/api/get_token_api.py +workplace_client/api/import_api.py +workplace_client/api/refresh_token_api.py +workplace_client/api/reset_password_api.py +workplace_client/api/subscription_info_api.py +workplace_client/api/subscriptions_api.py +workplace_client/api/upgrade_api.py +workplace_client/api_client.py +workplace_client/api_response.py +workplace_client/configuration.py +workplace_client/exceptions.py +workplace_client/models/__init__.py +workplace_client/models/alias_display.py +workplace_client/models/change_email_quota.py +workplace_client/models/change_quota_create200_response.py +workplace_client/models/delete_alias.py +workplace_client/models/delete_email.py +workplace_client/models/dns_info_create200_response.py +workplace_client/models/dns_info_create_request.py +workplace_client/models/domain.py +workplace_client/models/domain_action.py +workplace_client/models/email_alias.py +workplace_client/models/email_display.py +workplace_client/models/import_create_request.py +workplace_client/models/open_exchange_create_account.py +workplace_client/models/order_display.py +workplace_client/models/password_reset.py +workplace_client/models/service_action.py +workplace_client/models/sub_scription_info.py +workplace_client/models/subscription_details.py +workplace_client/models/subscription_info_create200_response.py +workplace_client/models/subscription_info_response.py +workplace_client/models/subscriptions_read200_response.py +workplace_client/models/token_obtain_pair.py +workplace_client/models/token_refresh.py +workplace_client/py.typed +workplace_client/rest.py diff --git a/.travis.yml b/.travis.yml index 98216af..9091d06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,4 +14,4 @@ install: - "pip install -r requirements.txt" - "pip install -r test-requirements.txt" # command to run tests -script: pytest --cov=workplace_console_client +script: pytest --cov=workplace_client diff --git a/README.md b/README.md index dbd8c2e..a0df757 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# workplace-console-client -This is the Truehost's pip package for using the workplace console API from other python applications. +# truehost-workplace-api-client +API for managing email and workplace service subscriptions. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v1 -- Package version: 1.0.0 +- Package version: 1.0.8 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen @@ -15,12 +15,12 @@ Python 3.9+ ## Installation & Usage ### pip install -If the Python package is hosted on a repository, you can install it directly using: +If the python package is hosted on a repository, you can install directly using: ```sh -pip install git+https://github.com/truehostcloud/workplace-python-client.git +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/truehostcloud/workplace-python-client.git`) +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) Then import the package: ```python @@ -55,10 +55,10 @@ import workplace_client from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. configuration = workplace_client.Configuration( - host = "http://127.0.0.1:8001/api" + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -74,27 +74,27 @@ configuration = workplace_client.Configuration( # Enter a context with an instance of the API client -with workplace_client.api_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_client.api_change_quota_api.ChangeQuotaApi(api_client) - data = workplace_client.models.change_email_quota.ChangeEmailQuota() # ChangeEmailQuota | + api_instance = workplace_client.AvailablePackagesApi(api_client) try: - # Change email quota. - api_response = api_instance.change_quota_create(data) - print("The response of ChangeQuotaApi->change_quota_create:\n") + # Get available subscriptions. + api_response = api_instance.available_packages_list() + print("The response of AvailablePackagesApi->available_packages_list:\n") pprint(api_response) except ApiException as e: - print("Exception when calling ChangeQuotaApi->change_quota_create: %s\n" % e) + print("Exception when calling AvailablePackagesApi->available_packages_list: %s\n" % e) ``` ## Documentation for API Endpoints -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*AvailablePackagesApi* | [**available_packages_list**](docs/AvailablePackagesApi.md#available_packages_list) | **GET** /available-packages/ | Get available subscriptions. *ChangeQuotaApi* | [**change_quota_create**](docs/ChangeQuotaApi.md#change_quota_create) | **POST** /change-quota/ | Change email quota. *CreateAliasApi* | [**create_alias_create**](docs/CreateAliasApi.md#create_alias_create) | **POST** /create-alias/ | Create email alias. *DeleteAliasApi* | [**delete_alias_create**](docs/DeleteAliasApi.md#delete_alias_create) | **POST** /delete-alias/ | Delete alias. @@ -134,6 +134,7 @@ Class | Method | HTTP request | Description - [PasswordReset](docs/PasswordReset.md) - [ServiceAction](docs/ServiceAction.md) - [SubScriptionInfo](docs/SubScriptionInfo.md) + - [SubscriptionDetails](docs/SubscriptionDetails.md) - [SubscriptionInfoCreate200Response](docs/SubscriptionInfoCreate200Response.md) - [SubscriptionInfoResponse](docs/SubscriptionInfoResponse.md) - [SubscriptionsRead200Response](docs/SubscriptionsRead200Response.md) @@ -155,3 +156,5 @@ Authentication schemes defined for the API: ## Author support@truehost.cloud + + diff --git a/docs/AliasDisplay.md b/docs/AliasDisplay.md index 56289a5..8a1a2b2 100644 --- a/docs/AliasDisplay.md +++ b/docs/AliasDisplay.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.alias_display import AliasDisplay +from workplace_client.models.alias_display import AliasDisplay # TODO update the JSON string below json = "{}" diff --git a/docs/AvailablePackagesApi.md b/docs/AvailablePackagesApi.md index fec3313..34cd79d 100644 --- a/docs/AvailablePackagesApi.md +++ b/docs/AvailablePackagesApi.md @@ -1,6 +1,6 @@ # workplace_client.AvailablePackagesApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -24,10 +24,10 @@ from workplace_client.models.subscription_details import SubscriptionDetails from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. configuration = workplace_client.Configuration( - host = "http://127.0.0.1:8001/api" + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters diff --git a/docs/ChangeEmailQuota.md b/docs/ChangeEmailQuota.md index 1698d1e..388d697 100644 --- a/docs/ChangeEmailQuota.md +++ b/docs/ChangeEmailQuota.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.change_email_quota import ChangeEmailQuota +from workplace_client.models.change_email_quota import ChangeEmailQuota # TODO update the JSON string below json = "{}" diff --git a/docs/ChangeQuotaApi.md b/docs/ChangeQuotaApi.md index 3fa6559..84b4fb6 100644 --- a/docs/ChangeQuotaApi.md +++ b/docs/ChangeQuotaApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.ChangeQuotaApi +# workplace_client.ChangeQuotaApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Change email quota. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_email_quota import ChangeEmailQuota -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_email_quota import ChangeEmailQuota +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.ChangeQuotaApi(api_client) - data = workplace_console_client.ChangeEmailQuota() # ChangeEmailQuota | + api_instance = workplace_client.ChangeQuotaApi(api_client) + data = workplace_client.ChangeEmailQuota() # ChangeEmailQuota | try: # Change email quota. diff --git a/docs/ChangeQuotaCreate200Response.md b/docs/ChangeQuotaCreate200Response.md index b4e2fd5..720c0a3 100644 --- a/docs/ChangeQuotaCreate200Response.md +++ b/docs/ChangeQuotaCreate200Response.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response # TODO update the JSON string below json = "{}" diff --git a/docs/CreateAliasApi.md b/docs/CreateAliasApi.md index 9c2ccce..d628261 100644 --- a/docs/CreateAliasApi.md +++ b/docs/CreateAliasApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.CreateAliasApi +# workplace_client.CreateAliasApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Create email alias. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.email_alias import EmailAlias -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.email_alias import EmailAlias +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.CreateAliasApi(api_client) - data = workplace_console_client.EmailAlias() # EmailAlias | + api_instance = workplace_client.CreateAliasApi(api_client) + data = workplace_client.EmailAlias() # EmailAlias | try: # Create email alias. diff --git a/docs/DeleteAlias.md b/docs/DeleteAlias.md index 6bf68a2..92dc451 100644 --- a/docs/DeleteAlias.md +++ b/docs/DeleteAlias.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.delete_alias import DeleteAlias +from workplace_client.models.delete_alias import DeleteAlias # TODO update the JSON string below json = "{}" diff --git a/docs/DeleteAliasApi.md b/docs/DeleteAliasApi.md index 622911b..349caa7 100644 --- a/docs/DeleteAliasApi.md +++ b/docs/DeleteAliasApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.DeleteAliasApi +# workplace_client.DeleteAliasApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Delete alias. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.delete_alias import DeleteAlias -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.delete_alias import DeleteAlias +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.DeleteAliasApi(api_client) - data = workplace_console_client.DeleteAlias() # DeleteAlias | + api_instance = workplace_client.DeleteAliasApi(api_client) + data = workplace_client.DeleteAlias() # DeleteAlias | try: # Delete alias. diff --git a/docs/DeleteEmail.md b/docs/DeleteEmail.md index 3149727..b7e5362 100644 --- a/docs/DeleteEmail.md +++ b/docs/DeleteEmail.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.delete_email import DeleteEmail +from workplace_client.models.delete_email import DeleteEmail # TODO update the JSON string below json = "{}" diff --git a/docs/DeleteEmailApi.md b/docs/DeleteEmailApi.md index 9a2b972..a3054e9 100644 --- a/docs/DeleteEmailApi.md +++ b/docs/DeleteEmailApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.DeleteEmailApi +# workplace_client.DeleteEmailApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Delete email. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.delete_email import DeleteEmail -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.delete_email import DeleteEmail +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.DeleteEmailApi(api_client) - data = workplace_console_client.DeleteEmail() # DeleteEmail | + api_instance = workplace_client.DeleteEmailApi(api_client) + data = workplace_client.DeleteEmail() # DeleteEmail | try: # Delete email. diff --git a/docs/DnsInfoApi.md b/docs/DnsInfoApi.md index ad91a27..c7f37fd 100644 --- a/docs/DnsInfoApi.md +++ b/docs/DnsInfoApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.DnsInfoApi +# workplace_client.DnsInfoApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -15,16 +15,16 @@ Method | HTTP request | Description * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.dns_info_create200_response import DnsInfoCreate200Response -from workplace_console_client.models.dns_info_create_request import DnsInfoCreateRequest -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.dns_info_create200_response import DnsInfoCreate200Response +from workplace_client.models.dns_info_create_request import DnsInfoCreateRequest +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -33,16 +33,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.DnsInfoApi(api_client) - data = workplace_console_client.DnsInfoCreateRequest() # DnsInfoCreateRequest | + api_instance = workplace_client.DnsInfoApi(api_client) + data = workplace_client.DnsInfoCreateRequest() # DnsInfoCreateRequest | try: api_response = api_instance.dns_info_create(data) diff --git a/docs/DnsInfoCreate200Response.md b/docs/DnsInfoCreate200Response.md index c4974b7..70e7d6e 100644 --- a/docs/DnsInfoCreate200Response.md +++ b/docs/DnsInfoCreate200Response.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.dns_info_create200_response import DnsInfoCreate200Response +from workplace_client.models.dns_info_create200_response import DnsInfoCreate200Response # TODO update the JSON string below json = "{}" diff --git a/docs/DnsInfoCreateRequest.md b/docs/DnsInfoCreateRequest.md index 02acdd6..3d04d4f 100644 --- a/docs/DnsInfoCreateRequest.md +++ b/docs/DnsInfoCreateRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.dns_info_create_request import DnsInfoCreateRequest +from workplace_client.models.dns_info_create_request import DnsInfoCreateRequest # TODO update the JSON string below json = "{}" diff --git a/docs/Domain.md b/docs/Domain.md index 8a7730f..325f0e3 100644 --- a/docs/Domain.md +++ b/docs/Domain.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.domain import Domain +from workplace_client.models.domain import Domain # TODO update the JSON string below json = "{}" diff --git a/docs/DomainAction.md b/docs/DomainAction.md index adad045..c6bca30 100644 --- a/docs/DomainAction.md +++ b/docs/DomainAction.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.domain_action import DomainAction +from workplace_client.models.domain_action import DomainAction # TODO update the JSON string below json = "{}" diff --git a/docs/DomainAliasApi.md b/docs/DomainAliasApi.md index 8009885..9a49126 100644 --- a/docs/DomainAliasApi.md +++ b/docs/DomainAliasApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.DomainAliasApi +# workplace_client.DomainAliasApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Get domain alias list. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.alias_display import AliasDisplay -from workplace_console_client.models.domain import Domain -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.alias_display import AliasDisplay +from workplace_client.models.domain import Domain +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.DomainAliasApi(api_client) - data = workplace_console_client.Domain() # Domain | + api_instance = workplace_client.DomainAliasApi(api_client) + data = workplace_client.Domain() # Domain | try: # Get domain alias list. diff --git a/docs/DomainApi.md b/docs/DomainApi.md index e2f0298..1145f71 100644 --- a/docs/DomainApi.md +++ b/docs/DomainApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.DomainApi +# workplace_client.DomainApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Update domain subscription status. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.domain_action import DomainAction -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.domain_action import DomainAction +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.DomainApi(api_client) - data = workplace_console_client.DomainAction() # DomainAction | + api_instance = workplace_client.DomainApi(api_client) + data = workplace_client.DomainAction() # DomainAction | try: # Update domain subscription status, delete, suspend, unsuspend, etc... diff --git a/docs/DomainInfoApi.md b/docs/DomainInfoApi.md index 93e681c..2311a97 100644 --- a/docs/DomainInfoApi.md +++ b/docs/DomainInfoApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.DomainInfoApi +# workplace_client.DomainInfoApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Get domain subscription details and emails list. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.sub_scription_info import SubScriptionInfo -from workplace_console_client.models.subscription_info_response import SubscriptionInfoResponse -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.sub_scription_info import SubScriptionInfo +from workplace_client.models.subscription_info_response import SubscriptionInfoResponse +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.DomainInfoApi(api_client) - data = workplace_console_client.SubScriptionInfo() # SubScriptionInfo | + api_instance = workplace_client.DomainInfoApi(api_client) + data = workplace_client.SubScriptionInfo() # SubScriptionInfo | try: # Get domain subscription details. diff --git a/docs/EmailAlias.md b/docs/EmailAlias.md index bccbe22..eaa4bd3 100644 --- a/docs/EmailAlias.md +++ b/docs/EmailAlias.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.email_alias import EmailAlias +from workplace_client.models.email_alias import EmailAlias # TODO update the JSON string below json = "{}" diff --git a/docs/EmailDisplay.md b/docs/EmailDisplay.md index 0a6da6e..e3426a0 100644 --- a/docs/EmailDisplay.md +++ b/docs/EmailDisplay.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.email_display import EmailDisplay +from workplace_client.models.email_display import EmailDisplay # TODO update the JSON string below json = "{}" diff --git a/docs/GetTokenApi.md b/docs/GetTokenApi.md index 5701edf..e87ecf5 100644 --- a/docs/GetTokenApi.md +++ b/docs/GetTokenApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.GetTokenApi +# workplace_client.GetTokenApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -18,15 +18,15 @@ token pair to prove the authentication of those credentials. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.token_obtain_pair import TokenObtainPair -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.token_obtain_pair import TokenObtainPair +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -35,16 +35,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.GetTokenApi(api_client) - data = workplace_console_client.TokenObtainPair() # TokenObtainPair | + api_instance = workplace_client.GetTokenApi(api_client) + data = workplace_client.TokenObtainPair() # TokenObtainPair | try: api_response = api_instance.get_token_create(data) diff --git a/docs/ImportApi.md b/docs/ImportApi.md index 7f168dc..9edaa9c 100644 --- a/docs/ImportApi.md +++ b/docs/ImportApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.ImportApi +# workplace_client.ImportApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Bulk create emails via uploaded file and domain. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.import_create_request import ImportCreateRequest -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.import_create_request import ImportCreateRequest +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.ImportApi(api_client) - data = workplace_console_client.ImportCreateRequest() # ImportCreateRequest | + api_instance = workplace_client.ImportApi(api_client) + data = workplace_client.ImportCreateRequest() # ImportCreateRequest | try: # Bulk create emails. diff --git a/docs/ImportCreateRequest.md b/docs/ImportCreateRequest.md index ff4e539..60b4491 100644 --- a/docs/ImportCreateRequest.md +++ b/docs/ImportCreateRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.import_create_request import ImportCreateRequest +from workplace_client.models.import_create_request import ImportCreateRequest # TODO update the JSON string below json = "{}" diff --git a/docs/OpenExchangeCreateAccount.md b/docs/OpenExchangeCreateAccount.md index 1cfd5fe..294d503 100644 --- a/docs/OpenExchangeCreateAccount.md +++ b/docs/OpenExchangeCreateAccount.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.open_exchange_create_account import OpenExchangeCreateAccount +from workplace_client.models.open_exchange_create_account import OpenExchangeCreateAccount # TODO update the JSON string below json = "{}" diff --git a/docs/OrderDisplay.md b/docs/OrderDisplay.md index 44c60a8..ff4123d 100644 --- a/docs/OrderDisplay.md +++ b/docs/OrderDisplay.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **context_id** | **int** | | [optional] **domain** | **str** | | **enabled** | **bool** | | [optional] +**synched_at** | **datetime** | | [optional] **average_size** | **int** | | [optional] **filestore_id** | **int** | | [optional] **filestore_name** | **str** | | [optional] @@ -32,7 +33,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.order_display import OrderDisplay +from workplace_client.models.order_display import OrderDisplay # TODO update the JSON string below json = "{}" diff --git a/docs/PasswordReset.md b/docs/PasswordReset.md index 0311038..6e282ed 100644 --- a/docs/PasswordReset.md +++ b/docs/PasswordReset.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.password_reset import PasswordReset +from workplace_client.models.password_reset import PasswordReset # TODO update the JSON string below json = "{}" diff --git a/docs/RefreshTokenApi.md b/docs/RefreshTokenApi.md index f1c131c..4ce1610 100644 --- a/docs/RefreshTokenApi.md +++ b/docs/RefreshTokenApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.RefreshTokenApi +# workplace_client.RefreshTokenApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -18,15 +18,15 @@ token if the refresh token is valid. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.token_refresh import TokenRefresh -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.token_refresh import TokenRefresh +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -35,16 +35,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.RefreshTokenApi(api_client) - data = workplace_console_client.TokenRefresh() # TokenRefresh | + api_instance = workplace_client.RefreshTokenApi(api_client) + data = workplace_client.TokenRefresh() # TokenRefresh | try: api_response = api_instance.refresh_token_create(data) diff --git a/docs/ResetPasswordApi.md b/docs/ResetPasswordApi.md index 3a279c1..82f8679 100644 --- a/docs/ResetPasswordApi.md +++ b/docs/ResetPasswordApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.ResetPasswordApi +# workplace_client.ResetPasswordApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Reset subscription email password. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.password_reset import PasswordReset -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.password_reset import PasswordReset +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.ResetPasswordApi(api_client) - data = workplace_console_client.PasswordReset() # PasswordReset | + api_instance = workplace_client.ResetPasswordApi(api_client) + data = workplace_client.PasswordReset() # PasswordReset | try: # Reset subscription email password. diff --git a/docs/ServiceAction.md b/docs/ServiceAction.md index d1c893e..d75ae0d 100644 --- a/docs/ServiceAction.md +++ b/docs/ServiceAction.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.service_action import ServiceAction +from workplace_client.models.service_action import ServiceAction # TODO update the JSON string below json = "{}" diff --git a/docs/SubScriptionInfo.md b/docs/SubScriptionInfo.md index afe07d1..1db23a6 100644 --- a/docs/SubScriptionInfo.md +++ b/docs/SubScriptionInfo.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.sub_scription_info import SubScriptionInfo +from workplace_client.models.sub_scription_info import SubScriptionInfo # TODO update the JSON string below json = "{}" diff --git a/docs/SubscriptionDetails.md b/docs/SubscriptionDetails.md index 34ee3d6..59770c7 100644 --- a/docs/SubscriptionDetails.md +++ b/docs/SubscriptionDetails.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.subscription_details import SubscriptionDetails +from workplace_client.models.subscription_details import SubscriptionDetails # TODO update the JSON string below json = "{}" diff --git a/docs/SubscriptionInfoApi.md b/docs/SubscriptionInfoApi.md index fa09ec9..abd3c1b 100644 --- a/docs/SubscriptionInfoApi.md +++ b/docs/SubscriptionInfoApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.SubscriptionInfoApi +# workplace_client.SubscriptionInfoApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Get subscription usage info. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.sub_scription_info import SubScriptionInfo -from workplace_console_client.models.subscription_info_create200_response import SubscriptionInfoCreate200Response -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.sub_scription_info import SubScriptionInfo +from workplace_client.models.subscription_info_create200_response import SubscriptionInfoCreate200Response +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.SubscriptionInfoApi(api_client) - data = workplace_console_client.SubScriptionInfo() # SubScriptionInfo | + api_instance = workplace_client.SubscriptionInfoApi(api_client) + data = workplace_client.SubScriptionInfo() # SubScriptionInfo | try: # Get subscription usage info. diff --git a/docs/SubscriptionInfoCreate200Response.md b/docs/SubscriptionInfoCreate200Response.md index 97c5488..f523090 100644 --- a/docs/SubscriptionInfoCreate200Response.md +++ b/docs/SubscriptionInfoCreate200Response.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.subscription_info_create200_response import SubscriptionInfoCreate200Response +from workplace_client.models.subscription_info_create200_response import SubscriptionInfoCreate200Response # TODO update the JSON string below json = "{}" diff --git a/docs/SubscriptionInfoResponse.md b/docs/SubscriptionInfoResponse.md index ed4bf6e..f72a1d3 100644 --- a/docs/SubscriptionInfoResponse.md +++ b/docs/SubscriptionInfoResponse.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.subscription_info_response import SubscriptionInfoResponse +from workplace_client.models.subscription_info_response import SubscriptionInfoResponse # TODO update the JSON string below json = "{}" diff --git a/docs/SubscriptionsApi.md b/docs/SubscriptionsApi.md index 83869fc..f464ddb 100644 --- a/docs/SubscriptionsApi.md +++ b/docs/SubscriptionsApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.SubscriptionsApi +# workplace_client.SubscriptionsApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -22,16 +22,16 @@ Create a new email subscription * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.open_exchange_create_account import OpenExchangeCreateAccount -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.open_exchange_create_account import OpenExchangeCreateAccount +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -40,16 +40,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.SubscriptionsApi(api_client) - data = workplace_console_client.OpenExchangeCreateAccount() # OpenExchangeCreateAccount | + api_instance = workplace_client.SubscriptionsApi(api_client) + data = workplace_client.OpenExchangeCreateAccount() # OpenExchangeCreateAccount | try: # Create a new email subscription, it will create a new subscription for the domain if emails list is not empty @@ -98,14 +98,14 @@ Name | Type | Description | Notes * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -114,15 +114,15 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.SubscriptionsApi(api_client) + api_instance = workplace_client.SubscriptionsApi(api_client) try: api_instance.subscriptions_list() @@ -169,15 +169,15 @@ Get subscription details * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.subscriptions_read200_response import SubscriptionsRead200Response -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.subscriptions_read200_response import SubscriptionsRead200Response +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -186,15 +186,15 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.SubscriptionsApi(api_client) + api_instance = workplace_client.SubscriptionsApi(api_client) context_id = 'context_id_example' # str | try: @@ -248,16 +248,16 @@ Update subscription status. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.service_action import ServiceAction -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.service_action import ServiceAction +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -266,17 +266,17 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.SubscriptionsApi(api_client) + api_instance = workplace_client.SubscriptionsApi(api_client) context_id = 'context_id_example' # str | - data = workplace_console_client.ServiceAction() # ServiceAction | + data = workplace_client.ServiceAction() # ServiceAction | try: # Update subscription status, delete, suspend, unsuspend, etc... diff --git a/docs/SubscriptionsRead200Response.md b/docs/SubscriptionsRead200Response.md index 8e3134c..c492706 100644 --- a/docs/SubscriptionsRead200Response.md +++ b/docs/SubscriptionsRead200Response.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.subscriptions_read200_response import SubscriptionsRead200Response +from workplace_client.models.subscriptions_read200_response import SubscriptionsRead200Response # TODO update the JSON string below json = "{}" diff --git a/docs/TokenObtainPair.md b/docs/TokenObtainPair.md index daa1fe9..e8ad4b4 100644 --- a/docs/TokenObtainPair.md +++ b/docs/TokenObtainPair.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.token_obtain_pair import TokenObtainPair +from workplace_client.models.token_obtain_pair import TokenObtainPair # TODO update the JSON string below json = "{}" diff --git a/docs/TokenRefresh.md b/docs/TokenRefresh.md index 137f44e..f859c6f 100644 --- a/docs/TokenRefresh.md +++ b/docs/TokenRefresh.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from workplace_console_client.models.token_refresh import TokenRefresh +from workplace_client.models.token_refresh import TokenRefresh # TODO update the JSON string below json = "{}" diff --git a/docs/UpgradeApi.md b/docs/UpgradeApi.md index e7273ae..32e8cad 100644 --- a/docs/UpgradeApi.md +++ b/docs/UpgradeApi.md @@ -1,6 +1,6 @@ -# workplace_console_client.UpgradeApi +# workplace_client.UpgradeApi -All URIs are relative to *http://127.0.0.1:8001/api* +All URIs are relative to *http://https://your-workplace-console.com//api* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -19,16 +19,16 @@ Upgrade subscription. * Basic Authentication (Basic): ```python -import workplace_console_client -from workplace_console_client.models.change_quota_create200_response import ChangeQuotaCreate200Response -from workplace_console_client.models.sub_scription_info import SubScriptionInfo -from workplace_console_client.rest import ApiException +import workplace_client +from workplace_client.models.change_quota_create200_response import ChangeQuotaCreate200Response +from workplace_client.models.sub_scription_info import SubScriptionInfo +from workplace_client.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to http://127.0.0.1:8001/api +# Defining the host is optional and defaults to http://https://your-workplace-console.com//api # See configuration.py for a list of all supported configuration parameters. -configuration = workplace_console_client.Configuration( - host = "http://127.0.0.1:8001/api" +configuration = workplace_client.Configuration( + host = "http://https://your-workplace-console.com//api" ) # The client must configure the authentication and authorization parameters @@ -37,16 +37,16 @@ configuration = workplace_console_client.Configuration( # satisfies your auth use case. # Configure HTTP basic authorization: Basic -configuration = workplace_console_client.Configuration( +configuration = workplace_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) # Enter a context with an instance of the API client -with workplace_console_client.ApiClient(configuration) as api_client: +with workplace_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = workplace_console_client.UpgradeApi(api_client) - data = workplace_console_client.SubScriptionInfo() # SubScriptionInfo | + api_instance = workplace_client.UpgradeApi(api_client) + data = workplace_client.SubScriptionInfo() # SubScriptionInfo | try: # Upgrade subscription. diff --git a/pyproject.toml b/pyproject.toml index 39ccd7c..517d070 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,13 @@ [tool.poetry] -name = "workplace_console_client" -version = "1.0.0" -description = "Open Xchange Console" +name = "workplace_client" +version = "1.0.8" +description = "Workplace Console API" authors = ["OpenAPI Generator Community "] license = "BSD License" readme = "README.md" repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID" -keywords = ["OpenAPI", "OpenAPI-Generator", "Open Xchange Console"] -include = ["workplace_console_client/py.typed"] +keywords = ["OpenAPI", "OpenAPI-Generator", "Workplace Console API"] +include = ["workplace_client/py.typed"] [tool.poetry.dependencies] python = "^3.9" @@ -35,7 +35,7 @@ extension-pkg-whitelist = "pydantic" [tool.mypy] files = [ - "workplace_console_client", + "workplace_client", #"test", # auto-generated tests "tests", # hand-written tests ] @@ -73,7 +73,7 @@ disallow_any_generics = true [[tool.mypy.overrides]] module = [ - "workplace_console_client.configuration", + "workplace_client.configuration", ] warn_unused_ignores = true strict_equality = true diff --git a/setup.py b/setup.py index e7e7044..56a547b 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Open Xchange Console + Workplace Console API - Test description + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud @@ -21,8 +21,8 @@ # # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -NAME = "workplace-console-client" -VERSION = "2.0.1" +NAME = "truehost-workplace-api-client" +VERSION = "1.0.8" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", @@ -34,18 +34,18 @@ setup( name=NAME, version=VERSION, - description="Open Xchange Console", + description="Workplace Console API", author="OpenAPI Generator community", author_email="support@truehost.cloud", - url="", - keywords=["OpenAPI", "OpenAPI-Generator", "Open Xchange Console"], + url="https://github.com/truehostcloud/workplace-python-client", + keywords=["OpenAPI", "OpenAPI-Generator", "Workplace Console API"], install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, license="BSD License", long_description_content_type='text/markdown', long_description="""\ - Test description + API for managing email and workplace service subscriptions. """, # noqa: E501 - package_data={"workplace_console_client": ["py.typed"]}, -) + package_data={"workplace_client": ["py.typed"]}, +) \ No newline at end of file diff --git a/tox.ini b/tox.ini index 6a4af29..90953cf 100644 --- a/tox.ini +++ b/tox.ini @@ -6,4 +6,4 @@ deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= - pytest --cov=workplace_console_client + pytest --cov=workplace_client diff --git a/workplace_client/__init__.py b/workplace_client/__init__.py index ede715e..6a7d18d 100644 --- a/workplace_client/__init__.py +++ b/workplace_client/__init__.py @@ -3,9 +3,9 @@ # flake8: noqa """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.0.0" +__version__ = "1.0.8" # import apis into sdk package from workplace_client.api.available_packages_api import AvailablePackagesApi diff --git a/workplace_client/api/available_packages_api.py b/workplace_client/api/available_packages_api.py index 21b4501..3b5b66f 100644 --- a/workplace_client/api/available_packages_api.py +++ b/workplace_client/api/available_packages_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/change_quota_api.py b/workplace_client/api/change_quota_api.py index 38152ca..ca34b5e 100644 --- a/workplace_client/api/change_quota_api.py +++ b/workplace_client/api/change_quota_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/create_alias_api.py b/workplace_client/api/create_alias_api.py index 4a827a3..e2ea2d5 100644 --- a/workplace_client/api/create_alias_api.py +++ b/workplace_client/api/create_alias_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/delete_alias_api.py b/workplace_client/api/delete_alias_api.py index 0af821a..70f297a 100644 --- a/workplace_client/api/delete_alias_api.py +++ b/workplace_client/api/delete_alias_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/delete_email_api.py b/workplace_client/api/delete_email_api.py index 3d00a8d..dc0c24f 100644 --- a/workplace_client/api/delete_email_api.py +++ b/workplace_client/api/delete_email_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/dns_info_api.py b/workplace_client/api/dns_info_api.py index cbe567d..d824053 100644 --- a/workplace_client/api/dns_info_api.py +++ b/workplace_client/api/dns_info_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/domain_alias_api.py b/workplace_client/api/domain_alias_api.py index 224d1ee..e7ba4d6 100644 --- a/workplace_client/api/domain_alias_api.py +++ b/workplace_client/api/domain_alias_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/domain_api.py b/workplace_client/api/domain_api.py index bc1b07d..63fd870 100644 --- a/workplace_client/api/domain_api.py +++ b/workplace_client/api/domain_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/domain_info_api.py b/workplace_client/api/domain_info_api.py index 5f2a631..64c92f4 100644 --- a/workplace_client/api/domain_info_api.py +++ b/workplace_client/api/domain_info_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/get_token_api.py b/workplace_client/api/get_token_api.py index 7582346..d354cad 100644 --- a/workplace_client/api/get_token_api.py +++ b/workplace_client/api/get_token_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/import_api.py b/workplace_client/api/import_api.py index 7b5b8fb..bef2428 100644 --- a/workplace_client/api/import_api.py +++ b/workplace_client/api/import_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/refresh_token_api.py b/workplace_client/api/refresh_token_api.py index 01562f0..80677f3 100644 --- a/workplace_client/api/refresh_token_api.py +++ b/workplace_client/api/refresh_token_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/reset_password_api.py b/workplace_client/api/reset_password_api.py index 7fca7b7..a2af1d0 100644 --- a/workplace_client/api/reset_password_api.py +++ b/workplace_client/api/reset_password_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/subscription_info_api.py b/workplace_client/api/subscription_info_api.py index 08cb9c9..0bbbcea 100644 --- a/workplace_client/api/subscription_info_api.py +++ b/workplace_client/api/subscription_info_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/subscriptions_api.py b/workplace_client/api/subscriptions_api.py index c905062..218439e 100644 --- a/workplace_client/api/subscriptions_api.py +++ b/workplace_client/api/subscriptions_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api/upgrade_api.py b/workplace_client/api/upgrade_api.py index b4554b9..6af152b 100644 --- a/workplace_client/api/upgrade_api.py +++ b/workplace_client/api/upgrade_api.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/api_client.py b/workplace_client/api_client.py index 4a5de73..8e09540 100644 --- a/workplace_client/api_client.py +++ b/workplace_client/api_client.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud @@ -91,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.0/python' + self.user_agent = 'OpenAPI-Generator/1.0.8/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/workplace_client/configuration.py b/workplace_client/configuration.py index 8efdf86..27844b6 100644 --- a/workplace_client/configuration.py +++ b/workplace_client/configuration.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud @@ -207,7 +207,7 @@ def __init__( ) -> None: """Constructor """ - self._base_path = "http://127.0.0.1:8001/api" if host is None else host + self._base_path = "http://https://your-workplace-console.com//api" if host is None else host """Default Base url """ self.server_index = 0 if server_index is None and host is None else server_index @@ -527,7 +527,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1\n"\ - "SDK Package Version: 1.0.0".\ + "SDK Package Version: 1.0.8".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: @@ -537,7 +537,7 @@ def get_host_settings(self) -> List[HostSetting]: """ return [ { - 'url': "http://127.0.0.1:8001/api", + 'url': "http://https://your-workplace-console.com//api", 'description': "No description provided", } ] diff --git a/workplace_client/exceptions.py b/workplace_client/exceptions.py index 8153335..7823bd5 100644 --- a/workplace_client/exceptions.py +++ b/workplace_client/exceptions.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/__init__.py b/workplace_client/models/__init__.py index b8d5060..bc783d2 100644 --- a/workplace_client/models/__init__.py +++ b/workplace_client/models/__init__.py @@ -2,9 +2,9 @@ # flake8: noqa """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/alias_display.py b/workplace_client/models/alias_display.py index 401ad66..614f184 100644 --- a/workplace_client/models/alias_display.py +++ b/workplace_client/models/alias_display.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/change_email_quota.py b/workplace_client/models/change_email_quota.py index 767c4ae..3a39dd8 100644 --- a/workplace_client/models/change_email_quota.py +++ b/workplace_client/models/change_email_quota.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/change_quota_create200_response.py b/workplace_client/models/change_quota_create200_response.py index 450a030..a683bf1 100644 --- a/workplace_client/models/change_quota_create200_response.py +++ b/workplace_client/models/change_quota_create200_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/delete_alias.py b/workplace_client/models/delete_alias.py index 632b3ab..c14c1de 100644 --- a/workplace_client/models/delete_alias.py +++ b/workplace_client/models/delete_alias.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/delete_email.py b/workplace_client/models/delete_email.py index 25721b0..47cebf3 100644 --- a/workplace_client/models/delete_email.py +++ b/workplace_client/models/delete_email.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/dns_info_create200_response.py b/workplace_client/models/dns_info_create200_response.py index 54051f5..4531715 100644 --- a/workplace_client/models/dns_info_create200_response.py +++ b/workplace_client/models/dns_info_create200_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/dns_info_create_request.py b/workplace_client/models/dns_info_create_request.py index 184f983..272994b 100644 --- a/workplace_client/models/dns_info_create_request.py +++ b/workplace_client/models/dns_info_create_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/domain.py b/workplace_client/models/domain.py index 4f29ad2..3d11778 100644 --- a/workplace_client/models/domain.py +++ b/workplace_client/models/domain.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/domain_action.py b/workplace_client/models/domain_action.py index d6b18cc..c289f9e 100644 --- a/workplace_client/models/domain_action.py +++ b/workplace_client/models/domain_action.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/email_alias.py b/workplace_client/models/email_alias.py index 3a7b2df..eec41da 100644 --- a/workplace_client/models/email_alias.py +++ b/workplace_client/models/email_alias.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/email_display.py b/workplace_client/models/email_display.py index 56bb284..b698af5 100644 --- a/workplace_client/models/email_display.py +++ b/workplace_client/models/email_display.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/import_create_request.py b/workplace_client/models/import_create_request.py index 95c41a2..c9dd7cb 100644 --- a/workplace_client/models/import_create_request.py +++ b/workplace_client/models/import_create_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/open_exchange_create_account.py b/workplace_client/models/open_exchange_create_account.py index b31dc3f..794f415 100644 --- a/workplace_client/models/open_exchange_create_account.py +++ b/workplace_client/models/open_exchange_create_account.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/order_display.py b/workplace_client/models/order_display.py index 1428927..581402f 100644 --- a/workplace_client/models/order_display.py +++ b/workplace_client/models/order_display.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/password_reset.py b/workplace_client/models/password_reset.py index 5435c00..df569f9 100644 --- a/workplace_client/models/password_reset.py +++ b/workplace_client/models/password_reset.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/service_action.py b/workplace_client/models/service_action.py index 3837c35..dfc6b4b 100644 --- a/workplace_client/models/service_action.py +++ b/workplace_client/models/service_action.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/sub_scription_info.py b/workplace_client/models/sub_scription_info.py index 7d1e96c..edcdff9 100644 --- a/workplace_client/models/sub_scription_info.py +++ b/workplace_client/models/sub_scription_info.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/subscription_details.py b/workplace_client/models/subscription_details.py index 57ad3f8..6417427 100644 --- a/workplace_client/models/subscription_details.py +++ b/workplace_client/models/subscription_details.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/subscription_info_create200_response.py b/workplace_client/models/subscription_info_create200_response.py index 5081d26..e15b541 100644 --- a/workplace_client/models/subscription_info_create200_response.py +++ b/workplace_client/models/subscription_info_create200_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/subscription_info_response.py b/workplace_client/models/subscription_info_response.py index 84533f5..5ab041f 100644 --- a/workplace_client/models/subscription_info_response.py +++ b/workplace_client/models/subscription_info_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/subscriptions_read200_response.py b/workplace_client/models/subscriptions_read200_response.py index 9f3a14f..de9bfc9 100644 --- a/workplace_client/models/subscriptions_read200_response.py +++ b/workplace_client/models/subscriptions_read200_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/token_obtain_pair.py b/workplace_client/models/token_obtain_pair.py index 36d665a..a06abf2 100644 --- a/workplace_client/models/token_obtain_pair.py +++ b/workplace_client/models/token_obtain_pair.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/models/token_refresh.py b/workplace_client/models/token_refresh.py index 8156747..c8f8ff7 100644 --- a/workplace_client/models/token_refresh.py +++ b/workplace_client/models/token_refresh.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud diff --git a/workplace_client/rest.py b/workplace_client/rest.py index caab16f..5a39c7b 100644 --- a/workplace_client/rest.py +++ b/workplace_client/rest.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - Truehost Workpace API + Workplace Console API - Truehost Workpace API + API for managing email and workplace service subscriptions. The version of the OpenAPI document: v1 Contact: support@truehost.cloud From 18e94b3729783d935fecdfb1180ab150e6686928 Mon Sep 17 00:00:00 2001 From: Patience Igiraneza Date: Tue, 10 Jun 2025 12:49:39 +0200 Subject: [PATCH 2/2] Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0df757..55f7b96 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ Python 3.9+ If the python package is hosted on a repository, you can install directly using: ```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git +pip install git+https://github.com/truehostcloud/workplace-python-client.git ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/truehostcloud/workplace-python-client.git`) Then import the package: ```python