criteo-api-retailmedia-sdk 2024.10.0.241029__py3-none-any.whl → 2024.10.0.250129__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 (79) hide show
  1. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250129.dist-info}/METADATA +14 -5
  2. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250129.dist-info}/RECORD +68 -78
  3. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250129.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 +30 -41
  6. criteo_api_retailmedia_v2024_10/api/campaign_api.py +22 -282
  7. criteo_api_retailmedia_v2024_10/api_client.py +1 -1
  8. criteo_api_retailmedia_v2024_10/configuration.py +1 -1
  9. criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py +40 -0
  10. criteo_api_retailmedia_v2024_10/model/async_line_items_report.py +40 -0
  11. criteo_api_retailmedia_v2024_10/model/async_revenue_report.py +29 -2
  12. criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py +1 -1
  13. criteo_api_retailmedia_v2024_10/model/change_details_v1.py +8 -18
  14. criteo_api_retailmedia_v2024_10/model/choice_option.py +1 -8
  15. criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py +1 -8
  16. criteo_api_retailmedia_v2024_10/model/choice_variable_value.py +1 -7
  17. criteo_api_retailmedia_v2024_10/model/color_variable_value.py +7 -19
  18. criteo_api_retailmedia_v2024_10/model/{external_creative_v2.py → creative2.py} +23 -30
  19. criteo_api_retailmedia_v2024_10/model/creative202110.py +7 -13
  20. criteo_api_retailmedia_v2024_10/model/creative202110_list_response.py +13 -20
  21. criteo_api_retailmedia_v2024_10/model/creative202210.py +12 -19
  22. criteo_api_retailmedia_v2024_10/model/creative202210_response.py +10 -17
  23. criteo_api_retailmedia_v2024_10/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  24. criteo_api_retailmedia_v2024_10/model/{proposal_status_model_response.py → creative2_response.py} +20 -20
  25. criteo_api_retailmedia_v2024_10/model/creative_create_model202207.py +4 -11
  26. criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py +4 -11
  27. criteo_api_retailmedia_v2024_10/model/{resource_of_creative_v2.py → entity_resource_of_retail_media_account.py} +14 -14
  28. criteo_api_retailmedia_v2024_10/model/{creative_v2_response.py → entity_resource_outcome_of_retail_media_account.py} +9 -9
  29. criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py +1 -1
  30. criteo_api_retailmedia_v2024_10/model/{retail_media_account.py → external_retail_media_account.py} +29 -23
  31. criteo_api_retailmedia_v2024_10/model/{retail_media_brand_account_creation.py → external_retail_media_brand_account_creation.py} +18 -12
  32. criteo_api_retailmedia_v2024_10/model/{external_text_variable_value.py → external_retail_media_brands.py} +7 -7
  33. criteo_api_retailmedia_v2024_10/model/{external_hyperlink_variable_value.py → external_retail_media_seller.py} +12 -8
  34. criteo_api_retailmedia_v2024_10/model/external_retail_media_seller_account_creation.py +281 -0
  35. criteo_api_retailmedia_v2024_10/model/files_variable_value.py +2 -7
  36. criteo_api_retailmedia_v2024_10/model/files_variables_specification.py +7 -15
  37. criteo_api_retailmedia_v2024_10/model/hyperlink_variable_value.py +7 -19
  38. criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py +1 -1
  39. criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py +1 -1
  40. criteo_api_retailmedia_v2024_10/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  41. criteo_api_retailmedia_v2024_10/model/{page_type_environment.py → page_type_environment202210.py} +12 -16
  42. criteo_api_retailmedia_v2024_10/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  43. criteo_api_retailmedia_v2024_10/model/resource_of_creative202110.py +6 -13
  44. criteo_api_retailmedia_v2024_10/model/resource_of_creative202210.py +2 -9
  45. criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  46. criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py +1 -1
  47. criteo_api_retailmedia_v2024_10/model/resource_of_template.py +2 -9
  48. criteo_api_retailmedia_v2024_10/model/section.py +6 -9
  49. criteo_api_retailmedia_v2024_10/model/template.py +13 -24
  50. criteo_api_retailmedia_v2024_10/model/template_list_response.py +13 -20
  51. criteo_api_retailmedia_v2024_10/model/template_response.py +10 -17
  52. criteo_api_retailmedia_v2024_10/model/template_variable.py +1 -8
  53. criteo_api_retailmedia_v2024_10/model/template_variable_value.py +7 -8
  54. criteo_api_retailmedia_v2024_10/model/text_variable_specification.py +2 -8
  55. criteo_api_retailmedia_v2024_10/model/text_variable_value.py +7 -19
  56. criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py +12 -5
  57. criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py +9 -2
  58. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py +8 -1
  59. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py +9 -2
  60. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py +9 -2
  61. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py +13 -6
  62. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py +14 -7
  63. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py +14 -7
  64. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py +14 -7
  65. criteo_api_retailmedia_v2024_10/model/{creative_v2_list_response.py → value_resource_outcome_of_retail_media_brands.py} +9 -9
  66. criteo_api_retailmedia_v2024_10/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  67. criteo_api_retailmedia_v2024_10/models/__init__.py +15 -25
  68. criteo_api_retailmedia_v2024_10/model/approval_status_model.py +0 -292
  69. criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py +0 -269
  70. criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py +0 -268
  71. criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py +0 -272
  72. criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py +0 -309
  73. criteo_api_retailmedia_v2024_10/model/negotiation_state_model.py +0 -293
  74. criteo_api_retailmedia_v2024_10/model/proposal_status_model.py +0 -284
  75. criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py +0 -270
  76. criteo_api_retailmedia_v2024_10/model/retail_media_brands.py +0 -257
  77. criteo_api_retailmedia_v2024_10/model/retail_media_seller.py +0 -261
  78. criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py +0 -274
  79. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250129.dist-info}/top_level.txt +0 -0
@@ -60,15 +60,9 @@ class TextVariableSpecification(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
- _nullable = False
65
+ _nullable = True
72
66
 
73
67
  @cached_property
74
68
  def openapi_types():
@@ -60,15 +60,9 @@ class TextVariableValue(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
- _nullable = False
65
+ _nullable = True
72
66
 
73
67
  @cached_property
74
68
  def openapi_types():
@@ -81,7 +75,7 @@ class TextVariableValue(ModelNormal):
81
75
  and the value is attribute type.
82
76
  """
83
77
  return {
84
- 'text': (str,), # noqa: E501
78
+ 'text': (str, none_type,), # noqa: E501
85
79
  }
86
80
 
87
81
  @cached_property
@@ -100,12 +94,9 @@ class TextVariableValue(ModelNormal):
100
94
 
101
95
  @classmethod
102
96
  @convert_js_args_to_python_args
103
- def _from_openapi_data(cls, text, *args, **kwargs): # noqa: E501
97
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
104
98
  """TextVariableValue - a model defined in OpenAPI
105
99
 
106
- Args:
107
- text (str): The displayed text
108
-
109
100
  Keyword Args:
110
101
  _check_type (bool): if True, values for parameters in openapi_types
111
102
  will be type checked and a TypeError will be
@@ -137,6 +128,7 @@ class TextVariableValue(ModelNormal):
137
128
  Animal class but this time we won't travel
138
129
  through its discriminator because we passed in
139
130
  _visited_composed_classes = (Animal,)
131
+ text (str, none_type): The displayed text. [optional] # noqa: E501
140
132
  """
141
133
 
142
134
  _check_type = kwargs.pop('_check_type', True)
@@ -168,7 +160,6 @@ class TextVariableValue(ModelNormal):
168
160
  self._configuration = _configuration
169
161
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
170
162
 
171
- self.text = text
172
163
  for var_name, var_value in kwargs.items():
173
164
  if var_name not in self.attribute_map and \
174
165
  self._configuration is not None and \
@@ -189,12 +180,9 @@ class TextVariableValue(ModelNormal):
189
180
  ])
190
181
 
191
182
  @convert_js_args_to_python_args
192
- def __init__(self, text, *args, **kwargs): # noqa: E501
183
+ def __init__(self, *args, **kwargs): # noqa: E501
193
184
  """TextVariableValue - a model defined in OpenAPI
194
185
 
195
- Args:
196
- text (str): The displayed text
197
-
198
186
  Keyword Args:
199
187
  _check_type (bool): if True, values for parameters in openapi_types
200
188
  will be type checked and a TypeError will be
@@ -226,6 +214,7 @@ class TextVariableValue(ModelNormal):
226
214
  Animal class but this time we won't travel
227
215
  through its discriminator because we passed in
228
216
  _visited_composed_classes = (Animal,)
217
+ text (str, none_type): The displayed text. [optional] # noqa: E501
229
218
  """
230
219
 
231
220
  _check_type = kwargs.pop('_check_type', True)
@@ -255,7 +244,6 @@ class TextVariableValue(ModelNormal):
255
244
  self._configuration = _configuration
256
245
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
257
246
 
258
- self.text = text
259
247
  for var_name, var_value in kwargs.items():
260
248
  if var_name not in self.attribute_map and \
261
249
  self._configuration is not None and \
@@ -64,9 +64,16 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -80,7 +87,7 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
80
87
  """
81
88
  lazy_import()
82
89
  return {
83
- 'data': ([ValueResourceOfRetailMediaSeller], none_type,), # noqa: E501
90
+ 'data': ([ValueResourceOfRetailMediaSeller],), # noqa: E501
84
91
  }
85
92
 
86
93
  @cached_property
@@ -133,7 +140,7 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
133
140
  Animal class but this time we won't travel
134
141
  through its discriminator because we passed in
135
142
  _visited_composed_classes = (Animal,)
136
- data ([ValueResourceOfRetailMediaSeller], none_type): [optional] # noqa: E501
143
+ data ([ValueResourceOfRetailMediaSeller]): [optional] # noqa: E501
137
144
  """
138
145
 
139
146
  _check_type = kwargs.pop('_check_type', True)
@@ -219,7 +226,7 @@ class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal):
219
226
  Animal class but this time we won't travel
220
227
  through its discriminator because we passed in
221
228
  _visited_composed_classes = (Animal,)
222
- data ([ValueResourceOfRetailMediaSeller], none_type): [optional] # noqa: E501
229
+ data ([ValueResourceOfRetailMediaSeller]): [optional] # noqa: E501
223
230
  """
224
231
 
225
232
  _check_type = kwargs.pop('_check_type', True)
@@ -66,9 +66,16 @@ class ValueResourceCollectionOutcomeOfRetailMediaSeller(ModelNormal):
66
66
  validations = {
67
67
  }
68
68
 
69
- additional_properties_type = None
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
70
77
 
71
- _nullable = False
78
+ _nullable = True
72
79
 
73
80
  @cached_property
74
81
  def openapi_types():
@@ -64,7 +64,14 @@ class ValueResourceInputOfRetailMediaBrandAccountCreation(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
76
  _nullable = False
70
77
 
@@ -64,9 +64,16 @@ class ValueResourceInputOfRetailMediaBrands(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -64,9 +64,16 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -30,8 +30,8 @@ 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.retail_media_brand_account_creation import RetailMediaBrandAccountCreation
34
- globals()['RetailMediaBrandAccountCreation'] = RetailMediaBrandAccountCreation
33
+ from criteo_api_retailmedia_v2024_10.model.external_retail_media_brand_account_creation import ExternalRetailMediaBrandAccountCreation
34
+ globals()['ExternalRetailMediaBrandAccountCreation'] = ExternalRetailMediaBrandAccountCreation
35
35
 
36
36
 
37
37
  class ValueResourceOfRetailMediaBrandAccountCreation(ModelNormal):
@@ -64,7 +64,14 @@ class ValueResourceOfRetailMediaBrandAccountCreation(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
76
  _nullable = False
70
77
 
@@ -81,7 +88,7 @@ class ValueResourceOfRetailMediaBrandAccountCreation(ModelNormal):
81
88
  lazy_import()
82
89
  return {
83
90
  'type': (str, none_type,), # noqa: E501
84
- 'attributes': (RetailMediaBrandAccountCreation,), # noqa: E501
91
+ 'attributes': (ExternalRetailMediaBrandAccountCreation,), # noqa: E501
85
92
  }
86
93
 
87
94
  @cached_property
@@ -136,7 +143,7 @@ class ValueResourceOfRetailMediaBrandAccountCreation(ModelNormal):
136
143
  through its discriminator because we passed in
137
144
  _visited_composed_classes = (Animal,)
138
145
  type (str, none_type): [optional] # noqa: E501
139
- attributes (RetailMediaBrandAccountCreation): [optional] # noqa: E501
146
+ attributes (ExternalRetailMediaBrandAccountCreation): [optional] # noqa: E501
140
147
  """
141
148
 
142
149
  _check_type = kwargs.pop('_check_type', True)
@@ -223,7 +230,7 @@ class ValueResourceOfRetailMediaBrandAccountCreation(ModelNormal):
223
230
  through its discriminator because we passed in
224
231
  _visited_composed_classes = (Animal,)
225
232
  type (str, none_type): [optional] # noqa: E501
226
- attributes (RetailMediaBrandAccountCreation): [optional] # noqa: E501
233
+ attributes (ExternalRetailMediaBrandAccountCreation): [optional] # noqa: E501
227
234
  """
228
235
 
229
236
  _check_type = kwargs.pop('_check_type', True)
@@ -30,8 +30,8 @@ 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.retail_media_brands import RetailMediaBrands
34
- globals()['RetailMediaBrands'] = RetailMediaBrands
33
+ from criteo_api_retailmedia_v2024_10.model.external_retail_media_brands import ExternalRetailMediaBrands
34
+ globals()['ExternalRetailMediaBrands'] = ExternalRetailMediaBrands
35
35
 
36
36
 
37
37
  class ValueResourceOfRetailMediaBrands(ModelNormal):
@@ -64,9 +64,16 @@ class ValueResourceOfRetailMediaBrands(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -81,7 +88,7 @@ class ValueResourceOfRetailMediaBrands(ModelNormal):
81
88
  lazy_import()
82
89
  return {
83
90
  'type': (str, none_type,), # noqa: E501
84
- 'attributes': (RetailMediaBrands,), # noqa: E501
91
+ 'attributes': (ExternalRetailMediaBrands,), # noqa: E501
85
92
  }
86
93
 
87
94
  @cached_property
@@ -136,7 +143,7 @@ class ValueResourceOfRetailMediaBrands(ModelNormal):
136
143
  through its discriminator because we passed in
137
144
  _visited_composed_classes = (Animal,)
138
145
  type (str, none_type): [optional] # noqa: E501
139
- attributes (RetailMediaBrands): [optional] # noqa: E501
146
+ attributes (ExternalRetailMediaBrands): [optional] # noqa: E501
140
147
  """
141
148
 
142
149
  _check_type = kwargs.pop('_check_type', True)
@@ -223,7 +230,7 @@ class ValueResourceOfRetailMediaBrands(ModelNormal):
223
230
  through its discriminator because we passed in
224
231
  _visited_composed_classes = (Animal,)
225
232
  type (str, none_type): [optional] # noqa: E501
226
- attributes (RetailMediaBrands): [optional] # noqa: E501
233
+ attributes (ExternalRetailMediaBrands): [optional] # noqa: E501
227
234
  """
228
235
 
229
236
  _check_type = kwargs.pop('_check_type', True)
@@ -30,8 +30,8 @@ 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.retail_media_seller import RetailMediaSeller
34
- globals()['RetailMediaSeller'] = RetailMediaSeller
33
+ from criteo_api_retailmedia_v2024_10.model.external_retail_media_seller import ExternalRetailMediaSeller
34
+ globals()['ExternalRetailMediaSeller'] = ExternalRetailMediaSeller
35
35
 
36
36
 
37
37
  class ValueResourceOfRetailMediaSeller(ModelNormal):
@@ -64,9 +64,16 @@ class ValueResourceOfRetailMediaSeller(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -81,7 +88,7 @@ class ValueResourceOfRetailMediaSeller(ModelNormal):
81
88
  lazy_import()
82
89
  return {
83
90
  'type': (str, none_type,), # noqa: E501
84
- 'attributes': (RetailMediaSeller,), # noqa: E501
91
+ 'attributes': (ExternalRetailMediaSeller,), # noqa: E501
85
92
  }
86
93
 
87
94
  @cached_property
@@ -136,7 +143,7 @@ class ValueResourceOfRetailMediaSeller(ModelNormal):
136
143
  through its discriminator because we passed in
137
144
  _visited_composed_classes = (Animal,)
138
145
  type (str, none_type): [optional] # noqa: E501
139
- attributes (RetailMediaSeller): [optional] # noqa: E501
146
+ attributes (ExternalRetailMediaSeller): [optional] # noqa: E501
140
147
  """
141
148
 
142
149
  _check_type = kwargs.pop('_check_type', True)
@@ -223,7 +230,7 @@ class ValueResourceOfRetailMediaSeller(ModelNormal):
223
230
  through its discriminator because we passed in
224
231
  _visited_composed_classes = (Animal,)
225
232
  type (str, none_type): [optional] # noqa: E501
226
- attributes (RetailMediaSeller): [optional] # noqa: E501
233
+ attributes (ExternalRetailMediaSeller): [optional] # noqa: E501
227
234
  """
228
235
 
229
236
  _check_type = kwargs.pop('_check_type', True)
@@ -30,8 +30,8 @@ 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.retail_media_seller_account_creation import RetailMediaSellerAccountCreation
34
- globals()['RetailMediaSellerAccountCreation'] = RetailMediaSellerAccountCreation
33
+ from criteo_api_retailmedia_v2024_10.model.external_retail_media_seller_account_creation import ExternalRetailMediaSellerAccountCreation
34
+ globals()['ExternalRetailMediaSellerAccountCreation'] = ExternalRetailMediaSellerAccountCreation
35
35
 
36
36
 
37
37
  class ValueResourceOfRetailMediaSellerAccountCreation(ModelNormal):
@@ -64,9 +64,16 @@ class ValueResourceOfRetailMediaSellerAccountCreation(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -81,7 +88,7 @@ class ValueResourceOfRetailMediaSellerAccountCreation(ModelNormal):
81
88
  lazy_import()
82
89
  return {
83
90
  'type': (str, none_type,), # noqa: E501
84
- 'attributes': (RetailMediaSellerAccountCreation,), # noqa: E501
91
+ 'attributes': (ExternalRetailMediaSellerAccountCreation,), # noqa: E501
85
92
  }
86
93
 
87
94
  @cached_property
@@ -136,7 +143,7 @@ class ValueResourceOfRetailMediaSellerAccountCreation(ModelNormal):
136
143
  through its discriminator because we passed in
137
144
  _visited_composed_classes = (Animal,)
138
145
  type (str, none_type): [optional] # noqa: E501
139
- attributes (RetailMediaSellerAccountCreation): [optional] # noqa: E501
146
+ attributes (ExternalRetailMediaSellerAccountCreation): [optional] # noqa: E501
140
147
  """
141
148
 
142
149
  _check_type = kwargs.pop('_check_type', True)
@@ -223,7 +230,7 @@ class ValueResourceOfRetailMediaSellerAccountCreation(ModelNormal):
223
230
  through its discriminator because we passed in
224
231
  _visited_composed_classes = (Animal,)
225
232
  type (str, none_type): [optional] # noqa: E501
226
- attributes (RetailMediaSellerAccountCreation): [optional] # noqa: E501
233
+ attributes (ExternalRetailMediaSellerAccountCreation): [optional] # noqa: E501
227
234
  """
228
235
 
229
236
  _check_type = kwargs.pop('_check_type', True)
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem
34
- from criteo_api_retailmedia_v2024_10.model.resource_of_creative_v2 import ResourceOfCreativeV2
34
+ from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ResourceOfCreativeV2'] = ResourceOfCreativeV2
36
+ globals()['ValueResourceOfRetailMediaBrands'] = ValueResourceOfRetailMediaBrands
37
37
 
38
38
 
39
- class CreativeV2ListResponse(ModelNormal):
39
+ class ValueResourceOutcomeOfRetailMediaBrands(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -75,7 +75,7 @@ class CreativeV2ListResponse(ModelNormal):
75
75
  lazy_import()
76
76
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
77
 
78
- _nullable = False
78
+ _nullable = True
79
79
 
80
80
  @cached_property
81
81
  def openapi_types():
@@ -89,7 +89,7 @@ class CreativeV2ListResponse(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': ([ResourceOfCreativeV2], none_type,), # noqa: E501
92
+ 'data': (ValueResourceOfRetailMediaBrands,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -115,7 +115,7 @@ class CreativeV2ListResponse(ModelNormal):
115
115
  @classmethod
116
116
  @convert_js_args_to_python_args
117
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """CreativeV2ListResponse - a model defined in OpenAPI
118
+ """ValueResourceOutcomeOfRetailMediaBrands - a model defined in OpenAPI
119
119
 
120
120
  Keyword Args:
121
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +148,7 @@ class CreativeV2ListResponse(ModelNormal):
148
148
  Animal class but this time we won't travel
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
- data ([ResourceOfCreativeV2], none_type): [optional] # noqa: E501
151
+ data (ValueResourceOfRetailMediaBrands): [optional] # noqa: E501
152
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
@@ -203,7 +203,7 @@ class CreativeV2ListResponse(ModelNormal):
203
203
 
204
204
  @convert_js_args_to_python_args
205
205
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """CreativeV2ListResponse - a model defined in OpenAPI
206
+ """ValueResourceOutcomeOfRetailMediaBrands - a model defined in OpenAPI
207
207
 
208
208
  Keyword Args:
209
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +236,7 @@ class CreativeV2ListResponse(ModelNormal):
236
236
  Animal class but this time we won't travel
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
- data ([ResourceOfCreativeV2], none_type): [optional] # noqa: E501
239
+ data (ValueResourceOfRetailMediaBrands): [optional] # noqa: E501
240
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalVideoVariableValue(ModelNormal):
33
+ class VideoVariableValue(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -66,13 +66,7 @@ class ExternalVideoVariableValue(ModelNormal):
66
66
  },
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
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
69
+ additional_properties_type = None
76
70
 
77
71
  _nullable = False
78
72
 
@@ -113,7 +107,7 @@ class ExternalVideoVariableValue(ModelNormal):
113
107
  @classmethod
114
108
  @convert_js_args_to_python_args
115
109
  def _from_openapi_data(cls, url, width, height, duration, *args, **kwargs): # noqa: E501
116
- """ExternalVideoVariableValue - a model defined in OpenAPI
110
+ """VideoVariableValue - a model defined in OpenAPI
117
111
 
118
112
  Args:
119
113
  url (str): The vast video url
@@ -208,7 +202,7 @@ class ExternalVideoVariableValue(ModelNormal):
208
202
 
209
203
  @convert_js_args_to_python_args
210
204
  def __init__(self, url, width, height, duration, *args, **kwargs): # noqa: E501
211
- """ExternalVideoVariableValue - a model defined in OpenAPI
205
+ """VideoVariableValue - a model defined in OpenAPI
212
206
 
213
207
  Args:
214
208
  url (str): The vast video url