python3-core-api-client 1.0.5__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/PKG-INFO +5 -5
  2. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/README.md +4 -4
  3. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/pyproject.toml +1 -1
  4. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/models.py +425 -53
  5. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +1 -1
  6. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +2 -2
  7. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +1 -1
  8. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +1 -1
  9. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/certificates.py +1 -1
  10. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/clusters.py +28 -2
  11. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/cmses.py +10 -7
  12. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/crons.py +4 -1
  13. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +1 -1
  14. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +1 -1
  15. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/customers.py +1 -1
  16. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/daemons.py +26 -1
  17. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +14 -1
  18. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/database_users.py +1 -1
  19. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/databases.py +4 -1
  20. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +1 -1
  21. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +1 -1
  22. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +4 -1
  23. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +5 -2
  24. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +1 -1
  25. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +1 -1
  26. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +1 -1
  27. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +1 -1
  28. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +1 -1
  29. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/login.py +1 -1
  30. python3_core_api_client-1.1.0/src/cyberfusion/CoreApiClient/resources/logs.py +96 -0
  31. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +1 -1
  32. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +1 -1
  33. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +1 -1
  34. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +1 -1
  35. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +1 -1
  36. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +1 -1
  37. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/nodes.py +1 -1
  38. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +3 -2
  39. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +1 -1
  40. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +2 -2
  41. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +1 -1
  42. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +2 -2
  43. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/unix_users.py +1 -1
  44. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +1 -1
  45. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +1 -1
  46. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/PKG-INFO +5 -5
  47. python3_core_api_client-1.0.5/src/cyberfusion/CoreApiClient/resources/logs.py +0 -50
  48. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/setup.cfg +0 -0
  49. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
  50. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
  51. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/connector.py +0 -0
  52. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
  53. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/http.py +0 -0
  54. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
  55. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
  56. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
  57. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
  58. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
  59. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/sites.py +0 -0
  60. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
  61. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/cyberfusion/CoreApiClient/resources/tombstones.py +0 -0
  62. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
  63. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
  64. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/requires.txt +0 -0
  65. {python3_core_api_client-1.0.5 → python3_core_api_client-1.1.0}/src/python3_core_api_client.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-core-api-client
3
- Version: 1.0.5
3
+ Version: 1.1.0
4
4
  Summary: Python client for Core API.
5
5
  Author-email: Cyberfusion <support@cyberfusion.io>
6
6
  Project-URL: Source, https://github.com/CyberfusionIO/python3-core-api-client
@@ -13,7 +13,7 @@ Requires-Dist: pydantic[dotenv,email]==1.10.4
13
13
 
14
14
  Python client for Core API.
15
15
 
16
- This client was built for and tested on the **1.246** version of the API.
16
+ This client was built for and tested on the **1.248** version of the API.
17
17
 
18
18
  ## Support
19
19
 
@@ -250,11 +250,11 @@ To raise `cyberfusion.CoreApiClient.exceptions.CallException` in case of an unex
250
250
 
251
251
  Auto-generate models as follows:
252
252
 
253
- datamodel-codegen --input-file-type openapi --input $file --output src/cyberfusion/CoreApiClient/models.py --target-python-version 3.11
253
+ datamodel-codegen --input-file-type openapi --url http://127.0.0.1:22190/openapi.json --output temp_models.py --target-python-version 3.11
254
254
 
255
- Replace `$file` by the path to the OpenAPI spec (JSON).
255
+ This adds models to `temp_models.py`. Merge it with `models.py`.
256
256
 
257
- Note: don't replace `models.py` in full - it contains customisations.
257
+ To not use a local Core API instance, replace `--url` by `--input`. Pass the path to the OpenAPI spec (JSON).
258
258
 
259
259
  # Test strategy
260
260
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Python client for Core API.
4
4
 
5
- This client was built for and tested on the **1.246** version of the API.
5
+ This client was built for and tested on the **1.248** version of the API.
6
6
 
7
7
  ## Support
8
8
 
@@ -239,11 +239,11 @@ To raise `cyberfusion.CoreApiClient.exceptions.CallException` in case of an unex
239
239
 
240
240
  Auto-generate models as follows:
241
241
 
242
- datamodel-codegen --input-file-type openapi --input $file --output src/cyberfusion/CoreApiClient/models.py --target-python-version 3.11
242
+ datamodel-codegen --input-file-type openapi --url http://127.0.0.1:22190/openapi.json --output temp_models.py --target-python-version 3.11
243
243
 
244
- Replace `$file` by the path to the OpenAPI spec (JSON).
244
+ This adds models to `temp_models.py`. Merge it with `models.py`.
245
245
 
246
- Note: don't replace `models.py` in full - it contains customisations.
246
+ To not use a local Core API instance, replace `--url` by `--input`. Pass the path to the OpenAPI spec (JSON).
247
247
 
248
248
  # Test strategy
249
249
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python3-core-api-client"
7
- version = "1.0.5"
7
+ version = "1.1.0"
8
8
  description = "Python client for Core API."
9
9
  readme = "README.md"
10
10
  authors = [