cs2cap 2.0.0__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cs2cap-2.0.0 → cs2cap-2.0.1}/PKG-INFO +1 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/__init__.py +1 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/bids_api.py +2 -2
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/portfolio_api.py +18 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/prices_api.py +5 -5
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/sales_api.py +2 -2
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api_client.py +6 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/configuration.py +1 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/item_out.py +9 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_history_meta.py +3 -3
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_line_item.py +22 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap.egg-info/PKG-INFO +1 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/pyproject.toml +1 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/setup.py +1 -1
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_item_out.py +1 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_items_paginated_response_item_out.py +2 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_line_item.py +3 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/README.md +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/__init__.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/account_alerts_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/account_api_keys_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/account_watchlist_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/account_webhooks_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/foreign_exchange_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/images_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/inventory_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/items_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/market_intelligence_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api/providers_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/api_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/exceptions.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/__init__.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/account_mutation_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_batch_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_batch_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_batch_create_result.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_definition.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_delivery_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_event_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_events_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_item_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_list_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/alert_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/all_providers.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/api_key_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_bid_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_bid_quote.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_bids_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_bids_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_bids_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_price_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_price_quote.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_prices_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_prices_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/batch_prices_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/bids_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/buy_order_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/buy_order_provider.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/charm_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/child_api_key_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/child_api_key_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/child_api_key_detail_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/child_api_key_list_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/child_api_key_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/cursor_pagination_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/error_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/fx_rates_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/indicator_data_coverage.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/indicator_momentum.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/indicator_signals.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/indicator_volatility.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/indicator_volume.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/inspect_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/items_catalog_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/items_filter_metadata.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/items_metadata_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/items_paginated_response_item_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/items_pagination_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/loc_inner.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_arbitrage_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_arbitrage_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_arbitrage_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_arbitrage_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_history_chart_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_history_chart_point.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_history_chart_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_history_chart_series.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_index_group.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_indexes_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_indexes_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_indexes_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_indicators_item_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_indicators_item_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_indicators_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_item_analytics_coverage.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_item_analytics_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_item_analytics_provider.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_item_analytics_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_item_analytics_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_items_snapshot_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_items_snapshot_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_items_snapshot_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/market_time_window_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/pagination_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/phase_name.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_add_item_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_create.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_history_page.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_history_point.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_import_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_import_result.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_item_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_list_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_request_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/portfolio_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_candle_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_candles_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_candles_page.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_history_filters_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_history_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_snapshot.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/price_snapshot_page.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/prices_filter_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/prices_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/prices_paginated_response_market_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/provider_features.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/provider_fees.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/provider_health.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/provider_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/providers.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/recent_sales_provider.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/sale_record_detail.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/sales_filters_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/sales_history_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/sales_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/steam_inventory_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/steam_inventory_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/sticker_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/transaction_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/transaction_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/transaction_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/validation_error_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/validation_error_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_batch_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_create_batch_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_create_single_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/watchlist_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_deliveries_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_delivery_attempt_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_delivery_detail.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_delivery_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_endpoint_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_endpoints_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_secret_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/models/webhook_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/py.typed +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap/rest.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap.egg-info/SOURCES.txt +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap.egg-info/dependency_links.txt +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap.egg-info/requires.txt +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/cs2cap.egg-info/top_level.txt +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/setup.cfg +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_account_alerts_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_account_api_keys_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_account_mutation_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_account_watchlist_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_account_webhooks_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_batch_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_batch_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_batch_create_result.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_definition.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_delivery_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_event_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_events_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_item_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_list_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_alert_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_all_providers.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_api_key_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_bid_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_bid_quote.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_bids_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_bids_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_bids_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_price_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_price_quote.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_prices_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_prices_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_batch_prices_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_bids_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_bids_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_buy_order_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_buy_order_provider.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_charm_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_child_api_key_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_child_api_key_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_child_api_key_detail_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_child_api_key_list_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_child_api_key_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_cursor_pagination_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_error_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_foreign_exchange_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_fx_rates_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_images_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_indicator_data_coverage.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_indicator_momentum.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_indicator_signals.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_indicator_volatility.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_indicator_volume.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_inspect_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_inventory_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_items_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_items_catalog_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_items_filter_metadata.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_items_metadata_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_items_pagination_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_loc_inner.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_arbitrage_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_arbitrage_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_arbitrage_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_arbitrage_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_history_chart_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_history_chart_point.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_history_chart_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_history_chart_series.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_index_group.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_indexes_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_indexes_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_indexes_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_indicators_item_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_indicators_item_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_indicators_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_intelligence_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_item_analytics_coverage.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_item_analytics_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_item_analytics_provider.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_item_analytics_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_item_analytics_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_items_snapshot_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_items_snapshot_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_items_snapshot_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_market_time_window_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_pagination_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_phase_name.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_add_item_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_create.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_data.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_history_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_history_page.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_history_point.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_import_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_import_result.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_item_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_list_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_request_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_portfolio_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_candle_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_candles_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_candles_page.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_history_filters_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_history_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_snapshot.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_price_snapshot_page.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_prices_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_prices_filter_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_prices_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_prices_paginated_response_market_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_provider_features.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_provider_fees.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_provider_health.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_provider_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_providers.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_providers_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_recent_sales_provider.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_sale_record_detail.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_sales_api.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_sales_filters_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_sales_history_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_sales_meta.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_steam_inventory_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_steam_inventory_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_sticker_info.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_transaction_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_transaction_out.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_transaction_update_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_validation_error_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_validation_error_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_batch_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_create_batch_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_create_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_create_single_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_item.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_watchlist_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_create_request.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_deliveries_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_delivery_attempt_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_delivery_detail.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_delivery_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_endpoint_summary.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_endpoints_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_secret_response.py +0 -0
- {cs2cap-2.0.0 → cs2cap-2.0.1}/test/test_webhook_update_request.py +0 -0
|
@@ -23,7 +23,7 @@ from cs2cap.models.batch_bids_response import BatchBidsResponse
|
|
|
23
23
|
from cs2cap.models.bids_response import BidsResponse
|
|
24
24
|
from cs2cap.models.buy_order_provider import BuyOrderProvider
|
|
25
25
|
|
|
26
|
-
from cs2cap.api_client import ApiClient, RequestSerialized
|
|
26
|
+
from cs2cap.api_client import ApiClient, RequestSerialized, _enum_value
|
|
27
27
|
from cs2cap.api_response import ApiResponse
|
|
28
28
|
from cs2cap.rest import RESTResponseType
|
|
29
29
|
|
|
@@ -659,7 +659,7 @@ class BidsApi:
|
|
|
659
659
|
|
|
660
660
|
if phase is not None:
|
|
661
661
|
|
|
662
|
-
_query_params.append(('phase', phase
|
|
662
|
+
_query_params.append(('phase', _enum_value(phase)))
|
|
663
663
|
|
|
664
664
|
if providers is not None:
|
|
665
665
|
|
|
@@ -16,7 +16,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
16
16
|
from typing_extensions import Annotated
|
|
17
17
|
|
|
18
18
|
from datetime import date
|
|
19
|
-
from pydantic import Field, StrictStr
|
|
19
|
+
from pydantic import Field, StrictStr, field_validator
|
|
20
20
|
from typing import List, Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from uuid import UUID
|
|
@@ -1533,6 +1533,7 @@ class PortfolioApi:
|
|
|
1533
1533
|
providers: Annotated[Optional[List[StrictStr]], Field(description="Provider keys to include. Repeat to pass multiple, e.g. providers=steam&providers=skinport. Omit for all providers.")] = None,
|
|
1534
1534
|
limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Maximum number of daily points to return.")] = None,
|
|
1535
1535
|
cursor: Annotated[Optional[StrictStr], Field(description="Opaque cursor from `pagination.next_cursor`.")] = None,
|
|
1536
|
+
basis: Annotated[Optional[StrictStr], Field(description="Holdings basis. `ledger` (default) replays holdings from the transaction ledger and requires recorded transactions. `holdings` values the portfolio's current holdings flat across the window, so history is available without any transactions.")] = None,
|
|
1536
1537
|
_request_timeout: Union[
|
|
1537
1538
|
None,
|
|
1538
1539
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1566,6 +1567,8 @@ class PortfolioApi:
|
|
|
1566
1567
|
:type limit: int
|
|
1567
1568
|
:param cursor: Opaque cursor from `pagination.next_cursor`.
|
|
1568
1569
|
:type cursor: str
|
|
1570
|
+
:param basis: Holdings basis. `ledger` (default) replays holdings from the transaction ledger and requires recorded transactions. `holdings` values the portfolio's current holdings flat across the window, so history is available without any transactions.
|
|
1571
|
+
:type basis: str
|
|
1569
1572
|
:param _request_timeout: timeout setting for this request. If one
|
|
1570
1573
|
number provided, it will be total request
|
|
1571
1574
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1597,6 +1600,7 @@ class PortfolioApi:
|
|
|
1597
1600
|
providers=providers,
|
|
1598
1601
|
limit=limit,
|
|
1599
1602
|
cursor=cursor,
|
|
1603
|
+
basis=basis,
|
|
1600
1604
|
_request_auth=_request_auth,
|
|
1601
1605
|
_content_type=_content_type,
|
|
1602
1606
|
_headers=_headers,
|
|
@@ -1634,6 +1638,7 @@ class PortfolioApi:
|
|
|
1634
1638
|
providers: Annotated[Optional[List[StrictStr]], Field(description="Provider keys to include. Repeat to pass multiple, e.g. providers=steam&providers=skinport. Omit for all providers.")] = None,
|
|
1635
1639
|
limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Maximum number of daily points to return.")] = None,
|
|
1636
1640
|
cursor: Annotated[Optional[StrictStr], Field(description="Opaque cursor from `pagination.next_cursor`.")] = None,
|
|
1641
|
+
basis: Annotated[Optional[StrictStr], Field(description="Holdings basis. `ledger` (default) replays holdings from the transaction ledger and requires recorded transactions. `holdings` values the portfolio's current holdings flat across the window, so history is available without any transactions.")] = None,
|
|
1637
1642
|
_request_timeout: Union[
|
|
1638
1643
|
None,
|
|
1639
1644
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1667,6 +1672,8 @@ class PortfolioApi:
|
|
|
1667
1672
|
:type limit: int
|
|
1668
1673
|
:param cursor: Opaque cursor from `pagination.next_cursor`.
|
|
1669
1674
|
:type cursor: str
|
|
1675
|
+
:param basis: Holdings basis. `ledger` (default) replays holdings from the transaction ledger and requires recorded transactions. `holdings` values the portfolio's current holdings flat across the window, so history is available without any transactions.
|
|
1676
|
+
:type basis: str
|
|
1670
1677
|
:param _request_timeout: timeout setting for this request. If one
|
|
1671
1678
|
number provided, it will be total request
|
|
1672
1679
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1698,6 +1705,7 @@ class PortfolioApi:
|
|
|
1698
1705
|
providers=providers,
|
|
1699
1706
|
limit=limit,
|
|
1700
1707
|
cursor=cursor,
|
|
1708
|
+
basis=basis,
|
|
1701
1709
|
_request_auth=_request_auth,
|
|
1702
1710
|
_content_type=_content_type,
|
|
1703
1711
|
_headers=_headers,
|
|
@@ -1735,6 +1743,7 @@ class PortfolioApi:
|
|
|
1735
1743
|
providers: Annotated[Optional[List[StrictStr]], Field(description="Provider keys to include. Repeat to pass multiple, e.g. providers=steam&providers=skinport. Omit for all providers.")] = None,
|
|
1736
1744
|
limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Maximum number of daily points to return.")] = None,
|
|
1737
1745
|
cursor: Annotated[Optional[StrictStr], Field(description="Opaque cursor from `pagination.next_cursor`.")] = None,
|
|
1746
|
+
basis: Annotated[Optional[StrictStr], Field(description="Holdings basis. `ledger` (default) replays holdings from the transaction ledger and requires recorded transactions. `holdings` values the portfolio's current holdings flat across the window, so history is available without any transactions.")] = None,
|
|
1738
1747
|
_request_timeout: Union[
|
|
1739
1748
|
None,
|
|
1740
1749
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1768,6 +1777,8 @@ class PortfolioApi:
|
|
|
1768
1777
|
:type limit: int
|
|
1769
1778
|
:param cursor: Opaque cursor from `pagination.next_cursor`.
|
|
1770
1779
|
:type cursor: str
|
|
1780
|
+
:param basis: Holdings basis. `ledger` (default) replays holdings from the transaction ledger and requires recorded transactions. `holdings` values the portfolio's current holdings flat across the window, so history is available without any transactions.
|
|
1781
|
+
:type basis: str
|
|
1771
1782
|
:param _request_timeout: timeout setting for this request. If one
|
|
1772
1783
|
number provided, it will be total request
|
|
1773
1784
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1799,6 +1810,7 @@ class PortfolioApi:
|
|
|
1799
1810
|
providers=providers,
|
|
1800
1811
|
limit=limit,
|
|
1801
1812
|
cursor=cursor,
|
|
1813
|
+
basis=basis,
|
|
1802
1814
|
_request_auth=_request_auth,
|
|
1803
1815
|
_content_type=_content_type,
|
|
1804
1816
|
_headers=_headers,
|
|
@@ -1831,6 +1843,7 @@ class PortfolioApi:
|
|
|
1831
1843
|
providers,
|
|
1832
1844
|
limit,
|
|
1833
1845
|
cursor,
|
|
1846
|
+
basis,
|
|
1834
1847
|
_request_auth,
|
|
1835
1848
|
_content_type,
|
|
1836
1849
|
_headers,
|
|
@@ -1902,6 +1915,10 @@ class PortfolioApi:
|
|
|
1902
1915
|
|
|
1903
1916
|
_query_params.append(('cursor', cursor))
|
|
1904
1917
|
|
|
1918
|
+
if basis is not None:
|
|
1919
|
+
|
|
1920
|
+
_query_params.append(('basis', basis))
|
|
1921
|
+
|
|
1905
1922
|
# process the header parameters
|
|
1906
1923
|
# process the form parameters
|
|
1907
1924
|
# process the body parameter
|
|
@@ -26,7 +26,7 @@ from cs2cap.models.price_candles_page import PriceCandlesPage
|
|
|
26
26
|
from cs2cap.models.price_snapshot_page import PriceSnapshotPage
|
|
27
27
|
from cs2cap.models.prices_paginated_response_market_item import PricesPaginatedResponseMarketItem
|
|
28
28
|
|
|
29
|
-
from cs2cap.api_client import ApiClient, RequestSerialized
|
|
29
|
+
from cs2cap.api_client import ApiClient, RequestSerialized, _enum_value
|
|
30
30
|
from cs2cap.api_response import ApiResponse
|
|
31
31
|
from cs2cap.rest import RESTResponseType
|
|
32
32
|
|
|
@@ -659,7 +659,7 @@ class PricesApi:
|
|
|
659
659
|
|
|
660
660
|
if phase is not None:
|
|
661
661
|
|
|
662
|
-
_query_params.append(('phase', phase
|
|
662
|
+
_query_params.append(('phase', _enum_value(phase)))
|
|
663
663
|
|
|
664
664
|
if providers is not None:
|
|
665
665
|
|
|
@@ -1065,7 +1065,7 @@ class PricesApi:
|
|
|
1065
1065
|
|
|
1066
1066
|
if phase is not None:
|
|
1067
1067
|
|
|
1068
|
-
_query_params.append(('phase', phase
|
|
1068
|
+
_query_params.append(('phase', _enum_value(phase)))
|
|
1069
1069
|
|
|
1070
1070
|
if start is not None:
|
|
1071
1071
|
if isinstance(start, datetime):
|
|
@@ -1497,11 +1497,11 @@ class PricesApi:
|
|
|
1497
1497
|
|
|
1498
1498
|
if phase is not None:
|
|
1499
1499
|
|
|
1500
|
-
_query_params.append(('phase', phase
|
|
1500
|
+
_query_params.append(('phase', _enum_value(phase)))
|
|
1501
1501
|
|
|
1502
1502
|
if provider is not None:
|
|
1503
1503
|
|
|
1504
|
-
_query_params.append(('provider', provider
|
|
1504
|
+
_query_params.append(('provider', _enum_value(provider)))
|
|
1505
1505
|
|
|
1506
1506
|
if start is not None:
|
|
1507
1507
|
if isinstance(start, datetime):
|
|
@@ -21,7 +21,7 @@ from typing_extensions import Annotated
|
|
|
21
21
|
from cs2cap.models.recent_sales_provider import RecentSalesProvider
|
|
22
22
|
from cs2cap.models.sales_history_response import SalesHistoryResponse
|
|
23
23
|
|
|
24
|
-
from cs2cap.api_client import ApiClient, RequestSerialized
|
|
24
|
+
from cs2cap.api_client import ApiClient, RequestSerialized, _enum_value
|
|
25
25
|
from cs2cap.api_response import ApiResponse
|
|
26
26
|
from cs2cap.rest import RESTResponseType
|
|
27
27
|
|
|
@@ -368,7 +368,7 @@ class SalesApi:
|
|
|
368
368
|
|
|
369
369
|
if phase is not None:
|
|
370
370
|
|
|
371
|
-
_query_params.append(('phase', phase
|
|
371
|
+
_query_params.append(('phase', _enum_value(phase)))
|
|
372
372
|
|
|
373
373
|
if providers is not None:
|
|
374
374
|
|
|
@@ -52,6 +52,11 @@ def _parse_datetime(value: str) -> datetime.datetime:
|
|
|
52
52
|
return datetime.datetime.fromisoformat(normalized)
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
def _enum_value(value):
|
|
56
|
+
"""Return the wire value for generated enum query params."""
|
|
57
|
+
return value.value if isinstance(value, Enum) else value
|
|
58
|
+
|
|
59
|
+
|
|
55
60
|
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
|
|
56
61
|
|
|
57
62
|
class ApiClient:
|
|
@@ -102,7 +107,7 @@ class ApiClient:
|
|
|
102
107
|
self.default_headers[header_name] = header_value
|
|
103
108
|
self.cookie = cookie
|
|
104
109
|
# Set default User-Agent.
|
|
105
|
-
self.user_agent = 'OpenAPI-Generator/2.0.
|
|
110
|
+
self.user_agent = 'OpenAPI-Generator/2.0.1/python'
|
|
106
111
|
self.client_side_validation = configuration.client_side_validation
|
|
107
112
|
|
|
108
113
|
def __enter__(self):
|
|
@@ -513,7 +513,7 @@ class Configuration:
|
|
|
513
513
|
"OS: {env}\n"\
|
|
514
514
|
"Python Version: {pyversion}\n"\
|
|
515
515
|
"Version of the API: 1.0.0\n"\
|
|
516
|
-
"SDK Package Version: 2.0.
|
|
516
|
+
"SDK Package Version: 2.0.1".\
|
|
517
517
|
format(env=sys.platform, pyversion=sys.version)
|
|
518
518
|
|
|
519
519
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -17,6 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
from datetime import date
|
|
20
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
|
|
21
22
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
23
|
from typing import Optional, Set
|
|
@@ -41,6 +42,7 @@ class ItemOut(BaseModel):
|
|
|
41
42
|
collection_image: Optional[StrictStr] = None
|
|
42
43
|
crates: Optional[List[StrictStr]] = None
|
|
43
44
|
crates_images: Optional[List[StrictStr]] = None
|
|
45
|
+
release_date: Optional[date] = None
|
|
44
46
|
rarity_name: Optional[StrictStr] = None
|
|
45
47
|
rarity_color: Optional[StrictStr] = None
|
|
46
48
|
style_name: Optional[StrictStr] = None
|
|
@@ -50,7 +52,7 @@ class ItemOut(BaseModel):
|
|
|
50
52
|
max_float: Optional[Union[StrictFloat, StrictInt]] = None
|
|
51
53
|
image_url: Optional[StrictStr] = None
|
|
52
54
|
supply: Optional[StrictInt] = None
|
|
53
|
-
__properties: ClassVar[List[str]] = ["item_id", "market_hash_name", "phase", "item_type", "item_subtype", "weapon_type", "base_name", "skin_name", "wear_name", "def_index", "paint_index", "collection", "collection_image", "crates", "crates_images", "rarity_name", "rarity_color", "style_name", "is_stattrak", "is_souvenir", "min_float", "max_float", "image_url", "supply"]
|
|
55
|
+
__properties: ClassVar[List[str]] = ["item_id", "market_hash_name", "phase", "item_type", "item_subtype", "weapon_type", "base_name", "skin_name", "wear_name", "def_index", "paint_index", "collection", "collection_image", "crates", "crates_images", "release_date", "rarity_name", "rarity_color", "style_name", "is_stattrak", "is_souvenir", "min_float", "max_float", "image_url", "supply"]
|
|
54
56
|
|
|
55
57
|
model_config = ConfigDict(
|
|
56
58
|
populate_by_name=True,
|
|
@@ -161,6 +163,11 @@ class ItemOut(BaseModel):
|
|
|
161
163
|
if self.crates_images is None and "crates_images" in self.model_fields_set:
|
|
162
164
|
_dict['crates_images'] = None
|
|
163
165
|
|
|
166
|
+
# set to None if release_date (nullable) is None
|
|
167
|
+
# and model_fields_set contains the field
|
|
168
|
+
if self.release_date is None and "release_date" in self.model_fields_set:
|
|
169
|
+
_dict['release_date'] = None
|
|
170
|
+
|
|
164
171
|
# set to None if rarity_name (nullable) is None
|
|
165
172
|
# and model_fields_set contains the field
|
|
166
173
|
if self.rarity_name is None and "rarity_name" in self.model_fields_set:
|
|
@@ -233,6 +240,7 @@ class ItemOut(BaseModel):
|
|
|
233
240
|
"collection_image": obj.get("collection_image"),
|
|
234
241
|
"crates": obj.get("crates"),
|
|
235
242
|
"crates_images": obj.get("crates_images"),
|
|
243
|
+
"release_date": obj.get("release_date"),
|
|
236
244
|
"rarity_name": obj.get("rarity_name"),
|
|
237
245
|
"rarity_color": obj.get("rarity_color"),
|
|
238
246
|
"style_name": obj.get("style_name"),
|
|
@@ -33,7 +33,7 @@ class PortfolioHistoryMeta(BaseModel):
|
|
|
33
33
|
start_date: date = Field(description="Inclusive UTC start date for the requested window.")
|
|
34
34
|
end_date: date = Field(description="Inclusive UTC end date for the requested window.")
|
|
35
35
|
interval: Optional[StrictStr] = Field(default='1d', description="History interval. Always `1d`.")
|
|
36
|
-
holdings_basis: Optional[StrictStr] = Field(default='ledger_close', description="Holdings
|
|
36
|
+
holdings_basis: Optional[StrictStr] = Field(default='ledger_close', description="Holdings basis. `ledger_close` replays holdings from the transaction ledger; `current_holdings` values the portfolio's current holdings flat across the window (no transactions required).")
|
|
37
37
|
valuation_basis: Optional[StrictStr] = Field(default='best_provider_close', description="Valuation basis. Always `best_provider_close`.")
|
|
38
38
|
__properties: ClassVar[List[str]] = ["portfolio_id", "currency", "providers_queried", "start_date", "end_date", "interval", "holdings_basis", "valuation_basis"]
|
|
39
39
|
|
|
@@ -53,8 +53,8 @@ class PortfolioHistoryMeta(BaseModel):
|
|
|
53
53
|
if value is None:
|
|
54
54
|
return value
|
|
55
55
|
|
|
56
|
-
if value not in set(['ledger_close']):
|
|
57
|
-
raise ValueError("must be one of enum values ('ledger_close')")
|
|
56
|
+
if value not in set(['ledger_close', 'current_holdings']):
|
|
57
|
+
raise ValueError("must be one of enum values ('ledger_close', 'current_holdings')")
|
|
58
58
|
return value
|
|
59
59
|
|
|
60
60
|
@field_validator('valuation_basis')
|
|
@@ -34,8 +34,11 @@ class PortfolioLineItem(BaseModel):
|
|
|
34
34
|
best_ask: Optional[StrictInt] = None
|
|
35
35
|
best_bid: Optional[StrictInt] = None
|
|
36
36
|
item_value: Optional[StrictInt] = None
|
|
37
|
+
image_url: Optional[StrictStr] = None
|
|
38
|
+
rarity_name: Optional[StrictStr] = None
|
|
39
|
+
rarity_color: Optional[StrictStr] = None
|
|
37
40
|
providers: Optional[List[BatchPriceQuote]] = Field(default=None, description="Per-provider price quotes.")
|
|
38
|
-
__properties: ClassVar[List[str]] = ["item_id", "market_hash_name", "phase", "quantity", "best_ask", "best_bid", "item_value", "providers"]
|
|
41
|
+
__properties: ClassVar[List[str]] = ["item_id", "market_hash_name", "phase", "quantity", "best_ask", "best_bid", "item_value", "image_url", "rarity_name", "rarity_color", "providers"]
|
|
39
42
|
|
|
40
43
|
model_config = ConfigDict(
|
|
41
44
|
populate_by_name=True,
|
|
@@ -103,6 +106,21 @@ class PortfolioLineItem(BaseModel):
|
|
|
103
106
|
if self.item_value is None and "item_value" in self.model_fields_set:
|
|
104
107
|
_dict['item_value'] = None
|
|
105
108
|
|
|
109
|
+
# set to None if image_url (nullable) is None
|
|
110
|
+
# and model_fields_set contains the field
|
|
111
|
+
if self.image_url is None and "image_url" in self.model_fields_set:
|
|
112
|
+
_dict['image_url'] = None
|
|
113
|
+
|
|
114
|
+
# set to None if rarity_name (nullable) is None
|
|
115
|
+
# and model_fields_set contains the field
|
|
116
|
+
if self.rarity_name is None and "rarity_name" in self.model_fields_set:
|
|
117
|
+
_dict['rarity_name'] = None
|
|
118
|
+
|
|
119
|
+
# set to None if rarity_color (nullable) is None
|
|
120
|
+
# and model_fields_set contains the field
|
|
121
|
+
if self.rarity_color is None and "rarity_color" in self.model_fields_set:
|
|
122
|
+
_dict['rarity_color'] = None
|
|
123
|
+
|
|
106
124
|
return _dict
|
|
107
125
|
|
|
108
126
|
@classmethod
|
|
@@ -122,6 +140,9 @@ class PortfolioLineItem(BaseModel):
|
|
|
122
140
|
"best_ask": obj.get("best_ask"),
|
|
123
141
|
"best_bid": obj.get("best_bid"),
|
|
124
142
|
"item_value": obj.get("item_value"),
|
|
143
|
+
"image_url": obj.get("image_url"),
|
|
144
|
+
"rarity_name": obj.get("rarity_name"),
|
|
145
|
+
"rarity_color": obj.get("rarity_color"),
|
|
125
146
|
"providers": [BatchPriceQuote.from_dict(_item) for _item in obj["providers"]] if obj.get("providers") is not None else None
|
|
126
147
|
})
|
|
127
148
|
return _obj
|
|
@@ -19,7 +19,7 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
19
19
|
# prerequisite: setuptools
|
|
20
20
|
# http://pypi.python.org/pypi/setuptools
|
|
21
21
|
NAME = "cs2cap"
|
|
22
|
-
VERSION = "2.0.
|
|
22
|
+
VERSION = "2.0.1"
|
|
23
23
|
PYTHON_REQUIRES = ">= 3.9"
|
|
24
24
|
REQUIRES = [
|
|
25
25
|
"urllib3 >= 2.1.0, < 3.0.0",
|
|
@@ -56,6 +56,7 @@ class TestItemsPaginatedResponseItemOut(unittest.TestCase):
|
|
|
56
56
|
crates_images = [
|
|
57
57
|
''
|
|
58
58
|
],
|
|
59
|
+
release_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
|
|
59
60
|
rarity_name = '',
|
|
60
61
|
rarity_color = '',
|
|
61
62
|
style_name = '',
|
|
@@ -97,6 +98,7 @@ class TestItemsPaginatedResponseItemOut(unittest.TestCase):
|
|
|
97
98
|
crates_images = [
|
|
98
99
|
''
|
|
99
100
|
],
|
|
101
|
+
release_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
|
|
100
102
|
rarity_name = '',
|
|
101
103
|
rarity_color = '',
|
|
102
104
|
style_name = '',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|