python3-core-api-client 1.1.1__tar.gz → 1.2__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 (64) hide show
  1. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/PKG-INFO +1 -1
  2. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/pyproject.toml +1 -1
  3. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/models.py +14 -12
  4. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/PKG-INFO +1 -1
  5. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/README.md +0 -0
  6. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/setup.cfg +0 -0
  7. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
  8. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
  9. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/connector.py +0 -0
  10. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
  11. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/http.py +0 -0
  12. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
  13. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
  14. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +0 -0
  15. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +0 -0
  16. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +0 -0
  17. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +0 -0
  18. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/certificates.py +0 -0
  19. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/clusters.py +0 -0
  20. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/cmses.py +0 -0
  21. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/crons.py +0 -0
  22. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +0 -0
  23. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +0 -0
  24. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/customers.py +0 -0
  25. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/daemons.py +0 -0
  26. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +0 -0
  27. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/database_users.py +0 -0
  28. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/databases.py +0 -0
  29. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
  30. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +0 -0
  31. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +0 -0
  32. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +0 -0
  33. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +0 -0
  34. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +0 -0
  35. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +0 -0
  36. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
  37. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +0 -0
  38. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +0 -0
  39. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +0 -0
  40. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/login.py +0 -0
  41. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/logs.py +0 -0
  42. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +0 -0
  43. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +0 -0
  44. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +0 -0
  45. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +0 -0
  46. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
  47. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +0 -0
  48. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +0 -0
  49. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/nodes.py +0 -0
  50. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +0 -0
  51. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +0 -0
  52. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +0 -0
  53. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +0 -0
  54. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/sites.py +0 -0
  55. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +0 -0
  56. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
  57. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/tombstones.py +0 -0
  58. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/unix_users.py +0 -0
  59. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +0 -0
  60. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +0 -0
  61. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
  62. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
  63. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/requires.txt +0 -0
  64. {python3_core_api_client-1.1.1 → python3_core_api_client-1.2}/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.1.1
3
+ Version: 1.2
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python3-core-api-client"
7
- version = "1.1.1"
7
+ version = "1.2"
8
8
  description = "Python client for Core API."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -1581,6 +1581,7 @@ class ObjectModelNameEnum(StrEnum):
1581
1581
  SITE_TO_CUSTOMER = "SiteToCustomer"
1582
1582
  SERVICE_ACCOUNT = "ServiceAccount"
1583
1583
  SERVICE_ACCOUNT_SERVER = "ServiceAccountServer"
1584
+ CUSTOM_CONFIG = "CustomConfig"
1584
1585
 
1585
1586
 
1586
1587
  class PHPExtensionEnum(StrEnum):
@@ -4030,10 +4031,6 @@ class NodeUpdateDeprecatedRequest(CoreApiModel):
4030
4031
  description="When health-checking the primary group (key), check health of additional groups (value). Node must have specified primary group and additional groups. The following primary groups are supported: Apache, nginx, Fast Redirect. The following additional groups are supported: MariaDB, PostgreSQL.\n\nCommon use case: when web server uses local database server, when checking web server health, check database server health.",
4031
4032
  title="Load Balancer Health Checks Groups Pairs",
4032
4033
  )
4033
- groups_properties: NodeGroupsProperties = Field(
4034
- ...,
4035
- description="Group-specific properties. Must be set to null for groups that the node does not have. Must be set to the correct value if the node has groups Redis, MariaDB, RabbitMQ.",
4036
- )
4037
4034
 
4038
4035
 
4039
4036
  class NodeUpdateRequest(CoreApiModel):
@@ -4052,10 +4049,6 @@ class NodeUpdateRequest(CoreApiModel):
4052
4049
  description="When health-checking the primary group (key), check health of additional groups (value). Node must have specified primary group and additional groups. The following primary groups are supported: Apache, nginx, Fast Redirect. The following additional groups are supported: MariaDB, PostgreSQL.\n\nCommon use case: when web server uses local database server, when checking web server health, check database server health.",
4053
4050
  title="Load Balancer Health Checks Groups Pairs",
4054
4051
  )
4055
- groups_properties: Optional[NodeGroupsProperties] = Field(
4056
- None,
4057
- description="Group-specific properties. Must be set to null for groups that the node does not have. Must be set to the correct value if the node has groups Redis, MariaDB, RabbitMQ.",
4058
- )
4059
4052
 
4060
4053
 
4061
4054
  class PassengerAppCreateNodeJSRequest(CoreApiModel):
@@ -4967,10 +4960,6 @@ class NodeCreateRequest(CoreApiModel):
4967
4960
  description="When health-checking the primary group (key), check health of additional groups (value). Node must have specified primary group and additional groups. The following primary groups are supported: Apache, nginx, Fast Redirect. The following additional groups are supported: MariaDB, PostgreSQL.\n\nCommon use case: when web server uses local database server, when checking web server health, check database server health.",
4968
4961
  title="Load Balancer Health Checks Groups Pairs",
4969
4962
  )
4970
- groups_properties: NodeGroupsProperties = Field(
4971
- ...,
4972
- description="Group-specific properties. Must be set to null for groups that the node does not have. Must be set to the correct value if the node has groups Redis, MariaDB, RabbitMQ.",
4973
- )
4974
4963
 
4975
4964
 
4976
4965
  class NodeCronDependency(CoreApiModel):
@@ -5437,6 +5426,10 @@ class TombstoneDataMailHostnameIncludes(BaseModel):
5437
5426
  pass
5438
5427
 
5439
5428
 
5429
+ class TombstoneDataCustomConfigIncludes(BaseModel):
5430
+ pass
5431
+
5432
+
5440
5433
  class TombstoneDataDatabaseUser(BaseModel):
5441
5434
  data_type: Literal["database_user"] = Field(..., title="Data Type")
5442
5435
  name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=63) = Field(
@@ -5633,6 +5626,14 @@ class TombstoneDataVirtualHost(CoreApiModel):
5633
5626
  includes: TombstoneDataVirtualHostIncludes
5634
5627
 
5635
5628
 
5629
+ class TombstoneDataCustomConfig(CoreApiModel):
5630
+ data_type: Literal["custom_config"] = Field(..., title="Data Type")
5631
+ name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=128) = Field(
5632
+ ..., title="Name"
5633
+ )
5634
+ includes: TombstoneDataCustomConfigIncludes
5635
+
5636
+
5636
5637
  class TombstoneIncludes(CoreApiModel):
5637
5638
  cluster: ClusterResource
5638
5639
 
@@ -5661,6 +5662,7 @@ class TombstoneResource(CoreApiModel):
5661
5662
  TombstoneDataSSHKey,
5662
5663
  TombstoneDataMailDomain,
5663
5664
  TombstoneDataMailHostname,
5665
+ TombstoneDataCustomConfig,
5664
5666
  ] = Field(..., discriminator="data_type", title="Data")
5665
5667
  object_id: int = Field(..., title="Object Id")
5666
5668
  object_model_name: ObjectModelNameEnum
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-core-api-client
3
- Version: 1.1.1
3
+ Version: 1.2
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