criteo-api-retailmedia-sdk 0.0.250320__py3-none-any.whl → 0.0.250409__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.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +302 -6
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +387 -76
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +274 -0
- criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_preview/model/async_accounts_report.py +71 -71
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_offsite_report.py +434 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_request.py +269 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
- criteo_api_retailmedia_preview/model/audience_error.py +16 -16
- criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
- criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/bot_message.py +4 -4
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +8 -8
- criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
- criteo_api_retailmedia_preview/model/category202204.py +8 -8
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_preview/model/common_error.py +16 -16
- criteo_api_retailmedia_preview/model/common_problem.py +20 -20
- criteo_api_retailmedia_preview/model/common_warning.py +16 -16
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_preview/model/creative2.py +50 -50
- criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +280 -0
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +270 -0
- criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
- criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
- criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
- criteo_api_retailmedia_preview/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/installment.py +4 -4
- criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_preview/model/keywords.py +18 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +311 -0
- criteo_api_retailmedia_preview/model/managed_service_fee.py +279 -0
- criteo_api_retailmedia_preview/model/message.py +4 -4
- criteo_api_retailmedia_preview/model/message_error.py +8 -8
- criteo_api_retailmedia_preview/model/metadata.py +8 -8
- criteo_api_retailmedia_preview/model/outcome.py +5 -5
- criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +12 -12
- criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
- criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_keywords_review.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/review_set_state.py +278 -0
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
- criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
- criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
- criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/status_response.py +20 -20
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_result.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_private_market_account_fees.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_seller_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py +262 -0
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +266 -0
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +34 -6
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +209 -181
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -62,11 +62,11 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
62
62
|
'max_length': 120,
|
|
63
63
|
'min_length': 0,
|
|
64
64
|
},
|
|
65
|
-
('
|
|
65
|
+
('category',): {
|
|
66
66
|
'max_length': 1000,
|
|
67
67
|
'min_length': 0,
|
|
68
68
|
},
|
|
69
|
-
('
|
|
69
|
+
('name',): {
|
|
70
70
|
'max_length': 1000,
|
|
71
71
|
'min_length': 0,
|
|
72
72
|
},
|
|
@@ -100,17 +100,17 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
100
100
|
'category_id': (str,), # noqa: E501
|
|
101
101
|
'global_brand_id': (str,), # noqa: E501
|
|
102
102
|
'global_brand_name': (str,), # noqa: E501
|
|
103
|
-
'price': (float, none_type,), # noqa: E501
|
|
104
103
|
'is_in_stock': (bool,), # noqa: E501
|
|
104
|
+
'price': (float, none_type,), # noqa: E501
|
|
105
105
|
'updated_at': (datetime,), # noqa: E501
|
|
106
|
-
'name': (str,), # noqa: E501
|
|
107
|
-
'global_category_id': (str,), # noqa: E501
|
|
108
106
|
'category': (str,), # noqa: E501
|
|
109
|
-
'
|
|
110
|
-
'retailer_brand_name': (str,), # noqa: E501
|
|
107
|
+
'global_category_id': (str,), # noqa: E501
|
|
111
108
|
'gtin': (str,), # noqa: E501
|
|
112
|
-
'mpn': (str,), # noqa: E501
|
|
113
109
|
'image_url': (str,), # noqa: E501
|
|
110
|
+
'mpn': (str,), # noqa: E501
|
|
111
|
+
'name': (str,), # noqa: E501
|
|
112
|
+
'retailer_brand_id': (str,), # noqa: E501
|
|
113
|
+
'retailer_brand_name': (str,), # noqa: E501
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
@cached_property
|
|
@@ -122,17 +122,17 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
122
122
|
'category_id': 'categoryId', # noqa: E501
|
|
123
123
|
'global_brand_id': 'globalBrandId', # noqa: E501
|
|
124
124
|
'global_brand_name': 'globalBrandName', # noqa: E501
|
|
125
|
-
'price': 'price', # noqa: E501
|
|
126
125
|
'is_in_stock': 'isInStock', # noqa: E501
|
|
126
|
+
'price': 'price', # noqa: E501
|
|
127
127
|
'updated_at': 'updatedAt', # noqa: E501
|
|
128
|
-
'name': 'name', # noqa: E501
|
|
129
|
-
'global_category_id': 'globalCategoryId', # noqa: E501
|
|
130
128
|
'category': 'category', # noqa: E501
|
|
131
|
-
'
|
|
132
|
-
'retailer_brand_name': 'retailerBrandName', # noqa: E501
|
|
129
|
+
'global_category_id': 'globalCategoryId', # noqa: E501
|
|
133
130
|
'gtin': 'gtin', # noqa: E501
|
|
134
|
-
'mpn': 'mpn', # noqa: E501
|
|
135
131
|
'image_url': 'imageUrl', # noqa: E501
|
|
132
|
+
'mpn': 'mpn', # noqa: E501
|
|
133
|
+
'name': 'name', # noqa: E501
|
|
134
|
+
'retailer_brand_id': 'retailerBrandId', # noqa: E501
|
|
135
|
+
'retailer_brand_name': 'retailerBrandName', # noqa: E501
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
read_only_vars = {
|
|
@@ -142,15 +142,15 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
142
142
|
|
|
143
143
|
@classmethod
|
|
144
144
|
@convert_js_args_to_python_args
|
|
145
|
-
def _from_openapi_data(cls, category_id, global_brand_id, global_brand_name,
|
|
145
|
+
def _from_openapi_data(cls, category_id, global_brand_id, global_brand_name, is_in_stock, price, updated_at, *args, **kwargs): # noqa: E501
|
|
146
146
|
"""SkuSlimDataPreview - a model defined in OpenAPI
|
|
147
147
|
|
|
148
148
|
Args:
|
|
149
149
|
category_id (str): The category Id.
|
|
150
150
|
global_brand_id (str): The global brand id associated to the product.
|
|
151
151
|
global_brand_name (str): The name of the global brand.
|
|
152
|
-
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
153
152
|
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
153
|
+
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
154
154
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
155
155
|
|
|
156
156
|
Keyword Args:
|
|
@@ -184,14 +184,14 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
184
184
|
Animal class but this time we won't travel
|
|
185
185
|
through its discriminator because we passed in
|
|
186
186
|
_visited_composed_classes = (Animal,)
|
|
187
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
188
|
-
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
189
187
|
category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
|
|
190
|
-
|
|
191
|
-
retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
|
|
188
|
+
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
192
189
|
gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
193
|
-
mpn (str): The MPN for the product if available.. [optional] # noqa: E501
|
|
194
190
|
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
191
|
+
mpn (str): The MPN for the product if available.. [optional] # noqa: E501
|
|
192
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
193
|
+
retailer_brand_id (str): The retailer brand id associated to the product.. [optional] # noqa: E501
|
|
194
|
+
retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -226,8 +226,8 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
226
226
|
self.category_id = category_id
|
|
227
227
|
self.global_brand_id = global_brand_id
|
|
228
228
|
self.global_brand_name = global_brand_name
|
|
229
|
-
self.price = price
|
|
230
229
|
self.is_in_stock = is_in_stock
|
|
230
|
+
self.price = price
|
|
231
231
|
self.updated_at = updated_at
|
|
232
232
|
for var_name, var_value in kwargs.items():
|
|
233
233
|
if var_name not in self.attribute_map and \
|
|
@@ -249,15 +249,15 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
249
249
|
])
|
|
250
250
|
|
|
251
251
|
@convert_js_args_to_python_args
|
|
252
|
-
def __init__(self, category_id, global_brand_id, global_brand_name,
|
|
252
|
+
def __init__(self, category_id, global_brand_id, global_brand_name, is_in_stock, price, updated_at, *args, **kwargs): # noqa: E501
|
|
253
253
|
"""SkuSlimDataPreview - a model defined in OpenAPI
|
|
254
254
|
|
|
255
255
|
Args:
|
|
256
256
|
category_id (str): The category Id.
|
|
257
257
|
global_brand_id (str): The global brand id associated to the product.
|
|
258
258
|
global_brand_name (str): The name of the global brand.
|
|
259
|
-
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
260
259
|
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
260
|
+
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
261
261
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
262
262
|
|
|
263
263
|
Keyword Args:
|
|
@@ -291,14 +291,14 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
291
291
|
Animal class but this time we won't travel
|
|
292
292
|
through its discriminator because we passed in
|
|
293
293
|
_visited_composed_classes = (Animal,)
|
|
294
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
295
|
-
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
296
294
|
category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
|
|
297
|
-
|
|
298
|
-
retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
|
|
295
|
+
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
299
296
|
gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
300
|
-
mpn (str): The MPN for the product if available.. [optional] # noqa: E501
|
|
301
297
|
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
298
|
+
mpn (str): The MPN for the product if available.. [optional] # noqa: E501
|
|
299
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
300
|
+
retailer_brand_id (str): The retailer brand id associated to the product.. [optional] # noqa: E501
|
|
301
|
+
retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
|
|
302
302
|
"""
|
|
303
303
|
|
|
304
304
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -331,8 +331,8 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
331
331
|
self.category_id = category_id
|
|
332
332
|
self.global_brand_id = global_brand_id
|
|
333
333
|
self.global_brand_name = global_brand_name
|
|
334
|
-
self.price = price
|
|
335
334
|
self.is_in_stock = is_in_stock
|
|
335
|
+
self.price = price
|
|
336
336
|
self.updated_at = updated_at
|
|
337
337
|
for var_name, var_value in kwargs.items():
|
|
338
338
|
if var_name not in self.attribute_map and \
|
|
@@ -90,8 +90,8 @@ class SkuSlimDataPreviewListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([ResourceOfSkuSlimDataPreview],), # noqa: E501
|
|
93
|
-
'warnings': ([ProblemDetails],), # noqa: E501
|
|
94
93
|
'errors': ([ProblemDetails],), # noqa: E501
|
|
94
|
+
'warnings': ([ProblemDetails],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class SkuSlimDataPreviewListResponse(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class SkuSlimDataPreviewListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([ResourceOfSkuSlimDataPreview]): [optional] # noqa: E501
|
|
152
|
-
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
153
152
|
errors ([ProblemDetails]): [optional] # noqa: E501
|
|
153
|
+
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class SkuSlimDataPreviewListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([ResourceOfSkuSlimDataPreview]): [optional] # noqa: E501
|
|
240
|
-
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
241
240
|
errors ([ProblemDetails]): [optional] # noqa: E501
|
|
241
|
+
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -93,16 +93,16 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
-
'price': (float, none_type,), # noqa: E501
|
|
97
96
|
'is_in_stock': (bool,), # noqa: E501
|
|
97
|
+
'price': (float, none_type,), # noqa: E501
|
|
98
98
|
'updated_at': (datetime,), # noqa: E501
|
|
99
|
-
'name': (str,), # noqa: E501
|
|
100
|
-
'description': (str, none_type,), # noqa: E501
|
|
101
|
-
'category': (Category,), # noqa: E501
|
|
102
99
|
'brand': (Brand,), # noqa: E501
|
|
100
|
+
'category': (Category,), # noqa: E501
|
|
101
|
+
'description': (str, none_type,), # noqa: E501
|
|
103
102
|
'gtin': (str, none_type,), # noqa: E501
|
|
104
|
-
'mpn': (str, none_type,), # noqa: E501
|
|
105
103
|
'image_url': (str,), # noqa: E501
|
|
104
|
+
'mpn': (str, none_type,), # noqa: E501
|
|
105
|
+
'name': (str,), # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@cached_property
|
|
@@ -111,16 +111,16 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
attribute_map = {
|
|
114
|
-
'price': 'price', # noqa: E501
|
|
115
114
|
'is_in_stock': 'isInStock', # noqa: E501
|
|
115
|
+
'price': 'price', # noqa: E501
|
|
116
116
|
'updated_at': 'updatedAt', # noqa: E501
|
|
117
|
-
'name': 'name', # noqa: E501
|
|
118
|
-
'description': 'description', # noqa: E501
|
|
119
|
-
'category': 'category', # noqa: E501
|
|
120
117
|
'brand': 'brand', # noqa: E501
|
|
118
|
+
'category': 'category', # noqa: E501
|
|
119
|
+
'description': 'description', # noqa: E501
|
|
121
120
|
'gtin': 'gtin', # noqa: E501
|
|
122
|
-
'mpn': 'mpn', # noqa: E501
|
|
123
121
|
'image_url': 'imageUrl', # noqa: E501
|
|
122
|
+
'mpn': 'mpn', # noqa: E501
|
|
123
|
+
'name': 'name', # noqa: E501
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
read_only_vars = {
|
|
@@ -130,12 +130,12 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
130
130
|
|
|
131
131
|
@classmethod
|
|
132
132
|
@convert_js_args_to_python_args
|
|
133
|
-
def _from_openapi_data(cls,
|
|
133
|
+
def _from_openapi_data(cls, is_in_stock, price, updated_at, *args, **kwargs): # noqa: E501
|
|
134
134
|
"""SkuSlimDataV2 - a model defined in OpenAPI
|
|
135
135
|
|
|
136
136
|
Args:
|
|
137
|
-
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
138
137
|
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
138
|
+
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
139
139
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
140
140
|
|
|
141
141
|
Keyword Args:
|
|
@@ -169,13 +169,13 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
169
169
|
Animal class but this time we won't travel
|
|
170
170
|
through its discriminator because we passed in
|
|
171
171
|
_visited_composed_classes = (Animal,)
|
|
172
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
173
|
-
description (str, none_type): A short description of the product.. [optional] # noqa: E501
|
|
174
|
-
category (Category): [optional] # noqa: E501
|
|
175
172
|
brand (Brand): [optional] # noqa: E501
|
|
173
|
+
category (Category): [optional] # noqa: E501
|
|
174
|
+
description (str, none_type): A short description of the product.. [optional] # noqa: E501
|
|
176
175
|
gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
177
|
-
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
178
176
|
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
177
|
+
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
178
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
179
179
|
"""
|
|
180
180
|
|
|
181
181
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -207,8 +207,8 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
207
207
|
self._configuration = _configuration
|
|
208
208
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
209
209
|
|
|
210
|
-
self.price = price
|
|
211
210
|
self.is_in_stock = is_in_stock
|
|
211
|
+
self.price = price
|
|
212
212
|
self.updated_at = updated_at
|
|
213
213
|
for var_name, var_value in kwargs.items():
|
|
214
214
|
if var_name not in self.attribute_map and \
|
|
@@ -230,12 +230,12 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
230
230
|
])
|
|
231
231
|
|
|
232
232
|
@convert_js_args_to_python_args
|
|
233
|
-
def __init__(self,
|
|
233
|
+
def __init__(self, is_in_stock, price, updated_at, *args, **kwargs): # noqa: E501
|
|
234
234
|
"""SkuSlimDataV2 - a model defined in OpenAPI
|
|
235
235
|
|
|
236
236
|
Args:
|
|
237
|
-
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
238
237
|
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
238
|
+
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
239
239
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
240
240
|
|
|
241
241
|
Keyword Args:
|
|
@@ -269,13 +269,13 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
269
269
|
Animal class but this time we won't travel
|
|
270
270
|
through its discriminator because we passed in
|
|
271
271
|
_visited_composed_classes = (Animal,)
|
|
272
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
273
|
-
description (str, none_type): A short description of the product.. [optional] # noqa: E501
|
|
274
|
-
category (Category): [optional] # noqa: E501
|
|
275
272
|
brand (Brand): [optional] # noqa: E501
|
|
273
|
+
category (Category): [optional] # noqa: E501
|
|
274
|
+
description (str, none_type): A short description of the product.. [optional] # noqa: E501
|
|
276
275
|
gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
277
|
-
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
278
276
|
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
277
|
+
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
278
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
279
279
|
"""
|
|
280
280
|
|
|
281
281
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -305,8 +305,8 @@ class SkuSlimDataV2(ModelNormal):
|
|
|
305
305
|
self._configuration = _configuration
|
|
306
306
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
307
307
|
|
|
308
|
-
self.price = price
|
|
309
308
|
self.is_in_stock = is_in_stock
|
|
309
|
+
self.price = price
|
|
310
310
|
self.updated_at = updated_at
|
|
311
311
|
for var_name, var_value in kwargs.items():
|
|
312
312
|
if var_name not in self.attribute_map and \
|
|
@@ -90,8 +90,8 @@ class SkuSlimDataV2ListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([ResourceOfSkuSlimDataV2],), # noqa: E501
|
|
93
|
-
'warnings': ([ProblemDetails],), # noqa: E501
|
|
94
93
|
'errors': ([ProblemDetails],), # noqa: E501
|
|
94
|
+
'warnings': ([ProblemDetails],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class SkuSlimDataV2ListResponse(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class SkuSlimDataV2ListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([ResourceOfSkuSlimDataV2]): [optional] # noqa: E501
|
|
152
|
-
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
153
152
|
errors ([ProblemDetails]): [optional] # noqa: E501
|
|
153
|
+
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class SkuSlimDataV2ListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([ResourceOfSkuSlimDataV2]): [optional] # noqa: E501
|
|
240
|
-
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
241
240
|
errors ([ProblemDetails]): [optional] # noqa: E501
|
|
241
|
+
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -88,14 +88,14 @@ class StatusResponse(ModelNormal):
|
|
|
88
88
|
and the value is attribute type.
|
|
89
89
|
"""
|
|
90
90
|
return {
|
|
91
|
-
'status': (str, none_type,), # noqa: E501
|
|
92
|
-
'row_count': (int, none_type,), # noqa: E501
|
|
93
|
-
'file_size_bytes': (int, none_type,), # noqa: E501
|
|
94
|
-
'md5_check_sum': (str, none_type,), # noqa: E501
|
|
95
91
|
'created_at': (str, none_type,), # noqa: E501
|
|
96
92
|
'expires_at': (str, none_type,), # noqa: E501
|
|
97
|
-
'
|
|
93
|
+
'file_size_bytes': (int, none_type,), # noqa: E501
|
|
98
94
|
'id': (str, none_type,), # noqa: E501
|
|
95
|
+
'md5_check_sum': (str, none_type,), # noqa: E501
|
|
96
|
+
'message': (str, none_type,), # noqa: E501
|
|
97
|
+
'row_count': (int, none_type,), # noqa: E501
|
|
98
|
+
'status': (str, none_type,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@cached_property
|
|
@@ -104,14 +104,14 @@ class StatusResponse(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
|
-
'status': 'status', # noqa: E501
|
|
108
|
-
'row_count': 'rowCount', # noqa: E501
|
|
109
|
-
'file_size_bytes': 'fileSizeBytes', # noqa: E501
|
|
110
|
-
'md5_check_sum': 'md5CheckSum', # noqa: E501
|
|
111
107
|
'created_at': 'createdAt', # noqa: E501
|
|
112
108
|
'expires_at': 'expiresAt', # noqa: E501
|
|
113
|
-
'
|
|
109
|
+
'file_size_bytes': 'fileSizeBytes', # noqa: E501
|
|
114
110
|
'id': 'id', # noqa: E501
|
|
111
|
+
'md5_check_sum': 'md5CheckSum', # noqa: E501
|
|
112
|
+
'message': 'message', # noqa: E501
|
|
113
|
+
'row_count': 'rowCount', # noqa: E501
|
|
114
|
+
'status': 'status', # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
read_only_vars = {
|
|
@@ -155,14 +155,14 @@ class StatusResponse(ModelNormal):
|
|
|
155
155
|
Animal class but this time we won't travel
|
|
156
156
|
through its discriminator because we passed in
|
|
157
157
|
_visited_composed_classes = (Animal,)
|
|
158
|
-
status (str, none_type): [optional] # noqa: E501
|
|
159
|
-
row_count (int, none_type): [optional] # noqa: E501
|
|
160
|
-
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
161
|
-
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
162
158
|
created_at (str, none_type): [optional] # noqa: E501
|
|
163
159
|
expires_at (str, none_type): [optional] # noqa: E501
|
|
164
|
-
|
|
160
|
+
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
165
161
|
id (str, none_type): [optional] # noqa: E501
|
|
162
|
+
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
163
|
+
message (str, none_type): [optional] # noqa: E501
|
|
164
|
+
row_count (int, none_type): [optional] # noqa: E501
|
|
165
|
+
status (str, none_type): [optional] # noqa: E501
|
|
166
166
|
"""
|
|
167
167
|
|
|
168
168
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -248,14 +248,14 @@ class StatusResponse(ModelNormal):
|
|
|
248
248
|
Animal class but this time we won't travel
|
|
249
249
|
through its discriminator because we passed in
|
|
250
250
|
_visited_composed_classes = (Animal,)
|
|
251
|
-
status (str, none_type): [optional] # noqa: E501
|
|
252
|
-
row_count (int, none_type): [optional] # noqa: E501
|
|
253
|
-
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
254
|
-
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
255
251
|
created_at (str, none_type): [optional] # noqa: E501
|
|
256
252
|
expires_at (str, none_type): [optional] # noqa: E501
|
|
257
|
-
|
|
253
|
+
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
258
254
|
id (str, none_type): [optional] # noqa: E501
|
|
255
|
+
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
256
|
+
message (str, none_type): [optional] # noqa: E501
|
|
257
|
+
row_count (int, none_type): [optional] # noqa: E501
|
|
258
|
+
status (str, none_type): [optional] # noqa: E501
|
|
259
259
|
"""
|
|
260
260
|
|
|
261
261
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -55,28 +55,16 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('click_attribution_window',): {
|
|
59
|
-
'NONE': "none",
|
|
60
|
-
'7D': "7D",
|
|
61
|
-
'14D': "14D",
|
|
62
|
-
'30D': "30D",
|
|
63
|
-
},
|
|
64
|
-
('view_attribution_window',): {
|
|
65
|
-
'NONE': "none",
|
|
66
|
-
'1D': "1D",
|
|
67
|
-
'7D': "7D",
|
|
68
|
-
'14D': "14D",
|
|
69
|
-
'30D': "30D",
|
|
70
|
-
},
|
|
71
58
|
('campaign_type',): {
|
|
72
59
|
'ALL': "all",
|
|
73
60
|
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
74
61
|
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
75
62
|
},
|
|
76
|
-
('
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
63
|
+
('click_attribution_window',): {
|
|
64
|
+
'NONE': "none",
|
|
65
|
+
'7D': "7D",
|
|
66
|
+
'14D': "14D",
|
|
67
|
+
'30D': "30D",
|
|
80
68
|
},
|
|
81
69
|
('dimensions',): {
|
|
82
70
|
'PURCHASEDDATE': "purchasedDate",
|
|
@@ -114,6 +102,18 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
114
102
|
'ATTRIBUTEDUNITS': "attributedUnits",
|
|
115
103
|
'ATTRIBUTEDSALES': "attributedSales",
|
|
116
104
|
},
|
|
105
|
+
('sales_channel',): {
|
|
106
|
+
'ALL': "all",
|
|
107
|
+
'OFFLINE': "offline",
|
|
108
|
+
'ONLINE': "online",
|
|
109
|
+
},
|
|
110
|
+
('view_attribution_window',): {
|
|
111
|
+
'NONE': "none",
|
|
112
|
+
'1D': "1D",
|
|
113
|
+
'7D': "7D",
|
|
114
|
+
'14D': "14D",
|
|
115
|
+
'30D': "30D",
|
|
116
|
+
},
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
validations = {
|
|
@@ -141,17 +141,17 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
141
141
|
"""
|
|
142
142
|
return {
|
|
143
143
|
'account_id': (str,), # noqa: E501
|
|
144
|
-
'start_date': (datetime,), # noqa: E501
|
|
145
144
|
'end_date': (datetime,), # noqa: E501
|
|
145
|
+
'start_date': (datetime,), # noqa: E501
|
|
146
146
|
'campaign_ids': ([str],), # noqa: E501
|
|
147
|
-
'line_item_ids': ([str],), # noqa: E501
|
|
148
|
-
'click_attribution_window': (str,), # noqa: E501
|
|
149
|
-
'view_attribution_window': (str,), # noqa: E501
|
|
150
147
|
'campaign_type': (str,), # noqa: E501
|
|
151
|
-
'
|
|
148
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
152
149
|
'dimensions': ([str],), # noqa: E501
|
|
150
|
+
'line_item_ids': ([str],), # noqa: E501
|
|
153
151
|
'metrics': ([str],), # noqa: E501
|
|
152
|
+
'sales_channel': (str,), # noqa: E501
|
|
154
153
|
'timezone': (str,), # noqa: E501
|
|
154
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
@cached_property
|
|
@@ -161,17 +161,17 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
161
161
|
|
|
162
162
|
attribute_map = {
|
|
163
163
|
'account_id': 'accountId', # noqa: E501
|
|
164
|
-
'start_date': 'startDate', # noqa: E501
|
|
165
164
|
'end_date': 'endDate', # noqa: E501
|
|
165
|
+
'start_date': 'startDate', # noqa: E501
|
|
166
166
|
'campaign_ids': 'campaignIds', # noqa: E501
|
|
167
|
-
'line_item_ids': 'lineItemIds', # noqa: E501
|
|
168
|
-
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
169
|
-
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
170
167
|
'campaign_type': 'campaignType', # noqa: E501
|
|
171
|
-
'
|
|
168
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
172
169
|
'dimensions': 'dimensions', # noqa: E501
|
|
170
|
+
'line_item_ids': 'lineItemIds', # noqa: E501
|
|
173
171
|
'metrics': 'metrics', # noqa: E501
|
|
172
|
+
'sales_channel': 'salesChannel', # noqa: E501
|
|
174
173
|
'timezone': 'timezone', # noqa: E501
|
|
174
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
read_only_vars = {
|
|
@@ -181,13 +181,13 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
181
181
|
|
|
182
182
|
@classmethod
|
|
183
183
|
@convert_js_args_to_python_args
|
|
184
|
-
def _from_openapi_data(cls, account_id,
|
|
184
|
+
def _from_openapi_data(cls, account_id, end_date, start_date, *args, **kwargs): # noqa: E501
|
|
185
185
|
"""SyncAttributedTransactionsReport - a model defined in OpenAPI
|
|
186
186
|
|
|
187
187
|
Args:
|
|
188
188
|
account_id (str): Account id to report on
|
|
189
|
-
start_date (datetime): Start date
|
|
190
189
|
end_date (datetime): End date
|
|
190
|
+
start_date (datetime): Start date
|
|
191
191
|
|
|
192
192
|
Keyword Args:
|
|
193
193
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -221,14 +221,14 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
221
221
|
through its discriminator because we passed in
|
|
222
222
|
_visited_composed_classes = (Animal,)
|
|
223
223
|
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
224
|
-
line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
|
|
225
|
-
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
226
|
-
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
227
224
|
campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
228
|
-
|
|
225
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
229
226
|
dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
|
|
227
|
+
line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
|
|
230
228
|
metrics ([str]): List of metrics to report on. [optional] # noqa: E501
|
|
229
|
+
sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
231
230
|
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
231
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -261,8 +261,8 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
261
261
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
262
262
|
|
|
263
263
|
self.account_id = account_id
|
|
264
|
-
self.start_date = start_date
|
|
265
264
|
self.end_date = end_date
|
|
265
|
+
self.start_date = start_date
|
|
266
266
|
for var_name, var_value in kwargs.items():
|
|
267
267
|
if var_name not in self.attribute_map and \
|
|
268
268
|
self._configuration is not None and \
|
|
@@ -283,13 +283,13 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
283
283
|
])
|
|
284
284
|
|
|
285
285
|
@convert_js_args_to_python_args
|
|
286
|
-
def __init__(self, account_id,
|
|
286
|
+
def __init__(self, account_id, end_date, start_date, *args, **kwargs): # noqa: E501
|
|
287
287
|
"""SyncAttributedTransactionsReport - a model defined in OpenAPI
|
|
288
288
|
|
|
289
289
|
Args:
|
|
290
290
|
account_id (str): Account id to report on
|
|
291
|
-
start_date (datetime): Start date
|
|
292
291
|
end_date (datetime): End date
|
|
292
|
+
start_date (datetime): Start date
|
|
293
293
|
|
|
294
294
|
Keyword Args:
|
|
295
295
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -323,14 +323,14 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
323
323
|
through its discriminator because we passed in
|
|
324
324
|
_visited_composed_classes = (Animal,)
|
|
325
325
|
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
326
|
-
line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
|
|
327
|
-
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
328
|
-
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
329
326
|
campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
330
|
-
|
|
327
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
331
328
|
dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
|
|
329
|
+
line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
|
|
332
330
|
metrics ([str]): List of metrics to report on. [optional] # noqa: E501
|
|
331
|
+
sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
333
332
|
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
333
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
334
334
|
"""
|
|
335
335
|
|
|
336
336
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -361,8 +361,8 @@ class SyncAttributedTransactionsReport(ModelNormal):
|
|
|
361
361
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
362
362
|
|
|
363
363
|
self.account_id = account_id
|
|
364
|
-
self.start_date = start_date
|
|
365
364
|
self.end_date = end_date
|
|
365
|
+
self.start_date = start_date
|
|
366
366
|
for var_name, var_value in kwargs.items():
|
|
367
367
|
if var_name not in self.attribute_map and \
|
|
368
368
|
self._configuration is not None and \
|