Skip to content

Commit 4263caa

Browse files
chore: sdk update
1 parent 69a1820 commit 4263caa

1,380 files changed

Lines changed: 1397 additions & 1390 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/DomainsV1WHOISStoreRequest.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
88
**tld** | **str** | TLD of the domain (without leading dot) |
99
**country** | **str** | ISO 3166 2-letter country code |
1010
**entity_type** | **str** | Legal entity type |
11-
**tld_details** | **object** | TLD details | [optional]
12-
**whois_details** | **object** | WHOIS details |
11+
**tld_details** | **object** | TLD-specific details. The required keys depend on the TLD, country and entity type. | [optional]
12+
**whois_details** | **object** | WHOIS contact details. The required keys depend on the TLD, country and entity type, and can be country-specific (e.g. `state_lt` and `zip_lt` instead of `state` and `zip` for Lithuania). |
1313

1414
## Example
1515

‎docs/DomainsWHOISApi.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,13 @@ Create WHOIS contact profile.
180180

181181
Use this endpoint to add new contact information for domain registration.
182182

183+
The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be
184+
country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and
185+
`zip`. A 422 response lists every required key that is missing or has an invalid value under
186+
`errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the
187+
key's constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be
188+
corrected in one retry.
189+
183190
### Example
184191

185192
* Bearer Authentication (apiToken):

‎hostinger_api/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 2.13.0
8+
API Version: 2.13.1
99
1010
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
1111
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
1212
""" # noqa: E501
1313

1414

15-
__version__ = "4.13.0"
15+
__version__ = "4.13.1"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi

‎hostinger_api/api/agency_hosting_cache_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_cron_jobs_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_databases_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_datacenters_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_domains_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_files_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_metrics_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.13.0
6+
API Version: 2.13.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

0 commit comments

Comments
 (0)