Skip to content

Commit ccdd9f8

Browse files
chore: sdk update
1 parent 3ea6adc commit ccdd9f8

1,159 files changed

Lines changed: 1217 additions & 1217 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Class | Method | HTTP request | Description
181181
*EcommerceMiscellaneousApi* | [**get_custom_storefront_setup_instructions_v1**](docs/EcommerceMiscellaneousApi.md#get_custom_storefront_setup_instructions_v1) | **GET** /api/ecommerce/v1/miscellaneous/custom-storefront-instructions | Get custom storefront setup instructions
182182
*EcommerceOrdersApi* | [**cancel_an_order_v1**](docs/EcommerceOrdersApi.md#cancel_an_order_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/orders/{order_id}/cancel | Cancel an order
183183
*EcommerceOrdersApi* | [**fulfil_an_order_v1**](docs/EcommerceOrdersApi.md#fulfil_an_order_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/orders/{order_id}/fulfill | Fulfil an order
184-
*EcommerceOrdersApi* | [**list_orders_v1**](docs/EcommerceOrdersApi.md#list_orders_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/orders | List orders
184+
*EcommerceOrdersApi* | [**list_store_orders_v1**](docs/EcommerceOrdersApi.md#list_store_orders_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/orders | List store orders
185185
*EcommerceOrdersApi* | [**retrieve_an_order_v1**](docs/EcommerceOrdersApi.md#retrieve_an_order_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/orders/{order_id} | Retrieve an order
186186
*EcommercePaymentsApi* | [**create_a_payment_provider_connect_link_v1**](docs/EcommercePaymentsApi.md#create_a_payment_provider_connect_link_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/payment-providers/{provider_id}/connect-link | Create a payment provider connect link
187187
*EcommercePaymentsApi* | [**enable_manual_payment_method_v1**](docs/EcommercePaymentsApi.md#enable_manual_payment_method_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/payment-methods/manual | Enable manual payment method
@@ -582,9 +582,9 @@ Class | Method | HTTP request | Description
582582
- [DomainsV1WHOISStoreRequest](docs/DomainsV1WHOISStoreRequest.md)
583583
- [EcommerceGetStoresV1200Response](docs/EcommerceGetStoresV1200Response.md)
584584
- [EcommerceListDiscountsV1200Response](docs/EcommerceListDiscountsV1200Response.md)
585-
- [EcommerceListOrdersV1200Response](docs/EcommerceListOrdersV1200Response.md)
586585
- [EcommerceListProductVariantsV1200Response](docs/EcommerceListProductVariantsV1200Response.md)
587586
- [EcommerceListProductsV1200Response](docs/EcommerceListProductsV1200Response.md)
587+
- [EcommerceListStoreOrdersV1200Response](docs/EcommerceListStoreOrdersV1200Response.md)
588588
- [EcommerceV1DiscountCreateDiscountRequest](docs/EcommerceV1DiscountCreateDiscountRequest.md)
589589
- [EcommerceV1DiscountDiscountResource](docs/EcommerceV1DiscountDiscountResource.md)
590590
- [EcommerceV1DiscountDiscountResponseResource](docs/EcommerceV1DiscountDiscountResponseResource.md)

docs/EcommerceListOrdersV1200Response.md renamed to docs/EcommerceListStoreOrdersV1200Response.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EcommerceListOrdersV1200Response
1+
# EcommerceListStoreOrdersV1200Response
22

33

44
## Properties
@@ -11,19 +11,19 @@ Name | Type | Description | Notes
1111
## Example
1212

1313
```python
14-
from hostinger_api.models.ecommerce_list_orders_v1200_response import EcommerceListOrdersV1200Response
14+
from hostinger_api.models.ecommerce_list_store_orders_v1200_response import EcommerceListStoreOrdersV1200Response
1515

1616
# TODO update the JSON string below
1717
json = "{}"
18-
# create an instance of EcommerceListOrdersV1200Response from a JSON string
19-
ecommerce_list_orders_v1200_response_instance = EcommerceListOrdersV1200Response.from_json(json)
18+
# create an instance of EcommerceListStoreOrdersV1200Response from a JSON string
19+
ecommerce_list_store_orders_v1200_response_instance = EcommerceListStoreOrdersV1200Response.from_json(json)
2020
# print the JSON string representation of the object
21-
print(EcommerceListOrdersV1200Response.to_json())
21+
print(EcommerceListStoreOrdersV1200Response.to_json())
2222

2323
# convert the object into a dict
24-
ecommerce_list_orders_v1200_response_dict = ecommerce_list_orders_v1200_response_instance.to_dict()
25-
# create an instance of EcommerceListOrdersV1200Response from a dict
26-
ecommerce_list_orders_v1200_response_from_dict = EcommerceListOrdersV1200Response.from_dict(ecommerce_list_orders_v1200_response_dict)
24+
ecommerce_list_store_orders_v1200_response_dict = ecommerce_list_store_orders_v1200_response_instance.to_dict()
25+
# create an instance of EcommerceListStoreOrdersV1200Response from a dict
26+
ecommerce_list_store_orders_v1200_response_from_dict = EcommerceListStoreOrdersV1200Response.from_dict(ecommerce_list_store_orders_v1200_response_dict)
2727
```
2828
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2929

docs/EcommerceOrdersApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**cancel_an_order_v1**](EcommerceOrdersApi.md#cancel_an_order_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/orders/{order_id}/cancel | Cancel an order
88
[**fulfil_an_order_v1**](EcommerceOrdersApi.md#fulfil_an_order_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/orders/{order_id}/fulfill | Fulfil an order
9-
[**list_orders_v1**](EcommerceOrdersApi.md#list_orders_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/orders | List orders
9+
[**list_store_orders_v1**](EcommerceOrdersApi.md#list_store_orders_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/orders | List store orders
1010
[**retrieve_an_order_v1**](EcommerceOrdersApi.md#retrieve_an_order_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/orders/{order_id} | Retrieve an order
1111

1212

@@ -163,10 +163,10 @@ Name | Type | Description | Notes
163163

164164
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
165165

166-
# **list_orders_v1**
167-
> EcommerceListOrdersV1200Response list_orders_v1(store_id, status=status, payment_status=payment_status, fulfillment_status=fulfillment_status, email=email, display_id=display_id, q=q, created_at_from=created_at_from, created_at_to=created_at_to, page=page)
166+
# **list_store_orders_v1**
167+
> EcommerceListStoreOrdersV1200Response list_store_orders_v1(store_id, status=status, payment_status=payment_status, fulfillment_status=fulfillment_status, email=email, display_id=display_id, q=q, created_at_from=created_at_from, created_at_to=created_at_to, page=page)
168168
169-
List orders
169+
List store orders
170170

171171
List a store's orders newest first as summaries. Filter by status, payment or fulfilment
172172
status, customer email, order number or a free-text query. Amounts are in the smallest
@@ -178,7 +178,7 @@ currency unit. Retrieve a single order for its line items, addresses and fulfilm
178178

179179
```python
180180
import hostinger_api
181-
from hostinger_api.models.ecommerce_list_orders_v1200_response import EcommerceListOrdersV1200Response
181+
from hostinger_api.models.ecommerce_list_store_orders_v1200_response import EcommerceListStoreOrdersV1200Response
182182
from hostinger_api.rest import ApiException
183183
from pprint import pprint
184184

@@ -204,12 +204,12 @@ with hostinger_api.ApiClient(configuration) as api_client:
204204
page = 1 # int | Page number (optional)
205205

206206
try:
207-
# List orders
208-
api_response = api_instance.list_orders_v1(store_id, status=status, payment_status=payment_status, fulfillment_status=fulfillment_status, email=email, display_id=display_id, q=q, created_at_from=created_at_from, created_at_to=created_at_to, page=page)
209-
print("The response of EcommerceOrdersApi->list_orders_v1:\n")
207+
# List store orders
208+
api_response = api_instance.list_store_orders_v1(store_id, status=status, payment_status=payment_status, fulfillment_status=fulfillment_status, email=email, display_id=display_id, q=q, created_at_from=created_at_from, created_at_to=created_at_to, page=page)
209+
print("The response of EcommerceOrdersApi->list_store_orders_v1:\n")
210210
pprint(api_response)
211211
except Exception as e:
212-
print("Exception when calling EcommerceOrdersApi->list_orders_v1: %s\n" % e)
212+
print("Exception when calling EcommerceOrdersApi->list_store_orders_v1: %s\n" % e)
213213
```
214214

215215

@@ -232,7 +232,7 @@ Name | Type | Description | Notes
232232

233233
### Return type
234234

235-
[**EcommerceListOrdersV1200Response**](EcommerceListOrdersV1200Response.md)
235+
[**EcommerceListStoreOrdersV1200Response**](EcommerceListStoreOrdersV1200Response.md)
236236

237237
### Authorization
238238

hostinger_api/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 1.43.0
8+
API Version: 1.43.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__ = "3.40.0"
15+
__version__ = "3.40.1"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi
@@ -247,9 +247,9 @@
247247
from hostinger_api.models.domains_v1_whois_store_request import DomainsV1WHOISStoreRequest
248248
from hostinger_api.models.ecommerce_get_stores_v1200_response import EcommerceGetStoresV1200Response
249249
from hostinger_api.models.ecommerce_list_discounts_v1200_response import EcommerceListDiscountsV1200Response
250-
from hostinger_api.models.ecommerce_list_orders_v1200_response import EcommerceListOrdersV1200Response
251250
from hostinger_api.models.ecommerce_list_product_variants_v1200_response import EcommerceListProductVariantsV1200Response
252251
from hostinger_api.models.ecommerce_list_products_v1200_response import EcommerceListProductsV1200Response
252+
from hostinger_api.models.ecommerce_list_store_orders_v1200_response import EcommerceListStoreOrdersV1200Response
253253
from hostinger_api.models.ecommerce_v1_discount_create_discount_request import EcommerceV1DiscountCreateDiscountRequest
254254
from hostinger_api.models.ecommerce_v1_discount_discount_resource import EcommerceV1DiscountDiscountResource
255255
from hostinger_api.models.ecommerce_v1_discount_discount_response_resource import EcommerceV1DiscountDiscountResponseResource

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.43.0
6+
API Version: 1.43.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: 1.43.0
6+
API Version: 1.43.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: 1.43.0
6+
API Version: 1.43.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: 1.43.0
6+
API Version: 1.43.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: 1.43.0
6+
API Version: 1.43.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: 1.43.0
6+
API Version: 1.43.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)