wildberries-sdk 0.1.26__py3-none-any.whl → 0.1.27__py3-none-any.whl

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.
Files changed (77) hide show
  1. wildberries_sdk/analytics/__init__.py +1 -1
  2. wildberries_sdk/analytics/api_client.py +1 -1
  3. wildberries_sdk/analytics/configuration.py +1 -1
  4. wildberries_sdk/communications/__init__.py +1 -1
  5. wildberries_sdk/communications/api/default_api.py +30 -30
  6. wildberries_sdk/communications/api_client.py +1 -1
  7. wildberries_sdk/communications/configuration.py +1 -1
  8. wildberries_sdk/communications/models/api_v1_claims_get200_response_claims_inner.py +3 -4
  9. wildberries_sdk/communications/models/api_v1_feedback_get200_response_data_product_details.py +1 -1
  10. wildberries_sdk/communications/models/api_v1_question_get200_response_data_product_details.py +1 -1
  11. wildberries_sdk/communications/models/api_v1_questions_get200_response_data_questions_inner_product_details.py +1 -1
  12. wildberries_sdk/communications/models/openapi_pin_review_item.py +1 -1
  13. wildberries_sdk/communications/models/openapi_pin_review_item_result_data_inner.py +1 -1
  14. wildberries_sdk/communications/models/openapi_pinned_review_item_result.py +3 -3
  15. wildberries_sdk/communications/models/openapi_seller_limit.py +4 -4
  16. wildberries_sdk/communications/models/response_feedback_inner_product_details.py +1 -1
  17. wildberries_sdk/finances/__init__.py +1 -1
  18. wildberries_sdk/finances/api_client.py +1 -1
  19. wildberries_sdk/finances/configuration.py +1 -1
  20. wildberries_sdk/general/__init__.py +1 -1
  21. wildberries_sdk/general/api_client.py +1 -1
  22. wildberries_sdk/general/configuration.py +1 -1
  23. wildberries_sdk/in_store_pickup/__init__.py +1 -1
  24. wildberries_sdk/in_store_pickup/api_client.py +1 -1
  25. wildberries_sdk/in_store_pickup/configuration.py +1 -1
  26. wildberries_sdk/orders_dbs/__init__.py +1 -1
  27. wildberries_sdk/orders_dbs/api_client.py +1 -1
  28. wildberries_sdk/orders_dbs/configuration.py +1 -1
  29. wildberries_sdk/orders_dbw/__init__.py +1 -1
  30. wildberries_sdk/orders_dbw/api_client.py +1 -1
  31. wildberries_sdk/orders_dbw/configuration.py +1 -1
  32. wildberries_sdk/orders_fbs/__init__.py +1 -5
  33. wildberries_sdk/orders_fbs/api/default_api.py +0 -283
  34. wildberries_sdk/orders_fbs/api_client.py +1 -1
  35. wildberries_sdk/orders_fbs/configuration.py +1 -1
  36. wildberries_sdk/orders_fbs/models/__init__.py +0 -2
  37. wildberries_sdk/orders_fbw/__init__.py +1 -1
  38. wildberries_sdk/orders_fbw/api_client.py +1 -1
  39. wildberries_sdk/orders_fbw/configuration.py +1 -1
  40. wildberries_sdk/products/__init__.py +1 -1
  41. wildberries_sdk/products/api/default_api.py +18 -18
  42. wildberries_sdk/products/api_client.py +1 -1
  43. wildberries_sdk/products/configuration.py +1 -1
  44. wildberries_sdk/products/models/content_v2_cards_upload_add_post_request.py +2 -2
  45. wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner.py +1 -1
  46. wildberries_sdk/products/models/content_v2_directory_countries_get200_response_data_inner.py +4 -2
  47. wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner.py +1 -1
  48. wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_cursor.py +3 -2
  49. wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_filter.py +1 -1
  50. wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_cursor.py +3 -2
  51. wildberries_sdk/products/models/request_move_nms_imt_conn.py +2 -2
  52. wildberries_sdk/products/models/request_move_nms_imt_disconn.py +1 -1
  53. wildberries_sdk/promotion/__init__.py +1 -1
  54. wildberries_sdk/promotion/api_client.py +1 -1
  55. wildberries_sdk/promotion/configuration.py +1 -1
  56. wildberries_sdk/reports/__init__.py +1 -9
  57. wildberries_sdk/reports/api/default_api.py +153 -765
  58. wildberries_sdk/reports/api_client.py +1 -1
  59. wildberries_sdk/reports/configuration.py +1 -1
  60. wildberries_sdk/reports/models/__init__.py +0 -4
  61. wildberries_sdk/tariffs/__init__.py +1 -1
  62. wildberries_sdk/tariffs/api_client.py +1 -1
  63. wildberries_sdk/tariffs/configuration.py +1 -1
  64. wildberries_sdk/wbd/__init__.py +1 -1
  65. wildberries_sdk/wbd/api_client.py +1 -1
  66. wildberries_sdk/wbd/configuration.py +1 -1
  67. {wildberries_sdk-0.1.26.dist-info → wildberries_sdk-0.1.27.dist-info}/METADATA +1 -4
  68. {wildberries_sdk-0.1.26.dist-info → wildberries_sdk-0.1.27.dist-info}/RECORD +71 -77
  69. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_orders_get200_response.py +0 -95
  70. wildberries_sdk/orders_fbs/models/supply_order.py +0 -142
  71. wildberries_sdk/reports/models/api_v1_analytics_characteristics_change_get200_response.py +0 -95
  72. wildberries_sdk/reports/models/api_v1_analytics_characteristics_change_get200_response_report_inner.py +0 -112
  73. wildberries_sdk/reports/models/api_v1_analytics_incorrect_attachments_get200_response.py +0 -95
  74. wildberries_sdk/reports/models/api_v1_analytics_incorrect_attachments_get200_response_report_inner.py +0 -97
  75. {wildberries_sdk-0.1.26.dist-info → wildberries_sdk-0.1.27.dist-info}/LICENSE +0 -0
  76. {wildberries_sdk-0.1.26.dist-info → wildberries_sdk-0.1.27.dist-info}/WHEEL +0 -0
  77. {wildberries_sdk-0.1.26.dist-info → wildberries_sdk-0.1.27.dist-info}/top_level.txt +0 -0
@@ -27,10 +27,8 @@ from wildberries_sdk.reports.models.api_v1_analytics_banned_products_shadowed_ge
27
27
  from wildberries_sdk.reports.models.api_v1_analytics_brand_share_brands_get200_response import ApiV1AnalyticsBrandShareBrandsGet200Response
28
28
  from wildberries_sdk.reports.models.api_v1_analytics_brand_share_get200_response import ApiV1AnalyticsBrandShareGet200Response
29
29
  from wildberries_sdk.reports.models.api_v1_analytics_brand_share_parent_subjects_get200_response import ApiV1AnalyticsBrandShareParentSubjectsGet200Response
30
- from wildberries_sdk.reports.models.api_v1_analytics_characteristics_change_get200_response import ApiV1AnalyticsCharacteristicsChangeGet200Response
31
30
  from wildberries_sdk.reports.models.api_v1_analytics_goods_labeling_get200_response import ApiV1AnalyticsGoodsLabelingGet200Response
32
31
  from wildberries_sdk.reports.models.api_v1_analytics_goods_return_get200_response import ApiV1AnalyticsGoodsReturnGet200Response
33
- from wildberries_sdk.reports.models.api_v1_analytics_incorrect_attachments_get200_response import ApiV1AnalyticsIncorrectAttachmentsGet200Response
34
32
  from wildberries_sdk.reports.models.api_v1_analytics_region_sale_get200_response import ApiV1AnalyticsRegionSaleGet200Response
35
33
  from wildberries_sdk.reports.models.api_v1_analytics_warehouse_measurements_get200_response import ApiV1AnalyticsWarehouseMeasurementsGet200Response
36
34
  from wildberries_sdk.reports.models.api_v1_warehouse_remains_tasks_task_id_download_get200_response_inner import ApiV1WarehouseRemainsTasksTaskIdDownloadGet200ResponseInner
@@ -2679,645 +2677,11 @@ class DefaultApi:
2679
2677
 
2680
2678
 
2681
2679
  @validate_call
2682
- def api_v1_analytics_characteristics_change_get(
2683
- self,
2684
- date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД`")],
2685
- date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД`")],
2686
- _request_timeout: Union[
2687
- None,
2688
- Annotated[StrictFloat, Field(gt=0)],
2689
- Tuple[
2690
- Annotated[StrictFloat, Field(gt=0)],
2691
- Annotated[StrictFloat, Field(gt=0)]
2692
- ]
2693
- ] = None,
2694
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2695
- _content_type: Optional[StrictStr] = None,
2696
- _headers: Optional[Dict[StrictStr, Any]] = None,
2697
- _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2698
- ) -> ApiV1AnalyticsCharacteristicsChangeGet200Response:
2699
- """(Deprecated) Смена характеристик
2700
-
2701
- Метод будет отключён 20 января. Используйте [актуальный метод](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah/operation/getDeductions) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
2702
-
2703
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
2704
- :type date_from: date
2705
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
2706
- :type date_to: date
2707
- :param _request_timeout: timeout setting for this request. If one
2708
- number provided, it will be total request
2709
- timeout. It can also be a pair (tuple) of
2710
- (connection, read) timeouts.
2711
- :type _request_timeout: int, tuple(int, int), optional
2712
- :param _request_auth: set to override the auth_settings for an a single
2713
- request; this effectively ignores the
2714
- authentication in the spec for a single request.
2715
- :type _request_auth: dict, optional
2716
- :param _content_type: force content-type for the request.
2717
- :type _content_type: str, Optional
2718
- :param _headers: set to override the headers for a single
2719
- request; this effectively ignores the headers
2720
- in the spec for a single request.
2721
- :type _headers: dict, optional
2722
- :param _host_index: set to override the host_index for a single
2723
- request; this effectively ignores the host_index
2724
- in the spec for a single request.
2725
- :type _host_index: int, optional
2726
- :return: Returns the result object.
2727
- """ # noqa: E501
2728
- warnings.warn("GET /api/v1/analytics/characteristics-change is deprecated.", DeprecationWarning)
2729
-
2730
- _param = self._api_v1_analytics_characteristics_change_get_serialize(
2731
- date_from=date_from,
2732
- date_to=date_to,
2733
- _request_auth=_request_auth,
2734
- _content_type=_content_type,
2735
- _headers=_headers,
2736
- _host_index=_host_index
2737
- )
2738
-
2739
- _response_types_map: Dict[str, Optional[str]] = {
2740
- '200': "ApiV1AnalyticsCharacteristicsChangeGet200Response",
2741
- '400': "Model4xxResponse",
2742
- '401': "ApiV1SupplierIncomesGet401Response",
2743
- '429': "ApiV1SupplierIncomesGet401Response",
2744
- }
2745
- response_data = self.api_client.call_api(
2746
- *_param,
2747
- _request_timeout=_request_timeout
2748
- )
2749
- response_data.read()
2750
- return self.api_client.response_deserialize(
2751
- response_data=response_data,
2752
- response_types_map=_response_types_map,
2753
- ).data
2754
-
2755
-
2756
- @validate_call
2757
- def api_v1_analytics_characteristics_change_get_with_http_info(
2758
- self,
2759
- date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД`")],
2760
- date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД`")],
2761
- _request_timeout: Union[
2762
- None,
2763
- Annotated[StrictFloat, Field(gt=0)],
2764
- Tuple[
2765
- Annotated[StrictFloat, Field(gt=0)],
2766
- Annotated[StrictFloat, Field(gt=0)]
2767
- ]
2768
- ] = None,
2769
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2770
- _content_type: Optional[StrictStr] = None,
2771
- _headers: Optional[Dict[StrictStr, Any]] = None,
2772
- _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2773
- ) -> ApiResponse[ApiV1AnalyticsCharacteristicsChangeGet200Response]:
2774
- """(Deprecated) Смена характеристик
2775
-
2776
- Метод будет отключён 20 января. Используйте [актуальный метод](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah/operation/getDeductions) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
2777
-
2778
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
2779
- :type date_from: date
2780
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
2781
- :type date_to: date
2782
- :param _request_timeout: timeout setting for this request. If one
2783
- number provided, it will be total request
2784
- timeout. It can also be a pair (tuple) of
2785
- (connection, read) timeouts.
2786
- :type _request_timeout: int, tuple(int, int), optional
2787
- :param _request_auth: set to override the auth_settings for an a single
2788
- request; this effectively ignores the
2789
- authentication in the spec for a single request.
2790
- :type _request_auth: dict, optional
2791
- :param _content_type: force content-type for the request.
2792
- :type _content_type: str, Optional
2793
- :param _headers: set to override the headers for a single
2794
- request; this effectively ignores the headers
2795
- in the spec for a single request.
2796
- :type _headers: dict, optional
2797
- :param _host_index: set to override the host_index for a single
2798
- request; this effectively ignores the host_index
2799
- in the spec for a single request.
2800
- :type _host_index: int, optional
2801
- :return: Returns the result object.
2802
- """ # noqa: E501
2803
- warnings.warn("GET /api/v1/analytics/characteristics-change is deprecated.", DeprecationWarning)
2804
-
2805
- _param = self._api_v1_analytics_characteristics_change_get_serialize(
2806
- date_from=date_from,
2807
- date_to=date_to,
2808
- _request_auth=_request_auth,
2809
- _content_type=_content_type,
2810
- _headers=_headers,
2811
- _host_index=_host_index
2812
- )
2813
-
2814
- _response_types_map: Dict[str, Optional[str]] = {
2815
- '200': "ApiV1AnalyticsCharacteristicsChangeGet200Response",
2816
- '400': "Model4xxResponse",
2817
- '401': "ApiV1SupplierIncomesGet401Response",
2818
- '429': "ApiV1SupplierIncomesGet401Response",
2819
- }
2820
- response_data = self.api_client.call_api(
2821
- *_param,
2822
- _request_timeout=_request_timeout
2823
- )
2824
- response_data.read()
2825
- return self.api_client.response_deserialize(
2826
- response_data=response_data,
2827
- response_types_map=_response_types_map,
2828
- )
2829
-
2830
-
2831
- @validate_call
2832
- def api_v1_analytics_characteristics_change_get_without_preload_content(
2833
- self,
2834
- date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД`")],
2835
- date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД`")],
2836
- _request_timeout: Union[
2837
- None,
2838
- Annotated[StrictFloat, Field(gt=0)],
2839
- Tuple[
2840
- Annotated[StrictFloat, Field(gt=0)],
2841
- Annotated[StrictFloat, Field(gt=0)]
2842
- ]
2843
- ] = None,
2844
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2845
- _content_type: Optional[StrictStr] = None,
2846
- _headers: Optional[Dict[StrictStr, Any]] = None,
2847
- _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2848
- ) -> RESTResponseType:
2849
- """(Deprecated) Смена характеристик
2850
-
2851
- Метод будет отключён 20 января. Используйте [актуальный метод](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah/operation/getDeductions) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
2852
-
2853
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
2854
- :type date_from: date
2855
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
2856
- :type date_to: date
2857
- :param _request_timeout: timeout setting for this request. If one
2858
- number provided, it will be total request
2859
- timeout. It can also be a pair (tuple) of
2860
- (connection, read) timeouts.
2861
- :type _request_timeout: int, tuple(int, int), optional
2862
- :param _request_auth: set to override the auth_settings for an a single
2863
- request; this effectively ignores the
2864
- authentication in the spec for a single request.
2865
- :type _request_auth: dict, optional
2866
- :param _content_type: force content-type for the request.
2867
- :type _content_type: str, Optional
2868
- :param _headers: set to override the headers for a single
2869
- request; this effectively ignores the headers
2870
- in the spec for a single request.
2871
- :type _headers: dict, optional
2872
- :param _host_index: set to override the host_index for a single
2873
- request; this effectively ignores the host_index
2874
- in the spec for a single request.
2875
- :type _host_index: int, optional
2876
- :return: Returns the result object.
2877
- """ # noqa: E501
2878
- warnings.warn("GET /api/v1/analytics/characteristics-change is deprecated.", DeprecationWarning)
2879
-
2880
- _param = self._api_v1_analytics_characteristics_change_get_serialize(
2881
- date_from=date_from,
2882
- date_to=date_to,
2883
- _request_auth=_request_auth,
2884
- _content_type=_content_type,
2885
- _headers=_headers,
2886
- _host_index=_host_index
2887
- )
2888
-
2889
- _response_types_map: Dict[str, Optional[str]] = {
2890
- '200': "ApiV1AnalyticsCharacteristicsChangeGet200Response",
2891
- '400': "Model4xxResponse",
2892
- '401': "ApiV1SupplierIncomesGet401Response",
2893
- '429': "ApiV1SupplierIncomesGet401Response",
2894
- }
2895
- response_data = self.api_client.call_api(
2896
- *_param,
2897
- _request_timeout=_request_timeout
2898
- )
2899
- return response_data.response
2900
-
2901
-
2902
- def _api_v1_analytics_characteristics_change_get_serialize(
2903
- self,
2904
- date_from,
2905
- date_to,
2906
- _request_auth,
2907
- _content_type,
2908
- _headers,
2909
- _host_index,
2910
- ) -> RequestSerialized:
2911
-
2912
- _hosts = [
2913
- 'https://seller-analytics-api.wildberries.ru'
2914
- ]
2915
- _host = _hosts[_host_index]
2916
-
2917
- _collection_formats: Dict[str, str] = {
2918
- }
2919
-
2920
- _path_params: Dict[str, str] = {}
2921
- _query_params: List[Tuple[str, str]] = []
2922
- _header_params: Dict[str, Optional[str]] = _headers or {}
2923
- _form_params: List[Tuple[str, str]] = []
2924
- _files: Dict[
2925
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2926
- ] = {}
2927
- _body_params: Optional[bytes] = None
2928
-
2929
- # process the path parameters
2930
- # process the query parameters
2931
- if date_from is not None:
2932
- if isinstance(date_from, date):
2933
- _query_params.append(
2934
- (
2935
- 'dateFrom',
2936
- date_from.strftime(
2937
- self.api_client.configuration.date_format
2938
- )
2939
- )
2940
- )
2941
- else:
2942
- _query_params.append(('dateFrom', date_from))
2943
-
2944
- if date_to is not None:
2945
- if isinstance(date_to, date):
2946
- _query_params.append(
2947
- (
2948
- 'dateTo',
2949
- date_to.strftime(
2950
- self.api_client.configuration.date_format
2951
- )
2952
- )
2953
- )
2954
- else:
2955
- _query_params.append(('dateTo', date_to))
2956
-
2957
- # process the header parameters
2958
- # process the form parameters
2959
- # process the body parameter
2960
-
2961
-
2962
- # set the HTTP header `Accept`
2963
- if 'Accept' not in _header_params:
2964
- _header_params['Accept'] = self.api_client.select_header_accept(
2965
- [
2966
- 'application/json',
2967
- 'application/problem+json'
2968
- ]
2969
- )
2970
-
2971
-
2972
- # authentication setting
2973
- _auth_settings: List[str] = [
2974
- 'HeaderApiKey'
2975
- ]
2976
-
2977
- return self.api_client.param_serialize(
2978
- method='GET',
2979
- resource_path='/api/v1/analytics/characteristics-change',
2980
- path_params=_path_params,
2981
- query_params=_query_params,
2982
- header_params=_header_params,
2983
- body=_body_params,
2984
- post_params=_form_params,
2985
- files=_files,
2986
- auth_settings=_auth_settings,
2987
- collection_formats=_collection_formats,
2988
- _host=_host,
2989
- _request_auth=_request_auth
2990
- )
2991
-
2992
-
2993
-
2994
-
2995
- @validate_call
2996
- def api_v1_analytics_excise_report_post(
2997
- self,
2998
- date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
2999
- date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3000
- excise_report_request: Optional[ExciseReportRequest] = None,
3001
- _request_timeout: Union[
3002
- None,
3003
- Annotated[StrictFloat, Field(gt=0)],
3004
- Tuple[
3005
- Annotated[StrictFloat, Field(gt=0)],
3006
- Annotated[StrictFloat, Field(gt=0)]
3007
- ]
3008
- ] = None,
3009
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
3010
- _content_type: Optional[StrictStr] = None,
3011
- _headers: Optional[Dict[StrictStr, Any]] = None,
3012
- _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3013
- ) -> ExciseReportResponse:
3014
- """Получить отчёт
3015
-
3016
- Метод возвращает отчёт с [операциями по товарам с обязательной маркировкой](https://seller.wildberries.ru/analytics-reports/excise-report).<br><br> Данный отчёт можно сохранить в [формате таблиц](https://dev.wildberries.ru/cases/1). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 5 часов | 10 запросов | 30 минут | 10 запросов | </div>
3017
-
3018
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3019
- :type date_from: str
3020
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3021
- :type date_to: str
3022
- :param excise_report_request:
3023
- :type excise_report_request: ExciseReportRequest
3024
- :param _request_timeout: timeout setting for this request. If one
3025
- number provided, it will be total request
3026
- timeout. It can also be a pair (tuple) of
3027
- (connection, read) timeouts.
3028
- :type _request_timeout: int, tuple(int, int), optional
3029
- :param _request_auth: set to override the auth_settings for an a single
3030
- request; this effectively ignores the
3031
- authentication in the spec for a single request.
3032
- :type _request_auth: dict, optional
3033
- :param _content_type: force content-type for the request.
3034
- :type _content_type: str, Optional
3035
- :param _headers: set to override the headers for a single
3036
- request; this effectively ignores the headers
3037
- in the spec for a single request.
3038
- :type _headers: dict, optional
3039
- :param _host_index: set to override the host_index for a single
3040
- request; this effectively ignores the host_index
3041
- in the spec for a single request.
3042
- :type _host_index: int, optional
3043
- :return: Returns the result object.
3044
- """ # noqa: E501
3045
-
3046
- _param = self._api_v1_analytics_excise_report_post_serialize(
3047
- date_from=date_from,
3048
- date_to=date_to,
3049
- excise_report_request=excise_report_request,
3050
- _request_auth=_request_auth,
3051
- _content_type=_content_type,
3052
- _headers=_headers,
3053
- _host_index=_host_index
3054
- )
3055
-
3056
- _response_types_map: Dict[str, Optional[str]] = {
3057
- '200': "ExciseReportResponse",
3058
- '400': "Model4xxResponse",
3059
- '401': "ApiV1SupplierIncomesGet401Response",
3060
- '429': "ApiV1SupplierIncomesGet401Response",
3061
- }
3062
- response_data = self.api_client.call_api(
3063
- *_param,
3064
- _request_timeout=_request_timeout
3065
- )
3066
- response_data.read()
3067
- return self.api_client.response_deserialize(
3068
- response_data=response_data,
3069
- response_types_map=_response_types_map,
3070
- ).data
3071
-
3072
-
3073
- @validate_call
3074
- def api_v1_analytics_excise_report_post_with_http_info(
3075
- self,
3076
- date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3077
- date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3078
- excise_report_request: Optional[ExciseReportRequest] = None,
3079
- _request_timeout: Union[
3080
- None,
3081
- Annotated[StrictFloat, Field(gt=0)],
3082
- Tuple[
3083
- Annotated[StrictFloat, Field(gt=0)],
3084
- Annotated[StrictFloat, Field(gt=0)]
3085
- ]
3086
- ] = None,
3087
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
3088
- _content_type: Optional[StrictStr] = None,
3089
- _headers: Optional[Dict[StrictStr, Any]] = None,
3090
- _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3091
- ) -> ApiResponse[ExciseReportResponse]:
3092
- """Получить отчёт
3093
-
3094
- Метод возвращает отчёт с [операциями по товарам с обязательной маркировкой](https://seller.wildberries.ru/analytics-reports/excise-report).<br><br> Данный отчёт можно сохранить в [формате таблиц](https://dev.wildberries.ru/cases/1). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 5 часов | 10 запросов | 30 минут | 10 запросов | </div>
3095
-
3096
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3097
- :type date_from: str
3098
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3099
- :type date_to: str
3100
- :param excise_report_request:
3101
- :type excise_report_request: ExciseReportRequest
3102
- :param _request_timeout: timeout setting for this request. If one
3103
- number provided, it will be total request
3104
- timeout. It can also be a pair (tuple) of
3105
- (connection, read) timeouts.
3106
- :type _request_timeout: int, tuple(int, int), optional
3107
- :param _request_auth: set to override the auth_settings for an a single
3108
- request; this effectively ignores the
3109
- authentication in the spec for a single request.
3110
- :type _request_auth: dict, optional
3111
- :param _content_type: force content-type for the request.
3112
- :type _content_type: str, Optional
3113
- :param _headers: set to override the headers for a single
3114
- request; this effectively ignores the headers
3115
- in the spec for a single request.
3116
- :type _headers: dict, optional
3117
- :param _host_index: set to override the host_index for a single
3118
- request; this effectively ignores the host_index
3119
- in the spec for a single request.
3120
- :type _host_index: int, optional
3121
- :return: Returns the result object.
3122
- """ # noqa: E501
3123
-
3124
- _param = self._api_v1_analytics_excise_report_post_serialize(
3125
- date_from=date_from,
3126
- date_to=date_to,
3127
- excise_report_request=excise_report_request,
3128
- _request_auth=_request_auth,
3129
- _content_type=_content_type,
3130
- _headers=_headers,
3131
- _host_index=_host_index
3132
- )
3133
-
3134
- _response_types_map: Dict[str, Optional[str]] = {
3135
- '200': "ExciseReportResponse",
3136
- '400': "Model4xxResponse",
3137
- '401': "ApiV1SupplierIncomesGet401Response",
3138
- '429': "ApiV1SupplierIncomesGet401Response",
3139
- }
3140
- response_data = self.api_client.call_api(
3141
- *_param,
3142
- _request_timeout=_request_timeout
3143
- )
3144
- response_data.read()
3145
- return self.api_client.response_deserialize(
3146
- response_data=response_data,
3147
- response_types_map=_response_types_map,
3148
- )
3149
-
3150
-
3151
- @validate_call
3152
- def api_v1_analytics_excise_report_post_without_preload_content(
2680
+ def api_v1_analytics_excise_report_post(
3153
2681
  self,
3154
2682
  date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3155
- date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3156
- excise_report_request: Optional[ExciseReportRequest] = None,
3157
- _request_timeout: Union[
3158
- None,
3159
- Annotated[StrictFloat, Field(gt=0)],
3160
- Tuple[
3161
- Annotated[StrictFloat, Field(gt=0)],
3162
- Annotated[StrictFloat, Field(gt=0)]
3163
- ]
3164
- ] = None,
3165
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
3166
- _content_type: Optional[StrictStr] = None,
3167
- _headers: Optional[Dict[StrictStr, Any]] = None,
3168
- _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3169
- ) -> RESTResponseType:
3170
- """Получить отчёт
3171
-
3172
- Метод возвращает отчёт с [операциями по товарам с обязательной маркировкой](https://seller.wildberries.ru/analytics-reports/excise-report).<br><br> Данный отчёт можно сохранить в [формате таблиц](https://dev.wildberries.ru/cases/1). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 5 часов | 10 запросов | 30 минут | 10 запросов | </div>
3173
-
3174
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3175
- :type date_from: str
3176
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3177
- :type date_to: str
3178
- :param excise_report_request:
3179
- :type excise_report_request: ExciseReportRequest
3180
- :param _request_timeout: timeout setting for this request. If one
3181
- number provided, it will be total request
3182
- timeout. It can also be a pair (tuple) of
3183
- (connection, read) timeouts.
3184
- :type _request_timeout: int, tuple(int, int), optional
3185
- :param _request_auth: set to override the auth_settings for an a single
3186
- request; this effectively ignores the
3187
- authentication in the spec for a single request.
3188
- :type _request_auth: dict, optional
3189
- :param _content_type: force content-type for the request.
3190
- :type _content_type: str, Optional
3191
- :param _headers: set to override the headers for a single
3192
- request; this effectively ignores the headers
3193
- in the spec for a single request.
3194
- :type _headers: dict, optional
3195
- :param _host_index: set to override the host_index for a single
3196
- request; this effectively ignores the host_index
3197
- in the spec for a single request.
3198
- :type _host_index: int, optional
3199
- :return: Returns the result object.
3200
- """ # noqa: E501
3201
-
3202
- _param = self._api_v1_analytics_excise_report_post_serialize(
3203
- date_from=date_from,
3204
- date_to=date_to,
3205
- excise_report_request=excise_report_request,
3206
- _request_auth=_request_auth,
3207
- _content_type=_content_type,
3208
- _headers=_headers,
3209
- _host_index=_host_index
3210
- )
3211
-
3212
- _response_types_map: Dict[str, Optional[str]] = {
3213
- '200': "ExciseReportResponse",
3214
- '400': "Model4xxResponse",
3215
- '401': "ApiV1SupplierIncomesGet401Response",
3216
- '429': "ApiV1SupplierIncomesGet401Response",
3217
- }
3218
- response_data = self.api_client.call_api(
3219
- *_param,
3220
- _request_timeout=_request_timeout
3221
- )
3222
- return response_data.response
3223
-
3224
-
3225
- def _api_v1_analytics_excise_report_post_serialize(
3226
- self,
3227
- date_from,
3228
- date_to,
3229
- excise_report_request,
3230
- _request_auth,
3231
- _content_type,
3232
- _headers,
3233
- _host_index,
3234
- ) -> RequestSerialized:
3235
-
3236
- _hosts = [
3237
- 'https://seller-analytics-api.wildberries.ru'
3238
- ]
3239
- _host = _hosts[_host_index]
3240
-
3241
- _collection_formats: Dict[str, str] = {
3242
- }
3243
-
3244
- _path_params: Dict[str, str] = {}
3245
- _query_params: List[Tuple[str, str]] = []
3246
- _header_params: Dict[str, Optional[str]] = _headers or {}
3247
- _form_params: List[Tuple[str, str]] = []
3248
- _files: Dict[
3249
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3250
- ] = {}
3251
- _body_params: Optional[bytes] = None
3252
-
3253
- # process the path parameters
3254
- # process the query parameters
3255
- if date_from is not None:
3256
-
3257
- _query_params.append(('dateFrom', date_from))
3258
-
3259
- if date_to is not None:
3260
-
3261
- _query_params.append(('dateTo', date_to))
3262
-
3263
- # process the header parameters
3264
- # process the form parameters
3265
- # process the body parameter
3266
- if excise_report_request is not None:
3267
- _body_params = excise_report_request
3268
-
3269
-
3270
- # set the HTTP header `Accept`
3271
- if 'Accept' not in _header_params:
3272
- _header_params['Accept'] = self.api_client.select_header_accept(
3273
- [
3274
- 'application/json',
3275
- 'application/problem+json'
3276
- ]
3277
- )
3278
-
3279
- # set the HTTP header `Content-Type`
3280
- if _content_type:
3281
- _header_params['Content-Type'] = _content_type
3282
- else:
3283
- _default_content_type = (
3284
- self.api_client.select_header_content_type(
3285
- [
3286
- 'application/json'
3287
- ]
3288
- )
3289
- )
3290
- if _default_content_type is not None:
3291
- _header_params['Content-Type'] = _default_content_type
3292
-
3293
- # authentication setting
3294
- _auth_settings: List[str] = [
3295
- 'HeaderApiKey'
3296
- ]
3297
-
3298
- return self.api_client.param_serialize(
3299
- method='POST',
3300
- resource_path='/api/v1/analytics/excise-report',
3301
- path_params=_path_params,
3302
- query_params=_query_params,
3303
- header_params=_header_params,
3304
- body=_body_params,
3305
- post_params=_form_params,
3306
- files=_files,
3307
- auth_settings=_auth_settings,
3308
- collection_formats=_collection_formats,
3309
- _host=_host,
3310
- _request_auth=_request_auth
3311
- )
3312
-
3313
-
3314
-
3315
-
3316
- @validate_call
3317
- def api_v1_analytics_goods_labeling_get(
3318
- self,
3319
- date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3320
- date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
2683
+ date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
2684
+ excise_report_request: Optional[ExciseReportRequest] = None,
3321
2685
  _request_timeout: Union[
3322
2686
  None,
3323
2687
  Annotated[StrictFloat, Field(gt=0)],
@@ -3330,15 +2694,17 @@ class DefaultApi:
3330
2694
  _content_type: Optional[StrictStr] = None,
3331
2695
  _headers: Optional[Dict[StrictStr, Any]] = None,
3332
2696
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3333
- ) -> ApiV1AnalyticsGoodsLabelingGet200Response:
3334
- """Маркировка товара
2697
+ ) -> ExciseReportResponse:
2698
+ """Получить отчёт
3335
2699
 
3336
- Метод возвращает отчёт о штрафах за отсутствие обязательной маркировки товаров.<br> В отчёте представлены фотографии товаров, на которых маркировка отсутствует либо не считывается.<br><br> Можно получить данные максимум за 31 день. Данные доступны с марта 2024. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
2700
+ Метод возвращает отчёт с [операциями по товарам с обязательной маркировкой](https://seller.wildberries.ru/analytics-reports/excise-report).<br><br> Данный отчёт можно сохранить в [формате таблиц](https://dev.wildberries.ru/cases/1). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 5 часов | 10 запросов | 30 минут | 10 запросов | </div>
3337
2701
 
3338
2702
  :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3339
- :type date_from: date
2703
+ :type date_from: str
3340
2704
  :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3341
- :type date_to: date
2705
+ :type date_to: str
2706
+ :param excise_report_request:
2707
+ :type excise_report_request: ExciseReportRequest
3342
2708
  :param _request_timeout: timeout setting for this request. If one
3343
2709
  number provided, it will be total request
3344
2710
  timeout. It can also be a pair (tuple) of
@@ -3361,9 +2727,10 @@ class DefaultApi:
3361
2727
  :return: Returns the result object.
3362
2728
  """ # noqa: E501
3363
2729
 
3364
- _param = self._api_v1_analytics_goods_labeling_get_serialize(
2730
+ _param = self._api_v1_analytics_excise_report_post_serialize(
3365
2731
  date_from=date_from,
3366
2732
  date_to=date_to,
2733
+ excise_report_request=excise_report_request,
3367
2734
  _request_auth=_request_auth,
3368
2735
  _content_type=_content_type,
3369
2736
  _headers=_headers,
@@ -3371,7 +2738,7 @@ class DefaultApi:
3371
2738
  )
3372
2739
 
3373
2740
  _response_types_map: Dict[str, Optional[str]] = {
3374
- '200': "ApiV1AnalyticsGoodsLabelingGet200Response",
2741
+ '200': "ExciseReportResponse",
3375
2742
  '400': "Model4xxResponse",
3376
2743
  '401': "ApiV1SupplierIncomesGet401Response",
3377
2744
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -3388,10 +2755,11 @@ class DefaultApi:
3388
2755
 
3389
2756
 
3390
2757
  @validate_call
3391
- def api_v1_analytics_goods_labeling_get_with_http_info(
2758
+ def api_v1_analytics_excise_report_post_with_http_info(
3392
2759
  self,
3393
- date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3394
- date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
2760
+ date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
2761
+ date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
2762
+ excise_report_request: Optional[ExciseReportRequest] = None,
3395
2763
  _request_timeout: Union[
3396
2764
  None,
3397
2765
  Annotated[StrictFloat, Field(gt=0)],
@@ -3404,15 +2772,17 @@ class DefaultApi:
3404
2772
  _content_type: Optional[StrictStr] = None,
3405
2773
  _headers: Optional[Dict[StrictStr, Any]] = None,
3406
2774
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3407
- ) -> ApiResponse[ApiV1AnalyticsGoodsLabelingGet200Response]:
3408
- """Маркировка товара
2775
+ ) -> ApiResponse[ExciseReportResponse]:
2776
+ """Получить отчёт
3409
2777
 
3410
- Метод возвращает отчёт о штрафах за отсутствие обязательной маркировки товаров.<br> В отчёте представлены фотографии товаров, на которых маркировка отсутствует либо не считывается.<br><br> Можно получить данные максимум за 31 день. Данные доступны с марта 2024. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
2778
+ Метод возвращает отчёт с [операциями по товарам с обязательной маркировкой](https://seller.wildberries.ru/analytics-reports/excise-report).<br><br> Данный отчёт можно сохранить в [формате таблиц](https://dev.wildberries.ru/cases/1). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 5 часов | 10 запросов | 30 минут | 10 запросов | </div>
3411
2779
 
3412
2780
  :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3413
- :type date_from: date
2781
+ :type date_from: str
3414
2782
  :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3415
- :type date_to: date
2783
+ :type date_to: str
2784
+ :param excise_report_request:
2785
+ :type excise_report_request: ExciseReportRequest
3416
2786
  :param _request_timeout: timeout setting for this request. If one
3417
2787
  number provided, it will be total request
3418
2788
  timeout. It can also be a pair (tuple) of
@@ -3435,9 +2805,10 @@ class DefaultApi:
3435
2805
  :return: Returns the result object.
3436
2806
  """ # noqa: E501
3437
2807
 
3438
- _param = self._api_v1_analytics_goods_labeling_get_serialize(
2808
+ _param = self._api_v1_analytics_excise_report_post_serialize(
3439
2809
  date_from=date_from,
3440
2810
  date_to=date_to,
2811
+ excise_report_request=excise_report_request,
3441
2812
  _request_auth=_request_auth,
3442
2813
  _content_type=_content_type,
3443
2814
  _headers=_headers,
@@ -3445,7 +2816,7 @@ class DefaultApi:
3445
2816
  )
3446
2817
 
3447
2818
  _response_types_map: Dict[str, Optional[str]] = {
3448
- '200': "ApiV1AnalyticsGoodsLabelingGet200Response",
2819
+ '200': "ExciseReportResponse",
3449
2820
  '400': "Model4xxResponse",
3450
2821
  '401': "ApiV1SupplierIncomesGet401Response",
3451
2822
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -3462,10 +2833,11 @@ class DefaultApi:
3462
2833
 
3463
2834
 
3464
2835
  @validate_call
3465
- def api_v1_analytics_goods_labeling_get_without_preload_content(
2836
+ def api_v1_analytics_excise_report_post_without_preload_content(
3466
2837
  self,
3467
- date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3468
- date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
2838
+ date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
2839
+ date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
2840
+ excise_report_request: Optional[ExciseReportRequest] = None,
3469
2841
  _request_timeout: Union[
3470
2842
  None,
3471
2843
  Annotated[StrictFloat, Field(gt=0)],
@@ -3479,14 +2851,16 @@ class DefaultApi:
3479
2851
  _headers: Optional[Dict[StrictStr, Any]] = None,
3480
2852
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3481
2853
  ) -> RESTResponseType:
3482
- """Маркировка товара
2854
+ """Получить отчёт
3483
2855
 
3484
- Метод возвращает отчёт о штрафах за отсутствие обязательной маркировки товаров.<br> В отчёте представлены фотографии товаров, на которых маркировка отсутствует либо не считывается.<br><br> Можно получить данные максимум за 31 день. Данные доступны с марта 2024. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
2856
+ Метод возвращает отчёт с [операциями по товарам с обязательной маркировкой](https://seller.wildberries.ru/analytics-reports/excise-report).<br><br> Данный отчёт можно сохранить в [формате таблиц](https://dev.wildberries.ru/cases/1). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 5 часов | 10 запросов | 30 минут | 10 запросов | </div>
3485
2857
 
3486
2858
  :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3487
- :type date_from: date
2859
+ :type date_from: str
3488
2860
  :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3489
- :type date_to: date
2861
+ :type date_to: str
2862
+ :param excise_report_request:
2863
+ :type excise_report_request: ExciseReportRequest
3490
2864
  :param _request_timeout: timeout setting for this request. If one
3491
2865
  number provided, it will be total request
3492
2866
  timeout. It can also be a pair (tuple) of
@@ -3509,9 +2883,10 @@ class DefaultApi:
3509
2883
  :return: Returns the result object.
3510
2884
  """ # noqa: E501
3511
2885
 
3512
- _param = self._api_v1_analytics_goods_labeling_get_serialize(
2886
+ _param = self._api_v1_analytics_excise_report_post_serialize(
3513
2887
  date_from=date_from,
3514
2888
  date_to=date_to,
2889
+ excise_report_request=excise_report_request,
3515
2890
  _request_auth=_request_auth,
3516
2891
  _content_type=_content_type,
3517
2892
  _headers=_headers,
@@ -3519,7 +2894,7 @@ class DefaultApi:
3519
2894
  )
3520
2895
 
3521
2896
  _response_types_map: Dict[str, Optional[str]] = {
3522
- '200': "ApiV1AnalyticsGoodsLabelingGet200Response",
2897
+ '200': "ExciseReportResponse",
3523
2898
  '400': "Model4xxResponse",
3524
2899
  '401': "ApiV1SupplierIncomesGet401Response",
3525
2900
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -3531,10 +2906,11 @@ class DefaultApi:
3531
2906
  return response_data.response
3532
2907
 
3533
2908
 
3534
- def _api_v1_analytics_goods_labeling_get_serialize(
2909
+ def _api_v1_analytics_excise_report_post_serialize(
3535
2910
  self,
3536
2911
  date_from,
3537
2912
  date_to,
2913
+ excise_report_request,
3538
2914
  _request_auth,
3539
2915
  _content_type,
3540
2916
  _headers,
@@ -3561,34 +2937,18 @@ class DefaultApi:
3561
2937
  # process the path parameters
3562
2938
  # process the query parameters
3563
2939
  if date_from is not None:
3564
- if isinstance(date_from, date):
3565
- _query_params.append(
3566
- (
3567
- 'dateFrom',
3568
- date_from.strftime(
3569
- self.api_client.configuration.date_format
3570
- )
3571
- )
3572
- )
3573
- else:
3574
- _query_params.append(('dateFrom', date_from))
2940
+
2941
+ _query_params.append(('dateFrom', date_from))
3575
2942
 
3576
2943
  if date_to is not None:
3577
- if isinstance(date_to, date):
3578
- _query_params.append(
3579
- (
3580
- 'dateTo',
3581
- date_to.strftime(
3582
- self.api_client.configuration.date_format
3583
- )
3584
- )
3585
- )
3586
- else:
3587
- _query_params.append(('dateTo', date_to))
2944
+
2945
+ _query_params.append(('dateTo', date_to))
3588
2946
 
3589
2947
  # process the header parameters
3590
2948
  # process the form parameters
3591
2949
  # process the body parameter
2950
+ if excise_report_request is not None:
2951
+ _body_params = excise_report_request
3592
2952
 
3593
2953
 
3594
2954
  # set the HTTP header `Accept`
@@ -3600,6 +2960,19 @@ class DefaultApi:
3600
2960
  ]
3601
2961
  )
3602
2962
 
2963
+ # set the HTTP header `Content-Type`
2964
+ if _content_type:
2965
+ _header_params['Content-Type'] = _content_type
2966
+ else:
2967
+ _default_content_type = (
2968
+ self.api_client.select_header_content_type(
2969
+ [
2970
+ 'application/json'
2971
+ ]
2972
+ )
2973
+ )
2974
+ if _default_content_type is not None:
2975
+ _header_params['Content-Type'] = _default_content_type
3603
2976
 
3604
2977
  # authentication setting
3605
2978
  _auth_settings: List[str] = [
@@ -3607,8 +2980,8 @@ class DefaultApi:
3607
2980
  ]
3608
2981
 
3609
2982
  return self.api_client.param_serialize(
3610
- method='GET',
3611
- resource_path='/api/v1/analytics/goods-labeling',
2983
+ method='POST',
2984
+ resource_path='/api/v1/analytics/excise-report',
3612
2985
  path_params=_path_params,
3613
2986
  query_params=_query_params,
3614
2987
  header_params=_header_params,
@@ -3625,10 +2998,10 @@ class DefaultApi:
3625
2998
 
3626
2999
 
3627
3000
  @validate_call
3628
- def api_v1_analytics_goods_return_get(
3001
+ def api_v1_analytics_goods_labeling_get(
3629
3002
  self,
3630
- date_from: Annotated[date, Field(description="Дата начала отчётного периода")],
3631
- date_to: Annotated[date, Field(description="Дата окончания отчётного периода")],
3003
+ date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3004
+ date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3632
3005
  _request_timeout: Union[
3633
3006
  None,
3634
3007
  Annotated[StrictFloat, Field(gt=0)],
@@ -3641,14 +3014,14 @@ class DefaultApi:
3641
3014
  _content_type: Optional[StrictStr] = None,
3642
3015
  _headers: Optional[Dict[StrictStr, Any]] = None,
3643
3016
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3644
- ) -> ApiV1AnalyticsGoodsReturnGet200Response:
3645
- """Получить отчёт
3017
+ ) -> ApiV1AnalyticsGoodsLabelingGet200Response:
3018
+ """Маркировка товара
3646
3019
 
3647
- Метод возвращает отчёт о [возвратах товаров продавцу](https://seller.wildberries.ru/analytics-reports/goods-return). <br><br> Можно получить отчёт максимум за 31 день. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3020
+ Метод возвращает отчёт о штрафах за отсутствие обязательной маркировки товаров.<br> В отчёте представлены фотографии товаров, на которых маркировка отсутствует либо не считывается.<br><br> Можно получить данные максимум за 31 день. Данные доступны с марта 2024. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3648
3021
 
3649
- :param date_from: Дата начала отчётного периода (required)
3022
+ :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3650
3023
  :type date_from: date
3651
- :param date_to: Дата окончания отчётного периода (required)
3024
+ :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3652
3025
  :type date_to: date
3653
3026
  :param _request_timeout: timeout setting for this request. If one
3654
3027
  number provided, it will be total request
@@ -3672,7 +3045,7 @@ class DefaultApi:
3672
3045
  :return: Returns the result object.
3673
3046
  """ # noqa: E501
3674
3047
 
3675
- _param = self._api_v1_analytics_goods_return_get_serialize(
3048
+ _param = self._api_v1_analytics_goods_labeling_get_serialize(
3676
3049
  date_from=date_from,
3677
3050
  date_to=date_to,
3678
3051
  _request_auth=_request_auth,
@@ -3682,7 +3055,7 @@ class DefaultApi:
3682
3055
  )
3683
3056
 
3684
3057
  _response_types_map: Dict[str, Optional[str]] = {
3685
- '200': "ApiV1AnalyticsGoodsReturnGet200Response",
3058
+ '200': "ApiV1AnalyticsGoodsLabelingGet200Response",
3686
3059
  '400': "Model4xxResponse",
3687
3060
  '401': "ApiV1SupplierIncomesGet401Response",
3688
3061
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -3699,10 +3072,10 @@ class DefaultApi:
3699
3072
 
3700
3073
 
3701
3074
  @validate_call
3702
- def api_v1_analytics_goods_return_get_with_http_info(
3075
+ def api_v1_analytics_goods_labeling_get_with_http_info(
3703
3076
  self,
3704
- date_from: Annotated[date, Field(description="Дата начала отчётного периода")],
3705
- date_to: Annotated[date, Field(description="Дата окончания отчётного периода")],
3077
+ date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3078
+ date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3706
3079
  _request_timeout: Union[
3707
3080
  None,
3708
3081
  Annotated[StrictFloat, Field(gt=0)],
@@ -3715,14 +3088,14 @@ class DefaultApi:
3715
3088
  _content_type: Optional[StrictStr] = None,
3716
3089
  _headers: Optional[Dict[StrictStr, Any]] = None,
3717
3090
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3718
- ) -> ApiResponse[ApiV1AnalyticsGoodsReturnGet200Response]:
3719
- """Получить отчёт
3091
+ ) -> ApiResponse[ApiV1AnalyticsGoodsLabelingGet200Response]:
3092
+ """Маркировка товара
3720
3093
 
3721
- Метод возвращает отчёт о [возвратах товаров продавцу](https://seller.wildberries.ru/analytics-reports/goods-return). <br><br> Можно получить отчёт максимум за 31 день. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3094
+ Метод возвращает отчёт о штрафах за отсутствие обязательной маркировки товаров.<br> В отчёте представлены фотографии товаров, на которых маркировка отсутствует либо не считывается.<br><br> Можно получить данные максимум за 31 день. Данные доступны с марта 2024. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3722
3095
 
3723
- :param date_from: Дата начала отчётного периода (required)
3096
+ :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3724
3097
  :type date_from: date
3725
- :param date_to: Дата окончания отчётного периода (required)
3098
+ :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3726
3099
  :type date_to: date
3727
3100
  :param _request_timeout: timeout setting for this request. If one
3728
3101
  number provided, it will be total request
@@ -3746,7 +3119,7 @@ class DefaultApi:
3746
3119
  :return: Returns the result object.
3747
3120
  """ # noqa: E501
3748
3121
 
3749
- _param = self._api_v1_analytics_goods_return_get_serialize(
3122
+ _param = self._api_v1_analytics_goods_labeling_get_serialize(
3750
3123
  date_from=date_from,
3751
3124
  date_to=date_to,
3752
3125
  _request_auth=_request_auth,
@@ -3756,7 +3129,7 @@ class DefaultApi:
3756
3129
  )
3757
3130
 
3758
3131
  _response_types_map: Dict[str, Optional[str]] = {
3759
- '200': "ApiV1AnalyticsGoodsReturnGet200Response",
3132
+ '200': "ApiV1AnalyticsGoodsLabelingGet200Response",
3760
3133
  '400': "Model4xxResponse",
3761
3134
  '401': "ApiV1SupplierIncomesGet401Response",
3762
3135
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -3773,10 +3146,10 @@ class DefaultApi:
3773
3146
 
3774
3147
 
3775
3148
  @validate_call
3776
- def api_v1_analytics_goods_return_get_without_preload_content(
3149
+ def api_v1_analytics_goods_labeling_get_without_preload_content(
3777
3150
  self,
3778
- date_from: Annotated[date, Field(description="Дата начала отчётного периода")],
3779
- date_to: Annotated[date, Field(description="Дата окончания отчётного периода")],
3151
+ date_from: Annotated[date, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3152
+ date_to: Annotated[date, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3780
3153
  _request_timeout: Union[
3781
3154
  None,
3782
3155
  Annotated[StrictFloat, Field(gt=0)],
@@ -3790,13 +3163,13 @@ class DefaultApi:
3790
3163
  _headers: Optional[Dict[StrictStr, Any]] = None,
3791
3164
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3792
3165
  ) -> RESTResponseType:
3793
- """Получить отчёт
3166
+ """Маркировка товара
3794
3167
 
3795
- Метод возвращает отчёт о [возвратах товаров продавцу](https://seller.wildberries.ru/analytics-reports/goods-return). <br><br> Можно получить отчёт максимум за 31 день. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3168
+ Метод возвращает отчёт о штрафах за отсутствие обязательной маркировки товаров.<br> В отчёте представлены фотографии товаров, на которых маркировка отсутствует либо не считывается.<br><br> Можно получить данные максимум за 31 день. Данные доступны с марта 2024. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3796
3169
 
3797
- :param date_from: Дата начала отчётного периода (required)
3170
+ :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3798
3171
  :type date_from: date
3799
- :param date_to: Дата окончания отчётного периода (required)
3172
+ :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3800
3173
  :type date_to: date
3801
3174
  :param _request_timeout: timeout setting for this request. If one
3802
3175
  number provided, it will be total request
@@ -3820,7 +3193,7 @@ class DefaultApi:
3820
3193
  :return: Returns the result object.
3821
3194
  """ # noqa: E501
3822
3195
 
3823
- _param = self._api_v1_analytics_goods_return_get_serialize(
3196
+ _param = self._api_v1_analytics_goods_labeling_get_serialize(
3824
3197
  date_from=date_from,
3825
3198
  date_to=date_to,
3826
3199
  _request_auth=_request_auth,
@@ -3830,7 +3203,7 @@ class DefaultApi:
3830
3203
  )
3831
3204
 
3832
3205
  _response_types_map: Dict[str, Optional[str]] = {
3833
- '200': "ApiV1AnalyticsGoodsReturnGet200Response",
3206
+ '200': "ApiV1AnalyticsGoodsLabelingGet200Response",
3834
3207
  '400': "Model4xxResponse",
3835
3208
  '401': "ApiV1SupplierIncomesGet401Response",
3836
3209
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -3842,7 +3215,7 @@ class DefaultApi:
3842
3215
  return response_data.response
3843
3216
 
3844
3217
 
3845
- def _api_v1_analytics_goods_return_get_serialize(
3218
+ def _api_v1_analytics_goods_labeling_get_serialize(
3846
3219
  self,
3847
3220
  date_from,
3848
3221
  date_to,
@@ -3919,7 +3292,7 @@ class DefaultApi:
3919
3292
 
3920
3293
  return self.api_client.param_serialize(
3921
3294
  method='GET',
3922
- resource_path='/api/v1/analytics/goods-return',
3295
+ resource_path='/api/v1/analytics/goods-labeling',
3923
3296
  path_params=_path_params,
3924
3297
  query_params=_query_params,
3925
3298
  header_params=_header_params,
@@ -3936,10 +3309,10 @@ class DefaultApi:
3936
3309
 
3937
3310
 
3938
3311
  @validate_call
3939
- def api_v1_analytics_incorrect_attachments_get(
3312
+ def api_v1_analytics_goods_return_get(
3940
3313
  self,
3941
- date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
3942
- date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3314
+ date_from: Annotated[date, Field(description="Дата начала отчётного периода")],
3315
+ date_to: Annotated[date, Field(description="Дата окончания отчётного периода")],
3943
3316
  _request_timeout: Union[
3944
3317
  None,
3945
3318
  Annotated[StrictFloat, Field(gt=0)],
@@ -3952,15 +3325,15 @@ class DefaultApi:
3952
3325
  _content_type: Optional[StrictStr] = None,
3953
3326
  _headers: Optional[Dict[StrictStr, Any]] = None,
3954
3327
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3955
- ) -> ApiV1AnalyticsIncorrectAttachmentsGet200Response:
3956
- """(Deprecated) Подмена товара
3328
+ ) -> ApiV1AnalyticsGoodsReturnGet200Response:
3329
+ """Получить отчёт
3957
3330
 
3958
- Метод будет отключён 20 января. Используйте [актуальный метод](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah/operation/getDeductions) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3331
+ Метод возвращает отчёт о [возвратах товаров продавцу](https://seller.wildberries.ru/analytics-reports/goods-return). <br><br> Можно получить отчёт максимум за 31 день. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3959
3332
 
3960
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
3961
- :type date_from: str
3962
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
3963
- :type date_to: str
3333
+ :param date_from: Дата начала отчётного периода (required)
3334
+ :type date_from: date
3335
+ :param date_to: Дата окончания отчётного периода (required)
3336
+ :type date_to: date
3964
3337
  :param _request_timeout: timeout setting for this request. If one
3965
3338
  number provided, it will be total request
3966
3339
  timeout. It can also be a pair (tuple) of
@@ -3982,9 +3355,8 @@ class DefaultApi:
3982
3355
  :type _host_index: int, optional
3983
3356
  :return: Returns the result object.
3984
3357
  """ # noqa: E501
3985
- warnings.warn("GET /api/v1/analytics/incorrect-attachments is deprecated.", DeprecationWarning)
3986
3358
 
3987
- _param = self._api_v1_analytics_incorrect_attachments_get_serialize(
3359
+ _param = self._api_v1_analytics_goods_return_get_serialize(
3988
3360
  date_from=date_from,
3989
3361
  date_to=date_to,
3990
3362
  _request_auth=_request_auth,
@@ -3994,7 +3366,7 @@ class DefaultApi:
3994
3366
  )
3995
3367
 
3996
3368
  _response_types_map: Dict[str, Optional[str]] = {
3997
- '200': "ApiV1AnalyticsIncorrectAttachmentsGet200Response",
3369
+ '200': "ApiV1AnalyticsGoodsReturnGet200Response",
3998
3370
  '400': "Model4xxResponse",
3999
3371
  '401': "ApiV1SupplierIncomesGet401Response",
4000
3372
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -4011,10 +3383,10 @@ class DefaultApi:
4011
3383
 
4012
3384
 
4013
3385
  @validate_call
4014
- def api_v1_analytics_incorrect_attachments_get_with_http_info(
3386
+ def api_v1_analytics_goods_return_get_with_http_info(
4015
3387
  self,
4016
- date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
4017
- date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3388
+ date_from: Annotated[date, Field(description="Дата начала отчётного периода")],
3389
+ date_to: Annotated[date, Field(description="Дата окончания отчётного периода")],
4018
3390
  _request_timeout: Union[
4019
3391
  None,
4020
3392
  Annotated[StrictFloat, Field(gt=0)],
@@ -4027,15 +3399,15 @@ class DefaultApi:
4027
3399
  _content_type: Optional[StrictStr] = None,
4028
3400
  _headers: Optional[Dict[StrictStr, Any]] = None,
4029
3401
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4030
- ) -> ApiResponse[ApiV1AnalyticsIncorrectAttachmentsGet200Response]:
4031
- """(Deprecated) Подмена товара
3402
+ ) -> ApiResponse[ApiV1AnalyticsGoodsReturnGet200Response]:
3403
+ """Получить отчёт
4032
3404
 
4033
- Метод будет отключён 20 января. Используйте [актуальный метод](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah/operation/getDeductions) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3405
+ Метод возвращает отчёт о [возвратах товаров продавцу](https://seller.wildberries.ru/analytics-reports/goods-return). <br><br> Можно получить отчёт максимум за 31 день. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
4034
3406
 
4035
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
4036
- :type date_from: str
4037
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
4038
- :type date_to: str
3407
+ :param date_from: Дата начала отчётного периода (required)
3408
+ :type date_from: date
3409
+ :param date_to: Дата окончания отчётного периода (required)
3410
+ :type date_to: date
4039
3411
  :param _request_timeout: timeout setting for this request. If one
4040
3412
  number provided, it will be total request
4041
3413
  timeout. It can also be a pair (tuple) of
@@ -4057,9 +3429,8 @@ class DefaultApi:
4057
3429
  :type _host_index: int, optional
4058
3430
  :return: Returns the result object.
4059
3431
  """ # noqa: E501
4060
- warnings.warn("GET /api/v1/analytics/incorrect-attachments is deprecated.", DeprecationWarning)
4061
3432
 
4062
- _param = self._api_v1_analytics_incorrect_attachments_get_serialize(
3433
+ _param = self._api_v1_analytics_goods_return_get_serialize(
4063
3434
  date_from=date_from,
4064
3435
  date_to=date_to,
4065
3436
  _request_auth=_request_auth,
@@ -4069,7 +3440,7 @@ class DefaultApi:
4069
3440
  )
4070
3441
 
4071
3442
  _response_types_map: Dict[str, Optional[str]] = {
4072
- '200': "ApiV1AnalyticsIncorrectAttachmentsGet200Response",
3443
+ '200': "ApiV1AnalyticsGoodsReturnGet200Response",
4073
3444
  '400': "Model4xxResponse",
4074
3445
  '401': "ApiV1SupplierIncomesGet401Response",
4075
3446
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -4086,10 +3457,10 @@ class DefaultApi:
4086
3457
 
4087
3458
 
4088
3459
  @validate_call
4089
- def api_v1_analytics_incorrect_attachments_get_without_preload_content(
3460
+ def api_v1_analytics_goods_return_get_without_preload_content(
4090
3461
  self,
4091
- date_from: Annotated[StrictStr, Field(description="Начало отчётного периода, `ГГГГ-ММ-ДД` ")],
4092
- date_to: Annotated[StrictStr, Field(description="Конец отчётного периода, `ГГГГ-ММ-ДД` ")],
3462
+ date_from: Annotated[date, Field(description="Дата начала отчётного периода")],
3463
+ date_to: Annotated[date, Field(description="Дата окончания отчётного периода")],
4093
3464
  _request_timeout: Union[
4094
3465
  None,
4095
3466
  Annotated[StrictFloat, Field(gt=0)],
@@ -4103,14 +3474,14 @@ class DefaultApi:
4103
3474
  _headers: Optional[Dict[StrictStr, Any]] = None,
4104
3475
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4105
3476
  ) -> RESTResponseType:
4106
- """(Deprecated) Подмена товара
3477
+ """Получить отчёт
4107
3478
 
4108
- Метод будет отключён 20 января. Используйте [актуальный метод](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah/operation/getDeductions) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
3479
+ Метод возвращает отчёт о [возвратах товаров продавцу](https://seller.wildberries.ru/analytics-reports/goods-return). <br><br> Можно получить отчёт максимум за 31 день. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1 запрос | 1 минута | 10 запросов | </div>
4109
3480
 
4110
- :param date_from: Начало отчётного периода, `ГГГГ-ММ-ДД` (required)
4111
- :type date_from: str
4112
- :param date_to: Конец отчётного периода, `ГГГГ-ММ-ДД` (required)
4113
- :type date_to: str
3481
+ :param date_from: Дата начала отчётного периода (required)
3482
+ :type date_from: date
3483
+ :param date_to: Дата окончания отчётного периода (required)
3484
+ :type date_to: date
4114
3485
  :param _request_timeout: timeout setting for this request. If one
4115
3486
  number provided, it will be total request
4116
3487
  timeout. It can also be a pair (tuple) of
@@ -4132,9 +3503,8 @@ class DefaultApi:
4132
3503
  :type _host_index: int, optional
4133
3504
  :return: Returns the result object.
4134
3505
  """ # noqa: E501
4135
- warnings.warn("GET /api/v1/analytics/incorrect-attachments is deprecated.", DeprecationWarning)
4136
3506
 
4137
- _param = self._api_v1_analytics_incorrect_attachments_get_serialize(
3507
+ _param = self._api_v1_analytics_goods_return_get_serialize(
4138
3508
  date_from=date_from,
4139
3509
  date_to=date_to,
4140
3510
  _request_auth=_request_auth,
@@ -4144,7 +3514,7 @@ class DefaultApi:
4144
3514
  )
4145
3515
 
4146
3516
  _response_types_map: Dict[str, Optional[str]] = {
4147
- '200': "ApiV1AnalyticsIncorrectAttachmentsGet200Response",
3517
+ '200': "ApiV1AnalyticsGoodsReturnGet200Response",
4148
3518
  '400': "Model4xxResponse",
4149
3519
  '401': "ApiV1SupplierIncomesGet401Response",
4150
3520
  '429': "ApiV1SupplierIncomesGet401Response",
@@ -4156,7 +3526,7 @@ class DefaultApi:
4156
3526
  return response_data.response
4157
3527
 
4158
3528
 
4159
- def _api_v1_analytics_incorrect_attachments_get_serialize(
3529
+ def _api_v1_analytics_goods_return_get_serialize(
4160
3530
  self,
4161
3531
  date_from,
4162
3532
  date_to,
@@ -4186,12 +3556,30 @@ class DefaultApi:
4186
3556
  # process the path parameters
4187
3557
  # process the query parameters
4188
3558
  if date_from is not None:
4189
-
4190
- _query_params.append(('dateFrom', date_from))
3559
+ if isinstance(date_from, date):
3560
+ _query_params.append(
3561
+ (
3562
+ 'dateFrom',
3563
+ date_from.strftime(
3564
+ self.api_client.configuration.date_format
3565
+ )
3566
+ )
3567
+ )
3568
+ else:
3569
+ _query_params.append(('dateFrom', date_from))
4191
3570
 
4192
3571
  if date_to is not None:
4193
-
4194
- _query_params.append(('dateTo', date_to))
3572
+ if isinstance(date_to, date):
3573
+ _query_params.append(
3574
+ (
3575
+ 'dateTo',
3576
+ date_to.strftime(
3577
+ self.api_client.configuration.date_format
3578
+ )
3579
+ )
3580
+ )
3581
+ else:
3582
+ _query_params.append(('dateTo', date_to))
4195
3583
 
4196
3584
  # process the header parameters
4197
3585
  # process the form parameters
@@ -4215,7 +3603,7 @@ class DefaultApi:
4215
3603
 
4216
3604
  return self.api_client.param_serialize(
4217
3605
  method='GET',
4218
- resource_path='/api/v1/analytics/incorrect-attachments',
3606
+ resource_path='/api/v1/analytics/goods-return',
4219
3607
  path_params=_path_params,
4220
3608
  query_params=_query_params,
4221
3609
  header_params=_header_params,