wildberries-sdk 0.1.30__py3-none-any.whl → 0.1.32__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.
- wildberries_sdk/analytics/__init__.py +1 -1
- wildberries_sdk/analytics/api_client.py +1 -1
- wildberries_sdk/analytics/configuration.py +1 -1
- wildberries_sdk/communications/__init__.py +1 -1
- wildberries_sdk/communications/api_client.py +1 -1
- wildberries_sdk/communications/configuration.py +1 -1
- wildberries_sdk/communications/models/good_card.py +1 -1
- wildberries_sdk/finances/__init__.py +1 -1
- wildberries_sdk/finances/api_client.py +1 -1
- wildberries_sdk/finances/configuration.py +1 -1
- wildberries_sdk/general/__init__.py +1 -1
- wildberries_sdk/general/api_client.py +1 -1
- wildberries_sdk/general/configuration.py +1 -1
- wildberries_sdk/in_store_pickup/__init__.py +1 -1
- wildberries_sdk/in_store_pickup/api_client.py +1 -1
- wildberries_sdk/in_store_pickup/configuration.py +1 -1
- wildberries_sdk/orders_dbs/__init__.py +1 -1
- wildberries_sdk/orders_dbs/api_client.py +1 -1
- wildberries_sdk/orders_dbs/configuration.py +1 -1
- wildberries_sdk/orders_dbw/__init__.py +2 -2
- wildberries_sdk/orders_dbw/api/default_api.py +1 -1
- wildberries_sdk/orders_dbw/api_client.py +2 -2
- wildberries_sdk/orders_dbw/configuration.py +2 -2
- wildberries_sdk/orders_dbw/exceptions.py +1 -1
- wildberries_sdk/orders_dbw/models/__init__.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_get200_response.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_new_get200_response.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_new_get401_response.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_get200_response.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_gtin_put_request.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_imei_put_request.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_sgtin_put_request.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_uin_put_request.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_status_post200_response.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_status_post200_response_orders_inner.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_status_post_request.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_stickers_post200_response.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_stickers_post200_response_stickers_inner.py +1 -1
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_stickers_post_request.py +1 -1
- wildberries_sdk/orders_dbw/models/courier_contacts_response.py +1 -1
- wildberries_sdk/orders_dbw/models/courier_info.py +1 -1
- wildberries_sdk/orders_dbw/models/delivery_dates_info_resp.py +1 -1
- wildberries_sdk/orders_dbw/models/delivery_dates_info_resp_orders_inner.py +1 -1
- wildberries_sdk/orders_dbw/models/delivery_dates_request.py +1 -1
- wildberries_sdk/orders_dbw/models/error.py +1 -1
- wildberries_sdk/orders_dbw/models/meta.py +1 -1
- wildberries_sdk/orders_dbw/models/meta_gtin.py +1 -1
- wildberries_sdk/orders_dbw/models/meta_imei.py +1 -1
- wildberries_sdk/orders_dbw/models/meta_sgtin.py +1 -1
- wildberries_sdk/orders_dbw/models/meta_uin.py +1 -1
- wildberries_sdk/orders_dbw/models/order.py +1 -1
- wildberries_sdk/orders_dbw/models/order_courier_info.py +1 -1
- wildberries_sdk/orders_dbw/models/order_courier_info_resp.py +1 -1
- wildberries_sdk/orders_dbw/models/order_new_dbw.py +1 -1
- wildberries_sdk/orders_dbw/models/order_new_dbw_address.py +1 -1
- wildberries_sdk/orders_dbw/models/order_new_dbw_options.py +1 -1
- wildberries_sdk/orders_dbw/models/orders_request_api.py +1 -1
- wildberries_sdk/orders_dbw/rest.py +1 -1
- wildberries_sdk/orders_fbs/__init__.py +2 -2
- wildberries_sdk/orders_fbs/api/default_api.py +1 -1
- wildberries_sdk/orders_fbs/api_client.py +2 -2
- wildberries_sdk/orders_fbs/configuration.py +2 -2
- wildberries_sdk/orders_fbs/exceptions.py +1 -1
- wildberries_sdk/orders_fbs/models/__init__.py +1 -1
- wildberries_sdk/orders_fbs/models/api_marketplace_v3_orders_order_id_meta_customs_declaration_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_marketplace_v3_supplies_supply_id_orders_patch_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_get200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_new_get200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_expiration_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_gtin_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_imei_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_sgtin_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_uin_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response_orders_inner.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response_orders_inner_statuses_inner.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_post200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_post200_response_orders_inner.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post200_response_stickers_inner.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post200_response_stickers_inner.py +3 -3
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_passes_offices_get401_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_passes_pass_id_put_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_passes_post201_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_passes_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_get200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_orders_reshipment_get200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_orders_reshipment_get200_response_orders_inner.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_post201_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_barcode_get200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_delete_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_get200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_post201_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_stickers_post200_response.py +1 -1
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_stickers_post_request.py +1 -1
- wildberries_sdk/orders_fbs/models/crossborder_turkey_client_info.py +1 -1
- wildberries_sdk/orders_fbs/models/crossborder_turkey_client_info_resp.py +1 -1
- wildberries_sdk/orders_fbs/models/error.py +1 -1
- wildberries_sdk/orders_fbs/models/meta.py +1 -1
- wildberries_sdk/orders_fbs/models/meta_customs_declaration.py +1 -1
- wildberries_sdk/orders_fbs/models/meta_expiration.py +1 -1
- wildberries_sdk/orders_fbs/models/meta_gtin.py +1 -1
- wildberries_sdk/orders_fbs/models/meta_imei.py +1 -1
- wildberries_sdk/orders_fbs/models/meta_sgtin.py +1 -1
- wildberries_sdk/orders_fbs/models/meta_uin.py +1 -1
- wildberries_sdk/orders_fbs/models/model_pass.py +1 -1
- wildberries_sdk/orders_fbs/models/order.py +1 -1
- wildberries_sdk/orders_fbs/models/order_address.py +1 -1
- wildberries_sdk/orders_fbs/models/order_new.py +1 -1
- wildberries_sdk/orders_fbs/models/order_options.py +1 -1
- wildberries_sdk/orders_fbs/models/orders_request_api.py +1 -1
- wildberries_sdk/orders_fbs/models/pass_office.py +1 -1
- wildberries_sdk/orders_fbs/models/supply.py +1 -1
- wildberries_sdk/orders_fbs/models/supply_trbx.py +1 -1
- wildberries_sdk/orders_fbs/models/trbx_stickers.py +1 -1
- wildberries_sdk/orders_fbs/models/v3_api_error.py +1 -1
- wildberries_sdk/orders_fbs/models/v3_get_meta_multi_request.py +1 -1
- wildberries_sdk/orders_fbs/models/v3_order_meta_api.py +1 -1
- wildberries_sdk/orders_fbs/models/v3_orders_meta_api.py +1 -1
- wildberries_sdk/orders_fbs/models/v3_supply_order_ids_api.py +1 -1
- wildberries_sdk/orders_fbs/rest.py +1 -1
- wildberries_sdk/orders_fbw/__init__.py +1 -1
- wildberries_sdk/orders_fbw/api_client.py +1 -1
- wildberries_sdk/orders_fbw/configuration.py +1 -1
- wildberries_sdk/products/__init__.py +2 -2
- wildberries_sdk/products/api/default_api.py +13 -13
- wildberries_sdk/products/api_client.py +2 -2
- wildberries_sdk/products/configuration.py +2 -2
- wildberries_sdk/products/exceptions.py +1 -1
- wildberries_sdk/products/models/__init__.py +1 -1
- wildberries_sdk/products/models/api_v2_buffer_goods_task_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_buffer_goods_task_get200_response_data.py +1 -1
- wildberries_sdk/products/models/api_v2_buffer_tasks_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_history_goods_task_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_history_goods_task_get200_response_data.py +1 -1
- wildberries_sdk/products/models/api_v2_history_tasks_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_list_goods_filter_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_list_goods_filter_get200_response_data.py +1 -1
- wildberries_sdk/products/models/api_v2_list_goods_filter_post_request.py +1 -1
- wildberries_sdk/products/models/api_v2_list_goods_size_nm_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_list_goods_size_nm_get200_response_data.py +1 -1
- wildberries_sdk/products/models/api_v2_quarantine_goods_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v2_quarantine_goods_get200_response_data.py +1 -1
- wildberries_sdk/products/models/api_v2_upload_task_club_discount_post_request.py +1 -1
- wildberries_sdk/products/models/api_v2_upload_task_post_request.py +1 -1
- wildberries_sdk/products/models/api_v2_upload_task_size_post_request.py +1 -1
- wildberries_sdk/products/models/api_v3_dbw_warehouses_warehouse_id_contacts_get200_response.py +1 -1
- wildberries_sdk/products/models/api_v3_dbw_warehouses_warehouse_id_contacts_get200_response_contacts_inner.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_delete_request.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_post200_response.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_post200_response_stocks_inner.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_post_request.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_put406_response.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_put_request.py +1 -1
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_put_request_stocks_inner.py +1 -1
- wildberries_sdk/products/models/api_v3_warehouses_post201_response.py +1 -1
- wildberries_sdk/products/models/api_v3_warehouses_post_request.py +1 -1
- wildberries_sdk/products/models/brands_response.py +1 -1
- wildberries_sdk/products/models/brands_response_brands_inner.py +1 -1
- wildberries_sdk/products/models/brands_response_error.py +1 -1
- wildberries_sdk/products/models/brands_response_error_errors_inner.py +1 -1
- wildberries_sdk/products/models/club_disc_req.py +1 -1
- wildberries_sdk/products/models/content_v2_barcodes_post200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_barcodes_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_delete_trash_post200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_delete_trash_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_limits_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_limits_get200_response_data.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_move_nm_post400_response.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_move_nm_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_update_post413_response.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner_characteristics_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner_dimensions.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner_sizes_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request_cards_to_add_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request_cards_to_add_inner_dimensions.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request_cards_to_add_inner_sizes_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner_variants_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner_variants_inner_dimensions.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner_variants_inner_sizes_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_colors_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_colors_get200_response_data_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_countries_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_countries_get200_response_data_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_kinds_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_seasons_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_tnved_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_tnved_get200_response_data_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_vat_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_characteristics_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_dimensions.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_photos_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_sizes_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_tags_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_wholesale.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cursor.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_cursor.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_filter.py +2 -2
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_sort.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response_cards_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response_cards_inner_sizes_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response_cursor.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_cursor.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_filter.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_sort.py +1 -1
- wildberries_sdk/products/models/content_v2_object_all_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_object_all_get200_response_data_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_object_charcs_subject_id_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_object_charcs_subject_id_get200_response_data_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_object_parent_all_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_object_parent_all_get200_response_data_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_object_parent_all_get401_response.py +1 -1
- wildberries_sdk/products/models/content_v2_tag_id_patch_request.py +1 -1
- wildberries_sdk/products/models/content_v2_tag_nomenclature_link_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_tag_post_request.py +1 -1
- wildberries_sdk/products/models/content_v2_tags_get200_response.py +1 -1
- wildberries_sdk/products/models/content_v2_tags_get200_response_data.py +1 -1
- wildberries_sdk/products/models/content_v3_media_file_post200_response.py +1 -1
- wildberries_sdk/products/models/content_v3_media_save_post_request.py +1 -1
- wildberries_sdk/products/models/error.py +1 -1
- wildberries_sdk/products/models/good.py +1 -1
- wildberries_sdk/products/models/good_buffer_history.py +1 -1
- wildberries_sdk/products/models/good_history.py +1 -1
- wildberries_sdk/products/models/goods_list.py +1 -1
- wildberries_sdk/products/models/goods_list_sizes_inner.py +1 -1
- wildberries_sdk/products/models/media_errors.py +1 -1
- wildberries_sdk/products/models/models_error_brand.py +1 -1
- wildberries_sdk/products/models/models_error_subject.py +1 -1
- wildberries_sdk/products/models/models_error_table_list_public_resp_v2.py +1 -1
- wildberries_sdk/products/models/models_error_table_list_public_resp_v2_item.py +1 -1
- wildberries_sdk/products/models/office.py +1 -1
- wildberries_sdk/products/models/quarantine_goods.py +1 -1
- wildberries_sdk/products/models/request_already_exists_error.py +1 -1
- wildberries_sdk/products/models/request_already_exists_error_data.py +1 -1
- wildberries_sdk/products/models/request_move_nms_imt_conn.py +1 -1
- wildberries_sdk/products/models/request_move_nms_imt_disconn.py +1 -1
- wildberries_sdk/products/models/request_public_viewer_public_errors_table_list_v2.py +1 -1
- wildberries_sdk/products/models/response_body_content_error400.py +1 -1
- wildberries_sdk/products/models/response_body_content_error403.py +1 -1
- wildberries_sdk/products/models/response_card_create.py +1 -1
- wildberries_sdk/products/models/response_card_create_additional_errors.py +1 -1
- wildberries_sdk/products/models/response_card_create_additional_errors_one_of.py +1 -1
- wildberries_sdk/products/models/response_card_create_additional_errors_one_of1.py +1 -1
- wildberries_sdk/products/models/response_content_error.py +1 -1
- wildberries_sdk/products/models/response_error.py +1 -1
- wildberries_sdk/products/models/response_incorrect_date.py +1 -1
- wildberries_sdk/products/models/response_public_viewer_public_errors_table_list_v2.py +1 -1
- wildberries_sdk/products/models/size_good.py +1 -1
- wildberries_sdk/products/models/size_good_req.py +1 -1
- wildberries_sdk/products/models/stocks_warehouse_error_inner.py +1 -1
- wildberries_sdk/products/models/stocks_warehouse_error_inner_data_inner.py +1 -1
- wildberries_sdk/products/models/store_contact_request_body.py +1 -1
- wildberries_sdk/products/models/store_contact_request_body_contacts_inner.py +1 -1
- wildberries_sdk/products/models/supplier_task_metadata.py +1 -1
- wildberries_sdk/products/models/supplier_task_metadata_buffer.py +1 -1
- wildberries_sdk/products/models/swagger_public_errors_cursor_input.py +1 -1
- wildberries_sdk/products/models/swagger_public_errors_order_v2.py +1 -1
- wildberries_sdk/products/models/task_created.py +1 -1
- wildberries_sdk/products/models/task_created_data.py +1 -1
- wildberries_sdk/products/models/viewer_contract_public_errors_cursor_output.py +1 -1
- wildberries_sdk/products/models/warehouse.py +1 -1
- wildberries_sdk/products/rest.py +1 -1
- wildberries_sdk/promotion/__init__.py +1 -1
- wildberries_sdk/promotion/api_client.py +1 -1
- wildberries_sdk/promotion/configuration.py +1 -1
- wildberries_sdk/reports/__init__.py +1 -15
- wildberries_sdk/reports/api/default_api.py +0 -369
- wildberries_sdk/reports/api_client.py +1 -1
- wildberries_sdk/reports/configuration.py +1 -1
- wildberries_sdk/reports/models/__init__.py +0 -7
- wildberries_sdk/reports/models/api_v1_analytics_goods_return_get200_response_report_inner.py +4 -4
- wildberries_sdk/tariffs/__init__.py +1 -1
- wildberries_sdk/tariffs/api_client.py +1 -1
- wildberries_sdk/tariffs/configuration.py +1 -1
- wildberries_sdk/wbd/__init__.py +1 -1
- wildberries_sdk/wbd/api_client.py +1 -1
- wildberries_sdk/wbd/configuration.py +1 -1
- {wildberries_sdk-0.1.30.dist-info → wildberries_sdk-0.1.32.dist-info}/METADATA +1 -2
- {wildberries_sdk-0.1.30.dist-info → wildberries_sdk-0.1.32.dist-info}/RECORD +299 -306
- wildberries_sdk/reports/models/api_v1_analytics_warehouse_measurements_get200_response.py +0 -137
- wildberries_sdk/reports/models/measurement.py +0 -91
- wildberries_sdk/reports/models/measurement_data.py +0 -97
- wildberries_sdk/reports/models/measurement_data_reports_inner.py +0 -118
- wildberries_sdk/reports/models/penalty.py +0 -91
- wildberries_sdk/reports/models/penalty_data.py +0 -97
- wildberries_sdk/reports/models/penalty_data_reports_inner.py +0 -122
- {wildberries_sdk-0.1.30.dist-info → wildberries_sdk-0.1.32.dist-info}/LICENSE +0 -0
- {wildberries_sdk-0.1.30.dist-info → wildberries_sdk-0.1.32.dist-info}/WHEEL +0 -0
- {wildberries_sdk-0.1.30.dist-info → wildberries_sdk-0.1.32.dist-info}/top_level.txt +0 -0
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Отчёты
|
|
5
|
-
|
|
6
|
-
<div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> С помощью этих методов вы можете получить [основные отчёты](/openapi/reports#tag/Osnovnye-otchyoty) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/Otchyot-ob-ostatkah-na-skladah) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/Otchyot-o-tovarah-c-obyazatelnoj-markirovkoj) 3. [Удержаниях](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah) 4. [Платной приёмке](/openapi/reports#tag/Platnaya-priyomka) 5. [Платном хранении](/openapi/reports#tag/Platnoe-hranenie) 6. [Продажах по регионам](/openapi/reports#tag/Prodazhi-po-regionam) 7. [Доле бренда в продажах](/openapi/reports#tag/Dolya-brenda-v-prodazhah) 8. [Скрытых товарах](/openapi/reports#tag/Skrytye-tovary) 9. [Возвратах и перемещении товаров](/openapi/reports#tag/Otchyot-o-vozvratah-i-peremeshenii-tovarov)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: reports
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import json
|
|
17
|
-
import pprint
|
|
18
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
|
19
|
-
from typing import Any, List, Optional
|
|
20
|
-
from wildberries_sdk.reports.models.measurement import Measurement
|
|
21
|
-
from wildberries_sdk.reports.models.penalty import Penalty
|
|
22
|
-
from pydantic import StrictStr, Field
|
|
23
|
-
from typing import Union, List, Set, Optional, Dict
|
|
24
|
-
from typing_extensions import Literal, Self
|
|
25
|
-
|
|
26
|
-
APIV1ANALYTICSWAREHOUSEMEASUREMENTSGET200RESPONSE_ONE_OF_SCHEMAS = ["Measurement", "Penalty"]
|
|
27
|
-
|
|
28
|
-
class ApiV1AnalyticsWarehouseMeasurementsGet200Response(BaseModel):
|
|
29
|
-
"""
|
|
30
|
-
ApiV1AnalyticsWarehouseMeasurementsGet200Response
|
|
31
|
-
"""
|
|
32
|
-
# data type: Penalty
|
|
33
|
-
oneof_schema_1_validator: Optional[Penalty] = None
|
|
34
|
-
# data type: Measurement
|
|
35
|
-
oneof_schema_2_validator: Optional[Measurement] = None
|
|
36
|
-
actual_instance: Optional[Union[Measurement, Penalty]] = None
|
|
37
|
-
one_of_schemas: Set[str] = { "Measurement", "Penalty" }
|
|
38
|
-
|
|
39
|
-
model_config = ConfigDict(
|
|
40
|
-
validate_assignment=True,
|
|
41
|
-
protected_namespaces=(),
|
|
42
|
-
)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
def __init__(self, *args, **kwargs) -> None:
|
|
46
|
-
if args:
|
|
47
|
-
if len(args) > 1:
|
|
48
|
-
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
49
|
-
if kwargs:
|
|
50
|
-
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
51
|
-
super().__init__(actual_instance=args[0])
|
|
52
|
-
else:
|
|
53
|
-
super().__init__(**kwargs)
|
|
54
|
-
|
|
55
|
-
@field_validator('actual_instance')
|
|
56
|
-
def actual_instance_must_validate_oneof(cls, v):
|
|
57
|
-
instance = ApiV1AnalyticsWarehouseMeasurementsGet200Response.model_construct()
|
|
58
|
-
error_messages = []
|
|
59
|
-
match = 0
|
|
60
|
-
# validate data type: Penalty
|
|
61
|
-
if not isinstance(v, Penalty):
|
|
62
|
-
error_messages.append(f"Error! Input type `{type(v)}` is not `Penalty`")
|
|
63
|
-
else:
|
|
64
|
-
match += 1
|
|
65
|
-
# validate data type: Measurement
|
|
66
|
-
if not isinstance(v, Measurement):
|
|
67
|
-
error_messages.append(f"Error! Input type `{type(v)}` is not `Measurement`")
|
|
68
|
-
else:
|
|
69
|
-
match += 1
|
|
70
|
-
if match > 1:
|
|
71
|
-
# more than 1 match
|
|
72
|
-
raise ValueError("Multiple matches found when setting `actual_instance` in ApiV1AnalyticsWarehouseMeasurementsGet200Response with oneOf schemas: Measurement, Penalty. Details: " + ", ".join(error_messages))
|
|
73
|
-
elif match == 0:
|
|
74
|
-
# no match
|
|
75
|
-
raise ValueError("No match found when setting `actual_instance` in ApiV1AnalyticsWarehouseMeasurementsGet200Response with oneOf schemas: Measurement, Penalty. Details: " + ", ".join(error_messages))
|
|
76
|
-
else:
|
|
77
|
-
return v
|
|
78
|
-
|
|
79
|
-
@classmethod
|
|
80
|
-
def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
|
|
81
|
-
return cls.from_json(json.dumps(obj))
|
|
82
|
-
|
|
83
|
-
@classmethod
|
|
84
|
-
def from_json(cls, json_str: str) -> Self:
|
|
85
|
-
"""Returns the object represented by the json string"""
|
|
86
|
-
instance = cls.model_construct()
|
|
87
|
-
error_messages = []
|
|
88
|
-
match = 0
|
|
89
|
-
|
|
90
|
-
# deserialize data into Penalty
|
|
91
|
-
try:
|
|
92
|
-
instance.actual_instance = Penalty.from_json(json_str)
|
|
93
|
-
match += 1
|
|
94
|
-
except (ValidationError, ValueError) as e:
|
|
95
|
-
error_messages.append(str(e))
|
|
96
|
-
# deserialize data into Measurement
|
|
97
|
-
try:
|
|
98
|
-
instance.actual_instance = Measurement.from_json(json_str)
|
|
99
|
-
match += 1
|
|
100
|
-
except (ValidationError, ValueError) as e:
|
|
101
|
-
error_messages.append(str(e))
|
|
102
|
-
|
|
103
|
-
if match > 1:
|
|
104
|
-
# more than 1 match
|
|
105
|
-
raise ValueError("Multiple matches found when deserializing the JSON string into ApiV1AnalyticsWarehouseMeasurementsGet200Response with oneOf schemas: Measurement, Penalty. Details: " + ", ".join(error_messages))
|
|
106
|
-
elif match == 0:
|
|
107
|
-
# no match
|
|
108
|
-
raise ValueError("No match found when deserializing the JSON string into ApiV1AnalyticsWarehouseMeasurementsGet200Response with oneOf schemas: Measurement, Penalty. Details: " + ", ".join(error_messages))
|
|
109
|
-
else:
|
|
110
|
-
return instance
|
|
111
|
-
|
|
112
|
-
def to_json(self) -> str:
|
|
113
|
-
"""Returns the JSON representation of the actual instance"""
|
|
114
|
-
if self.actual_instance is None:
|
|
115
|
-
return "null"
|
|
116
|
-
|
|
117
|
-
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
118
|
-
return self.actual_instance.to_json()
|
|
119
|
-
else:
|
|
120
|
-
return json.dumps(self.actual_instance)
|
|
121
|
-
|
|
122
|
-
def to_dict(self) -> Optional[Union[Dict[str, Any], Measurement, Penalty]]:
|
|
123
|
-
"""Returns the dict representation of the actual instance"""
|
|
124
|
-
if self.actual_instance is None:
|
|
125
|
-
return None
|
|
126
|
-
|
|
127
|
-
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
128
|
-
return self.actual_instance.to_dict()
|
|
129
|
-
else:
|
|
130
|
-
# primitive type
|
|
131
|
-
return self.actual_instance
|
|
132
|
-
|
|
133
|
-
def to_str(self) -> str:
|
|
134
|
-
"""Returns the string representation of the actual instance"""
|
|
135
|
-
return pprint.pformat(self.model_dump())
|
|
136
|
-
|
|
137
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Отчёты
|
|
5
|
-
|
|
6
|
-
<div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> С помощью этих методов вы можете получить [основные отчёты](/openapi/reports#tag/Osnovnye-otchyoty) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/Otchyot-ob-ostatkah-na-skladah) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/Otchyot-o-tovarah-c-obyazatelnoj-markirovkoj) 3. [Удержаниях](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah) 4. [Платной приёмке](/openapi/reports#tag/Platnaya-priyomka) 5. [Платном хранении](/openapi/reports#tag/Platnoe-hranenie) 6. [Продажах по регионам](/openapi/reports#tag/Prodazhi-po-regionam) 7. [Доле бренда в продажах](/openapi/reports#tag/Dolya-brenda-v-prodazhah) 8. [Скрытых товарах](/openapi/reports#tag/Skrytye-tovary) 9. [Возвратах и перемещении товаров](/openapi/reports#tag/Otchyot-o-vozvratah-i-peremeshenii-tovarov)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: reports
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import pprint
|
|
17
|
-
import re # noqa: F401
|
|
18
|
-
import json
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel, ConfigDict
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
22
|
-
from wildberries_sdk.reports.models.measurement_data import MeasurementData
|
|
23
|
-
from typing import Optional, Set
|
|
24
|
-
from typing_extensions import Self
|
|
25
|
-
|
|
26
|
-
class Measurement(BaseModel):
|
|
27
|
-
"""
|
|
28
|
-
Measurement
|
|
29
|
-
""" # noqa: E501
|
|
30
|
-
data: MeasurementData
|
|
31
|
-
__properties: ClassVar[List[str]] = ["data"]
|
|
32
|
-
|
|
33
|
-
model_config = ConfigDict(
|
|
34
|
-
populate_by_name=True,
|
|
35
|
-
validate_assignment=True,
|
|
36
|
-
protected_namespaces=(),
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
def to_str(self) -> str:
|
|
41
|
-
"""Returns the string representation of the model using alias"""
|
|
42
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
-
|
|
44
|
-
def to_json(self) -> str:
|
|
45
|
-
"""Returns the JSON representation of the model using alias"""
|
|
46
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
-
return json.dumps(self.to_dict())
|
|
48
|
-
|
|
49
|
-
@classmethod
|
|
50
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
-
"""Create an instance of Measurement from a JSON string"""
|
|
52
|
-
return cls.from_dict(json.loads(json_str))
|
|
53
|
-
|
|
54
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
-
"""Return the dictionary representation of the model using alias.
|
|
56
|
-
|
|
57
|
-
This has the following differences from calling pydantic's
|
|
58
|
-
`self.model_dump(by_alias=True)`:
|
|
59
|
-
|
|
60
|
-
* `None` is only added to the output dict for nullable fields that
|
|
61
|
-
were set at model initialization. Other fields with value `None`
|
|
62
|
-
are ignored.
|
|
63
|
-
"""
|
|
64
|
-
excluded_fields: Set[str] = set([
|
|
65
|
-
])
|
|
66
|
-
|
|
67
|
-
_dict = self.model_dump(
|
|
68
|
-
by_alias=True,
|
|
69
|
-
exclude=excluded_fields,
|
|
70
|
-
exclude_none=True,
|
|
71
|
-
)
|
|
72
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
73
|
-
if self.data:
|
|
74
|
-
_dict['data'] = self.data.to_dict()
|
|
75
|
-
return _dict
|
|
76
|
-
|
|
77
|
-
@classmethod
|
|
78
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
-
"""Create an instance of Measurement from a dict"""
|
|
80
|
-
if obj is None:
|
|
81
|
-
return None
|
|
82
|
-
|
|
83
|
-
if not isinstance(obj, dict):
|
|
84
|
-
return cls.model_validate(obj)
|
|
85
|
-
|
|
86
|
-
_obj = cls.model_validate({
|
|
87
|
-
"data": MeasurementData.from_dict(obj["data"]) if obj.get("data") is not None else None
|
|
88
|
-
})
|
|
89
|
-
return _obj
|
|
90
|
-
|
|
91
|
-
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Отчёты
|
|
5
|
-
|
|
6
|
-
<div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> С помощью этих методов вы можете получить [основные отчёты](/openapi/reports#tag/Osnovnye-otchyoty) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/Otchyot-ob-ostatkah-na-skladah) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/Otchyot-o-tovarah-c-obyazatelnoj-markirovkoj) 3. [Удержаниях](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah) 4. [Платной приёмке](/openapi/reports#tag/Platnaya-priyomka) 5. [Платном хранении](/openapi/reports#tag/Platnoe-hranenie) 6. [Продажах по регионам](/openapi/reports#tag/Prodazhi-po-regionam) 7. [Доле бренда в продажах](/openapi/reports#tag/Dolya-brenda-v-prodazhah) 8. [Скрытых товарах](/openapi/reports#tag/Skrytye-tovary) 9. [Возвратах и перемещении товаров](/openapi/reports#tag/Otchyot-o-vozvratah-i-peremeshenii-tovarov)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: reports
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import pprint
|
|
17
|
-
import re # noqa: F401
|
|
18
|
-
import json
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
22
|
-
from wildberries_sdk.reports.models.measurement_data_reports_inner import MeasurementDataReportsInner
|
|
23
|
-
from typing import Optional, Set
|
|
24
|
-
from typing_extensions import Self
|
|
25
|
-
|
|
26
|
-
class MeasurementData(BaseModel):
|
|
27
|
-
"""
|
|
28
|
-
Данные ответа
|
|
29
|
-
""" # noqa: E501
|
|
30
|
-
reports: List[MeasurementDataReportsInner] = Field(description="Замеры")
|
|
31
|
-
total_count: StrictInt = Field(description="Количество замеров в отчёте. Без учёта `limit` и `offset`", alias="totalCount")
|
|
32
|
-
__properties: ClassVar[List[str]] = ["reports", "totalCount"]
|
|
33
|
-
|
|
34
|
-
model_config = ConfigDict(
|
|
35
|
-
populate_by_name=True,
|
|
36
|
-
validate_assignment=True,
|
|
37
|
-
protected_namespaces=(),
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def to_str(self) -> str:
|
|
42
|
-
"""Returns the string representation of the model using alias"""
|
|
43
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
-
|
|
45
|
-
def to_json(self) -> str:
|
|
46
|
-
"""Returns the JSON representation of the model using alias"""
|
|
47
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
-
"""Create an instance of MeasurementData from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
-
"""Return the dictionary representation of the model using alias.
|
|
57
|
-
|
|
58
|
-
This has the following differences from calling pydantic's
|
|
59
|
-
`self.model_dump(by_alias=True)`:
|
|
60
|
-
|
|
61
|
-
* `None` is only added to the output dict for nullable fields that
|
|
62
|
-
were set at model initialization. Other fields with value `None`
|
|
63
|
-
are ignored.
|
|
64
|
-
"""
|
|
65
|
-
excluded_fields: Set[str] = set([
|
|
66
|
-
])
|
|
67
|
-
|
|
68
|
-
_dict = self.model_dump(
|
|
69
|
-
by_alias=True,
|
|
70
|
-
exclude=excluded_fields,
|
|
71
|
-
exclude_none=True,
|
|
72
|
-
)
|
|
73
|
-
# override the default output from pydantic by calling `to_dict()` of each item in reports (list)
|
|
74
|
-
_items = []
|
|
75
|
-
if self.reports:
|
|
76
|
-
for _item_reports in self.reports:
|
|
77
|
-
if _item_reports:
|
|
78
|
-
_items.append(_item_reports.to_dict())
|
|
79
|
-
_dict['reports'] = _items
|
|
80
|
-
return _dict
|
|
81
|
-
|
|
82
|
-
@classmethod
|
|
83
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
-
"""Create an instance of MeasurementData from a dict"""
|
|
85
|
-
if obj is None:
|
|
86
|
-
return None
|
|
87
|
-
|
|
88
|
-
if not isinstance(obj, dict):
|
|
89
|
-
return cls.model_validate(obj)
|
|
90
|
-
|
|
91
|
-
_obj = cls.model_validate({
|
|
92
|
-
"reports": [MeasurementDataReportsInner.from_dict(_item) for _item in obj["reports"]] if obj.get("reports") is not None else None,
|
|
93
|
-
"totalCount": obj.get("totalCount")
|
|
94
|
-
})
|
|
95
|
-
return _obj
|
|
96
|
-
|
|
97
|
-
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Отчёты
|
|
5
|
-
|
|
6
|
-
<div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> С помощью этих методов вы можете получить [основные отчёты](/openapi/reports#tag/Osnovnye-otchyoty) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/Otchyot-ob-ostatkah-na-skladah) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/Otchyot-o-tovarah-c-obyazatelnoj-markirovkoj) 3. [Удержаниях](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah) 4. [Платной приёмке](/openapi/reports#tag/Platnaya-priyomka) 5. [Платном хранении](/openapi/reports#tag/Platnoe-hranenie) 6. [Продажах по регионам](/openapi/reports#tag/Prodazhi-po-regionam) 7. [Доле бренда в продажах](/openapi/reports#tag/Dolya-brenda-v-prodazhah) 8. [Скрытых товарах](/openapi/reports#tag/Skrytye-tovary) 9. [Возвратах и перемещении товаров](/openapi/reports#tag/Otchyot-o-vozvratah-i-peremeshenii-tovarov)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: reports
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import pprint
|
|
17
|
-
import re # noqa: F401
|
|
18
|
-
import json
|
|
19
|
-
|
|
20
|
-
from datetime import datetime
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
|
-
from typing import Optional, Set
|
|
24
|
-
from typing_extensions import Self
|
|
25
|
-
|
|
26
|
-
class MeasurementDataReportsInner(BaseModel):
|
|
27
|
-
"""
|
|
28
|
-
MeasurementDataReportsInner
|
|
29
|
-
""" # noqa: E501
|
|
30
|
-
nm_id: Optional[StrictInt] = Field(default=None, description="Артикул WB", alias="nmId")
|
|
31
|
-
subject: Optional[StrictStr] = Field(default=None, description="Предмет")
|
|
32
|
-
dim_id: Optional[StrictInt] = Field(default=None, description="ID замера", alias="dimId")
|
|
33
|
-
prc_over: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Разница в габаритах, %", alias="prcOver")
|
|
34
|
-
volume: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Объём, л (фактические габариты)")
|
|
35
|
-
width: Optional[StrictInt] = Field(default=None, description="Ширина, см (фактические габариты)")
|
|
36
|
-
length: Optional[StrictInt] = Field(default=None, description="Длина, см (фактические габариты)")
|
|
37
|
-
height: Optional[StrictInt] = Field(default=None, description="Высота, см (фактические габариты)")
|
|
38
|
-
volume_sup: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Объём, л (габариты карточки товара)", alias="volumeSup")
|
|
39
|
-
width_sup: Optional[StrictInt] = Field(default=None, description="Ширина, см (габариты карточки товара)", alias="widthSup")
|
|
40
|
-
length_sup: Optional[StrictInt] = Field(default=None, description="Длина, см (габариты карточки товара)", alias="lengthSup")
|
|
41
|
-
height_sup: Optional[StrictInt] = Field(default=None, description="Высота, см (габариты карточки товара)", alias="heightSup")
|
|
42
|
-
photo_urls: Optional[List[StrictStr]] = Field(default=None, description="Фото замеров", alias="photoUrls")
|
|
43
|
-
dt: Optional[datetime] = Field(default=None, description="Дата и время")
|
|
44
|
-
date_start: Optional[datetime] = Field(default=None, description="Дата начала замера ", alias="dateStart")
|
|
45
|
-
date_end: Optional[datetime] = Field(default=None, description="Дата конца замера", alias="dateEnd")
|
|
46
|
-
__properties: ClassVar[List[str]] = ["nmId", "subject", "dimId", "prcOver", "volume", "width", "length", "height", "volumeSup", "widthSup", "lengthSup", "heightSup", "photoUrls", "dt", "dateStart", "dateEnd"]
|
|
47
|
-
|
|
48
|
-
model_config = ConfigDict(
|
|
49
|
-
populate_by_name=True,
|
|
50
|
-
validate_assignment=True,
|
|
51
|
-
protected_namespaces=(),
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
def to_str(self) -> str:
|
|
56
|
-
"""Returns the string representation of the model using alias"""
|
|
57
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
58
|
-
|
|
59
|
-
def to_json(self) -> str:
|
|
60
|
-
"""Returns the JSON representation of the model using alias"""
|
|
61
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
62
|
-
return json.dumps(self.to_dict())
|
|
63
|
-
|
|
64
|
-
@classmethod
|
|
65
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
66
|
-
"""Create an instance of MeasurementDataReportsInner from a JSON string"""
|
|
67
|
-
return cls.from_dict(json.loads(json_str))
|
|
68
|
-
|
|
69
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
70
|
-
"""Return the dictionary representation of the model using alias.
|
|
71
|
-
|
|
72
|
-
This has the following differences from calling pydantic's
|
|
73
|
-
`self.model_dump(by_alias=True)`:
|
|
74
|
-
|
|
75
|
-
* `None` is only added to the output dict for nullable fields that
|
|
76
|
-
were set at model initialization. Other fields with value `None`
|
|
77
|
-
are ignored.
|
|
78
|
-
"""
|
|
79
|
-
excluded_fields: Set[str] = set([
|
|
80
|
-
])
|
|
81
|
-
|
|
82
|
-
_dict = self.model_dump(
|
|
83
|
-
by_alias=True,
|
|
84
|
-
exclude=excluded_fields,
|
|
85
|
-
exclude_none=True,
|
|
86
|
-
)
|
|
87
|
-
return _dict
|
|
88
|
-
|
|
89
|
-
@classmethod
|
|
90
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
91
|
-
"""Create an instance of MeasurementDataReportsInner from a dict"""
|
|
92
|
-
if obj is None:
|
|
93
|
-
return None
|
|
94
|
-
|
|
95
|
-
if not isinstance(obj, dict):
|
|
96
|
-
return cls.model_validate(obj)
|
|
97
|
-
|
|
98
|
-
_obj = cls.model_validate({
|
|
99
|
-
"nmId": obj.get("nmId"),
|
|
100
|
-
"subject": obj.get("subject"),
|
|
101
|
-
"dimId": obj.get("dimId"),
|
|
102
|
-
"prcOver": obj.get("prcOver"),
|
|
103
|
-
"volume": obj.get("volume"),
|
|
104
|
-
"width": obj.get("width"),
|
|
105
|
-
"length": obj.get("length"),
|
|
106
|
-
"height": obj.get("height"),
|
|
107
|
-
"volumeSup": obj.get("volumeSup"),
|
|
108
|
-
"widthSup": obj.get("widthSup"),
|
|
109
|
-
"lengthSup": obj.get("lengthSup"),
|
|
110
|
-
"heightSup": obj.get("heightSup"),
|
|
111
|
-
"photoUrls": obj.get("photoUrls"),
|
|
112
|
-
"dt": obj.get("dt"),
|
|
113
|
-
"dateStart": obj.get("dateStart"),
|
|
114
|
-
"dateEnd": obj.get("dateEnd")
|
|
115
|
-
})
|
|
116
|
-
return _obj
|
|
117
|
-
|
|
118
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Отчёты
|
|
5
|
-
|
|
6
|
-
<div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> С помощью этих методов вы можете получить [основные отчёты](/openapi/reports#tag/Osnovnye-otchyoty) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/Otchyot-ob-ostatkah-na-skladah) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/Otchyot-o-tovarah-c-obyazatelnoj-markirovkoj) 3. [Удержаниях](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah) 4. [Платной приёмке](/openapi/reports#tag/Platnaya-priyomka) 5. [Платном хранении](/openapi/reports#tag/Platnoe-hranenie) 6. [Продажах по регионам](/openapi/reports#tag/Prodazhi-po-regionam) 7. [Доле бренда в продажах](/openapi/reports#tag/Dolya-brenda-v-prodazhah) 8. [Скрытых товарах](/openapi/reports#tag/Skrytye-tovary) 9. [Возвратах и перемещении товаров](/openapi/reports#tag/Otchyot-o-vozvratah-i-peremeshenii-tovarov)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: reports
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import pprint
|
|
17
|
-
import re # noqa: F401
|
|
18
|
-
import json
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel, ConfigDict
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
22
|
-
from wildberries_sdk.reports.models.penalty_data import PenaltyData
|
|
23
|
-
from typing import Optional, Set
|
|
24
|
-
from typing_extensions import Self
|
|
25
|
-
|
|
26
|
-
class Penalty(BaseModel):
|
|
27
|
-
"""
|
|
28
|
-
Penalty
|
|
29
|
-
""" # noqa: E501
|
|
30
|
-
data: PenaltyData
|
|
31
|
-
__properties: ClassVar[List[str]] = ["data"]
|
|
32
|
-
|
|
33
|
-
model_config = ConfigDict(
|
|
34
|
-
populate_by_name=True,
|
|
35
|
-
validate_assignment=True,
|
|
36
|
-
protected_namespaces=(),
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
def to_str(self) -> str:
|
|
41
|
-
"""Returns the string representation of the model using alias"""
|
|
42
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
-
|
|
44
|
-
def to_json(self) -> str:
|
|
45
|
-
"""Returns the JSON representation of the model using alias"""
|
|
46
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
-
return json.dumps(self.to_dict())
|
|
48
|
-
|
|
49
|
-
@classmethod
|
|
50
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
-
"""Create an instance of Penalty from a JSON string"""
|
|
52
|
-
return cls.from_dict(json.loads(json_str))
|
|
53
|
-
|
|
54
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
-
"""Return the dictionary representation of the model using alias.
|
|
56
|
-
|
|
57
|
-
This has the following differences from calling pydantic's
|
|
58
|
-
`self.model_dump(by_alias=True)`:
|
|
59
|
-
|
|
60
|
-
* `None` is only added to the output dict for nullable fields that
|
|
61
|
-
were set at model initialization. Other fields with value `None`
|
|
62
|
-
are ignored.
|
|
63
|
-
"""
|
|
64
|
-
excluded_fields: Set[str] = set([
|
|
65
|
-
])
|
|
66
|
-
|
|
67
|
-
_dict = self.model_dump(
|
|
68
|
-
by_alias=True,
|
|
69
|
-
exclude=excluded_fields,
|
|
70
|
-
exclude_none=True,
|
|
71
|
-
)
|
|
72
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
73
|
-
if self.data:
|
|
74
|
-
_dict['data'] = self.data.to_dict()
|
|
75
|
-
return _dict
|
|
76
|
-
|
|
77
|
-
@classmethod
|
|
78
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
-
"""Create an instance of Penalty from a dict"""
|
|
80
|
-
if obj is None:
|
|
81
|
-
return None
|
|
82
|
-
|
|
83
|
-
if not isinstance(obj, dict):
|
|
84
|
-
return cls.model_validate(obj)
|
|
85
|
-
|
|
86
|
-
_obj = cls.model_validate({
|
|
87
|
-
"data": PenaltyData.from_dict(obj["data"]) if obj.get("data") is not None else None
|
|
88
|
-
})
|
|
89
|
-
return _obj
|
|
90
|
-
|
|
91
|
-
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Отчёты
|
|
5
|
-
|
|
6
|
-
<div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> С помощью этих методов вы можете получить [основные отчёты](/openapi/reports#tag/Osnovnye-otchyoty) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/Otchyot-ob-ostatkah-na-skladah) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/Otchyot-o-tovarah-c-obyazatelnoj-markirovkoj) 3. [Удержаниях](/openapi/reports#tag/Otchyoty-ob-uderzhaniyah) 4. [Платной приёмке](/openapi/reports#tag/Platnaya-priyomka) 5. [Платном хранении](/openapi/reports#tag/Platnoe-hranenie) 6. [Продажах по регионам](/openapi/reports#tag/Prodazhi-po-regionam) 7. [Доле бренда в продажах](/openapi/reports#tag/Dolya-brenda-v-prodazhah) 8. [Скрытых товарах](/openapi/reports#tag/Skrytye-tovary) 9. [Возвратах и перемещении товаров](/openapi/reports#tag/Otchyot-o-vozvratah-i-peremeshenii-tovarov)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: reports
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import pprint
|
|
17
|
-
import re # noqa: F401
|
|
18
|
-
import json
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
22
|
-
from wildberries_sdk.reports.models.penalty_data_reports_inner import PenaltyDataReportsInner
|
|
23
|
-
from typing import Optional, Set
|
|
24
|
-
from typing_extensions import Self
|
|
25
|
-
|
|
26
|
-
class PenaltyData(BaseModel):
|
|
27
|
-
"""
|
|
28
|
-
Данные ответа
|
|
29
|
-
""" # noqa: E501
|
|
30
|
-
reports: List[PenaltyDataReportsInner] = Field(description="Удержания")
|
|
31
|
-
total_count: StrictInt = Field(description="Количество удержаний в отчёте. Без учёта `limit` и `offset`", alias="totalCount")
|
|
32
|
-
__properties: ClassVar[List[str]] = ["reports", "totalCount"]
|
|
33
|
-
|
|
34
|
-
model_config = ConfigDict(
|
|
35
|
-
populate_by_name=True,
|
|
36
|
-
validate_assignment=True,
|
|
37
|
-
protected_namespaces=(),
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def to_str(self) -> str:
|
|
42
|
-
"""Returns the string representation of the model using alias"""
|
|
43
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
-
|
|
45
|
-
def to_json(self) -> str:
|
|
46
|
-
"""Returns the JSON representation of the model using alias"""
|
|
47
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
-
"""Create an instance of PenaltyData from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
-
"""Return the dictionary representation of the model using alias.
|
|
57
|
-
|
|
58
|
-
This has the following differences from calling pydantic's
|
|
59
|
-
`self.model_dump(by_alias=True)`:
|
|
60
|
-
|
|
61
|
-
* `None` is only added to the output dict for nullable fields that
|
|
62
|
-
were set at model initialization. Other fields with value `None`
|
|
63
|
-
are ignored.
|
|
64
|
-
"""
|
|
65
|
-
excluded_fields: Set[str] = set([
|
|
66
|
-
])
|
|
67
|
-
|
|
68
|
-
_dict = self.model_dump(
|
|
69
|
-
by_alias=True,
|
|
70
|
-
exclude=excluded_fields,
|
|
71
|
-
exclude_none=True,
|
|
72
|
-
)
|
|
73
|
-
# override the default output from pydantic by calling `to_dict()` of each item in reports (list)
|
|
74
|
-
_items = []
|
|
75
|
-
if self.reports:
|
|
76
|
-
for _item_reports in self.reports:
|
|
77
|
-
if _item_reports:
|
|
78
|
-
_items.append(_item_reports.to_dict())
|
|
79
|
-
_dict['reports'] = _items
|
|
80
|
-
return _dict
|
|
81
|
-
|
|
82
|
-
@classmethod
|
|
83
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
-
"""Create an instance of PenaltyData from a dict"""
|
|
85
|
-
if obj is None:
|
|
86
|
-
return None
|
|
87
|
-
|
|
88
|
-
if not isinstance(obj, dict):
|
|
89
|
-
return cls.model_validate(obj)
|
|
90
|
-
|
|
91
|
-
_obj = cls.model_validate({
|
|
92
|
-
"reports": [PenaltyDataReportsInner.from_dict(_item) for _item in obj["reports"]] if obj.get("reports") is not None else None,
|
|
93
|
-
"totalCount": obj.get("totalCount")
|
|
94
|
-
})
|
|
95
|
-
return _obj
|
|
96
|
-
|
|
97
|
-
|