criteo-api-retailmedia-sdk 0.0.250211__py3-none-any.whl → 0.0.250218__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.

@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.250211"
11
+ __version__ = "0.0.250218"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -28,7 +28,7 @@ from criteo_api_retailmedia_preview.model.creative2_list_response import Creativ
28
28
  from criteo_api_retailmedia_preview.model.creative2_response import Creative2Response
29
29
  from criteo_api_retailmedia_preview.model.creative_create_model2 import CreativeCreateModel2
30
30
  from criteo_api_retailmedia_preview.model.creative_update_model2 import CreativeUpdateModel2
31
- from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result import EntityResourceCollectionOutcomeBrandIdSearchResult
31
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata import EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
32
32
  from criteo_api_retailmedia_preview.model.json_api_request_of_seller_catalog_request import JsonApiRequestOfSellerCatalogRequest
33
33
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus
34
34
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
@@ -2041,7 +2041,7 @@ class CampaignApi(object):
2041
2041
  )
2042
2042
  self.search_brands_by_name_async_v1_endpoint = _Endpoint(
2043
2043
  settings={
2044
- 'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResult,),
2044
+ 'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata,),
2045
2045
  'auth': [
2046
2046
  'oauth',
2047
2047
  'oauth'
@@ -5000,7 +5000,7 @@ class CampaignApi(object):
5000
5000
  async_req (bool): execute request asynchronously
5001
5001
 
5002
5002
  Returns:
5003
- EntityResourceCollectionOutcomeBrandIdSearchResult
5003
+ EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
5004
5004
  If the method is called asynchronously, returns the request
5005
5005
  thread.
5006
5006
  """
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/0.0.250211/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.250218/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: Preview\n"\
398
- "SDK Package Version: 0.0.250211".\
398
+ "SDK Package Version: 0.0.250218".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -64,6 +64,9 @@ class BrandIdSearchRequest(ModelNormal):
64
64
  }
65
65
 
66
66
  validations = {
67
+ ('retailer_ids',): {
68
+ 'min_items': 1,
69
+ },
67
70
  }
68
71
 
69
72
  additional_properties_type = None
@@ -81,7 +84,7 @@ class BrandIdSearchRequest(ModelNormal):
81
84
  and the value is attribute type.
82
85
  """
83
86
  return {
84
- 'retailer_ids': ([int], none_type,), # noqa: E501
87
+ 'retailer_ids': ([int],), # noqa: E501
85
88
  'name': (str, none_type,), # noqa: E501
86
89
  'brand_type': (str, none_type,), # noqa: E501
87
90
  }
@@ -104,9 +107,12 @@ class BrandIdSearchRequest(ModelNormal):
104
107
 
105
108
  @classmethod
106
109
  @convert_js_args_to_python_args
107
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
+ def _from_openapi_data(cls, retailer_ids, *args, **kwargs): # noqa: E501
108
111
  """BrandIdSearchRequest - a model defined in OpenAPI
109
112
 
113
+ Args:
114
+ retailer_ids ([int]): IDs of the retailers we want to limit the search to
115
+
110
116
  Keyword Args:
111
117
  _check_type (bool): if True, values for parameters in openapi_types
112
118
  will be type checked and a TypeError will be
@@ -138,7 +144,6 @@ class BrandIdSearchRequest(ModelNormal):
138
144
  Animal class but this time we won't travel
139
145
  through its discriminator because we passed in
140
146
  _visited_composed_classes = (Animal,)
141
- retailer_ids ([int], none_type): IDs of the retailers we want to limit the search to. [optional] # noqa: E501
142
147
  name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
143
148
  brand_type (str, none_type): The type of brand, primarily where this brand belongs: UC, Retailer or All (both). [optional] # noqa: E501
144
149
  """
@@ -172,6 +177,7 @@ class BrandIdSearchRequest(ModelNormal):
172
177
  self._configuration = _configuration
173
178
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
174
179
 
180
+ self.retailer_ids = retailer_ids
175
181
  for var_name, var_value in kwargs.items():
176
182
  if var_name not in self.attribute_map and \
177
183
  self._configuration is not None and \
@@ -192,9 +198,12 @@ class BrandIdSearchRequest(ModelNormal):
192
198
  ])
193
199
 
194
200
  @convert_js_args_to_python_args
195
- def __init__(self, *args, **kwargs): # noqa: E501
201
+ def __init__(self, retailer_ids, *args, **kwargs): # noqa: E501
196
202
  """BrandIdSearchRequest - a model defined in OpenAPI
197
203
 
204
+ Args:
205
+ retailer_ids ([int]): IDs of the retailers we want to limit the search to
206
+
198
207
  Keyword Args:
199
208
  _check_type (bool): if True, values for parameters in openapi_types
200
209
  will be type checked and a TypeError will be
@@ -226,7 +235,6 @@ class BrandIdSearchRequest(ModelNormal):
226
235
  Animal class but this time we won't travel
227
236
  through its discriminator because we passed in
228
237
  _visited_composed_classes = (Animal,)
229
- retailer_ids ([int], none_type): IDs of the retailers we want to limit the search to. [optional] # noqa: E501
230
238
  name (str, none_type): The name of the brand(s) to be searched. [optional] # noqa: E501
231
239
  brand_type (str, none_type): The type of brand, primarily where this brand belongs: UC, Retailer or All (both). [optional] # noqa: E501
232
240
  """
@@ -258,6 +266,7 @@ class BrandIdSearchRequest(ModelNormal):
258
266
  self._configuration = _configuration
259
267
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
260
268
 
269
+ self.retailer_ids = retailer_ids
261
270
  for var_name, var_value in kwargs.items():
262
271
  if var_name not in self.attribute_map and \
263
272
  self._configuration is not None and \
@@ -31,12 +31,14 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_retailmedia_preview.model.entity_resource_brand_id_search_result import EntityResourceBrandIdSearchResult
34
+ from criteo_api_retailmedia_preview.model.paging_offset_limit_metadata import PagingOffsetLimitMetadata
34
35
  from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
35
36
  globals()['EntityResourceBrandIdSearchResult'] = EntityResourceBrandIdSearchResult
37
+ globals()['PagingOffsetLimitMetadata'] = PagingOffsetLimitMetadata
36
38
  globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
37
39
 
38
40
 
39
- class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
41
+ class EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata(ModelNormal):
40
42
  """NOTE: This class is auto generated by OpenAPI Generator.
41
43
  Ref: https://openapi-generator.tech
42
44
 
@@ -82,6 +84,7 @@ class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
82
84
  """
83
85
  lazy_import()
84
86
  return {
87
+ 'metadata': (PagingOffsetLimitMetadata,), # noqa: E501
85
88
  'data': ([EntityResourceBrandIdSearchResult], none_type,), # noqa: E501
86
89
  'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
87
90
  'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
@@ -93,6 +96,7 @@ class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
93
96
 
94
97
 
95
98
  attribute_map = {
99
+ 'metadata': 'metadata', # noqa: E501
96
100
  'data': 'data', # noqa: E501
97
101
  'warnings': 'warnings', # noqa: E501
98
102
  'errors': 'errors', # noqa: E501
@@ -108,7 +112,7 @@ class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
108
112
  @classmethod
109
113
  @convert_js_args_to_python_args
110
114
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111
- """EntityResourceCollectionOutcomeBrandIdSearchResult - a model defined in OpenAPI
115
+ """EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata - a model defined in OpenAPI
112
116
 
113
117
  Keyword Args:
114
118
  _check_type (bool): if True, values for parameters in openapi_types
@@ -141,6 +145,7 @@ class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
141
145
  Animal class but this time we won't travel
142
146
  through its discriminator because we passed in
143
147
  _visited_composed_classes = (Animal,)
148
+ metadata (PagingOffsetLimitMetadata): [optional] # noqa: E501
144
149
  data ([EntityResourceBrandIdSearchResult], none_type): [optional] # noqa: E501
145
150
  warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
146
151
  errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
@@ -196,7 +201,7 @@ class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
196
201
 
197
202
  @convert_js_args_to_python_args
198
203
  def __init__(self, *args, **kwargs): # noqa: E501
199
- """EntityResourceCollectionOutcomeBrandIdSearchResult - a model defined in OpenAPI
204
+ """EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata - a model defined in OpenAPI
200
205
 
201
206
  Keyword Args:
202
207
  _check_type (bool): if True, values for parameters in openapi_types
@@ -229,6 +234,7 @@ class EntityResourceCollectionOutcomeBrandIdSearchResult(ModelNormal):
229
234
  Animal class but this time we won't travel
230
235
  through its discriminator because we passed in
231
236
  _visited_composed_classes = (Animal,)
237
+ metadata (PagingOffsetLimitMetadata): [optional] # noqa: E501
232
238
  data ([EntityResourceBrandIdSearchResult], none_type): [optional] # noqa: E501
233
239
  warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
234
240
  errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
@@ -0,0 +1,273 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - RetailMedia # noqa: E501
5
+
6
+ The version of the OpenAPI document: Preview
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_preview.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_preview.exceptions import ApiAttributeError
30
+
31
+
32
+
33
+ class PagingOffsetLimitMetadata(ModelNormal):
34
+ """NOTE: This class is auto generated by OpenAPI Generator.
35
+ Ref: https://openapi-generator.tech
36
+
37
+ Do not edit the class manually.
38
+
39
+ Attributes:
40
+ allowed_values (dict): The key is the tuple path to the attribute
41
+ and the for var_name this is (var_name,). The value is a dict
42
+ with a capitalized key describing the allowed value and an allowed
43
+ value. These dicts store the allowed enum values.
44
+ attribute_map (dict): The key is attribute name
45
+ and the value is json key in definition.
46
+ discriminator_value_class_map (dict): A dict to go from the discriminator
47
+ variable value to the discriminator class name.
48
+ validations (dict): The key is the tuple path to the attribute
49
+ and the for var_name this is (var_name,). The value is a dict
50
+ that stores validations for max_length, min_length, max_items,
51
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
52
+ inclusive_minimum, and regex.
53
+ additional_properties_type (tuple): A tuple of classes accepted
54
+ as additional properties values.
55
+ """
56
+
57
+ allowed_values = {
58
+ }
59
+
60
+ validations = {
61
+ }
62
+
63
+ additional_properties_type = None
64
+
65
+ _nullable = False
66
+
67
+ @cached_property
68
+ def openapi_types():
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
+ Returns
74
+ openapi_types (dict): The key is attribute name
75
+ and the value is attribute type.
76
+ """
77
+ return {
78
+ 'offset': (int,), # noqa: E501
79
+ 'limit': (int,), # noqa: E501
80
+ 'count': (int, none_type,), # noqa: E501
81
+ }
82
+
83
+ @cached_property
84
+ def discriminator():
85
+ return None
86
+
87
+
88
+ attribute_map = {
89
+ 'offset': 'offset', # noqa: E501
90
+ 'limit': 'limit', # noqa: E501
91
+ 'count': 'count', # noqa: E501
92
+ }
93
+
94
+ read_only_vars = {
95
+ }
96
+
97
+ _composed_schemas = {}
98
+
99
+ @classmethod
100
+ @convert_js_args_to_python_args
101
+ def _from_openapi_data(cls, offset, limit, *args, **kwargs): # noqa: E501
102
+ """PagingOffsetLimitMetadata - a model defined in OpenAPI
103
+
104
+ Args:
105
+ offset (int): The (zero-based) starting offset in the collection.
106
+ limit (int): The number of elements to be returned.
107
+
108
+ Keyword Args:
109
+ _check_type (bool): if True, values for parameters in openapi_types
110
+ will be type checked and a TypeError will be
111
+ raised if the wrong type is input.
112
+ Defaults to True
113
+ _path_to_item (tuple/list): This is a list of keys or values to
114
+ drill down to the model in received_data
115
+ when deserializing a response
116
+ _spec_property_naming (bool): True if the variable names in the input data
117
+ are serialized names, as specified in the OpenAPI document.
118
+ False if the variable names in the input data
119
+ are pythonic names, e.g. snake case (default)
120
+ _configuration (Configuration): the instance to use when
121
+ deserializing a file_type parameter.
122
+ If passed, type conversion is attempted
123
+ If omitted no type conversion is done.
124
+ _visited_composed_classes (tuple): This stores a tuple of
125
+ classes that we have traveled through so that
126
+ if we see that class again we will not use its
127
+ discriminator again.
128
+ When traveling through a discriminator, the
129
+ composed schema that is
130
+ is traveled through is added to this set.
131
+ For example if Animal has a discriminator
132
+ petType and we pass in "Dog", and the class Dog
133
+ allOf includes Animal, we move through Animal
134
+ once using the discriminator, and pick Dog.
135
+ Then in Dog, we will make an instance of the
136
+ Animal class but this time we won't travel
137
+ through its discriminator because we passed in
138
+ _visited_composed_classes = (Animal,)
139
+ count (int, none_type): [optional] # noqa: E501
140
+ """
141
+
142
+ _check_type = kwargs.pop('_check_type', True)
143
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
144
+ _path_to_item = kwargs.pop('_path_to_item', ())
145
+ _configuration = kwargs.pop('_configuration', None)
146
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
147
+
148
+ self = super(OpenApiModel, cls).__new__(cls)
149
+
150
+ if args:
151
+ for arg in args:
152
+ if isinstance(arg, dict):
153
+ kwargs.update(arg)
154
+ else:
155
+ raise ApiTypeError(
156
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
157
+ args,
158
+ self.__class__.__name__,
159
+ ),
160
+ path_to_item=_path_to_item,
161
+ valid_classes=(self.__class__,),
162
+ )
163
+
164
+ self._data_store = {}
165
+ self._check_type = _check_type
166
+ self._spec_property_naming = _spec_property_naming
167
+ self._path_to_item = _path_to_item
168
+ self._configuration = _configuration
169
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
170
+
171
+ self.offset = offset
172
+ self.limit = limit
173
+ for var_name, var_value in kwargs.items():
174
+ if var_name not in self.attribute_map and \
175
+ self._configuration is not None and \
176
+ self._configuration.discard_unknown_keys and \
177
+ self.additional_properties_type is None:
178
+ # discard variable.
179
+ continue
180
+ setattr(self, var_name, var_value)
181
+ return self
182
+
183
+ required_properties = set([
184
+ '_data_store',
185
+ '_check_type',
186
+ '_spec_property_naming',
187
+ '_path_to_item',
188
+ '_configuration',
189
+ '_visited_composed_classes',
190
+ ])
191
+
192
+ @convert_js_args_to_python_args
193
+ def __init__(self, offset, limit, *args, **kwargs): # noqa: E501
194
+ """PagingOffsetLimitMetadata - a model defined in OpenAPI
195
+
196
+ Args:
197
+ offset (int): The (zero-based) starting offset in the collection.
198
+ limit (int): The number of elements to be returned.
199
+
200
+ Keyword Args:
201
+ _check_type (bool): if True, values for parameters in openapi_types
202
+ will be type checked and a TypeError will be
203
+ raised if the wrong type is input.
204
+ Defaults to True
205
+ _path_to_item (tuple/list): This is a list of keys or values to
206
+ drill down to the model in received_data
207
+ when deserializing a response
208
+ _spec_property_naming (bool): True if the variable names in the input data
209
+ are serialized names, as specified in the OpenAPI document.
210
+ False if the variable names in the input data
211
+ are pythonic names, e.g. snake case (default)
212
+ _configuration (Configuration): the instance to use when
213
+ deserializing a file_type parameter.
214
+ If passed, type conversion is attempted
215
+ If omitted no type conversion is done.
216
+ _visited_composed_classes (tuple): This stores a tuple of
217
+ classes that we have traveled through so that
218
+ if we see that class again we will not use its
219
+ discriminator again.
220
+ When traveling through a discriminator, the
221
+ composed schema that is
222
+ is traveled through is added to this set.
223
+ For example if Animal has a discriminator
224
+ petType and we pass in "Dog", and the class Dog
225
+ allOf includes Animal, we move through Animal
226
+ once using the discriminator, and pick Dog.
227
+ Then in Dog, we will make an instance of the
228
+ Animal class but this time we won't travel
229
+ through its discriminator because we passed in
230
+ _visited_composed_classes = (Animal,)
231
+ count (int, none_type): [optional] # noqa: E501
232
+ """
233
+
234
+ _check_type = kwargs.pop('_check_type', True)
235
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
236
+ _path_to_item = kwargs.pop('_path_to_item', ())
237
+ _configuration = kwargs.pop('_configuration', None)
238
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
239
+
240
+ if args:
241
+ for arg in args:
242
+ if isinstance(arg, dict):
243
+ kwargs.update(arg)
244
+ else:
245
+ raise ApiTypeError(
246
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
247
+ args,
248
+ self.__class__.__name__,
249
+ ),
250
+ path_to_item=_path_to_item,
251
+ valid_classes=(self.__class__,),
252
+ )
253
+
254
+ self._data_store = {}
255
+ self._check_type = _check_type
256
+ self._spec_property_naming = _spec_property_naming
257
+ self._path_to_item = _path_to_item
258
+ self._configuration = _configuration
259
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
260
+
261
+ self.offset = offset
262
+ self.limit = limit
263
+ for var_name, var_value in kwargs.items():
264
+ if var_name not in self.attribute_map and \
265
+ self._configuration is not None and \
266
+ self._configuration.discard_unknown_keys and \
267
+ self.additional_properties_type is None:
268
+ # discard variable.
269
+ continue
270
+ setattr(self, var_name, var_value)
271
+ if var_name in self.read_only_vars:
272
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
273
+ f"class with read only attributes.")
@@ -86,7 +86,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
86
86
  return {
87
87
  'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
88
88
  'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
89
- 'metadata': (ProductMetadata,), # noqa: E501
89
+ 'meta': (ProductMetadata,), # noqa: E501
90
90
  'data': ([PromotedProductResource], none_type,), # noqa: E501
91
91
  }
92
92
 
@@ -98,7 +98,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
98
98
  attribute_map = {
99
99
  'errors': 'errors', # noqa: E501
100
100
  'warnings': 'warnings', # noqa: E501
101
- 'metadata': 'metadata', # noqa: E501
101
+ 'meta': 'meta', # noqa: E501
102
102
  'data': 'data', # noqa: E501
103
103
  }
104
104
 
@@ -147,7 +147,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
147
147
  _visited_composed_classes = (Animal,)
148
148
  errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
149
149
  warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
150
- metadata (ProductMetadata): [optional] # noqa: E501
150
+ meta (ProductMetadata): [optional] # noqa: E501
151
151
  data ([PromotedProductResource], none_type): [optional] # noqa: E501
152
152
  """
153
153
 
@@ -236,7 +236,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
236
236
  _visited_composed_classes = (Animal,)
237
237
  errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
238
238
  warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
239
- metadata (ProductMetadata): [optional] # noqa: E501
239
+ meta (ProductMetadata): [optional] # noqa: E501
240
240
  data ([PromotedProductResource], none_type): [optional] # noqa: E501
241
241
  """
242
242
 
@@ -97,13 +97,13 @@ class ReportOkResponse(ModelNormal):
97
97
  lazy_import()
98
98
  return {
99
99
  'status': (str,), # noqa: E501
100
- 'import_request_timestamp': (int, none_type,), # noqa: E501
101
- 'number_of_products_in_the_batch': (int, none_type,), # noqa: E501
102
- 'number_of_products_upserted': (int, none_type,), # noqa: E501
103
- 'number_of_products_deleted': (int, none_type,), # noqa: E501
104
- 'number_of_products_with_errors': (int, none_type,), # noqa: E501
100
+ 'import_request_timestamp': (str, none_type,), # noqa: E501
101
+ 'number_of_products_in_the_batch': (str, none_type,), # noqa: E501
102
+ 'number_of_products_upserted': (str, none_type,), # noqa: E501
103
+ 'number_of_products_deleted': (str, none_type,), # noqa: E501
104
+ 'number_of_products_with_errors': (str, none_type,), # noqa: E501
105
105
  'error_details': ([ReportDetailErrors],), # noqa: E501
106
- 'number_of_products_with_warnings': (int, none_type,), # noqa: E501
106
+ 'number_of_products_with_warnings': (str, none_type,), # noqa: E501
107
107
  'warning_details': ([ReportDetailWarnings],), # noqa: E501
108
108
  }
109
109
 
@@ -136,13 +136,13 @@ class ReportOkResponse(ModelNormal):
136
136
 
137
137
  Args:
138
138
  status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
139
- import_request_timestamp (int, none_type): The date when the original batch request was sent.
140
- number_of_products_in_the_batch (int, none_type): The number of products present in the batch.
141
- number_of_products_upserted (int, none_type): The number of products upserted.
142
- number_of_products_deleted (int, none_type): The number of products deleted.
143
- number_of_products_with_errors (int, none_type): The number of products with errors.
139
+ import_request_timestamp (str, none_type): The date when the original batch request was sent.
140
+ number_of_products_in_the_batch (str, none_type): The number of products present in the batch.
141
+ number_of_products_upserted (str, none_type): The number of products upserted.
142
+ number_of_products_deleted (str, none_type): The number of products deleted.
143
+ number_of_products_with_errors (str, none_type): The number of products with errors.
144
144
  error_details ([ReportDetailErrors]): The list of errors with details.
145
- number_of_products_with_warnings (int, none_type): The number of products with Warnings.
145
+ number_of_products_with_warnings (str, none_type): The number of products with Warnings.
146
146
  warning_details ([ReportDetailWarnings]): The list of Warnings with details.
147
147
 
148
148
  Keyword Args:
@@ -241,13 +241,13 @@ class ReportOkResponse(ModelNormal):
241
241
 
242
242
  Args:
243
243
  status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
244
- import_request_timestamp (int, none_type): The date when the original batch request was sent.
245
- number_of_products_in_the_batch (int, none_type): The number of products present in the batch.
246
- number_of_products_upserted (int, none_type): The number of products upserted.
247
- number_of_products_deleted (int, none_type): The number of products deleted.
248
- number_of_products_with_errors (int, none_type): The number of products with errors.
244
+ import_request_timestamp (str, none_type): The date when the original batch request was sent.
245
+ number_of_products_in_the_batch (str, none_type): The number of products present in the batch.
246
+ number_of_products_upserted (str, none_type): The number of products upserted.
247
+ number_of_products_deleted (str, none_type): The number of products deleted.
248
+ number_of_products_with_errors (str, none_type): The number of products with errors.
249
249
  error_details ([ReportDetailErrors]): The list of errors with details.
250
- number_of_products_with_warnings (int, none_type): The number of products with Warnings.
250
+ number_of_products_with_warnings (str, none_type): The number of products with Warnings.
251
251
  warning_details ([ReportDetailWarnings]): The list of Warnings with details.
252
252
 
253
253
  Keyword Args:
@@ -64,7 +64,7 @@ from criteo_api_retailmedia_preview.model.creative_create_model2 import Creative
64
64
  from criteo_api_retailmedia_preview.model.creative_update_model2 import CreativeUpdateModel2
65
65
  from criteo_api_retailmedia_preview.model.custom_attribute import CustomAttribute
66
66
  from criteo_api_retailmedia_preview.model.entity_resource_brand_id_search_result import EntityResourceBrandIdSearchResult
67
- from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result import EntityResourceCollectionOutcomeBrandIdSearchResult
67
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata import EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
68
68
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account import EntityResourceCollectionOutcomeOfRetailMediaChildAccount
69
69
  from criteo_api_retailmedia_preview.model.entity_resource_of_retail_media_child_account import EntityResourceOfRetailMediaChildAccount
70
70
  from criteo_api_retailmedia_preview.model.error_code_response import ErrorCodeResponse
@@ -122,6 +122,7 @@ from criteo_api_retailmedia_preview.model.page_metadata import PageMetadata
122
122
  from criteo_api_retailmedia_preview.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
123
123
  from criteo_api_retailmedia_preview.model.page_type_environment2 import PageTypeEnvironment2
124
124
  from criteo_api_retailmedia_preview.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2
125
+ from criteo_api_retailmedia_preview.model.paging_offset_limit_metadata import PagingOffsetLimitMetadata
125
126
  from criteo_api_retailmedia_preview.model.placement_preview import PlacementPreview
126
127
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
127
128
  from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: criteo-api-retailmedia-sdk
3
- Version: 0.0.250211
3
+ Version: 0.0.250218
4
4
  Summary: Criteo API SDK
5
5
  Home-page: https://github.com/criteo/criteo-api-python-sdk
6
6
  Author: Criteo
@@ -35,9 +35,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
35
35
 
36
36
 
37
37
  ```sh
38
- pip install criteo-api-retailmedia-sdk==0.0.250211
38
+ pip install criteo-api-retailmedia-sdk==0.0.250218
39
39
  ```
40
- (you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.250211`)
40
+ (you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.250218`)
41
41
 
42
42
  Then import the package:
43
43
  ```python
@@ -1,7 +1,7 @@
1
- criteo_api_retailmedia_preview/__init__.py,sha256=a50T7GCdbm63c1Ee01x7lafNNujNZ0lJ0mwCdovzuCs,1023
2
- criteo_api_retailmedia_preview/api_client.py,sha256=tM7xUrqHQSqZLGRiMMmiWDGYCqOCOjEpxOM0PxAM0UA,39425
1
+ criteo_api_retailmedia_preview/__init__.py,sha256=UPE1x5wP7rmoFjVQM7Ljb27208yrcz1WsszU3gf_1qA,1023
2
+ criteo_api_retailmedia_preview/api_client.py,sha256=8eGiWxCbztvwSxy_frPRjXmMAh12RboS2LPGzGRerkA,39425
3
3
  criteo_api_retailmedia_preview/api_client_builder.py,sha256=GA_82AyTtGhe8KsCV4WRibYrDshmKbXDRLdELNYmBEo,1504
4
- criteo_api_retailmedia_preview/configuration.py,sha256=jceip2mziJPANXfzIqS7FObTuSDab65iIdx_CQi8ve0,16714
4
+ criteo_api_retailmedia_preview/configuration.py,sha256=NIgMlj0jwLgdjzrhgODAc1Qf8YDBjqvqpVmA0_DI8rg,16714
5
5
  criteo_api_retailmedia_preview/criteo_api_client.py,sha256=OMLOZH6PXNNHEZ-9_X1b-jNJT80YCrfQrxln-6rWo3k,652
6
6
  criteo_api_retailmedia_preview/criteo_auth.py,sha256=1pjObPpytC72QM8YxL3NmwDI0ePSXuRFIiMpq6j3LF0,4693
7
7
  criteo_api_retailmedia_preview/criteo_rest.py,sha256=7fjy1FXDYlgRVnUqEvXaa3daGnZAB0rUPqmFxgBeRmk,3410
@@ -14,7 +14,7 @@ criteo_api_retailmedia_preview/api/accounts_api.py,sha256=fjO_LZk41Q-lpJ_ALUaErh
14
14
  criteo_api_retailmedia_preview/api/analytics_api.py,sha256=PMjZIfOcvQRv501NC5kRuqN2bTqyW_j2MxOmQFZuotA,51578
15
15
  criteo_api_retailmedia_preview/api/audience_api.py,sha256=DMfTswhVaacqu87DO0yyfgvXLiwqNnojuaojOHkZ7bk,52389
16
16
  criteo_api_retailmedia_preview/api/balance_api.py,sha256=wQ2BsZrR52QTqtyVoKuA-nHn-BKeBtY51gVOJaB7Tl8,39445
17
- criteo_api_retailmedia_preview/api/campaign_api.py,sha256=OeLbpwnSKJRq3bCiCIQTsrcboQKzI899lkhBESRSeoU,212899
17
+ criteo_api_retailmedia_preview/api/campaign_api.py,sha256=4QQpNGfrO9Mrq6TgMhgIwqsPzkUg8EqMYerUe4kBk1k,213003
18
18
  criteo_api_retailmedia_preview/api/catalog_api.py,sha256=J-flsW5g2qeVtJagiEK_eB4UiQSZ8hYNJXDjVWL5h8o,12384
19
19
  criteo_api_retailmedia_preview/api/gateway_api.py,sha256=kEmtDyfACdByE6SbIMwV0OH7HsRvtN7jnmc1qDCtiLs,5693
20
20
  criteo_api_retailmedia_preview/api/on_site_recommendation_api.py,sha256=yeEY6PXg4HoGYcEStM2kPLKPTSSLY3NLMbdHSCK8KtU,6779
@@ -48,7 +48,7 @@ criteo_api_retailmedia_preview/model/balance_response_v2_response.py,sha256=xY5s
48
48
  criteo_api_retailmedia_preview/model/batch_accepted_response.py,sha256=bBuOkSoDlxj1sDE86tMZuIVEot_1Xb4RNeS2szir1q4,11568
49
49
  criteo_api_retailmedia_preview/model/bot_message.py,sha256=xq7I_yPVss6WHGGgtm9A96jaL-yUKvL77mM-6B8ss7s,12483
50
50
  criteo_api_retailmedia_preview/model/brand.py,sha256=_eZuERoRGO5ixpbs42eTN64G22CKJ247z4vtw7IwcLg,11498
51
- criteo_api_retailmedia_preview/model/brand_id_search_request.py,sha256=8sXvE6nPmzyk6IoAovRbZlBDpOcAw2gusHH6_wAjf5A,12161
51
+ criteo_api_retailmedia_preview/model/brand_id_search_request.py,sha256=ZkZHEj7l4cdXFeSBYjYE4bbuyc0KdFFuGv-9kyVT4_4,12284
52
52
  criteo_api_retailmedia_preview/model/brand_id_search_result.py,sha256=EjE6P9QLgpw_qqt5U0oC1Qr9QW1AQetxeNGskPNV5DA,12069
53
53
  criteo_api_retailmedia_preview/model/brand_preview.py,sha256=eD5AyGW_mA3QfgXjjawGZXdI8G1_WR0p0dj3rnrriQI,11443
54
54
  criteo_api_retailmedia_preview/model/brand_preview_list_response.py,sha256=arU9tb_BI-qIK24ohvSWDSNLHzQ7fDdLfQn8B5joNxw,12372
@@ -75,7 +75,7 @@ criteo_api_retailmedia_preview/model/creative_create_model2.py,sha256=ZDYsaIz7HS
75
75
  criteo_api_retailmedia_preview/model/creative_update_model2.py,sha256=FXW5q_syGBOKQXWGTubx7pEcQr7rB3-wUVl-9yyZ3lk,12954
76
76
  criteo_api_retailmedia_preview/model/custom_attribute.py,sha256=l5G-21rdBSIBt4lVjeZqe4JoK_wFcTZsWaiRegdHnLA,11851
77
77
  criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py,sha256=HQ3f1kaKBEC09BK5fuskDMKMEvOsHBC2SuC1HLg0BNs,11952
78
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result.py,sha256=MCnKmBLJ5UnnP6JoYvJnO-CfwboSsYqLzK1DNTTbrjM,12584
78
+ criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py,sha256=i2xV50fUsjjA7F8REclCm0Jg-wK-UGPmYsQDRXj7qdg,13102
79
79
  criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account.py,sha256=mQwQZoCG5y9pOMiGKF6T0-BfnpCJtueYjs8cZgnhHzQ,13071
80
80
  criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py,sha256=8qifwDD5oaSgRi8CeQHBJJHVUXVmZ3mhRAhjv6XBDa4,12253
81
81
  criteo_api_retailmedia_preview/model/error_code_response.py,sha256=i297dGb7D2BSog6iXDmiuyWgSsWvebChP5c43h_mnrE,12097
@@ -133,6 +133,7 @@ criteo_api_retailmedia_preview/model/page_metadata.py,sha256=pwJq1x0XdUus7YWEpmf
133
133
  criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py,sha256=0h6uORPIgyosf2znLrlVIikRRW3_HbCFetc967tpOv4,11891
134
134
  criteo_api_retailmedia_preview/model/page_type_environment2.py,sha256=AKb6GU5vyRCzhUfh_KGmARmoawRc1f-vMXM5ug8uH4k,12371
135
135
  criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py,sha256=H3N_bcQwGcTa6x74pfDq7j_5OJE1xG7Dx-CDeTXO3K8,12823
136
+ criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py,sha256=VI_y3s4H3jjRjQDjyjWspfjckVwQ_Hx-gXmSTUOUL_g,11806
136
137
  criteo_api_retailmedia_preview/model/placement_preview.py,sha256=cg4c2aB2iPrN1mw3aTB4LEM39B4kcpPcsa5MBFdaLCI,13132
137
138
  criteo_api_retailmedia_preview/model/placement_preview_list_response.py,sha256=HpfNbgOhaXlH_slq3OPdSZsjCEpu1sR-6zEIZixAtFg,12412
138
139
  criteo_api_retailmedia_preview/model/preferred_line_item_create_model_v2_request.py,sha256=G1zhKjRg9CEZq1VD7P5CKHjuGXcQptiBaGFW-0dMm8M,11908
@@ -161,14 +162,14 @@ criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py,sha2
161
162
  criteo_api_retailmedia_preview/model/promoted_product.py,sha256=NS5C-3hc5ZeKYPSOmxtDdQBzc4PKykYsyEkyNqxOjrs,12137
162
163
  criteo_api_retailmedia_preview/model/promoted_product_resource.py,sha256=L9TQI6t6f5na1crIftgU2cURbH1e9yIDJoZBHTOfEx8,11794
163
164
  criteo_api_retailmedia_preview/model/promoted_product_resource_collection_input.py,sha256=50-_qjB5UmuKUoYOJHqdrIvRU7Zfz6d9pBmf_o599Nw,11493
164
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py,sha256=b4MCEWKn9hgtekIkONI8H5hPbR1oxgqzS5jLHlV-90E,12630
165
+ criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py,sha256=KA7TPnmtsc468_y-QrLB1Enpgm4NVCxLcg-BsoCD0NY,12610
165
166
  criteo_api_retailmedia_preview/model/recommended_keywords_result.py,sha256=yQuDb1OjcubvaYOeVJZl-hpbwWhm0fbkRX3tpwa0i74,11855
166
167
  criteo_api_retailmedia_preview/model/report_data_response_resource.py,sha256=GW_nLPTYU6GAWokC3xqGWHKLWn9lFb8DJohaTHGEScs,11949
167
168
  criteo_api_retailmedia_preview/model/report_detail_error.py,sha256=3nf8Av9VZZIgHeJGX-buI8EutNfzuwry2bt98oXSSOQ,12803
168
169
  criteo_api_retailmedia_preview/model/report_detail_errors.py,sha256=Zv2pP5ut1VjCSijGqql8vNa7SiDjsASwMED5a5fblDs,12030
169
170
  criteo_api_retailmedia_preview/model/report_detail_warning.py,sha256=U8Aml5vLXdNEK-NsU_MgCHOtJknd5PpIDnFNuSo-Rts,12135
170
171
  criteo_api_retailmedia_preview/model/report_detail_warnings.py,sha256=jqcv4ibbC6RMpd1V35NBr0jm2gwFa31s96VUK2bMzwA,12016
171
- criteo_api_retailmedia_preview/model/report_ok_response.py,sha256=BlcqTGIKJ-GXwzpRH818tc-mpE-iTvoXIWsdFMoA8aY,16552
172
+ criteo_api_retailmedia_preview/model/report_ok_response.py,sha256=G_wymGHNZOfO0QcfFhtpQNJ-Hr-JeTE7hGprvRc9gfo,16552
172
173
  criteo_api_retailmedia_preview/model/report_outcome.py,sha256=zgTlVEcV7dZR86f8q3Udb5UlhpZdshxk0fP8QxRP4rY,11987
173
174
  criteo_api_retailmedia_preview/model/report_response.py,sha256=E3HQREgn8jzl94zkkD-foJ39egnprpuKGwfP68HdgxA,12808
174
175
  criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py,sha256=oB6DP8VCXGsX50oShOAt7bqnJ6M4tK-XwCz0cQJGyrM,12224
@@ -284,8 +285,8 @@ criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py,s
284
285
  criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py,sha256=MwoPHKj-aEEJB3DTTLsKiI02-tWCAZjx7Ti32fWe-uc,12495
285
286
  criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py,sha256=cqCHsE0Mm9mtucMUr66weV_Y1ckkYQnnaULRTKcrTaA,12322
286
287
  criteo_api_retailmedia_preview/model/video_variable_value.py,sha256=OfIDeWfVxiRT2PDgF90bDlS5Bp0ejXJ8FvXS2ROH00c,12079
287
- criteo_api_retailmedia_preview/models/__init__.py,sha256=lfoopYknxwLoGBsL8qK1aLqmTDe_7dFqxkWmwc8ABC4,28144
288
- criteo_api_retailmedia_sdk-0.0.250211.dist-info/METADATA,sha256=d_DRNCBRo8MnatGITBehHGGEhlpImb3gnriBDqs0SsY,1848
289
- criteo_api_retailmedia_sdk-0.0.250211.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
290
- criteo_api_retailmedia_sdk-0.0.250211.dist-info/top_level.txt,sha256=mR8aaWgc27pZ23OyoxxkhvUuHPeOkKiUaNQ-RiAivhc,31
291
- criteo_api_retailmedia_sdk-0.0.250211.dist-info/RECORD,,
288
+ criteo_api_retailmedia_preview/models/__init__.py,sha256=JfkcPd9jm1E4s6UBIbeZRapUW_Dlp7Snb0lzYHFT1Dc,28302
289
+ criteo_api_retailmedia_sdk-0.0.250218.dist-info/METADATA,sha256=SY7VbxxcKb30cqHGZfRvEPRQ5Mwfa6fZgh2sATxG3lw,1848
290
+ criteo_api_retailmedia_sdk-0.0.250218.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
291
+ criteo_api_retailmedia_sdk-0.0.250218.dist-info/top_level.txt,sha256=mR8aaWgc27pZ23OyoxxkhvUuHPeOkKiUaNQ-RiAivhc,31
292
+ criteo_api_retailmedia_sdk-0.0.250218.dist-info/RECORD,,