python3-core-api-client 4.0__tar.gz → 5.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-4.0 → python3_core_api_client-5.0}/PKG-INFO +3 -3
  2. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/README.md +1 -1
  3. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/pyproject.toml +2 -2
  4. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/models.py +284 -11
  5. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/python3_core_api_client.egg-info/PKG-INFO +3 -3
  6. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/python3_core_api_client.egg-info/requires.txt +1 -1
  7. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/setup.cfg +0 -0
  8. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
  9. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
  10. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/_helpers.py +0 -0
  11. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/connector.py +0 -0
  12. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
  13. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/http.py +0 -0
  14. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
  15. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
  16. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +0 -0
  17. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +0 -0
  18. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +0 -0
  19. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +0 -0
  20. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/certificates.py +0 -0
  21. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/clusters.py +0 -0
  22. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/cmses.py +0 -0
  23. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/crons.py +0 -0
  24. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +0 -0
  25. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +0 -0
  26. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/customers.py +0 -0
  27. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/daemons.py +0 -0
  28. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +0 -0
  29. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/database_users.py +0 -0
  30. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/databases.py +0 -0
  31. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
  32. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +0 -0
  33. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +0 -0
  34. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +0 -0
  35. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +0 -0
  36. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +0 -0
  37. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +0 -0
  38. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
  39. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +0 -0
  40. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +0 -0
  41. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +0 -0
  42. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/login.py +0 -0
  43. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/logs.py +0 -0
  44. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +0 -0
  45. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +0 -0
  46. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +0 -0
  47. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +0 -0
  48. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
  49. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +0 -0
  50. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/n8n_instances.py +0 -0
  51. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +0 -0
  52. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/nodes.py +0 -0
  53. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +0 -0
  54. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +0 -0
  55. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/regions.py +0 -0
  56. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +0 -0
  57. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +0 -0
  58. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +0 -0
  59. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
  60. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/unix_users.py +0 -0
  61. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +0 -0
  62. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +0 -0
  63. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
  64. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
  65. {python3_core_api_client-4.0 → python3_core_api_client-5.0}/src/python3_core_api_client.egg-info/top_level.txt +0 -0
@@ -1,19 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-core-api-client
3
- Version: 4.0
3
+ Version: 5.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
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: certifi==2026.2.25
9
- Requires-Dist: requests==2.32.5
9
+ Requires-Dist: requests==2.33.0
10
10
  Requires-Dist: pydantic[email]==2.12.5
11
11
 
12
12
  # python3-core-api-client
13
13
 
14
14
  Python client for Core API.
15
15
 
16
- This client was built for and tested on the **1.265.0** version of the API.
16
+ This client was built for and tested on the **1.267.0** version of the API.
17
17
 
18
18
  ## Support
19
19
 
@@ -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.265.0** version of the API.
5
+ This client was built for and tested on the **1.267.0** version of the API.
6
6
 
7
7
  ## Support
8
8
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python3-core-api-client"
7
- version = "4.0"
7
+ version = "5.0"
8
8
  description = "Python client for Core API."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -12,7 +12,7 @@ authors = [
12
12
  ]
13
13
  dependencies = [
14
14
  "certifi==2026.2.25",
15
- "requests==2.32.5",
15
+ "requests==2.33.0",
16
16
  "pydantic[email]==2.12.5",
17
17
  ]
18
18
 
@@ -287,7 +287,7 @@ class CronCreateRequest(BaseCoreApiModel):
287
287
  node_id: Optional[int]
288
288
  name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
289
289
  unix_user_id: int
290
- command: constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)
290
+ command: constr(pattern=r"^[!-~](?:[ -~]*[!-~])?$", min_length=1, max_length=65535)
291
291
  email_address: Optional[EmailStr]
292
292
  schedule: str
293
293
  error_count: int = 1
@@ -300,9 +300,9 @@ class CronCreateRequest(BaseCoreApiModel):
300
300
 
301
301
 
302
302
  class CronUpdateRequest(BaseCoreApiModel):
303
- command: Optional[constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)] = (
304
- None
305
- )
303
+ command: Optional[
304
+ constr(pattern=r"^[!-~](?:[ -~]*[!-~])?$", min_length=1, max_length=65535)
305
+ ] = None
306
306
  email_address: Optional[EmailStr] = None
307
307
  schedule: Optional[str] = None
308
308
  error_count: Optional[int] = None
@@ -322,6 +322,9 @@ class CustomConfigServerSoftwareNameEnum(StrEnum):
322
322
  class CustomConfigSnippetTemplateNameEnum(StrEnum):
323
323
  LARAVEL = "Laravel"
324
324
  COMPRESSION = "Compression"
325
+ BLITZ = "Blitz"
326
+ WORDPRESS = "WordPress"
327
+ CRAFT = "Craft"
325
328
 
326
329
 
327
330
  class CustomConfigSnippetUpdateRequest(BaseCoreApiModel):
@@ -364,16 +367,16 @@ class CustomerResource(BaseCoreApiModel):
364
367
  class DaemonCreateRequest(BaseCoreApiModel):
365
368
  name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
366
369
  unix_user_id: int
367
- command: constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)
370
+ command: constr(pattern=r"^[!-~](?:[ -~]*[!-~])?$", min_length=1, max_length=65535)
368
371
  nodes_ids: List[int]
369
372
  memory_limit: Optional[conint(ge=256)] = None
370
373
  cpu_limit: Optional[int] = None
371
374
 
372
375
 
373
376
  class DaemonUpdateRequest(BaseCoreApiModel):
374
- command: Optional[constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)] = (
375
- None
376
- )
377
+ command: Optional[
378
+ constr(pattern=r"^[!-~](?:[ -~]*[!-~])?$", min_length=1, max_length=65535)
379
+ ] = None
377
380
  nodes_ids: Optional[List[int]] = None
378
381
  memory_limit: Optional[conint(ge=256)] = None
379
382
  cpu_limit: Optional[int] = None
@@ -557,6 +560,258 @@ class HttpRetryProperties(BaseCoreApiModel):
557
560
  conditions: List[HttpRetryConditionEnum]
558
561
 
559
562
 
563
+ class Iso3166Alpha2CountryCodeEnum(StrEnum):
564
+ AF = "AF"
565
+ AX = "AX"
566
+ AL = "AL"
567
+ DZ = "DZ"
568
+ AS = "AS"
569
+ AD = "AD"
570
+ AO = "AO"
571
+ AI = "AI"
572
+ AQ = "AQ"
573
+ AG = "AG"
574
+ AR = "AR"
575
+ AM = "AM"
576
+ AW = "AW"
577
+ AU = "AU"
578
+ AT = "AT"
579
+ AZ = "AZ"
580
+ BS = "BS"
581
+ BH = "BH"
582
+ BD = "BD"
583
+ BB = "BB"
584
+ BY = "BY"
585
+ BE = "BE"
586
+ BZ = "BZ"
587
+ BJ = "BJ"
588
+ BM = "BM"
589
+ BT = "BT"
590
+ BO = "BO"
591
+ BQ = "BQ"
592
+ BA = "BA"
593
+ BW = "BW"
594
+ BV = "BV"
595
+ BR = "BR"
596
+ IO = "IO"
597
+ BN = "BN"
598
+ BG = "BG"
599
+ BF = "BF"
600
+ BI = "BI"
601
+ CV = "CV"
602
+ KH = "KH"
603
+ CM = "CM"
604
+ CA = "CA"
605
+ KY = "KY"
606
+ CF = "CF"
607
+ TD = "TD"
608
+ CL = "CL"
609
+ CN = "CN"
610
+ CX = "CX"
611
+ CC = "CC"
612
+ CO = "CO"
613
+ KM = "KM"
614
+ CG = "CG"
615
+ CD = "CD"
616
+ CK = "CK"
617
+ CR = "CR"
618
+ CI = "CI"
619
+ HR = "HR"
620
+ CU = "CU"
621
+ CW = "CW"
622
+ CY = "CY"
623
+ CZ = "CZ"
624
+ DK = "DK"
625
+ DJ = "DJ"
626
+ DM = "DM"
627
+ DO = "DO"
628
+ EC = "EC"
629
+ EG = "EG"
630
+ SV = "SV"
631
+ GQ = "GQ"
632
+ ER = "ER"
633
+ EE = "EE"
634
+ SZ = "SZ"
635
+ ET = "ET"
636
+ FK = "FK"
637
+ FO = "FO"
638
+ FJ = "FJ"
639
+ FI = "FI"
640
+ FR = "FR"
641
+ GF = "GF"
642
+ PF = "PF"
643
+ TF = "TF"
644
+ GA = "GA"
645
+ GM = "GM"
646
+ GE = "GE"
647
+ DE = "DE"
648
+ GH = "GH"
649
+ GI = "GI"
650
+ GR = "GR"
651
+ GL = "GL"
652
+ GD = "GD"
653
+ GP = "GP"
654
+ GU = "GU"
655
+ GT = "GT"
656
+ GG = "GG"
657
+ GN = "GN"
658
+ GW = "GW"
659
+ GY = "GY"
660
+ HT = "HT"
661
+ HM = "HM"
662
+ VA = "VA"
663
+ HN = "HN"
664
+ HK = "HK"
665
+ HU = "HU"
666
+ IS = "IS"
667
+ IN = "IN"
668
+ ID = "ID"
669
+ IR = "IR"
670
+ IQ = "IQ"
671
+ IE = "IE"
672
+ IM = "IM"
673
+ IL = "IL"
674
+ IT = "IT"
675
+ JM = "JM"
676
+ JP = "JP"
677
+ JE = "JE"
678
+ JO = "JO"
679
+ KZ = "KZ"
680
+ KE = "KE"
681
+ KI = "KI"
682
+ KP = "KP"
683
+ KR = "KR"
684
+ KW = "KW"
685
+ KG = "KG"
686
+ LA = "LA"
687
+ LV = "LV"
688
+ LB = "LB"
689
+ LS = "LS"
690
+ LR = "LR"
691
+ LY = "LY"
692
+ LI = "LI"
693
+ LT = "LT"
694
+ LU = "LU"
695
+ MO = "MO"
696
+ MG = "MG"
697
+ MW = "MW"
698
+ MY = "MY"
699
+ MV = "MV"
700
+ ML = "ML"
701
+ MT = "MT"
702
+ MH = "MH"
703
+ MQ = "MQ"
704
+ MR = "MR"
705
+ MU = "MU"
706
+ YT = "YT"
707
+ MX = "MX"
708
+ FM = "FM"
709
+ MD = "MD"
710
+ MC = "MC"
711
+ MN = "MN"
712
+ ME = "ME"
713
+ MS = "MS"
714
+ MA = "MA"
715
+ MZ = "MZ"
716
+ MM = "MM"
717
+ NA = "NA"
718
+ NR = "NR"
719
+ NP = "NP"
720
+ NL = "NL"
721
+ NC = "NC"
722
+ NZ = "NZ"
723
+ NI = "NI"
724
+ NE = "NE"
725
+ NG = "NG"
726
+ NU = "NU"
727
+ NF = "NF"
728
+ MK = "MK"
729
+ MP = "MP"
730
+ NO = "NO"
731
+ OM = "OM"
732
+ PK = "PK"
733
+ PW = "PW"
734
+ PS = "PS"
735
+ PA = "PA"
736
+ PG = "PG"
737
+ PY = "PY"
738
+ PE = "PE"
739
+ PH = "PH"
740
+ PN = "PN"
741
+ PL = "PL"
742
+ PT = "PT"
743
+ PR = "PR"
744
+ QA = "QA"
745
+ RE = "RE"
746
+ RO = "RO"
747
+ RU = "RU"
748
+ RW = "RW"
749
+ BL = "BL"
750
+ SH = "SH"
751
+ KN = "KN"
752
+ LC = "LC"
753
+ MF = "MF"
754
+ PM = "PM"
755
+ VC = "VC"
756
+ WS = "WS"
757
+ SM = "SM"
758
+ ST = "ST"
759
+ SA = "SA"
760
+ SN = "SN"
761
+ RS = "RS"
762
+ SC = "SC"
763
+ SL = "SL"
764
+ SG = "SG"
765
+ SX = "SX"
766
+ SK = "SK"
767
+ SI = "SI"
768
+ SB = "SB"
769
+ SO = "SO"
770
+ ZA = "ZA"
771
+ GS = "GS"
772
+ SS = "SS"
773
+ ES = "ES"
774
+ LK = "LK"
775
+ SD = "SD"
776
+ SR = "SR"
777
+ SJ = "SJ"
778
+ SE = "SE"
779
+ CH = "CH"
780
+ SY = "SY"
781
+ TW = "TW"
782
+ TJ = "TJ"
783
+ TZ = "TZ"
784
+ TH = "TH"
785
+ TL = "TL"
786
+ TG = "TG"
787
+ TK = "TK"
788
+ TO = "TO"
789
+ TT = "TT"
790
+ TN = "TN"
791
+ TR = "TR"
792
+ TM = "TM"
793
+ TC = "TC"
794
+ TV = "TV"
795
+ UG = "UG"
796
+ UA = "UA"
797
+ AE = "AE"
798
+ GB = "GB"
799
+ US = "US"
800
+ UM = "UM"
801
+ UY = "UY"
802
+ UZ = "UZ"
803
+ VU = "VU"
804
+ VE = "VE"
805
+ VN = "VN"
806
+ VG = "VG"
807
+ VI = "VI"
808
+ WF = "WF"
809
+ EH = "EH"
810
+ YE = "YE"
811
+ ZM = "ZM"
812
+ ZW = "ZW"
813
+
814
+
560
815
  class HealthStatusEnum(StrEnum):
561
816
  UP = "up"
562
817
  MAINTENANCE = "maintenance"
@@ -840,6 +1095,8 @@ class ObjectModelNameEnum(StrEnum):
840
1095
  CLUSTERS_LOAD_BALANCING_PROPERTIES = "ClustersLoadBalancingProperties"
841
1096
  CLUSTERS_FIREWALL_PROPERTIES = "ClustersFirewallProperties"
842
1097
  CLUSTERS_OS_PROPERTIES = "ClustersOsProperties"
1098
+ PROJECT = "Project"
1099
+ PROJECT_ENVIRONMENT = "ProjectEnvironment"
843
1100
 
844
1101
 
845
1102
  class PhpExtensionEnum(StrEnum):
@@ -991,7 +1248,9 @@ class SshKeyCreatePublicRequest(BaseCoreApiModel):
991
1248
 
992
1249
 
993
1250
  class SecurityTxtPolicyCreateRequest(BaseCoreApiModel):
1251
+ name: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=32)
994
1252
  cluster_id: int
1253
+ is_default: bool
995
1254
  expires_timestamp: datetime
996
1255
  email_contacts: List[EmailStr]
997
1256
  url_contacts: List[AnyUrl]
@@ -1013,6 +1272,8 @@ class SecurityTxtPolicyCreateRequest(BaseCoreApiModel):
1013
1272
 
1014
1273
 
1015
1274
  class SecurityTxtPolicyUpdateRequest(BaseCoreApiModel):
1275
+ name: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=32)
1276
+ is_default: Optional[bool] = None
1016
1277
  expires_timestamp: Optional[datetime] = None
1017
1278
  email_contacts: Optional[List[EmailStr]] = None
1018
1279
  url_contacts: Optional[List[AnyUrl]] = None
@@ -1046,6 +1307,7 @@ class RegionIncludes(BaseCoreApiModel):
1046
1307
  class RegionResource(BaseCoreApiModel):
1047
1308
  id: int
1048
1309
  name: constr(pattern=r"^[A-Z0-9-]+$", min_length=1, max_length=32)
1310
+ iso_3166_alpha_2_country_code: Iso3166Alpha2CountryCodeEnum
1049
1311
  includes: RegionIncludes
1050
1312
 
1051
1313
 
@@ -1211,6 +1473,7 @@ class VirtualHostServerSoftwareNameEnum(StrEnum):
1211
1473
 
1212
1474
 
1213
1475
  class VirtualHostUpdateRequest(BaseCoreApiModel):
1476
+ domain: Optional[str] = None
1214
1477
  server_aliases: Optional[List[str]] = None
1215
1478
  document_root: Optional[str] = None
1216
1479
  fpm_pool_id: Optional[int] = None
@@ -1390,6 +1653,7 @@ class DatabaseResource(BaseCoreApiModel):
1390
1653
  optimizing_enabled: bool
1391
1654
  backups_enabled: bool
1392
1655
  deployment_status: DeploymentStatusEnum
1656
+ project_environment_id: int | None
1393
1657
  includes: DatabaseIncludes
1394
1658
 
1395
1659
 
@@ -1632,6 +1896,7 @@ class RedisInstanceResource(BaseCoreApiModel):
1632
1896
  max_databases: int
1633
1897
  eviction_policy: RedisEvictionPolicyEnum
1634
1898
  deployment_status: DeploymentStatusEnum
1899
+ project_environment_id: int | None
1635
1900
  includes: RedisInstanceIncludes
1636
1901
 
1637
1902
 
@@ -1660,6 +1925,8 @@ class SecurityTxtPolicyResource(BaseCoreApiModel):
1660
1925
  created_at: datetime
1661
1926
  updated_at: datetime
1662
1927
  cluster_id: int
1928
+ name: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=32)
1929
+ is_default: bool
1663
1930
  expires_timestamp: datetime
1664
1931
  email_contacts: List[EmailStr]
1665
1932
  url_contacts: List[AnyUrl]
@@ -1685,6 +1952,7 @@ class TaskCollectionResource(BaseCoreApiModel):
1685
1952
  uuid: UUID4
1686
1953
  description: constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)
1687
1954
  collection_type: TaskCollectionTypeEnum
1955
+ request_id: UUID4 | None
1688
1956
  cluster_id: Optional[int]
1689
1957
  reference: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=255)
1690
1958
  includes: TaskCollectionIncludes
@@ -1838,7 +2106,7 @@ class CronResource(BaseCoreApiModel):
1838
2106
  node_id: int
1839
2107
  name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
1840
2108
  unix_user_id: int
1841
- command: constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)
2109
+ command: constr(pattern=r"^[!-~](?:[ -~]*[!-~])?$", min_length=1, max_length=65535)
1842
2110
  email_address: Optional[EmailStr]
1843
2111
  schedule: str
1844
2112
  error_count: int
@@ -1864,7 +2132,7 @@ class DaemonResource(BaseCoreApiModel):
1864
2132
  cluster_id: int
1865
2133
  name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
1866
2134
  unix_user_id: int
1867
- command: constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)
2135
+ command: constr(pattern=r"^[!-~](?:[ -~]*[!-~])?$", min_length=1, max_length=65535)
1868
2136
  nodes_ids: List[int]
1869
2137
  memory_limit: Optional[conint(ge=256)]
1870
2138
  cpu_limit: Optional[int]
@@ -2285,6 +2553,7 @@ class DomainRouterResource(BaseCoreApiModel):
2285
2553
  domain: str
2286
2554
  virtual_host_id: Optional[int]
2287
2555
  url_redirect_id: Optional[int]
2556
+ n8n_instance_id: Optional[int]
2288
2557
  category: DomainRouterCategoryEnum
2289
2558
  cluster_id: int
2290
2559
  node_id: Optional[int]
@@ -2387,7 +2656,7 @@ class RequestLogResource(BaseCoreApiModel):
2387
2656
 
2388
2657
 
2389
2658
  class ObjectLogIncludes(BaseCoreApiModel):
2390
- customer: Optional[CustomerResource]
2659
+ pass
2391
2660
 
2392
2661
 
2393
2662
  class ObjectLogResource(BaseCoreApiModel):
@@ -3012,6 +3281,7 @@ class SpecificationNameEnum(StrEnum):
3012
3281
  CLUSTER_SUPPORTS_UNIX_USER_BORG_REPOSITORIES = (
3013
3282
  "Cluster supports UNIX user Borg repositories"
3014
3283
  )
3284
+ CLUSTER_SUPPORTS_PROJECTS = "Cluster supports projects"
3015
3285
 
3016
3286
 
3017
3287
  class TableInnodbDataLengths(BaseCoreApiModel):
@@ -3209,6 +3479,7 @@ class DomainRoutersSearchRequest(BaseCoreApiModel):
3209
3479
  domain: Optional[str] = None
3210
3480
  virtual_host_id: Optional[int] = None
3211
3481
  url_redirect_id: Optional[int] = None
3482
+ n8n_instance_id: Optional[int] = None
3212
3483
  category: Optional[DomainRouterCategoryEnum] = None
3213
3484
  cluster_id: Optional[int] = None
3214
3485
  node_id: Optional[int] = None
@@ -3348,6 +3619,7 @@ class N8nInstanceResource(BaseCoreApiModel):
3348
3619
  domain: str
3349
3620
  name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
3350
3621
  cluster_id: int
3622
+ deployment_status: DeploymentStatusEnum
3351
3623
  includes: N8nInstanceIncludes
3352
3624
 
3353
3625
 
@@ -3360,6 +3632,7 @@ class RedisInstancesSearchRequest(BaseCoreApiModel):
3360
3632
 
3361
3633
  class RegionsSearchRequest(BaseCoreApiModel):
3362
3634
  name: Optional[str] = None
3635
+ iso_3166_alpha_2_country_code: Iso3166Alpha2CountryCodeEnum | None = None
3363
3636
 
3364
3637
 
3365
3638
  class RequestLogsSearchRequest(BaseCoreApiModel):
@@ -1,19 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-core-api-client
3
- Version: 4.0
3
+ Version: 5.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
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: certifi==2026.2.25
9
- Requires-Dist: requests==2.32.5
9
+ Requires-Dist: requests==2.33.0
10
10
  Requires-Dist: pydantic[email]==2.12.5
11
11
 
12
12
  # python3-core-api-client
13
13
 
14
14
  Python client for Core API.
15
15
 
16
- This client was built for and tested on the **1.265.0** version of the API.
16
+ This client was built for and tested on the **1.267.0** version of the API.
17
17
 
18
18
  ## Support
19
19
 
@@ -1,3 +1,3 @@
1
1
  certifi==2026.2.25
2
- requests==2.32.5
2
+ requests==2.33.0
3
3
  pydantic[email]==2.12.5