shopware-api-client 1.0.109__tar.gz → 1.0.110__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.
Potentially problematic release.
This version of shopware-api-client might be problematic. Click here for more details.
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/PKG-INFO +1 -1
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/pyproject.toml +1 -1
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/base.py +3 -3
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/LICENSE +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/README.md +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/cache.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/client.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/config.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/commercial/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/commercial/b2b_components_role.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/commercial/b2b_employee.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/commercial/dynamic_access.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/acl_role.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/api_info.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/app.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/app_script_condition.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/category.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/cms_block.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/cms_page.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/cms_section.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/cms_slot.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/country.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/country_state.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/currency.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/currency_country_rounding.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/custom_entity.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/custom_field.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/customer.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/customer_address.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/customer_group.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/customer_recovery.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/customer_wishlist.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/customer_wishlist_product.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/delivery_time.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/document.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/document_base_config.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/document_base_config_sales_channel.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/document_type.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/integration.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/landing_page.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/language.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/locale.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/main_category.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/media.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/media_default_folder.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/media_folder.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/media_folder_configuration.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/media_thumbnail.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/media_thumbnail_size.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_address.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_customer.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_delivery.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_delivery_position.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_line_item.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_line_item_download.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_transaction.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_transaction_capture.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_transaction_capture_refund.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/order_transaction_capture_refund_position.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/payment_method.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_configurator_setting.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_cross_selling.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_cross_selling_assigned_products.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_download.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_export.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_feature_set.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_manufacturer.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_media.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_price.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_review.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_search_keyword.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_stream.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_visibility.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/product_warehouse.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/promotion.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/promotion_discount.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/promotion_discount_prices.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/property_group.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/property_group_option.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/rule.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/rule_condition.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/sales_channel.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/sales_channel_domain.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/salutation.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/seo_url.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/shipping_method.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/state_machine.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/state_machine_history.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/state_machine_state.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/state_machine_transition.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/system_config.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/tag.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/tax.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/tax_rule.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/tax_rule_type.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/unit.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/user.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/warehouse.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/warehouse_group.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/admin/core/warehouse_group_warehouse.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/base_fields.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/relations.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/store/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/store/core/__init__.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/store/core/address.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/endpoints/store/core/cart.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/exceptions.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/logging.py +0 -0
- {shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/py.typed +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "shopware-api-client"
|
|
3
3
|
description = " An api client for the Shopware API"
|
|
4
|
-
version = "1.0.
|
|
4
|
+
version = "1.0.110"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["GWS Gesellschaft für Warenwirtschafts-Systeme mbH <ebusiness@gws.ms>"]
|
|
7
7
|
readme = "README.md"
|
|
@@ -167,17 +167,17 @@ class ClientBase:
|
|
|
167
167
|
def parse_retry_after(self, headers: httpx.Headers) -> int:
|
|
168
168
|
retry_header: str | None = headers.get("Retry-After")
|
|
169
169
|
if retry_header is None:
|
|
170
|
-
return
|
|
170
|
+
return 1
|
|
171
171
|
|
|
172
172
|
if retry_header.isdigit():
|
|
173
|
-
return int(retry_header)
|
|
173
|
+
return max(1, int(retry_header))
|
|
174
174
|
|
|
175
175
|
current_time = time()
|
|
176
176
|
server_ts = self.get_header_ts(headers.get("Date"), current_time)
|
|
177
177
|
retry_ts = self.get_header_ts(retry_header, current_time)
|
|
178
178
|
adjusted_time = retry_ts - server_ts
|
|
179
179
|
|
|
180
|
-
return max(
|
|
180
|
+
return max(1, ceil(adjusted_time))
|
|
181
181
|
|
|
182
182
|
async def _make_request(self, method: str, relative_url: str, **kwargs: Any) -> httpx.Response:
|
|
183
183
|
if relative_url.startswith("http://") or relative_url.startswith("https://"):
|
|
File without changes
|
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/__init__.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/cache.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/client.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/exceptions.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/logging.py
RENAMED
|
File without changes
|
{shopware_api_client-1.0.109 → shopware_api_client-1.0.110}/src/shopware_api_client/py.typed
RENAMED
|
File without changes
|