criteo-api-retailmedia-sdk 2024.7.0.240731__py3-none-any.whl → 2024.7.0.241029__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 (47) hide show
  1. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/RECORD +43 -40
  3. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_07/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_07/api/analytics_api.py +3 -3
  6. criteo_api_retailmedia_v2024_07/api/balance_api.py +118 -90
  7. criteo_api_retailmedia_v2024_07/api/campaign_api.py +711 -707
  8. criteo_api_retailmedia_v2024_07/api_client.py +1 -1
  9. criteo_api_retailmedia_v2024_07/configuration.py +1 -1
  10. criteo_api_retailmedia_v2024_07/model/{external_add_funds_to_balance.py → add_funds_to_balance_v2.py} +12 -14
  11. criteo_api_retailmedia_v2024_07/model/{add_funds_to_balance_request.py → add_funds_to_balance_v2_request.py} +8 -8
  12. criteo_api_retailmedia_v2024_07/model/{external_balance_response.py → balance_response_v2.py} +46 -70
  13. criteo_api_retailmedia_v2024_07/model/{balance_response.py → balance_response_v2_response.py} +8 -8
  14. criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +4 -0
  15. criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +4 -0
  16. criteo_api_retailmedia_v2024_07/model/change_dates_of_balance_v2.py +271 -0
  17. criteo_api_retailmedia_v2024_07/model/{change_dates_of_balance_request.py → change_dates_of_balance_v2_request.py} +8 -8
  18. criteo_api_retailmedia_v2024_07/model/{external_create_balance.py → create_balance_v2.py} +22 -34
  19. criteo_api_retailmedia_v2024_07/model/{create_balance_request.py → create_balance_v2_request.py} +8 -8
  20. criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +4 -0
  21. criteo_api_retailmedia_v2024_07/model/external_account.py +4 -0
  22. criteo_api_retailmedia_v2024_07/model/line_item_product_status.py +291 -0
  23. criteo_api_retailmedia_v2024_07/model/{balance_response_paged_list_response.py → paged_resource_collection_outcome_of_balance_response_v2.py} +8 -8
  24. criteo_api_retailmedia_v2024_07/model/product_metadata.py +269 -0
  25. criteo_api_retailmedia_v2024_07/model/product_resource_outcome.py +266 -0
  26. criteo_api_retailmedia_v2024_07/model/promoted_product.py +270 -0
  27. criteo_api_retailmedia_v2024_07/model/promoted_product_resource.py +270 -0
  28. criteo_api_retailmedia_v2024_07/model/{external_promoted_product202110.py → promoted_product_resource_collection_input.py} +13 -14
  29. criteo_api_retailmedia_v2024_07/model/{promoted_product202110_paged_list_response.py → promoted_product_resource_collection_outcome.py} +25 -32
  30. criteo_api_retailmedia_v2024_07/model/{resource_of_add_funds_to_balance.py → resource_of_add_funds_to_balance_v2.py} +8 -8
  31. criteo_api_retailmedia_v2024_07/model/{resource_of_create_balance.py → resource_of_balance_response_v2.py} +8 -8
  32. criteo_api_retailmedia_v2024_07/model/{resource_of_update_balance_model.py → resource_of_change_dates_of_balance_v2.py} +8 -8
  33. criteo_api_retailmedia_v2024_07/model/{resource_of_balance_response.py → resource_of_create_balance_v2.py} +8 -8
  34. criteo_api_retailmedia_v2024_07/model/resource_of_update_balance_model_v2.py +277 -0
  35. criteo_api_retailmedia_v2024_07/model/retail_media_account.py +6 -2
  36. criteo_api_retailmedia_v2024_07/model/retail_media_brand_account_creation.py +6 -2
  37. criteo_api_retailmedia_v2024_07/model/retail_media_seller_account_creation.py +6 -2
  38. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
  39. criteo_api_retailmedia_v2024_07/model/section.py +6 -8
  40. criteo_api_retailmedia_v2024_07/model/{external_change_dates_of_balance.py → update_balance_model_v2.py} +22 -24
  41. criteo_api_retailmedia_v2024_07/model/{update_balance_model_request.py → update_balance_model_v2_request.py} +8 -8
  42. criteo_api_retailmedia_v2024_07/models/__init__.py +23 -20
  43. criteo_api_retailmedia_v2024_07/model/external_update_balance_model.py +0 -283
  44. criteo_api_retailmedia_v2024_07/model/promoted_product202110_list_request.py +0 -269
  45. criteo_api_retailmedia_v2024_07/model/resource_of_change_dates_of_balance.py +0 -277
  46. criteo_api_retailmedia_v2024_07/model/resource_of_promoted_product202110.py +0 -277
  47. {criteo_api_retailmedia_sdk-2024.7.0.240731.dist-info → criteo_api_retailmedia_sdk-2024.7.0.241029.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,270 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - RetailMedia # noqa: E501
5
+
6
+ The version of the OpenAPI document: 2024-07
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from criteo_api_retailmedia_v2024_07.model_utils import ( # noqa: F401
15
+ ApiTypeError,
16
+ ModelComposed,
17
+ ModelNormal,
18
+ ModelSimple,
19
+ cached_property,
20
+ change_keys_js_to_python,
21
+ convert_js_args_to_python_args,
22
+ date,
23
+ datetime,
24
+ file_type,
25
+ none_type,
26
+ validate_get_composed_info,
27
+ OpenApiModel
28
+ )
29
+ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_retailmedia_v2024_07.model.promoted_product import PromotedProduct
34
+ globals()['PromotedProduct'] = PromotedProduct
35
+
36
+
37
+ class PromotedProductResource(ModelNormal):
38
+ """NOTE: This class is auto generated by OpenAPI Generator.
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+
43
+ Attributes:
44
+ allowed_values (dict): The key is the tuple path to the attribute
45
+ and the for var_name this is (var_name,). The value is a dict
46
+ with a capitalized key describing the allowed value and an allowed
47
+ value. These dicts store the allowed enum values.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ discriminator_value_class_map (dict): A dict to go from the discriminator
51
+ variable value to the discriminator class name.
52
+ validations (dict): The key is the tuple path to the attribute
53
+ and the for var_name this is (var_name,). The value is a dict
54
+ that stores validations for max_length, min_length, max_items,
55
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
56
+ inclusive_minimum, and regex.
57
+ additional_properties_type (tuple): A tuple of classes accepted
58
+ as additional properties values.
59
+ """
60
+
61
+ allowed_values = {
62
+ }
63
+
64
+ validations = {
65
+ }
66
+
67
+ additional_properties_type = None
68
+
69
+ _nullable = False
70
+
71
+ @cached_property
72
+ def openapi_types():
73
+ """
74
+ This must be a method because a model may have properties that are
75
+ of type self, this must run after the class is loaded
76
+
77
+ Returns
78
+ openapi_types (dict): The key is attribute name
79
+ and the value is attribute type.
80
+ """
81
+ lazy_import()
82
+ return {
83
+ 'id': (str, none_type,), # noqa: E501
84
+ 'type': (str, none_type,), # noqa: E501
85
+ 'attributes': (PromotedProduct,), # noqa: E501
86
+ }
87
+
88
+ @cached_property
89
+ def discriminator():
90
+ return None
91
+
92
+
93
+ attribute_map = {
94
+ 'id': 'id', # noqa: E501
95
+ 'type': 'type', # noqa: E501
96
+ 'attributes': 'attributes', # noqa: E501
97
+ }
98
+
99
+ read_only_vars = {
100
+ }
101
+
102
+ _composed_schemas = {}
103
+
104
+ @classmethod
105
+ @convert_js_args_to_python_args
106
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
107
+ """PromotedProductResource - a model defined in OpenAPI
108
+
109
+ Keyword Args:
110
+ _check_type (bool): if True, values for parameters in openapi_types
111
+ will be type checked and a TypeError will be
112
+ raised if the wrong type is input.
113
+ Defaults to True
114
+ _path_to_item (tuple/list): This is a list of keys or values to
115
+ drill down to the model in received_data
116
+ when deserializing a response
117
+ _spec_property_naming (bool): True if the variable names in the input data
118
+ are serialized names, as specified in the OpenAPI document.
119
+ False if the variable names in the input data
120
+ are pythonic names, e.g. snake case (default)
121
+ _configuration (Configuration): the instance to use when
122
+ deserializing a file_type parameter.
123
+ If passed, type conversion is attempted
124
+ If omitted no type conversion is done.
125
+ _visited_composed_classes (tuple): This stores a tuple of
126
+ classes that we have traveled through so that
127
+ if we see that class again we will not use its
128
+ discriminator again.
129
+ When traveling through a discriminator, the
130
+ composed schema that is
131
+ is traveled through is added to this set.
132
+ For example if Animal has a discriminator
133
+ petType and we pass in "Dog", and the class Dog
134
+ allOf includes Animal, we move through Animal
135
+ once using the discriminator, and pick Dog.
136
+ Then in Dog, we will make an instance of the
137
+ Animal class but this time we won't travel
138
+ through its discriminator because we passed in
139
+ _visited_composed_classes = (Animal,)
140
+ id (str, none_type): [optional] # noqa: E501
141
+ type (str, none_type): [optional] # noqa: E501
142
+ attributes (PromotedProduct): [optional] # noqa: E501
143
+ """
144
+
145
+ _check_type = kwargs.pop('_check_type', True)
146
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
147
+ _path_to_item = kwargs.pop('_path_to_item', ())
148
+ _configuration = kwargs.pop('_configuration', None)
149
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
150
+
151
+ self = super(OpenApiModel, cls).__new__(cls)
152
+
153
+ if args:
154
+ for arg in args:
155
+ if isinstance(arg, dict):
156
+ kwargs.update(arg)
157
+ else:
158
+ raise ApiTypeError(
159
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
160
+ args,
161
+ self.__class__.__name__,
162
+ ),
163
+ path_to_item=_path_to_item,
164
+ valid_classes=(self.__class__,),
165
+ )
166
+
167
+ self._data_store = {}
168
+ self._check_type = _check_type
169
+ self._spec_property_naming = _spec_property_naming
170
+ self._path_to_item = _path_to_item
171
+ self._configuration = _configuration
172
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
173
+
174
+ for var_name, var_value in kwargs.items():
175
+ if var_name not in self.attribute_map and \
176
+ self._configuration is not None and \
177
+ self._configuration.discard_unknown_keys and \
178
+ self.additional_properties_type is None:
179
+ # discard variable.
180
+ continue
181
+ setattr(self, var_name, var_value)
182
+ return self
183
+
184
+ required_properties = set([
185
+ '_data_store',
186
+ '_check_type',
187
+ '_spec_property_naming',
188
+ '_path_to_item',
189
+ '_configuration',
190
+ '_visited_composed_classes',
191
+ ])
192
+
193
+ @convert_js_args_to_python_args
194
+ def __init__(self, *args, **kwargs): # noqa: E501
195
+ """PromotedProductResource - a model defined in OpenAPI
196
+
197
+ Keyword Args:
198
+ _check_type (bool): if True, values for parameters in openapi_types
199
+ will be type checked and a TypeError will be
200
+ raised if the wrong type is input.
201
+ Defaults to True
202
+ _path_to_item (tuple/list): This is a list of keys or values to
203
+ drill down to the model in received_data
204
+ when deserializing a response
205
+ _spec_property_naming (bool): True if the variable names in the input data
206
+ are serialized names, as specified in the OpenAPI document.
207
+ False if the variable names in the input data
208
+ are pythonic names, e.g. snake case (default)
209
+ _configuration (Configuration): the instance to use when
210
+ deserializing a file_type parameter.
211
+ If passed, type conversion is attempted
212
+ If omitted no type conversion is done.
213
+ _visited_composed_classes (tuple): This stores a tuple of
214
+ classes that we have traveled through so that
215
+ if we see that class again we will not use its
216
+ discriminator again.
217
+ When traveling through a discriminator, the
218
+ composed schema that is
219
+ is traveled through is added to this set.
220
+ For example if Animal has a discriminator
221
+ petType and we pass in "Dog", and the class Dog
222
+ allOf includes Animal, we move through Animal
223
+ once using the discriminator, and pick Dog.
224
+ Then in Dog, we will make an instance of the
225
+ Animal class but this time we won't travel
226
+ through its discriminator because we passed in
227
+ _visited_composed_classes = (Animal,)
228
+ id (str, none_type): [optional] # noqa: E501
229
+ type (str, none_type): [optional] # noqa: E501
230
+ attributes (PromotedProduct): [optional] # noqa: E501
231
+ """
232
+
233
+ _check_type = kwargs.pop('_check_type', True)
234
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
235
+ _path_to_item = kwargs.pop('_path_to_item', ())
236
+ _configuration = kwargs.pop('_configuration', None)
237
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
238
+
239
+ if args:
240
+ for arg in args:
241
+ if isinstance(arg, dict):
242
+ kwargs.update(arg)
243
+ else:
244
+ raise ApiTypeError(
245
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
246
+ args,
247
+ self.__class__.__name__,
248
+ ),
249
+ path_to_item=_path_to_item,
250
+ valid_classes=(self.__class__,),
251
+ )
252
+
253
+ self._data_store = {}
254
+ self._check_type = _check_type
255
+ self._spec_property_naming = _spec_property_naming
256
+ self._path_to_item = _path_to_item
257
+ self._configuration = _configuration
258
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
259
+
260
+ for var_name, var_value in kwargs.items():
261
+ if var_name not in self.attribute_map and \
262
+ self._configuration is not None and \
263
+ self._configuration.discard_unknown_keys and \
264
+ self.additional_properties_type is None:
265
+ # discard variable.
266
+ continue
267
+ setattr(self, var_name, var_value)
268
+ if var_name in self.read_only_vars:
269
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
270
+ f"class with read only attributes.")
@@ -29,8 +29,12 @@ from criteo_api_retailmedia_v2024_07.model_utils import ( # noqa: F401
29
29
  from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
+ def lazy_import():
33
+ from criteo_api_retailmedia_v2024_07.model.promoted_product_resource import PromotedProductResource
34
+ globals()['PromotedProductResource'] = PromotedProductResource
32
35
 
33
- class ExternalPromotedProduct202110(ModelNormal):
36
+
37
+ class PromotedProductResourceCollectionInput(ModelNormal):
34
38
  """NOTE: This class is auto generated by OpenAPI Generator.
35
39
  Ref: https://openapi-generator.tech
36
40
 
@@ -60,13 +64,7 @@ class ExternalPromotedProduct202110(ModelNormal):
60
64
  validations = {
61
65
  }
62
66
 
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
67
+ additional_properties_type = None
70
68
 
71
69
  _nullable = False
72
70
 
@@ -80,8 +78,9 @@ class ExternalPromotedProduct202110(ModelNormal):
80
78
  openapi_types (dict): The key is attribute name
81
79
  and the value is attribute type.
82
80
  """
81
+ lazy_import()
83
82
  return {
84
- 'bid_override': (float, none_type,), # noqa: E501
83
+ 'data': ([PromotedProductResource], none_type,), # noqa: E501
85
84
  }
86
85
 
87
86
  @cached_property
@@ -90,7 +89,7 @@ class ExternalPromotedProduct202110(ModelNormal):
90
89
 
91
90
 
92
91
  attribute_map = {
93
- 'bid_override': 'bidOverride', # noqa: E501
92
+ 'data': 'data', # noqa: E501
94
93
  }
95
94
 
96
95
  read_only_vars = {
@@ -101,7 +100,7 @@ class ExternalPromotedProduct202110(ModelNormal):
101
100
  @classmethod
102
101
  @convert_js_args_to_python_args
103
102
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
104
- """ExternalPromotedProduct202110 - a model defined in OpenAPI
103
+ """PromotedProductResourceCollectionInput - a model defined in OpenAPI
105
104
 
106
105
  Keyword Args:
107
106
  _check_type (bool): if True, values for parameters in openapi_types
@@ -134,7 +133,7 @@ class ExternalPromotedProduct202110(ModelNormal):
134
133
  Animal class but this time we won't travel
135
134
  through its discriminator because we passed in
136
135
  _visited_composed_classes = (Animal,)
137
- bid_override (float, none_type): [optional] # noqa: E501
136
+ data ([PromotedProductResource], none_type): [optional] # noqa: E501
138
137
  """
139
138
 
140
139
  _check_type = kwargs.pop('_check_type', True)
@@ -187,7 +186,7 @@ class ExternalPromotedProduct202110(ModelNormal):
187
186
 
188
187
  @convert_js_args_to_python_args
189
188
  def __init__(self, *args, **kwargs): # noqa: E501
190
- """ExternalPromotedProduct202110 - a model defined in OpenAPI
189
+ """PromotedProductResourceCollectionInput - a model defined in OpenAPI
191
190
 
192
191
  Keyword Args:
193
192
  _check_type (bool): if True, values for parameters in openapi_types
@@ -220,7 +219,7 @@ class ExternalPromotedProduct202110(ModelNormal):
220
219
  Animal class but this time we won't travel
221
220
  through its discriminator because we passed in
222
221
  _visited_composed_classes = (Animal,)
223
- bid_override (float, none_type): [optional] # noqa: E501
222
+ data ([PromotedProductResource], none_type): [optional] # noqa: E501
224
223
  """
225
224
 
226
225
  _check_type = kwargs.pop('_check_type', True)
@@ -30,15 +30,15 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.page_metadata import PageMetadata
34
- from criteo_api_retailmedia_v2024_07.model.problem_details import ProblemDetails
35
- from criteo_api_retailmedia_v2024_07.model.resource_of_promoted_product202110 import ResourceOfPromotedProduct202110
36
- globals()['PageMetadata'] = PageMetadata
37
- globals()['ProblemDetails'] = ProblemDetails
38
- globals()['ResourceOfPromotedProduct202110'] = ResourceOfPromotedProduct202110
33
+ from criteo_api_retailmedia_v2024_07.model.product_metadata import ProductMetadata
34
+ from criteo_api_retailmedia_v2024_07.model.promoted_product_resource import PromotedProductResource
35
+ from criteo_api_retailmedia_v2024_07.model.rmca_common_problem import RmcaCommonProblem
36
+ globals()['ProductMetadata'] = ProductMetadata
37
+ globals()['PromotedProductResource'] = PromotedProductResource
38
+ globals()['RmcaCommonProblem'] = RmcaCommonProblem
39
39
 
40
40
 
41
- class PromotedProduct202110PagedListResponse(ModelNormal):
41
+ class PromotedProductResourceCollectionOutcome(ModelNormal):
42
42
  """NOTE: This class is auto generated by OpenAPI Generator.
43
43
  Ref: https://openapi-generator.tech
44
44
 
@@ -68,14 +68,7 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
68
68
  validations = {
69
69
  }
70
70
 
71
- @cached_property
72
- def additional_properties_type():
73
- """
74
- This must be a method because a model may have properties that are
75
- of type self, this must run after the class is loaded
76
- """
77
- lazy_import()
78
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
71
+ additional_properties_type = None
79
72
 
80
73
  _nullable = False
81
74
 
@@ -91,10 +84,10 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
91
84
  """
92
85
  lazy_import()
93
86
  return {
94
- 'metadata': (PageMetadata,), # noqa: E501
95
- 'data': ([ResourceOfPromotedProduct202110],), # noqa: E501
96
- 'warnings': ([ProblemDetails],), # noqa: E501
97
- 'errors': ([ProblemDetails],), # noqa: E501
87
+ 'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
88
+ 'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
89
+ 'metadata': (ProductMetadata,), # noqa: E501
90
+ 'data': ([PromotedProductResource], none_type,), # noqa: E501
98
91
  }
99
92
 
100
93
  @cached_property
@@ -103,15 +96,15 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
103
96
 
104
97
 
105
98
  attribute_map = {
99
+ 'errors': 'errors', # noqa: E501
100
+ 'warnings': 'warnings', # noqa: E501
106
101
  'metadata': 'metadata', # noqa: E501
107
102
  'data': 'data', # noqa: E501
108
- 'warnings': 'warnings', # noqa: E501
109
- 'errors': 'errors', # noqa: E501
110
103
  }
111
104
 
112
105
  read_only_vars = {
113
- 'warnings', # noqa: E501
114
106
  'errors', # noqa: E501
107
+ 'warnings', # noqa: E501
115
108
  }
116
109
 
117
110
  _composed_schemas = {}
@@ -119,7 +112,7 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
119
112
  @classmethod
120
113
  @convert_js_args_to_python_args
121
114
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
122
- """PromotedProduct202110PagedListResponse - a model defined in OpenAPI
115
+ """PromotedProductResourceCollectionOutcome - a model defined in OpenAPI
123
116
 
124
117
  Keyword Args:
125
118
  _check_type (bool): if True, values for parameters in openapi_types
@@ -152,10 +145,10 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
152
145
  Animal class but this time we won't travel
153
146
  through its discriminator because we passed in
154
147
  _visited_composed_classes = (Animal,)
155
- metadata (PageMetadata): [optional] # noqa: E501
156
- data ([ResourceOfPromotedProduct202110]): [optional] # noqa: E501
157
- warnings ([ProblemDetails]): [optional] # noqa: E501
158
- errors ([ProblemDetails]): [optional] # noqa: E501
148
+ errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
149
+ warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
150
+ metadata (ProductMetadata): [optional] # noqa: E501
151
+ data ([PromotedProductResource], none_type): [optional] # noqa: E501
159
152
  """
160
153
 
161
154
  _check_type = kwargs.pop('_check_type', True)
@@ -208,7 +201,7 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
208
201
 
209
202
  @convert_js_args_to_python_args
210
203
  def __init__(self, *args, **kwargs): # noqa: E501
211
- """PromotedProduct202110PagedListResponse - a model defined in OpenAPI
204
+ """PromotedProductResourceCollectionOutcome - a model defined in OpenAPI
212
205
 
213
206
  Keyword Args:
214
207
  _check_type (bool): if True, values for parameters in openapi_types
@@ -241,10 +234,10 @@ class PromotedProduct202110PagedListResponse(ModelNormal):
241
234
  Animal class but this time we won't travel
242
235
  through its discriminator because we passed in
243
236
  _visited_composed_classes = (Animal,)
244
- metadata (PageMetadata): [optional] # noqa: E501
245
- data ([ResourceOfPromotedProduct202110]): [optional] # noqa: E501
246
- warnings ([ProblemDetails]): [optional] # noqa: E501
247
- errors ([ProblemDetails]): [optional] # noqa: E501
237
+ errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
238
+ warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
239
+ metadata (ProductMetadata): [optional] # noqa: E501
240
+ data ([PromotedProductResource], none_type): [optional] # noqa: E501
248
241
  """
249
242
 
250
243
  _check_type = kwargs.pop('_check_type', True)
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.external_add_funds_to_balance import ExternalAddFundsToBalance
34
- globals()['ExternalAddFundsToBalance'] = ExternalAddFundsToBalance
33
+ from criteo_api_retailmedia_v2024_07.model.add_funds_to_balance_v2 import AddFundsToBalanceV2
34
+ globals()['AddFundsToBalanceV2'] = AddFundsToBalanceV2
35
35
 
36
36
 
37
- class ResourceOfAddFundsToBalance(ModelNormal):
37
+ class ResourceOfAddFundsToBalanceV2(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class ResourceOfAddFundsToBalance(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalAddFundsToBalance,), # noqa: E501
90
+ 'attributes': (AddFundsToBalanceV2,), # noqa: E501
91
91
  'id': (str, none_type,), # noqa: E501
92
92
  'type': (str, none_type,), # noqa: E501
93
93
  }
@@ -111,7 +111,7 @@ class ResourceOfAddFundsToBalance(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """ResourceOfAddFundsToBalance - a model defined in OpenAPI
114
+ """ResourceOfAddFundsToBalanceV2 - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -144,7 +144,7 @@ class ResourceOfAddFundsToBalance(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
- attributes (ExternalAddFundsToBalance): [optional] # noqa: E501
147
+ attributes (AddFundsToBalanceV2): [optional] # noqa: E501
148
148
  id (str, none_type): Id of the entity. [optional] # noqa: E501
149
149
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
@@ -199,7 +199,7 @@ class ResourceOfAddFundsToBalance(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """ResourceOfAddFundsToBalance - a model defined in OpenAPI
202
+ """ResourceOfAddFundsToBalanceV2 - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -232,7 +232,7 @@ class ResourceOfAddFundsToBalance(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
- attributes (ExternalAddFundsToBalance): [optional] # noqa: E501
235
+ attributes (AddFundsToBalanceV2): [optional] # noqa: E501
236
236
  id (str, none_type): Id of the entity. [optional] # noqa: E501
237
237
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.external_create_balance import ExternalCreateBalance
34
- globals()['ExternalCreateBalance'] = ExternalCreateBalance
33
+ from criteo_api_retailmedia_v2024_07.model.balance_response_v2 import BalanceResponseV2
34
+ globals()['BalanceResponseV2'] = BalanceResponseV2
35
35
 
36
36
 
37
- class ResourceOfCreateBalance(ModelNormal):
37
+ class ResourceOfBalanceResponseV2(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class ResourceOfCreateBalance(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalCreateBalance,), # noqa: E501
90
+ 'attributes': (BalanceResponseV2,), # noqa: E501
91
91
  'id': (str, none_type,), # noqa: E501
92
92
  'type': (str, none_type,), # noqa: E501
93
93
  }
@@ -111,7 +111,7 @@ class ResourceOfCreateBalance(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """ResourceOfCreateBalance - a model defined in OpenAPI
114
+ """ResourceOfBalanceResponseV2 - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -144,7 +144,7 @@ class ResourceOfCreateBalance(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
- attributes (ExternalCreateBalance): [optional] # noqa: E501
147
+ attributes (BalanceResponseV2): [optional] # noqa: E501
148
148
  id (str, none_type): Id of the entity. [optional] # noqa: E501
149
149
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
@@ -199,7 +199,7 @@ class ResourceOfCreateBalance(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """ResourceOfCreateBalance - a model defined in OpenAPI
202
+ """ResourceOfBalanceResponseV2 - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -232,7 +232,7 @@ class ResourceOfCreateBalance(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
- attributes (ExternalCreateBalance): [optional] # noqa: E501
235
+ attributes (BalanceResponseV2): [optional] # noqa: E501
236
236
  id (str, none_type): Id of the entity. [optional] # noqa: E501
237
237
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.external_update_balance_model import ExternalUpdateBalanceModel
34
- globals()['ExternalUpdateBalanceModel'] = ExternalUpdateBalanceModel
33
+ from criteo_api_retailmedia_v2024_07.model.change_dates_of_balance_v2 import ChangeDatesOfBalanceV2
34
+ globals()['ChangeDatesOfBalanceV2'] = ChangeDatesOfBalanceV2
35
35
 
36
36
 
37
- class ResourceOfUpdateBalanceModel(ModelNormal):
37
+ class ResourceOfChangeDatesOfBalanceV2(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -87,7 +87,7 @@ class ResourceOfUpdateBalanceModel(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalUpdateBalanceModel,), # noqa: E501
90
+ 'attributes': (ChangeDatesOfBalanceV2,), # noqa: E501
91
91
  'id': (str, none_type,), # noqa: E501
92
92
  'type': (str, none_type,), # noqa: E501
93
93
  }
@@ -111,7 +111,7 @@ class ResourceOfUpdateBalanceModel(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """ResourceOfUpdateBalanceModel - a model defined in OpenAPI
114
+ """ResourceOfChangeDatesOfBalanceV2 - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -144,7 +144,7 @@ class ResourceOfUpdateBalanceModel(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
- attributes (ExternalUpdateBalanceModel): [optional] # noqa: E501
147
+ attributes (ChangeDatesOfBalanceV2): [optional] # noqa: E501
148
148
  id (str, none_type): Id of the entity. [optional] # noqa: E501
149
149
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
@@ -199,7 +199,7 @@ class ResourceOfUpdateBalanceModel(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """ResourceOfUpdateBalanceModel - a model defined in OpenAPI
202
+ """ResourceOfChangeDatesOfBalanceV2 - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -232,7 +232,7 @@ class ResourceOfUpdateBalanceModel(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
- attributes (ExternalUpdateBalanceModel): [optional] # noqa: E501
235
+ attributes (ChangeDatesOfBalanceV2): [optional] # noqa: E501
236
236
  id (str, none_type): Id of the entity. [optional] # noqa: E501
237
237
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """