Skip to content

Commit 71eb1a0

Browse files
chore: sdk update
1 parent 268dc0f commit 71eb1a0

1,196 files changed

Lines changed: 1428 additions & 1205 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.

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ Class | Method | HTTP request | Description
538538
- [BillingV1CatalogCatalogItemResource](docs/BillingV1CatalogCatalogItemResource.md)
539539
- [BillingV1OrderOrderBillingAddressResource](docs/BillingV1OrderOrderBillingAddressResource.md)
540540
- [BillingV1OrderOrderResource](docs/BillingV1OrderOrderResource.md)
541+
- [BillingV1OrderPaymentProcessingResource](docs/BillingV1OrderPaymentProcessingResource.md)
541542
- [BillingV1OrderPurchaseRequest](docs/BillingV1OrderPurchaseRequest.md)
542543
- [BillingV1OrderPurchaseRequestItemsInner](docs/BillingV1OrderPurchaseRequestItemsInner.md)
543544
- [BillingV1OrderVirtualMachineOrderResource](docs/BillingV1OrderVirtualMachineOrderResource.md)

‎docs/BillingOrdersApi.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ up the `item_id` values available for purchase.
2121

2222
If no payment method is provided, your default payment method will be used automatically.
2323

24+
If the response is `202 Accepted`, the payment is still being processed and the order will
25+
complete asynchronously once the payment is confirmed.
26+
2427
This endpoint only places the order. Product-specific provisioning
2528
(e.g. VPS setup or domain registration) is not performed here — once the
2629
order completes, use the relevant product endpoints or
@@ -87,6 +90,7 @@ Name | Type | Description | Notes
8790
| Status code | Description | Response headers |
8891
|-------------|-------------|------------------|
8992
**200** | Success response | - |
93+
**202** | Payment is being processed, the order will complete asynchronously | - |
9094
**422** | Validation error response | - |
9195
**401** | Unauthenticated response | - |
9296
**500** | Error response | - |

‎docs/BillingSubscriptionsApi.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ the existing billing infrastructure. Use the
236236

237237
If no payment method is provided, your default payment method will be used automatically.
238238

239+
If the response is `202 Accepted`, the payment is still being processed and the renewal will
240+
complete asynchronously once the payment is confirmed.
241+
239242
Use this endpoint to renew any subscription available in your account.
240243

241244
### Example
@@ -299,6 +302,7 @@ Name | Type | Description | Notes
299302
| Status code | Description | Response headers |
300303
|-------------|-------------|------------------|
301304
**200** | Success response | - |
305+
**202** | Payment is being processed, the order will complete asynchronously | - |
302306
**422** | Validation error response | - |
303307
**401** | Unauthenticated response | - |
304308
**500** | Error response | - |
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# BillingV1OrderPaymentProcessingResource
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**id** | **int** | Order ID | [optional]
9+
**subscription_id** | **str** | Subscription ID, use it to find the product once the order completes | [optional]
10+
**status** | **str** | | [optional]
11+
**message** | **str** | Explanation of what happens next | [optional]
12+
13+
## Example
14+
15+
```python
16+
from hostinger_api.models.billing_v1_order_payment_processing_resource import BillingV1OrderPaymentProcessingResource
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of BillingV1OrderPaymentProcessingResource from a JSON string
21+
billing_v1_order_payment_processing_resource_instance = BillingV1OrderPaymentProcessingResource.from_json(json)
22+
# print the JSON string representation of the object
23+
print(BillingV1OrderPaymentProcessingResource.to_json())
24+
25+
# convert the object into a dict
26+
billing_v1_order_payment_processing_resource_dict = billing_v1_order_payment_processing_resource_instance.to_dict()
27+
# create an instance of BillingV1OrderPaymentProcessingResource from a dict
28+
billing_v1_order_payment_processing_resource_from_dict = BillingV1OrderPaymentProcessingResource.from_dict(billing_v1_order_payment_processing_resource_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

‎docs/DomainsPortfolioApi.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,10 @@ If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and chec
701701

702702
If no payment method is provided, your default payment method will be used automatically.
703703

704+
If the response is `202 Accepted`, the payment is still being processed and the domain was
705+
**not** registered. Once the order completes, register the domain from
706+
[hPanel](https://hpanel.hostinger.com/).
707+
704708
If no WHOIS information is provided, default contact information for that TLD will be used.
705709
Before making request, ensure WHOIS information for desired TLD exists in your account.
706710

@@ -767,6 +771,7 @@ Name | Type | Description | Notes
767771
| Status code | Description | Response headers |
768772
|-------------|-------------|------------------|
769773
**200** | Success response | - |
774+
**202** | Payment is being processed, the order will complete asynchronously | - |
770775
**422** | Validation error response | - |
771776
**401** | Unauthenticated response | - |
772777
**500** | Error response | - |

‎docs/VPSVirtualMachineApi.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ If virtual machine setup fails for any reason, login to
331331

332332
If no payment method is provided, your default payment method will be used automatically.
333333

334+
If the response is `202 Accepted`, the payment is still being processed and the virtual machine
335+
was not set up. Login to
336+
[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.
337+
334338
Use this endpoint to create new VPS instances.
335339

336340
### Example
@@ -392,6 +396,7 @@ Name | Type | Description | Notes
392396
| Status code | Description | Response headers |
393397
|-------------|-------------|------------------|
394398
**200** | Success response | - |
399+
**202** | Payment is being processed, the order will complete asynchronously | - |
395400
**422** | Validation error response | - |
396401
**401** | Unauthenticated response | - |
397402
**500** | Error response | - |

‎hostinger_api/__init__.py‎

Lines changed: 3 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: 1.49.4
8+
API Version: 1.50.0
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__ = "3.47.4"
15+
__version__ = "3.48.0"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi
@@ -187,6 +187,7 @@
187187
from hostinger_api.models.billing_v1_catalog_catalog_item_resource import BillingV1CatalogCatalogItemResource
188188
from hostinger_api.models.billing_v1_order_order_billing_address_resource import BillingV1OrderOrderBillingAddressResource
189189
from hostinger_api.models.billing_v1_order_order_resource import BillingV1OrderOrderResource
190+
from hostinger_api.models.billing_v1_order_payment_processing_resource import BillingV1OrderPaymentProcessingResource
190191
from hostinger_api.models.billing_v1_order_purchase_request import BillingV1OrderPurchaseRequest
191192
from hostinger_api.models.billing_v1_order_purchase_request_items_inner import BillingV1OrderPurchaseRequestItemsInner
192193
from hostinger_api.models.billing_v1_order_virtual_machine_order_resource import BillingV1OrderVirtualMachineOrderResource

‎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: 1.49.4
6+
API Version: 1.50.0
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: 1.49.4
6+
API Version: 1.50.0
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: 1.49.4
6+
API Version: 1.50.0
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)