criteo-api-retailmedia-sdk 2024.10.0.250218__py3-none-any.whl → 2024.10.0.250317__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 (115) hide show
  1. {criteo_api_retailmedia_sdk-2024.10.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250317.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.10.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250317.dist-info}/RECORD +115 -114
  3. {criteo_api_retailmedia_sdk-2024.10.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250317.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_10/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_10/api/accounts_api.py +1 -5
  6. criteo_api_retailmedia_v2024_10/api_client.py +1 -1
  7. criteo_api_retailmedia_v2024_10/configuration.py +1 -1
  8. criteo_api_retailmedia_v2024_10/model/add_remove_keyword_model.py +3 -3
  9. criteo_api_retailmedia_v2024_10/model/application_summary_model.py +1 -1
  10. criteo_api_retailmedia_v2024_10/model/application_summary_model_resource.py +1 -1
  11. criteo_api_retailmedia_v2024_10/model/asset.py +1 -1
  12. criteo_api_retailmedia_v2024_10/model/asset_resource.py +1 -1
  13. criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py +39 -49
  14. criteo_api_retailmedia_v2024_10/model/async_campaigns_report_resource.py +3 -3
  15. criteo_api_retailmedia_v2024_10/model/async_line_items_report.py +39 -49
  16. criteo_api_retailmedia_v2024_10/model/async_line_items_report_resource.py +3 -3
  17. criteo_api_retailmedia_v2024_10/model/async_revenue_report.py +60 -73
  18. criteo_api_retailmedia_v2024_10/model/async_revenue_report_resource.py +3 -3
  19. criteo_api_retailmedia_v2024_10/model/balance_response_v2.py +1 -1
  20. criteo_api_retailmedia_v2024_10/model/campaign_budget_overrides.py +1 -1
  21. criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py +1 -1
  22. criteo_api_retailmedia_v2024_10/model/choice_variable_value.py +1 -1
  23. criteo_api_retailmedia_v2024_10/model/common_error.py +26 -31
  24. criteo_api_retailmedia_v2024_10/model/common_warning.py +26 -31
  25. criteo_api_retailmedia_v2024_10/model/create_balance_v2.py +3 -3
  26. criteo_api_retailmedia_v2024_10/model/creative2.py +5 -1
  27. criteo_api_retailmedia_v2024_10/model/creative202110.py +1 -1
  28. criteo_api_retailmedia_v2024_10/model/creative202210.py +1 -1
  29. criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py +3 -3
  30. criteo_api_retailmedia_v2024_10/model/entity_resource_of_retail_media_account.py +5 -12
  31. criteo_api_retailmedia_v2024_10/model/entity_resource_outcome_of_retail_media_account.py +10 -17
  32. criteo_api_retailmedia_v2024_10/model/external_account.py +2 -8
  33. criteo_api_retailmedia_v2024_10/model/external_auction_line_item.py +4 -0
  34. criteo_api_retailmedia_v2024_10/model/external_auction_line_item_create_model.py +3 -3
  35. criteo_api_retailmedia_v2024_10/model/external_auction_line_item_update_model.py +3 -3
  36. criteo_api_retailmedia_v2024_10/model/external_brand.py +2 -8
  37. criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py +4 -0
  38. criteo_api_retailmedia_v2024_10/model/external_line_item_page_v2.py +3 -3
  39. criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_v2.py +4 -0
  40. criteo_api_retailmedia_v2024_10/model/external_retail_media_account.py +19 -25
  41. criteo_api_retailmedia_v2024_10/model/external_retail_media_brand_account_creation.py +9 -15
  42. criteo_api_retailmedia_v2024_10/model/external_retail_media_brands.py +12 -12
  43. criteo_api_retailmedia_v2024_10/model/external_retail_media_seller.py +15 -13
  44. criteo_api_retailmedia_v2024_10/model/external_retail_media_seller_account_creation.py +20 -21
  45. criteo_api_retailmedia_v2024_10/model/external_retailer.py +6 -11
  46. criteo_api_retailmedia_v2024_10/model/files_variable_value.py +1 -1
  47. criteo_api_retailmedia_v2024_10/model/files_variables_specification.py +1 -1
  48. criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_account_and_account.py +1 -8
  49. criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +1 -8
  50. criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +2 -8
  51. criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +1 -8
  52. criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_account.py +7 -14
  53. criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_brand.py +7 -14
  54. criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_retailer.py +7 -14
  55. criteo_api_retailmedia_v2024_10/model/keyword_data_model.py +6 -6
  56. criteo_api_retailmedia_v2024_10/model/keywords_model.py +1 -1
  57. criteo_api_retailmedia_v2024_10/model/keywords_model_resource.py +1 -1
  58. criteo_api_retailmedia_v2024_10/model/line_item_budget_overrides.py +1 -1
  59. criteo_api_retailmedia_v2024_10/model/line_item_product_status.py +2 -1
  60. criteo_api_retailmedia_v2024_10/model/nillable_string.py +1 -1
  61. criteo_api_retailmedia_v2024_10/model/page_metadata.py +7 -13
  62. criteo_api_retailmedia_v2024_10/model/product_metadata.py +1 -1
  63. criteo_api_retailmedia_v2024_10/model/promoted_product.py +1 -1
  64. criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_input.py +3 -3
  65. criteo_api_retailmedia_v2024_10/model/resource_of_add_funds_to_balance_v2.py +6 -6
  66. criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item_update_model.py +6 -6
  67. criteo_api_retailmedia_v2024_10/model/resource_of_balance_response_v2.py +1 -1
  68. criteo_api_retailmedia_v2024_10/model/resource_of_change_dates_of_balance_v2.py +6 -6
  69. criteo_api_retailmedia_v2024_10/model/resource_of_create_balance_v2.py +6 -6
  70. criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
  71. criteo_api_retailmedia_v2024_10/model/resource_of_update_balance_model_v2.py +6 -6
  72. criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py +3 -3
  73. criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py +3 -4
  74. criteo_api_retailmedia_v2024_10/model/rm_algebra_node_v1.py +1 -1
  75. criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1.py +1 -1
  76. criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1.py +9 -9
  77. criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1_resource.py +3 -3
  78. criteo_api_retailmedia_v2024_10/model/rm_audience_search_metadata_v1.py +1 -1
  79. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_create_input_v1.py +3 -3
  80. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_delete_input_v1.py +3 -3
  81. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_update_input_v1.py +3 -3
  82. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1.py +3 -3
  83. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1_resource.py +3 -3
  84. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_delete_entity_v1_resource.py +6 -6
  85. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1.py +1 -1
  86. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_resource.py +3 -3
  87. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1.py +9 -10
  88. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1_resource.py +3 -3
  89. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_metadata_v1.py +1 -1
  90. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1.py +3 -3
  91. criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1_resource.py +6 -6
  92. criteo_api_retailmedia_v2024_10/model/rm_contact_list_create_v1.py +3 -4
  93. criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1.py +1 -1
  94. criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_resource.py +1 -1
  95. criteo_api_retailmedia_v2024_10/model/rm_contact_list_v1.py +1 -1
  96. criteo_api_retailmedia_v2024_10/model/rm_events_v1.py +1 -1
  97. criteo_api_retailmedia_v2024_10/model/sdk_api_rest_common_problem.py +296 -0
  98. criteo_api_retailmedia_v2024_10/model/status_response.py +1 -1
  99. criteo_api_retailmedia_v2024_10/model/status_response_resource.py +1 -1
  100. criteo_api_retailmedia_v2024_10/model/template.py +1 -1
  101. criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py +5 -12
  102. criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py +10 -17
  103. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py +1 -8
  104. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py +2 -9
  105. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py +2 -9
  106. criteo_api_retailmedia_v2024_10/model/value_resource_of_campaign_budget_overrides.py +1 -1
  107. criteo_api_retailmedia_v2024_10/model/value_resource_of_line_item_budget_overrides.py +1 -1
  108. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py +3 -10
  109. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py +3 -10
  110. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py +4 -11
  111. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py +4 -11
  112. criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_retail_media_brands.py +10 -17
  113. criteo_api_retailmedia_v2024_10/model/video_variable_value.py +1 -1
  114. criteo_api_retailmedia_v2024_10/models/__init__.py +1 -0
  115. {criteo_api_retailmedia_sdk-2024.10.0.250218.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250317.dist-info}/top_level.txt +0 -0
@@ -87,7 +87,7 @@ class AsyncRevenueReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str, none_type,), # noqa: E501
90
+ 'type': (str,), # noqa: E501
91
91
  'attributes': (AsyncRevenueReport,), # noqa: E501
92
92
  }
93
93
 
@@ -142,7 +142,7 @@ class AsyncRevenueReportResource(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, none_type): [optional] # noqa: E501
145
+ type (str): [optional] # noqa: E501
146
146
  attributes (AsyncRevenueReport): [optional] # noqa: E501
147
147
  """
148
148
 
@@ -229,7 +229,7 @@ class AsyncRevenueReportResource(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, none_type): [optional] # noqa: E501
232
+ type (str): [optional] # noqa: E501
233
233
  attributes (AsyncRevenueReport): [optional] # noqa: E501
234
234
  """
235
235
 
@@ -90,7 +90,7 @@ class BalanceResponseV2(ModelNormal):
90
90
  """
91
91
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
92
92
 
93
- _nullable = False
93
+ _nullable = True
94
94
 
95
95
  @cached_property
96
96
  def openapi_types():
@@ -68,7 +68,7 @@ class CampaignBudgetOverrides(ModelNormal):
68
68
 
69
69
  additional_properties_type = None
70
70
 
71
- _nullable = False
71
+ _nullable = True
72
72
 
73
73
  @cached_property
74
74
  def openapi_types():
@@ -66,7 +66,7 @@ class ChoiceVariableSpecification(ModelNormal):
66
66
 
67
67
  additional_properties_type = None
68
68
 
69
- _nullable = False
69
+ _nullable = True
70
70
 
71
71
  @cached_property
72
72
  def openapi_types():
@@ -62,7 +62,7 @@ class ChoiceVariableValue(ModelNormal):
62
62
 
63
63
  additional_properties_type = None
64
64
 
65
- _nullable = False
65
+ _nullable = True
66
66
 
67
67
  @cached_property
68
68
  def openapi_types():
@@ -56,6 +56,7 @@ class CommonError(ModelNormal):
56
56
 
57
57
  allowed_values = {
58
58
  ('type',): {
59
+ 'None': None,
59
60
  'UNKNOWN': "unknown",
60
61
  'ACCESS-CONTROL': "access-control",
61
62
  'AUTHENTICATION': "authentication",
@@ -70,13 +71,7 @@ class CommonError(ModelNormal):
70
71
  validations = {
71
72
  }
72
73
 
73
- @cached_property
74
- def additional_properties_type():
75
- """
76
- This must be a method because a model may have properties that are
77
- of type self, this must run after the class is loaded
78
- """
79
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
74
+ additional_properties_type = None
80
75
 
81
76
  _nullable = False
82
77
 
@@ -91,14 +86,14 @@ class CommonError(ModelNormal):
91
86
  and the value is attribute type.
92
87
  """
93
88
  return {
94
- 'trace_id': (str,), # noqa: E501
95
- 'type': (str,), # noqa: E501
96
- 'code': (str,), # noqa: E501
97
- 'instance': (str,), # noqa: E501
98
- 'title': (str,), # noqa: E501
99
- 'detail': (str,), # noqa: E501
100
- 'source': ({str: (str,)},), # noqa: E501
101
- 'stack_trace': (str,), # noqa: E501
89
+ 'trace_id': (str, none_type,), # noqa: E501
90
+ 'type': (str, none_type,), # noqa: E501
91
+ 'code': (str, none_type,), # noqa: E501
92
+ 'instance': (str, none_type,), # noqa: E501
93
+ 'title': (str, none_type,), # noqa: E501
94
+ 'detail': (str, none_type,), # noqa: E501
95
+ 'source': ({str: (str,)}, none_type,), # noqa: E501
96
+ 'stack_trace': (str, none_type,), # noqa: E501
102
97
  }
103
98
 
104
99
  @cached_property
@@ -158,14 +153,14 @@ class CommonError(ModelNormal):
158
153
  Animal class but this time we won't travel
159
154
  through its discriminator because we passed in
160
155
  _visited_composed_classes = (Animal,)
161
- trace_id (str): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
162
- type (str): (REQUIRED) The classification of the error.. [optional] # noqa: E501
163
- code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
164
- instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
165
- title (str): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
166
- detail (str): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
167
- source ({str: (str,)}): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
168
- stack_trace (str): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
156
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
157
+ type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
158
+ code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
159
+ instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
160
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
161
+ detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
162
+ source ({str: (str,)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
163
+ stack_trace (str, none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
169
164
  """
170
165
 
171
166
  _check_type = kwargs.pop('_check_type', True)
@@ -251,14 +246,14 @@ class CommonError(ModelNormal):
251
246
  Animal class but this time we won't travel
252
247
  through its discriminator because we passed in
253
248
  _visited_composed_classes = (Animal,)
254
- trace_id (str): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
255
- type (str): (REQUIRED) The classification of the error.. [optional] # noqa: E501
256
- code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
257
- instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
258
- title (str): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
259
- detail (str): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
260
- source ({str: (str,)}): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
261
- stack_trace (str): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
249
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
250
+ type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
251
+ code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
252
+ instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
253
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
254
+ detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
255
+ source ({str: (str,)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
256
+ stack_trace (str, none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
262
257
  """
263
258
 
264
259
  _check_type = kwargs.pop('_check_type', True)
@@ -56,6 +56,7 @@ class CommonWarning(ModelNormal):
56
56
 
57
57
  allowed_values = {
58
58
  ('type',): {
59
+ 'None': None,
59
60
  'UNKNOWN': "unknown",
60
61
  'ACCESS-CONTROL': "access-control",
61
62
  'AUTHENTICATION': "authentication",
@@ -70,13 +71,7 @@ class CommonWarning(ModelNormal):
70
71
  validations = {
71
72
  }
72
73
 
73
- @cached_property
74
- def additional_properties_type():
75
- """
76
- This must be a method because a model may have properties that are
77
- of type self, this must run after the class is loaded
78
- """
79
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
74
+ additional_properties_type = None
80
75
 
81
76
  _nullable = False
82
77
 
@@ -91,14 +86,14 @@ class CommonWarning(ModelNormal):
91
86
  and the value is attribute type.
92
87
  """
93
88
  return {
94
- 'trace_id': (str,), # noqa: E501
95
- 'type': (str,), # noqa: E501
96
- 'code': (str,), # noqa: E501
97
- 'instance': (str,), # noqa: E501
98
- 'title': (str,), # noqa: E501
99
- 'detail': (str,), # noqa: E501
100
- 'source': ({str: (str,)},), # noqa: E501
101
- 'stack_trace': (str,), # noqa: E501
89
+ 'trace_id': (str, none_type,), # noqa: E501
90
+ 'type': (str, none_type,), # noqa: E501
91
+ 'code': (str, none_type,), # noqa: E501
92
+ 'instance': (str, none_type,), # noqa: E501
93
+ 'title': (str, none_type,), # noqa: E501
94
+ 'detail': (str, none_type,), # noqa: E501
95
+ 'source': ({str: (str,)}, none_type,), # noqa: E501
96
+ 'stack_trace': (str, none_type,), # noqa: E501
102
97
  }
103
98
 
104
99
  @cached_property
@@ -158,14 +153,14 @@ class CommonWarning(ModelNormal):
158
153
  Animal class but this time we won't travel
159
154
  through its discriminator because we passed in
160
155
  _visited_composed_classes = (Animal,)
161
- trace_id (str): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
162
- type (str): (REQUIRED) The classification of the error.. [optional] # noqa: E501
163
- code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
164
- instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
165
- title (str): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
166
- detail (str): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
167
- source ({str: (str,)}): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
168
- stack_trace (str): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
156
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
157
+ type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
158
+ code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
159
+ instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
160
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
161
+ detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
162
+ source ({str: (str,)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
163
+ stack_trace (str, none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
169
164
  """
170
165
 
171
166
  _check_type = kwargs.pop('_check_type', True)
@@ -251,14 +246,14 @@ class CommonWarning(ModelNormal):
251
246
  Animal class but this time we won't travel
252
247
  through its discriminator because we passed in
253
248
  _visited_composed_classes = (Animal,)
254
- trace_id (str): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
255
- type (str): (REQUIRED) The classification of the error.. [optional] # noqa: E501
256
- code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
257
- instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
258
- title (str): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
259
- detail (str): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
260
- source ({str: (str,)}): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
261
- stack_trace (str): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
249
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
250
+ type (str, none_type): (REQUIRED) The classification of the error.. [optional] # noqa: E501
251
+ code (str, none_type): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kabab-case.. [optional] # noqa: E501
252
+ instance (str, none_type): (REQUIRED) A URI reference that identifies the specific occurrence of the problem.. [optional] # noqa: E501
253
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type.. [optional] # noqa: E501
254
+ detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
255
+ source ({str: (str,)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
256
+ stack_trace (str, none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
262
257
  """
263
258
 
264
259
  _check_type = kwargs.pop('_check_type', True)
@@ -90,7 +90,7 @@ class CreateBalanceV2(ModelNormal):
90
90
  'start_date': (date,), # noqa: E501
91
91
  'spend_type': (str,), # noqa: E501
92
92
  'po_number': (str, none_type,), # noqa: E501
93
- 'deposited': (float, none_type,), # noqa: E501
93
+ 'deposited': (float,), # noqa: E501
94
94
  'end_date': (date, none_type,), # noqa: E501
95
95
  'memo': (str, none_type,), # noqa: E501
96
96
  }
@@ -157,7 +157,7 @@ class CreateBalanceV2(ModelNormal):
157
157
  through its discriminator because we passed in
158
158
  _visited_composed_classes = (Animal,)
159
159
  po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
160
- deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
160
+ deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
161
161
  end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
162
162
  memo (str, none_type): Memo. [optional] # noqa: E501
163
163
  """
@@ -254,7 +254,7 @@ class CreateBalanceV2(ModelNormal):
254
254
  through its discriminator because we passed in
255
255
  _visited_composed_classes = (Animal,)
256
256
  po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
257
- deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
257
+ deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
258
258
  end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
259
259
  memo (str, none_type): Memo. [optional] # noqa: E501
260
260
  """
@@ -86,7 +86,7 @@ class Creative2(ModelNormal):
86
86
 
87
87
  additional_properties_type = None
88
88
 
89
- _nullable = False
89
+ _nullable = True
90
90
 
91
91
  @cached_property
92
92
  def openapi_types():
@@ -112,6 +112,7 @@ class Creative2(ModelNormal):
112
112
  'creative_format_v2_type': (str,), # noqa: E501
113
113
  'environments': ([PageTypeEnvironment2],), # noqa: E501
114
114
  'template_variable_values': ([TemplateVariableValue],), # noqa: E501
115
+ 'id': (str, none_type,), # noqa: E501
115
116
  }
116
117
 
117
118
  @cached_property
@@ -132,6 +133,7 @@ class Creative2(ModelNormal):
132
133
  'creative_format_v2_type': 'creativeFormatV2Type', # noqa: E501
133
134
  'environments': 'environments', # noqa: E501
134
135
  'template_variable_values': 'templateVariableValues', # noqa: E501
136
+ 'id': 'id', # noqa: E501
135
137
  }
136
138
 
137
139
  read_only_vars = {
@@ -189,6 +191,7 @@ class Creative2(ModelNormal):
189
191
  Animal class but this time we won't travel
190
192
  through its discriminator because we passed in
191
193
  _visited_composed_classes = (Animal,)
194
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
192
195
  """
193
196
 
194
197
  _check_type = kwargs.pop('_check_type', True)
@@ -300,6 +303,7 @@ class Creative2(ModelNormal):
300
303
  Animal class but this time we won't travel
301
304
  through its discriminator because we passed in
302
305
  _visited_composed_classes = (Animal,)
306
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
303
307
  """
304
308
 
305
309
  _check_type = kwargs.pop('_check_type', True)
@@ -68,7 +68,7 @@ class Creative202110(ModelNormal):
68
68
 
69
69
  additional_properties_type = None
70
70
 
71
- _nullable = False
71
+ _nullable = True
72
72
 
73
73
  @cached_property
74
74
  def openapi_types():
@@ -86,7 +86,7 @@ class Creative202210(ModelNormal):
86
86
 
87
87
  additional_properties_type = None
88
88
 
89
- _nullable = False
89
+ _nullable = True
90
90
 
91
91
  @cached_property
92
92
  def openapi_types():
@@ -84,7 +84,7 @@ class CreativeUpdateModel202207(ModelNormal):
84
84
  'retailer_id': (int,), # noqa: E501
85
85
  'template_id': (int,), # noqa: E501
86
86
  'template_variable_values': ([TemplateVariableValue],), # noqa: E501
87
- 'brand_id': (int, none_type,), # noqa: E501
87
+ 'brand_id': (int,), # noqa: E501
88
88
  }
89
89
 
90
90
  @cached_property
@@ -147,7 +147,7 @@ class CreativeUpdateModel202207(ModelNormal):
147
147
  Animal class but this time we won't travel
148
148
  through its discriminator because we passed in
149
149
  _visited_composed_classes = (Animal,)
150
- brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
150
+ brand_id (int): The brand associated to the creative. [optional] # noqa: E501
151
151
  """
152
152
 
153
153
  _check_type = kwargs.pop('_check_type', True)
@@ -243,7 +243,7 @@ class CreativeUpdateModel202207(ModelNormal):
243
243
  Animal class but this time we won't travel
244
244
  through its discriminator because we passed in
245
245
  _visited_composed_classes = (Animal,)
246
- brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
246
+ brand_id (int): The brand associated to the creative. [optional] # noqa: E501
247
247
  """
248
248
 
249
249
  _check_type = kwargs.pop('_check_type', True)
@@ -64,14 +64,7 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
69
  _nullable = True
77
70
 
@@ -144,8 +137,8 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
144
137
  Animal class but this time we won't travel
145
138
  through its discriminator because we passed in
146
139
  _visited_composed_classes = (Animal,)
147
- id (str, none_type): [optional] # noqa: E501
148
- type (str, none_type): [optional] # noqa: E501
140
+ id (str, none_type): Unique id of the entity.. [optional] # noqa: E501
141
+ type (str, none_type): Type of the resource.. [optional] # noqa: E501
149
142
  attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
150
143
  """
151
144
 
@@ -232,8 +225,8 @@ class EntityResourceOfRetailMediaAccount(ModelNormal):
232
225
  Animal class but this time we won't travel
233
226
  through its discriminator because we passed in
234
227
  _visited_composed_classes = (Animal,)
235
- id (str, none_type): [optional] # noqa: E501
236
- type (str, none_type): [optional] # noqa: E501
228
+ id (str, none_type): Unique id of the entity.. [optional] # noqa: E501
229
+ type (str, none_type): Type of the resource.. [optional] # noqa: E501
237
230
  attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
238
231
  """
239
232
 
@@ -30,10 +30,10 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem
34
33
  from criteo_api_retailmedia_v2024_10.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount
35
- globals()['CommonProblem'] = CommonProblem
34
+ from criteo_api_retailmedia_v2024_10.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
36
35
  globals()['EntityResourceOfRetailMediaAccount'] = EntityResourceOfRetailMediaAccount
36
+ globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
37
37
 
38
38
 
39
39
  class EntityResourceOutcomeOfRetailMediaAccount(ModelNormal):
@@ -66,16 +66,9 @@ class EntityResourceOutcomeOfRetailMediaAccount(ModelNormal):
66
66
  validations = {
67
67
  }
68
68
 
69
- @cached_property
70
- def additional_properties_type():
71
- """
72
- This must be a method because a model may have properties that are
73
- of type self, this must run after the class is loaded
74
- """
75
- lazy_import()
76
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
69
+ additional_properties_type = None
77
70
 
78
- _nullable = True
71
+ _nullable = False
79
72
 
80
73
  @cached_property
81
74
  def openapi_types():
@@ -90,8 +83,8 @@ class EntityResourceOutcomeOfRetailMediaAccount(ModelNormal):
90
83
  lazy_import()
91
84
  return {
92
85
  'data': (EntityResourceOfRetailMediaAccount,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
- 'errors': ([CommonProblem], none_type,), # noqa: E501
86
+ 'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
87
+ 'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
95
88
  }
96
89
 
97
90
  @cached_property
@@ -149,8 +142,8 @@ class EntityResourceOutcomeOfRetailMediaAccount(ModelNormal):
149
142
  through its discriminator because we passed in
150
143
  _visited_composed_classes = (Animal,)
151
144
  data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
- errors ([CommonProblem], none_type): [optional] # noqa: E501
145
+ warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
146
+ errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
154
147
  """
155
148
 
156
149
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +230,8 @@ class EntityResourceOutcomeOfRetailMediaAccount(ModelNormal):
237
230
  through its discriminator because we passed in
238
231
  _visited_composed_classes = (Animal,)
239
232
  data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
- errors ([CommonProblem], none_type): [optional] # noqa: E501
233
+ warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
234
+ errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
242
235
  """
243
236
 
244
237
  _check_type = kwargs.pop('_check_type', True)
@@ -79,15 +79,9 @@ class ExternalAccount(ModelNormal):
79
79
  },
80
80
  }
81
81
 
82
- @cached_property
83
- def additional_properties_type():
84
- """
85
- This must be a method because a model may have properties that are
86
- of type self, this must run after the class is loaded
87
- """
88
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
82
+ additional_properties_type = None
89
83
 
90
- _nullable = False
84
+ _nullable = True
91
85
 
92
86
  @cached_property
93
87
  def openapi_types():
@@ -119,6 +119,7 @@ class ExternalAuctionLineItem(ModelNormal):
119
119
  'target_bid': (float, none_type,), # noqa: E501
120
120
  'is_auto_daily_pacing': (bool,), # noqa: E501
121
121
  'budget_spent': (float,), # noqa: E501
122
+ 'id': (str, none_type,), # noqa: E501
122
123
  }
123
124
 
124
125
  @cached_property
@@ -144,6 +145,7 @@ class ExternalAuctionLineItem(ModelNormal):
144
145
  'target_bid': 'targetBid', # noqa: E501
145
146
  'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
146
147
  'budget_spent': 'budgetSpent', # noqa: E501
148
+ 'id': 'id', # noqa: E501
147
149
  }
148
150
 
149
151
  read_only_vars = {
@@ -206,6 +208,7 @@ class ExternalAuctionLineItem(ModelNormal):
206
208
  target_bid (float, none_type): [optional] # noqa: E501
207
209
  is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
208
210
  budget_spent (float): [optional] # noqa: E501
211
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
209
212
  """
210
213
 
211
214
  _check_type = kwargs.pop('_check_type', True)
@@ -317,6 +320,7 @@ class ExternalAuctionLineItem(ModelNormal):
317
320
  target_bid (float, none_type): [optional] # noqa: E501
318
321
  is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
319
322
  budget_spent (float): [optional] # noqa: E501
323
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
320
324
  """
321
325
 
322
326
  _check_type = kwargs.pop('_check_type', True)
@@ -105,7 +105,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
105
105
  'name': (str,), # noqa: E501
106
106
  'start_date': (date,), # noqa: E501
107
107
  'target_retailer_id': (str,), # noqa: E501
108
- 'end_date': (date, none_type,), # noqa: E501
108
+ 'end_date': (date,), # noqa: E501
109
109
  'status': (str,), # noqa: E501
110
110
  'budget': (float, none_type,), # noqa: E501
111
111
  'target_bid': (float, none_type,), # noqa: E501
@@ -182,7 +182,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
182
182
  Animal class but this time we won't travel
183
183
  through its discriminator because we passed in
184
184
  _visited_composed_classes = (Animal,)
185
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
185
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
186
186
  status (str): [optional] # noqa: E501
187
187
  budget (float, none_type): [optional] # noqa: E501
188
188
  target_bid (float, none_type): [optional] # noqa: E501
@@ -284,7 +284,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
284
284
  Animal class but this time we won't travel
285
285
  through its discriminator because we passed in
286
286
  _visited_composed_classes = (Animal,)
287
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
287
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
288
288
  status (str): [optional] # noqa: E501
289
289
  budget (float, none_type): [optional] # noqa: E501
290
290
  target_bid (float, none_type): [optional] # noqa: E501
@@ -107,7 +107,7 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
107
107
  'status': (str,), # noqa: E501
108
108
  'target_bid': (float, none_type,), # noqa: E501
109
109
  'is_auto_daily_pacing': (bool,), # noqa: E501
110
- 'end_date': (date, none_type,), # noqa: E501
110
+ 'end_date': (date,), # noqa: E501
111
111
  'budget': (float, none_type,), # noqa: E501
112
112
  'max_bid': (float, none_type,), # noqa: E501
113
113
  'monthly_pacing': (float, none_type,), # noqa: E501
@@ -182,7 +182,7 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
182
182
  Animal class but this time we won't travel
183
183
  through its discriminator because we passed in
184
184
  _visited_composed_classes = (Animal,)
185
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
185
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
186
186
  budget (float, none_type): [optional] # noqa: E501
187
187
  max_bid (float, none_type): [optional] # noqa: E501
188
188
  monthly_pacing (float, none_type): [optional] # noqa: E501
@@ -285,7 +285,7 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
285
285
  Animal class but this time we won't travel
286
286
  through its discriminator because we passed in
287
287
  _visited_composed_classes = (Animal,)
288
- end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
288
+ end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
289
289
  budget (float, none_type): [optional] # noqa: E501
290
290
  max_bid (float, none_type): [optional] # noqa: E501
291
291
  monthly_pacing (float, none_type): [optional] # noqa: E501
@@ -64,15 +64,9 @@ class ExternalBrand(ModelNormal):
64
64
  },
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
74
68
 
75
- _nullable = False
69
+ _nullable = True
76
70
 
77
71
  @cached_property
78
72
  def openapi_types():
@@ -92,6 +92,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
92
92
  'favorites': (float, none_type,), # noqa: E501
93
93
  'search_bar': (float, none_type,), # noqa: E501
94
94
  'category_menu': (float, none_type,), # noqa: E501
95
+ 'id': (str, none_type,), # noqa: E501
95
96
  }
96
97
 
97
98
  @cached_property
@@ -111,6 +112,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
111
112
  'favorites': 'favorites', # noqa: E501
112
113
  'search_bar': 'searchBar', # noqa: E501
113
114
  'category_menu': 'categoryMenu', # noqa: E501
115
+ 'id': 'id', # noqa: E501
114
116
  }
115
117
 
116
118
  read_only_vars = {
@@ -165,6 +167,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
165
167
  favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501
166
168
  search_bar (float, none_type): SearchBar Page Type Bid Multiplier. [optional] # noqa: E501
167
169
  category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501
170
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
168
171
  """
169
172
 
170
173
  _check_type = kwargs.pop('_check_type', True)
@@ -261,6 +264,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
261
264
  favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501
262
265
  search_bar (float, none_type): SearchBar Page Type Bid Multiplier. [optional] # noqa: E501
263
266
  category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501
267
+ id (str, none_type): Id of the entity. [optional] # noqa: E501
264
268
  """
265
269
 
266
270
  _check_type = kwargs.pop('_check_type', True)