criteo-api-retailmedia-sdk 0.0.250327__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.

Files changed (205) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +302 -6
  3. criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
  4. criteo_api_retailmedia_preview/api/balance_api.py +12 -12
  5. criteo_api_retailmedia_preview/api/campaign_api.py +88 -88
  6. criteo_api_retailmedia_preview/api_client.py +1 -1
  7. criteo_api_retailmedia_preview/configuration.py +1 -1
  8. criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
  9. criteo_api_retailmedia_preview/model/account_fees_update_request.py +274 -0
  10. criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
  11. criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
  12. criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
  13. criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
  14. criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
  15. criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
  16. criteo_api_retailmedia_preview/model/async_accounts_report.py +71 -71
  17. criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
  18. criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
  19. criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
  20. criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
  21. criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
  22. criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
  23. criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
  24. criteo_api_retailmedia_preview/model/async_offsite_report.py +434 -0
  25. criteo_api_retailmedia_preview/model/async_offsite_report_request.py +269 -0
  26. criteo_api_retailmedia_preview/model/async_offsite_report_resource.py +273 -0
  27. criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
  28. criteo_api_retailmedia_preview/model/audience_error.py +16 -16
  29. criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
  30. criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
  31. criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
  32. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
  33. criteo_api_retailmedia_preview/model/bot_message.py +4 -4
  34. criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
  35. criteo_api_retailmedia_preview/model/brand_id_search_request.py +4 -4
  36. criteo_api_retailmedia_preview/model/brand_id_search_result.py +8 -8
  37. criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
  38. criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
  39. criteo_api_retailmedia_preview/model/category202204.py +8 -8
  40. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
  41. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
  42. criteo_api_retailmedia_preview/model/common_error.py +16 -16
  43. criteo_api_retailmedia_preview/model/common_problem.py +20 -20
  44. criteo_api_retailmedia_preview/model/common_warning.py +16 -16
  45. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
  46. criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
  47. criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
  48. criteo_api_retailmedia_preview/model/creative2.py +50 -50
  49. criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
  50. criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
  51. criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
  52. criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +4 -4
  53. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +9 -9
  54. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
  55. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
  56. criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +4 -4
  57. criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
  58. criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
  59. criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
  60. criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
  61. criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
  62. criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
  63. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +28 -28
  64. criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
  65. criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
  66. criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
  67. criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
  68. criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
  69. criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
  70. criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
  71. criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
  72. criteo_api_retailmedia_preview/model/grant_consent_model.py +8 -8
  73. criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +4 -4
  74. criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
  75. criteo_api_retailmedia_preview/model/installment.py +4 -4
  76. criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
  77. criteo_api_retailmedia_preview/model/keywords.py +18 -18
  78. criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
  79. criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
  80. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +5 -5
  81. criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
  82. criteo_api_retailmedia_preview/model/managed_service_fee.py +279 -0
  83. criteo_api_retailmedia_preview/model/message.py +4 -4
  84. criteo_api_retailmedia_preview/model/message_error.py +8 -8
  85. criteo_api_retailmedia_preview/model/metadata.py +8 -8
  86. criteo_api_retailmedia_preview/model/outcome.py +5 -5
  87. criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
  88. criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  89. criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
  90. criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
  91. criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +8 -8
  92. criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
  93. criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
  94. criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
  95. criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
  96. criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
  97. criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
  98. criteo_api_retailmedia_preview/model/private_market_account_fees.py +266 -0
  99. criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
  100. criteo_api_retailmedia_preview/model/problem_details.py +20 -20
  101. criteo_api_retailmedia_preview/model/product.py +242 -242
  102. criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
  103. criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
  104. criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
  105. criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
  106. criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
  107. criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
  108. criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
  109. criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
  110. criteo_api_retailmedia_preview/model/product_tax.py +12 -12
  111. criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
  112. criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
  113. criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
  114. criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
  115. criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
  116. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
  117. criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
  118. criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
  119. criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
  120. criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
  121. criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
  122. criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
  123. criteo_api_retailmedia_preview/model/report_response.py +9 -9
  124. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
  125. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
  126. criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
  127. criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
  128. criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
  129. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
  130. criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
  131. criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
  132. criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
  133. criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  134. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
  135. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
  136. criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
  137. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
  138. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  139. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
  140. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  141. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  142. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  143. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
  144. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  145. criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
  146. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
  147. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
  148. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  149. criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
  150. criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
  151. criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
  152. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
  153. criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
  154. criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
  155. criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
  156. criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
  157. criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
  158. criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
  159. criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
  160. criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
  161. criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
  162. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
  163. criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
  164. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
  165. criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
  166. criteo_api_retailmedia_preview/model/status_response.py +20 -20
  167. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
  168. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
  169. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
  170. criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
  171. criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
  172. criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
  173. criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
  174. criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
  175. criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
  176. criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
  177. criteo_api_retailmedia_preview/model/value_resource_account_fees_update_result.py +266 -0
  178. criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +4 -4
  179. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
  180. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_private_market_account_fees.py +274 -0
  181. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
  182. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
  183. criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
  184. criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
  185. 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
  186. 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
  187. 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
  188. criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +4 -4
  189. 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
  190. criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
  191. criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
  192. criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py +274 -0
  193. criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
  194. criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
  195. criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
  196. criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
  197. criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
  198. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +4 -4
  199. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
  200. criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
  201. criteo_api_retailmedia_preview/models/__init__.py +24 -6
  202. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
  203. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +205 -187
  204. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +0 -0
  205. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
@@ -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, price, is_in_stock, updated_at, *args, **kwargs): # noqa: E501
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, price, is_in_stock, updated_at, *args, **kwargs): # noqa: E501
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
- 'message': (str, none_type,), # noqa: E501
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
- 'message': 'message', # noqa: E501
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
- message (str, none_type): [optional] # noqa: E501
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
- message (str, none_type): [optional] # noqa: E501
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
- ('sales_channel',): {
77
- 'ALL': "all",
78
- 'OFFLINE': "offline",
79
- 'ONLINE': "online",
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
- 'sales_channel': (str,), # noqa: E501
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
- 'sales_channel': 'salesChannel', # noqa: E501
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, start_date, end_date, *args, **kwargs): # noqa: E501
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
- 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
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, start_date, end_date, *args, **kwargs): # noqa: E501
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
- 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
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 \
@@ -87,8 +87,8 @@ class SyncAttributedTransactionsReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (SyncAttributedTransactionsReport,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class SyncAttributedTransactionsReportResource(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 SyncAttributedTransactionsReportResource(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 (SyncAttributedTransactionsReport): [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 SyncAttributedTransactionsReportResource(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 (SyncAttributedTransactionsReport): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
234
234
  """
235
235
 
236
236
  _check_type = kwargs.pop('_check_type', True)