criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.0.250425__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 +187 -35
- 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 +88 -509
- 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 +278 -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 +73 -73
- 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/{common_error.py → async_offsite_report.py} +185 -45
- criteo_api_retailmedia_preview/model/{grant_consent_input.py → async_offsite_report_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{grant_consent_model_value_resource.py → async_offsite_report_resource.py} +9 -9
- 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 +11 -5
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +15 -9
- 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_problem.py +20 -20
- 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 +12 -5
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +17 -10
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
- 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 +4 -4
- 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_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/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_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
- criteo_api_retailmedia_preview/model/{input_keywords.py → managed_service_fee.py} +31 -17
- 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 +15 -9
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
- 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/{recommended_keywords_result.py → private_market_account_fees.py} +13 -13
- 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_seller.py +8 -8
- 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_of_recommended_keywords_result.py → value_resource_account_fees_update_result.py} +11 -11
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +12 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_response.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +26 -27
- 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/value_resource_input_brand_id_search_request.py +8 -1
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_request.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- 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/{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_of_recommended_keywords_result.py → value_resource_outcome_account_fees_update_result.py} +18 -18
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
- 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 +4 -4
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +24 -22
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +197 -195
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/common_warning.py +0 -301
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
- criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request_v2.py +0 -269
- criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
- criteo_api_retailmedia_preview/model/keywords.py +0 -297
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
|
@@ -55,13 +55,10 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'PRODUCT': "product",
|
|
63
|
-
'ENVIRONMENT': "environment",
|
|
64
|
-
'SERVEDCATEGORY': "servedCategory",
|
|
58
|
+
('campaign_type',): {
|
|
59
|
+
'ALL': "all",
|
|
60
|
+
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
61
|
+
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
65
62
|
},
|
|
66
63
|
('click_attribution_window',): {
|
|
67
64
|
'NONE': "none",
|
|
@@ -69,23 +66,6 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
69
66
|
'14D': "14D",
|
|
70
67
|
'30D': "30D",
|
|
71
68
|
},
|
|
72
|
-
('view_attribution_window',): {
|
|
73
|
-
'NONE': "none",
|
|
74
|
-
'1D': "1D",
|
|
75
|
-
'7D': "7D",
|
|
76
|
-
'14D': "14D",
|
|
77
|
-
'30D': "30D",
|
|
78
|
-
},
|
|
79
|
-
('campaign_type',): {
|
|
80
|
-
'ALL': "all",
|
|
81
|
-
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
82
|
-
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
83
|
-
},
|
|
84
|
-
('sales_channel',): {
|
|
85
|
-
'ALL': "all",
|
|
86
|
-
'OFFLINE': "offline",
|
|
87
|
-
'ONLINE': "online",
|
|
88
|
-
},
|
|
89
69
|
('dimensions',): {
|
|
90
70
|
'DATE': "date",
|
|
91
71
|
'HOUR': "hour",
|
|
@@ -127,6 +107,26 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
127
107
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
128
108
|
'FREQUENCY': "frequency",
|
|
129
109
|
},
|
|
110
|
+
('report_type',): {
|
|
111
|
+
'SUMMARY': "summary",
|
|
112
|
+
'PAGETYPE': "pageType",
|
|
113
|
+
'PRODUCTCATEGORY': "productCategory",
|
|
114
|
+
'PRODUCT': "product",
|
|
115
|
+
'ENVIRONMENT': "environment",
|
|
116
|
+
'SERVEDCATEGORY': "servedCategory",
|
|
117
|
+
},
|
|
118
|
+
('sales_channel',): {
|
|
119
|
+
'ONLINE': "online",
|
|
120
|
+
'OFFLINE': "offline",
|
|
121
|
+
'ALL': "all",
|
|
122
|
+
},
|
|
123
|
+
('view_attribution_window',): {
|
|
124
|
+
'NONE': "none",
|
|
125
|
+
'1D': "1D",
|
|
126
|
+
'7D': "7D",
|
|
127
|
+
'14D': "14D",
|
|
128
|
+
'30D': "30D",
|
|
129
|
+
},
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
validations = {
|
|
@@ -154,17 +154,17 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
154
154
|
"""
|
|
155
155
|
return {
|
|
156
156
|
'account_id': (str,), # noqa: E501
|
|
157
|
-
'start_date': (datetime,), # noqa: E501
|
|
158
157
|
'end_date': (datetime,), # noqa: E501
|
|
159
|
-
'
|
|
158
|
+
'start_date': (datetime,), # noqa: E501
|
|
160
159
|
'campaign_ids': ([str],), # noqa: E501
|
|
161
|
-
'click_attribution_window': (str,), # noqa: E501
|
|
162
|
-
'view_attribution_window': (str,), # noqa: E501
|
|
163
160
|
'campaign_type': (str,), # noqa: E501
|
|
164
|
-
'
|
|
161
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
165
162
|
'dimensions': ([str],), # noqa: E501
|
|
166
163
|
'metrics': ([str],), # noqa: E501
|
|
164
|
+
'report_type': (str,), # noqa: E501
|
|
165
|
+
'sales_channel': (str,), # noqa: E501
|
|
167
166
|
'timezone': (str,), # noqa: E501
|
|
167
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
@cached_property
|
|
@@ -174,17 +174,17 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
174
174
|
|
|
175
175
|
attribute_map = {
|
|
176
176
|
'account_id': 'accountId', # noqa: E501
|
|
177
|
-
'start_date': 'startDate', # noqa: E501
|
|
178
177
|
'end_date': 'endDate', # noqa: E501
|
|
179
|
-
'
|
|
178
|
+
'start_date': 'startDate', # noqa: E501
|
|
180
179
|
'campaign_ids': 'campaignIds', # noqa: E501
|
|
181
|
-
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
182
|
-
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
183
180
|
'campaign_type': 'campaignType', # noqa: E501
|
|
184
|
-
'
|
|
181
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
185
182
|
'dimensions': 'dimensions', # noqa: E501
|
|
186
183
|
'metrics': 'metrics', # noqa: E501
|
|
184
|
+
'report_type': 'reportType', # noqa: E501
|
|
185
|
+
'sales_channel': 'salesChannel', # noqa: E501
|
|
187
186
|
'timezone': 'timezone', # noqa: E501
|
|
187
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
read_only_vars = {
|
|
@@ -194,13 +194,13 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
194
194
|
|
|
195
195
|
@classmethod
|
|
196
196
|
@convert_js_args_to_python_args
|
|
197
|
-
def _from_openapi_data(cls, account_id,
|
|
197
|
+
def _from_openapi_data(cls, account_id, end_date, start_date, *args, **kwargs): # noqa: E501
|
|
198
198
|
"""SyncCampaignsReport - a model defined in OpenAPI
|
|
199
199
|
|
|
200
200
|
Args:
|
|
201
201
|
account_id (str): Account id to report on
|
|
202
|
-
start_date (datetime): Start date
|
|
203
202
|
end_date (datetime): End date
|
|
203
|
+
start_date (datetime): Start date
|
|
204
204
|
|
|
205
205
|
Keyword Args:
|
|
206
206
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,15 +233,15 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
233
233
|
Animal class but this time we won't travel
|
|
234
234
|
through its discriminator because we passed in
|
|
235
235
|
_visited_composed_classes = (Animal,)
|
|
236
|
-
report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
237
236
|
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
238
|
-
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
239
|
-
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
240
237
|
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
|
|
241
|
-
|
|
238
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
242
239
|
dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
|
|
243
240
|
metrics ([str]): List of metrics to report on. [optional] # noqa: E501
|
|
241
|
+
report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
242
|
+
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
|
|
244
243
|
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
|
|
244
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
245
245
|
"""
|
|
246
246
|
|
|
247
247
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -274,8 +274,8 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
274
274
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
275
275
|
|
|
276
276
|
self.account_id = account_id
|
|
277
|
-
self.start_date = start_date
|
|
278
277
|
self.end_date = end_date
|
|
278
|
+
self.start_date = start_date
|
|
279
279
|
for var_name, var_value in kwargs.items():
|
|
280
280
|
if var_name not in self.attribute_map and \
|
|
281
281
|
self._configuration is not None and \
|
|
@@ -296,13 +296,13 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
296
296
|
])
|
|
297
297
|
|
|
298
298
|
@convert_js_args_to_python_args
|
|
299
|
-
def __init__(self, account_id,
|
|
299
|
+
def __init__(self, account_id, end_date, start_date, *args, **kwargs): # noqa: E501
|
|
300
300
|
"""SyncCampaignsReport - a model defined in OpenAPI
|
|
301
301
|
|
|
302
302
|
Args:
|
|
303
303
|
account_id (str): Account id to report on
|
|
304
|
-
start_date (datetime): Start date
|
|
305
304
|
end_date (datetime): End date
|
|
305
|
+
start_date (datetime): Start date
|
|
306
306
|
|
|
307
307
|
Keyword Args:
|
|
308
308
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -335,15 +335,15 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
335
335
|
Animal class but this time we won't travel
|
|
336
336
|
through its discriminator because we passed in
|
|
337
337
|
_visited_composed_classes = (Animal,)
|
|
338
|
-
report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
339
338
|
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
340
|
-
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
341
|
-
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
342
339
|
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
|
|
343
|
-
|
|
340
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
344
341
|
dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
|
|
345
342
|
metrics ([str]): List of metrics to report on. [optional] # noqa: E501
|
|
343
|
+
report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
344
|
+
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
|
|
346
345
|
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
|
|
346
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
347
347
|
"""
|
|
348
348
|
|
|
349
349
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -374,8 +374,8 @@ class SyncCampaignsReport(ModelNormal):
|
|
|
374
374
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
375
375
|
|
|
376
376
|
self.account_id = account_id
|
|
377
|
-
self.start_date = start_date
|
|
378
377
|
self.end_date = end_date
|
|
378
|
+
self.start_date = start_date
|
|
379
379
|
for var_name, var_value in kwargs.items():
|
|
380
380
|
if var_name not in self.attribute_map and \
|
|
381
381
|
self._configuration is not None and \
|
|
@@ -87,8 +87,8 @@ class SyncCampaignsReportResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (SyncCampaignsReport,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class SyncCampaignsReportResource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class SyncCampaignsReportResource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (SyncCampaignsReport): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class SyncCampaignsReportResource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (SyncCampaignsReport): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -55,13 +55,10 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'PRODUCT': "product",
|
|
63
|
-
'ENVIRONMENT': "environment",
|
|
64
|
-
'SERVEDCATEGORY': "servedCategory",
|
|
58
|
+
('campaign_type',): {
|
|
59
|
+
'ALL': "all",
|
|
60
|
+
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
61
|
+
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
65
62
|
},
|
|
66
63
|
('click_attribution_window',): {
|
|
67
64
|
'NONE': "none",
|
|
@@ -69,23 +66,6 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
69
66
|
'14D': "14D",
|
|
70
67
|
'30D': "30D",
|
|
71
68
|
},
|
|
72
|
-
('view_attribution_window',): {
|
|
73
|
-
'NONE': "none",
|
|
74
|
-
'1D': "1D",
|
|
75
|
-
'7D': "7D",
|
|
76
|
-
'14D': "14D",
|
|
77
|
-
'30D': "30D",
|
|
78
|
-
},
|
|
79
|
-
('campaign_type',): {
|
|
80
|
-
'ALL': "all",
|
|
81
|
-
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
82
|
-
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
83
|
-
},
|
|
84
|
-
('sales_channel',): {
|
|
85
|
-
'ALL': "all",
|
|
86
|
-
'OFFLINE': "offline",
|
|
87
|
-
'ONLINE': "online",
|
|
88
|
-
},
|
|
89
69
|
('dimensions',): {
|
|
90
70
|
'DATE': "date",
|
|
91
71
|
'HOUR': "hour",
|
|
@@ -127,6 +107,26 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
127
107
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
128
108
|
'FREQUENCY': "frequency",
|
|
129
109
|
},
|
|
110
|
+
('report_type',): {
|
|
111
|
+
'SUMMARY': "summary",
|
|
112
|
+
'PAGETYPE': "pageType",
|
|
113
|
+
'PRODUCTCATEGORY': "productCategory",
|
|
114
|
+
'PRODUCT': "product",
|
|
115
|
+
'ENVIRONMENT': "environment",
|
|
116
|
+
'SERVEDCATEGORY': "servedCategory",
|
|
117
|
+
},
|
|
118
|
+
('sales_channel',): {
|
|
119
|
+
'ONLINE': "online",
|
|
120
|
+
'OFFLINE': "offline",
|
|
121
|
+
'ALL': "all",
|
|
122
|
+
},
|
|
123
|
+
('view_attribution_window',): {
|
|
124
|
+
'NONE': "none",
|
|
125
|
+
'1D': "1D",
|
|
126
|
+
'7D': "7D",
|
|
127
|
+
'14D': "14D",
|
|
128
|
+
'30D': "30D",
|
|
129
|
+
},
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
validations = {
|
|
@@ -154,18 +154,18 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
154
154
|
"""
|
|
155
155
|
return {
|
|
156
156
|
'account_id': (str,), # noqa: E501
|
|
157
|
-
'start_date': (datetime,), # noqa: E501
|
|
158
157
|
'end_date': (datetime,), # noqa: E501
|
|
159
|
-
'
|
|
160
|
-
'line_item_ids': ([str],), # noqa: E501
|
|
158
|
+
'start_date': (datetime,), # noqa: E501
|
|
161
159
|
'campaign_ids': ([str],), # noqa: E501
|
|
162
|
-
'click_attribution_window': (str,), # noqa: E501
|
|
163
|
-
'view_attribution_window': (str,), # noqa: E501
|
|
164
160
|
'campaign_type': (str,), # noqa: E501
|
|
165
|
-
'
|
|
161
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
166
162
|
'dimensions': ([str],), # noqa: E501
|
|
163
|
+
'line_item_ids': ([str],), # noqa: E501
|
|
167
164
|
'metrics': ([str],), # noqa: E501
|
|
165
|
+
'report_type': (str,), # noqa: E501
|
|
166
|
+
'sales_channel': (str,), # noqa: E501
|
|
168
167
|
'timezone': (str,), # noqa: E501
|
|
168
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
@cached_property
|
|
@@ -175,18 +175,18 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
175
175
|
|
|
176
176
|
attribute_map = {
|
|
177
177
|
'account_id': 'accountId', # noqa: E501
|
|
178
|
-
'start_date': 'startDate', # noqa: E501
|
|
179
178
|
'end_date': 'endDate', # noqa: E501
|
|
180
|
-
'
|
|
181
|
-
'line_item_ids': 'lineItemIds', # noqa: E501
|
|
179
|
+
'start_date': 'startDate', # noqa: E501
|
|
182
180
|
'campaign_ids': 'campaignIds', # noqa: E501
|
|
183
|
-
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
184
|
-
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
185
181
|
'campaign_type': 'campaignType', # noqa: E501
|
|
186
|
-
'
|
|
182
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
187
183
|
'dimensions': 'dimensions', # noqa: E501
|
|
184
|
+
'line_item_ids': 'lineItemIds', # noqa: E501
|
|
188
185
|
'metrics': 'metrics', # noqa: E501
|
|
186
|
+
'report_type': 'reportType', # noqa: E501
|
|
187
|
+
'sales_channel': 'salesChannel', # noqa: E501
|
|
189
188
|
'timezone': 'timezone', # noqa: E501
|
|
189
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
read_only_vars = {
|
|
@@ -196,13 +196,13 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@classmethod
|
|
198
198
|
@convert_js_args_to_python_args
|
|
199
|
-
def _from_openapi_data(cls, account_id,
|
|
199
|
+
def _from_openapi_data(cls, account_id, end_date, start_date, *args, **kwargs): # noqa: E501
|
|
200
200
|
"""SyncLineItemsReport - a model defined in OpenAPI
|
|
201
201
|
|
|
202
202
|
Args:
|
|
203
203
|
account_id (str): Account id to report on
|
|
204
|
-
start_date (datetime): Start date
|
|
205
204
|
end_date (datetime): End date
|
|
205
|
+
start_date (datetime): Start date
|
|
206
206
|
|
|
207
207
|
Keyword Args:
|
|
208
208
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -235,16 +235,16 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
235
235
|
Animal class but this time we won't travel
|
|
236
236
|
through its discriminator because we passed in
|
|
237
237
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
239
|
-
line_item_ids ([str]): Line Item ids to filter. [optional] # noqa: E501
|
|
240
238
|
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
241
|
-
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
242
|
-
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
243
239
|
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
|
|
244
|
-
|
|
240
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
245
241
|
dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
|
|
242
|
+
line_item_ids ([str]): Line Item ids to filter. [optional] # noqa: E501
|
|
246
243
|
metrics ([str]): List of metrics to report on. [optional] # noqa: E501
|
|
244
|
+
report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
245
|
+
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
|
|
247
246
|
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
|
|
247
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -277,8 +277,8 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
277
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
278
278
|
|
|
279
279
|
self.account_id = account_id
|
|
280
|
-
self.start_date = start_date
|
|
281
280
|
self.end_date = end_date
|
|
281
|
+
self.start_date = start_date
|
|
282
282
|
for var_name, var_value in kwargs.items():
|
|
283
283
|
if var_name not in self.attribute_map and \
|
|
284
284
|
self._configuration is not None and \
|
|
@@ -299,13 +299,13 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
299
299
|
])
|
|
300
300
|
|
|
301
301
|
@convert_js_args_to_python_args
|
|
302
|
-
def __init__(self, account_id,
|
|
302
|
+
def __init__(self, account_id, end_date, start_date, *args, **kwargs): # noqa: E501
|
|
303
303
|
"""SyncLineItemsReport - a model defined in OpenAPI
|
|
304
304
|
|
|
305
305
|
Args:
|
|
306
306
|
account_id (str): Account id to report on
|
|
307
|
-
start_date (datetime): Start date
|
|
308
307
|
end_date (datetime): End date
|
|
308
|
+
start_date (datetime): Start date
|
|
309
309
|
|
|
310
310
|
Keyword Args:
|
|
311
311
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -338,16 +338,16 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
338
338
|
Animal class but this time we won't travel
|
|
339
339
|
through its discriminator because we passed in
|
|
340
340
|
_visited_composed_classes = (Animal,)
|
|
341
|
-
report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
342
|
-
line_item_ids ([str]): Line Item ids to filter. [optional] # noqa: E501
|
|
343
341
|
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
344
|
-
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
345
|
-
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
346
342
|
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
|
|
347
|
-
|
|
343
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
348
344
|
dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
|
|
345
|
+
line_item_ids ([str]): Line Item ids to filter. [optional] # noqa: E501
|
|
349
346
|
metrics ([str]): List of metrics to report on. [optional] # noqa: E501
|
|
347
|
+
report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
348
|
+
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
|
|
350
349
|
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
|
|
350
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
351
351
|
"""
|
|
352
352
|
|
|
353
353
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -378,8 +378,8 @@ class SyncLineItemsReport(ModelNormal):
|
|
|
378
378
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
379
379
|
|
|
380
380
|
self.account_id = account_id
|
|
381
|
-
self.start_date = start_date
|
|
382
381
|
self.end_date = end_date
|
|
382
|
+
self.start_date = start_date
|
|
383
383
|
for var_name, var_value in kwargs.items():
|
|
384
384
|
if var_name not in self.attribute_map and \
|
|
385
385
|
self._configuration is not None and \
|
|
@@ -87,8 +87,8 @@ class SyncLineItemsReportResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (SyncLineItemsReport,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class SyncLineItemsReportResource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class SyncLineItemsReportResource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (SyncLineItemsReport): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class SyncLineItemsReportResource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (SyncLineItemsReport): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -91,11 +91,11 @@ class TemplateVariableValue(ModelNormal):
|
|
|
91
91
|
lazy_import()
|
|
92
92
|
return {
|
|
93
93
|
'id': (str,), # noqa: E501
|
|
94
|
-
'text_variable_value': (TextVariableValue,), # noqa: E501
|
|
95
94
|
'choice_variable_value': (ChoiceVariableValue,), # noqa: E501
|
|
96
95
|
'color_variable_value': (ColorVariableValue,), # noqa: E501
|
|
97
96
|
'files_variable_value': (FilesVariableValue,), # noqa: E501
|
|
98
97
|
'hyperlink_variable_value': (HyperlinkVariableValue,), # noqa: E501
|
|
98
|
+
'text_variable_value': (TextVariableValue,), # noqa: E501
|
|
99
99
|
'video_variable_value': (VideoVariableValue,), # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -106,11 +106,11 @@ class TemplateVariableValue(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
attribute_map = {
|
|
108
108
|
'id': 'id', # noqa: E501
|
|
109
|
-
'text_variable_value': 'textVariableValue', # noqa: E501
|
|
110
109
|
'choice_variable_value': 'choiceVariableValue', # noqa: E501
|
|
111
110
|
'color_variable_value': 'colorVariableValue', # noqa: E501
|
|
112
111
|
'files_variable_value': 'filesVariableValue', # noqa: E501
|
|
113
112
|
'hyperlink_variable_value': 'hyperlinkVariableValue', # noqa: E501
|
|
113
|
+
'text_variable_value': 'textVariableValue', # noqa: E501
|
|
114
114
|
'video_variable_value': 'videoVariableValue', # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -158,11 +158,11 @@ class TemplateVariableValue(ModelNormal):
|
|
|
158
158
|
Animal class but this time we won't travel
|
|
159
159
|
through its discriminator because we passed in
|
|
160
160
|
_visited_composed_classes = (Animal,)
|
|
161
|
-
text_variable_value (TextVariableValue): [optional] # noqa: E501
|
|
162
161
|
choice_variable_value (ChoiceVariableValue): [optional] # noqa: E501
|
|
163
162
|
color_variable_value (ColorVariableValue): [optional] # noqa: E501
|
|
164
163
|
files_variable_value (FilesVariableValue): [optional] # noqa: E501
|
|
165
164
|
hyperlink_variable_value (HyperlinkVariableValue): [optional] # noqa: E501
|
|
165
|
+
text_variable_value (TextVariableValue): [optional] # noqa: E501
|
|
166
166
|
video_variable_value (VideoVariableValue): [optional] # noqa: E501
|
|
167
167
|
"""
|
|
168
168
|
|
|
@@ -253,11 +253,11 @@ class TemplateVariableValue(ModelNormal):
|
|
|
253
253
|
Animal class but this time we won't travel
|
|
254
254
|
through its discriminator because we passed in
|
|
255
255
|
_visited_composed_classes = (Animal,)
|
|
256
|
-
text_variable_value (TextVariableValue): [optional] # noqa: E501
|
|
257
256
|
choice_variable_value (ChoiceVariableValue): [optional] # noqa: E501
|
|
258
257
|
color_variable_value (ColorVariableValue): [optional] # noqa: E501
|
|
259
258
|
files_variable_value (FilesVariableValue): [optional] # noqa: E501
|
|
260
259
|
hyperlink_variable_value (HyperlinkVariableValue): [optional] # noqa: E501
|
|
260
|
+
text_variable_value (TextVariableValue): [optional] # noqa: E501
|
|
261
261
|
video_variable_value (VideoVariableValue): [optional] # noqa: E501
|
|
262
262
|
"""
|
|
263
263
|
|
|
@@ -81,11 +81,11 @@ class UpdateBalanceModelV2(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
+
'end_date': (str, none_type,), # noqa: E501
|
|
85
|
+
'memo': (str, none_type,), # noqa: E501
|
|
84
86
|
'name': (str, none_type,), # noqa: E501
|
|
85
87
|
'po_number': (str, none_type,), # noqa: E501
|
|
86
88
|
'start_date': (str, none_type,), # noqa: E501
|
|
87
|
-
'end_date': (str, none_type,), # noqa: E501
|
|
88
|
-
'memo': (str, none_type,), # noqa: E501
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@cached_property
|
|
@@ -94,11 +94,11 @@ class UpdateBalanceModelV2(ModelNormal):
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
attribute_map = {
|
|
97
|
+
'end_date': 'endDate', # noqa: E501
|
|
98
|
+
'memo': 'memo', # noqa: E501
|
|
97
99
|
'name': 'name', # noqa: E501
|
|
98
100
|
'po_number': 'poNumber', # noqa: E501
|
|
99
101
|
'start_date': 'startDate', # noqa: E501
|
|
100
|
-
'end_date': 'endDate', # noqa: E501
|
|
101
|
-
'memo': 'memo', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,11 +142,11 @@ class UpdateBalanceModelV2(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
146
|
+
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
145
147
|
name (str, none_type): Name of the balance.. [optional] # noqa: E501
|
|
146
148
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
147
149
|
start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
148
|
-
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
149
|
-
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -232,11 +232,11 @@ class UpdateBalanceModelV2(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
236
|
+
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
235
237
|
name (str, none_type): Name of the balance.. [optional] # noqa: E501
|
|
236
238
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
237
239
|
start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
238
|
-
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
239
|
-
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
240
240
|
"""
|
|
241
241
|
|
|
242
242
|
_check_type = kwargs.pop('_check_type', True)
|