Skip to content

Commit 0da4f81

Browse files
committed
chore: sdk update
1 parent 6787af7 commit 0da4f81

File tree

186 files changed

+240
-214
lines changed

Some content is hidden

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

186 files changed

+240
-214
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Class | Method | HTTP request | Description
9191
*BillingSubscriptionsApi* | [**get_subscription_list_v1**](docs/BillingSubscriptionsApi.md#get_subscription_list_v1) | **GET** /api/billing/v1/subscriptions | Get subscription list
9292
*DNSSnapshotApi* | [**get_snapshot_list_v1**](docs/DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
9393
*DNSSnapshotApi* | [**get_snapshot_v1**](docs/DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
94-
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
94+
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
9595
*DNSZoneApi* | [**delete_zone_records_v1**](docs/DNSZoneApi.md#delete_zone_records_v1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
9696
*DNSZoneApi* | [**get_records_v1**](docs/DNSZoneApi.md#get_records_v1) | **GET** /api/dns/v1/zones/{domain} | Get records
9797
*DNSZoneApi* | [**reset_zone_records_v1**](docs/DNSZoneApi.md#reset_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records

docs/BillingOrdersApi.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ This endpoint creates a new service order.
1717
To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity.
1818
Coupons also can be provided during order creation.
1919

20-
Orders created using this endpoint will be set for automatically renewal.
20+
Orders created using this endpoint will be set for automatic renewal.
21+
22+
Some `credit_card` payments might need additional verification, rendering purchase unprocessed.
23+
We recommend use other payment methods than `credit_card` if you encounter this issue.
2124

2225
### Example
2326

docs/DNSSnapshotApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**get_snapshot_list_v1**](DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
88
[**get_snapshot_v1**](DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
9-
[**restore_snapshot_v1**](DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
9+
[**restore_snapshot_v1**](DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
1010

1111

1212
# **get_snapshot_list_v1**

docs/DNSV1SnapshotSnapshotWithContentResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **int** | Snapshot ID | [optional]
99
**reason** | **str** | Reason of the update | [optional]
10-
**snapshot** | **str** | Contents of the DNS zone | [optional]
10+
**snapshot** | [**List[DNSV1ZoneRecordResource]**](DNSV1ZoneRecordResource.md) | Array of [`DNS.V1.Zone.RecordResource`](#model/dnsv1zonerecordresource) | [optional]
1111
**created_at** | **datetime** | | [optional]
1212

1313
## Example

docs/DNSV1ZoneDestroyRequestFiltersInner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**name** | **str** | Name of the record | [optional]
9-
**type** | **str** | Type of the record | [optional]
8+
**name** | **str** | Name of the record |
9+
**type** | **str** | Type of the record |
1010

1111
## Example
1212

docs/DNSZoneApi.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ Method | HTTP request | Description
1616
1717
Delete zone records
1818

19-
This endpoint deletes selected DNS records for the selected domain.
19+
This endpoint deletes DNS records for the selected domain.
20+
To filter which records to delete, add the `name` of the record and `type` to the filter.
21+
Multiple filters can be provided with single request.
22+
23+
If you have multiple records with the same name and type, and you want to delete only part of them,
24+
refer to the `Update zone records` endpoint.
2025

2126
### Example
2227

@@ -234,9 +239,10 @@ Name | Type | Description | Notes
234239
235240
Update zone records
236241

237-
This endpoint updates DNS records for the selected domain. This endpoint could also be used
238-
to delete single record when multiple records exist under same name. In that case use `overwrite` flag
239-
and provide records which should remain. All other records under same name will be deleted.
242+
This endpoint updates DNS records for the selected domain.
243+
244+
Using `overwrite = true` will replace existing records with the provided ones.
245+
Otherwise existing records will be updated and new records will be added.
240246

241247
### Example
242248

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: 0.0.17
8+
API Version: 0.0.20
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__ = "0.0.8"
15+
__version__ = "0.0.10"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.billing_catalog_api import BillingCatalogApi

hostinger_api/api/billing_catalog_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: 0.0.17
6+
API Version: 0.0.20
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/billing_orders_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 0.0.17
6+
API Version: 0.0.20
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
@@ -49,7 +49,7 @@ def create_new_service_order_v1(
4949
) -> BillingV1OrderOrderResource:
5050
"""Create new service order
5151
52-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
52+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
5353
5454
:param billing_v1_order_store_request: (required)
5555
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
@@ -119,7 +119,7 @@ def create_new_service_order_v1_with_http_info(
119119
) -> ApiResponse[BillingV1OrderOrderResource]:
120120
"""Create new service order
121121
122-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
122+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
123123
124124
:param billing_v1_order_store_request: (required)
125125
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
@@ -189,7 +189,7 @@ def create_new_service_order_v1_without_preload_content(
189189
) -> RESTResponseType:
190190
"""Create new service order
191191
192-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
192+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
193193
194194
:param billing_v1_order_store_request: (required)
195195
:type billing_v1_order_store_request: BillingV1OrderStoreRequest

hostinger_api/api/billing_payment_methods_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: 0.0.17
6+
API Version: 0.0.20
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)